api

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	ApiKeysApi *ApiKeysApiService

	AuthApi *AuthApiService

	DestinationsApi *DestinationsApiService

	GroupsApi *GroupsApiService

	RolesApi *RolesApiService

	SourcesApi *SourcesApiService

	TokensApi *TokensApiService

	UsersApi *UsersApiService

	VersionApi *VersionApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Infra API API v0.1.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiCreateAPIKeyRequest added in v0.2.5

type ApiCreateAPIKeyRequest struct {
	ApiService *ApiKeysApiService
	// contains filtered or unexported fields
}

func (ApiCreateAPIKeyRequest) Body added in v0.2.5

func (ApiCreateAPIKeyRequest) Execute added in v0.2.5

type ApiCreateDestinationRequest

type ApiCreateDestinationRequest struct {
	ApiService *DestinationsApiService
	// contains filtered or unexported fields
}

func (ApiCreateDestinationRequest) Body

func (ApiCreateDestinationRequest) Execute

type ApiCreateTokenRequest added in v0.3.0

type ApiCreateTokenRequest struct {
	ApiService *TokensApiService
	// contains filtered or unexported fields
}

func (ApiCreateTokenRequest) Body added in v0.3.0

func (ApiCreateTokenRequest) Execute added in v0.3.0

type ApiDeleteApiKeyRequest added in v0.2.5

type ApiDeleteApiKeyRequest struct {
	ApiService *ApiKeysApiService
	// contains filtered or unexported fields
}

func (ApiDeleteApiKeyRequest) Execute added in v0.2.5

type ApiGetDestinationRequest added in v0.3.1

type ApiGetDestinationRequest struct {
	ApiService *DestinationsApiService
	// contains filtered or unexported fields
}

func (ApiGetDestinationRequest) Execute added in v0.3.1

type ApiGetGroupRequest added in v0.3.1

type ApiGetGroupRequest struct {
	ApiService *GroupsApiService
	// contains filtered or unexported fields
}

func (ApiGetGroupRequest) Execute added in v0.3.1

func (r ApiGetGroupRequest) Execute() (Group, *_nethttp.Response, error)

type ApiGetSourceRequest added in v0.3.1

type ApiGetSourceRequest struct {
	ApiService *SourcesApiService
	// contains filtered or unexported fields
}

func (ApiGetSourceRequest) Execute added in v0.3.1

type ApiGetUserRequest added in v0.3.1

type ApiGetUserRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiGetUserRequest) Execute added in v0.3.1

func (r ApiGetUserRequest) Execute() (User, *_nethttp.Response, error)

type ApiKeysApiService added in v0.2.5

type ApiKeysApiService service

ApiKeysApiService ApiKeysApi service

func (*ApiKeysApiService) CreateAPIKey added in v0.2.5

CreateAPIKey Create API key

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateAPIKeyRequest

func (*ApiKeysApiService) CreateAPIKeyExecute added in v0.2.5

Execute executes the request

@return InfraAPIKeyCreateResponse

func (*ApiKeysApiService) DeleteApiKey added in v0.2.5

DeleteApiKey Delete API key

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id API key ID
@return ApiDeleteApiKeyRequest

func (*ApiKeysApiService) DeleteApiKeyExecute added in v0.2.5

func (a *ApiKeysApiService) DeleteApiKeyExecute(r ApiDeleteApiKeyRequest) (*_nethttp.Response, error)

Execute executes the request

func (*ApiKeysApiService) ListAPIKeys added in v0.2.5

ListAPIKeys List API keys

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListAPIKeysRequest

func (*ApiKeysApiService) ListAPIKeysExecute added in v0.2.5

Execute executes the request

@return []InfraAPIKey

type ApiListAPIKeysRequest added in v0.2.5

type ApiListAPIKeysRequest struct {
	ApiService *ApiKeysApiService
	// contains filtered or unexported fields
}

func (ApiListAPIKeysRequest) Execute added in v0.2.5

func (ApiListAPIKeysRequest) Name added in v0.2.5

Filter results by the API key name

type ApiListDestinationsRequest

type ApiListDestinationsRequest struct {
	ApiService *DestinationsApiService
	// contains filtered or unexported fields
}

func (ApiListDestinationsRequest) Execute

func (ApiListDestinationsRequest) Name added in v0.3.1

Filter destinations by name

func (ApiListDestinationsRequest) Type_ added in v0.3.1

Filter destinations by type

type ApiListGroupsRequest

type ApiListGroupsRequest struct {
	ApiService *GroupsApiService
	// contains filtered or unexported fields
}

func (ApiListGroupsRequest) Active added in v0.3.1

Filter groups by active state

func (ApiListGroupsRequest) Execute

func (r ApiListGroupsRequest) Execute() ([]Group, *_nethttp.Response, error)

func (ApiListGroupsRequest) Name added in v0.3.1

Filter groups by name

type ApiListRolesRequest

type ApiListRolesRequest struct {
	ApiService *RolesApiService
	// contains filtered or unexported fields
}

func (ApiListRolesRequest) DestinationId

func (r ApiListRolesRequest) DestinationId(destinationId string) ApiListRolesRequest

ID of the destination for which to list roles

func (ApiListRolesRequest) Execute

func (r ApiListRolesRequest) Execute() ([]Role, *_nethttp.Response, error)

type ApiListSourcesRequest

type ApiListSourcesRequest struct {
	ApiService *SourcesApiService
	// contains filtered or unexported fields
}

func (ApiListSourcesRequest) Execute

func (r ApiListSourcesRequest) Execute() ([]Source, *_nethttp.Response, error)

func (ApiListSourcesRequest) Type_ added in v0.3.1

Filter sources by type

type ApiListUsersRequest

type ApiListUsersRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiListUsersRequest) Email added in v0.3.1

Filter results by user email

func (ApiListUsersRequest) Execute

func (r ApiListUsersRequest) Execute() ([]User, *_nethttp.Response, error)

type ApiLoginRequest

type ApiLoginRequest struct {
	ApiService *AuthApiService
	// contains filtered or unexported fields
}

func (ApiLoginRequest) Body

func (ApiLoginRequest) Execute

type ApiLogoutRequest

type ApiLogoutRequest struct {
	ApiService *AuthApiService
	// contains filtered or unexported fields
}

func (ApiLogoutRequest) Execute

func (r ApiLogoutRequest) Execute() (*_nethttp.Response, error)

type ApiVersionRequest

type ApiVersionRequest struct {
	ApiService *VersionApiService
	// contains filtered or unexported fields
}

func (ApiVersionRequest) Execute

func (r ApiVersionRequest) Execute() (Version, *_nethttp.Response, error)

type AuthApiService

type AuthApiService service

AuthApiService AuthApi service

func (*AuthApiService) Login

Login Login to Infra

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiLoginRequest

func (*AuthApiService) LoginExecute

Execute executes the request

@return LoginResponse

func (*AuthApiService) Logout

Logout Logout of Infra

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiLogoutRequest

func (*AuthApiService) LogoutExecute

func (a *AuthApiService) LogoutExecute(r ApiLogoutRequest) (*_nethttp.Response, error)

Execute executes the request

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type Destination

type Destination struct {
	Id         string                 `json:"id"`
	Name       string                 `json:"name"`
	Created    int64                  `json:"created"`
	Updated    int64                  `json:"updated"`
	Kubernetes *DestinationKubernetes `json:"kubernetes,omitempty"`
}

Destination struct for Destination

func NewDestination

func NewDestination(id string, name string, created int64, updated int64) *Destination

NewDestination instantiates a new Destination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDestinationWithDefaults

func NewDestinationWithDefaults() *Destination

