client

package
v0.0.0-...-3a8821d Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 28 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")

	// 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")
)
View Source
var AllowedModelsKeyUsageEnumValues = []ModelsKeyUsage{
	"signing",
	"digital signature",
	"content commitment",
	"key encipherment",
	"key agreement",
	"data encipherment",
	"cert sign",
	"crl sign",
	"encipher only",
	"decipher only",
	"any",
	"server auth",
	"client auth",
	"code signing",
	"email protection",
	"s/mime",
	"ipsec end system",
	"ipsec tunnel",
	"ipsec user",
	"timestamping",
	"ocsp signing",
	"microsoft sgc",
	"netscape sgc",
}

All allowed values of ModelsKeyUsage enum

View Source
var ErrContextCanceled = errors.New("context canceled")

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func JsonUnmarshal

func JsonUnmarshal(from map[string]interface{}, to interface{}) error

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 PtrOptionalString

func PtrOptionalString(v string) *string

PtrOptionalString is a helper routine that returns a pointer to given string value if it's not a zero 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.

func Simplify

func Simplify[T any](resp T, httpResp *http.Response, err error) (T, error)

Types

type APIClient

type APIClient struct {
	AuthApi *AuthApiService

	CAApi *CAApiService

	DevicesApi *DevicesApiService

	EventsApi *EventsApiService

	FFlagApi *FFlagApiService

	InvitationApi *InvitationApiService

	OrganizationsApi *OrganizationsApiService

	RegKeyApi *RegKeyApiService

	SecurityGroupApi *SecurityGroupApiService

	ServiceNetworkApi *ServiceNetworkApiService

	SitesApi *SitesApiService

	UsersApi *UsersApiService

	VPCApi *VPCApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Nexodus API API v1.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 NewClient

func NewClient(ctx context.Context, addr string, authcb func(string), options ...Option) (*APIClient, error)

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 ApiAcceptInvitationRequest

type ApiAcceptInvitationRequest struct {
	ApiService *InvitationApiService
	// contains filtered or unexported fields
}

func (ApiAcceptInvitationRequest) Execute

type ApiCertsRequest

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

func (ApiCertsRequest) Execute

func (r ApiCertsRequest) Execute() (map[string]interface{}, *http.Response, error)

type ApiCheckAuthRequest

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

func (ApiCheckAuthRequest) Execute

func (r ApiCheckAuthRequest) Execute() (map[string]bool, *http.Response, error)

type ApiClaimsRequest

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

func (ApiClaimsRequest) Execute

func (r ApiClaimsRequest) Execute() (map[string]interface{}, *http.Response, error)

type ApiCreateDeviceRequest

type ApiCreateDeviceRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiCreateDeviceRequest) Device

Add Device

func (ApiCreateDeviceRequest) Execute

type ApiCreateInvitationRequest

type ApiCreateInvitationRequest struct {
	ApiService *InvitationApiService
	// contains filtered or unexported fields
}

func (ApiCreateInvitationRequest) Execute

func (ApiCreateInvitationRequest) Invitation

Add Invitation

type ApiCreateOrganizationRequest

type ApiCreateOrganizationRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiCreateOrganizationRequest) Execute

func (ApiCreateOrganizationRequest) Organization

Add Organization

type ApiCreateRegKeyRequest

type ApiCreateRegKeyRequest struct {
	ApiService *RegKeyApiService
	// contains filtered or unexported fields
}

func (ApiCreateRegKeyRequest) Execute

func (ApiCreateRegKeyRequest) RegKey

Add RegKey

type ApiCreateSecurityGroupRequest

type ApiCreateSecurityGroupRequest struct {
	ApiService *SecurityGroupApiService
	// contains filtered or unexported fields
}

func (ApiCreateSecurityGroupRequest) Execute

func (ApiCreateSecurityGroupRequest) SecurityGroup

Add SecurityGroup

type ApiCreateServiceNetworkRequest

type ApiCreateServiceNetworkRequest struct {
	ApiService *ServiceNetworkApiService
	// contains filtered or unexported fields
}

func (ApiCreateServiceNetworkRequest) Execute

func (ApiCreateServiceNetworkRequest) ServiceNetwork

Add ServiceNetwork

type ApiCreateSiteRequest

type ApiCreateSiteRequest struct {
	ApiService *SitesApiService
	// contains filtered or unexported fields
}

func (ApiCreateSiteRequest) Execute

func (ApiCreateSiteRequest) Site

Add Site

type ApiCreateVPCRequest

type ApiCreateVPCRequest struct {
	ApiService *VPCApiService
	// contains filtered or unexported fields
}

func (ApiCreateVPCRequest) Execute

func (r ApiCreateVPCRequest) Execute() (*ModelsVPC, *http.Response, error)

func (ApiCreateVPCRequest) VPC

Add VPC

type ApiDeleteDeviceMetadataKeyRequest

type ApiDeleteDeviceMetadataKeyRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteDeviceMetadataKeyRequest) Execute

type ApiDeleteDeviceMetadataRequest

type ApiDeleteDeviceMetadataRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteDeviceMetadataRequest) Execute

type ApiDeleteDeviceRequest

type ApiDeleteDeviceRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteDeviceRequest) Execute

type ApiDeleteInvitationRequest

type ApiDeleteInvitationRequest struct {
	ApiService *InvitationApiService
	// contains filtered or unexported fields
}

func (ApiDeleteInvitationRequest) Execute

type ApiDeleteOrganizationRequest

type ApiDeleteOrganizationRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteOrganizationRequest) Execute

type ApiDeleteOrganizationUserRequest

type ApiDeleteOrganizationUserRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteOrganizationUserRequest) Execute

type ApiDeleteRegKeyRequest

type ApiDeleteRegKeyRequest struct {
	ApiService *RegKeyApiService
	// contains filtered or unexported fields
}

func (ApiDeleteRegKeyRequest) Execute

type ApiDeleteSecurityGroupRequest

type ApiDeleteSecurityGroupRequest struct {
	ApiService *SecurityGroupApiService
	// contains filtered or unexported fields
}

func (ApiDeleteSecurityGroupRequest) Execute

type ApiDeleteServiceNetworkRequest

type ApiDeleteServiceNetworkRequest struct {
	ApiService *ServiceNetworkApiService
	// contains filtered or unexported fields
}

func (ApiDeleteServiceNetworkRequest) Execute

type ApiDeleteSiteRequest

type ApiDeleteSiteRequest struct {
	ApiService *SitesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteSiteRequest) Execute

type ApiDeleteUserFromOrganizationRequest

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

func (ApiDeleteUserFromOrganizationRequest) Execute

type ApiDeleteUserRequest

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

func (ApiDeleteUserRequest) Execute

type ApiDeleteVPCRequest

type ApiDeleteVPCRequest struct {
	ApiService *VPCApiService
	// contains filtered or unexported fields
}

func (ApiDeleteVPCRequest) Execute

func (r ApiDeleteVPCRequest) Execute() (*ModelsVPC, *http.Response, error)

type ApiDeviceStartRequest

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

func (ApiDeviceStartRequest) Execute

type ApiGetDeviceMetadataKeyRequest

type ApiGetDeviceMetadataKeyRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiGetDeviceMetadataKeyRequest) Execute

func (ApiGetDeviceMetadataKeyRequest) Informer

type ApiGetDeviceRequest

type ApiGetDeviceRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiGetDeviceRequest) Execute

type ApiGetFeatureFlagRequest

type ApiGetFeatureFlagRequest struct {
	ApiService *FFlagApiService
	// contains filtered or unexported fields
}

func (ApiGetFeatureFlagRequest) Execute

func (r ApiGetFeatureFlagRequest) Execute() (map[string]bool, *http.Response, error)

type ApiGetInvitationRequest

type ApiGetInvitationRequest struct {
	ApiService *InvitationApiService
	// contains filtered or unexported fields
}

func (ApiGetInvitationRequest) Execute

type ApiGetOrganizationUserRequest

type ApiGetOrganizationUserRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiGetOrganizationUserRequest) Execute

type ApiGetOrganizationsRequest

type ApiGetOrganizationsRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiGetOrganizationsRequest) Execute

type ApiGetRegKeyRequest

type ApiGetRegKeyRequest struct {
	ApiService *RegKeyApiService
	// contains filtered or unexported fields
}

func (ApiGetRegKeyRequest) Execute

type ApiGetSecurityGroupRequest

type ApiGetSecurityGroupRequest struct {
	ApiService *SecurityGroupApiService
	// contains filtered or unexported fields
}

func (ApiGetSecurityGroupRequest) Execute

type ApiGetServiceNetworkRequest

type ApiGetServiceNetworkRequest struct {
	ApiService *ServiceNetworkApiService
	// contains filtered or unexported fields
}

func (ApiGetServiceNetworkRequest) Execute

type ApiGetSiteRequest

type ApiGetSiteRequest struct {
	ApiService *SitesApiService
	// contains filtered or unexported fields
}

func (ApiGetSiteRequest) Execute

func (r ApiGetSiteRequest) Execute() (*ModelsSite, *http.Response, error)

type ApiGetUserRequest

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

func (ApiGetUserRequest) Execute

func (r ApiGetUserRequest) Execute() (*ModelsUser, *http.Response, error)

type ApiGetVPCRequest

type ApiGetVPCRequest struct {
	ApiService *VPCApiService
	// contains filtered or unexported fields
}

func (ApiGetVPCRequest) Execute

func (r ApiGetVPCRequest) Execute() (*ModelsVPC, *http.Response, error)

type ApiListDeviceMetadataRequest

type ApiListDeviceMetadataRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiListDeviceMetadataRequest) Execute

func (ApiListDeviceMetadataRequest) GtRevision

greater than revision

type ApiListDevicesInVPCRequest

type ApiListDevicesInVPCRequest struct {
	ApiService *VPCApiService
	// contains filtered or unexported fields
}

func (ApiListDevicesInVPCRequest) Execute

func (ApiListDevicesInVPCRequest) GtRevision

greater than revision

func (ApiListDevicesInVPCRequest) Informer

ListInformer creates a *ListInformer which provides a simpler API to list devices but which is implemented with the Watch api. The *ListInformer maintains a local device cache which gets updated with the Watch events.

type ApiListDevicesRequest

type ApiListDevicesRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiListDevicesRequest) Execute

type ApiListFeatureFlagsRequest

type ApiListFeatureFlagsRequest struct {
	ApiService *FFlagApiService
	// contains filtered or unexported fields
}

func (ApiListFeatureFlagsRequest) Execute

type ApiListInvitationsRequest

type ApiListInvitationsRequest struct {
	ApiService *InvitationApiService
	// contains filtered or unexported fields
}

func (ApiListInvitationsRequest) Execute

type ApiListMetadataInVPCRequest

type ApiListMetadataInVPCRequest struct {
	ApiService *VPCApiService
	// contains filtered or unexported fields
}

func (ApiListMetadataInVPCRequest) Execute

func (ApiListMetadataInVPCRequest) GtRevision

greater than revision

func (ApiListMetadataInVPCRequest) Informer

ListInformer creates a *ListInformer which provides a simpler API to list devices but which is implemented with the Watch api. The *ListInformer maintains a local device cache which gets updated with the Watch events.

func (ApiListMetadataInVPCRequest) Key

used to filter down to the specified key

func (ApiListMetadataInVPCRequest) Prefix

used to filter down to the specified key prefixes

type ApiListOrganizationUsersRequest

type ApiListOrganizationUsersRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiListOrganizationUsersRequest) Execute

type ApiListOrganizationsRequest

type ApiListOrganizationsRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiListOrganizationsRequest) Execute

type ApiListRegKeysRequest

type ApiListRegKeysRequest struct {
	ApiService *RegKeyApiService
	// contains filtered or unexported fields
}

func (ApiListRegKeysRequest) Execute

type ApiListSecurityGroupsInVPCRequest

type ApiListSecurityGroupsInVPCRequest struct {
	ApiService *VPCApiService
	// contains filtered or unexported fields
}

func (ApiListSecurityGroupsInVPCRequest) Execute

func (ApiListSecurityGroupsInVPCRequest) GtRevision

greater than revision

func (ApiListSecurityGroupsInVPCRequest) Informer

ListInformer creates a *ListInformer which provides a simpler API to list devices but which is implemented with the Watch api. The *ListInformer maintains a local device cache which gets updated with the Watch events.

type ApiListSecurityGroupsRequest

type ApiListSecurityGroupsRequest struct {
	ApiService *SecurityGroupApiService
	// contains filtered or unexported fields
}

func (ApiListSecurityGroupsRequest) Execute

func (ApiListSecurityGroupsRequest) GtRevision

greater than revision

type ApiListServiceNetworksRequest

type ApiListServiceNetworksRequest struct {
	ApiService *ServiceNetworkApiService
	// contains filtered or unexported fields
}

func (ApiListServiceNetworksRequest) Execute

type ApiListSitesInServiceNetworkRequest

type ApiListSitesInServiceNetworkRequest struct {
	ApiService *ServiceNetworkApiService
	// contains filtered or unexported fields
}

func (ApiListSitesInServiceNetworkRequest) Execute

func (ApiListSitesInServiceNetworkRequest) GtRevision

greater than revision

func (ApiListSitesInServiceNetworkRequest) Informer

ListInformer creates a *ListInformer which provides a simpler API to list sites but which is implemented with the Watch api. The *ListInformer maintains a local site cache which gets updated with the Watch events.

type ApiListSitesRequest

type ApiListSitesRequest struct {
	ApiService *SitesApiService
	// contains filtered or unexported fields
}

func (ApiListSitesRequest) Execute

func (r ApiListSitesRequest) Execute() ([]ModelsSite, *http.Response, error)

type ApiListUsersRequest

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

func (ApiListUsersRequest) Execute

func (r ApiListUsersRequest) Execute() ([]ModelsUser, *http.Response, error)

type ApiListVPCsRequest

type ApiListVPCsRequest struct {
	ApiService *VPCApiService
	// contains filtered or unexported fields
}

func (ApiListVPCsRequest) Execute

func (r ApiListVPCsRequest) Execute() ([]ModelsVPC, *http.Response, error)

type ApiLogoutRequest

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

func (ApiLogoutRequest) Execute

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

func (ApiLogoutRequest) Redirect

func (r ApiLogoutRequest) Redirect(redirect string) ApiLogoutRequest

URL to redirect to after logout

type ApiRefreshRequest

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

func (ApiRefreshRequest) Execute

func (r ApiRefreshRequest) Execute() (*http.Response, error)

type ApiSignCSRRequest

type ApiSignCSRRequest struct {
	ApiService *CAApiService
	// contains filtered or unexported fields
}

func (ApiSignCSRRequest) CertificateSigningRequest

func (r ApiSignCSRRequest) CertificateSigningRequest(certificateSigningRequest ModelsCertificateSigningRequest) ApiSignCSRRequest

Certificate signing request

func (ApiSignCSRRequest) Execute

type ApiUpdateDeviceMetadataKeyRequest

type ApiUpdateDeviceMetadataKeyRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateDeviceMetadataKeyRequest) Execute

func (ApiUpdateDeviceMetadataKeyRequest) Value

Metadata Value

type ApiUpdateDeviceRequest

type ApiUpdateDeviceRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateDeviceRequest) Execute

func (ApiUpdateDeviceRequest) Update

Device Update

type ApiUpdateRegKeyRequest

type ApiUpdateRegKeyRequest struct {
	ApiService *RegKeyApiService
	// contains filtered or unexported fields
}

func (ApiUpdateRegKeyRequest) Execute

func (ApiUpdateRegKeyRequest) Update

RegKey Update

type ApiUpdateSecurityGroupRequest

type ApiUpdateSecurityGroupRequest struct {
	ApiService *SecurityGroupApiService
	// contains filtered or unexported fields
}

func (ApiUpdateSecurityGroupRequest) Execute

func (ApiUpdateSecurityGroupRequest) Update

Security Group Update

type ApiUpdateServiceNetworkRequest

type ApiUpdateServiceNetworkRequest struct {
	ApiService *ServiceNetworkApiService
	// contains filtered or unexported fields
}

func (ApiUpdateServiceNetworkRequest) Execute

func (ApiUpdateServiceNetworkRequest) Update

ServiceNetwork Update

type ApiUpdateSiteRequest

type ApiUpdateSiteRequest struct {
	ApiService *SitesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateSiteRequest) Execute

func (ApiUpdateSiteRequest) Update

Site Update

type ApiUpdateVPCRequest

type ApiUpdateVPCRequest struct {
	ApiService *VPCApiService
	// contains filtered or unexported fields
}

func (ApiUpdateVPCRequest) Execute

func (r ApiUpdateVPCRequest) Execute() (*ModelsVPC, *http.Response, error)

func (ApiUpdateVPCRequest) Update

VPC Update

type ApiUserInfoRequest

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

func (ApiUserInfoRequest) Execute

type ApiWatchEventsRequest

type ApiWatchEventsRequest struct {
	ApiService *VPCApiService
	// contains filtered or unexported fields
}

func (ApiWatchEventsRequest) Execute

func (ApiWatchEventsRequest) PublicKey

func (r ApiWatchEventsRequest) PublicKey(publicKey string) ApiWatchEventsRequest

connect as the device with the given public key, device will be considered to be online for the duration of this request

func (ApiWatchEventsRequest) Watches

List of events to watch

type ApiWatchRequest

type ApiWatchRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiWatchRequest) Execute

func (ApiWatchRequest) NewSharedInformerContext

func (r ApiWatchRequest) NewSharedInformerContext() context.Context

func (ApiWatchRequest) WatchStream

func (r ApiWatchRequest) WatchStream() (*WatchStream, *http.Response, error)

func (ApiWatchRequest) Watches

func (r ApiWatchRequest) Watches(watches []ModelsWatch) ApiWatchRequest

List of events to watch

type ApiWebEndRequest

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

func (ApiWebEndRequest) Code

oauth2 code from authorization server

func (ApiWebEndRequest) Error_

func (r ApiWebEndRequest) Error_(error_ string) ApiWebEndRequest

error message if login failed

func (ApiWebEndRequest) Execute

func (r ApiWebEndRequest) Execute() (*http.Response, error)

func (ApiWebEndRequest) State

func (r ApiWebEndRequest) State(state string) ApiWebEndRequest

state value from the login start request

type ApiWebStartRequest

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

func (ApiWebStartRequest) Execute

func (r ApiWebStartRequest) Execute() (*http.Response, error)

func (ApiWebStartRequest) Failure

func (r ApiWebStartRequest) Failure(failure string) ApiWebStartRequest

URL to redirect to if login fails (optional)

func (ApiWebStartRequest) Redirect

func (r ApiWebStartRequest) Redirect(redirect string) ApiWebStartRequest

URL to redirect to if login succeeds

type AuthApiService

type AuthApiService service

AuthApiService AuthApi service

func (*AuthApiService) Certs

Certs gets the jwks

gets the jwks that can be used to verify JWTs created by this server.

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

func (*AuthApiService) CertsExecute

func (a *AuthApiService) CertsExecute(r ApiCertsRequest) (map[string]interface{}, *http.Response, error)

Execute executes the request

@return map[string]interface{}

func (*AuthApiService) CheckAuth

CheckAuth Check Authentication

Checks if the user is currently authenticated

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

func (*AuthApiService) CheckAuthExecute

func (a *AuthApiService) CheckAuthExecute(r ApiCheckAuthRequest) (map[string]bool, *http.Response, error)

Execute executes the request

@return map[string]bool

func (*AuthApiService) Claims

Claims Get Access Token Claims

Retrieves the claims present in the user's access token.

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

func (*AuthApiService) ClaimsExecute

func (a *AuthApiService) ClaimsExecute(r ApiClaimsRequest) (map[string]interface{}, *http.Response, error)

Execute executes the request

@return map[string]interface{}

func (*AuthApiService) DeviceStart

DeviceStart Start Login

Starts a device login request

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

func (*AuthApiService) DeviceStartExecute

Execute executes the request

@return ModelsDeviceStartResponse

func (*AuthApiService) Logout

Logout Generate Logout URL

Provides the URL to initiate the logout process for the current user.

@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) (*http.Response, error)

Execute executes the request

func (*AuthApiService) Refresh

Refresh Refresh Access Token

Obtains and updates a new access token for the user.

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

func (*AuthApiService) RefreshExecute

func (a *AuthApiService) RefreshExecute(r ApiRefreshRequest) (*http.Response, error)

Execute executes the request

func (*AuthApiService) UserInfo

UserInfo Retrieve Current User Information

Fetches and returns information for the user who is currently authenticated.

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

func (*AuthApiService) UserInfoExecute

Execute executes the request

@return ModelsUserInfoResponse

func (*AuthApiService) WebEnd

WebEnd Completes OIDC Web Login

Handles the callback from the OAuth2/OpenID provider and verifies the tokens.

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

func (*AuthApiService) WebEndExecute

func (a *AuthApiService) WebEndExecute(r ApiWebEndRequest) (*http.Response, error)

Execute executes the request

func (*AuthApiService) WebStart

WebStart Initiates OIDC Web Login

Generates state and nonce, then redirects the user to the OAuth2 authorization URL.

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

func (*AuthApiService) WebStartExecute

func (a *AuthApiService) WebStartExecute(r ApiWebStartRequest) (*http.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 CAApiService

type CAApiService service

CAApiService CAApi service

func (*CAApiService) SignCSR

SignCSR Signs a certificate signing request

Signs a certificate signing request

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

func (*CAApiService) SignCSRExecute

Execute executes the request

@return ModelsCertificateSigningResponse

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 DeviceAdaptor

type DeviceAdaptor struct{}

func (DeviceAdaptor) Item

func (d DeviceAdaptor) Item(value map[string]interface{}) (ModelsDevice, error)

func (DeviceAdaptor) Key

func (d DeviceAdaptor) Key(item ModelsDevice) string

func (DeviceAdaptor) Kind

func (d DeviceAdaptor) Kind() string

func (DeviceAdaptor) Revision

func (d DeviceAdaptor) Revision(item ModelsDevice) int32

type DevicesApiService

type DevicesApiService service

DevicesApiService DevicesApi service

func (*DevicesApiService) CreateDevice

CreateDevice Add Devices

Adds a new device

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

func (*DevicesApiService) CreateDeviceExecute

func (a *DevicesApiService) CreateDeviceExecute(r ApiCreateDeviceRequest) (*ModelsDevice, *http.Response, error)

Execute executes the request

@return ModelsDevice

func (*DevicesApiService) DeleteDevice

DeleteDevice Delete Device

Deletes an existing device and associated IPAM lease

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

func (*DevicesApiService) DeleteDeviceExecute

func (a *DevicesApiService) DeleteDeviceExecute(r ApiDeleteDeviceRequest) (*ModelsDevice, *http.Response, error)

Execute executes the request

@return ModelsDevice

func (*DevicesApiService) DeleteDeviceMetadata

func (a *DevicesApiService) DeleteDeviceMetadata(ctx context.Context, id string) ApiDeleteDeviceMetadataRequest

DeleteDeviceMetadata Delete all Device metadata

Delete all metadata for a device

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

func (*DevicesApiService) DeleteDeviceMetadataExecute

func (a *DevicesApiService) DeleteDeviceMetadataExecute(r ApiDeleteDeviceMetadataRequest) (*http.Response, error)

Execute executes the request

func (*DevicesApiService) DeleteDeviceMetadataKey

func (a *DevicesApiService) DeleteDeviceMetadataKey(ctx context.Context, id string, key string) ApiDeleteDeviceMetadataKeyRequest

DeleteDeviceMetadataKey Delete a Device metadata key

Delete a metadata key for a device

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device ID
@param key Metadata Key
@return ApiDeleteDeviceMetadataKeyRequest

func (*DevicesApiService) DeleteDeviceMetadataKeyExecute

func (a *DevicesApiService) DeleteDeviceMetadataKeyExecute(r ApiDeleteDeviceMetadataKeyRequest) (*http.Response, error)

Execute executes the request

func (*DevicesApiService) GetDevice

GetDevice Get Devices

Gets a device by ID

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

func (*DevicesApiService) GetDeviceExecute

Execute executes the request

@return ModelsDevice

func (*DevicesApiService) GetDeviceMetadataKey

func (a *DevicesApiService) GetDeviceMetadataKey(ctx context.Context, id string, key string) ApiGetDeviceMetadataKeyRequest

GetDeviceMetadataKey Get Device Metadata

Get metadata for a device

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device ID
@param key Metadata Key
@return ApiGetDeviceMetadataKeyRequest

func (*DevicesApiService) GetDeviceMetadataKeyExecute

Execute executes the request

@return ModelsDeviceMetadata

func (*DevicesApiService) ListDeviceMetadata

func (a *DevicesApiService) ListDeviceMetadata(ctx context.Context, id string) ApiListDeviceMetadataRequest

ListDeviceMetadata List Device Metadata

Lists metadata for a device

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

func (*DevicesApiService) ListDeviceMetadataExecute

Execute executes the request

@return []ModelsDeviceMetadata

func (*DevicesApiService) ListDevices

ListDevices List Devices

Lists all devices

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

func (*DevicesApiService) ListDevicesExecute

func (a *DevicesApiService) ListDevicesExecute(r ApiListDevicesRequest) ([]ModelsDevice, *http.Response, error)

Execute executes the request

@return []ModelsDevice

func (*DevicesApiService) UpdateDevice

UpdateDevice Update Devices

Updates a device by ID

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

func (*DevicesApiService) UpdateDeviceExecute

func (a *DevicesApiService) UpdateDeviceExecute(r ApiUpdateDeviceRequest) (*ModelsDevice, *http.Response, error)

Execute executes the request

@return ModelsDevice

func (*DevicesApiService) UpdateDeviceMetadataKey

func (a *DevicesApiService) UpdateDeviceMetadataKey(ctx context.Context, id string, key string) ApiUpdateDeviceMetadataKeyRequest

UpdateDeviceMetadataKey Set Device Metadata by key

Set metadata key for a device

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device ID
@param key Metadata Key
@return ApiUpdateDeviceMetadataKeyRequest

func (*DevicesApiService) UpdateDeviceMetadataKeyExecute

Execute executes the request

@return ModelsDeviceMetadata

type EventsApiService

type EventsApiService service

EventsApiService EventsApi service

func (*EventsApiService) Watch

Watch Watch events occurring in the control plane

Watches events occurring in the control plane

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

func (*EventsApiService) WatchExecute

Execute executes the request

@return ModelsWatchEvent

func (*EventsApiService) WatchStream

type FFlagApiService

type FFlagApiService service

FFlagApiService FFlagApi service

func (*FFlagApiService) GetFeatureFlag

func (a *FFlagApiService) GetFeatureFlag(ctx context.Context, name string) ApiGetFeatureFlagRequest

GetFeatureFlag Get Feature Flag

Gets a Feature Flag by name

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

func (*FFlagApiService) GetFeatureFlagExecute

func (a *FFlagApiService) GetFeatureFlagExecute(r ApiGetFeatureFlagRequest) (map[string]bool, *http.Response, error)

Execute executes the request

@return map[string]bool

func (*FFlagApiService) ListFeatureFlags

func (a *FFlagApiService) ListFeatureFlags(ctx context.Context) ApiListFeatureFlagsRequest

ListFeatureFlags List Feature Flags

Lists all feature flags

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

func (*FFlagApiService) ListFeatureFlagsExecute

func (a *FFlagApiService) ListFeatureFlagsExecute(r ApiListFeatureFlagsRequest) (map[string]bool, *http.Response, error)

Execute executes the request

@return map[string]bool

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 GetInformer

type GetInformer[T any] struct {
	// contains filtered or unexported fields
}

func (*GetInformer[T]) Changed

func (informer *GetInformer[T]) Changed() <-chan struct{}

func (*GetInformer[T]) Execute

func (informer *GetInformer[T]) Execute() (*T, *http.Response, error)

type InformerAdaptor

type InformerAdaptor[T any] interface {
	Kind() string
	Item(value map[string]interface{}) (T, error)
	Revision(item T) int32
	Key(item T) string
}

type InvitationApiService

type InvitationApiService service

InvitationApiService InvitationApi service

func (*InvitationApiService) AcceptInvitation

AcceptInvitation Accept an invitation

Accept an invitation to an organization

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

func (*InvitationApiService) AcceptInvitationExecute

func (a *InvitationApiService) AcceptInvitationExecute(r ApiAcceptInvitationRequest) (*http.Response, error)

Execute executes the request

func (*InvitationApiService) CreateInvitation

CreateInvitation Create an invitation

Create an invitation to an organization

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

func (*InvitationApiService) CreateInvitationExecute

Execute executes the request

@return ModelsInvitation

func (*InvitationApiService) DeleteInvitation

DeleteInvitation Delete Invitation

Deletes an existing invitation

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

func (*InvitationApiService) DeleteInvitationExecute

Execute executes the request

@return ModelsOrganization

func (*InvitationApiService) GetInvitation

GetInvitation Get Invitation

Gets an Invitation by Invitation ID

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

func (*InvitationApiService) GetInvitationExecute

Execute executes the request

@return ModelsInvitation

func (*InvitationApiService) ListInvitations

ListInvitations List Invitations

Lists all invitations

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

func (*InvitationApiService) ListInvitationsExecute

Execute executes the request

@return []ModelsInvitation

type ListInformer

type ListInformer[T any] struct {
	// contains filtered or unexported fields
}

func NewInformer

func NewInformer[T any](adaptor InformerAdaptor[T], gtRevision *int32, request ApiWatchRequest, options map[string]interface{}) *ListInformer[T]

func (*ListInformer[T]) Changed

func (informer *ListInformer[T]) Changed() <-chan struct{}

func (*ListInformer[T]) Execute

func (informer *ListInformer[T]) Execute() (map[string]T, *http.Response, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type ModelsAddDevice

type ModelsAddDevice struct {
	AdvertiseCidrs  []string         `json:"advertise_cidrs,omitempty"`
	Endpoints       []ModelsEndpoint `json:"endpoints,omitempty"`
	Hostname        *string          `json:"hostname,omitempty"`
	Ipv4TunnelIps   []ModelsTunnelIP `json:"ipv4_tunnel_ips,omitempty"`
	Os              *string          `json:"os,omitempty"`
	PublicKey       *string          `json:"public_key,omitempty"`
	Relay           *bool            `json:"relay,omitempty"`
	SecurityGroupId *string          `json:"security_group_id,omitempty"`
	SymmetricNat    *bool            `json:"symmetric_nat,omitempty"`
	VpcId           *string          `json:"vpc_id,omitempty"`
}

ModelsAddDevice struct for ModelsAddDevice

func NewModelsAddDevice

func NewModelsAddDevice() *ModelsAddDevice

NewModelsAddDevice instantiates a new ModelsAddDevice 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 NewModelsAddDeviceWithDefaults

func NewModelsAddDeviceWithDefaults() *ModelsAddDevice

NewModelsAddDeviceWithDefaults instantiates a new ModelsAddDevice 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 (*ModelsAddDevice) GetAdvertiseCidrs

func (o *ModelsAddDevice) GetAdvertiseCidrs() []string

GetAdvertiseCidrs returns the AdvertiseCidrs field value if set, zero value otherwise.

func (*ModelsAddDevice) GetAdvertiseCidrsOk

func (o *ModelsAddDevice) GetAdvertiseCidrsOk() ([]string, bool)

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

func (*ModelsAddDevice) GetEndpoints

func (o *ModelsAddDevice) GetEndpoints() []ModelsEndpoint

GetEndpoints returns the Endpoints field value if set, zero value otherwise.

func (*ModelsAddDevice) GetEndpointsOk

func (o *ModelsAddDevice) GetEndpointsOk() ([]ModelsEndpoint, bool)

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

func (*ModelsAddDevice) GetHostname

func (o *ModelsAddDevice) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*ModelsAddDevice) GetHostnameOk

func (o *ModelsAddDevice) GetHostnameOk() (*string, bool)

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

func (*ModelsAddDevice) GetIpv4TunnelIps

func (o *ModelsAddDevice) GetIpv4TunnelIps() []ModelsTunnelIP

GetIpv4TunnelIps returns the Ipv4TunnelIps field value if set, zero value otherwise.

func (*ModelsAddDevice) GetIpv4TunnelIpsOk

func (o *ModelsAddDevice) GetIpv4TunnelIpsOk() ([]ModelsTunnelIP, bool)

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

func (*ModelsAddDevice) GetOs

func (o *ModelsAddDevice) GetOs() string

GetOs returns the Os field value if set, zero value otherwise.

func (*ModelsAddDevice) GetOsOk

func (o *ModelsAddDevice) GetOsOk() (*string, bool)

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

func (*ModelsAddDevice) GetPublicKey

func (o *ModelsAddDevice) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*ModelsAddDevice) GetPublicKeyOk

func (o *ModelsAddDevice) GetPublicKeyOk() (*string, bool)

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

func (*ModelsAddDevice) GetRelay

func (o *ModelsAddDevice) GetRelay() bool

GetRelay returns the Relay field value if set, zero value otherwise.

func (*ModelsAddDevice) GetRelayOk

func (o *ModelsAddDevice) GetRelayOk() (*bool, bool)

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

func (*ModelsAddDevice) GetSecurityGroupId

func (o *ModelsAddDevice) GetSecurityGroupId() string

GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.

func (*ModelsAddDevice) GetSecurityGroupIdOk

func (o *ModelsAddDevice) GetSecurityGroupIdOk() (*string, bool)

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

func (*ModelsAddDevice) GetSymmetricNat

func (o *ModelsAddDevice) GetSymmetricNat() bool

GetSymmetricNat returns the SymmetricNat field value if set, zero value otherwise.

func (*ModelsAddDevice) GetSymmetricNatOk

func (o *ModelsAddDevice) GetSymmetricNatOk() (*bool, bool)

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

func (*ModelsAddDevice) GetVpcId

func (o *ModelsAddDevice) GetVpcId() string

GetVpcId returns the VpcId field value if set, zero value otherwise.

func (*ModelsAddDevice) GetVpcIdOk

func (o *ModelsAddDevice) GetVpcIdOk() (*string, bool)

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

func (*ModelsAddDevice) HasAdvertiseCidrs

func (o *ModelsAddDevice) HasAdvertiseCidrs() bool

HasAdvertiseCidrs returns a boolean if a field has been set.

func (*ModelsAddDevice) HasEndpoints

func (o *ModelsAddDevice) HasEndpoints() bool

HasEndpoints returns a boolean if a field has been set.

func (*ModelsAddDevice) HasHostname

func (o *ModelsAddDevice) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*ModelsAddDevice) HasIpv4TunnelIps

func (o *ModelsAddDevice) HasIpv4TunnelIps() bool

HasIpv4TunnelIps returns a boolean if a field has been set.

func (*ModelsAddDevice) HasOs

func (o *ModelsAddDevice) HasOs() bool

HasOs returns a boolean if a field has been set.

func (*ModelsAddDevice) HasPublicKey

func (o *ModelsAddDevice) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (*ModelsAddDevice) HasRelay

func (o *ModelsAddDevice) HasRelay() bool

HasRelay returns a boolean if a field has been set.

func (*ModelsAddDevice) HasSecurityGroupId

func (o *ModelsAddDevice) HasSecurityGroupId() bool

HasSecurityGroupId returns a boolean if a field has been set.

func (*ModelsAddDevice) HasSymmetricNat

func (o *ModelsAddDevice) HasSymmetricNat() bool

HasSymmetricNat returns a boolean if a field has been set.

func (*ModelsAddDevice) HasVpcId

func (o *ModelsAddDevice) HasVpcId() bool

HasVpcId returns a boolean if a field has been set.

func (ModelsAddDevice) MarshalJSON

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

func (*ModelsAddDevice) SetAdvertiseCidrs

func (o *ModelsAddDevice) SetAdvertiseCidrs(v []string)

SetAdvertiseCidrs gets a reference to the given []string and assigns it to the AdvertiseCidrs field.

func (*ModelsAddDevice) SetEndpoints

func (o *ModelsAddDevice) SetEndpoints(v []ModelsEndpoint)

SetEndpoints gets a reference to the given []ModelsEndpoint and assigns it to the Endpoints field.

func (*ModelsAddDevice) SetHostname

func (o *ModelsAddDevice) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*ModelsAddDevice) SetIpv4TunnelIps

func (o *ModelsAddDevice) SetIpv4TunnelIps(v []ModelsTunnelIP)

SetIpv4TunnelIps gets a reference to the given []ModelsTunnelIP and assigns it to the Ipv4TunnelIps field.

func (*ModelsAddDevice) SetOs

func (o *ModelsAddDevice) SetOs(v string)

SetOs gets a reference to the given string and assigns it to the Os field.

func (*ModelsAddDevice) SetPublicKey

func (o *ModelsAddDevice) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (*ModelsAddDevice) SetRelay

func (o *ModelsAddDevice) SetRelay(v bool)

SetRelay gets a reference to the given bool and assigns it to the Relay field.

func (*ModelsAddDevice) SetSecurityGroupId

func (o *ModelsAddDevice) SetSecurityGroupId(v string)

SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.

func (*ModelsAddDevice) SetSymmetricNat

func (o *ModelsAddDevice) SetSymmetricNat(v bool)

SetSymmetricNat gets a reference to the given bool and assigns it to the SymmetricNat field.

func (*ModelsAddDevice) SetVpcId

func (o *ModelsAddDevice) SetVpcId(v string)

SetVpcId gets a reference to the given string and assigns it to the VpcId field.

func (ModelsAddDevice) ToMap

func (o ModelsAddDevice) ToMap() (map[string]interface{}, error)

type ModelsAddInvitation

type ModelsAddInvitation struct {
	// The email address of the user to invite (one of email or user_id is required)
	Email          *string  `json:"email,omitempty"`
	OrganizationId *string  `json:"organization_id,omitempty"`
	Roles          []string `json:"roles,omitempty"`
	// The user id to invite (one of email or user_id is required)
	UserId *string `json:"user_id,omitempty"`
}

ModelsAddInvitation struct for ModelsAddInvitation

func NewModelsAddInvitation

func NewModelsAddInvitation() *ModelsAddInvitation

NewModelsAddInvitation instantiates a new ModelsAddInvitation 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 NewModelsAddInvitationWithDefaults

func NewModelsAddInvitationWithDefaults() *ModelsAddInvitation

NewModelsAddInvitationWithDefaults instantiates a new ModelsAddInvitation 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 (*ModelsAddInvitation) GetEmail

func (o *ModelsAddInvitation) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*ModelsAddInvitation) GetEmailOk

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

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

func (*ModelsAddInvitation) GetOrganizationId

func (o *ModelsAddInvitation) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ModelsAddInvitation) GetOrganizationIdOk

func (o *ModelsAddInvitation) GetOrganizationIdOk() (*string, bool)

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

func (*ModelsAddInvitation) GetRoles

func (o *ModelsAddInvitation) GetRoles() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*ModelsAddInvitation) GetRolesOk

func (o *ModelsAddInvitation) GetRolesOk() ([]string, bool)

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

func (*ModelsAddInvitation) GetUserId

func (o *ModelsAddInvitation) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*ModelsAddInvitation) GetUserIdOk

func (o *ModelsAddInvitation) GetUserIdOk() (*string, bool)

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

func (*ModelsAddInvitation) HasEmail

func (o *ModelsAddInvitation) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*ModelsAddInvitation) HasOrganizationId

func (o *ModelsAddInvitation) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ModelsAddInvitation) HasRoles

func (o *ModelsAddInvitation) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*ModelsAddInvitation) HasUserId

func (o *ModelsAddInvitation) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (ModelsAddInvitation) MarshalJSON

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

func (*ModelsAddInvitation) SetEmail

func (o *ModelsAddInvitation) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*ModelsAddInvitation) SetOrganizationId

func (o *ModelsAddInvitation) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ModelsAddInvitation) SetRoles

func (o *ModelsAddInvitation) SetRoles(v []string)

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (*ModelsAddInvitation) SetUserId

func (o *ModelsAddInvitation) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

func (ModelsAddInvitation) ToMap

func (o ModelsAddInvitation) ToMap() (map[string]interface{}, error)

type ModelsAddOrganization

type ModelsAddOrganization struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
}

ModelsAddOrganization struct for ModelsAddOrganization

func NewModelsAddOrganization

func NewModelsAddOrganization() *ModelsAddOrganization

NewModelsAddOrganization instantiates a new ModelsAddOrganization 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 NewModelsAddOrganizationWithDefaults

func NewModelsAddOrganizationWithDefaults() *ModelsAddOrganization

NewModelsAddOrganizationWithDefaults instantiates a new ModelsAddOrganization 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 (*ModelsAddOrganization) GetDescription

func (o *ModelsAddOrganization) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ModelsAddOrganization) GetDescriptionOk

func (o *ModelsAddOrganization) GetDescriptionOk() (*string, bool)

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

func (*ModelsAddOrganization) GetName

func (o *ModelsAddOrganization) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ModelsAddOrganization) GetNameOk

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

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

func (*ModelsAddOrganization) HasDescription

func (o *ModelsAddOrganization) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ModelsAddOrganization) HasName

func (o *ModelsAddOrganization) HasName() bool

HasName returns a boolean if a field has been set.

func (ModelsAddOrganization) MarshalJSON

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

func (*ModelsAddOrganization) SetDescription

func (o *ModelsAddOrganization) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ModelsAddOrganization) SetName

func (o *ModelsAddOrganization) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (ModelsAddOrganization) ToMap

func (o ModelsAddOrganization) ToMap() (map[string]interface{}, error)

type ModelsAddRegKey

type ModelsAddRegKey struct {
	// Description of the registration key.
	Description *string `json:"description,omitempty"`
	// ExpiresAt is optional, if set the registration key is only valid until the ExpiresAt time.
	ExpiresAt *string `json:"expires_at,omitempty"`
	// SecurityGroupId is the ID of the security group to assign to the device.
	SecurityGroupId *string `json:"security_group_id,omitempty"`
	// ServiceNetworkID is the ID of the Service Network the device can join.
	ServiceNetworkId *string `json:"service_network_id,omitempty"`
	// Settings contains general settings for the device.
	Settings map[string]interface{} `json:"settings,omitempty"`
	// SingleUse only allows the registration key to be used once.
	SingleUse *bool `json:"single_use,omitempty"`
	// VpcID is the ID of the VPC the device will join.
	VpcId *string `json:"vpc_id,omitempty"`
}

ModelsAddRegKey struct for ModelsAddRegKey

func NewModelsAddRegKey

func NewModelsAddRegKey() *ModelsAddRegKey

NewModelsAddRegKey instantiates a new ModelsAddRegKey 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 NewModelsAddRegKeyWithDefaults

func NewModelsAddRegKeyWithDefaults() *ModelsAddRegKey

NewModelsAddRegKeyWithDefaults instantiates a new ModelsAddRegKey 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 (*ModelsAddRegKey) GetDescription

func (o *ModelsAddRegKey) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ModelsAddRegKey) GetDescriptionOk

func (o *ModelsAddRegKey) GetDescriptionOk() (*string, bool)

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

func (*ModelsAddRegKey) GetExpiresAt

func (o *ModelsAddRegKey) GetExpiresAt() string

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*ModelsAddRegKey) GetExpiresAtOk

func (o *ModelsAddRegKey) GetExpiresAtOk() (*string, bool)

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

func (*ModelsAddRegKey) GetSecurityGroupId

func (o *ModelsAddRegKey) GetSecurityGroupId() string

GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.

func (*ModelsAddRegKey) GetSecurityGroupIdOk

func (o *ModelsAddRegKey) GetSecurityGroupIdOk() (*string, bool)

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

func (*ModelsAddRegKey) GetServiceNetworkId

func (o *ModelsAddRegKey) GetServiceNetworkId() string

GetServiceNetworkId returns the ServiceNetworkId field value if set, zero value otherwise.

func (*ModelsAddRegKey) GetServiceNetworkIdOk

func (o *ModelsAddRegKey) GetServiceNetworkIdOk() (*string, bool)

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

func (*ModelsAddRegKey) GetSettings

func (o *ModelsAddRegKey) GetSettings() map[string]interface{}

GetSettings returns the Settings field value if set, zero value otherwise.

func (*ModelsAddRegKey) GetSettingsOk

func (o *ModelsAddRegKey) GetSettingsOk() (map[string]interface{}, bool)

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

func (*ModelsAddRegKey) GetSingleUse

func (o *ModelsAddRegKey) GetSingleUse() bool

GetSingleUse returns the SingleUse field value if set, zero value otherwise.

func (*ModelsAddRegKey) GetSingleUseOk

func (o *ModelsAddRegKey) GetSingleUseOk() (*bool, bool)

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

func (*ModelsAddRegKey) GetVpcId

func (o *ModelsAddRegKey) GetVpcId() string

GetVpcId returns the VpcId field value if set, zero value otherwise.

func (*ModelsAddRegKey) GetVpcIdOk

func (o *ModelsAddRegKey) GetVpcIdOk() (*string, bool)

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

func (*ModelsAddRegKey) HasDescription

func (o *ModelsAddRegKey) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ModelsAddRegKey) HasExpiresAt

func (o *ModelsAddRegKey) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*ModelsAddRegKey) HasSecurityGroupId

func (o *ModelsAddRegKey) HasSecurityGroupId() bool

HasSecurityGroupId returns a boolean if a field has been set.

func (*ModelsAddRegKey) HasServiceNetworkId

func (o *ModelsAddRegKey) HasServiceNetworkId() bool

HasServiceNetworkId returns a boolean if a field has been set.

func (*ModelsAddRegKey) HasSettings

func (o *ModelsAddRegKey) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (*ModelsAddRegKey) HasSingleUse

func (o *ModelsAddRegKey) HasSingleUse() bool

HasSingleUse returns a boolean if a field has been set.

func (*ModelsAddRegKey) HasVpcId

func (o *ModelsAddRegKey) HasVpcId() bool

HasVpcId returns a boolean if a field has been set.

func (ModelsAddRegKey) MarshalJSON

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

func (*ModelsAddRegKey) SetDescription

func (o *ModelsAddRegKey) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ModelsAddRegKey) SetExpiresAt

func (o *ModelsAddRegKey) SetExpiresAt(v string)

SetExpiresAt gets a reference to the given string and assigns it to the ExpiresAt field.

func (*ModelsAddRegKey) SetSecurityGroupId

func (o *ModelsAddRegKey) SetSecurityGroupId(v string)

SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.

func (*ModelsAddRegKey) SetServiceNetworkId

func (o *ModelsAddRegKey) SetServiceNetworkId(v string)

SetServiceNetworkId gets a reference to the given string and assigns it to the ServiceNetworkId field.

func (*ModelsAddRegKey) SetSettings

func (o *ModelsAddRegKey) SetSettings(v map[string]interface{})

SetSettings gets a reference to the given map[string]interface{} and assigns it to the Settings field.

func (*ModelsAddRegKey) SetSingleUse

func (o *ModelsAddRegKey) SetSingleUse(v bool)

SetSingleUse gets a reference to the given bool and assigns it to the SingleUse field.

func (*ModelsAddRegKey) SetVpcId

func (o *ModelsAddRegKey) SetVpcId(v string)

SetVpcId gets a reference to the given string and assigns it to the VpcId field.

func (ModelsAddRegKey) ToMap

func (o ModelsAddRegKey) ToMap() (map[string]interface{}, error)

type ModelsAddSecurityGroup

type ModelsAddSecurityGroup struct {
	Description   *string              `json:"description,omitempty"`
	InboundRules  []ModelsSecurityRule `json:"inbound_rules,omitempty"`
	OutboundRules []ModelsSecurityRule `json:"outbound_rules,omitempty"`
	VpcId         *string              `json:"vpc_id,omitempty"`
}

ModelsAddSecurityGroup struct for ModelsAddSecurityGroup

func NewModelsAddSecurityGroup

func NewModelsAddSecurityGroup() *ModelsAddSecurityGroup

NewModelsAddSecurityGroup instantiates a new ModelsAddSecurityGroup 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 NewModelsAddSecurityGroupWithDefaults

func NewModelsAddSecurityGroupWithDefaults() *ModelsAddSecurityGroup

NewModelsAddSecurityGroupWithDefaults instantiates a new ModelsAddSecurityGroup 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 (*ModelsAddSecurityGroup) GetDescription

func (o *ModelsAddSecurityGroup) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ModelsAddSecurityGroup) GetDescriptionOk

func (o *ModelsAddSecurityGroup) GetDescriptionOk() (*string, bool)

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

func (*ModelsAddSecurityGroup) GetInboundRules

func (o *ModelsAddSecurityGroup) GetInboundRules() []ModelsSecurityRule

GetInboundRules returns the InboundRules field value if set, zero value otherwise.

func (*ModelsAddSecurityGroup) GetInboundRulesOk

func (o *ModelsAddSecurityGroup) GetInboundRulesOk() ([]ModelsSecurityRule, bool)

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

func (*ModelsAddSecurityGroup) GetOutboundRules

func (o *ModelsAddSecurityGroup) GetOutboundRules() []ModelsSecurityRule

GetOutboundRules returns the OutboundRules field value if set, zero value otherwise.

func (*ModelsAddSecurityGroup) GetOutboundRulesOk

func (o *ModelsAddSecurityGroup) GetOutboundRulesOk() ([]ModelsSecurityRule, bool)

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

func (*ModelsAddSecurityGroup) GetVpcId

func (o *ModelsAddSecurityGroup) GetVpcId() string

GetVpcId returns the VpcId field value if set, zero value otherwise.

func (*ModelsAddSecurityGroup) GetVpcIdOk

func (o *ModelsAddSecurityGroup) GetVpcIdOk() (*string, bool)

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

func (*ModelsAddSecurityGroup) HasDescription

func (o *ModelsAddSecurityGroup) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ModelsAddSecurityGroup) HasInboundRules

func (o *ModelsAddSecurityGroup) HasInboundRules() bool

HasInboundRules returns a boolean if a field has been set.

func (*ModelsAddSecurityGroup) HasOutboundRules

func (o *ModelsAddSecurityGroup) HasOutboundRules() bool

HasOutboundRules returns a boolean if a field has been set.

func (*ModelsAddSecurityGroup) HasVpcId

func (o *ModelsAddSecurityGroup) HasVpcId() bool

HasVpcId returns a boolean if a field has been set.

func (ModelsAddSecurityGroup) MarshalJSON

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

func (*ModelsAddSecurityGroup) SetDescription

func (o *ModelsAddSecurityGroup) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ModelsAddSecurityGroup) SetInboundRules

func (o *ModelsAddSecurityGroup) SetInboundRules(v []ModelsSecurityRule)

SetInboundRules gets a reference to the given []ModelsSecurityRule and assigns it to the InboundRules field.

func (*ModelsAddSecurityGroup) SetOutboundRules

func (o *ModelsAddSecurityGroup) SetOutboundRules(v []ModelsSecurityRule)

SetOutboundRules gets a reference to the given []ModelsSecurityRule and assigns it to the OutboundRules field.

func (*ModelsAddSecurityGroup) SetVpcId

func (o *ModelsAddSecurityGroup) SetVpcId(v string)

SetVpcId gets a reference to the given string and assigns it to the VpcId field.

func (ModelsAddSecurityGroup) ToMap

func (o ModelsAddSecurityGroup) ToMap() (map[string]interface{}, error)

type ModelsAddServiceNetwork

type ModelsAddServiceNetwork struct {
	Description    *string `json:"description,omitempty"`
	OrganizationId *string `json:"organization_id,omitempty"`
}

ModelsAddServiceNetwork struct for ModelsAddServiceNetwork

func NewModelsAddServiceNetwork

func NewModelsAddServiceNetwork() *ModelsAddServiceNetwork

NewModelsAddServiceNetwork instantiates a new ModelsAddServiceNetwork 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 NewModelsAddServiceNetworkWithDefaults

func NewModelsAddServiceNetworkWithDefaults() *ModelsAddServiceNetwork

NewModelsAddServiceNetworkWithDefaults instantiates a new ModelsAddServiceNetwork 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 (*ModelsAddServiceNetwork) GetDescription

func (o *ModelsAddServiceNetwork) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ModelsAddServiceNetwork) GetDescriptionOk

func (o *ModelsAddServiceNetwork) GetDescriptionOk() (*string, bool)

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

func (*ModelsAddServiceNetwork) GetOrganizationId

func (o *ModelsAddServiceNetwork) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ModelsAddServiceNetwork) GetOrganizationIdOk

func (o *ModelsAddServiceNetwork) GetOrganizationIdOk() (*string, bool)

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

func (*ModelsAddServiceNetwork) HasDescription

func (o *ModelsAddServiceNetwork) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ModelsAddServiceNetwork) HasOrganizationId

func (o *ModelsAddServiceNetwork) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (ModelsAddServiceNetwork) MarshalJSON

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

func (*ModelsAddServiceNetwork) SetDescription

func (o *ModelsAddServiceNetwork) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ModelsAddServiceNetwork) SetOrganizationId

func (o *ModelsAddServiceNetwork) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (ModelsAddServiceNetwork) ToMap

func (o ModelsAddServiceNetwork) ToMap() (map[string]interface{}, error)

type ModelsAddSite

type ModelsAddSite struct {
	Name             *string `json:"name,omitempty"`
	Platform         *string `json:"platform,omitempty"`
	PublicKey        *string `json:"public_key,omitempty"`
	ServiceNetworkId *string `json:"service_network_id,omitempty"`
}

ModelsAddSite struct for ModelsAddSite

func NewModelsAddSite

func NewModelsAddSite() *ModelsAddSite

NewModelsAddSite instantiates a new ModelsAddSite 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 NewModelsAddSiteWithDefaults

func NewModelsAddSiteWithDefaults() *ModelsAddSite