NewDestinationWithDefaults instantiates a new Destination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Destination) GetCreated

func (o *Destination) GetCreated() int64

GetCreated returns the Created field value

func (*Destination) GetCreatedOk

func (o *Destination) GetCreatedOk() (*int64, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*Destination) GetId

func (o *Destination) GetId() string

GetId returns the Id field value

func (*Destination) GetIdOk

func (o *Destination) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Destination) GetKubernetes

func (o *Destination) GetKubernetes() DestinationKubernetes

GetKubernetes returns the Kubernetes field value if set, zero value otherwise.

func (*Destination) GetKubernetesOk

func (o *Destination) GetKubernetesOk() (*DestinationKubernetes, bool)

GetKubernetesOk returns a tuple with the Kubernetes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Destination) GetName

func (o *Destination) GetName() string

GetName returns the Name field value

func (*Destination) GetNameOk

func (o *Destination) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Destination) GetUpdated

func (o *Destination) GetUpdated() int64

GetUpdated returns the Updated field value

func (*Destination) GetUpdatedOk

func (o *Destination) GetUpdatedOk() (*int64, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (*Destination) HasKubernetes

func (o *Destination) HasKubernetes() bool

HasKubernetes returns a boolean if a field has been set.

func (Destination) MarshalJSON

func (o Destination) MarshalJSON() ([]byte, error)

func (*Destination) SetCreated

func (o *Destination) SetCreated(v int64)

SetCreated sets field value

func (*Destination) SetId

func (o *Destination) SetId(v string)

SetId sets field value

func (*Destination) SetKubernetes

func (o *Destination) SetKubernetes(v DestinationKubernetes)

SetKubernetes gets a reference to the given DestinationKubernetes and assigns it to the Kubernetes field.

func (*Destination) SetName

func (o *Destination) SetName(v string)

SetName sets field value

func (*Destination) SetUpdated

func (o *Destination) SetUpdated(v int64)

SetUpdated sets field value

type DestinationCreateRequest

type DestinationCreateRequest struct {
	Name       string                 `json:"name"`
	Kubernetes *DestinationKubernetes `json:"kubernetes,omitempty"`
}

DestinationCreateRequest struct for DestinationCreateRequest

func NewDestinationCreateRequest

func NewDestinationCreateRequest(name string) *DestinationCreateRequest

NewDestinationCreateRequest instantiates a new DestinationCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDestinationCreateRequestWithDefaults

func NewDestinationCreateRequestWithDefaults() *DestinationCreateRequest

NewDestinationCreateRequestWithDefaults instantiates a new DestinationCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DestinationCreateRequest) GetKubernetes

GetKubernetes returns the Kubernetes field value if set, zero value otherwise.

func (*DestinationCreateRequest) GetKubernetesOk

func (o *DestinationCreateRequest) GetKubernetesOk() (*DestinationKubernetes, bool)

GetKubernetesOk returns a tuple with the Kubernetes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DestinationCreateRequest) GetName

func (o *DestinationCreateRequest) GetName() string

GetName returns the Name field value

func (*DestinationCreateRequest) GetNameOk

func (o *DestinationCreateRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*DestinationCreateRequest) HasKubernetes

func (o *DestinationCreateRequest) HasKubernetes() bool

HasKubernetes returns a boolean if a field has been set.

func (DestinationCreateRequest) MarshalJSON

func (o DestinationCreateRequest) MarshalJSON() ([]byte, error)

func (*DestinationCreateRequest) SetKubernetes

func (o *DestinationCreateRequest) SetKubernetes(v DestinationKubernetes)

SetKubernetes gets a reference to the given DestinationKubernetes and assigns it to the Kubernetes field.

func (*DestinationCreateRequest) SetName

func (o *DestinationCreateRequest) SetName(v string)

SetName sets field value

type DestinationKubernetes

type DestinationKubernetes struct {
	Ca       string `json:"ca" validate:"required"`
	Endpoint string `json:"endpoint" validate:"required"`
}

DestinationKubernetes struct for DestinationKubernetes

func NewDestinationKubernetes

func NewDestinationKubernetes(ca string, endpoint string) *DestinationKubernetes

NewDestinationKubernetes instantiates a new DestinationKubernetes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDestinationKubernetesWithDefaults

func NewDestinationKubernetesWithDefaults() *DestinationKubernetes

NewDestinationKubernetesWithDefaults instantiates a new DestinationKubernetes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DestinationKubernetes) GetCa

func (o *DestinationKubernetes) GetCa() string

GetCa returns the Ca field value

func (*DestinationKubernetes) GetCaOk

func (o *DestinationKubernetes) GetCaOk() (*string, bool)

GetCaOk returns a tuple with the Ca field value and a boolean to check if the value has been set.

func (*DestinationKubernetes) GetEndpoint

func (o *DestinationKubernetes) GetEndpoint() string

GetEndpoint returns the Endpoint field value

func (*DestinationKubernetes) GetEndpointOk

func (o *DestinationKubernetes) GetEndpointOk() (*string, bool)

GetEndpointOk returns a tuple with the Endpoint field value and a boolean to check if the value has been set.

func (DestinationKubernetes) MarshalJSON

func (o DestinationKubernetes) MarshalJSON() ([]byte, error)

func (*DestinationKubernetes) SetCa

func (o *DestinationKubernetes) SetCa(v string)

SetCa sets field value

func (*DestinationKubernetes) SetEndpoint

func (o *DestinationKubernetes) SetEndpoint(v string)

SetEndpoint sets field value

type DestinationsApiService

type DestinationsApiService service

DestinationsApiService DestinationsApi service

func (*DestinationsApiService) CreateDestination

CreateDestination Register a destination

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateDestinationRequest

func (*DestinationsApiService) CreateDestinationExecute

Execute executes the request

@return Destination

func (*DestinationsApiService) GetDestination added in v0.3.1

GetDestination Get Destination by ID

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Destination ID
@return ApiGetDestinationRequest

func (*DestinationsApiService) GetDestinationExecute added in v0.3.1

Execute executes the request

@return Destination

func (*DestinationsApiService) ListDestinations

ListDestinations List destinations

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListDestinationsRequest

func (*DestinationsApiService) ListDestinationsExecute

Execute executes the request

@return []Destination

type Error

type Error struct {
	Code    int32  `json:"code"`
	Message string `json:"message"`
}

Error struct for Error

func NewError

func NewError(code int32, message string) *Error

NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error) GetCode

func (o *Error) GetCode() int32

GetCode returns the Code field value

func (*Error) GetCodeOk

func (o *Error) GetCodeOk() (*int32, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*Error) GetMessage

func (o *Error) GetMessage() string

GetMessage returns the Message field value

func (*Error) GetMessageOk

func (o *Error) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (Error) MarshalJSON

func (o Error) MarshalJSON() ([]byte, error)

func (*Error) SetCode

func (o *Error) SetCode(v int32)

SetCode sets field value

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

SetMessage sets field value

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type Group

type Group struct {
	Id      string `json:"id"`
	Name    string `json:"name"`
	Created int64  `json:"created"`
	Updated int64  `json:"updated"`
	Source  string `json:"source"`
}

Group struct for Group

func NewGroup

func NewGroup(id string, name string, created int64, updated int64, source string) *Group

NewGroup instantiates a new Group object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGroupWithDefaults

func NewGroupWithDefaults() *Group

NewGroupWithDefaults instantiates a new Group object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Group) GetCreated

func (o *Group) GetCreated() int64

GetCreated returns the Created field value

func (*Group) GetCreatedOk

func (o *Group) GetCreatedOk() (*int64, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*Group) GetId

func (o *Group) GetId() string