NewModelsAddSiteWithDefaults instantiates a new ModelsAddSite 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 (*ModelsAddSite) GetName

func (o *ModelsAddSite) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ModelsAddSite) GetNameOk

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

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

func (*ModelsAddSite) GetPlatform

func (o *ModelsAddSite) GetPlatform() string

GetPlatform returns the Platform field value if set, zero value otherwise.

func (*ModelsAddSite) GetPlatformOk

func (o *ModelsAddSite) GetPlatformOk() (*string, bool)

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

func (*ModelsAddSite) GetPublicKey

func (o *ModelsAddSite) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*ModelsAddSite) GetPublicKeyOk

func (o *ModelsAddSite) GetPublicKeyOk() (*string, bool)

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

func (*ModelsAddSite) GetServiceNetworkId

func (o *ModelsAddSite) GetServiceNetworkId() string

GetServiceNetworkId returns the ServiceNetworkId field value if set, zero value otherwise.

func (*ModelsAddSite) GetServiceNetworkIdOk

func (o *ModelsAddSite) GetServiceNetworkIdOk() (*string, bool)

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

func (*ModelsAddSite) HasName

func (o *ModelsAddSite) HasName() bool

HasName returns a boolean if a field has been set.

func (*ModelsAddSite) HasPlatform

func (o *ModelsAddSite) HasPlatform() bool

HasPlatform returns a boolean if a field has been set.

func (*ModelsAddSite) HasPublicKey

func (o *ModelsAddSite) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (*ModelsAddSite) HasServiceNetworkId

func (o *ModelsAddSite) HasServiceNetworkId() bool

HasServiceNetworkId returns a boolean if a field has been set.

func (ModelsAddSite) MarshalJSON

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

func (*ModelsAddSite) SetName

func (o *ModelsAddSite) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ModelsAddSite) SetPlatform

func (o *ModelsAddSite) SetPlatform(v string)

SetPlatform gets a reference to the given string and assigns it to the Platform field.

func (*ModelsAddSite) SetPublicKey

func (o *ModelsAddSite) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (*ModelsAddSite) SetServiceNetworkId

func (o *ModelsAddSite) SetServiceNetworkId(v string)

SetServiceNetworkId gets a reference to the given string and assigns it to the ServiceNetworkId field.

func (ModelsAddSite) ToMap

func (o ModelsAddSite) ToMap() (map[string]interface{}, error)

type ModelsAddVPC

type ModelsAddVPC struct {
	Description    *string `json:"description,omitempty"`
	Ipv4Cidr       *string `json:"ipv4_cidr,omitempty"`
	Ipv6Cidr       *string `json:"ipv6_cidr,omitempty"`
	OrganizationId *string `json:"organization_id,omitempty"`
	PrivateCidr    *bool   `json:"private_cidr,omitempty"`
}

ModelsAddVPC struct for ModelsAddVPC

func NewModelsAddVPC

func NewModelsAddVPC() *ModelsAddVPC

NewModelsAddVPC instantiates a new ModelsAddVPC 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 NewModelsAddVPCWithDefaults

func NewModelsAddVPCWithDefaults() *ModelsAddVPC

NewModelsAddVPCWithDefaults instantiates a new ModelsAddVPC 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 (*ModelsAddVPC) GetDescription

func (o *ModelsAddVPC) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ModelsAddVPC) GetDescriptionOk

func (o *ModelsAddVPC) GetDescriptionOk() (*string, bool)

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

func (*ModelsAddVPC) GetIpv4Cidr

func (o *ModelsAddVPC) GetIpv4Cidr() string

GetIpv4Cidr returns the Ipv4Cidr field value if set, zero value otherwise.

func (*ModelsAddVPC) GetIpv4CidrOk

func (o *ModelsAddVPC) GetIpv4CidrOk() (*string, bool)

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

func (*ModelsAddVPC) GetIpv6Cidr

func (o *ModelsAddVPC) GetIpv6Cidr() string

GetIpv6Cidr returns the Ipv6Cidr field value if set, zero value otherwise.

func (*ModelsAddVPC) GetIpv6CidrOk

func (o *ModelsAddVPC) GetIpv6CidrOk() (*string, bool)

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

func (*ModelsAddVPC) GetOrganizationId

func (o *ModelsAddVPC) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ModelsAddVPC) GetOrganizationIdOk

func (o *ModelsAddVPC) GetOrganizationIdOk() (*string, bool)

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

func (*ModelsAddVPC) GetPrivateCidr

func (o *ModelsAddVPC) GetPrivateCidr() bool

GetPrivateCidr returns the PrivateCidr field value if set, zero value otherwise.

func (*ModelsAddVPC) GetPrivateCidrOk

func (o *ModelsAddVPC) GetPrivateCidrOk() (*bool, bool)

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

func (*ModelsAddVPC) HasDescription

func (o *ModelsAddVPC) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ModelsAddVPC) HasIpv4Cidr

func (o *ModelsAddVPC) HasIpv4Cidr() bool

HasIpv4Cidr returns a boolean if a field has been set.

func (*ModelsAddVPC) HasIpv6Cidr

func (o *ModelsAddVPC) HasIpv6Cidr() bool

HasIpv6Cidr returns a boolean if a field has been set.

func (*ModelsAddVPC) HasOrganizationId

func (o *ModelsAddVPC) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ModelsAddVPC) HasPrivateCidr

func (o *ModelsAddVPC) HasPrivateCidr() bool

HasPrivateCidr returns a boolean if a field has been set.

func (ModelsAddVPC) MarshalJSON

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

func (*ModelsAddVPC) SetDescription

func (o *ModelsAddVPC) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ModelsAddVPC) SetIpv4Cidr

func (o *ModelsAddVPC) SetIpv4Cidr(v string)

SetIpv4Cidr gets a reference to the given string and assigns it to the Ipv4Cidr field.

func (*ModelsAddVPC) SetIpv6Cidr

func (o *ModelsAddVPC) SetIpv6Cidr(v string)

SetIpv6Cidr gets a reference to the given string and assigns it to the Ipv6Cidr field.

func (*ModelsAddVPC) SetOrganizationId

func (o *ModelsAddVPC) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ModelsAddVPC) SetPrivateCidr

func (o *ModelsAddVPC) SetPrivateCidr(v bool)

SetPrivateCidr gets a reference to the given bool and assigns it to the PrivateCidr field.

func (ModelsAddVPC) ToMap

func (o ModelsAddVPC) ToMap() (map[string]interface{}, error)

type ModelsBaseError

type ModelsBaseError struct {
	Error *string `json:"error,omitempty"`
}

ModelsBaseError struct for ModelsBaseError

func NewModelsBaseError

func NewModelsBaseError() *ModelsBaseError

NewModelsBaseError instantiates a new ModelsBaseError 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 NewModelsBaseErrorWithDefaults

func NewModelsBaseErrorWithDefaults() *ModelsBaseError

NewModelsBaseErrorWithDefaults instantiates a new ModelsBaseError 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 (*ModelsBaseError) GetError

func (o *ModelsBaseError) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ModelsBaseError) GetErrorOk

func (o *ModelsBaseError) GetErrorOk() (*string, bool)

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

func (*ModelsBaseError) HasError

func (o *ModelsBaseError) HasError() bool

HasError returns a boolean if a field has been set.

func (ModelsBaseError) MarshalJSON

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

func (*ModelsBaseError) SetError

func (o *ModelsBaseError) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (ModelsBaseError) ToMap

func (o ModelsBaseError) ToMap() (map[string]interface{}, error)

type ModelsCertificateSigningRequest

type ModelsCertificateSigningRequest struct {
	// Requested 'duration' (i.e. lifetime) of the Certificate. Note that the issuer may choose to ignore the requested duration, just like any other requested attribute. +optional
	Duration *string `json:"duration,omitempty"`
	// Requested basic constraints isCA value. Note that the issuer may choose to ignore the requested isCA value, just like any other requested attribute.  NOTE: If the CSR in the `Request` field has a BasicConstraints extension, it must have the same isCA value as specified here.  If true, this will automatically add the `cert sign` usage to the list of requested `usages`. +optional
	IsCa *bool `json:"is_ca,omitempty"`
	// The PEM-encoded X.509 certificate signing request to be submitted to the issuer for signing.  If the CSR has a BasicConstraints extension, its isCA attribute must match the `isCA` value of this CertificateRequest. If the CSR has a KeyUsage extension, its key usages must match the key usages in the `usages` field of this CertificateRequest. If the CSR has a ExtKeyUsage extension, its extended key usages must match the extended key usages in the `usages` field of this CertificateRequest.
	Request *string `json:"request,omitempty"`
	// Requested key usages and extended key usages.  NOTE: If the CSR in the `Request` field has uses the KeyUsage or ExtKeyUsage extension, these extensions must have the same values as specified here without any additional values.  If unset, defaults to `digital signature` and `key encipherment`. +optional
	Usages []ModelsKeyUsage `json:"usages,omitempty"`
}

ModelsCertificateSigningRequest struct for ModelsCertificateSigningRequest

func NewModelsCertificateSigningRequest

func NewModelsCertificateSigningRequest() *ModelsCertificateSigningRequest

NewModelsCertificateSigningRequest instantiates a new ModelsCertificateSigningRequest 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 NewModelsCertificateSigningRequestWithDefaults

func NewModelsCertificateSigningRequestWithDefaults() *ModelsCertificateSigningRequest

NewModelsCertificateSigningRequestWithDefaults instantiates a new ModelsCertificateSigningRequest 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 (*ModelsCertificateSigningRequest) GetDuration

func (o *ModelsCertificateSigningRequest) GetDuration() string

GetDuration returns the Duration field value if set, zero value otherwise.

func (*ModelsCertificateSigningRequest) GetDurationOk

func (o *ModelsCertificateSigningRequest) GetDurationOk() (*string, bool)

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

func (*ModelsCertificateSigningRequest) GetIsCa

GetIsCa returns the IsCa field value if set, zero value otherwise.

func (*ModelsCertificateSigningRequest) GetIsCaOk

func (o *ModelsCertificateSigningRequest) GetIsCaOk() (*bool, bool)

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

func (*ModelsCertificateSigningRequest) GetRequest

func (o *ModelsCertificateSigningRequest) GetRequest() string

GetRequest returns the Request field value if set, zero value otherwise.

func (*ModelsCertificateSigningRequest) GetRequestOk

func (o *ModelsCertificateSigningRequest) GetRequestOk() (*string, bool)

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

func (*ModelsCertificateSigningRequest) GetUsages

GetUsages returns the Usages field value if set, zero value otherwise.

func (*ModelsCertificateSigningRequest) GetUsagesOk

func (o *ModelsCertificateSigningRequest) GetUsagesOk() ([]ModelsKeyUsage, bool)

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

func (*ModelsCertificateSigningRequest) HasDuration

func (o *ModelsCertificateSigningRequest) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*ModelsCertificateSigningRequest) HasIsCa

HasIsCa returns a boolean if a field has been set.

func (*ModelsCertificateSigningRequest) HasRequest

func (o *ModelsCertificateSigningRequest) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*ModelsCertificateSigningRequest) HasUsages

func (o *ModelsCertificateSigningRequest) HasUsages() bool

HasUsages returns a boolean if a field has been set.

func (ModelsCertificateSigningRequest) MarshalJSON

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

func (*ModelsCertificateSigningRequest) SetDuration

func (o *ModelsCertificateSigningRequest) SetDuration(v string)

SetDuration gets a reference to the given string and assigns it to the Duration field.

func (*ModelsCertificateSigningRequest) SetIsCa

func (o *ModelsCertificateSigningRequest) SetIsCa(v bool)

SetIsCa gets a reference to the given bool and assigns it to the IsCa field.

func (*ModelsCertificateSigningRequest) SetRequest

func (o *ModelsCertificateSigningRequest) SetRequest(v string)

SetRequest gets a reference to the given string and assigns it to the Request field.

func (*ModelsCertificateSigningRequest) SetUsages

SetUsages gets a reference to the given []ModelsKeyUsage and assigns it to the Usages field.

func (ModelsCertificateSigningRequest) ToMap

func (o ModelsCertificateSigningRequest) ToMap() (map[string]interface{}, error)

type ModelsCertificateSigningResponse

type ModelsCertificateSigningResponse struct {
	// The PEM encoded X.509 certificate of the signer, also known as the CA (Certificate Authority). This is set on a best-effort basis by different issuers. If not set, the CA is assumed to be unknown/not available. +optional
	Ca *string `json:"ca,omitempty"`
	// The PEM encoded X.509 certificate resulting from the certificate signing request. If not set, the CertificateRequest has either not been completed or has failed. More information on failure can be found by checking the `conditions` field. +optional
	Certificate *string `json:"certificate,omitempty"`
}

ModelsCertificateSigningResponse struct for ModelsCertificateSigningResponse

func NewModelsCertificateSigningResponse

func NewModelsCertificateSigningResponse() *ModelsCertificateSigningResponse

NewModelsCertificateSigningResponse instantiates a new ModelsCertificateSigningResponse 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 NewModelsCertificateSigningResponseWithDefaults

func NewModelsCertificateSigningResponseWithDefaults() *ModelsCertificateSigningResponse

NewModelsCertificateSigningResponseWithDefaults instantiates a new ModelsCertificateSigningResponse 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 (*ModelsCertificateSigningResponse) GetCa

GetCa returns the Ca field value if set, zero value otherwise.

func (*ModelsCertificateSigningResponse) GetCaOk

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

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

func (*ModelsCertificateSigningResponse) GetCertificate

func (o *ModelsCertificateSigningResponse) GetCertificate() string

GetCertificate returns the Certificate field value if set, zero value otherwise.

func (*ModelsCertificateSigningResponse) GetCertificateOk

func (o *ModelsCertificateSigningResponse) GetCertificateOk() (*string, bool)

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

func (*ModelsCertificateSigningResponse) HasCa

HasCa returns a boolean if a field has been set.

func (*ModelsCertificateSigningResponse) HasCertificate

func (o *ModelsCertificateSigningResponse) HasCertificate() bool

HasCertificate returns a boolean if a field has been set.

func (ModelsCertificateSigningResponse) MarshalJSON

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

func (*ModelsCertificateSigningResponse) SetCa

SetCa gets a reference to the given string and assigns it to the Ca field.

func (*ModelsCertificateSigningResponse) SetCertificate

func (o *ModelsCertificateSigningResponse) SetCertificate(v string)

SetCertificate gets a reference to the given string and assigns it to the Certificate field.

func (ModelsCertificateSigningResponse) ToMap

func (o ModelsCertificateSigningResponse) ToMap() (map[string]interface{}, error)

type ModelsConflictsError

type ModelsConflictsError struct {
	Error *string `json:"error,omitempty"`
	Id    *string `json:"id,omitempty"`
}

ModelsConflictsError struct for ModelsConflictsError

func NewModelsConflictsError

func NewModelsConflictsError() *ModelsConflictsError

NewModelsConflictsError instantiates a new ModelsConflictsError 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 NewModelsConflictsErrorWithDefaults

func NewModelsConflictsErrorWithDefaults() *ModelsConflictsError

NewModelsConflictsErrorWithDefaults instantiates a new ModelsConflictsError 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 (*ModelsConflictsError) GetError

func (o *ModelsConflictsError) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ModelsConflictsError) GetErrorOk

func (o *ModelsConflictsError) GetErrorOk() (*string, bool)

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

func (*ModelsConflictsError) GetId

func (o *ModelsConflictsError) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ModelsConflictsError) GetIdOk

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

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

func (*ModelsConflictsError) HasError

func (o *ModelsConflictsError) HasError() bool

HasError returns a boolean if a field has been set.

func (*ModelsConflictsError) HasId

func (o *ModelsConflictsError) HasId() bool

HasId returns a boolean if a field has been set.

func (ModelsConflictsError) MarshalJSON

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

func (*ModelsConflictsError) SetError

func (o *ModelsConflictsError) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*ModelsConflictsError) SetId

func (o *ModelsConflictsError) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (ModelsConflictsError) ToMap

func (o ModelsConflictsError) ToMap() (map[string]interface{}, error)

type ModelsDevice

type ModelsDevice struct {
	AdvertiseCidrs []string `json:"advertise_cidrs,omitempty"`
	AllowedIps     []string `json:"allowed_ips,omitempty"`
	// the token nexd should use to reconcile device state.
	BearerToken     *string          `json:"bearer_token,omitempty"`
	Endpoints       []ModelsEndpoint `json:"endpoints,omitempty"`
	Hostname        *string          `json:"hostname,omitempty"`
	Id              *string          `json:"id,omitempty"`
	Ipv4TunnelIps   []ModelsTunnelIP `json:"ipv4_tunnel_ips,omitempty"`
	Ipv6TunnelIps   []ModelsTunnelIP `json:"ipv6_tunnel_ips,omitempty"`
	Online          *bool            `json:"online,omitempty"`
	OnlineAt        *string          `json:"online_at,omitempty"`
	Os              *string          `json:"os,omitempty"`
	OwnerId         *string          `json:"owner_id,omitempty"`
	PublicKey       *string          `json:"public_key,omitempty"`
	Relay           *bool            `json:"relay,omitempty"`
	Revision        *int32           `json:"revision,omitempty"`
	SecurityGroupId *string          `json:"security_group_id,omitempty"`
	SymmetricNat    *bool            `json:"symmetric_nat,omitempty"`
	VpcId           *string          `json:"vpc_id,omitempty"`
}

ModelsDevice struct for ModelsDevice

func NewModelsDevice

func NewModelsDevice() *ModelsDevice

NewModelsDevice instantiates a new ModelsDevice 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 NewModelsDeviceWithDefaults

func NewModelsDeviceWithDefaults() *ModelsDevice

NewModelsDeviceWithDefaults instantiates a new ModelsDevice 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 (*ModelsDevice) GetAdvertiseCidrs

func (o *ModelsDevice) GetAdvertiseCidrs() []string

GetAdvertiseCidrs returns the AdvertiseCidrs field value if set, zero value otherwise.

func (*ModelsDevice) GetAdvertiseCidrsOk

func (o *ModelsDevice) GetAdvertiseCidrsOk() ([]string, bool)

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

func (*ModelsDevice) GetAllowedIps

func (o *ModelsDevice) GetAllowedIps() []string

GetAllowedIps returns the AllowedIps field value if set, zero value otherwise.

func (*ModelsDevice) GetAllowedIpsOk

func (o *ModelsDevice) GetAllowedIpsOk() ([]string, bool)

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

func (*ModelsDevice) GetBearerToken

func (o *ModelsDevice) GetBearerToken() string

GetBearerToken returns the BearerToken field value if set, zero value otherwise.

func (*ModelsDevice) GetBearerTokenOk

func (o *ModelsDevice) GetBearerTokenOk() (*string, bool)

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

func (*ModelsDevice) GetEndpoints

func (o *ModelsDevice) GetEndpoints() []ModelsEndpoint

GetEndpoints returns the Endpoints field value if set, zero value otherwise.

func (*ModelsDevice) GetEndpointsOk

func (o *ModelsDevice) GetEndpointsOk() ([]ModelsEndpoint, bool)

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

func (*ModelsDevice) GetHostname

func (o *ModelsDevice) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*ModelsDevice) GetHostnameOk

func (o *ModelsDevice) GetHostnameOk() (*string, bool)

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

func (*ModelsDevice) GetId

func (o *ModelsDevice) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ModelsDevice) GetIdOk

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

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

func (*ModelsDevice) GetIpv4TunnelIps

func (o *ModelsDevice) GetIpv4TunnelIps() []ModelsTunnelIP

GetIpv4TunnelIps returns the Ipv4TunnelIps field value if set, zero value otherwise.

func (*ModelsDevice) GetIpv4TunnelIpsOk

func (o *ModelsDevice) GetIpv4TunnelIpsOk() ([]ModelsTunnelIP, bool)

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

func (*ModelsDevice) GetIpv6TunnelIps

func (o *ModelsDevice) GetIpv6TunnelIps() []ModelsTunnelIP

GetIpv6TunnelIps returns the Ipv6TunnelIps field value if set, zero value otherwise.

func (*ModelsDevice) GetIpv6TunnelIpsOk

func (o *ModelsDevice) GetIpv6TunnelIpsOk() ([]ModelsTunnelIP, bool)

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

func (*ModelsDevice) GetOnline

func (o *ModelsDevice) GetOnline() bool

GetOnline returns the Online field value if set, zero value otherwise.

func (*ModelsDevice) GetOnlineAt

func (o *ModelsDevice) GetOnlineAt() string

GetOnlineAt returns the OnlineAt field value if set, zero value otherwise.

func (*ModelsDevice) GetOnlineAtOk

func (o *ModelsDevice) GetOnlineAtOk() (*string, bool)

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

func (*ModelsDevice) GetOnlineOk

func (o *ModelsDevice) GetOnlineOk() (*bool, bool)

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

func (*ModelsDevice) GetOs

func (o *ModelsDevice) GetOs() string

GetOs returns the Os field value if set, zero value otherwise.

func (*ModelsDevice) GetOsOk

func (o *ModelsDevice) GetOsOk() (*string, bool)

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

func (*ModelsDevice) GetOwnerId

func (o *ModelsDevice) GetOwnerId() string

GetOwnerId returns the OwnerId field value if set, zero value otherwise.

func (*ModelsDevice) GetOwnerIdOk

func (o *ModelsDevice) GetOwnerIdOk() (*string, bool)

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

func (*ModelsDevice) GetPublicKey

func (o *ModelsDevice) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*ModelsDevice) GetPublicKeyOk

func (o *ModelsDevice) GetPublicKeyOk() (*string, bool)

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

func (*ModelsDevice) GetRelay

func (o *ModelsDevice) GetRelay() bool

GetRelay returns the Relay field value if set, zero value otherwise.

func (*ModelsDevice) GetRelayOk

func (o *ModelsDevice) GetRelayOk() (*bool, bool)

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

func (*ModelsDevice) GetRevision

func (o *ModelsDevice) GetRevision() int32

GetRevision returns the Revision field value if set, zero value otherwise.

func (*ModelsDevice) GetRevisionOk

func (o *ModelsDevice) GetRevisionOk() (*int32, bool)

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

func (*ModelsDevice) GetSecurityGroupId

func (o *ModelsDevice) GetSecurityGroupId() string

GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.

func (*ModelsDevice) GetSecurityGroupIdOk

func (o *ModelsDevice) GetSecurityGroupIdOk() (*string, bool)

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

func (*ModelsDevice) GetSymmetricNat

func (o *ModelsDevice) GetSymmetricNat() bool

GetSymmetricNat returns the SymmetricNat field value if set, zero value otherwise.

func (*ModelsDevice) GetSymmetricNatOk

func (o *ModelsDevice) GetSymmetricNatOk() (*bool, bool)

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

func (*ModelsDevice) GetVpcId

func (o *ModelsDevice) GetVpcId() string

GetVpcId returns the VpcId field value if set, zero value otherwise.

func (*ModelsDevice) GetVpcIdOk

func (o *ModelsDevice) GetVpcIdOk() (*string, bool)

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

func (*ModelsDevice) HasAdvertiseCidrs

func (o *ModelsDevice) HasAdvertiseCidrs() bool

HasAdvertiseCidrs returns a boolean if a field has been set.

func (*ModelsDevice) HasAllowedIps

func (o *ModelsDevice) HasAllowedIps() bool

HasAllowedIps returns a boolean if a field has been set.

func (*ModelsDevice) HasBearerToken

func (o *ModelsDevice) HasBearerToken() bool

HasBearerToken returns a boolean if a field has been set.

func (*ModelsDevice) HasEndpoints

func (o *ModelsDevice) HasEndpoints() bool

HasEndpoints returns a boolean if a field has been set.

func (*ModelsDevice) HasHostname

func (o *ModelsDevice) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*ModelsDevice) HasId

func (o *ModelsDevice) HasId() bool

HasId returns a boolean if a field has been set.

func (*ModelsDevice) HasIpv4TunnelIps

func (o *ModelsDevice) HasIpv4TunnelIps() bool

HasIpv4TunnelIps returns a boolean if a field has been set.

func (*ModelsDevice) HasIpv6TunnelIps

func (o *ModelsDevice) HasIpv6TunnelIps() bool

HasIpv6TunnelIps returns a boolean if a field has been set.

func (*ModelsDevice) HasOnline

func (o *ModelsDevice) HasOnline() bool

HasOnline returns a boolean if a field has been set.

func (*ModelsDevice) HasOnlineAt

func (o *ModelsDevice) HasOnlineAt() bool

HasOnlineAt returns a boolean if a field has been set.

func (*ModelsDevice) HasOs

func (o *ModelsDevice) HasOs() bool

HasOs returns a boolean if a field has been set.

func (*ModelsDevice) HasOwnerId

func (o *ModelsDevice) HasOwnerId() bool

HasOwnerId returns a boolean if a field has been set.

func (*ModelsDevice) HasPublicKey

func (o *ModelsDevice) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (*ModelsDevice) HasRelay

func (o *ModelsDevice) HasRelay() bool

HasRelay returns a boolean if a field has been set.

func (*ModelsDevice) HasRevision

func (o *ModelsDevice) HasRevision() bool

HasRevision returns a boolean if a field has been set.

func (*ModelsDevice) HasSecurityGroupId

func (o *ModelsDevice) HasSecurityGroupId() bool

HasSecurityGroupId returns a boolean if a field has been set.

func (*ModelsDevice) HasSymmetricNat

func (o *ModelsDevice) HasSymmetricNat() bool

HasSymmetricNat returns a boolean if a field has been set.

func (*ModelsDevice) HasVpcId

func (o *ModelsDevice) HasVpcId() bool

HasVpcId returns a boolean if a field has been set.

func (ModelsDevice) MarshalJSON

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

func (*ModelsDevice) SetAdvertiseCidrs

func (o *ModelsDevice) SetAdvertiseCidrs(v []string)

SetAdvertiseCidrs gets a reference to the given []string and assigns it to the AdvertiseCidrs field.

func (*ModelsDevice) SetAllowedIps

func (o *ModelsDevice) SetAllowedIps(v []string)

SetAllowedIps gets a reference to the given []string and assigns it to the AllowedIps field.

func (*ModelsDevice) SetBearerToken

func (o *ModelsDevice) SetBearerToken(v string)

SetBearerToken gets a reference to the given string and assigns it to the BearerToken field.

func (*ModelsDevice) SetEndpoints

func (o *ModelsDevice) SetEndpoints(v []ModelsEndpoint)

SetEndpoints gets a reference to the given []ModelsEndpoint and assigns it to the Endpoints field.

func (*ModelsDevice) SetHostname

func (o *ModelsDevice) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*ModelsDevice) SetId

func (o *ModelsDevice) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ModelsDevice) SetIpv4TunnelIps

func (o *ModelsDevice) SetIpv4TunnelIps(v []ModelsTunnelIP)

SetIpv4TunnelIps gets a reference to the given []ModelsTunnelIP and assigns it to the Ipv4TunnelIps field.