GetId returns the Id field value

func (*Group) GetIdOk

func (o *Group) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Group) GetName

func (o *Group) GetName() string

GetName returns the Name field value

func (*Group) GetNameOk

func (o *Group) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Group) GetSource

func (o *Group) GetSource() string

GetSource returns the Source field value

func (*Group) GetSourceOk

func (o *Group) GetSourceOk() (*string, bool)

GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.

func (*Group) GetUpdated

func (o *Group) GetUpdated() int64

GetUpdated returns the Updated field value

func (*Group) GetUpdatedOk

func (o *Group) GetUpdatedOk() (*int64, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (Group) MarshalJSON

func (o Group) MarshalJSON() ([]byte, error)

func (*Group) SetCreated

func (o *Group) SetCreated(v int64)

SetCreated sets field value

func (*Group) SetId

func (o *Group) SetId(v string)

SetId sets field value

func (*Group) SetName

func (o *Group) SetName(v string)

SetName sets field value

func (*Group) SetSource

func (o *Group) SetSource(v string)

SetSource sets field value

func (*Group) SetUpdated

func (o *Group) SetUpdated(v int64)

SetUpdated sets field value

type GroupsApiService

type GroupsApiService service

GroupsApiService GroupsApi service

func (*GroupsApiService) GetGroup added in v0.3.1

GetGroup Get group by ID

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Group ID
@return ApiGetGroupRequest

func (*GroupsApiService) GetGroupExecute added in v0.3.1

func (a *GroupsApiService) GetGroupExecute(r ApiGetGroupRequest) (Group, *_nethttp.Response, error)

Execute executes the request

@return Group

func (*GroupsApiService) ListGroups

ListGroups List groups

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListGroupsRequest

func (*GroupsApiService) ListGroupsExecute

func (a *GroupsApiService) ListGroupsExecute(r ApiListGroupsRequest) ([]Group, *_nethttp.Response, error)

Execute executes the request

@return []Group

type InfraAPIKey added in v0.2.5

type InfraAPIKey struct {
	Id          string               `json:"id"`
	Created     int64                `json:"created"`
	Name        string               `json:"name"`
	Permissions []InfraAPIPermission `json:"permissions"`
}

InfraAPIKey struct for InfraAPIKey

func NewInfraAPIKey added in v0.2.5

func NewInfraAPIKey(id string, created int64, name string, permissions []InfraAPIPermission) *InfraAPIKey

NewInfraAPIKey instantiates a new InfraAPIKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInfraAPIKeyWithDefaults added in v0.2.5

func NewInfraAPIKeyWithDefaults() *InfraAPIKey

NewInfraAPIKeyWithDefaults instantiates a new InfraAPIKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InfraAPIKey) GetCreated added in v0.2.5

func (o *InfraAPIKey) GetCreated() int64

GetCreated returns the Created field value

func (*InfraAPIKey) GetCreatedOk added in v0.2.5

func (o *InfraAPIKey) GetCreatedOk() (*int64, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*InfraAPIKey) GetId added in v0.2.5

func (o *InfraAPIKey) GetId() string

GetId returns the Id field value

func (*InfraAPIKey) GetIdOk added in v0.2.5

func (o *InfraAPIKey) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*InfraAPIKey) GetName added in v0.2.5

func (o *InfraAPIKey) GetName() string

GetName returns the Name field value

func (*InfraAPIKey) GetNameOk added in v0.2.5

func (o *InfraAPIKey) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*InfraAPIKey) GetPermissions added in v0.3.0

func (o *InfraAPIKey) GetPermissions() []InfraAPIPermission

GetPermissions returns the Permissions field value

func (*InfraAPIKey) GetPermissionsOk added in v0.3.0

func (o *InfraAPIKey) GetPermissionsOk() (*[]InfraAPIPermission, bool)

GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.

func (InfraAPIKey) MarshalJSON added in v0.2.5

func (o InfraAPIKey) MarshalJSON() ([]byte, error)

func (*InfraAPIKey) SetCreated added in v0.2.5

func (o *InfraAPIKey) SetCreated(v int64)

SetCreated sets field value

func (*InfraAPIKey) SetId added in v0.2.5

func (o *InfraAPIKey) SetId(v string)

SetId sets field value

func (*InfraAPIKey) SetName added in v0.2.5

func (o *InfraAPIKey) SetName(v string)

SetName sets field value

func (*InfraAPIKey) SetPermissions added in v0.3.0

func (o *InfraAPIKey) SetPermissions(v []InfraAPIPermission)

SetPermissions sets field value

type InfraAPIKeyCreateRequest added in v0.2.5

type InfraAPIKeyCreateRequest struct {
	Name        string               `json:"name"`
	Permissions []InfraAPIPermission `json:"permissions"`
}

InfraAPIKeyCreateRequest struct for InfraAPIKeyCreateRequest

func NewInfraAPIKeyCreateRequest added in v0.2.5

func NewInfraAPIKeyCreateRequest(name string, permissions []InfraAPIPermission) *InfraAPIKeyCreateRequest

NewInfraAPIKeyCreateRequest instantiates a new InfraAPIKeyCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInfraAPIKeyCreateRequestWithDefaults added in v0.2.5

func NewInfraAPIKeyCreateRequestWithDefaults() *InfraAPIKeyCreateRequest

NewInfraAPIKeyCreateRequestWithDefaults instantiates a new InfraAPIKeyCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InfraAPIKeyCreateRequest) GetName added in v0.2.5

func (o *InfraAPIKeyCreateRequest) GetName() string

GetName returns the Name field value

func (*InfraAPIKeyCreateRequest) GetNameOk added in v0.2.5

func (o *InfraAPIKeyCreateRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*InfraAPIKeyCreateRequest) GetPermissions added in v0.3.0

func (o *InfraAPIKeyCreateRequest) GetPermissions() []InfraAPIPermission

GetPermissions returns the Permissions field value

func (*InfraAPIKeyCreateRequest) GetPermissionsOk added in v0.3.0

func (o *InfraAPIKeyCreateRequest) GetPermissionsOk() (*[]InfraAPIPermission, bool)

GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.

func (InfraAPIKeyCreateRequest) MarshalJSON added in v0.2.5

func (o InfraAPIKeyCreateRequest) MarshalJSON() ([]byte, error)

func (*InfraAPIKeyCreateRequest) SetName added in v0.2.5

func (o *InfraAPIKeyCreateRequest) SetName(v string)

SetName sets field value

func (*InfraAPIKeyCreateRequest) SetPermissions added in v0.3.0

func (o *InfraAPIKeyCreateRequest) SetPermissions(v []InfraAPIPermission)

SetPermissions sets field value

type InfraAPIKeyCreateResponse added in v0.2.5

type InfraAPIKeyCreateResponse struct {
	Key         string               `json:"key"`
	Id          string               `json:"id"`
	Created     int64                `json:"created"`
	Name        string               `json:"name"`
	Permissions []InfraAPIPermission `json:"permissions"`
}

InfraAPIKeyCreateResponse struct for InfraAPIKeyCreateResponse

func NewInfraAPIKeyCreateResponse added in v0.2.5

func NewInfraAPIKeyCreateResponse(key string, id string, created int64, name string, permissions []InfraAPIPermission) *InfraAPIKeyCreateResponse

NewInfraAPIKeyCreateResponse instantiates a new InfraAPIKeyCreateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInfraAPIKeyCreateResponseWithDefaults added in v0.2.5

func NewInfraAPIKeyCreateResponseWithDefaults() *InfraAPIKeyCreateResponse

NewInfraAPIKeyCreateResponseWithDefaults instantiates a new InfraAPIKeyCreateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InfraAPIKeyCreateResponse) GetCreated added in v0.2.5

func (o *InfraAPIKeyCreateResponse) GetCreated() int64

GetCreated returns the Created field value

func (*InfraAPIKeyCreateResponse) GetCreatedOk added in v0.2.5

func (o *InfraAPIKeyCreateResponse) GetCreatedOk() (*int64, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*InfraAPIKeyCreateResponse) GetId added in v0.2.5

func (o *InfraAPIKeyCreateResponse) GetId() string

GetId returns the Id field value

func (*InfraAPIKeyCreateResponse) GetIdOk added in v0.2.5

func (o *InfraAPIKeyCreateResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*InfraAPIKeyCreateResponse) GetKey added in v0.2.5

func (o *InfraAPIKeyCreateResponse) GetKey() string

GetKey returns the Key field value

func (*InfraAPIKeyCreateResponse) GetKeyOk added in v0.2.5

func (o *InfraAPIKeyCreateResponse) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*InfraAPIKeyCreateResponse) GetName added in v0.2.5

func (o *InfraAPIKeyCreateResponse) GetName() string

GetName returns the Name field value

func (*InfraAPIKeyCreateResponse) GetNameOk added in v0.2.5

func (o *InfraAPIKeyCreateResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*InfraAPIKeyCreateResponse) GetPermissions added in v0.3.0

func (o *InfraAPIKeyCreateResponse) GetPermissions() []InfraAPIPermission

GetPermissions returns the Permissions field value

func (*InfraAPIKeyCreateResponse) GetPermissionsOk added in v0.3.0

func (o *InfraAPIKeyCreateResponse) GetPermissionsOk() (*[]InfraAPIPermission, bool)

GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.

func (InfraAPIKeyCreateResponse) MarshalJSON added in v0.2.5

func (o InfraAPIKeyCreateResponse) MarshalJSON() ([]byte, error)

func (*InfraAPIKeyCreateResponse) SetCreated added in v0.2.5

func (o *InfraAPIKeyCreateResponse) SetCreated(v int64)

SetCreated sets field value

func (*InfraAPIKeyCreateResponse) SetId added in v0.2.5

func (o *InfraAPIKeyCreateResponse) SetId(v string)

SetId sets field value

func (*InfraAPIKeyCreateResponse) SetKey added in v0.2.5

func (o *InfraAPIKeyCreateResponse) SetKey(v string)

SetKey sets field value

func (*InfraAPIKeyCreateResponse) SetName added in v0.2.5

func (o *InfraAPIKeyCreateResponse) SetName(v string)

SetName sets field value

func (*InfraAPIKeyCreateResponse) SetPermissions added in v0.3.0

func (o *InfraAPIKeyCreateResponse) SetPermissions(v []InfraAPIPermission)

SetPermissions sets field value

type InfraAPIPermission added in v0.3.1

type InfraAPIPermission string

InfraAPIPermission InfraAPI permissions of the form \"infra.resource.action\"

const (
	USERS_READ          InfraAPIPermission = "infra.users.read"
	GROUPS_READ         InfraAPIPermission = "infra.groups.read"
	DESTINATIONS_CREATE InfraAPIPermission = "infra.destinations.create"
	DESTINATIONS_READ   InfraAPIPermission = "infra.destinations.read"
	API_KEYS_CREATE     InfraAPIPermission = "infra.api-keys.create"
	API_KEYS_READ       InfraAPIPermission = "infra.api-keys.read"
	API_KEYS_DELETE     InfraAPIPermission = "infra.api-keys.delete"
	TOKENS_CREATE       InfraAPIPermission = "infra.tokens.create"
	ROLES_READ          InfraAPIPermission = "infra.roles.read"
	AUTH_DELETE         InfraAPIPermission = "infra.auth.delete"
	STAR                InfraAPIPermission = "infra.*"
)

List of InfraAPIPermission

func NewInfraAPIPermissionFromValue added in v0.3.1

func NewInfraAPIPermissionFromValue(v string) (*InfraAPIPermission, error)

NewInfraAPIPermissionFromValue returns a pointer to a valid InfraAPIPermission for the value passed as argument, or an error if the value passed is not allowed by the enum

func (InfraAPIPermission) IsValid added in v0.3.1

func (v InfraAPIPermission) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (InfraAPIPermission) Ptr added in v0.3.1

Ptr returns reference to InfraAPIPermission value

func (*InfraAPIPermission) UnmarshalJSON added in v0.3.1

func (v *InfraAPIPermission) UnmarshalJSON(src []byte) error

type LoginRequest

type LoginRequest struct {
	Okta *LoginRequestOkta `json:"okta,omitempty"`
}

LoginRequest struct for LoginRequest

func NewLoginRequest

func NewLoginRequest() *LoginRequest

NewLoginRequest instantiates a new LoginRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLoginRequestWithDefaults

func NewLoginRequestWithDefaults() *LoginRequest

NewLoginRequestWithDefaults instantiates a new LoginRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LoginRequest) GetOkta

func (o *LoginRequest) GetOkta() LoginRequestOkta

GetOkta returns the Okta field value if set, zero value otherwise.

func (*LoginRequest) GetOktaOk

func (o *LoginRequest) GetOktaOk() (*LoginRequestOkta, bool)

GetOktaOk returns a tuple with the Okta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LoginRequest) HasOkta

func (o *LoginRequest) HasOkta() bool

HasOkta returns a boolean if a field has been set.

func (LoginRequest) MarshalJSON

func (o LoginRequest) MarshalJSON() ([]byte, error)

func (*LoginRequest) SetOkta

func (o *LoginRequest) SetOkta(v LoginRequestOkta)

SetOkta gets a reference to the given LoginRequestOkta and assigns it to the Okta field.

type LoginRequestOkta

type LoginRequestOkta struct {
	Domain string `json:"domain" validate:"required"`
	Code   string `json:"code" validate:"required"`
}

LoginRequestOkta struct for LoginRequestOkta

func NewLoginRequestOkta

func NewLoginRequestOkta(domain string, code string) *LoginRequestOkta

NewLoginRequestOkta instantiates a new LoginRequestOkta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLoginRequestOktaWithDefaults

func NewLoginRequestOktaWithDefaults() *LoginRequestOkta

NewLoginRequestOktaWithDefaults instantiates a new LoginRequestOkta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LoginRequestOkta) GetCode

func (o *LoginRequestOkta) GetCode() string

GetCode returns the Code field value

func (*LoginRequestOkta) GetCodeOk

func (o *LoginRequestOkta) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*LoginRequestOkta) GetDomain

func (o *LoginRequestOkta) GetDomain() string

GetDomain returns the Domain field value

func (*LoginRequestOkta) GetDomainOk

func (o *LoginRequestOkta) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value and a boolean to check if the value has been set.

func (LoginRequestOkta) MarshalJSON

func (o LoginRequestOkta) MarshalJSON() ([]byte, error)

func (*LoginRequestOkta) SetCode

func (o *LoginRequestOkta) SetCode(v string)

SetCode sets field value

func (*LoginRequestOkta) SetDomain

func (o *LoginRequestOkta) SetDomain(v string)

SetDomain sets field value

type LoginResponse added in v0.2.3

type LoginResponse struct {
	Token string `json:"token"`
	Name  string `json:"name"`
}

LoginResponse struct for LoginResponse

func NewLoginResponse added in v0.2.3

func NewLoginResponse(token string, name string) *LoginResponse

NewLoginResponse instantiates a new LoginResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLoginResponseWithDefaults added in v0.2.3

func NewLoginResponseWithDefaults() *LoginResponse