func (*ModelsDevice) SetIpv6TunnelIps

func (o *ModelsDevice) SetIpv6TunnelIps(v []ModelsTunnelIP)

SetIpv6TunnelIps gets a reference to the given []ModelsTunnelIP and assigns it to the Ipv6TunnelIps field.

func (*ModelsDevice) SetOnline

func (o *ModelsDevice) SetOnline(v bool)

SetOnline gets a reference to the given bool and assigns it to the Online field.

func (*ModelsDevice) SetOnlineAt

func (o *ModelsDevice) SetOnlineAt(v string)

SetOnlineAt gets a reference to the given string and assigns it to the OnlineAt field.

func (*ModelsDevice) SetOs

func (o *ModelsDevice) SetOs(v string)

SetOs gets a reference to the given string and assigns it to the Os field.

func (*ModelsDevice) SetOwnerId

func (o *ModelsDevice) SetOwnerId(v string)

SetOwnerId gets a reference to the given string and assigns it to the OwnerId field.

func (*ModelsDevice) SetPublicKey

func (o *ModelsDevice) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (*ModelsDevice) SetRelay

func (o *ModelsDevice) SetRelay(v bool)

SetRelay gets a reference to the given bool and assigns it to the Relay field.

func (*ModelsDevice) SetRevision

func (o *ModelsDevice) SetRevision(v int32)

SetRevision gets a reference to the given int32 and assigns it to the Revision field.

func (*ModelsDevice) SetSecurityGroupId

func (o *ModelsDevice) SetSecurityGroupId(v string)

SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.

func (*ModelsDevice) SetSymmetricNat

func (o *ModelsDevice) SetSymmetricNat(v bool)

SetSymmetricNat gets a reference to the given bool and assigns it to the SymmetricNat field.

func (*ModelsDevice) SetVpcId

func (o *ModelsDevice) SetVpcId(v string)

SetVpcId gets a reference to the given string and assigns it to the VpcId field.

func (ModelsDevice) ToMap

func (o ModelsDevice) ToMap() (map[string]interface{}, error)

type ModelsDeviceMetadata

type ModelsDeviceMetadata struct {
	DeviceId *string                `json:"device_id,omitempty"`
	Key      *string                `json:"key,omitempty"`
	Revision *int32                 `json:"revision,omitempty"`
	Value    map[string]interface{} `json:"value,omitempty"`
}

ModelsDeviceMetadata struct for ModelsDeviceMetadata

func NewModelsDeviceMetadata

func NewModelsDeviceMetadata() *ModelsDeviceMetadata

NewModelsDeviceMetadata instantiates a new ModelsDeviceMetadata 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 NewModelsDeviceMetadataWithDefaults

func NewModelsDeviceMetadataWithDefaults() *ModelsDeviceMetadata

NewModelsDeviceMetadataWithDefaults instantiates a new ModelsDeviceMetadata 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 (*ModelsDeviceMetadata) GetDeviceId

func (o *ModelsDeviceMetadata) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*ModelsDeviceMetadata) GetDeviceIdOk

func (o *ModelsDeviceMetadata) GetDeviceIdOk() (*string, bool)

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

func (*ModelsDeviceMetadata) GetKey

func (o *ModelsDeviceMetadata) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*ModelsDeviceMetadata) GetKeyOk

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

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

func (*ModelsDeviceMetadata) GetRevision

func (o *ModelsDeviceMetadata) GetRevision() int32

GetRevision returns the Revision field value if set, zero value otherwise.

func (*ModelsDeviceMetadata) GetRevisionOk

func (o *ModelsDeviceMetadata) GetRevisionOk() (*int32, bool)

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

func (*ModelsDeviceMetadata) GetValue

func (o *ModelsDeviceMetadata) GetValue() map[string]interface{}

GetValue returns the Value field value if set, zero value otherwise.

func (*ModelsDeviceMetadata) GetValueOk

func (o *ModelsDeviceMetadata) GetValueOk() (map[string]interface{}, bool)

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

func (*ModelsDeviceMetadata) HasDeviceId

func (o *ModelsDeviceMetadata) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*ModelsDeviceMetadata) HasKey

func (o *ModelsDeviceMetadata) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*ModelsDeviceMetadata) HasRevision

func (o *ModelsDeviceMetadata) HasRevision() bool

HasRevision returns a boolean if a field has been set.

func (*ModelsDeviceMetadata) HasValue

func (o *ModelsDeviceMetadata) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ModelsDeviceMetadata) MarshalJSON

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

func (*ModelsDeviceMetadata) SetDeviceId

func (o *ModelsDeviceMetadata) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*ModelsDeviceMetadata) SetKey

func (o *ModelsDeviceMetadata) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*ModelsDeviceMetadata) SetRevision

func (o *ModelsDeviceMetadata) SetRevision(v int32)

SetRevision gets a reference to the given int32 and assigns it to the Revision field.

func (*ModelsDeviceMetadata) SetValue

func (o *ModelsDeviceMetadata) SetValue(v map[string]interface{})

SetValue gets a reference to the given map[string]interface{} and assigns it to the Value field.

func (ModelsDeviceMetadata) ToMap

func (o ModelsDeviceMetadata) ToMap() (map[string]interface{}, error)

type ModelsDeviceMetadataAdaptor

type ModelsDeviceMetadataAdaptor struct{}

func (ModelsDeviceMetadataAdaptor) Item

func (d ModelsDeviceMetadataAdaptor) Item(value map[string]interface{}) (ModelsDeviceMetadata, error)

func (ModelsDeviceMetadataAdaptor) Key

func (ModelsDeviceMetadataAdaptor) Kind

func (ModelsDeviceMetadataAdaptor) Revision

type ModelsDeviceStartResponse

type ModelsDeviceStartResponse struct {
	ClientId *string `json:"client_id,omitempty"`
	// TODO: Remove this once golang/oauth2 supports device flow and when coreos/go-oidc adds device_authorization_endpoint discovery
	DeviceAuthorizationEndpoint *string `json:"device_authorization_endpoint,omitempty"`
	Issuer                      *string `json:"issuer,omitempty"`
	// the current time on the server, can be used by a client to get an idea of what the time skew is in relation to the server.
	ServerTime *time.Time `json:"server_time,omitempty"`
}

ModelsDeviceStartResponse struct for ModelsDeviceStartResponse

func NewModelsDeviceStartResponse

func NewModelsDeviceStartResponse() *ModelsDeviceStartResponse

NewModelsDeviceStartResponse instantiates a new ModelsDeviceStartResponse 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 NewModelsDeviceStartResponseWithDefaults

func NewModelsDeviceStartResponseWithDefaults() *ModelsDeviceStartResponse

NewModelsDeviceStartResponseWithDefaults instantiates a new ModelsDeviceStartResponse 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 (*ModelsDeviceStartResponse) GetClientId

func (o *ModelsDeviceStartResponse) GetClientId() string

GetClientId returns the ClientId field value if set, zero value otherwise.

func (*ModelsDeviceStartResponse) GetClientIdOk

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

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

func (*ModelsDeviceStartResponse) GetDeviceAuthorizationEndpoint

func (o *ModelsDeviceStartResponse) GetDeviceAuthorizationEndpoint() string

GetDeviceAuthorizationEndpoint returns the DeviceAuthorizationEndpoint field value if set, zero value otherwise.

func (*ModelsDeviceStartResponse) GetDeviceAuthorizationEndpointOk

func (o *ModelsDeviceStartResponse) GetDeviceAuthorizationEndpointOk() (*string, bool)

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

func (*ModelsDeviceStartResponse) GetIssuer

func (o *ModelsDeviceStartResponse) GetIssuer() string

GetIssuer returns the Issuer field value if set, zero value otherwise.

func (*ModelsDeviceStartResponse) GetIssuerOk

func (o *ModelsDeviceStartResponse) GetIssuerOk() (*string, bool)

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

func (*ModelsDeviceStartResponse) GetServerTime

func (o *ModelsDeviceStartResponse) GetServerTime() time.Time

GetServerTime returns the ServerTime field value if set, zero value otherwise.

func (*ModelsDeviceStartResponse) GetServerTimeOk

func (o *ModelsDeviceStartResponse) GetServerTimeOk() (*time.Time, bool)

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

func (*ModelsDeviceStartResponse) HasClientId

func (o *ModelsDeviceStartResponse) HasClientId() bool

HasClientId returns a boolean if a field has been set.

func (*ModelsDeviceStartResponse) HasDeviceAuthorizationEndpoint

func (o *ModelsDeviceStartResponse) HasDeviceAuthorizationEndpoint() bool

HasDeviceAuthorizationEndpoint returns a boolean if a field has been set.

func (*ModelsDeviceStartResponse) HasIssuer

func (o *ModelsDeviceStartResponse) HasIssuer() bool

HasIssuer returns a boolean if a field has been set.

func (*ModelsDeviceStartResponse) HasServerTime

func (o *ModelsDeviceStartResponse) HasServerTime() bool

HasServerTime returns a boolean if a field has been set.

func (ModelsDeviceStartResponse) MarshalJSON

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

func (*ModelsDeviceStartResponse) SetClientId

func (o *ModelsDeviceStartResponse) SetClientId(v string)

SetClientId gets a reference to the given string and assigns it to the ClientId field.

func (*ModelsDeviceStartResponse) SetDeviceAuthorizationEndpoint

func (o *ModelsDeviceStartResponse) SetDeviceAuthorizationEndpoint(v string)

SetDeviceAuthorizationEndpoint gets a reference to the given string and assigns it to the DeviceAuthorizationEndpoint field.

func (*ModelsDeviceStartResponse) SetIssuer

func (o *ModelsDeviceStartResponse) SetIssuer(v string)

SetIssuer gets a reference to the given string and assigns it to the Issuer field.

func (*ModelsDeviceStartResponse) SetServerTime

func (o *ModelsDeviceStartResponse) SetServerTime(v time.Time)

SetServerTime gets a reference to the given time.Time and assigns it to the ServerTime field.

func (ModelsDeviceStartResponse) ToMap

func (o ModelsDeviceStartResponse) ToMap() (map[string]interface{}, error)

type ModelsEndpoint

type ModelsEndpoint struct {
	// IP address and port of the endpoint.
	Address *string `json:"address,omitempty"`
	// How the endpoint was discovered
	Source *string `json:"source,omitempty"`
}

ModelsEndpoint struct for ModelsEndpoint

func NewModelsEndpoint

func NewModelsEndpoint() *ModelsEndpoint

NewModelsEndpoint instantiates a new ModelsEndpoint 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 NewModelsEndpointWithDefaults

func NewModelsEndpointWithDefaults() *ModelsEndpoint

NewModelsEndpointWithDefaults instantiates a new ModelsEndpoint 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 (*ModelsEndpoint) GetAddress

func (o *ModelsEndpoint) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*ModelsEndpoint) GetAddressOk

func (o *ModelsEndpoint) GetAddressOk() (*string, bool)

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

func (*ModelsEndpoint) GetSource

func (o *ModelsEndpoint) GetSource() string

GetSource returns the Source field value if set, zero value otherwise.

func (*ModelsEndpoint) GetSourceOk

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

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

func (*ModelsEndpoint) HasAddress

func (o *ModelsEndpoint) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*ModelsEndpoint) HasSource

func (o *ModelsEndpoint) HasSource() bool

HasSource returns a boolean if a field has been set.

func (ModelsEndpoint) MarshalJSON

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

func (*ModelsEndpoint) SetAddress

func (o *ModelsEndpoint) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*ModelsEndpoint) SetSource

func (o *ModelsEndpoint) SetSource(v string)

SetSource gets a reference to the given string and assigns it to the Source field.

func (ModelsEndpoint) ToMap

func (o ModelsEndpoint) ToMap() (map[string]interface{}, error)

type ModelsInternalServerError

type ModelsInternalServerError struct {
	Error   *string `json:"error,omitempty"`
	TraceId *string `json:"trace_id,omitempty"`
}

ModelsInternalServerError struct for ModelsInternalServerError

func NewModelsInternalServerError

func NewModelsInternalServerError() *ModelsInternalServerError

NewModelsInternalServerError instantiates a new ModelsInternalServerError 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 NewModelsInternalServerErrorWithDefaults

func NewModelsInternalServerErrorWithDefaults() *ModelsInternalServerError

NewModelsInternalServerErrorWithDefaults instantiates a new ModelsInternalServerError 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 (*ModelsInternalServerError) GetError

func (o *ModelsInternalServerError) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ModelsInternalServerError) GetErrorOk

func (o *ModelsInternalServerError) GetErrorOk() (*string, bool)

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

func (*ModelsInternalServerError) GetTraceId

func (o *ModelsInternalServerError) GetTraceId() string

GetTraceId returns the TraceId field value if set, zero value otherwise.

func (*ModelsInternalServerError) GetTraceIdOk

func (o *ModelsInternalServerError) GetTraceIdOk() (*string, bool)

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

func (*ModelsInternalServerError) HasError

func (o *ModelsInternalServerError) HasError() bool

HasError returns a boolean if a field has been set.

func (*ModelsInternalServerError) HasTraceId

func (o *ModelsInternalServerError) HasTraceId() bool

HasTraceId returns a boolean if a field has been set.

func (ModelsInternalServerError) MarshalJSON

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

func (*ModelsInternalServerError) SetError

func (o *ModelsInternalServerError) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*ModelsInternalServerError) SetTraceId

func (o *ModelsInternalServerError) SetTraceId(v string)

SetTraceId gets a reference to the given string and assigns it to the TraceId field.

func (ModelsInternalServerError) ToMap

func (o ModelsInternalServerError) ToMap() (map[string]interface{}, error)

type ModelsInvitation

type ModelsInvitation struct {
	// The email address to invite
	Email          *string             `json:"email,omitempty"`
	ExpiresAt      *string             `json:"expires_at,omitempty"`
	From           *ModelsUser         `json:"from,omitempty"`
	Id             *string             `json:"id,omitempty"`
	Organization   *ModelsOrganization `json:"organization,omitempty"`
	OrganizationId *string             `json:"organization_id,omitempty"`
	Roles          []string            `json:"roles,omitempty"`
	UserId         *string             `json:"user_id,omitempty"`
}

ModelsInvitation struct for ModelsInvitation

func NewModelsInvitation

func NewModelsInvitation() *ModelsInvitation

NewModelsInvitation instantiates a new ModelsInvitation 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 NewModelsInvitationWithDefaults

func NewModelsInvitationWithDefaults() *ModelsInvitation

NewModelsInvitationWithDefaults instantiates a new ModelsInvitation 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 (*ModelsInvitation) GetEmail

func (o *ModelsInvitation) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*ModelsInvitation) GetEmailOk

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

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

func (*ModelsInvitation) GetExpiresAt

func (o *ModelsInvitation) GetExpiresAt() string

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*ModelsInvitation) GetExpiresAtOk

func (o *ModelsInvitation) GetExpiresAtOk() (*string, bool)

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

func (*ModelsInvitation) GetFrom

func (o *ModelsInvitation) GetFrom() ModelsUser

GetFrom returns the From field value if set, zero value otherwise.

func (*ModelsInvitation) GetFromOk

func (o *ModelsInvitation) GetFromOk() (*ModelsUser, bool)

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

func (*ModelsInvitation) GetId

func (o *ModelsInvitation) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ModelsInvitation) GetIdOk

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

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

func (*ModelsInvitation) GetOrganization

func (o *ModelsInvitation) GetOrganization() ModelsOrganization

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*ModelsInvitation) GetOrganizationId

func (o *ModelsInvitation) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ModelsInvitation) GetOrganizationIdOk

func (o *ModelsInvitation) GetOrganizationIdOk() (*string, bool)

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

func (*ModelsInvitation) GetOrganizationOk

func (o *ModelsInvitation) GetOrganizationOk() (*ModelsOrganization, bool)

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

func (*ModelsInvitation) GetRoles

func (o *ModelsInvitation) GetRoles() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*ModelsInvitation) GetRolesOk

func (o *ModelsInvitation) GetRolesOk() ([]string, bool)

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

func (*ModelsInvitation) GetUserId

func (o *ModelsInvitation) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*ModelsInvitation) GetUserIdOk

func (o *ModelsInvitation) GetUserIdOk() (*string, bool)

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

func (*ModelsInvitation) HasEmail

func (o *ModelsInvitation) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*ModelsInvitation) HasExpiresAt

func (o *ModelsInvitation) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*ModelsInvitation) HasFrom

func (o *ModelsInvitation) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*ModelsInvitation) HasId

func (o *ModelsInvitation) HasId() bool

HasId returns a boolean if a field has been set.

func (*ModelsInvitation) HasOrganization

func (o *ModelsInvitation) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*ModelsInvitation) HasOrganizationId

func (o *ModelsInvitation) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ModelsInvitation) HasRoles

func (o *ModelsInvitation) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*ModelsInvitation) HasUserId

func (o *ModelsInvitation) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (ModelsInvitation) MarshalJSON

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

func (*ModelsInvitation) SetEmail

func (o *ModelsInvitation) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*ModelsInvitation) SetExpiresAt

func (o *ModelsInvitation) SetExpiresAt(v string)

SetExpiresAt gets a reference to the given string and assigns it to the ExpiresAt field.

func (*ModelsInvitation) SetFrom

func (o *ModelsInvitation) SetFrom(v ModelsUser)

SetFrom gets a reference to the given ModelsUser and assigns it to the From field.

func (*ModelsInvitation) SetId

func (o *ModelsInvitation) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ModelsInvitation) SetOrganization

func (o *ModelsInvitation) SetOrganization(v ModelsOrganization)

SetOrganization gets a reference to the given ModelsOrganization and assigns it to the Organization field.

func (*ModelsInvitation) SetOrganizationId

func (o *ModelsInvitation) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ModelsInvitation) SetRoles

func (o *ModelsInvitation) SetRoles(v []string)

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (*ModelsInvitation) SetUserId

func (o *ModelsInvitation) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

func (ModelsInvitation) ToMap

func (o ModelsInvitation) ToMap() (map[string]interface{}, error)

type ModelsKeyUsage

type ModelsKeyUsage string

ModelsKeyUsage the model 'ModelsKeyUsage'

const (
	UsageSigning           ModelsKeyUsage = "signing"
	UsageDigitalSignature  ModelsKeyUsage = "digital signature"
	UsageContentCommitment ModelsKeyUsage = "content commitment"
	UsageKeyEncipherment   ModelsKeyUsage = "key encipherment"
	UsageKeyAgreement      ModelsKeyUsage = "key agreement"
	UsageDataEncipherment  ModelsKeyUsage = "data encipherment"
	UsageCertSign          ModelsKeyUsage = "cert sign"
	UsageCRLSign           ModelsKeyUsage = "crl sign"
	UsageEncipherOnly      ModelsKeyUsage = "encipher only"
	UsageDecipherOnly      ModelsKeyUsage = "decipher only"
	UsageAny               ModelsKeyUsage = "any"
	UsageServerAuth        ModelsKeyUsage = "server auth"
	UsageClientAuth        ModelsKeyUsage = "client auth"
	UsageCodeSigning       ModelsKeyUsage = "code signing"
	UsageEmailProtection   ModelsKeyUsage = "email protection"
	UsageSMIME             ModelsKeyUsage = "s/mime"
	UsageIPsecEndSystem    ModelsKeyUsage = "ipsec end system"
	UsageIPsecTunnel       ModelsKeyUsage = "ipsec tunnel"
	UsageIPsecUser         ModelsKeyUsage = "ipsec user"
	UsageTimestamping      ModelsKeyUsage = "timestamping"
	UsageOCSPSigning       ModelsKeyUsage = "ocsp signing"
	UsageMicrosoftSGC      ModelsKeyUsage = "microsoft sgc"
	UsageNetscapeSGC       ModelsKeyUsage = "netscape sgc"
)

List of models.KeyUsage

func NewModelsKeyUsageFromValue

func NewModelsKeyUsageFromValue(v string) (*ModelsKeyUsage, error)

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

func (ModelsKeyUsage) IsValid

func (v ModelsKeyUsage) IsValid() bool

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

func (ModelsKeyUsage) Ptr

func (v ModelsKeyUsage) Ptr() *ModelsKeyUsage

Ptr returns reference to models.KeyUsage value

func (*ModelsKeyUsage) UnmarshalJSON

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

type ModelsNotAllowedError

type ModelsNotAllowedError struct {
	Error  *string `json:"error,omitempty"`
	Reason *string `json:"reason,omitempty"`
}

ModelsNotAllowedError struct for ModelsNotAllowedError

func NewModelsNotAllowedError

func NewModelsNotAllowedError() *ModelsNotAllowedError

NewModelsNotAllowedError instantiates a new ModelsNotAllowedError 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 NewModelsNotAllowedErrorWithDefaults

func NewModelsNotAllowedErrorWithDefaults() *ModelsNotAllowedError

NewModelsNotAllowedErrorWithDefaults instantiates a new ModelsNotAllowedError 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 (*ModelsNotAllowedError) GetError

func (o *ModelsNotAllowedError) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ModelsNotAllowedError) GetErrorOk

func (o *ModelsNotAllowedError) GetErrorOk() (*string, bool)

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

func (*ModelsNotAllowedError) GetReason

func (o *ModelsNotAllowedError) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*ModelsNotAllowedError) GetReasonOk

func (o *ModelsNotAllowedError) GetReasonOk() (*string, bool)

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

func (*ModelsNotAllowedError) HasError

func (o *ModelsNotAllowedError) HasError() bool

HasError returns a boolean if a field has been set.

func (*ModelsNotAllowedError) HasReason

func (o *ModelsNotAllowedError) HasReason() bool

HasReason returns a boolean if a field has been set.

func (ModelsNotAllowedError) MarshalJSON

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

func (*ModelsNotAllowedError) SetError

func (o *ModelsNotAllowedError) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*ModelsNotAllowedError) SetReason

func (o *ModelsNotAllowedError) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (ModelsNotAllowedError) ToMap

func (o ModelsNotAllowedError) ToMap() (map[string]interface{}, error)

type ModelsOrganization

type ModelsOrganization struct {
	Description *string `json:"description,omitempty"`
	Id          *string `json:"id,omitempty"`
	Name        *string `json:"name,omitempty"`
}

ModelsOrganization struct for ModelsOrganization

func NewModelsOrganization

func NewModelsOrganization() *ModelsOrganization

NewModelsOrganization instantiates a new ModelsOrganization 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 NewModelsOrganizationWithDefaults

func NewModelsOrganizationWithDefaults() *ModelsOrganization

NewModelsOrganizationWithDefaults instantiates a new ModelsOrganization 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 (*ModelsOrganization) GetDescription

func (o *ModelsOrganization) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ModelsOrganization) GetDescriptionOk

func (o *ModelsOrganization) GetDescriptionOk() (*string, bool)

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

func (*ModelsOrganization) GetId

func (o *ModelsOrganization) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ModelsOrganization) GetIdOk

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

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

func (*ModelsOrganization) GetName

func (o *ModelsOrganization) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ModelsOrganization) GetNameOk

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

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

func (*ModelsOrganization) HasDescription

func (o *ModelsOrganization) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ModelsOrganization) HasId

func (o *ModelsOrganization) HasId() bool

HasId returns a boolean if a field has been set.

func (*ModelsOrganization) HasName

func (o *ModelsOrganization) HasName() bool

HasName returns a boolean if a field has been set.

func (ModelsOrganization) MarshalJSON

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

func (*ModelsOrganization) SetDescription

func (o *ModelsOrganization) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ModelsOrganization) SetId

func (o *ModelsOrganization) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ModelsOrganization) SetName

func (o *ModelsOrganization) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (ModelsOrganization) ToMap

func (o ModelsOrganization) ToMap() (map[string]interface{}, error)

type ModelsRegKey

type ModelsRegKey struct {
	// BearerToken is the bearer token the client should use to authenticate the device registration request.
	BearerToken *string `json:"bearer_token,omitempty"`
	// Description of the registration key.
	Description *string `json:"description,omitempty"`
	// DeviceId is set if the RegKey was created for single use
	DeviceId *string `json:"device_id,omitempty"`
	// ExpiresAt is optional, if set the registration key is only valid until the ExpiresAt time.
	ExpiresAt *string `json:"expires_at,omitempty"`
	Id        *string `json:"id,omitempty"`
	// OwnerID is the ID of the user that created the registration key.
	OwnerId *string `json:"owner_id,omitempty"`
	// SecurityGroupId is the ID of the security group to assign to the device.
	SecurityGroupId *string `json:"security_group_id,omitempty"`
	// ServiceNetworkID is the ID of the Service Network the device can join.
	ServiceNetworkId *string `json:"service_network_id,omitempty"`
	// Settings contains general settings for the device.
	Settings map[string]interface{} `json:"settings,omitempty"`
	// VpcID is the ID of the VPC the device can join.
	VpcId *string `json:"vpc_id,omitempty"`
}

ModelsRegKey struct for ModelsRegKey

func NewModelsRegKey

func NewModelsRegKey() *ModelsRegKey

NewModelsRegKey instantiates a new ModelsRegKey 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 NewModelsRegKeyWithDefaults

func NewModelsRegKeyWithDefaults() *ModelsRegKey

NewModelsRegKeyWithDefaults instantiates a new ModelsRegKey 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 (*ModelsRegKey) GetBearerToken

func (o *ModelsRegKey) GetBearerToken() string

GetBearerToken returns the BearerToken field value if set, zero value otherwise.

func (*ModelsRegKey) GetBearerTokenOk

func (o *ModelsRegKey) GetBearerTokenOk() (*string, bool)

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

func (*ModelsRegKey) GetDescription

func (o *ModelsRegKey) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ModelsRegKey) GetDescriptionOk

func (o *ModelsRegKey) GetDescriptionOk() (*string, bool)

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

func (*ModelsRegKey) GetDeviceId

func (o *ModelsRegKey) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*ModelsRegKey) GetDeviceIdOk

func (o *ModelsRegKey) GetDeviceIdOk() (*string, bool)

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

func (*ModelsRegKey) GetExpiresAt

func (o *ModelsRegKey) GetExpiresAt() string

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*ModelsRegKey) GetExpiresAtOk

func (o *ModelsRegKey) GetExpiresAtOk() (*string, bool)

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

func (*ModelsRegKey) GetId

func (o *ModelsRegKey) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ModelsRegKey) GetIdOk

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

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

func (*ModelsRegKey) GetOwnerId

func (o *ModelsRegKey) GetOwnerId() string

GetOwnerId returns the OwnerId field value if set, zero value otherwise.

func (*ModelsRegKey) GetOwnerIdOk

func (o *ModelsRegKey) GetOwnerIdOk() (*string, bool)

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

func (*ModelsRegKey) GetSecurityGroupId

func (o *ModelsRegKey) GetSecurityGroupId() string

GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.

func (*ModelsRegKey) GetSecurityGroupIdOk

func (o *ModelsRegKey) GetSecurityGroupIdOk() (*string, bool)

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