NewLoginResponseWithDefaults instantiates a new LoginResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LoginResponse) GetName added in v0.2.3

func (o *LoginResponse) GetName() string

GetName returns the Name field value

func (*LoginResponse) GetNameOk added in v0.2.3

func (o *LoginResponse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*LoginResponse) GetToken added in v0.2.3

func (o *LoginResponse) GetToken() string

GetToken returns the Token field value

func (*LoginResponse) GetTokenOk added in v0.2.3

func (o *LoginResponse) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (LoginResponse) MarshalJSON added in v0.2.3

func (o LoginResponse) MarshalJSON() ([]byte, error)

func (*LoginResponse) SetName added in v0.2.3

func (o *LoginResponse) SetName(v string)

SetName sets field value

func (*LoginResponse) SetToken added in v0.2.3

func (o *LoginResponse) SetToken(v string)

SetToken sets field value

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableDestination

type NullableDestination struct {
	// contains filtered or unexported fields
}

func NewNullableDestination

func NewNullableDestination(val *Destination) *NullableDestination

func (NullableDestination) Get

func (NullableDestination) IsSet

func (v NullableDestination) IsSet() bool

func (NullableDestination) MarshalJSON

func (v NullableDestination) MarshalJSON() ([]byte, error)

func (*NullableDestination) Set

func (v *NullableDestination) Set(val *Destination)

func (*NullableDestination) UnmarshalJSON

func (v *NullableDestination) UnmarshalJSON(src []byte) error

func (*NullableDestination) Unset

func (v *NullableDestination) Unset()

type NullableDestinationCreateRequest

type NullableDestinationCreateRequest struct {
	// contains filtered or unexported fields
}

func (NullableDestinationCreateRequest) Get

func (NullableDestinationCreateRequest) IsSet

func (NullableDestinationCreateRequest) MarshalJSON

func (v NullableDestinationCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableDestinationCreateRequest) Set

func (*NullableDestinationCreateRequest) UnmarshalJSON

func (v *NullableDestinationCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableDestinationCreateRequest) Unset

type NullableDestinationKubernetes

type NullableDestinationKubernetes struct {
	// contains filtered or unexported fields
}

func (NullableDestinationKubernetes) Get

func (NullableDestinationKubernetes) IsSet

func (NullableDestinationKubernetes) MarshalJSON

func (v NullableDestinationKubernetes) MarshalJSON() ([]byte, error)

func (*NullableDestinationKubernetes) Set

func (*NullableDestinationKubernetes) UnmarshalJSON

func (v *NullableDestinationKubernetes) UnmarshalJSON(src []byte) error

func (*NullableDestinationKubernetes) Unset

func (v *NullableDestinationKubernetes) Unset()

type NullableError

type NullableError struct {
	// contains filtered or unexported fields
}

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

func (v NullableError) MarshalJSON() ([]byte, error)

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

func (v *NullableError) UnmarshalJSON(src []byte) error

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGroup

type NullableGroup struct {
	// contains filtered or unexported fields
}

func NewNullableGroup

func NewNullableGroup(val *Group) *NullableGroup

func (NullableGroup) Get

func (v NullableGroup) Get() *Group

func (NullableGroup) IsSet

func (v NullableGroup) IsSet() bool

func (NullableGroup) MarshalJSON

func (v NullableGroup) MarshalJSON() ([]byte, error)

func (*NullableGroup) Set

func (v *NullableGroup) Set(val *Group)

func (*NullableGroup) UnmarshalJSON

func (v *NullableGroup) UnmarshalJSON(src []byte) error

func (*NullableGroup) Unset

func (v *NullableGroup) Unset()

type NullableInfraAPIKey added in v0.2.5

type NullableInfraAPIKey struct {
	// contains filtered or unexported fields
}

func NewNullableInfraAPIKey added in v0.2.5

func NewNullableInfraAPIKey(val *InfraAPIKey) *NullableInfraAPIKey

func (NullableInfraAPIKey) Get added in v0.2.5

func (NullableInfraAPIKey) IsSet added in v0.2.5

func (v NullableInfraAPIKey) IsSet() bool

func (NullableInfraAPIKey) MarshalJSON added in v0.2.5

func (v NullableInfraAPIKey) MarshalJSON() ([]byte, error)

func (*NullableInfraAPIKey) Set added in v0.2.5

func (v *NullableInfraAPIKey) Set(val *InfraAPIKey)

func (*NullableInfraAPIKey) UnmarshalJSON added in v0.2.5

func (v *NullableInfraAPIKey) UnmarshalJSON(src []byte) error

func (*NullableInfraAPIKey) Unset added in v0.2.5

func (v *NullableInfraAPIKey) Unset()

type NullableInfraAPIKeyCreateRequest added in v0.2.5

type NullableInfraAPIKeyCreateRequest struct {
	// contains filtered or unexported fields
}

func NewNullableInfraAPIKeyCreateRequest added in v0.2.5

func NewNullableInfraAPIKeyCreateRequest(val *InfraAPIKeyCreateRequest) *NullableInfraAPIKeyCreateRequest

func (NullableInfraAPIKeyCreateRequest) Get added in v0.2.5

func (NullableInfraAPIKeyCreateRequest) IsSet added in v0.2.5

func (NullableInfraAPIKeyCreateRequest) MarshalJSON added in v0.2.5

func (v NullableInfraAPIKeyCreateRequest) MarshalJSON() ([]byte, error)

func (*NullableInfraAPIKeyCreateRequest) Set added in v0.2.5

func (*NullableInfraAPIKeyCreateRequest) UnmarshalJSON added in v0.2.5

func (v *NullableInfraAPIKeyCreateRequest) UnmarshalJSON(src []byte) error

func (*NullableInfraAPIKeyCreateRequest) Unset added in v0.2.5

type NullableInfraAPIKeyCreateResponse added in v0.2.5

type NullableInfraAPIKeyCreateResponse struct {
	// contains filtered or unexported fields
}

func NewNullableInfraAPIKeyCreateResponse added in v0.2.5

func NewNullableInfraAPIKeyCreateResponse(val *InfraAPIKeyCreateResponse) *NullableInfraAPIKeyCreateResponse

func (NullableInfraAPIKeyCreateResponse) Get added in v0.2.5

func (NullableInfraAPIKeyCreateResponse) IsSet added in v0.2.5

func (NullableInfraAPIKeyCreateResponse) MarshalJSON added in v0.2.5

func (v NullableInfraAPIKeyCreateResponse) MarshalJSON() ([]byte, error)

func (*NullableInfraAPIKeyCreateResponse) Set added in v0.2.5

func (*NullableInfraAPIKeyCreateResponse) UnmarshalJSON added in v0.2.5

func (v *NullableInfraAPIKeyCreateResponse) UnmarshalJSON(src []byte) error

func (*NullableInfraAPIKeyCreateResponse) Unset added in v0.2.5

type NullableInfraAPIPermission added in v0.3.1

type NullableInfraAPIPermission struct {
	// contains filtered or unexported fields
}

func NewNullableInfraAPIPermission added in v0.3.1

func NewNullableInfraAPIPermission(val *InfraAPIPermission) *NullableInfraAPIPermission

func (NullableInfraAPIPermission) Get added in v0.3.1

func (NullableInfraAPIPermission) IsSet added in v0.3.1

func (v NullableInfraAPIPermission) IsSet() bool

func (NullableInfraAPIPermission) MarshalJSON added in v0.3.1

func (v NullableInfraAPIPermission) MarshalJSON() ([]byte, error)

func (*NullableInfraAPIPermission) Set added in v0.3.1

func (*NullableInfraAPIPermission) UnmarshalJSON added in v0.3.1

func (v *NullableInfraAPIPermission) UnmarshalJSON(src []byte) error

func (*NullableInfraAPIPermission) Unset added in v0.3.1

func (v *NullableInfraAPIPermission) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableLoginRequest

type NullableLoginRequest struct {
	// contains filtered or unexported fields
}

func NewNullableLoginRequest

func NewNullableLoginRequest(val *LoginRequest) *NullableLoginRequest

func (NullableLoginRequest) Get

func (NullableLoginRequest) IsSet

func (v NullableLoginRequest) IsSet() bool

func (NullableLoginRequest) MarshalJSON

func (v NullableLoginRequest) MarshalJSON() ([]byte, error)

func (*NullableLoginRequest) Set

func (v *NullableLoginRequest) Set(val *LoginRequest)

func (*NullableLoginRequest) UnmarshalJSON

func (v *NullableLoginRequest) UnmarshalJSON(src []byte) error

func (*NullableLoginRequest) Unset

func (v *NullableLoginRequest) Unset()

type NullableLoginRequestOkta

type NullableLoginRequestOkta struct {
	// contains filtered or unexported fields
}

func NewNullableLoginRequestOkta

func NewNullableLoginRequestOkta(val *LoginRequestOkta) *NullableLoginRequestOkta

func (NullableLoginRequestOkta) Get

func (NullableLoginRequestOkta) IsSet

func (v NullableLoginRequestOkta) IsSet() bool

func (NullableLoginRequestOkta) MarshalJSON

func (v NullableLoginRequestOkta) MarshalJSON() ([]byte, error)

func (*NullableLoginRequestOkta) Set

func (*NullableLoginRequestOkta) UnmarshalJSON

func (v *NullableLoginRequestOkta) UnmarshalJSON(src []byte) error

func (*NullableLoginRequestOkta) Unset

func (v *NullableLoginRequestOkta) Unset()

type NullableLoginResponse added in v0.2.3

type NullableLoginResponse struct {
	// contains filtered or unexported fields
}

func NewNullableLoginResponse added in v0.2.3

func NewNullableLoginResponse(val *LoginResponse) *NullableLoginResponse

func (NullableLoginResponse) Get added in v0.2.3

func (NullableLoginResponse) IsSet added in v0.2.3

func (v NullableLoginResponse) IsSet() bool

func (NullableLoginResponse) MarshalJSON added in v0.2.3

func (v NullableLoginResponse) MarshalJSON() ([]byte, error)

func (*NullableLoginResponse) Set added in v0.2.3

func (v *NullableLoginResponse) Set(val *LoginResponse)

func (*NullableLoginResponse) UnmarshalJSON added in v0.2.3

func (v *NullableLoginResponse) UnmarshalJSON(src []byte) error

func (*NullableLoginResponse) Unset added in v0.2.3

func (v *NullableLoginResponse) Unset()

type NullableRole

type NullableRole struct {
	// contains filtered or unexported fields
}

func NewNullableRole

func NewNullableRole(val *Role) *NullableRole

func (NullableRole) Get

func (v NullableRole) Get() *Role

func (NullableRole) IsSet

func (v NullableRole) IsSet() bool

func (NullableRole) MarshalJSON

func (v NullableRole) MarshalJSON() ([]byte, error)

func (*NullableRole) Set

func (v *NullableRole) Set(val *Role)

func (*NullableRole) UnmarshalJSON

func (v *NullableRole) UnmarshalJSON(src []byte) error

func (*NullableRole) Unset

func (v *NullableRole) Unset()

type NullableRoleKind

type NullableRoleKind struct {
	// contains filtered or unexported fields
}

func NewNullableRoleKind

func NewNullableRoleKind(val *RoleKind) *NullableRoleKind

func (NullableRoleKind) Get

func (v NullableRoleKind) Get() *RoleKind

func (NullableRoleKind) IsSet

func (v NullableRoleKind) IsSet() bool

func (NullableRoleKind) MarshalJSON

func (v NullableRoleKind) MarshalJSON() ([]byte, error)

func (*NullableRoleKind) Set

func (v *NullableRoleKind) Set(val *RoleKind)

func (*NullableRoleKind) UnmarshalJSON

func (v *NullableRoleKind) UnmarshalJSON(src []byte) error

func (*NullableRoleKind) Unset

func (v *NullableRoleKind) Unset()

type NullableSource

type NullableSource struct {
	// contains filtered or unexported fields
}

func NewNullableSource

func NewNullableSource(val *Source) *NullableSource

func (NullableSource) Get

func (v NullableSource) Get() *Source

func (NullableSource) IsSet

func (v NullableSource) IsSet() bool

func (NullableSource) MarshalJSON

func (v NullableSource) MarshalJSON() ([]byte, error)

func (*NullableSource) Set

func (v *NullableSource) Set(val *Source)

func (*NullableSource) UnmarshalJSON

func (v *NullableSource) UnmarshalJSON(src []byte) error

func (*NullableSource) Unset

func (v *NullableSource) Unset()

type NullableSourceOkta

type NullableSourceOkta struct {
	// contains filtered or unexported fields
}

func NewNullableSourceOkta

func NewNullableSourceOkta(val *SourceOkta) *NullableSourceOkta

func (NullableSourceOkta) Get

func (v NullableSourceOkta) Get() *SourceOkta

func (NullableSourceOkta) IsSet

func (v NullableSourceOkta) IsSet() bool

func (NullableSourceOkta) MarshalJSON

func (v NullableSourceOkta) MarshalJSON() ([]byte, error)

func (*NullableSourceOkta) Set

func (v *NullableSourceOkta) Set(val *SourceOkta)

func (*NullableSourceOkta) UnmarshalJSON

func (v *NullableSourceOkta) UnmarshalJSON(src []byte) error

func (*NullableSourceOkta) Unset

func (v *NullableSourceOkta) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableToken added in v0.3.0

type NullableToken struct {
	// contains filtered or unexported fields
}

func NewNullableToken added in v0.3.0

func NewNullableToken(val *Token) *NullableToken

func (NullableToken) Get added in v0.3.0

func (v NullableToken) Get() *Token

func (NullableToken) IsSet added in v0.3.0

func (v NullableToken) IsSet() bool

func (NullableToken) MarshalJSON added in v0.3.0

func (v NullableToken) MarshalJSON() ([]byte, error)

func (*NullableToken) Set added in v0.3.0

func (v *NullableToken) Set(val *Token)

func (*NullableToken) UnmarshalJSON added in v0.3.0

func (v *NullableToken) UnmarshalJSON(src []byte) error

func (*NullableToken) Unset added in v0.3.0

func (v *NullableToken) Unset()

type NullableTokenRequest added in v0.3.0

type NullableTokenRequest struct {
	// contains filtered or unexported fields
}

func NewNullableTokenRequest added in v0.3.0

func NewNullableTokenRequest(val *TokenRequest) *NullableTokenRequest

func (NullableTokenRequest) Get added in v0.3.0

func (NullableTokenRequest) IsSet added in v0.3.0

func (v NullableTokenRequest) IsSet() bool

func (NullableTokenRequest) MarshalJSON added in v0.3.0

func (v NullableTokenRequest) MarshalJSON() ([]byte, error)

func (*NullableTokenRequest) Set added in v0.3.0

func (v *NullableTokenRequest) Set(val *TokenRequest)

func (*NullableTokenRequest) UnmarshalJSON added in v0.3.0

func (v *NullableTokenRequest) UnmarshalJSON(src []byte) error

func (*NullableTokenRequest) Unset added in v0.3.0

func (v *NullableTokenRequest) Unset()

type NullableUser

type NullableUser struct {
	// contains filtered or unexported fields
}