func (*ModelsRegKey) GetServiceNetworkId

func (o *ModelsRegKey) GetServiceNetworkId() string

GetServiceNetworkId returns the ServiceNetworkId field value if set, zero value otherwise.

func (*ModelsRegKey) GetServiceNetworkIdOk

func (o *ModelsRegKey) GetServiceNetworkIdOk() (*string, bool)

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

func (*ModelsRegKey) GetSettings

func (o *ModelsRegKey) GetSettings() map[string]interface{}

GetSettings returns the Settings field value if set, zero value otherwise.

func (*ModelsRegKey) GetSettingsOk

func (o *ModelsRegKey) GetSettingsOk() (map[string]interface{}, bool)

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

func (*ModelsRegKey) GetVpcId

func (o *ModelsRegKey) GetVpcId() string

GetVpcId returns the VpcId field value if set, zero value otherwise.

func (*ModelsRegKey) GetVpcIdOk

func (o *ModelsRegKey) GetVpcIdOk() (*string, bool)

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

func (*ModelsRegKey) HasBearerToken

func (o *ModelsRegKey) HasBearerToken() bool

HasBearerToken returns a boolean if a field has been set.

func (*ModelsRegKey) HasDescription

func (o *ModelsRegKey) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ModelsRegKey) HasDeviceId

func (o *ModelsRegKey) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*ModelsRegKey) HasExpiresAt

func (o *ModelsRegKey) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*ModelsRegKey) HasId

func (o *ModelsRegKey) HasId() bool

HasId returns a boolean if a field has been set.

func (*ModelsRegKey) HasOwnerId

func (o *ModelsRegKey) HasOwnerId() bool

HasOwnerId returns a boolean if a field has been set.

func (*ModelsRegKey) HasSecurityGroupId

func (o *ModelsRegKey) HasSecurityGroupId() bool

HasSecurityGroupId returns a boolean if a field has been set.

func (*ModelsRegKey) HasServiceNetworkId

func (o *ModelsRegKey) HasServiceNetworkId() bool

HasServiceNetworkId returns a boolean if a field has been set.

func (*ModelsRegKey) HasSettings

func (o *ModelsRegKey) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (*ModelsRegKey) HasVpcId

func (o *ModelsRegKey) HasVpcId() bool

HasVpcId returns a boolean if a field has been set.

func (ModelsRegKey) MarshalJSON

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

func (*ModelsRegKey) SetBearerToken

func (o *ModelsRegKey) SetBearerToken(v string)

SetBearerToken gets a reference to the given string and assigns it to the BearerToken field.

func (*ModelsRegKey) SetDescription

func (o *ModelsRegKey) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ModelsRegKey) SetDeviceId

func (o *ModelsRegKey) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*ModelsRegKey) SetExpiresAt

func (o *ModelsRegKey) SetExpiresAt(v string)

SetExpiresAt gets a reference to the given string and assigns it to the ExpiresAt field.

func (*ModelsRegKey) SetId

func (o *ModelsRegKey) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ModelsRegKey) SetOwnerId

func (o *ModelsRegKey) SetOwnerId(v string)

SetOwnerId gets a reference to the given string and assigns it to the OwnerId field.

func (*ModelsRegKey) SetSecurityGroupId

func (o *ModelsRegKey) SetSecurityGroupId(v string)

SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.

func (*ModelsRegKey) SetServiceNetworkId

func (o *ModelsRegKey) SetServiceNetworkId(v string)

SetServiceNetworkId gets a reference to the given string and assigns it to the ServiceNetworkId field.

func (*ModelsRegKey) SetSettings

func (o *ModelsRegKey) SetSettings(v map[string]interface{})

SetSettings gets a reference to the given map[string]interface{} and assigns it to the Settings field.

func (*ModelsRegKey) SetVpcId

func (o *ModelsRegKey) SetVpcId(v string)

SetVpcId gets a reference to the given string and assigns it to the VpcId field.

func (ModelsRegKey) ToMap

func (o ModelsRegKey) ToMap() (map[string]interface{}, error)

type ModelsSecurityGroup

type ModelsSecurityGroup struct {
	Description   *string              `json:"description,omitempty"`
	Id            *string              `json:"id,omitempty"`
	InboundRules  []ModelsSecurityRule `json:"inbound_rules,omitempty"`
	OutboundRules []ModelsSecurityRule `json:"outbound_rules,omitempty"`
	Revision      *int32               `json:"revision,omitempty"`
	VpcId         *string              `json:"vpc_id,omitempty"`
}

ModelsSecurityGroup struct for ModelsSecurityGroup

func NewModelsSecurityGroup

func NewModelsSecurityGroup() *ModelsSecurityGroup

NewModelsSecurityGroup instantiates a new ModelsSecurityGroup 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 NewModelsSecurityGroupWithDefaults

func NewModelsSecurityGroupWithDefaults() *ModelsSecurityGroup

NewModelsSecurityGroupWithDefaults instantiates a new ModelsSecurityGroup 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 (*ModelsSecurityGroup) GetDescription

func (o *ModelsSecurityGroup) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ModelsSecurityGroup) GetDescriptionOk

func (o *ModelsSecurityGroup) GetDescriptionOk() (*string, bool)

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

func (*ModelsSecurityGroup) GetId

func (o *ModelsSecurityGroup) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ModelsSecurityGroup) GetIdOk

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

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

func (*ModelsSecurityGroup) GetInboundRules

func (o *ModelsSecurityGroup) GetInboundRules() []ModelsSecurityRule

GetInboundRules returns the InboundRules field value if set, zero value otherwise.

func (*ModelsSecurityGroup) GetInboundRulesOk

func (o *ModelsSecurityGroup) GetInboundRulesOk() ([]ModelsSecurityRule, bool)

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

func (*ModelsSecurityGroup) GetOutboundRules

func (o *ModelsSecurityGroup) GetOutboundRules() []ModelsSecurityRule

GetOutboundRules returns the OutboundRules field value if set, zero value otherwise.

func (*ModelsSecurityGroup) GetOutboundRulesOk

func (o *ModelsSecurityGroup) GetOutboundRulesOk() ([]ModelsSecurityRule, bool)

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

func (*ModelsSecurityGroup) GetRevision

func (o *ModelsSecurityGroup) GetRevision() int32

GetRevision returns the Revision field value if set, zero value otherwise.

func (*ModelsSecurityGroup) GetRevisionOk

func (o *ModelsSecurityGroup) GetRevisionOk() (*int32, bool)

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

func (*ModelsSecurityGroup) GetVpcId

func (o *ModelsSecurityGroup) GetVpcId() string

GetVpcId returns the VpcId field value if set, zero value otherwise.

func (*ModelsSecurityGroup) GetVpcIdOk

func (o *ModelsSecurityGroup) GetVpcIdOk() (*string, bool)

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

func (*ModelsSecurityGroup) HasDescription

func (o *ModelsSecurityGroup) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ModelsSecurityGroup) HasId

func (o *ModelsSecurityGroup) HasId() bool

HasId returns a boolean if a field has been set.

func (*ModelsSecurityGroup) HasInboundRules

func (o *ModelsSecurityGroup) HasInboundRules() bool

HasInboundRules returns a boolean if a field has been set.

func (*ModelsSecurityGroup) HasOutboundRules

func (o *ModelsSecurityGroup) HasOutboundRules() bool

HasOutboundRules returns a boolean if a field has been set.

func (*ModelsSecurityGroup) HasRevision

func (o *ModelsSecurityGroup) HasRevision() bool

HasRevision returns a boolean if a field has been set.

func (*ModelsSecurityGroup) HasVpcId

func (o *ModelsSecurityGroup) HasVpcId() bool

HasVpcId returns a boolean if a field has been set.

func (ModelsSecurityGroup) MarshalJSON

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

func (*ModelsSecurityGroup) SetDescription

func (o *ModelsSecurityGroup) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ModelsSecurityGroup) SetId

func (o *ModelsSecurityGroup) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ModelsSecurityGroup) SetInboundRules

func (o *ModelsSecurityGroup) SetInboundRules(v []ModelsSecurityRule)

SetInboundRules gets a reference to the given []ModelsSecurityRule and assigns it to the InboundRules field.

func (*ModelsSecurityGroup) SetOutboundRules

func (o *ModelsSecurityGroup) SetOutboundRules(v []ModelsSecurityRule)

SetOutboundRules gets a reference to the given []ModelsSecurityRule and assigns it to the OutboundRules field.

func (*ModelsSecurityGroup) SetRevision

func (o *ModelsSecurityGroup) SetRevision(v int32)

SetRevision gets a reference to the given int32 and assigns it to the Revision field.

func (*ModelsSecurityGroup) SetVpcId

func (o *ModelsSecurityGroup) SetVpcId(v string)

SetVpcId gets a reference to the given string and assigns it to the VpcId field.

func (ModelsSecurityGroup) ToMap

func (o ModelsSecurityGroup) ToMap() (map[string]interface{}, error)

type ModelsSecurityRule

type ModelsSecurityRule struct {
	FromPort   *int32   `json:"from_port,omitempty"`
	IpProtocol *string  `json:"ip_protocol,omitempty"`
	IpRanges   []string `json:"ip_ranges,omitempty"`
	ToPort     *int32   `json:"to_port,omitempty"`
}

ModelsSecurityRule struct for ModelsSecurityRule

func NewModelsSecurityRule

func NewModelsSecurityRule() *ModelsSecurityRule

NewModelsSecurityRule instantiates a new ModelsSecurityRule 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 NewModelsSecurityRuleWithDefaults

func NewModelsSecurityRuleWithDefaults() *ModelsSecurityRule

NewModelsSecurityRuleWithDefaults instantiates a new ModelsSecurityRule 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 (*ModelsSecurityRule) GetFromPort

func (o *ModelsSecurityRule) GetFromPort() int32

GetFromPort returns the FromPort field value if set, zero value otherwise.

func (*ModelsSecurityRule) GetFromPortOk

func (o *ModelsSecurityRule) GetFromPortOk() (*int32, bool)

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

func (*ModelsSecurityRule) GetIpProtocol

func (o *ModelsSecurityRule) GetIpProtocol() string

GetIpProtocol returns the IpProtocol field value if set, zero value otherwise.

func (*ModelsSecurityRule) GetIpProtocolOk

func (o *ModelsSecurityRule) GetIpProtocolOk() (*string, bool)

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

func (*ModelsSecurityRule) GetIpRanges

func (o *ModelsSecurityRule) GetIpRanges() []string

GetIpRanges returns the IpRanges field value if set, zero value otherwise.

func (*ModelsSecurityRule) GetIpRangesOk

func (o *ModelsSecurityRule) GetIpRangesOk() ([]string, bool)

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

func (*ModelsSecurityRule) GetToPort

func (o *ModelsSecurityRule) GetToPort() int32

GetToPort returns the ToPort field value if set, zero value otherwise.

func (*ModelsSecurityRule) GetToPortOk

func (o *ModelsSecurityRule) GetToPortOk() (*int32, bool)

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

func (*ModelsSecurityRule) HasFromPort

func (o *ModelsSecurityRule) HasFromPort() bool

HasFromPort returns a boolean if a field has been set.

func (*ModelsSecurityRule) HasIpProtocol

func (o *ModelsSecurityRule) HasIpProtocol() bool

HasIpProtocol returns a boolean if a field has been set.

func (*ModelsSecurityRule) HasIpRanges

func (o *ModelsSecurityRule) HasIpRanges() bool

HasIpRanges returns a boolean if a field has been set.

func (*ModelsSecurityRule) HasToPort

func (o *ModelsSecurityRule) HasToPort() bool

HasToPort returns a boolean if a field has been set.

func (ModelsSecurityRule) MarshalJSON

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

func (*ModelsSecurityRule) SetFromPort

func (o *ModelsSecurityRule) SetFromPort(v int32)

SetFromPort gets a reference to the given int32 and assigns it to the FromPort field.

func (*ModelsSecurityRule) SetIpProtocol

func (o *ModelsSecurityRule) SetIpProtocol(v string)

SetIpProtocol gets a reference to the given string and assigns it to the IpProtocol field.

func (*ModelsSecurityRule) SetIpRanges

func (o *ModelsSecurityRule) SetIpRanges(v []string)

SetIpRanges gets a reference to the given []string and assigns it to the IpRanges field.

func (*ModelsSecurityRule) SetToPort

func (o *ModelsSecurityRule) SetToPort(v int32)

SetToPort gets a reference to the given int32 and assigns it to the ToPort field.

func (ModelsSecurityRule) ToMap

func (o ModelsSecurityRule) ToMap() (map[string]interface{}, error)

type ModelsServiceNetwork

type ModelsServiceNetwork struct {
	CaCertificates []string `json:"ca_certificates,omitempty"`
	Description    *string  `json:"description,omitempty"`
	Id             *string  `json:"id,omitempty"`
	OrganizationId *string  `json:"organization_id,omitempty"`
	Revision       *int32   `json:"revision,omitempty"`
}

ModelsServiceNetwork struct for ModelsServiceNetwork

func NewModelsServiceNetwork

func NewModelsServiceNetwork() *ModelsServiceNetwork

NewModelsServiceNetwork instantiates a new ModelsServiceNetwork 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 NewModelsServiceNetworkWithDefaults

func NewModelsServiceNetworkWithDefaults() *ModelsServiceNetwork

NewModelsServiceNetworkWithDefaults instantiates a new ModelsServiceNetwork 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 (*ModelsServiceNetwork) GetCaCertificates

func (o *ModelsServiceNetwork) GetCaCertificates() []string

GetCaCertificates returns the CaCertificates field value if set, zero value otherwise.

func (*ModelsServiceNetwork) GetCaCertificatesOk

func (o *ModelsServiceNetwork) GetCaCertificatesOk() ([]string, bool)

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

func (*ModelsServiceNetwork) GetDescription

func (o *ModelsServiceNetwork) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ModelsServiceNetwork) GetDescriptionOk

func (o *ModelsServiceNetwork) GetDescriptionOk() (*string, bool)

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

func (*ModelsServiceNetwork) GetId

func (o *ModelsServiceNetwork) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ModelsServiceNetwork) GetIdOk

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

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

func (*ModelsServiceNetwork) GetOrganizationId

func (o *ModelsServiceNetwork) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ModelsServiceNetwork) GetOrganizationIdOk

func (o *ModelsServiceNetwork) GetOrganizationIdOk() (*string, bool)

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

func (*ModelsServiceNetwork) GetRevision

func (o *ModelsServiceNetwork) GetRevision() int32

GetRevision returns the Revision field value if set, zero value otherwise.

func (*ModelsServiceNetwork) GetRevisionOk

func (o *ModelsServiceNetwork) GetRevisionOk() (*int32, bool)

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

func (*ModelsServiceNetwork) HasCaCertificates

func (o *ModelsServiceNetwork) HasCaCertificates() bool

HasCaCertificates returns a boolean if a field has been set.

func (*ModelsServiceNetwork) HasDescription

func (o *ModelsServiceNetwork) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ModelsServiceNetwork) HasId

func (o *ModelsServiceNetwork) HasId() bool

HasId returns a boolean if a field has been set.

func (*ModelsServiceNetwork) HasOrganizationId

func (o *ModelsServiceNetwork) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ModelsServiceNetwork) HasRevision

func (o *ModelsServiceNetwork) HasRevision() bool

HasRevision returns a boolean if a field has been set.

func (ModelsServiceNetwork) MarshalJSON

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

func (*ModelsServiceNetwork) SetCaCertificates

func (o *ModelsServiceNetwork) SetCaCertificates(v []string)

SetCaCertificates gets a reference to the given []string and assigns it to the CaCertificates field.

func (*ModelsServiceNetwork) SetDescription

func (o *ModelsServiceNetwork) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ModelsServiceNetwork) SetId

func (o *ModelsServiceNetwork) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ModelsServiceNetwork) SetOrganizationId

func (o *ModelsServiceNetwork) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ModelsServiceNetwork) SetRevision

func (o *ModelsServiceNetwork) SetRevision(v int32)

SetRevision gets a reference to the given int32 and assigns it to the Revision field.

func (ModelsServiceNetwork) ToMap

func (o ModelsServiceNetwork) ToMap() (map[string]interface{}, error)

type ModelsSite

type ModelsSite struct {
	// the token nexd should use to reconcile Site state.
	BearerToken      *string `json:"bearer_token,omitempty"`
	Hostname         *string `json:"hostname,omitempty"`
	Id               *string `json:"id,omitempty"`
	LinkSecret       *string `json:"link_secret,omitempty"`
	Name             *string `json:"name,omitempty"`
	Online           *bool   `json:"online,omitempty"`
	OnlineAt         *string `json:"online_at,omitempty"`
	Os               *string `json:"os,omitempty"`
	OwnerId          *string `json:"owner_id,omitempty"`
	Platform         *string `json:"platform,omitempty"`
	PublicKey        *string `json:"public_key,omitempty"`
	Revision         *int32  `json:"revision,omitempty"`
	ServiceNetworkId *string `json:"service_network_id,omitempty"`
}

ModelsSite struct for ModelsSite

func NewModelsSite

func NewModelsSite() *ModelsSite

NewModelsSite instantiates a new ModelsSite 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 NewModelsSiteWithDefaults

func NewModelsSiteWithDefaults() *ModelsSite

NewModelsSiteWithDefaults instantiates a new ModelsSite 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 (*ModelsSite) GetBearerToken

func (o *ModelsSite) GetBearerToken() string

GetBearerToken returns the BearerToken field value if set, zero value otherwise.

func (*ModelsSite) GetBearerTokenOk

func (o *ModelsSite) GetBearerTokenOk() (*string, bool)

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

func (*ModelsSite) GetHostname

func (o *ModelsSite) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*ModelsSite) GetHostnameOk

func (o *ModelsSite) GetHostnameOk() (*string, bool)

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

func (*ModelsSite) GetId

func (o *ModelsSite) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ModelsSite) GetIdOk

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

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

func (*ModelsSite) GetLinkSecret

func (o *ModelsSite) GetLinkSecret() string

GetLinkSecret returns the LinkSecret field value if set, zero value otherwise.

func (*ModelsSite) GetLinkSecretOk

func (o *ModelsSite) GetLinkSecretOk() (*string, bool)

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

func (*ModelsSite) GetName

func (o *ModelsSite) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ModelsSite) GetNameOk

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

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

func (*ModelsSite) GetOnline

func (o *ModelsSite) GetOnline() bool

GetOnline returns the Online field value if set, zero value otherwise.

func (*ModelsSite) GetOnlineAt

func (o *ModelsSite) GetOnlineAt() string

GetOnlineAt returns the OnlineAt field value if set, zero value otherwise.

func (*ModelsSite) GetOnlineAtOk

func (o *ModelsSite) GetOnlineAtOk() (*string, bool)

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

func (*ModelsSite) GetOnlineOk

func (o *ModelsSite) GetOnlineOk() (*bool, bool)

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

func (*ModelsSite) GetOs

func (o *ModelsSite) GetOs() string

GetOs returns the Os field value if set, zero value otherwise.

func (*ModelsSite) GetOsOk

func (o *ModelsSite) GetOsOk() (*string, bool)

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

func (*ModelsSite) GetOwnerId

func (o *ModelsSite) GetOwnerId() string

GetOwnerId returns the OwnerId field value if set, zero value otherwise.

func (*ModelsSite) GetOwnerIdOk

func (o *ModelsSite) GetOwnerIdOk() (*string, bool)

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

func (*ModelsSite) GetPlatform

func (o *ModelsSite) GetPlatform() string

GetPlatform returns the Platform field value if set, zero value otherwise.

func (*ModelsSite) GetPlatformOk

func (o *ModelsSite) GetPlatformOk() (*string, bool)

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

func (*ModelsSite) GetPublicKey

func (o *ModelsSite) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*ModelsSite) GetPublicKeyOk

func (o *ModelsSite) GetPublicKeyOk() (*string, bool)

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

func (*ModelsSite) GetRevision

func (o *ModelsSite) GetRevision() int32

GetRevision returns the Revision field value if set, zero value otherwise.

func (*ModelsSite) GetRevisionOk

func (o *ModelsSite) GetRevisionOk() (*int32, bool)

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

func (*ModelsSite) GetServiceNetworkId

func (o *ModelsSite) GetServiceNetworkId() string

GetServiceNetworkId returns the ServiceNetworkId field value if set, zero value otherwise.

func (*ModelsSite) GetServiceNetworkIdOk

func (o *ModelsSite) GetServiceNetworkIdOk() (*string, bool)

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

func (*ModelsSite) HasBearerToken

func (o *ModelsSite) HasBearerToken() bool

HasBearerToken returns a boolean if a field has been set.

func (*ModelsSite) HasHostname

func (o *ModelsSite) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*ModelsSite) HasId

func (o *ModelsSite) HasId() bool

HasId returns a boolean if a field has been set.

func (*ModelsSite) HasLinkSecret

func (o *ModelsSite) HasLinkSecret() bool

HasLinkSecret returns a boolean if a field has been set.

func (*ModelsSite) HasName

func (o *ModelsSite) HasName() bool

HasName returns a boolean if a field has been set.

func (*ModelsSite) HasOnline

func (o *ModelsSite) HasOnline() bool

HasOnline returns a boolean if a field has been set.

func (*ModelsSite) HasOnlineAt

func (o *ModelsSite) HasOnlineAt() bool

HasOnlineAt returns a boolean if a field has been set.

func (*ModelsSite) HasOs

func (o *ModelsSite) HasOs() bool

HasOs returns a boolean if a field has been set.

func (*ModelsSite) HasOwnerId

func (o *ModelsSite) HasOwnerId() bool

HasOwnerId returns a boolean if a field has been set.

func (*ModelsSite) HasPlatform

func (o *ModelsSite) HasPlatform() bool

HasPlatform returns a boolean if a field has been set.

func (*ModelsSite) HasPublicKey

func (o *ModelsSite) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (*ModelsSite) HasRevision

func (o *ModelsSite) HasRevision() bool

HasRevision returns a boolean if a field has been set.

func (*ModelsSite) HasServiceNetworkId

func (o *ModelsSite) HasServiceNetworkId() bool

HasServiceNetworkId returns a boolean if a field has been set.

func (ModelsSite) MarshalJSON

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

func (*ModelsSite) SetBearerToken

func (o *ModelsSite) SetBearerToken(v string)

SetBearerToken gets a reference to the given string and assigns it to the BearerToken field.

func (*ModelsSite) SetHostname

func (o *ModelsSite) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*ModelsSite) SetId

func (o *ModelsSite) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ModelsSite) SetLinkSecret

func (o *ModelsSite) SetLinkSecret(v string)

SetLinkSecret gets a reference to the given string and assigns it to the LinkSecret field.

func (*ModelsSite) SetName

func (o *ModelsSite) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ModelsSite) SetOnline

func (o *ModelsSite) SetOnline(v bool)

SetOnline gets a reference to the given bool and assigns it to the Online field.

func (*ModelsSite) SetOnlineAt

func (o *ModelsSite) SetOnlineAt(v string)

SetOnlineAt gets a reference to the given string and assigns it to the OnlineAt field.

func (*ModelsSite) SetOs

func (o *ModelsSite) SetOs(v string)

SetOs gets a reference to the given string and assigns it to the Os field.

func (*ModelsSite) SetOwnerId

func (o *ModelsSite) SetOwnerId(v string)

SetOwnerId gets a reference to the given string and assigns it to the OwnerId field.

func (*ModelsSite) SetPlatform

func (o *ModelsSite) SetPlatform(v string)

SetPlatform gets a reference to the given string and assigns it to the Platform field.

func (*ModelsSite) SetPublicKey

func (o *ModelsSite) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (*ModelsSite) SetRevision

func (o *ModelsSite) SetRevision(v int32)

SetRevision gets a reference to the given int32 and assigns it to the Revision field.

func (*ModelsSite) SetServiceNetworkId

func (o *ModelsSite) SetServiceNetworkId(v string)

SetServiceNetworkId gets a reference to the given string and assigns it to the ServiceNetworkId field.

func (ModelsSite) ToMap

func (o ModelsSite) ToMap() (map[string]interface{}, error)

type ModelsTunnelIP

type ModelsTunnelIP struct {
	// IP address and port of the endpoint.
	Address *string `json:"address,omitempty"`
	// VPC CIDR this address was allocated from
	Cidr *string `json:"cidr,omitempty"`
}

ModelsTunnelIP struct for ModelsTunnelIP

func NewModelsTunnelIP

func NewModelsTunnelIP() *ModelsTunnelIP

NewModelsTunnelIP instantiates a new ModelsTunnelIP 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 NewModelsTunnelIPWithDefaults

func NewModelsTunnelIPWithDefaults() *ModelsTunnelIP

NewModelsTunnelIPWithDefaults instantiates a new ModelsTunnelIP 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 (*ModelsTunnelIP) GetAddress

func (o *ModelsTunnelIP) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*ModelsTunnelIP) GetAddressOk

func (o *ModelsTunnelIP) GetAddressOk() (*string, bool)

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

func (*ModelsTunnelIP) GetCidr

func (o *ModelsTunnelIP) GetCidr() string

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*ModelsTunnelIP) GetCidrOk

func (o *ModelsTunnelIP) GetCidrOk() (*string, bool)

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

func (*ModelsTunnelIP) HasAddress

func (o *ModelsTunnelIP) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*ModelsTunnelIP) HasCidr

func (o *ModelsTunnelIP) HasCidr() bool

HasCidr returns a boolean if a field has been set.

func (ModelsTunnelIP) MarshalJSON

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

func (*ModelsTunnelIP) SetAddress

func (o *ModelsTunnelIP) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*ModelsTunnelIP) SetCidr

func (o *ModelsTunnelIP) SetCidr(v string)

SetCidr gets a reference to the given string and assigns it to the Cidr field.

func (ModelsTunnelIP) ToMap

func (o ModelsTunnelIP) ToMap() (map[string]interface{}, error)

type ModelsUpdateDevice

type ModelsUpdateDevice struct {
	AdvertiseCidrs  []string         `json:"advertise_cidrs,omitempty"`
	Endpoints       []ModelsEndpoint `json:"endpoints,omitempty"`
	Hostname        *string          `json:"hostname,omitempty"`
	Relay           *bool            `json:"relay,omitempty"`
	Revision        *int32           `json:"revision,omitempty"`
	SecurityGroupId *string          `json:"security_group_id,omitempty"`
	SymmetricNat    *bool            `json:"symmetric_nat,omitempty"`
	VpcId           *string          `json:"vpc_id,omitempty"`
}

ModelsUpdateDevice struct for ModelsUpdateDevice

func NewModelsUpdateDevice

func NewModelsUpdateDevice() *ModelsUpdateDevice

NewModelsUpdateDevice instantiates a new ModelsUpdateDevice 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 NewModelsUpdateDeviceWithDefaults

func NewModelsUpdateDeviceWithDefaults() *ModelsUpdateDevice

NewModelsUpdateDeviceWithDefaults instantiates a new ModelsUpdateDevice 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 (*ModelsUpdateDevice) GetAdvertiseCidrs

func (o *ModelsUpdateDevice) GetAdvertiseCidrs() []string

GetAdvertiseCidrs returns the AdvertiseCidrs field value if set, zero value otherwise.

func (*ModelsUpdateDevice) GetAdvertiseCidrsOk

func (o *ModelsUpdateDevice) GetAdvertiseCidrsOk() ([]string, bool)

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

func (*ModelsUpdateDevice) GetEndpoints

func (o *ModelsUpdateDevice) GetEndpoints() []ModelsEndpoint

GetEndpoints returns the Endpoints field value if set, zero value otherwise.

func (*ModelsUpdateDevice) GetEndpointsOk

func (o *ModelsUpdateDevice) GetEndpointsOk() ([]ModelsEndpoint, bool)

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

func (*ModelsUpdateDevice) GetHostname

func (o *ModelsUpdateDevice) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*ModelsUpdateDevice) GetHostnameOk

func (o *ModelsUpdateDevice) GetHostnameOk() (*string, bool)

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

func (*ModelsUpdateDevice) GetRelay

func (o *ModelsUpdateDevice) GetRelay() bool

GetRelay returns the Relay field value if set, zero value otherwise.

func (*ModelsUpdateDevice) GetRelayOk

func (o *ModelsUpdateDevice) GetRelayOk() (*bool, bool)

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

func (*ModelsUpdateDevice) GetRevision

func (o *ModelsUpdateDevice) GetRevision() int32

GetRevision returns the Revision field value if set, zero value otherwise.

func (*ModelsUpdateDevice) GetRevisionOk

func (o *ModelsUpdateDevice) GetRevisionOk() (*int32, bool)

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

func (*ModelsUpdateDevice) GetSecurityGroupId

func (o *ModelsUpdateDevice) GetSecurityGroupId() string

GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.

func (*ModelsUpdateDevice) GetSecurityGroupIdOk

func (o *ModelsUpdateDevice) GetSecurityGroupIdOk() (*string, bool)

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

func (*ModelsUpdateDevice) GetSymmetricNat

func (o *ModelsUpdateDevice) GetSymmetricNat() bool

GetSymmetricNat returns the SymmetricNat field value if set, zero value otherwise.

func (*ModelsUpdateDevice) GetSymmetricNatOk

func (o *ModelsUpdateDevice) GetSymmetricNatOk() (*bool, bool)

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

func (*ModelsUpdateDevice) GetVpcId

func (o *ModelsUpdateDevice) GetVpcId() string

GetVpcId returns the VpcId field value if set, zero value otherwise.

func (*ModelsUpdateDevice) GetVpcIdOk

func (o *ModelsUpdateDevice) GetVpcIdOk() (*string, bool)

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

func (*ModelsUpdateDevice) HasAdvertiseCidrs

func (o *ModelsUpdateDevice) HasAdvertiseCidrs() bool

HasAdvertiseCidrs returns a boolean if a field has been set.

func (*ModelsUpdateDevice) HasEndpoints

func (o *ModelsUpdateDevice) HasEndpoints() bool

HasEndpoints returns a boolean if a field has been set.

func (*ModelsUpdateDevice) HasHostname

func (o *ModelsUpdateDevice) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*ModelsUpdateDevice) HasRelay

func (o *ModelsUpdateDevice) HasRelay() bool

HasRelay returns a boolean if a field has been set.

func (*ModelsUpdateDevice) HasRevision

func (o *ModelsUpdateDevice) HasRevision() bool

HasRevision returns a boolean if a field has been set.

func (*ModelsUpdateDevice) HasSecurityGroupId

func (o *ModelsUpdateDevice) HasSecurityGroupId() bool

HasSecurityGroupId returns a boolean if a field has been set.

func (*ModelsUpdateDevice) HasSymmetricNat

func (o *ModelsUpdateDevice) HasSymmetricNat() bool

HasSymmetricNat returns a boolean if a field has been set.

func (*ModelsUpdateDevice) HasVpcId

func (o *ModelsUpdateDevice) HasVpcId() bool

HasVpcId returns a boolean if a field has been set.

func (ModelsUpdateDevice) MarshalJSON

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

func (*ModelsUpdateDevice) SetAdvertiseCidrs

func (o *ModelsUpdateDevice) SetAdvertiseCidrs(v []string)

SetAdvertiseCidrs gets a reference to the given []string and assigns it to the AdvertiseCidrs field.

func (*ModelsUpdateDevice) SetEndpoints

func (o *ModelsUpdateDevice) SetEndpoints(v []ModelsEndpoint)

SetEndpoints gets a reference to the given []ModelsEndpoint and assigns it to the Endpoints field.

func (*ModelsUpdateDevice) SetHostname

func (o *ModelsUpdateDevice) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*ModelsUpdateDevice) SetRelay

func (o *ModelsUpdateDevice) SetRelay(v bool)

SetRelay gets a reference to the given bool and assigns it to the Relay field.

func (*ModelsUpdateDevice) SetRevision

func (o *ModelsUpdateDevice) SetRevision(v int32)

SetRevision gets a reference to the given int32 and assigns it to the Revision field.

func (*ModelsUpdateDevice) SetSecurityGroupId

func (o *ModelsUpdateDevice) SetSecurityGroupId(v string)

SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.

func (*ModelsUpdateDevice) SetSymmetricNat

func (o *ModelsUpdateDevice) SetSymmetricNat(v bool)

SetSymmetricNat gets a reference to the given bool and assigns it to the SymmetricNat field.

func (*ModelsUpdateDevice) SetVpcId

func (o *ModelsUpdateDevice) SetVpcId(v string)

SetVpcId gets a reference to the given string and assigns it to the VpcId field.

func (ModelsUpdateDevice) ToMap

func (o ModelsUpdateDevice) ToMap() (map[string]interface{}, error)

type ModelsUpdateRegKey

type ModelsUpdateRegKey struct {
	// Description of the registration key.
	Description *string `json:"description,omitempty"`
	// ExpiresAt is optional, if set the registration key is only valid until the ExpiresAt time.
	ExpiresAt *string `json:"expires_at,omitempty"`
	// SecurityGroupId is the ID of the security group to assign to the device.
	SecurityGroupId *string `json:"security_group_id,omitempty"`
	// Settings contains general settings for the device.
	Settings map[string]interface{} `json:"settings,omitempty"`
}

ModelsUpdateRegKey struct for ModelsUpdateRegKey

func NewModelsUpdateRegKey

func NewModelsUpdateRegKey() *ModelsUpdateRegKey

NewModelsUpdateRegKey instantiates a new ModelsUpdateRegKey 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 NewModelsUpdateRegKeyWithDefaults

func NewModelsUpdateRegKeyWithDefaults() *ModelsUpdateRegKey

NewModelsUpdateRegKeyWithDefaults instantiates a new ModelsUpdateRegKey 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 (*ModelsUpdateRegKey) GetDescription

func (o *ModelsUpdateRegKey) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ModelsUpdateRegKey) GetDescriptionOk

func (o *ModelsUpdateRegKey) GetDescriptionOk() (*string, bool)

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

func (*ModelsUpdateRegKey) GetExpiresAt

func (o *ModelsUpdateRegKey) GetExpiresAt() string

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*ModelsUpdateRegKey) GetExpiresAtOk

func (o *ModelsUpdateRegKey) GetExpiresAtOk() (*string, bool)

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

func (*ModelsUpdateRegKey) GetSecurityGroupId

func (o *ModelsUpdateRegKey) GetSecurityGroupId() string

GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.

func (*ModelsUpdateRegKey) GetSecurityGroupIdOk

func (o *ModelsUpdateRegKey) GetSecurityGroupIdOk() (*string, bool)

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

func (*ModelsUpdateRegKey) GetSettings

func (o *ModelsUpdateRegKey) GetSettings() map[string]interface{}

GetSettings returns the Settings field value if set, zero value otherwise.

func (*ModelsUpdateRegKey) GetSettingsOk

func (o *ModelsUpdateRegKey) GetSettingsOk() (map[string]interface{}, bool)

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

func (*ModelsUpdateRegKey) HasDescription

func (o *ModelsUpdateRegKey) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ModelsUpdateRegKey) HasExpiresAt

func (o *ModelsUpdateRegKey) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*ModelsUpdateRegKey) HasSecurityGroupId

func (o *ModelsUpdateRegKey) HasSecurityGroupId() bool

HasSecurityGroupId returns a boolean if a field has been set.

func (*ModelsUpdateRegKey) HasSettings

func (o *ModelsUpdateRegKey) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (ModelsUpdateRegKey) MarshalJSON

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

func (*ModelsUpdateRegKey) SetDescription

func (o *ModelsUpdateRegKey) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ModelsUpdateRegKey) SetExpiresAt

func (o *ModelsUpdateRegKey) SetExpiresAt(v string)

SetExpiresAt gets a reference to the given string and assigns it to the ExpiresAt field.

func (*ModelsUpdateRegKey) SetSecurityGroupId

func (o *ModelsUpdateRegKey) SetSecurityGroupId(v string)

SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.

func (*ModelsUpdateRegKey) SetSettings

func (o *ModelsUpdateRegKey) SetSettings(v map[string]interface{})

SetSettings gets a reference to the given map[string]interface{} and assigns it to the Settings field.

func (ModelsUpdateRegKey) ToMap

func (o ModelsUpdateRegKey) ToMap() (map[string]interface{}, error)

type ModelsUpdateSecurityGroup

type ModelsUpdateSecurityGroup struct {
	Description   *string              `json:"description,omitempty"`
	InboundRules  []ModelsSecurityRule `json:"inbound_rules,omitempty"`
	OutboundRules []ModelsSecurityRule `json:"outbound_rules,omitempty"`
}

ModelsUpdateSecurityGroup struct for ModelsUpdateSecurityGroup

func NewModelsUpdateSecurityGroup

func NewModelsUpdateSecurityGroup() *ModelsUpdateSecurityGroup

NewModelsUpdateSecurityGroup instantiates a new ModelsUpdateSecurityGroup 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 NewModelsUpdateSecurityGroupWithDefaults

func NewModelsUpdateSecurityGroupWithDefaults() *ModelsUpdateSecurityGroup

NewModelsUpdateSecurityGroupWithDefaults instantiates a new ModelsUpdateSecurityGroup 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 (*ModelsUpdateSecurityGroup) GetDescription

func (o *ModelsUpdateSecurityGroup) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ModelsUpdateSecurityGroup) GetDescriptionOk

func (o *ModelsUpdateSecurityGroup) GetDescriptionOk() (*string, bool)

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

func (*ModelsUpdateSecurityGroup) GetInboundRules

func (o *ModelsUpdateSecurityGroup) GetInboundRules() []ModelsSecurityRule

GetInboundRules returns the InboundRules field value if set, zero value otherwise.

func (*ModelsUpdateSecurityGroup) GetInboundRulesOk

func (o *ModelsUpdateSecurityGroup) GetInboundRulesOk() ([]ModelsSecurityRule, bool)

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

func (*ModelsUpdateSecurityGroup) GetOutboundRules

func (o *ModelsUpdateSecurityGroup) GetOutboundRules() []ModelsSecurityRule

GetOutboundRules returns the OutboundRules field value if set, zero value otherwise.

func (*ModelsUpdateSecurityGroup) GetOutboundRulesOk

func (o *ModelsUpdateSecurityGroup) GetOutboundRulesOk() ([]ModelsSecurityRule, bool)

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

func (*ModelsUpdateSecurityGroup) HasDescription

func (o *ModelsUpdateSecurityGroup) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ModelsUpdateSecurityGroup) HasInboundRules

func (o *ModelsUpdateSecurityGroup) HasInboundRules() bool

HasInboundRules returns a boolean if a field has been set.

func (*ModelsUpdateSecurityGroup) HasOutboundRules

func (o *ModelsUpdateSecurityGroup) HasOutboundRules() bool

HasOutboundRules returns a boolean if a field has been set.

func (ModelsUpdateSecurityGroup) MarshalJSON

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

func (*ModelsUpdateSecurityGroup) SetDescription

func (o *ModelsUpdateSecurityGroup) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ModelsUpdateSecurityGroup) SetInboundRules

func (o *ModelsUpdateSecurityGroup) SetInboundRules(v []ModelsSecurityRule)

SetInboundRules gets a reference to the given []ModelsSecurityRule and assigns it to the InboundRules field.

func (*ModelsUpdateSecurityGroup) SetOutboundRules

func (o *ModelsUpdateSecurityGroup) SetOutboundRules(v []ModelsSecurityRule)

SetOutboundRules gets a reference to the given []ModelsSecurityRule and assigns it to the OutboundRules field.

func (ModelsUpdateSecurityGroup) ToMap

func (o ModelsUpdateSecurityGroup) ToMap() (map[string]interface{}, error)

type ModelsUpdateServiceNetwork

type ModelsUpdateServiceNetwork struct {
	Description *string `json:"description,omitempty"`
}

ModelsUpdateServiceNetwork struct for ModelsUpdateServiceNetwork

func NewModelsUpdateServiceNetwork

func NewModelsUpdateServiceNetwork() *ModelsUpdateServiceNetwork

NewModelsUpdateServiceNetwork instantiates a new ModelsUpdateServiceNetwork 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 NewModelsUpdateServiceNetworkWithDefaults

func NewModelsUpdateServiceNetworkWithDefaults() *ModelsUpdateServiceNetwork

NewModelsUpdateServiceNetworkWithDefaults instantiates a new ModelsUpdateServiceNetwork 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 (*ModelsUpdateServiceNetwork) GetDescription

func (o *ModelsUpdateServiceNetwork) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ModelsUpdateServiceNetwork) GetDescriptionOk

func (o *ModelsUpdateServiceNetwork) GetDescriptionOk() (*string, bool)

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

func (*ModelsUpdateServiceNetwork) HasDescription

func (o *ModelsUpdateServiceNetwork) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (ModelsUpdateServiceNetwork) MarshalJSON

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

func (*ModelsUpdateServiceNetwork) SetDescription

func (o *ModelsUpdateServiceNetwork) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (ModelsUpdateServiceNetwork) ToMap

func (o ModelsUpdateServiceNetwork) ToMap() (map[string]interface{}, error)

type ModelsUpdateSite

type ModelsUpdateSite struct {
	Hostname   *string `json:"hostname,omitempty"`
	LinkSecret *string `json:"link_secret,omitempty"`
	Os         *string `json:"os,omitempty"`
	Revision   *int32  `json:"revision,omitempty"`
}

ModelsUpdateSite struct for ModelsUpdateSite

func NewModelsUpdateSite

func NewModelsUpdateSite() *ModelsUpdateSite

NewModelsUpdateSite instantiates a new ModelsUpdateSite 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 NewModelsUpdateSiteWithDefaults

func NewModelsUpdateSiteWithDefaults() *ModelsUpdateSite

NewModelsUpdateSiteWithDefaults instantiates a new ModelsUpdateSite 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 (*ModelsUpdateSite) GetHostname

func (o *ModelsUpdateSite) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*ModelsUpdateSite) GetHostnameOk

func (o *ModelsUpdateSite) GetHostnameOk() (*string, bool)

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

func (*ModelsUpdateSite) GetLinkSecret

func (o *ModelsUpdateSite) GetLinkSecret() string

GetLinkSecret returns the LinkSecret field value if set, zero value otherwise.

func (*ModelsUpdateSite) GetLinkSecretOk

func (o *ModelsUpdateSite) GetLinkSecretOk() (*string, bool)

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

func (*ModelsUpdateSite) GetOs

func (o *ModelsUpdateSite) GetOs() string

GetOs returns the Os field value if set, zero value otherwise.

func (*ModelsUpdateSite) GetOsOk

func (o *ModelsUpdateSite) GetOsOk() (*string, bool)

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

func (*ModelsUpdateSite) GetRevision

func (o *ModelsUpdateSite) GetRevision() int32

GetRevision returns the Revision field value if set, zero value otherwise.

func (*ModelsUpdateSite) GetRevisionOk

func (o *ModelsUpdateSite) GetRevisionOk() (*int32, bool)

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

func (*ModelsUpdateSite) HasHostname

func (o *ModelsUpdateSite) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*ModelsUpdateSite) HasLinkSecret

func (o *ModelsUpdateSite) HasLinkSecret() bool

HasLinkSecret returns a boolean if a field has been set.

func (*ModelsUpdateSite) HasOs

func (o *ModelsUpdateSite) HasOs() bool

HasOs returns a boolean if a field has been set.

func (*ModelsUpdateSite) HasRevision

func (o *ModelsUpdateSite) HasRevision() bool

HasRevision returns a boolean if a field has been set.

func (ModelsUpdateSite) MarshalJSON

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

func (*ModelsUpdateSite) SetHostname

func (o *ModelsUpdateSite) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*ModelsUpdateSite) SetLinkSecret

func (o *ModelsUpdateSite) SetLinkSecret(v string)

SetLinkSecret gets a reference to the given string and assigns it to the LinkSecret field.

func (*ModelsUpdateSite) SetOs

func (o *ModelsUpdateSite) SetOs(v string)

SetOs gets a reference to the given string and assigns it to the Os field.

func (*ModelsUpdateSite) SetRevision

func (o *ModelsUpdateSite) SetRevision(v int32)

SetRevision gets a reference to the given int32 and assigns it to the Revision field.

func (ModelsUpdateSite) ToMap

func (o ModelsUpdateSite) ToMap() (map[string]interface{}, error)

type ModelsUpdateVPC

type ModelsUpdateVPC struct {
	Description *string `json:"description,omitempty"`
}

ModelsUpdateVPC struct for ModelsUpdateVPC

func NewModelsUpdateVPC

func NewModelsUpdateVPC() *ModelsUpdateVPC

NewModelsUpdateVPC instantiates a new ModelsUpdateVPC 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 NewModelsUpdateVPCWithDefaults

func NewModelsUpdateVPCWithDefaults() *ModelsUpdateVPC

NewModelsUpdateVPCWithDefaults instantiates a new ModelsUpdateVPC 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 (*ModelsUpdateVPC) GetDescription

func (o *ModelsUpdateVPC) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ModelsUpdateVPC) GetDescriptionOk

func (o *ModelsUpdateVPC) GetDescriptionOk() (*string, bool)

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

func (*ModelsUpdateVPC) HasDescription

func (o *ModelsUpdateVPC) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (ModelsUpdateVPC) MarshalJSON

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

func (*ModelsUpdateVPC) SetDescription

func (o *ModelsUpdateVPC) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (ModelsUpdateVPC) ToMap

func (o ModelsUpdateVPC) ToMap() (map[string]interface{}, error)

type ModelsUser

type ModelsUser struct {
	FullName *string `json:"full_name,omitempty"`
	Id       *string `json:"id,omitempty"`
	Picture  *string `json:"picture,omitempty"`
	Username *string `json:"username,omitempty"`
}

ModelsUser struct for ModelsUser

func NewModelsUser

func NewModelsUser() *ModelsUser

NewModelsUser instantiates a new ModelsUser 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 NewModelsUserWithDefaults

func NewModelsUserWithDefaults() *ModelsUser

NewModelsUserWithDefaults instantiates a new ModelsUser 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 (*ModelsUser) GetFullName

func (o *ModelsUser) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*ModelsUser) GetFullNameOk

func (o *ModelsUser) GetFullNameOk() (*string, bool)

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

func (*ModelsUser) GetId

func (o *ModelsUser) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ModelsUser) GetIdOk

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

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

func (*ModelsUser) GetPicture

func (o *ModelsUser) GetPicture() string

GetPicture returns the Picture field value if set, zero value otherwise.

func (*ModelsUser) GetPictureOk

func (o *ModelsUser) GetPictureOk() (*string, bool)

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

func (*ModelsUser) GetUsername

func (o *ModelsUser) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*ModelsUser) GetUsernameOk

func (o *ModelsUser) GetUsernameOk() (*string, bool)

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

func (*ModelsUser) HasFullName

func (o *ModelsUser) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*ModelsUser) HasId

func (o *ModelsUser) HasId() bool

HasId returns a boolean if a field has been set.

func (*ModelsUser) HasPicture

func (o *ModelsUser) HasPicture() bool

HasPicture returns a boolean if a field has been set.

func (*ModelsUser) HasUsername

func (o *ModelsUser) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (ModelsUser) MarshalJSON

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

func (*ModelsUser) SetFullName

func (o *ModelsUser) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*ModelsUser) SetId

func (o *ModelsUser) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ModelsUser) SetPicture

func (o *ModelsUser) SetPicture(v string)

SetPicture gets a reference to the given string and assigns it to the Picture field.

func (*ModelsUser) SetUsername

func (o *ModelsUser) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (ModelsUser) ToMap

func (o ModelsUser) ToMap() (map[string]interface{}, error)

type ModelsUserInfoResponse

type ModelsUserInfoResponse struct {
	Email             *string `json:"email,omitempty"`
	EmailVerified     *bool   `json:"email_verified,omitempty"`
	FamilyName        *string `json:"family_name,omitempty"`
	GivenName         *string `json:"given_name,omitempty"`
	Picture           *string `json:"picture,omitempty"`
	PreferredUsername *string `json:"preferred_username,omitempty"`
	Sub               *string `json:"sub,omitempty"`
	UpdatedAt         *int32  `json:"updated_at,omitempty"`
}

ModelsUserInfoResponse struct for ModelsUserInfoResponse

func NewModelsUserInfoResponse

func NewModelsUserInfoResponse() *ModelsUserInfoResponse

NewModelsUserInfoResponse instantiates a new ModelsUserInfoResponse 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 NewModelsUserInfoResponseWithDefaults

func NewModelsUserInfoResponseWithDefaults() *ModelsUserInfoResponse

NewModelsUserInfoResponseWithDefaults instantiates a new ModelsUserInfoResponse 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 (*ModelsUserInfoResponse) GetEmail

func (o *ModelsUserInfoResponse) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*ModelsUserInfoResponse) GetEmailOk

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

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

func (*ModelsUserInfoResponse) GetEmailVerified

func (o *ModelsUserInfoResponse) GetEmailVerified() bool

GetEmailVerified returns the EmailVerified field value if set, zero value otherwise.

func (*ModelsUserInfoResponse) GetEmailVerifiedOk

func (o *ModelsUserInfoResponse) GetEmailVerifiedOk() (*bool, bool)

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

func (*ModelsUserInfoResponse) GetFamilyName

func (o *ModelsUserInfoResponse) GetFamilyName() string

GetFamilyName returns the FamilyName field value if set, zero value otherwise.

func (*ModelsUserInfoResponse) GetFamilyNameOk

func (o *ModelsUserInfoResponse) GetFamilyNameOk() (*string, bool)

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

func (*ModelsUserInfoResponse) GetGivenName

func (o *ModelsUserInfoResponse) GetGivenName() string

GetGivenName returns the GivenName field value if set, zero value otherwise.

func (*ModelsUserInfoResponse) GetGivenNameOk

func (o *ModelsUserInfoResponse) GetGivenNameOk() (*string, bool)

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

func (*ModelsUserInfoResponse) GetPicture

func (o *ModelsUserInfoResponse) GetPicture() string

GetPicture returns the Picture field value if set, zero value otherwise.

func (*ModelsUserInfoResponse) GetPictureOk

func (o *ModelsUserInfoResponse) GetPictureOk() (*string, bool)

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

func (*ModelsUserInfoResponse) GetPreferredUsername

func (o *ModelsUserInfoResponse) GetPreferredUsername() string

GetPreferredUsername returns the PreferredUsername field value if set, zero value otherwise.

func (*ModelsUserInfoResponse) GetPreferredUsernameOk

func (o *ModelsUserInfoResponse) GetPreferredUsernameOk() (*string, bool)

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

func (*ModelsUserInfoResponse) GetSub

func (o *ModelsUserInfoResponse) GetSub() string

GetSub returns the Sub field value if set, zero value otherwise.

func (*ModelsUserInfoResponse) GetSubOk

func (o *ModelsUserInfoResponse) GetSubOk() (*string, bool)

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

func (*ModelsUserInfoResponse) GetUpdatedAt

func (o *ModelsUserInfoResponse) GetUpdatedAt() int32

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ModelsUserInfoResponse) GetUpdatedAtOk

func (o *ModelsUserInfoResponse) GetUpdatedAtOk() (*int32, bool)

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

func (*ModelsUserInfoResponse) HasEmail

func (o *ModelsUserInfoResponse) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*ModelsUserInfoResponse) HasEmailVerified

func (o *ModelsUserInfoResponse) HasEmailVerified() bool

HasEmailVerified returns a boolean if a field has been set.

func (*ModelsUserInfoResponse) HasFamilyName

func (o *ModelsUserInfoResponse) HasFamilyName() bool

HasFamilyName returns a boolean if a field has been set.

func (*ModelsUserInfoResponse) HasGivenName

func (o *ModelsUserInfoResponse) HasGivenName() bool

HasGivenName returns a boolean if a field has been set.

func (*ModelsUserInfoResponse) HasPicture

func (o *ModelsUserInfoResponse) HasPicture() bool

HasPicture returns a boolean if a field has been set.

func (*ModelsUserInfoResponse) HasPreferredUsername

func (o *ModelsUserInfoResponse) HasPreferredUsername() bool

HasPreferredUsername returns a boolean if a field has been set.

func (*ModelsUserInfoResponse) HasSub

func (o *ModelsUserInfoResponse) HasSub() bool

HasSub returns a boolean if a field has been set.

func (*ModelsUserInfoResponse) HasUpdatedAt

func (o *ModelsUserInfoResponse) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (ModelsUserInfoResponse) MarshalJSON

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

func (*ModelsUserInfoResponse) SetEmail

func (o *ModelsUserInfoResponse) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*ModelsUserInfoResponse) SetEmailVerified

func (o *ModelsUserInfoResponse) SetEmailVerified(v bool)

SetEmailVerified gets a reference to the given bool and assigns it to the EmailVerified field.

func (*ModelsUserInfoResponse) SetFamilyName

func (o *ModelsUserInfoResponse) SetFamilyName(v string)

SetFamilyName gets a reference to the given string and assigns it to the FamilyName field.

func (*ModelsUserInfoResponse) SetGivenName

func (o *ModelsUserInfoResponse) SetGivenName(v string)

SetGivenName gets a reference to the given string and assigns it to the GivenName field.

func (*ModelsUserInfoResponse) SetPicture

func (o *ModelsUserInfoResponse) SetPicture(v string)

SetPicture gets a reference to the given string and assigns it to the Picture field.

func (*ModelsUserInfoResponse) SetPreferredUsername

func (o *ModelsUserInfoResponse) SetPreferredUsername(v string)

SetPreferredUsername gets a reference to the given string and assigns it to the PreferredUsername field.

func (*ModelsUserInfoResponse) SetSub

func (o *ModelsUserInfoResponse) SetSub(v string)

SetSub gets a reference to the given string and assigns it to the Sub field.

func (*ModelsUserInfoResponse) SetUpdatedAt

func (o *ModelsUserInfoResponse) SetUpdatedAt(v int32)

SetUpdatedAt gets a reference to the given int32 and assigns it to the UpdatedAt field.

func (ModelsUserInfoResponse) ToMap

func (o ModelsUserInfoResponse) ToMap() (map[string]interface{}, error)

type ModelsUserOrganization

type ModelsUserOrganization struct {
	OrganizationId *string     `json:"organization_id,omitempty"`
	Roles          []string    `json:"roles,omitempty"`
	User           *ModelsUser `json:"user,omitempty"`
	UserId         *string     `json:"user_id,omitempty"`
}

ModelsUserOrganization struct for ModelsUserOrganization

func NewModelsUserOrganization

func NewModelsUserOrganization() *ModelsUserOrganization

NewModelsUserOrganization instantiates a new ModelsUserOrganization 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 NewModelsUserOrganizationWithDefaults

func NewModelsUserOrganizationWithDefaults() *ModelsUserOrganization

NewModelsUserOrganizationWithDefaults instantiates a new ModelsUserOrganization 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 (*ModelsUserOrganization) GetOrganizationId

func (o *ModelsUserOrganization) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ModelsUserOrganization) GetOrganizationIdOk

func (o *ModelsUserOrganization) GetOrganizationIdOk() (*string, bool)

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

func (*ModelsUserOrganization) GetRoles

func (o *ModelsUserOrganization) GetRoles() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*ModelsUserOrganization) GetRolesOk

func (o *ModelsUserOrganization) GetRolesOk() ([]string, bool)

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

func (*ModelsUserOrganization) GetUser

func (o *ModelsUserOrganization) GetUser() ModelsUser

GetUser returns the User field value if set, zero value otherwise.

func (*ModelsUserOrganization) GetUserId

func (o *ModelsUserOrganization) GetUserId() string

GetUserId returns the UserId field value if set, zero value otherwise.

func (*ModelsUserOrganization) GetUserIdOk

func (o *ModelsUserOrganization) GetUserIdOk() (*string, bool)

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

func (*ModelsUserOrganization) GetUserOk

func (o *ModelsUserOrganization) GetUserOk() (*ModelsUser, bool)

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

func (*ModelsUserOrganization) HasOrganizationId

func (o *ModelsUserOrganization) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ModelsUserOrganization) HasRoles

func (o *ModelsUserOrganization) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*ModelsUserOrganization) HasUser

func (o *ModelsUserOrganization) HasUser() bool

HasUser returns a boolean if a field has been set.

func (*ModelsUserOrganization) HasUserId

func (o *ModelsUserOrganization) HasUserId() bool

HasUserId returns a boolean if a field has been set.

func (ModelsUserOrganization) MarshalJSON

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

func (*ModelsUserOrganization) SetOrganizationId

func (o *ModelsUserOrganization) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ModelsUserOrganization) SetRoles

func (o *ModelsUserOrganization) SetRoles(v []string)

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (*ModelsUserOrganization) SetUser

func (o *ModelsUserOrganization) SetUser(v ModelsUser)

SetUser gets a reference to the given ModelsUser and assigns it to the User field.

func (*ModelsUserOrganization) SetUserId

func (o *ModelsUserOrganization) SetUserId(v string)

SetUserId gets a reference to the given string and assigns it to the UserId field.

func (ModelsUserOrganization) ToMap

func (o ModelsUserOrganization) ToMap() (map[string]interface{}, error)

type ModelsVPC

type ModelsVPC struct {
	Description    *string `json:"description,omitempty"`
	Id             *string `json:"id,omitempty"`
	Ipv4Cidr       *string `json:"ipv4_cidr,omitempty"`
	Ipv6Cidr       *string `json:"ipv6_cidr,omitempty"`
	OrganizationId *string `json:"organization_id,omitempty"`
	PrivateCidr    *bool   `json:"private_cidr,omitempty"`
	Revision       *int32  `json:"revision,omitempty"`
}

ModelsVPC struct for ModelsVPC

func NewModelsVPC

func NewModelsVPC() *ModelsVPC

NewModelsVPC instantiates a new ModelsVPC 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 NewModelsVPCWithDefaults

func NewModelsVPCWithDefaults() *ModelsVPC

NewModelsVPCWithDefaults instantiates a new ModelsVPC 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 (*ModelsVPC) GetDescription

func (o *ModelsVPC) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ModelsVPC) GetDescriptionOk

func (o *ModelsVPC) GetDescriptionOk() (*string, bool)

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

func (*ModelsVPC) GetId

func (o *ModelsVPC) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ModelsVPC) GetIdOk

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

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

func (*ModelsVPC) GetIpv4Cidr

func (o *ModelsVPC) GetIpv4Cidr() string

GetIpv4Cidr returns the Ipv4Cidr field value if set, zero value otherwise.

func (*ModelsVPC) GetIpv4CidrOk

func (o *ModelsVPC) GetIpv4CidrOk() (*string, bool)

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

func (*ModelsVPC) GetIpv6Cidr

func (o *ModelsVPC) GetIpv6Cidr() string

GetIpv6Cidr returns the Ipv6Cidr field value if set, zero value otherwise.

func (*ModelsVPC) GetIpv6CidrOk

func (o *ModelsVPC) GetIpv6CidrOk() (*string, bool)

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

func (*ModelsVPC) GetOrganizationId

func (o *ModelsVPC) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ModelsVPC) GetOrganizationIdOk

func (o *ModelsVPC) GetOrganizationIdOk() (*string, bool)

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

func (*ModelsVPC) GetPrivateCidr

func (o *ModelsVPC) GetPrivateCidr() bool

GetPrivateCidr returns the PrivateCidr field value if set, zero value otherwise.

func (*ModelsVPC) GetPrivateCidrOk

func (o *ModelsVPC) GetPrivateCidrOk() (*bool, bool)

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

func (*ModelsVPC) GetRevision

func (o *ModelsVPC) GetRevision() int32

GetRevision returns the Revision field value if set, zero value otherwise.

func (*ModelsVPC) GetRevisionOk

func (o *ModelsVPC) GetRevisionOk() (*int32, bool)

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

func (*ModelsVPC) HasDescription

func (o *ModelsVPC) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ModelsVPC) HasId

func (o *ModelsVPC) HasId() bool

HasId returns a boolean if a field has been set.

func (*ModelsVPC) HasIpv4Cidr

func (o *ModelsVPC) HasIpv4Cidr() bool

HasIpv4Cidr returns a boolean if a field has been set.

func (*ModelsVPC) HasIpv6Cidr

func (o *ModelsVPC) HasIpv6Cidr() bool

HasIpv6Cidr returns a boolean if a field has been set.

func (*ModelsVPC) HasOrganizationId

func (o *ModelsVPC) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ModelsVPC) HasPrivateCidr

func (o *ModelsVPC) HasPrivateCidr() bool

HasPrivateCidr returns a boolean if a field has been set.

func (*ModelsVPC) HasRevision

func (o *ModelsVPC) HasRevision() bool

HasRevision returns a boolean if a field has been set.

func (ModelsVPC) MarshalJSON

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

func (*ModelsVPC) SetDescription

func (o *ModelsVPC) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ModelsVPC) SetId

func (o *ModelsVPC) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ModelsVPC) SetIpv4Cidr

func (o *ModelsVPC) SetIpv4Cidr(v string)

SetIpv4Cidr gets a reference to the given string and assigns it to the Ipv4Cidr field.

func (*ModelsVPC) SetIpv6Cidr

func (o *ModelsVPC) SetIpv6Cidr(v string)

SetIpv6Cidr gets a reference to the given string and assigns it to the Ipv6Cidr field.

func (*ModelsVPC) SetOrganizationId

func (o *ModelsVPC) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ModelsVPC) SetPrivateCidr

func (o *ModelsVPC) SetPrivateCidr(v bool)

SetPrivateCidr gets a reference to the given bool and assigns it to the PrivateCidr field.

func (*ModelsVPC) SetRevision

func (o *ModelsVPC) SetRevision(v int32)

SetRevision gets a reference to the given int32 and assigns it to the Revision field.

func (ModelsVPC) ToMap

func (o ModelsVPC) ToMap() (map[string]interface{}, error)

type ModelsValidationError

type ModelsValidationError struct {
	Error  *string `json:"error,omitempty"`
	Field  *string `json:"field,omitempty"`
	Reason *string `json:"reason,omitempty"`
}

ModelsValidationError struct for ModelsValidationError

func NewModelsValidationError

func NewModelsValidationError() *ModelsValidationError

NewModelsValidationError instantiates a new ModelsValidationError 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 NewModelsValidationErrorWithDefaults

func NewModelsValidationErrorWithDefaults() *ModelsValidationError

NewModelsValidationErrorWithDefaults instantiates a new ModelsValidationError 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 (*ModelsValidationError) GetError

func (o *ModelsValidationError) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ModelsValidationError) GetErrorOk

func (o *ModelsValidationError) GetErrorOk() (*string, bool)

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

func (*ModelsValidationError) GetField

func (o *ModelsValidationError) GetField() string

GetField returns the Field field value if set, zero value otherwise.

func (*ModelsValidationError) GetFieldOk

func (o *ModelsValidationError) GetFieldOk() (*string, bool)

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

func (*ModelsValidationError) GetReason

func (o *ModelsValidationError) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*ModelsValidationError) GetReasonOk

func (o *ModelsValidationError) GetReasonOk() (*string, bool)

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

func (*ModelsValidationError) HasError

func (o *ModelsValidationError) HasError() bool

HasError returns a boolean if a field has been set.

func (*ModelsValidationError) HasField

func (o *ModelsValidationError) HasField() bool

HasField returns a boolean if a field has been set.

func (*ModelsValidationError) HasReason

func (o *ModelsValidationError) HasReason() bool

HasReason returns a boolean if a field has been set.

func (ModelsValidationError) MarshalJSON

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

func (*ModelsValidationError) SetError

func (o *ModelsValidationError) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*ModelsValidationError) SetField

func (o *ModelsValidationError) SetField(v string)

SetField gets a reference to the given string and assigns it to the Field field.

func (*ModelsValidationError) SetReason

func (o *ModelsValidationError) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (ModelsValidationError) ToMap

func (o ModelsValidationError) ToMap() (map[string]interface{}, error)

type ModelsWatch

type ModelsWatch struct {
	AtTail     *bool                  `json:"at_tail,omitempty"`
	GtRevision *int32                 `json:"gt_revision,omitempty"`
	Kind       *string                `json:"kind,omitempty"`
	Options    map[string]interface{} `json:"options,omitempty"`
}

ModelsWatch struct for ModelsWatch

func NewModelsWatch

func NewModelsWatch() *ModelsWatch

NewModelsWatch instantiates a new ModelsWatch 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 NewModelsWatchWithDefaults

func NewModelsWatchWithDefaults() *ModelsWatch

NewModelsWatchWithDefaults instantiates a new ModelsWatch 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 (*ModelsWatch) GetAtTail

func (o *ModelsWatch) GetAtTail() bool

GetAtTail returns the AtTail field value if set, zero value otherwise.

func (*ModelsWatch) GetAtTailOk

func (o *ModelsWatch) GetAtTailOk() (*bool, bool)

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

func (*ModelsWatch) GetGtRevision

func (o *ModelsWatch) GetGtRevision() int32

GetGtRevision returns the GtRevision field value if set, zero value otherwise.

func (*ModelsWatch) GetGtRevisionOk

func (o *ModelsWatch) GetGtRevisionOk() (*int32, bool)

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

func (*ModelsWatch) GetKind

func (o *ModelsWatch) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*ModelsWatch) GetKindOk

func (o *ModelsWatch) GetKindOk() (*string, bool)

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

func (*ModelsWatch) GetOptions

func (o *ModelsWatch) GetOptions() map[string]interface{}

GetOptions returns the Options field value if set, zero value otherwise.

func (*ModelsWatch) GetOptionsOk

func (o *ModelsWatch) GetOptionsOk() (map[string]interface{}, bool)

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

func (*ModelsWatch) HasAtTail

func (o *ModelsWatch) HasAtTail() bool

HasAtTail returns a boolean if a field has been set.

func (*ModelsWatch) HasGtRevision

func (o *ModelsWatch) HasGtRevision() bool

HasGtRevision returns a boolean if a field has been set.

func (*ModelsWatch) HasKind

func (o *ModelsWatch) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*ModelsWatch) HasOptions

func (o *ModelsWatch) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (ModelsWatch) MarshalJSON

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

func (*ModelsWatch) SetAtTail

func (o *ModelsWatch) SetAtTail(v bool)

SetAtTail gets a reference to the given bool and assigns it to the AtTail field.

func (*ModelsWatch) SetGtRevision

func (o *ModelsWatch) SetGtRevision(v int32)

SetGtRevision gets a reference to the given int32 and assigns it to the GtRevision field.

func (*ModelsWatch) SetKind

func (o *ModelsWatch) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*ModelsWatch) SetOptions

func (o *ModelsWatch) SetOptions(v map[string]interface{})

SetOptions gets a reference to the given map[string]interface{} and assigns it to the Options field.

func (ModelsWatch) ToMap

func (o ModelsWatch) ToMap() (map[string]interface{}, error)

type ModelsWatchEvent

type ModelsWatchEvent struct {
	Kind  *string                `json:"kind,omitempty"`
	Type  *string                `json:"type,omitempty"`
	Value map[string]interface{} `json:"value,omitempty"`
}

ModelsWatchEvent struct for ModelsWatchEvent

func NewModelsWatchEvent

func NewModelsWatchEvent() *ModelsWatchEvent

NewModelsWatchEvent instantiates a new ModelsWatchEvent 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 NewModelsWatchEventWithDefaults

func NewModelsWatchEventWithDefaults() *ModelsWatchEvent

NewModelsWatchEventWithDefaults instantiates a new ModelsWatchEvent 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 (*ModelsWatchEvent) GetKind

func (o *ModelsWatchEvent) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*ModelsWatchEvent) GetKindOk

func (o *ModelsWatchEvent) GetKindOk() (*string, bool)

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

func (*ModelsWatchEvent) GetType

func (o *ModelsWatchEvent) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ModelsWatchEvent) GetTypeOk

func (o *ModelsWatchEvent) GetTypeOk() (*string, bool)

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

func (*ModelsWatchEvent) GetValue

func (o *ModelsWatchEvent) GetValue() map[string]interface{}

GetValue returns the Value field value if set, zero value otherwise.

func (*ModelsWatchEvent) GetValueOk

func (o *ModelsWatchEvent) GetValueOk() (map[string]interface{}, bool)

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

func (*ModelsWatchEvent) HasKind

func (o *ModelsWatchEvent) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*ModelsWatchEvent) HasType

func (o *ModelsWatchEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (*ModelsWatchEvent) HasValue

func (o *ModelsWatchEvent) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ModelsWatchEvent) MarshalJSON

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

func (*ModelsWatchEvent) SetKind

func (o *ModelsWatchEvent) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*ModelsWatchEvent) SetType

func (o *ModelsWatchEvent) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ModelsWatchEvent) SetValue

func (o *ModelsWatchEvent) SetValue(v map[string]interface{})

SetValue gets a reference to the given map[string]interface{} and assigns it to the Value field.

func (ModelsWatchEvent) ToMap

func (o ModelsWatchEvent) ToMap() (map[string]interface{}, error)

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 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 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 NullableModelsAddDevice

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

func NewNullableModelsAddDevice

func NewNullableModelsAddDevice(val *ModelsAddDevice) *NullableModelsAddDevice

func (NullableModelsAddDevice) Get

func (NullableModelsAddDevice) IsSet

func (v NullableModelsAddDevice) IsSet() bool

func (NullableModelsAddDevice) MarshalJSON

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

func (*NullableModelsAddDevice) Set

func (*NullableModelsAddDevice) UnmarshalJSON

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

func (*NullableModelsAddDevice) Unset

func (v *NullableModelsAddDevice) Unset()

type NullableModelsAddInvitation

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

func NewNullableModelsAddInvitation

func NewNullableModelsAddInvitation(val *ModelsAddInvitation) *NullableModelsAddInvitation

func (NullableModelsAddInvitation) Get

func (NullableModelsAddInvitation) IsSet

func (NullableModelsAddInvitation) MarshalJSON

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

func (*NullableModelsAddInvitation) Set

func (*NullableModelsAddInvitation) UnmarshalJSON

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

func (*NullableModelsAddInvitation) Unset

func (v *NullableModelsAddInvitation) Unset()

type NullableModelsAddOrganization

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

func (NullableModelsAddOrganization) Get

func (NullableModelsAddOrganization) IsSet

func (NullableModelsAddOrganization) MarshalJSON

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

func (*NullableModelsAddOrganization) Set

func (*NullableModelsAddOrganization) UnmarshalJSON

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

func (*NullableModelsAddOrganization) Unset

func (v *NullableModelsAddOrganization) Unset()

type NullableModelsAddRegKey

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

func NewNullableModelsAddRegKey

func NewNullableModelsAddRegKey(val *ModelsAddRegKey) *NullableModelsAddRegKey

func (NullableModelsAddRegKey) Get

func (NullableModelsAddRegKey) IsSet

func (v NullableModelsAddRegKey) IsSet() bool

func (NullableModelsAddRegKey) MarshalJSON

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

func (*NullableModelsAddRegKey) Set

func (*NullableModelsAddRegKey) UnmarshalJSON

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

func (*NullableModelsAddRegKey) Unset

func (v *NullableModelsAddRegKey) Unset()

type NullableModelsAddSecurityGroup

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

func (NullableModelsAddSecurityGroup) Get

func (NullableModelsAddSecurityGroup) IsSet

func (NullableModelsAddSecurityGroup) MarshalJSON

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

func (*NullableModelsAddSecurityGroup) Set

func (*NullableModelsAddSecurityGroup) UnmarshalJSON

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

func (*NullableModelsAddSecurityGroup) Unset

func (v *NullableModelsAddSecurityGroup) Unset()

type NullableModelsAddServiceNetwork

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

func (NullableModelsAddServiceNetwork) Get

func (NullableModelsAddServiceNetwork) IsSet

func (NullableModelsAddServiceNetwork) MarshalJSON

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

func (*NullableModelsAddServiceNetwork) Set

func (*NullableModelsAddServiceNetwork) UnmarshalJSON

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

func (*NullableModelsAddServiceNetwork) Unset

type NullableModelsAddSite

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

func NewNullableModelsAddSite

func NewNullableModelsAddSite(val *ModelsAddSite) *NullableModelsAddSite

func (NullableModelsAddSite) Get

func (NullableModelsAddSite) IsSet

func (v NullableModelsAddSite) IsSet() bool

func (NullableModelsAddSite) MarshalJSON

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

func (*NullableModelsAddSite) Set

func (v *NullableModelsAddSite) Set(val *ModelsAddSite)

func (*NullableModelsAddSite) UnmarshalJSON

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

func (*NullableModelsAddSite) Unset

func (v *NullableModelsAddSite) Unset()

type NullableModelsAddVPC

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

func NewNullableModelsAddVPC

func NewNullableModelsAddVPC(val *ModelsAddVPC) *NullableModelsAddVPC

func (NullableModelsAddVPC) Get

func (NullableModelsAddVPC) IsSet

func (v NullableModelsAddVPC) IsSet() bool

func (NullableModelsAddVPC) MarshalJSON

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

func (*NullableModelsAddVPC) Set

func (v *NullableModelsAddVPC) Set(val *ModelsAddVPC)

func (*NullableModelsAddVPC) UnmarshalJSON

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

func (*NullableModelsAddVPC) Unset

func (v *NullableModelsAddVPC) Unset()

type NullableModelsBaseError

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

func NewNullableModelsBaseError

func NewNullableModelsBaseError(val *ModelsBaseError) *NullableModelsBaseError

func (NullableModelsBaseError) Get

func (NullableModelsBaseError) IsSet

func (v NullableModelsBaseError) IsSet() bool

func (NullableModelsBaseError) MarshalJSON

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

func (*NullableModelsBaseError) Set

func (*NullableModelsBaseError) UnmarshalJSON

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

func (*NullableModelsBaseError) Unset

func (v *NullableModelsBaseError) Unset()

type NullableModelsCertificateSigningRequest

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

func (NullableModelsCertificateSigningRequest) Get

func (NullableModelsCertificateSigningRequest) IsSet

func (NullableModelsCertificateSigningRequest) MarshalJSON

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

func (*NullableModelsCertificateSigningRequest) Set

func (*NullableModelsCertificateSigningRequest) UnmarshalJSON

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

func (*NullableModelsCertificateSigningRequest) Unset

type NullableModelsCertificateSigningResponse

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

func (NullableModelsCertificateSigningResponse) Get

func (NullableModelsCertificateSigningResponse) IsSet

func (NullableModelsCertificateSigningResponse) MarshalJSON

func (*NullableModelsCertificateSigningResponse) Set

func (*NullableModelsCertificateSigningResponse) UnmarshalJSON

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

func (*NullableModelsCertificateSigningResponse) Unset

type NullableModelsConflictsError

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

func NewNullableModelsConflictsError

func NewNullableModelsConflictsError(val *ModelsConflictsError) *NullableModelsConflictsError

func (NullableModelsConflictsError) Get

func (NullableModelsConflictsError) IsSet

func (NullableModelsConflictsError) MarshalJSON

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

func (*NullableModelsConflictsError) Set

func (*NullableModelsConflictsError) UnmarshalJSON

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

func (*NullableModelsConflictsError) Unset

func (v *NullableModelsConflictsError) Unset()

type NullableModelsDevice

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

func NewNullableModelsDevice

func NewNullableModelsDevice(val *ModelsDevice) *NullableModelsDevice

func (NullableModelsDevice) Get

func (NullableModelsDevice) IsSet

func (v NullableModelsDevice) IsSet() bool

func (NullableModelsDevice) MarshalJSON

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

func (*NullableModelsDevice) Set

func (v *NullableModelsDevice) Set(val *ModelsDevice)

func (*NullableModelsDevice) UnmarshalJSON

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

func (*NullableModelsDevice) Unset

func (v *NullableModelsDevice) Unset()

type NullableModelsDeviceMetadata

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

func NewNullableModelsDeviceMetadata

func NewNullableModelsDeviceMetadata(val *ModelsDeviceMetadata) *NullableModelsDeviceMetadata

func (NullableModelsDeviceMetadata) Get

func (NullableModelsDeviceMetadata) IsSet

func (NullableModelsDeviceMetadata) MarshalJSON

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

func (*NullableModelsDeviceMetadata) Set

func (*NullableModelsDeviceMetadata) UnmarshalJSON

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

func (*NullableModelsDeviceMetadata) Unset

func (v *NullableModelsDeviceMetadata) Unset()

type NullableModelsDeviceStartResponse

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

func (NullableModelsDeviceStartResponse) Get

func (NullableModelsDeviceStartResponse) IsSet

func (NullableModelsDeviceStartResponse) MarshalJSON

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

func (*NullableModelsDeviceStartResponse) Set

func (*NullableModelsDeviceStartResponse) UnmarshalJSON

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

func (*NullableModelsDeviceStartResponse) Unset

type NullableModelsEndpoint

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

func NewNullableModelsEndpoint

func NewNullableModelsEndpoint(val *ModelsEndpoint) *NullableModelsEndpoint

func (NullableModelsEndpoint) Get

func (NullableModelsEndpoint) IsSet

func (v NullableModelsEndpoint) IsSet() bool

func (NullableModelsEndpoint) MarshalJSON

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

func (*NullableModelsEndpoint) Set

func (*NullableModelsEndpoint) UnmarshalJSON

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

func (*NullableModelsEndpoint) Unset

func (v *NullableModelsEndpoint) Unset()

type NullableModelsInternalServerError

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

func (NullableModelsInternalServerError) Get

func (NullableModelsInternalServerError) IsSet

func (NullableModelsInternalServerError) MarshalJSON

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

func (*NullableModelsInternalServerError) Set

func (*NullableModelsInternalServerError) UnmarshalJSON

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

func (*NullableModelsInternalServerError) Unset

type NullableModelsInvitation

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

func NewNullableModelsInvitation

func NewNullableModelsInvitation(val *ModelsInvitation) *NullableModelsInvitation

func (NullableModelsInvitation) Get

func (NullableModelsInvitation) IsSet

func (v NullableModelsInvitation) IsSet() bool

func (NullableModelsInvitation) MarshalJSON

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

func (*NullableModelsInvitation) Set

func (*NullableModelsInvitation) UnmarshalJSON

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

func (*NullableModelsInvitation) Unset

func (v *NullableModelsInvitation) Unset()

type NullableModelsKeyUsage

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

func NewNullableModelsKeyUsage

func NewNullableModelsKeyUsage(val *ModelsKeyUsage) *NullableModelsKeyUsage

func (NullableModelsKeyUsage) Get

func (NullableModelsKeyUsage) IsSet

func (v NullableModelsKeyUsage) IsSet() bool

func (NullableModelsKeyUsage) MarshalJSON

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

func (*NullableModelsKeyUsage) Set

func (*NullableModelsKeyUsage) UnmarshalJSON

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

func (*NullableModelsKeyUsage) Unset

func (v *NullableModelsKeyUsage) Unset()

type NullableModelsNotAllowedError

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

func (NullableModelsNotAllowedError) Get

func (NullableModelsNotAllowedError) IsSet

func (NullableModelsNotAllowedError) MarshalJSON

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

func (*NullableModelsNotAllowedError) Set

func (*NullableModelsNotAllowedError) UnmarshalJSON

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

func (*NullableModelsNotAllowedError) Unset

func (v *NullableModelsNotAllowedError) Unset()

type NullableModelsOrganization

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

func NewNullableModelsOrganization

func NewNullableModelsOrganization(val *ModelsOrganization) *NullableModelsOrganization

func (NullableModelsOrganization) Get

func (NullableModelsOrganization) IsSet

func (v NullableModelsOrganization) IsSet() bool

func (NullableModelsOrganization) MarshalJSON

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

func (*NullableModelsOrganization) Set

func (*NullableModelsOrganization) UnmarshalJSON

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

func (*NullableModelsOrganization) Unset

func (v *NullableModelsOrganization) Unset()

type NullableModelsRegKey

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

func NewNullableModelsRegKey

func NewNullableModelsRegKey(val *ModelsRegKey) *NullableModelsRegKey

func (NullableModelsRegKey) Get

func (NullableModelsRegKey) IsSet

func (v NullableModelsRegKey) IsSet() bool

func (NullableModelsRegKey) MarshalJSON

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

func (*NullableModelsRegKey) Set

func (v *NullableModelsRegKey) Set(val *ModelsRegKey)

func (*NullableModelsRegKey) UnmarshalJSON

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

func (*NullableModelsRegKey) Unset

func (v *NullableModelsRegKey) Unset()

type NullableModelsSecurityGroup

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

func NewNullableModelsSecurityGroup

func NewNullableModelsSecurityGroup(val *ModelsSecurityGroup) *NullableModelsSecurityGroup

func (NullableModelsSecurityGroup) Get

func (NullableModelsSecurityGroup) IsSet

func (NullableModelsSecurityGroup) MarshalJSON

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

func (*NullableModelsSecurityGroup) Set

func (*NullableModelsSecurityGroup) UnmarshalJSON

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

func (*NullableModelsSecurityGroup) Unset

func (v *NullableModelsSecurityGroup) Unset()

type NullableModelsSecurityRule

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

func NewNullableModelsSecurityRule

func NewNullableModelsSecurityRule(val *ModelsSecurityRule) *NullableModelsSecurityRule

func (NullableModelsSecurityRule) Get

func (NullableModelsSecurityRule) IsSet

func (v NullableModelsSecurityRule) IsSet() bool

func (NullableModelsSecurityRule) MarshalJSON

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

func (*NullableModelsSecurityRule) Set

func (*NullableModelsSecurityRule) UnmarshalJSON

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

func (*NullableModelsSecurityRule) Unset

func (v *NullableModelsSecurityRule) Unset()

type NullableModelsServiceNetwork

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

func NewNullableModelsServiceNetwork

func NewNullableModelsServiceNetwork(val *ModelsServiceNetwork) *NullableModelsServiceNetwork

func (NullableModelsServiceNetwork) Get

func (NullableModelsServiceNetwork) IsSet

func (NullableModelsServiceNetwork) MarshalJSON

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

func (*NullableModelsServiceNetwork) Set

func (*NullableModelsServiceNetwork) UnmarshalJSON

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

func (*NullableModelsServiceNetwork) Unset

func (v *NullableModelsServiceNetwork) Unset()

type NullableModelsSite

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

func NewNullableModelsSite

func NewNullableModelsSite(val *ModelsSite) *NullableModelsSite

func (NullableModelsSite) Get

func (v NullableModelsSite) Get() *ModelsSite

func (NullableModelsSite) IsSet

func (v NullableModelsSite) IsSet() bool

func (NullableModelsSite) MarshalJSON

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

func (*NullableModelsSite) Set

func (v *NullableModelsSite) Set(val *ModelsSite)

func (*NullableModelsSite) UnmarshalJSON

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

func (*NullableModelsSite) Unset

func (v *NullableModelsSite) Unset()

type NullableModelsTunnelIP

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

func NewNullableModelsTunnelIP

func NewNullableModelsTunnelIP(val *ModelsTunnelIP) *NullableModelsTunnelIP

func (NullableModelsTunnelIP) Get

func (NullableModelsTunnelIP) IsSet

func (v NullableModelsTunnelIP) IsSet() bool

func (NullableModelsTunnelIP) MarshalJSON

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

func (*NullableModelsTunnelIP) Set

func (*NullableModelsTunnelIP) UnmarshalJSON

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

func (*NullableModelsTunnelIP) Unset

func (v *NullableModelsTunnelIP) Unset()

type NullableModelsUpdateDevice

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

func NewNullableModelsUpdateDevice

func NewNullableModelsUpdateDevice(val *ModelsUpdateDevice) *NullableModelsUpdateDevice

func (NullableModelsUpdateDevice) Get

func (NullableModelsUpdateDevice) IsSet

func (v NullableModelsUpdateDevice) IsSet() bool

func (NullableModelsUpdateDevice) MarshalJSON

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

func (*NullableModelsUpdateDevice) Set

func (*NullableModelsUpdateDevice) UnmarshalJSON

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

func (*NullableModelsUpdateDevice) Unset

func (v *NullableModelsUpdateDevice) Unset()

type NullableModelsUpdateRegKey

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

func NewNullableModelsUpdateRegKey

func NewNullableModelsUpdateRegKey(val *ModelsUpdateRegKey) *NullableModelsUpdateRegKey

func (NullableModelsUpdateRegKey) Get

func (NullableModelsUpdateRegKey) IsSet

func (v NullableModelsUpdateRegKey) IsSet() bool

func (NullableModelsUpdateRegKey) MarshalJSON

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

func (*NullableModelsUpdateRegKey) Set

func (*NullableModelsUpdateRegKey) UnmarshalJSON

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

func (*NullableModelsUpdateRegKey) Unset

func (v *NullableModelsUpdateRegKey) Unset()

type NullableModelsUpdateSecurityGroup

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

func (NullableModelsUpdateSecurityGroup) Get

func (NullableModelsUpdateSecurityGroup) IsSet

func (NullableModelsUpdateSecurityGroup) MarshalJSON

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

func (*NullableModelsUpdateSecurityGroup) Set

func (*NullableModelsUpdateSecurityGroup) UnmarshalJSON

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

func (*NullableModelsUpdateSecurityGroup) Unset

type NullableModelsUpdateServiceNetwork

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

func (NullableModelsUpdateServiceNetwork) Get

func (NullableModelsUpdateServiceNetwork) IsSet

func (NullableModelsUpdateServiceNetwork) MarshalJSON

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

func (*NullableModelsUpdateServiceNetwork) Set

func (*NullableModelsUpdateServiceNetwork) UnmarshalJSON

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

func (*NullableModelsUpdateServiceNetwork) Unset

type NullableModelsUpdateSite

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

func NewNullableModelsUpdateSite

func NewNullableModelsUpdateSite(val *ModelsUpdateSite) *NullableModelsUpdateSite

func (NullableModelsUpdateSite) Get

func (NullableModelsUpdateSite) IsSet

func (v NullableModelsUpdateSite) IsSet() bool

func (NullableModelsUpdateSite) MarshalJSON

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

func (*NullableModelsUpdateSite) Set

func (*NullableModelsUpdateSite) UnmarshalJSON

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

func (*NullableModelsUpdateSite) Unset

func (v *NullableModelsUpdateSite) Unset()

type NullableModelsUpdateVPC

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

func NewNullableModelsUpdateVPC

func NewNullableModelsUpdateVPC(val *ModelsUpdateVPC) *NullableModelsUpdateVPC

func (NullableModelsUpdateVPC) Get

func (NullableModelsUpdateVPC) IsSet

func (v NullableModelsUpdateVPC) IsSet() bool

func (NullableModelsUpdateVPC) MarshalJSON

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

func (*NullableModelsUpdateVPC) Set

func (*NullableModelsUpdateVPC) UnmarshalJSON

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

func (*NullableModelsUpdateVPC) Unset

func (v *NullableModelsUpdateVPC) Unset()

type NullableModelsUser

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

func NewNullableModelsUser

func NewNullableModelsUser(val *ModelsUser) *NullableModelsUser

func (NullableModelsUser) Get

func (v NullableModelsUser) Get() *ModelsUser

func (NullableModelsUser) IsSet

func (v NullableModelsUser) IsSet() bool

func (NullableModelsUser) MarshalJSON

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

func (*NullableModelsUser) Set

func (v *NullableModelsUser) Set(val *ModelsUser)

func (*NullableModelsUser) UnmarshalJSON

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

func (*NullableModelsUser) Unset

func (v *NullableModelsUser) Unset()

type NullableModelsUserInfoResponse

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

func (NullableModelsUserInfoResponse) Get

func (NullableModelsUserInfoResponse) IsSet

func (NullableModelsUserInfoResponse) MarshalJSON

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

func (*NullableModelsUserInfoResponse) Set

func (*NullableModelsUserInfoResponse) UnmarshalJSON

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

func (*NullableModelsUserInfoResponse) Unset

func (v *NullableModelsUserInfoResponse) Unset()

type NullableModelsUserOrganization

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

func (NullableModelsUserOrganization) Get

func (NullableModelsUserOrganization) IsSet

func (NullableModelsUserOrganization) MarshalJSON

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

func (*NullableModelsUserOrganization) Set

func (*NullableModelsUserOrganization) UnmarshalJSON

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

func (*NullableModelsUserOrganization) Unset

func (v *NullableModelsUserOrganization) Unset()

type NullableModelsVPC

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

func NewNullableModelsVPC

func NewNullableModelsVPC(val *ModelsVPC) *NullableModelsVPC

func (NullableModelsVPC) Get

func (v NullableModelsVPC) Get() *ModelsVPC

func (NullableModelsVPC) IsSet

func (v NullableModelsVPC) IsSet() bool

func (NullableModelsVPC) MarshalJSON

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

func (*NullableModelsVPC) Set

func (v *NullableModelsVPC) Set(val *ModelsVPC)

func (*NullableModelsVPC) UnmarshalJSON

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

func (*NullableModelsVPC) Unset

func (v *NullableModelsVPC) Unset()

type NullableModelsValidationError

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

func (NullableModelsValidationError) Get

func (NullableModelsValidationError) IsSet

func (NullableModelsValidationError) MarshalJSON

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

func (*NullableModelsValidationError) Set

func (*NullableModelsValidationError) UnmarshalJSON

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

func (*NullableModelsValidationError) Unset

func (v *NullableModelsValidationError) Unset()

type NullableModelsWatch

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

func NewNullableModelsWatch

func NewNullableModelsWatch(val *ModelsWatch) *NullableModelsWatch

func (NullableModelsWatch) Get

func (NullableModelsWatch) IsSet

func (v NullableModelsWatch) IsSet() bool

func (NullableModelsWatch) MarshalJSON

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

func (*NullableModelsWatch) Set

func (v *NullableModelsWatch) Set(val *ModelsWatch)

func (*NullableModelsWatch) UnmarshalJSON

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

func (*NullableModelsWatch) Unset

func (v *NullableModelsWatch) Unset()

type NullableModelsWatchEvent

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

func NewNullableModelsWatchEvent

func NewNullableModelsWatchEvent(val *ModelsWatchEvent) *NullableModelsWatchEvent

func (NullableModelsWatchEvent) Get

func (NullableModelsWatchEvent) IsSet

func (v NullableModelsWatchEvent) IsSet() bool

func (NullableModelsWatchEvent) MarshalJSON

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

func (*NullableModelsWatchEvent) Set

func (*NullableModelsWatchEvent) UnmarshalJSON

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

func (*NullableModelsWatchEvent) Unset

func (v *NullableModelsWatchEvent) 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 Option

type Option func(o *options) error

func WithBearerToken

func WithBearerToken(
	bearerToken string,
) Option

func WithDeviceFlow

func WithDeviceFlow() Option

func WithPasswordGrant

func WithPasswordGrant(
	username string,
	password string,
) Option

func WithTLSConfig

func WithTLSConfig(
	config *tls.Config,
) Option

func WithTokenStore

func WithTokenStore(
	tokenStore TokenStore,
) Option

func WithUserAgent

func WithUserAgent(
	userAgent string,
) Option

type OrganizationsApiService

type OrganizationsApiService service

OrganizationsApiService OrganizationsApi service

func (*OrganizationsApiService) CreateOrganization

CreateOrganization Create an Organization

Creates a named organization with the given CIDR

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

func (*OrganizationsApiService) CreateOrganizationExecute

Execute executes the request

@return ModelsOrganization

func (*OrganizationsApiService) DeleteOrganization

DeleteOrganization Delete Organization

Deletes an existing organization and associated IPAM prefix

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

func (*OrganizationsApiService) DeleteOrganizationExecute

Execute executes the request

@return ModelsOrganization

func (*OrganizationsApiService) DeleteOrganizationUser

func (a *OrganizationsApiService) DeleteOrganizationUser(ctx context.Context, id string, uid string) ApiDeleteOrganizationUserRequest

DeleteOrganizationUser Delete a Organization User

Deletes an existing organization user

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

func (*OrganizationsApiService) DeleteOrganizationUserExecute

Execute executes the request

@return ModelsUserOrganization

func (*OrganizationsApiService) GetOrganizationUser

GetOrganizationUser Get Organization User

Gets a Organization User by Organization ID and User ID

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

func (*OrganizationsApiService) GetOrganizationUserExecute

Execute executes the request

@return ModelsUserOrganization

func (*OrganizationsApiService) GetOrganizations

GetOrganizations Get Organizations

Gets a Organization by Organization ID

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

func (*OrganizationsApiService) GetOrganizationsExecute

Execute executes the request

@return ModelsOrganization

func (*OrganizationsApiService) ListOrganizationUsers

ListOrganizationUsers List Organization Users

Lists all the users of an organization

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

func (*OrganizationsApiService) ListOrganizationUsersExecute

Execute executes the request

@return []ModelsUserOrganization

func (*OrganizationsApiService) ListOrganizations

ListOrganizations List Organizations

Lists all Organizations

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

func (*OrganizationsApiService) ListOrganizationsExecute

Execute executes the request

@return []ModelsOrganization

type RegKeyApiService

type RegKeyApiService service

RegKeyApiService RegKeyApi service

func (*RegKeyApiService) CreateRegKey

CreateRegKey Create a RegKey

Create a RegKey for a vpc

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

func (*RegKeyApiService) CreateRegKeyExecute

func (a *RegKeyApiService) CreateRegKeyExecute(r ApiCreateRegKeyRequest) (*ModelsRegKey, *http.Response, error)

Execute executes the request

@return ModelsRegKey

func (*RegKeyApiService) DeleteRegKey

DeleteRegKey Delete RegKey

Deletes an existing RegKey

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

func (*RegKeyApiService) DeleteRegKeyExecute

func (a *RegKeyApiService) DeleteRegKeyExecute(r ApiDeleteRegKeyRequest) (*ModelsRegKey, *http.Response, error)

Execute executes the request

@return ModelsRegKey

func (*RegKeyApiService) GetRegKey

GetRegKey Get a RegKey

Gets a RegKey by RegKey ID

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

func (*RegKeyApiService) GetRegKeyExecute

func (a *RegKeyApiService) GetRegKeyExecute(r ApiGetRegKeyRequest) (*ModelsRegKey, *http.Response, error)

Execute executes the request

@return ModelsRegKey

func (*RegKeyApiService) ListRegKeys

ListRegKeys List reg keys

Lists all reg keys

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

func (*RegKeyApiService) ListRegKeysExecute

func (a *RegKeyApiService) ListRegKeysExecute(r ApiListRegKeysRequest) ([]ModelsRegKey, *http.Response, error)

Execute executes the request

@return []ModelsRegKey

func (*RegKeyApiService) UpdateRegKey

UpdateRegKey Update RegKey

Updates a RegKey by ID

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

func (*RegKeyApiService) UpdateRegKeyExecute

func (a *RegKeyApiService) UpdateRegKeyExecute(r ApiUpdateRegKeyRequest) (*ModelsRegKey, *http.Response, error)

Execute executes the request

@return ModelsRegKey

type RoundTripperFunc

type RoundTripperFunc func(req *http.Request) (*http.Response, error)

func (RoundTripperFunc) RoundTrip

func (fn RoundTripperFunc) RoundTrip(req *http.Request) (*http.Response, error)

type SecurityGroupAdaptor

type SecurityGroupAdaptor struct{}

func (SecurityGroupAdaptor) Item

func (d SecurityGroupAdaptor) Item(value map[string]interface{}) (ModelsSecurityGroup, error)

func (SecurityGroupAdaptor) Key

func (SecurityGroupAdaptor) Kind

func (d SecurityGroupAdaptor) Kind() string

func (SecurityGroupAdaptor) Revision

type SecurityGroupApiService

type SecurityGroupApiService service

SecurityGroupApiService SecurityGroupApi service

func (*SecurityGroupApiService) CreateSecurityGroup

CreateSecurityGroup Add SecurityGroup

Adds a new Security Group

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

func (*SecurityGroupApiService) CreateSecurityGroupExecute

Execute executes the request

@return ModelsSecurityGroup

func (*SecurityGroupApiService) DeleteSecurityGroup

DeleteSecurityGroup Delete SecurityGroup

Deletes an existing SecurityGroup

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

func (*SecurityGroupApiService) DeleteSecurityGroupExecute

Execute executes the request

@return ModelsSecurityGroup

func (*SecurityGroupApiService) GetSecurityGroup

GetSecurityGroup Get SecurityGroup

Gets a security group by ID

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

func (*SecurityGroupApiService) GetSecurityGroupExecute

Execute executes the request

@return ModelsSecurityGroup

func (*SecurityGroupApiService) ListSecurityGroups

ListSecurityGroups List Security Groups

Lists all Security Groups

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

func (*SecurityGroupApiService) ListSecurityGroupsExecute

Execute executes the request

@return []ModelsSecurityGroup

func (*SecurityGroupApiService) UpdateSecurityGroup

UpdateSecurityGroup Update Security Group

Updates a Security Group by ID

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

func (*SecurityGroupApiService) UpdateSecurityGroupExecute

Execute executes the request

@return ModelsSecurityGroup

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 ServiceNetworkApiService

type ServiceNetworkApiService service

ServiceNetworkApiService ServiceNetworkApi service

func (*ServiceNetworkApiService) CreateServiceNetwork

CreateServiceNetwork Create an ServiceNetwork

Creates a named serviceNetwork with the given CIDR

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

func (*ServiceNetworkApiService) CreateServiceNetworkExecute

Execute executes the request

@return ModelsServiceNetwork

func (*ServiceNetworkApiService) DeleteServiceNetwork

DeleteServiceNetwork Delete ServiceNetwork

Deletes an existing serviceNetwork

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

func (*ServiceNetworkApiService) DeleteServiceNetworkExecute

Execute executes the request

@return ModelsServiceNetwork

func (*ServiceNetworkApiService) GetServiceNetwork

GetServiceNetwork Get ServiceNetworks

Gets a ServiceNetwork by ServiceNetwork ID

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

func (*ServiceNetworkApiService) GetServiceNetworkExecute

Execute executes the request

@return ModelsServiceNetwork

func (*ServiceNetworkApiService) ListServiceNetworks

ListServiceNetworks List ServiceNetworks

Lists all ServiceNetworks

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

func (*ServiceNetworkApiService) ListServiceNetworksExecute

Execute executes the request

@return []ModelsServiceNetwork

func (*ServiceNetworkApiService) ListSitesInServiceNetwork

ListSitesInServiceNetwork List Sites

Lists all sites for this ServiceNetwork

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

func (*ServiceNetworkApiService) ListSitesInServiceNetworkExecute

func (a *ServiceNetworkApiService) ListSitesInServiceNetworkExecute(r ApiListSitesInServiceNetworkRequest) ([]ModelsSite, *http.Response, error)

Execute executes the request

@return []ModelsSite

func (*ServiceNetworkApiService) UpdateServiceNetwork

UpdateServiceNetwork Update ServiceNetworks

Updates a serviceNetwork by ID

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

func (*ServiceNetworkApiService) UpdateServiceNetworkExecute

Execute executes the request

@return ModelsServiceNetwork

type SiteAdaptor

type SiteAdaptor struct{}

func (SiteAdaptor) Item

func (d SiteAdaptor) Item(value map[string]interface{}) (ModelsSite, error)

func (SiteAdaptor) Key

func (d SiteAdaptor) Key(item ModelsSite) string

func (SiteAdaptor) Kind

func (d SiteAdaptor) Kind() string

func (SiteAdaptor) Revision

func (d SiteAdaptor) Revision(item ModelsSite) int32

type SitesApiService

type SitesApiService service

SitesApiService SitesApi service

func (*SitesApiService) CreateSite

CreateSite Add Sites

Adds a new site

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

func (*SitesApiService) CreateSiteExecute

func (a *SitesApiService) CreateSiteExecute(r ApiCreateSiteRequest) (*ModelsSite, *http.Response, error)

Execute executes the request

@return ModelsSite

func (*SitesApiService) DeleteSite

DeleteSite Delete Site

Deletes an existing site and associated IPAM lease

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

func (*SitesApiService) DeleteSiteExecute

func (a *SitesApiService) DeleteSiteExecute(r ApiDeleteSiteRequest) (*ModelsSite, *http.Response, error)

Execute executes the request

@return ModelsSite

func (*SitesApiService) GetSite

GetSite Get Sites

Gets a site by ID

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

func (*SitesApiService) GetSiteExecute

func (a *SitesApiService) GetSiteExecute(r ApiGetSiteRequest) (*ModelsSite, *http.Response, error)

Execute executes the request

@return ModelsSite

func (*SitesApiService) ListSites

ListSites List Sites

Lists all sites

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

func (*SitesApiService) ListSitesExecute

func (a *SitesApiService) ListSitesExecute(r ApiListSitesRequest) ([]ModelsSite, *http.Response, error)

Execute executes the request

@return []ModelsSite

func (*SitesApiService) UpdateSite

UpdateSite Update Sites

Updates a site by ID

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

func (*SitesApiService) UpdateSiteExecute

func (a *SitesApiService) UpdateSiteExecute(r ApiUpdateSiteRequest) (*ModelsSite, *http.Response, error)

Execute executes the request

@return ModelsSite

type TokenStore

type TokenStore interface {
	Load() (*oauth2.Token, error)
	Store(*oauth2.Token) error
}

type UsersApiService

type UsersApiService service

UsersApiService UsersApi service

func (*UsersApiService) DeleteUser

DeleteUser Delete User

Delete a user

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

func (*UsersApiService) DeleteUserExecute

func (a *UsersApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*ModelsUser, *http.Response, error)

Execute executes the request

@return ModelsUser

func (*UsersApiService) DeleteUserFromOrganization

func (a *UsersApiService) DeleteUserFromOrganization(ctx context.Context, id string, organization string) ApiDeleteUserFromOrganizationRequest

DeleteUserFromOrganization Remove a User from an Organization

Deletes an existing organization associated to a user

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

func (*UsersApiService) DeleteUserFromOrganizationExecute

func (a *UsersApiService) DeleteUserFromOrganizationExecute(r ApiDeleteUserFromOrganizationRequest) (*ModelsUser, *http.Response, error)

Execute executes the request

@return ModelsUser

func (*UsersApiService) GetUser

GetUser Get User

Gets a user

@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

func (a *UsersApiService) GetUserExecute(r ApiGetUserRequest) (*ModelsUser, *http.Response, error)

Execute executes the request

@return ModelsUser

func (*UsersApiService) ListUsers

ListUsers List Users

Lists all 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) ([]ModelsUser, *http.Response, error)

Execute executes the request

@return []ModelsUser

type VPCApiService

type VPCApiService service

VPCApiService VPCApi service

func (*VPCApiService) CreateVPC

CreateVPC Create an VPC

Creates a named vpc with the given CIDR

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

func (*VPCApiService) CreateVPCExecute

func (a *VPCApiService) CreateVPCExecute(r ApiCreateVPCRequest) (*ModelsVPC, *http.Response, error)

Execute executes the request

@return ModelsVPC

func (*VPCApiService) DeleteVPC

func (a *VPCApiService) DeleteVPC(ctx context.Context, id string) ApiDeleteVPCRequest

DeleteVPC Delete VPC

Deletes an existing vpc and associated IPAM prefix

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

func (*VPCApiService) DeleteVPCExecute

func (a *VPCApiService) DeleteVPCExecute(r ApiDeleteVPCRequest) (*ModelsVPC, *http.Response, error)

Execute executes the request

@return ModelsVPC

func (*VPCApiService) GetVPC

GetVPC Get VPCs

Gets a VPC by VPC ID

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

func (*VPCApiService) GetVPCExecute

func (a *VPCApiService) GetVPCExecute(r ApiGetVPCRequest) (*ModelsVPC, *http.Response, error)

Execute executes the request

@return ModelsVPC

func (*VPCApiService) ListDevicesInVPC

func (a *VPCApiService) ListDevicesInVPC(ctx context.Context, id string) ApiListDevicesInVPCRequest

ListDevicesInVPC List Devices

Lists all devices for this VPC

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

func (*VPCApiService) ListDevicesInVPCExecute

func (a *VPCApiService) ListDevicesInVPCExecute(r ApiListDevicesInVPCRequest) ([]ModelsDevice, *http.Response, error)

Execute executes the request

@return []ModelsDevice

func (*VPCApiService) ListMetadataInVPC

func (a *VPCApiService) ListMetadataInVPC(ctx context.Context, id string) ApiListMetadataInVPCRequest

ListMetadataInVPC List Device Metadata

Lists metadata for a device

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

func (*VPCApiService) ListMetadataInVPCExecute

func (a *VPCApiService) ListMetadataInVPCExecute(r ApiListMetadataInVPCRequest) ([]ModelsDeviceMetadata, *http.Response, error)

Execute executes the request

@return []ModelsDeviceMetadata

func (*VPCApiService) ListSecurityGroupsInVPC

func (a *VPCApiService) ListSecurityGroupsInVPC(ctx context.Context, id string) ApiListSecurityGroupsInVPCRequest

ListSecurityGroupsInVPC List Security Groups in a VPC

Lists all Security Groups in a VPC

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

func (*VPCApiService) ListSecurityGroupsInVPCExecute

func (a *VPCApiService) ListSecurityGroupsInVPCExecute(r ApiListSecurityGroupsInVPCRequest) ([]ModelsSecurityGroup, *http.Response, error)

Execute executes the request

@return []ModelsSecurityGroup

func (*VPCApiService) ListVPCs

ListVPCs List VPCs

Lists all VPCs

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

func (*VPCApiService) ListVPCsExecute

func (a *VPCApiService) ListVPCsExecute(r ApiListVPCsRequest) ([]ModelsVPC, *http.Response, error)

Execute executes the request

@return []ModelsVPC

func (*VPCApiService) UpdateVPC

func (a *VPCApiService) UpdateVPC(ctx context.Context, id string) ApiUpdateVPCRequest

UpdateVPC Update VPCs

Updates a vpc by ID

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

func (*VPCApiService) UpdateVPCExecute

func (a *VPCApiService) UpdateVPCExecute(r ApiUpdateVPCRequest) (*ModelsVPC, *http.Response, error)

Execute executes the request

@return ModelsVPC

func (*VPCApiService) WatchEvents

func (a *VPCApiService) WatchEvents(ctx context.Context, id string) ApiWatchEventsRequest

WatchEvents Watch events occurring in the vpc

Watches events occurring in the vpc

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

func (*VPCApiService) WatchEventsExecute

func (a *VPCApiService) WatchEventsExecute(r ApiWatchEventsRequest) (*ModelsWatchEvent, *http.Response, error)

Execute executes the request

@return ModelsWatchEvent

type WatchDataLoader

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

func NewWatchDataLoader

func NewWatchDataLoader(r ApiWatchRequest) *WatchDataLoader

func (*WatchDataLoader) Add

func (dl *WatchDataLoader) Add(w *ModelsWatch, handler WatchEventHandler) bool

func (*WatchDataLoader) Remove

func (dl *WatchDataLoader) Remove(w *ModelsWatch) bool

type WatchEventHandler

type WatchEventHandler = func(event ModelsWatchEvent, response *http.Response, err error)

type WatchStream

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

func (*WatchStream) Close

func (ds *WatchStream) Close() error

func (*WatchStream) Receive

func (ds *WatchStream) Receive() (ModelsWatchEvent, error)

Source Files

Jump to

Keyboard shortcuts

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