func NewNullableUser

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get

func (v NullableUser) Get() *User

func (NullableUser) IsSet

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON

func (v NullableUser) MarshalJSON() ([]byte, error)

func (*NullableUser) Set

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON

func (v *NullableUser) UnmarshalJSON(src []byte) error

func (*NullableUser) Unset

func (v *NullableUser) Unset()

type NullableVersion

type NullableVersion struct {
	// contains filtered or unexported fields
}

func NewNullableVersion

func NewNullableVersion(val *Version) *NullableVersion

func (NullableVersion) Get

func (v NullableVersion) Get() *Version

func (NullableVersion) IsSet

func (v NullableVersion) IsSet() bool

func (NullableVersion) MarshalJSON

func (v NullableVersion) MarshalJSON() ([]byte, error)

func (*NullableVersion) Set

func (v *NullableVersion) Set(val *Version)

func (*NullableVersion) UnmarshalJSON

func (v *NullableVersion) UnmarshalJSON(src []byte) error

func (*NullableVersion) Unset

func (v *NullableVersion) Unset()

type Role

type Role struct {
	Id          string      `json:"id"`
	Name        string      `json:"name"`
	Created     int64       `json:"created"`
	Updated     int64       `json:"updated"`
	Kind        RoleKind    `json:"kind"`
	Namespace   string      `json:"namespace"`
	Users       []User      `json:"users"`
	Destination Destination `json:"destination"`
}

Role struct for Role

func NewRole

func NewRole(id string, name string, created int64, updated int64, kind RoleKind, namespace string, users []User, destination Destination) *Role

NewRole instantiates a new Role object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRoleWithDefaults

func NewRoleWithDefaults() *Role

NewRoleWithDefaults instantiates a new Role object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Role) GetCreated

func (o *Role) GetCreated() int64

GetCreated returns the Created field value

func (*Role) GetCreatedOk

func (o *Role) GetCreatedOk() (*int64, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*Role) GetDestination

func (o *Role) GetDestination() Destination

GetDestination returns the Destination field value

func (*Role) GetDestinationOk

func (o *Role) GetDestinationOk() (*Destination, bool)

GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set.

func (*Role) GetId

func (o *Role) GetId() string

GetId returns the Id field value

func (*Role) GetIdOk

func (o *Role) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Role) GetKind

func (o *Role) GetKind() RoleKind

GetKind returns the Kind field value

func (*Role) GetKindOk

func (o *Role) GetKindOk() (*RoleKind, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*Role) GetName

func (o *Role) GetName() string

GetName returns the Name field value

func (*Role) GetNameOk

func (o *Role) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Role) GetNamespace added in v0.2.0

func (o *Role) GetNamespace() string

GetNamespace returns the Namespace field value

func (*Role) GetNamespaceOk added in v0.2.0

func (o *Role) GetNamespaceOk() (*string, bool)

GetNamespaceOk returns a tuple with the Namespace field value and a boolean to check if the value has been set.

func (*Role) GetUpdated

func (o *Role) GetUpdated() int64

GetUpdated returns the Updated field value

func (*Role) GetUpdatedOk

func (o *Role) GetUpdatedOk() (*int64, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (*Role) GetUsers

func (o *Role) GetUsers() []User

GetUsers returns the Users field value

func (*Role) GetUsersOk

func (o *Role) GetUsersOk() (*[]User, bool)

GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.

func (Role) MarshalJSON

func (o Role) MarshalJSON() ([]byte, error)

func (*Role) SetCreated

func (o *Role) SetCreated(v int64)

SetCreated sets field value

func (*Role) SetDestination

func (o *Role) SetDestination(v Destination)

SetDestination sets field value

func (*Role) SetId

func (o *Role) SetId(v string)

SetId sets field value

func (*Role) SetKind

func (o *Role) SetKind(v RoleKind)

SetKind sets field value

func (*Role) SetName

func (o *Role) SetName(v string)

SetName sets field value

func (*Role) SetNamespace added in v0.2.0

func (o *Role) SetNamespace(v string)

SetNamespace sets field value

func (*Role) SetUpdated

func (o *Role) SetUpdated(v int64)

SetUpdated sets field value

func (*Role) SetUsers

func (o *Role) SetUsers(v []User)

SetUsers sets field value

type RoleKind

type RoleKind string

RoleKind the model 'RoleKind'

const (
	ROLE         RoleKind = "role"
	CLUSTER_ROLE RoleKind = "cluster-role"
)

List of RoleKind

func NewRoleKindFromValue

func NewRoleKindFromValue(v string) (*RoleKind, error)

NewRoleKindFromValue returns a pointer to a valid RoleKind for the value passed as argument, or an error if the value passed is not allowed by the enum

func (RoleKind) IsValid

func (v RoleKind) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (RoleKind) Ptr

func (v RoleKind) Ptr() *RoleKind

Ptr returns reference to RoleKind value

func (*RoleKind) UnmarshalJSON

func (v *RoleKind) UnmarshalJSON(src []byte) error

type RolesApiService

type RolesApiService service

RolesApiService RolesApi service

func (*RolesApiService) ListRoles

ListRoles List roles

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListRolesRequest

func (*RolesApiService) ListRolesExecute

func (a *RolesApiService) ListRolesExecute(r ApiListRolesRequest) ([]Role, *_nethttp.Response, error)

Execute executes the request

@return []Role

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type Source

type Source struct {
	Id      string      `json:"id"`
	Created int64       `json:"created"`
	Updated int64       `json:"updated"`
	Okta    *SourceOkta `json:"okta,omitempty"`
}

Source struct for Source

func NewSource

func NewSource(id string, created int64, updated int64) *Source

NewSource instantiates a new Source object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSourceWithDefaults

func NewSourceWithDefaults() *Source

NewSourceWithDefaults instantiates a new Source object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Source) GetCreated

func (o *Source) GetCreated() int64

GetCreated returns the Created field value

func (*Source) GetCreatedOk

func (o *Source) GetCreatedOk() (*int64, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*Source) GetId

func (o *Source) GetId() string

GetId returns the Id field value

func (*Source) GetIdOk

func (o *Source) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Source) GetOkta

func (o *Source) GetOkta() SourceOkta

GetOkta returns the Okta field value if set, zero value otherwise.

func (*Source) GetOktaOk

func (o *Source) GetOktaOk() (*SourceOkta, bool)

GetOktaOk returns a tuple with the Okta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Source) GetUpdated

func (o *Source) GetUpdated() int64

GetUpdated returns the Updated field value

func (*Source) GetUpdatedOk

func (o *Source) GetUpdatedOk() (*int64, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (*Source) HasOkta

func (o *Source) HasOkta() bool

HasOkta returns a boolean if a field has been set.

func (Source) MarshalJSON

func (o Source) MarshalJSON() ([]byte, error)

func (*Source) SetCreated

func (o *Source) SetCreated(v int64)

SetCreated sets field value

func (*Source) SetId

func (o *Source) SetId(v string)

SetId sets field value

func (*Source) SetOkta

func (o *Source) SetOkta(v SourceOkta)

SetOkta gets a reference to the given SourceOkta and assigns it to the Okta field.

func (*Source) SetUpdated

func (o *Source) SetUpdated(v int64)

SetUpdated sets field value

type SourceOkta

type SourceOkta struct {
	Domain   string `json:"domain"`
	ClientId string `json:"clientId"`
}

SourceOkta struct for SourceOkta

func NewSourceOkta

func NewSourceOkta(domain string, clientId string) *SourceOkta

NewSourceOkta instantiates a new SourceOkta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSourceOktaWithDefaults

func NewSourceOktaWithDefaults() *SourceOkta

NewSourceOktaWithDefaults instantiates a new SourceOkta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SourceOkta) GetClientId

func (o *SourceOkta) GetClientId() string

GetClientId returns the ClientId field value

func (*SourceOkta) GetClientIdOk

func (o *SourceOkta) GetClientIdOk() (*string, bool)

GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.

func (*SourceOkta) GetDomain

func (o *SourceOkta) GetDomain() string

GetDomain returns the Domain field value

func (*SourceOkta) GetDomainOk

func (o *SourceOkta) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value and a boolean to check if the value has been set.

func (SourceOkta) MarshalJSON

func (o SourceOkta) MarshalJSON() ([]byte, error)

func (*SourceOkta) SetClientId

func (o *SourceOkta) SetClientId(v string)

SetClientId sets field value

func (*SourceOkta) SetDomain

func (o *SourceOkta) SetDomain(v string)

SetDomain sets field value

type SourcesApiService

type SourcesApiService service

SourcesApiService SourcesApi service

func (*SourcesApiService) GetSource added in v0.3.1

GetSource Get source by ID

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Source ID
@return ApiGetSourceRequest

func (*SourcesApiService) GetSourceExecute added in v0.3.1

func (a *SourcesApiService) GetSourceExecute(r ApiGetSourceRequest) (Source, *_nethttp.Response, error)

Execute executes the request

@return Source

func (*SourcesApiService) ListSources

ListSources List sources

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListSourcesRequest

func (*SourcesApiService) ListSourcesExecute

func (a *SourcesApiService) ListSourcesExecute(r ApiListSourcesRequest) ([]Source, *_nethttp.Response, error)

Execute executes the request

@return []Source

type Token added in v0.3.0

type Token struct {
	Token   string `json:"token"`
	Expires int64  `json:"expires"`
}

Token struct for Token

func NewToken added in v0.3.0

func NewToken(token string, expires int64) *Token

NewToken instantiates a new Token object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenWithDefaults added in v0.3.0

func NewTokenWithDefaults() *Token

NewTokenWithDefaults instantiates a new Token object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Token) GetExpires added in v0.3.0

func (o *Token) GetExpires() int64

GetExpires returns the Expires field value

func (*Token) GetExpiresOk added in v0.3.0

func (o *Token) GetExpiresOk() (*int64, bool)

GetExpiresOk returns a tuple with the Expires field value and a boolean to check if the value has been set.

func (*Token) GetToken added in v0.3.0

func (o *Token) GetToken() string

GetToken returns the Token field value

func (*Token) GetTokenOk added in v0.3.0

func (o *Token) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.

func (Token) MarshalJSON added in v0.3.0

func (o Token) MarshalJSON() ([]byte, error)

func (*Token) SetExpires added in v0.3.0

func (o *Token) SetExpires(v int64)

SetExpires sets field value

func (*Token) SetToken added in v0.3.0

func (o *Token) SetToken(v string)

SetToken sets field value

type TokenRequest added in v0.3.0

type TokenRequest struct {
	Destination *string `json:"destination,omitempty" validate:"required"`
}

TokenRequest struct for TokenRequest

func NewTokenRequest added in v0.3.0

func NewTokenRequest() *TokenRequest

NewTokenRequest instantiates a new TokenRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTokenRequestWithDefaults added in v0.3.0

func NewTokenRequestWithDefaults() *TokenRequest

NewTokenRequestWithDefaults instantiates a new TokenRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TokenRequest) GetDestination added in v0.3.0

func (o *TokenRequest) GetDestination() string

GetDestination returns the Destination field value if set, zero value otherwise.

func (*TokenRequest) GetDestinationOk added in v0.3.0

func (o *TokenRequest) GetDestinationOk() (*string, bool)

GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TokenRequest) HasDestination added in v0.3.0

func (o *TokenRequest) HasDestination() bool

HasDestination returns a boolean if a field has been set.

func (TokenRequest) MarshalJSON added in v0.3.0

func (o TokenRequest) MarshalJSON() ([]byte, error)

func (*TokenRequest) SetDestination added in v0.3.0

func (o *TokenRequest) SetDestination(v string)

SetDestination gets a reference to the given string and assigns it to the Destination field.

type TokensApiService added in v0.3.0

type TokensApiService service

TokensApiService TokensApi service

func (*TokensApiService) CreateToken added in v0.3.0

CreateToken Create infrastructure destination token

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateTokenRequest

func (*TokensApiService) CreateTokenExecute added in v0.3.0

func (a *TokensApiService) CreateTokenExecute(r ApiCreateTokenRequest) (Token, *_nethttp.Response, error)

Execute executes the request

@return Token

type User

type User struct {
	Id      string `json:"id"`
	Email   string `json:"email"`
	Created int64  `json:"created"`
	Updated int64  `json:"updated"`
}

User struct for User

func NewUser

func NewUser(id string, email string, created int64, updated int64) *User

NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserWithDefaults

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*User) GetCreated

func (o *User) GetCreated() int64

GetCreated returns the Created field value

func (*User) GetCreatedOk

func (o *User) GetCreatedOk() (*int64, bool)

GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.

func (*User) GetEmail

func (o *User) GetEmail() string

GetEmail returns the Email field value

func (*User) GetEmailOk

func (o *User) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*User) GetId

func (o *User) GetId() string

GetId returns the Id field value

func (*User) GetIdOk

func (o *User) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*User) GetUpdated

func (o *User) GetUpdated() int64

GetUpdated returns the Updated field value

func (*User) GetUpdatedOk

func (o *User) GetUpdatedOk() (*int64, bool)

GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.

func (User) MarshalJSON

func (o User) MarshalJSON() ([]byte, error)

func (*User) SetCreated

func (o *User) SetCreated(v int64)

SetCreated sets field value

func (*User) SetEmail

func (o *User) SetEmail(v string)

SetEmail sets field value

func (*User) SetId

func (o *User) SetId(v string)

SetId sets field value

func (*User) SetUpdated

func (o *User) SetUpdated(v int64)

SetUpdated sets field value

type UsersApiService

type UsersApiService service

UsersApiService UsersApi service

func (*UsersApiService) GetUser added in v0.3.1

GetUser Get user by ID

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id User ID
@return ApiGetUserRequest

func (*UsersApiService) GetUserExecute added in v0.3.1

func (a *UsersApiService) GetUserExecute(r ApiGetUserRequest) (User, *_nethttp.Response, error)

Execute executes the request

@return User

func (*UsersApiService) ListUsers

ListUsers List users

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListUsersRequest

func (*UsersApiService) ListUsersExecute

func (a *UsersApiService) ListUsersExecute(r ApiListUsersRequest) ([]User, *_nethttp.Response, error)

Execute executes the request

@return []User

type Version

type Version struct {
	Version string `json:"version"`
}

Version struct for Version

func NewVersion

func NewVersion(version string) *Version

NewVersion instantiates a new Version object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionWithDefaults

func NewVersionWithDefaults() *Version

NewVersionWithDefaults instantiates a new Version object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Version) GetVersion

func (o *Version) GetVersion() string

GetVersion returns the Version field value

func (*Version) GetVersionOk

func (o *Version) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.

func (Version) MarshalJSON

func (o Version) MarshalJSON() ([]byte, error)

func (*Version) SetVersion

func (o *Version) SetVersion(v string)

SetVersion sets field value

type VersionApiService added in v0.2.0

type VersionApiService service

VersionApiService VersionApi service

func (*VersionApiService) Version added in v0.2.0

Version Get version information

@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiVersionRequest

func (*VersionApiService) VersionExecute added in v0.2.0

Execute executes the request

@return Version

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL