openapi

package
v0.0.2-fix Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 20 Imported by: 0

README

Go API client for openapi

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 536
  • Package version: 1.0.0
  • Generator version: 7.14.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import openapi "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value openapi.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), openapi.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value openapi.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), openapi.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using openapi.ContextOperationServerIndices and openapi.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), openapi.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), openapi.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DefaultAPI DeleteBoundDevice Delete /{apiVersion}/reg/{sourceDeviceId}/account/reg/{boundDeviceId} DeleteBoundDevice
DefaultAPI GetAccount Get /{apiVersion}/reg/{sourceDeviceId}/account GetAccount
DefaultAPI GetBoundDevices Get /{apiVersion}/reg/{sourceDeviceId}/account/devices GetBoundDevices
DefaultAPI GetClientConfig Get /{apiVersion}/client_config GetClientConfig
DefaultAPI GetSourceDevice Get /{apiVersion}/reg/{sourceDeviceId} GetSourceDevice
DefaultAPI Register Post /{apiVersion}/reg Register
DefaultAPI ResetAccountLicense Post /{apiVersion}/reg/{sourceDeviceId}/account/license ResetAccountLicense
DefaultAPI UpdateAccount Put /{apiVersion}/reg/{sourceDeviceId}/account UpdateAccount
DefaultAPI UpdateBoundDevice Patch /{apiVersion}/reg/{sourceDeviceId}/account/reg/{boundDeviceId} UpdateBoundDevice
DefaultAPI UpdateSourceDevice Patch /{apiVersion}/reg/{sourceDeviceId} UpdateSourceDevice

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

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

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

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

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	DefaultAPI *DefaultAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Cloudflare WARP API API v536 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type Account

type Account struct {
	AccountType              string   `json:"account_type"`
	Created                  string   `json:"created"`
	Id                       string   `json:"id"`
	License                  string   `json:"license"`
	PremiumData              float32  `json:"premium_data"`
	Quota                    float32  `json:"quota"`
	ReferralCount            float32  `json:"referral_count"`
	ReferralRenewalCountdown float32  `json:"referral_renewal_countdown"`
	Role                     string   `json:"role"`
	Updated                  string   `json:"updated"`
	WarpPlus                 bool     `json:"warp_plus"`
	Usage                    *float32 `json:"usage,omitempty"`
	AdditionalProperties     map[string]interface{}
}

Account struct for Account

func NewAccount

func NewAccount(accountType string, created string, id string, license string, premiumData float32, quota float32, referralCount float32, referralRenewalCountdown float32, role string, updated string, warpPlus bool) *Account

NewAccount instantiates a new Account 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 NewAccountWithDefaults

func NewAccountWithDefaults() *Account

NewAccountWithDefaults instantiates a new Account 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 (*Account) GetAccountType

func (o *Account) GetAccountType() string

GetAccountType returns the AccountType field value

func (*Account) GetAccountTypeOk

func (o *Account) GetAccountTypeOk() (*string, bool)

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

func (*Account) GetCreated

func (o *Account) GetCreated() string

GetCreated returns the Created field value

func (*Account) GetCreatedOk

func (o *Account) GetCreatedOk() (*string, bool)

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

func (*Account) GetId

func (o *Account) GetId() string

GetId returns the Id field value

func (*Account) GetIdOk

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

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

func (*Account) GetLicense

func (o *Account) GetLicense() string

GetLicense returns the License field value

func (*Account) GetLicenseOk

func (o *Account) GetLicenseOk() (*string, bool)

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

func (*Account) GetPremiumData

func (o *Account) GetPremiumData() float32

GetPremiumData returns the PremiumData field value

func (*Account) GetPremiumDataOk

func (o *Account) GetPremiumDataOk() (*float32, bool)

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

func (*Account) GetQuota

func (o *Account) GetQuota() float32

GetQuota returns the Quota field value

func (*Account) GetQuotaOk

func (o *Account) GetQuotaOk() (*float32, bool)

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

func (*Account) GetReferralCount

func (o *Account) GetReferralCount() float32

GetReferralCount returns the ReferralCount field value

func (*Account) GetReferralCountOk

func (o *Account) GetReferralCountOk() (*float32, bool)

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

func (*Account) GetReferralRenewalCountdown

func (o *Account) GetReferralRenewalCountdown() float32

GetReferralRenewalCountdown returns the ReferralRenewalCountdown field value

func (*Account) GetReferralRenewalCountdownOk

func (o *Account) GetReferralRenewalCountdownOk() (*float32, bool)

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

func (*Account) GetRole

func (o *Account) GetRole() string

GetRole returns the Role field value

func (*Account) GetRoleOk

func (o *Account) GetRoleOk() (*string, bool)

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

func (*Account) GetUpdated

func (o *Account) GetUpdated() string

GetUpdated returns the Updated field value

func (*Account) GetUpdatedOk

func (o *Account) GetUpdatedOk() (*string, bool)

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

func (*Account) GetUsage

func (o *Account) GetUsage() float32

GetUsage returns the Usage field value if set, zero value otherwise.

func (*Account) GetUsageOk

func (o *Account) GetUsageOk() (*float32, bool)

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

func (*Account) GetWarpPlus

func (o *Account) GetWarpPlus() bool

GetWarpPlus returns the WarpPlus field value

func (*Account) GetWarpPlusOk

func (o *Account) GetWarpPlusOk() (*bool, bool)

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

func (*Account) HasUsage

func (o *Account) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (Account) MarshalJSON

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

func (*Account) SetAccountType

func (o *Account) SetAccountType(v string)

SetAccountType sets field value

func (*Account) SetCreated

func (o *Account) SetCreated(v string)

SetCreated sets field value

func (*Account) SetId

func (o *Account) SetId(v string)

SetId sets field value

func (*Account) SetLicense

func (o *Account) SetLicense(v string)

SetLicense sets field value

func (*Account) SetPremiumData

func (o *Account) SetPremiumData(v float32)

SetPremiumData sets field value

func (*Account) SetQuota

func (o *Account) SetQuota(v float32)

SetQuota sets field value

func (*Account) SetReferralCount

func (o *Account) SetReferralCount(v float32)

SetReferralCount sets field value

func (*Account) SetReferralRenewalCountdown

func (o *Account) SetReferralRenewalCountdown(v float32)

SetReferralRenewalCountdown sets field value

func (*Account) SetRole

func (o *Account) SetRole(v string)

SetRole sets field value

func (*Account) SetUpdated

func (o *Account) SetUpdated(v string)

SetUpdated sets field value

func (*Account) SetUsage

func (o *Account) SetUsage(v float32)

SetUsage gets a reference to the given float32 and assigns it to the Usage field.

func (*Account) SetWarpPlus

func (o *Account) SetWarpPlus(v bool)

SetWarpPlus sets field value

func (Account) ToMap

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

func (*Account) UnmarshalJSON

func (o *Account) UnmarshalJSON(data []byte) (err error)

type ApiDeleteBoundDeviceRequest

type ApiDeleteBoundDeviceRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteBoundDeviceRequest) Execute

type ApiGetAccountRequest

type ApiGetAccountRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiGetAccountRequest) Execute

func (r ApiGetAccountRequest) Execute() (*Account, *http.Response, error)

type ApiGetBoundDevicesRequest

type ApiGetBoundDevicesRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiGetBoundDevicesRequest) Execute

type ApiGetClientConfigRequest

type ApiGetClientConfigRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiGetClientConfigRequest) Execute

type ApiGetSourceDeviceRequest

type ApiGetSourceDeviceRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiGetSourceDeviceRequest) Execute

type ApiRegisterRequest

type ApiRegisterRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiRegisterRequest) Execute

func (ApiRegisterRequest) RegisterRequest

func (r ApiRegisterRequest) RegisterRequest(registerRequest RegisterRequest) ApiRegisterRequest

type ApiResetAccountLicenseRequest

type ApiResetAccountLicenseRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiResetAccountLicenseRequest) Execute

type ApiUpdateAccountRequest

type ApiUpdateAccountRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateAccountRequest) Execute

func (ApiUpdateAccountRequest) UpdateAccountRequest

func (r ApiUpdateAccountRequest) UpdateAccountRequest(updateAccountRequest UpdateAccountRequest) ApiUpdateAccountRequest

type ApiUpdateBoundDeviceRequest

type ApiUpdateBoundDeviceRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateBoundDeviceRequest) Execute

func (ApiUpdateBoundDeviceRequest) UpdateBoundDeviceRequest

func (r ApiUpdateBoundDeviceRequest) UpdateBoundDeviceRequest(updateBoundDeviceRequest UpdateBoundDeviceRequest) ApiUpdateBoundDeviceRequest

type ApiUpdateSourceDeviceRequest

type ApiUpdateSourceDeviceRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateSourceDeviceRequest) Execute

func (ApiUpdateSourceDeviceRequest) UpdateSourceDeviceRequest

func (r ApiUpdateSourceDeviceRequest) UpdateSourceDeviceRequest(updateSourceDeviceRequest UpdateSourceDeviceRequest) ApiUpdateSourceDeviceRequest

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 BoundDevice

type BoundDevice struct {
	Activated            string  `json:"activated"`
	Active               bool    `json:"active"`
	Created              string  `json:"created"`
	Id                   string  `json:"id"`
	Model                string  `json:"model"`
	Name                 *string `json:"name,omitempty"`
	Role                 string  `json:"role"`
	Type                 string  `json:"type"`
	AdditionalProperties map[string]interface{}
}

BoundDevice struct for BoundDevice

func NewBoundDevice

func NewBoundDevice(activated string, active bool, created string, id string, model string, role string, type_ string) *BoundDevice

NewBoundDevice instantiates a new BoundDevice 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 NewBoundDeviceWithDefaults

func NewBoundDeviceWithDefaults() *BoundDevice

NewBoundDeviceWithDefaults instantiates a new BoundDevice 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 (*BoundDevice) GetActivated

func (o *BoundDevice) GetActivated() string

GetActivated returns the Activated field value

func (*BoundDevice) GetActivatedOk

func (o *BoundDevice) GetActivatedOk() (*string, bool)

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

func (*BoundDevice) GetActive

func (o *BoundDevice) GetActive() bool

GetActive returns the Active field value

func (*BoundDevice) GetActiveOk

func (o *BoundDevice) GetActiveOk() (*bool, bool)

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

func (*BoundDevice) GetCreated

func (o *BoundDevice) GetCreated() string

GetCreated returns the Created field value

func (*BoundDevice) GetCreatedOk

func (o *BoundDevice) GetCreatedOk() (*string, bool)

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

func (*BoundDevice) GetId

func (o *BoundDevice) GetId() string

GetId returns the Id field value

func (*BoundDevice) GetIdOk

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

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

func (*BoundDevice) GetModel

func (o *BoundDevice) GetModel() string

GetModel returns the Model field value

func (*BoundDevice) GetModelOk

func (o *BoundDevice) GetModelOk() (*string, bool)

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

func (*BoundDevice) GetName

func (o *BoundDevice) GetName() string

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

func (*BoundDevice) GetNameOk

func (o *BoundDevice) 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 (*BoundDevice) GetRole

func (o *BoundDevice) GetRole() string

GetRole returns the Role field value

func (*BoundDevice) GetRoleOk

func (o *BoundDevice) GetRoleOk() (*string, bool)

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

func (*BoundDevice) GetType

func (o *BoundDevice) GetType() string

GetType returns the Type field value

func (*BoundDevice) GetTypeOk

func (o *BoundDevice) GetTypeOk() (*string, bool)

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

func (*BoundDevice) HasName

func (o *BoundDevice) HasName() bool

HasName returns a boolean if a field has been set.

func (BoundDevice) MarshalJSON

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

func (*BoundDevice) SetActivated

func (o *BoundDevice) SetActivated(v string)

SetActivated sets field value

func (*BoundDevice) SetActive

func (o *BoundDevice) SetActive(v bool)

SetActive sets field value

func (*BoundDevice) SetCreated

func (o *BoundDevice) SetCreated(v string)

SetCreated sets field value

func (*BoundDevice) SetId

func (o *BoundDevice) SetId(v string)

SetId sets field value

func (*BoundDevice) SetModel

func (o *BoundDevice) SetModel(v string)

SetModel sets field value

func (*BoundDevice) SetName

func (o *BoundDevice) SetName(v string)

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

func (*BoundDevice) SetRole

func (o *BoundDevice) SetRole(v string)

SetRole sets field value

func (*BoundDevice) SetType

func (o *BoundDevice) SetType(v string)

SetType sets field value

func (BoundDevice) ToMap

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

func (*BoundDevice) UnmarshalJSON

func (o *BoundDevice) UnmarshalJSON(data []byte) (err error)

type Config

type Config struct {
	ClientId             string          `json:"client_id"`
	Interface            ConfigInterface `json:"interface"`
	Peers                []Peer          `json:"peers"`
	Services             ConfigServices  `json:"services"`
	AdditionalProperties map[string]interface{}
}

Config struct for Config

func NewConfig

func NewConfig(clientId string, interface_ ConfigInterface, peers []Peer, services ConfigServices) *Config

NewConfig instantiates a new Config 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 NewConfigWithDefaults

func NewConfigWithDefaults() *Config

NewConfigWithDefaults instantiates a new Config 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 (*Config) GetClientId

func (o *Config) GetClientId() string

GetClientId returns the ClientId field value

func (*Config) GetClientIdOk

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

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

func (*Config) GetInterface

func (o *Config) GetInterface() ConfigInterface

GetInterface returns the Interface field value

func (*Config) GetInterfaceOk

func (o *Config) GetInterfaceOk() (*ConfigInterface, bool)

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

func (*Config) GetPeers

func (o *Config) GetPeers() []Peer

GetPeers returns the Peers field value

func (*Config) GetPeersOk

func (o *Config) GetPeersOk() ([]Peer, bool)

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

func (*Config) GetServices

func (o *Config) GetServices() ConfigServices

GetServices returns the Services field value

func (*Config) GetServicesOk

func (o *Config) GetServicesOk() (*ConfigServices, bool)

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

func (Config) MarshalJSON

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

func (*Config) SetClientId

func (o *Config) SetClientId(v string)

SetClientId sets field value

func (*Config) SetInterface

func (o *Config) SetInterface(v ConfigInterface)

SetInterface sets field value

func (*Config) SetPeers

func (o *Config) SetPeers(v []Peer)

SetPeers sets field value

func (*Config) SetServices

func (o *Config) SetServices(v ConfigServices)

SetServices sets field value

func (Config) ToMap

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

func (*Config) UnmarshalJSON

func (o *Config) UnmarshalJSON(data []byte) (err error)

type ConfigInterface

type ConfigInterface struct {
	Addresses            NetworkAddress `json:"addresses"`
	AdditionalProperties map[string]interface{}
}

ConfigInterface struct for ConfigInterface

func NewConfigInterface

func NewConfigInterface(addresses NetworkAddress) *ConfigInterface

NewConfigInterface instantiates a new ConfigInterface 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 NewConfigInterfaceWithDefaults

func NewConfigInterfaceWithDefaults() *ConfigInterface

NewConfigInterfaceWithDefaults instantiates a new ConfigInterface 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 (*ConfigInterface) GetAddresses

func (o *ConfigInterface) GetAddresses() NetworkAddress

GetAddresses returns the Addresses field value

func (*ConfigInterface) GetAddressesOk

func (o *ConfigInterface) GetAddressesOk() (*NetworkAddress, bool)

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

func (ConfigInterface) MarshalJSON

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

func (*ConfigInterface) SetAddresses

func (o *ConfigInterface) SetAddresses(v NetworkAddress)

SetAddresses sets field value

func (ConfigInterface) ToMap

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

func (*ConfigInterface) UnmarshalJSON

func (o *ConfigInterface) UnmarshalJSON(data []byte) (err error)

type ConfigServices

type ConfigServices struct {
	HttpProxy            string `json:"http_proxy"`
	AdditionalProperties map[string]interface{}
}

ConfigServices struct for ConfigServices

func NewConfigServices

func NewConfigServices(httpProxy string) *ConfigServices

NewConfigServices instantiates a new ConfigServices 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 NewConfigServicesWithDefaults

func NewConfigServicesWithDefaults() *ConfigServices

NewConfigServicesWithDefaults instantiates a new ConfigServices 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 (*ConfigServices) GetHttpProxy

func (o *ConfigServices) GetHttpProxy() string

GetHttpProxy returns the HttpProxy field value

func (*ConfigServices) GetHttpProxyOk

func (o *ConfigServices) GetHttpProxyOk() (*string, bool)

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

func (ConfigServices) MarshalJSON

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

func (*ConfigServices) SetHttpProxy

func (o *ConfigServices) SetHttpProxy(v string)

SetHttpProxy sets field value

func (ConfigServices) ToMap

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

func (*ConfigServices) UnmarshalJSON

func (o *ConfigServices) UnmarshalJSON(data []byte) (err error)

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 DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) DeleteBoundDevice

func (a *DefaultAPIService) DeleteBoundDevice(ctx context.Context, sourceDeviceId string, apiVersion string, boundDeviceId string) ApiDeleteBoundDeviceRequest

DeleteBoundDevice DeleteBoundDevice

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

func (*DefaultAPIService) DeleteBoundDeviceExecute

func (a *DefaultAPIService) DeleteBoundDeviceExecute(r ApiDeleteBoundDeviceRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) GetAccount

func (a *DefaultAPIService) GetAccount(ctx context.Context, sourceDeviceId string, apiVersion string) ApiGetAccountRequest

GetAccount GetAccount

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

func (*DefaultAPIService) GetAccountExecute

func (a *DefaultAPIService) GetAccountExecute(r ApiGetAccountRequest) (*Account, *http.Response, error)

Execute executes the request

@return Account

func (*DefaultAPIService) GetBoundDevices

func (a *DefaultAPIService) GetBoundDevices(ctx context.Context, sourceDeviceId string, apiVersion string) ApiGetBoundDevicesRequest

GetBoundDevices GetBoundDevices

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

func (*DefaultAPIService) GetBoundDevicesExecute

func (a *DefaultAPIService) GetBoundDevicesExecute(r ApiGetBoundDevicesRequest) ([]BoundDevice, *http.Response, error)

Execute executes the request

@return []BoundDevice

func (*DefaultAPIService) GetClientConfig

func (a *DefaultAPIService) GetClientConfig(ctx context.Context, apiVersion string) ApiGetClientConfigRequest

GetClientConfig GetClientConfig

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

func (*DefaultAPIService) GetClientConfigExecute

Execute executes the request

@return GetClientConfig200Response

func (*DefaultAPIService) GetSourceDevice

func (a *DefaultAPIService) GetSourceDevice(ctx context.Context, apiVersion string, sourceDeviceId string) ApiGetSourceDeviceRequest

GetSourceDevice GetSourceDevice

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

func (*DefaultAPIService) GetSourceDeviceExecute

Execute executes the request

@return GetSourceDevice200Response

func (*DefaultAPIService) Register

func (a *DefaultAPIService) Register(ctx context.Context, apiVersion string) ApiRegisterRequest

Register Register

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

func (*DefaultAPIService) RegisterExecute

Execute executes the request

@return Register200Response

func (*DefaultAPIService) ResetAccountLicense

func (a *DefaultAPIService) ResetAccountLicense(ctx context.Context, sourceDeviceId string, apiVersion string) ApiResetAccountLicenseRequest

ResetAccountLicense ResetAccountLicense

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

func (*DefaultAPIService) ResetAccountLicenseExecute

Execute executes the request

@return ResetAccountLicense200Response

func (*DefaultAPIService) UpdateAccount

func (a *DefaultAPIService) UpdateAccount(ctx context.Context, sourceDeviceId string, apiVersion string) ApiUpdateAccountRequest

UpdateAccount UpdateAccount

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

func (*DefaultAPIService) UpdateAccountExecute

Execute executes the request

@return UpdateAccount200Response

func (*DefaultAPIService) UpdateBoundDevice

func (a *DefaultAPIService) UpdateBoundDevice(ctx context.Context, sourceDeviceId string, apiVersion string, boundDeviceId string) ApiUpdateBoundDeviceRequest

UpdateBoundDevice UpdateBoundDevice

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

func (*DefaultAPIService) UpdateBoundDeviceExecute

func (a *DefaultAPIService) UpdateBoundDeviceExecute(r ApiUpdateBoundDeviceRequest) ([]BoundDevice, *http.Response, error)

Execute executes the request

@return []BoundDevice

func (*DefaultAPIService) UpdateSourceDevice

func (a *DefaultAPIService) UpdateSourceDevice(ctx context.Context, apiVersion string, sourceDeviceId string) ApiUpdateSourceDeviceRequest

UpdateSourceDevice UpdateSourceDevice

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

func (*DefaultAPIService) UpdateSourceDeviceExecute

Execute executes the request

@return UpdateSourceDevice200Response

type Endpoint

type Endpoint struct {
	Host                 string `json:"host"`
	V4                   string `json:"v4"`
	V6                   string `json:"v6"`
	AdditionalProperties map[string]interface{}
}

Endpoint struct for Endpoint

func NewEndpoint

func NewEndpoint(host string, v4 string, v6 string) *Endpoint

NewEndpoint instantiates a new Endpoint 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 NewEndpointWithDefaults

func NewEndpointWithDefaults() *Endpoint

NewEndpointWithDefaults instantiates a new Endpoint 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 (*Endpoint) GetHost

func (o *Endpoint) GetHost() string

GetHost returns the Host field value

func (*Endpoint) GetHostOk

func (o *Endpoint) GetHostOk() (*string, bool)

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

func (*Endpoint) GetV4

func (o *Endpoint) GetV4() string

GetV4 returns the V4 field value

func (*Endpoint) GetV4Ok

func (o *Endpoint) GetV4Ok() (*string, bool)

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

func (*Endpoint) GetV6

func (o *Endpoint) GetV6() string

GetV6 returns the V6 field value

func (*Endpoint) GetV6Ok

func (o *Endpoint) GetV6Ok() (*string, bool)

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

func (Endpoint) MarshalJSON

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

func (*Endpoint) SetHost

func (o *Endpoint) SetHost(v string)

SetHost sets field value

func (*Endpoint) SetV4

func (o *Endpoint) SetV4(v string)

SetV4 sets field value

func (*Endpoint) SetV6

func (o *Endpoint) SetV6(v string)

SetV6 sets field value

func (Endpoint) ToMap

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

func (*Endpoint) UnmarshalJSON

func (o *Endpoint) UnmarshalJSON(data []byte) (err error)

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 GetClientConfig200Response

type GetClientConfig200Response struct {
	CaptivePortal        []GetClientConfig200ResponseCaptivePortalInner `json:"captive_portal"`
	Denylist             []GetClientConfig200ResponseDenylistInner      `json:"denylist"`
	PremiumDataBytes     float32                                        `json:"premium_data_bytes"`
	ReferralRewardBytes  float32                                        `json:"referral_reward_bytes"`
	AdditionalProperties map[string]interface{}
}

GetClientConfig200Response struct for GetClientConfig200Response

func NewGetClientConfig200Response

func NewGetClientConfig200Response(captivePortal []GetClientConfig200ResponseCaptivePortalInner, denylist []GetClientConfig200ResponseDenylistInner, premiumDataBytes float32, referralRewardBytes float32) *GetClientConfig200Response

NewGetClientConfig200Response instantiates a new GetClientConfig200Response 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 NewGetClientConfig200ResponseWithDefaults

func NewGetClientConfig200ResponseWithDefaults() *GetClientConfig200Response

NewGetClientConfig200ResponseWithDefaults instantiates a new GetClientConfig200Response 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 (*GetClientConfig200Response) GetCaptivePortal

GetCaptivePortal returns the CaptivePortal field value

func (*GetClientConfig200Response) GetCaptivePortalOk

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

func (*GetClientConfig200Response) GetDenylist

GetDenylist returns the Denylist field value

func (*GetClientConfig200Response) GetDenylistOk

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

func (*GetClientConfig200Response) GetPremiumDataBytes

func (o *GetClientConfig200Response) GetPremiumDataBytes() float32

GetPremiumDataBytes returns the PremiumDataBytes field value

func (*GetClientConfig200Response) GetPremiumDataBytesOk

func (o *GetClientConfig200Response) GetPremiumDataBytesOk() (*float32, bool)

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

func (*GetClientConfig200Response) GetReferralRewardBytes

func (o *GetClientConfig200Response) GetReferralRewardBytes() float32

GetReferralRewardBytes returns the ReferralRewardBytes field value

func (*GetClientConfig200Response) GetReferralRewardBytesOk

func (o *GetClientConfig200Response) GetReferralRewardBytesOk() (*float32, bool)

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

func (GetClientConfig200Response) MarshalJSON

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

func (*GetClientConfig200Response) SetCaptivePortal

SetCaptivePortal sets field value

func (*GetClientConfig200Response) SetDenylist

SetDenylist sets field value

func (*GetClientConfig200Response) SetPremiumDataBytes

func (o *GetClientConfig200Response) SetPremiumDataBytes(v float32)

SetPremiumDataBytes sets field value

func (*GetClientConfig200Response) SetReferralRewardBytes

func (o *GetClientConfig200Response) SetReferralRewardBytes(v float32)

SetReferralRewardBytes sets field value

func (GetClientConfig200Response) ToMap

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

func (*GetClientConfig200Response) UnmarshalJSON

func (o *GetClientConfig200Response) UnmarshalJSON(data []byte) (err error)

type GetClientConfig200ResponseCaptivePortalInner

type GetClientConfig200ResponseCaptivePortalInner struct {
	Name                 string                                                      `json:"name"`
	Networks             []GetClientConfig200ResponseCaptivePortalInnerNetworksInner `json:"networks"`
	AdditionalProperties map[string]interface{}
}

GetClientConfig200ResponseCaptivePortalInner struct for GetClientConfig200ResponseCaptivePortalInner

func NewGetClientConfig200ResponseCaptivePortalInner

func NewGetClientConfig200ResponseCaptivePortalInner(name string, networks []GetClientConfig200ResponseCaptivePortalInnerNetworksInner) *GetClientConfig200ResponseCaptivePortalInner

NewGetClientConfig200ResponseCaptivePortalInner instantiates a new GetClientConfig200ResponseCaptivePortalInner 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 NewGetClientConfig200ResponseCaptivePortalInnerWithDefaults

func NewGetClientConfig200ResponseCaptivePortalInnerWithDefaults() *GetClientConfig200ResponseCaptivePortalInner

NewGetClientConfig200ResponseCaptivePortalInnerWithDefaults instantiates a new GetClientConfig200ResponseCaptivePortalInner 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 (*GetClientConfig200ResponseCaptivePortalInner) GetName

GetName returns the Name field value

func (*GetClientConfig200ResponseCaptivePortalInner) GetNameOk

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

func (*GetClientConfig200ResponseCaptivePortalInner) GetNetworks

GetNetworks returns the Networks field value

func (*GetClientConfig200ResponseCaptivePortalInner) GetNetworksOk

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

func (GetClientConfig200ResponseCaptivePortalInner) MarshalJSON

func (*GetClientConfig200ResponseCaptivePortalInner) SetName

SetName sets field value

func (*GetClientConfig200ResponseCaptivePortalInner) SetNetworks

SetNetworks sets field value

func (GetClientConfig200ResponseCaptivePortalInner) ToMap

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

func (*GetClientConfig200ResponseCaptivePortalInner) UnmarshalJSON

func (o *GetClientConfig200ResponseCaptivePortalInner) UnmarshalJSON(data []byte) (err error)

type GetClientConfig200ResponseCaptivePortalInnerNetworksInner

type GetClientConfig200ResponseCaptivePortalInnerNetworksInner struct {
	Address              string `json:"address"`
	AdditionalProperties map[string]interface{}
}

GetClientConfig200ResponseCaptivePortalInnerNetworksInner struct for GetClientConfig200ResponseCaptivePortalInnerNetworksInner

func NewGetClientConfig200ResponseCaptivePortalInnerNetworksInner

func NewGetClientConfig200ResponseCaptivePortalInnerNetworksInner(address string) *GetClientConfig200ResponseCaptivePortalInnerNetworksInner

NewGetClientConfig200ResponseCaptivePortalInnerNetworksInner instantiates a new GetClientConfig200ResponseCaptivePortalInnerNetworksInner 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 NewGetClientConfig200ResponseCaptivePortalInnerNetworksInnerWithDefaults

func NewGetClientConfig200ResponseCaptivePortalInnerNetworksInnerWithDefaults() *GetClientConfig200ResponseCaptivePortalInnerNetworksInner

NewGetClientConfig200ResponseCaptivePortalInnerNetworksInnerWithDefaults instantiates a new GetClientConfig200ResponseCaptivePortalInnerNetworksInner 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 (*GetClientConfig200ResponseCaptivePortalInnerNetworksInner) GetAddress

GetAddress returns the Address field value

func (*GetClientConfig200ResponseCaptivePortalInnerNetworksInner) GetAddressOk

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

func (GetClientConfig200ResponseCaptivePortalInnerNetworksInner) MarshalJSON

func (*GetClientConfig200ResponseCaptivePortalInnerNetworksInner) SetAddress

SetAddress sets field value

func (GetClientConfig200ResponseCaptivePortalInnerNetworksInner) ToMap

func (*GetClientConfig200ResponseCaptivePortalInnerNetworksInner) UnmarshalJSON

type GetClientConfig200ResponseDenylistInner

type GetClientConfig200ResponseDenylistInner struct {
	AndroidPackages      []string                                         `json:"android-packages,omitempty"`
	Name                 string                                           `json:"name"`
	Networks             *GetClientConfig200ResponseDenylistInnerNetworks `json:"networks,omitempty"`
	Visible              bool                                             `json:"visible"`
	AdditionalProperties map[string]interface{}
}

GetClientConfig200ResponseDenylistInner struct for GetClientConfig200ResponseDenylistInner

func NewGetClientConfig200ResponseDenylistInner

func NewGetClientConfig200ResponseDenylistInner(name string, visible bool) *GetClientConfig200ResponseDenylistInner

NewGetClientConfig200ResponseDenylistInner instantiates a new GetClientConfig200ResponseDenylistInner 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 NewGetClientConfig200ResponseDenylistInnerWithDefaults

func NewGetClientConfig200ResponseDenylistInnerWithDefaults() *GetClientConfig200ResponseDenylistInner

NewGetClientConfig200ResponseDenylistInnerWithDefaults instantiates a new GetClientConfig200ResponseDenylistInner 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 (*GetClientConfig200ResponseDenylistInner) GetAndroidPackages

func (o *GetClientConfig200ResponseDenylistInner) GetAndroidPackages() []string

GetAndroidPackages returns the AndroidPackages field value if set, zero value otherwise.

func (*GetClientConfig200ResponseDenylistInner) GetAndroidPackagesOk

func (o *GetClientConfig200ResponseDenylistInner) GetAndroidPackagesOk() ([]string, bool)

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

func (*GetClientConfig200ResponseDenylistInner) GetName

GetName returns the Name field value

func (*GetClientConfig200ResponseDenylistInner) GetNameOk

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

func (*GetClientConfig200ResponseDenylistInner) GetNetworks

GetNetworks returns the Networks field value if set, zero value otherwise.

func (*GetClientConfig200ResponseDenylistInner) GetNetworksOk

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

func (*GetClientConfig200ResponseDenylistInner) GetVisible

GetVisible returns the Visible field value

func (*GetClientConfig200ResponseDenylistInner) GetVisibleOk

func (o *GetClientConfig200ResponseDenylistInner) GetVisibleOk() (*bool, bool)

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

func (*GetClientConfig200ResponseDenylistInner) HasAndroidPackages

func (o *GetClientConfig200ResponseDenylistInner) HasAndroidPackages() bool

HasAndroidPackages returns a boolean if a field has been set.

func (*GetClientConfig200ResponseDenylistInner) HasNetworks

HasNetworks returns a boolean if a field has been set.

func (GetClientConfig200ResponseDenylistInner) MarshalJSON

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

func (*GetClientConfig200ResponseDenylistInner) SetAndroidPackages

func (o *GetClientConfig200ResponseDenylistInner) SetAndroidPackages(v []string)

SetAndroidPackages gets a reference to the given []string and assigns it to the AndroidPackages field.

func (*GetClientConfig200ResponseDenylistInner) SetName

SetName sets field value

func (*GetClientConfig200ResponseDenylistInner) SetNetworks

SetNetworks gets a reference to the given GetClientConfig200ResponseDenylistInnerNetworks and assigns it to the Networks field.

func (*GetClientConfig200ResponseDenylistInner) SetVisible

SetVisible sets field value

func (GetClientConfig200ResponseDenylistInner) ToMap

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

func (*GetClientConfig200ResponseDenylistInner) UnmarshalJSON

func (o *GetClientConfig200ResponseDenylistInner) UnmarshalJSON(data []byte) (err error)

type GetClientConfig200ResponseDenylistInnerNetworks

type GetClientConfig200ResponseDenylistInnerNetworks struct {
	V4                   []IPv4Network `json:"v4"`
	V6                   []IPv6Network `json:"v6"`
	AdditionalProperties map[string]interface{}
}

GetClientConfig200ResponseDenylistInnerNetworks struct for GetClientConfig200ResponseDenylistInnerNetworks

func NewGetClientConfig200ResponseDenylistInnerNetworks

func NewGetClientConfig200ResponseDenylistInnerNetworks(v4 []IPv4Network, v6 []IPv6Network) *GetClientConfig200ResponseDenylistInnerNetworks

NewGetClientConfig200ResponseDenylistInnerNetworks instantiates a new GetClientConfig200ResponseDenylistInnerNetworks 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 NewGetClientConfig200ResponseDenylistInnerNetworksWithDefaults

func NewGetClientConfig200ResponseDenylistInnerNetworksWithDefaults() *GetClientConfig200ResponseDenylistInnerNetworks

NewGetClientConfig200ResponseDenylistInnerNetworksWithDefaults instantiates a new GetClientConfig200ResponseDenylistInnerNetworks 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 (*GetClientConfig200ResponseDenylistInnerNetworks) GetV4

GetV4 returns the V4 field value

func (*GetClientConfig200ResponseDenylistInnerNetworks) GetV4Ok

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

func (*GetClientConfig200ResponseDenylistInnerNetworks) GetV6

GetV6 returns the V6 field value

func (*GetClientConfig200ResponseDenylistInnerNetworks) GetV6Ok

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

func (GetClientConfig200ResponseDenylistInnerNetworks) MarshalJSON

func (*GetClientConfig200ResponseDenylistInnerNetworks) SetV4

SetV4 sets field value

func (*GetClientConfig200ResponseDenylistInnerNetworks) SetV6

SetV6 sets field value

func (GetClientConfig200ResponseDenylistInnerNetworks) ToMap

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

func (*GetClientConfig200ResponseDenylistInnerNetworks) UnmarshalJSON

func (o *GetClientConfig200ResponseDenylistInnerNetworks) UnmarshalJSON(data []byte) (err error)

type GetSourceDevice200Response

type GetSourceDevice200Response struct {
	Created              string  `json:"created"`
	Enabled              bool    `json:"enabled"`
	FcmToken             string  `json:"fcm_token"`
	Id                   string  `json:"id"`
	InstallId            string  `json:"install_id"`
	Key                  string  `json:"key"`
	Locale               string  `json:"locale"`
	Model                string  `json:"model"`
	Name                 string  `json:"name"`
	Place                float32 `json:"place"`
	Tos                  string  `json:"tos"`
	Type                 string  `json:"type"`
	Updated              string  `json:"updated"`
	WaitlistEnabled      bool    `json:"waitlist_enabled"`
	WarpEnabled          bool    `json:"warp_enabled"`
	Account              Account `json:"account"`
	Config               Config  `json:"config"`
	AdditionalProperties map[string]interface{}
}

GetSourceDevice200Response struct for GetSourceDevice200Response

func NewGetSourceDevice200Response

func NewGetSourceDevice200Response(created string, enabled bool, fcmToken string, id string, installId string, key string, locale string, model string, name string, place float32, tos string, type_ string, updated string, waitlistEnabled bool, warpEnabled bool, account Account, config Config) *GetSourceDevice200Response

NewGetSourceDevice200Response instantiates a new GetSourceDevice200Response 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 NewGetSourceDevice200ResponseWithDefaults

func NewGetSourceDevice200ResponseWithDefaults() *GetSourceDevice200Response

NewGetSourceDevice200ResponseWithDefaults instantiates a new GetSourceDevice200Response 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 (*GetSourceDevice200Response) GetAccount

func (o *GetSourceDevice200Response) GetAccount() Account

GetAccount returns the Account field value

func (*GetSourceDevice200Response) GetAccountOk

func (o *GetSourceDevice200Response) GetAccountOk() (*Account, bool)

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

func (*GetSourceDevice200Response) GetConfig

func (o *GetSourceDevice200Response) GetConfig() Config

GetConfig returns the Config field value

func (*GetSourceDevice200Response) GetConfigOk

func (o *GetSourceDevice200Response) GetConfigOk() (*Config, bool)

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

func (*GetSourceDevice200Response) GetCreated

func (o *GetSourceDevice200Response) GetCreated() string

GetCreated returns the Created field value

func (*GetSourceDevice200Response) GetCreatedOk

func (o *GetSourceDevice200Response) GetCreatedOk() (*string, bool)

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

func (*GetSourceDevice200Response) GetEnabled

func (o *GetSourceDevice200Response) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*GetSourceDevice200Response) GetEnabledOk

func (o *GetSourceDevice200Response) GetEnabledOk() (*bool, bool)

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

func (*GetSourceDevice200Response) GetFcmToken

func (o *GetSourceDevice200Response) GetFcmToken() string

GetFcmToken returns the FcmToken field value

func (*GetSourceDevice200Response) GetFcmTokenOk

func (o *GetSourceDevice200Response) GetFcmTokenOk() (*string, bool)

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

func (*GetSourceDevice200Response) GetId

GetId returns the Id field value

func (*GetSourceDevice200Response) GetIdOk

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

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

func (*GetSourceDevice200Response) GetInstallId

func (o *GetSourceDevice200Response) GetInstallId() string

GetInstallId returns the InstallId field value

func (*GetSourceDevice200Response) GetInstallIdOk

func (o *GetSourceDevice200Response) GetInstallIdOk() (*string, bool)

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

func (*GetSourceDevice200Response) GetKey

func (o *GetSourceDevice200Response) GetKey() string

GetKey returns the Key field value

func (*GetSourceDevice200Response) GetKeyOk

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

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

func (*GetSourceDevice200Response) GetLocale

func (o *GetSourceDevice200Response) GetLocale() string

GetLocale returns the Locale field value

func (*GetSourceDevice200Response) GetLocaleOk

func (o *GetSourceDevice200Response) GetLocaleOk() (*string, bool)

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

func (*GetSourceDevice200Response) GetModel

func (o *GetSourceDevice200Response) GetModel() string

GetModel returns the Model field value

func (*GetSourceDevice200Response) GetModelOk

func (o *GetSourceDevice200Response) GetModelOk() (*string, bool)

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

func (*GetSourceDevice200Response) GetName

func (o *GetSourceDevice200Response) GetName() string

GetName returns the Name field value

func (*GetSourceDevice200Response) GetNameOk

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

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

func (*GetSourceDevice200Response) GetPlace

func (o *GetSourceDevice200Response) GetPlace() float32

GetPlace returns the Place field value

func (*GetSourceDevice200Response) GetPlaceOk

func (o *GetSourceDevice200Response) GetPlaceOk() (*float32, bool)

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

func (*GetSourceDevice200Response) GetTos

func (o *GetSourceDevice200Response) GetTos() string

GetTos returns the Tos field value

func (*GetSourceDevice200Response) GetTosOk

func (o *GetSourceDevice200Response) GetTosOk() (*string, bool)

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

func (*GetSourceDevice200Response) GetType

func (o *GetSourceDevice200Response) GetType() string

GetType returns the Type field value

func (*GetSourceDevice200Response) GetTypeOk

func (o *GetSourceDevice200Response) GetTypeOk() (*string, bool)

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

func (*GetSourceDevice200Response) GetUpdated

func (o *GetSourceDevice200Response) GetUpdated() string

GetUpdated returns the Updated field value

func (*GetSourceDevice200Response) GetUpdatedOk

func (o *GetSourceDevice200Response) GetUpdatedOk() (*string, bool)

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

func (*GetSourceDevice200Response) GetWaitlistEnabled

func (o *GetSourceDevice200Response) GetWaitlistEnabled() bool

GetWaitlistEnabled returns the WaitlistEnabled field value

func (*GetSourceDevice200Response) GetWaitlistEnabledOk

func (o *GetSourceDevice200Response) GetWaitlistEnabledOk() (*bool, bool)

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

func (*GetSourceDevice200Response) GetWarpEnabled

func (o *GetSourceDevice200Response) GetWarpEnabled() bool

GetWarpEnabled returns the WarpEnabled field value

func (*GetSourceDevice200Response) GetWarpEnabledOk

func (o *GetSourceDevice200Response) GetWarpEnabledOk() (*bool, bool)

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

func (GetSourceDevice200Response) MarshalJSON

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

func (*GetSourceDevice200Response) SetAccount

func (o *GetSourceDevice200Response) SetAccount(v Account)

SetAccount sets field value

func (*GetSourceDevice200Response) SetConfig

func (o *GetSourceDevice200Response) SetConfig(v Config)

SetConfig sets field value

func (*GetSourceDevice200Response) SetCreated

func (o *GetSourceDevice200Response) SetCreated(v string)

SetCreated sets field value

func (*GetSourceDevice200Response) SetEnabled

func (o *GetSourceDevice200Response) SetEnabled(v bool)

SetEnabled sets field value

func (*GetSourceDevice200Response) SetFcmToken

func (o *GetSourceDevice200Response) SetFcmToken(v string)

SetFcmToken sets field value

func (*GetSourceDevice200Response) SetId

func (o *GetSourceDevice200Response) SetId(v string)

SetId sets field value

func (*GetSourceDevice200Response) SetInstallId

func (o *GetSourceDevice200Response) SetInstallId(v string)

SetInstallId sets field value

func (*GetSourceDevice200Response) SetKey

func (o *GetSourceDevice200Response) SetKey(v string)

SetKey sets field value

func (*GetSourceDevice200Response) SetLocale

func (o *GetSourceDevice200Response) SetLocale(v string)

SetLocale sets field value

func (*GetSourceDevice200Response) SetModel

func (o *GetSourceDevice200Response) SetModel(v string)

SetModel sets field value

func (*GetSourceDevice200Response) SetName

func (o *GetSourceDevice200Response) SetName(v string)

SetName sets field value

func (*GetSourceDevice200Response) SetPlace

func (o *GetSourceDevice200Response) SetPlace(v float32)

SetPlace sets field value

func (*GetSourceDevice200Response) SetTos

func (o *GetSourceDevice200Response) SetTos(v string)

SetTos sets field value

func (*GetSourceDevice200Response) SetType

func (o *GetSourceDevice200Response) SetType(v string)

SetType sets field value

func (*GetSourceDevice200Response) SetUpdated

func (o *GetSourceDevice200Response) SetUpdated(v string)

SetUpdated sets field value

func (*GetSourceDevice200Response) SetWaitlistEnabled

func (o *GetSourceDevice200Response) SetWaitlistEnabled(v bool)

SetWaitlistEnabled sets field value

func (*GetSourceDevice200Response) SetWarpEnabled

func (o *GetSourceDevice200Response) SetWarpEnabled(v bool)

SetWarpEnabled sets field value

func (GetSourceDevice200Response) ToMap

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

func (*GetSourceDevice200Response) UnmarshalJSON

func (o *GetSourceDevice200Response) UnmarshalJSON(data []byte) (err error)

type IPv4Network

type IPv4Network struct {
	Address              string `json:"address"`
	Netmask              string `json:"netmask"`
	AdditionalProperties map[string]interface{}
}

IPv4Network struct for IPv4Network

func NewIPv4Network

func NewIPv4Network(address string, netmask string) *IPv4Network

NewIPv4Network instantiates a new IPv4Network 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 NewIPv4NetworkWithDefaults

func NewIPv4NetworkWithDefaults() *IPv4Network

NewIPv4NetworkWithDefaults instantiates a new IPv4Network 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 (*IPv4Network) GetAddress

func (o *IPv4Network) GetAddress() string

GetAddress returns the Address field value

func (*IPv4Network) GetAddressOk

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

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

func (*IPv4Network) GetNetmask

func (o *IPv4Network) GetNetmask() string

GetNetmask returns the Netmask field value

func (*IPv4Network) GetNetmaskOk

func (o *IPv4Network) GetNetmaskOk() (*string, bool)

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

func (IPv4Network) MarshalJSON

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

func (*IPv4Network) SetAddress

func (o *IPv4Network) SetAddress(v string)

SetAddress sets field value

func (*IPv4Network) SetNetmask

func (o *IPv4Network) SetNetmask(v string)

SetNetmask sets field value

func (IPv4Network) ToMap

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

func (*IPv4Network) UnmarshalJSON

func (o *IPv4Network) UnmarshalJSON(data []byte) (err error)

type IPv6Network

type IPv6Network struct {
	Address              string  `json:"address"`
	Prefix               float32 `json:"prefix"`
	AdditionalProperties map[string]interface{}
}

IPv6Network struct for IPv6Network

func NewIPv6Network

func NewIPv6Network(address string, prefix float32) *IPv6Network

NewIPv6Network instantiates a new IPv6Network 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 NewIPv6NetworkWithDefaults

func NewIPv6NetworkWithDefaults() *IPv6Network

NewIPv6NetworkWithDefaults instantiates a new IPv6Network 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 (*IPv6Network) GetAddress

func (o *IPv6Network) GetAddress() string

GetAddress returns the Address field value

func (*IPv6Network) GetAddressOk

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

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

func (*IPv6Network) GetPrefix

func (o *IPv6Network) GetPrefix() float32

GetPrefix returns the Prefix field value

func (*IPv6Network) GetPrefixOk

func (o *IPv6Network) GetPrefixOk() (*float32, bool)

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

func (IPv6Network) MarshalJSON

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

func (*IPv6Network) SetAddress

func (o *IPv6Network) SetAddress(v string)

SetAddress sets field value

func (*IPv6Network) SetPrefix

func (o *IPv6Network) SetPrefix(v float32)

SetPrefix sets field value

func (IPv6Network) ToMap

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

func (*IPv6Network) UnmarshalJSON

func (o *IPv6Network) UnmarshalJSON(data []byte) (err error)

type MappedNullable

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

type NetworkAddress

type NetworkAddress struct {
	V4                   string `json:"v4"`
	V6                   string `json:"v6"`
	AdditionalProperties map[string]interface{}
}

NetworkAddress struct for NetworkAddress

func NewNetworkAddress

func NewNetworkAddress(v4 string, v6 string) *NetworkAddress

NewNetworkAddress instantiates a new NetworkAddress 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 NewNetworkAddressWithDefaults

func NewNetworkAddressWithDefaults() *NetworkAddress

NewNetworkAddressWithDefaults instantiates a new NetworkAddress 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 (*NetworkAddress) GetV4

func (o *NetworkAddress) GetV4() string

GetV4 returns the V4 field value

func (*NetworkAddress) GetV4Ok

func (o *NetworkAddress) GetV4Ok() (*string, bool)

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

func (*NetworkAddress) GetV6

func (o *NetworkAddress) GetV6() string

GetV6 returns the V6 field value

func (*NetworkAddress) GetV6Ok

func (o *NetworkAddress) GetV6Ok() (*string, bool)

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

func (NetworkAddress) MarshalJSON

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

func (*NetworkAddress) SetV4

func (o *NetworkAddress) SetV4(v string)

SetV4 sets field value

func (*NetworkAddress) SetV6

func (o *NetworkAddress) SetV6(v string)

SetV6 sets field value

func (NetworkAddress) ToMap

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

func (*NetworkAddress) UnmarshalJSON

func (o *NetworkAddress) UnmarshalJSON(data []byte) (err error)

type NullableAccount

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

func NewNullableAccount

func NewNullableAccount(val *Account) *NullableAccount

func (NullableAccount) Get

func (v NullableAccount) Get() *Account

func (NullableAccount) IsSet

func (v NullableAccount) IsSet() bool

func (NullableAccount) MarshalJSON

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

func (*NullableAccount) Set

func (v *NullableAccount) Set(val *Account)

func (*NullableAccount) UnmarshalJSON

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

func (*NullableAccount) Unset

func (v *NullableAccount) Unset()

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 NullableBoundDevice

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

func NewNullableBoundDevice

func NewNullableBoundDevice(val *BoundDevice) *NullableBoundDevice

func (NullableBoundDevice) Get

func (NullableBoundDevice) IsSet

func (v NullableBoundDevice) IsSet() bool

func (NullableBoundDevice) MarshalJSON

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

func (*NullableBoundDevice) Set

func (v *NullableBoundDevice) Set(val *BoundDevice)

func (*NullableBoundDevice) UnmarshalJSON

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

func (*NullableBoundDevice) Unset

func (v *NullableBoundDevice) Unset()

type NullableConfig

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

func NewNullableConfig

func NewNullableConfig(val *Config) *NullableConfig

func (NullableConfig) Get

func (v NullableConfig) Get() *Config

func (NullableConfig) IsSet

func (v NullableConfig) IsSet() bool

func (NullableConfig) MarshalJSON

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

func (*NullableConfig) Set

func (v *NullableConfig) Set(val *Config)

func (*NullableConfig) UnmarshalJSON

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

func (*NullableConfig) Unset

func (v *NullableConfig) Unset()

type NullableConfigInterface

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

func NewNullableConfigInterface

func NewNullableConfigInterface(val *ConfigInterface) *NullableConfigInterface

func (NullableConfigInterface) Get

func (NullableConfigInterface) IsSet

func (v NullableConfigInterface) IsSet() bool

func (NullableConfigInterface) MarshalJSON

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

func (*NullableConfigInterface) Set

func (*NullableConfigInterface) UnmarshalJSON

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

func (*NullableConfigInterface) Unset

func (v *NullableConfigInterface) Unset()

type NullableConfigServices

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

func NewNullableConfigServices

func NewNullableConfigServices(val *ConfigServices) *NullableConfigServices

func (NullableConfigServices) Get

func (NullableConfigServices) IsSet

func (v NullableConfigServices) IsSet() bool

func (NullableConfigServices) MarshalJSON

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

func (*NullableConfigServices) Set

func (*NullableConfigServices) UnmarshalJSON

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

func (*NullableConfigServices) Unset

func (v *NullableConfigServices) Unset()

type NullableEndpoint

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

func NewNullableEndpoint

func NewNullableEndpoint(val *Endpoint) *NullableEndpoint

func (NullableEndpoint) Get

func (v NullableEndpoint) Get() *Endpoint

func (NullableEndpoint) IsSet

func (v NullableEndpoint) IsSet() bool

func (NullableEndpoint) MarshalJSON

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

func (*NullableEndpoint) Set

func (v *NullableEndpoint) Set(val *Endpoint)

func (*NullableEndpoint) UnmarshalJSON

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

func (*NullableEndpoint) Unset

func (v *NullableEndpoint) 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 NullableGetClientConfig200Response

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

func (NullableGetClientConfig200Response) Get

func (NullableGetClientConfig200Response) IsSet

func (NullableGetClientConfig200Response) MarshalJSON

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

func (*NullableGetClientConfig200Response) Set

func (*NullableGetClientConfig200Response) UnmarshalJSON

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

func (*NullableGetClientConfig200Response) Unset

type NullableGetClientConfig200ResponseCaptivePortalInner

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

func (NullableGetClientConfig200ResponseCaptivePortalInner) Get

func (NullableGetClientConfig200ResponseCaptivePortalInner) IsSet

func (NullableGetClientConfig200ResponseCaptivePortalInner) MarshalJSON

func (*NullableGetClientConfig200ResponseCaptivePortalInner) Set

func (*NullableGetClientConfig200ResponseCaptivePortalInner) UnmarshalJSON

func (*NullableGetClientConfig200ResponseCaptivePortalInner) Unset

type NullableGetClientConfig200ResponseCaptivePortalInnerNetworksInner

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

func (NullableGetClientConfig200ResponseCaptivePortalInnerNetworksInner) Get

func (NullableGetClientConfig200ResponseCaptivePortalInnerNetworksInner) IsSet

func (NullableGetClientConfig200ResponseCaptivePortalInnerNetworksInner) MarshalJSON

func (*NullableGetClientConfig200ResponseCaptivePortalInnerNetworksInner) Set

func (*NullableGetClientConfig200ResponseCaptivePortalInnerNetworksInner) UnmarshalJSON

func (*NullableGetClientConfig200ResponseCaptivePortalInnerNetworksInner) Unset

type NullableGetClientConfig200ResponseDenylistInner

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

func (NullableGetClientConfig200ResponseDenylistInner) Get

func (NullableGetClientConfig200ResponseDenylistInner) IsSet

func (NullableGetClientConfig200ResponseDenylistInner) MarshalJSON

func (*NullableGetClientConfig200ResponseDenylistInner) Set

func (*NullableGetClientConfig200ResponseDenylistInner) UnmarshalJSON

func (*NullableGetClientConfig200ResponseDenylistInner) Unset

type NullableGetClientConfig200ResponseDenylistInnerNetworks

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

func (NullableGetClientConfig200ResponseDenylistInnerNetworks) Get

func (NullableGetClientConfig200ResponseDenylistInnerNetworks) IsSet

func (NullableGetClientConfig200ResponseDenylistInnerNetworks) MarshalJSON

func (*NullableGetClientConfig200ResponseDenylistInnerNetworks) Set

func (*NullableGetClientConfig200ResponseDenylistInnerNetworks) UnmarshalJSON

func (*NullableGetClientConfig200ResponseDenylistInnerNetworks) Unset

type NullableGetSourceDevice200Response

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

func (NullableGetSourceDevice200Response) Get

func (NullableGetSourceDevice200Response) IsSet

func (NullableGetSourceDevice200Response) MarshalJSON

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

func (*NullableGetSourceDevice200Response) Set

func (*NullableGetSourceDevice200Response) UnmarshalJSON

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

func (*NullableGetSourceDevice200Response) Unset

type NullableIPv4Network

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

func NewNullableIPv4Network

func NewNullableIPv4Network(val *IPv4Network) *NullableIPv4Network

func (NullableIPv4Network) Get

func (NullableIPv4Network) IsSet

func (v NullableIPv4Network) IsSet() bool

func (NullableIPv4Network) MarshalJSON

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

func (*NullableIPv4Network) Set

func (v *NullableIPv4Network) Set(val *IPv4Network)

func (*NullableIPv4Network) UnmarshalJSON

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

func (*NullableIPv4Network) Unset

func (v *NullableIPv4Network) Unset()

type NullableIPv6Network

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

func NewNullableIPv6Network

func NewNullableIPv6Network(val *IPv6Network) *NullableIPv6Network

func (NullableIPv6Network) Get

func (NullableIPv6Network) IsSet

func (v NullableIPv6Network) IsSet() bool

func (NullableIPv6Network) MarshalJSON

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

func (*NullableIPv6Network) Set

func (v *NullableIPv6Network) Set(val *IPv6Network)

func (*NullableIPv6Network) UnmarshalJSON

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

func (*NullableIPv6Network) Unset

func (v *NullableIPv6Network) 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 NullableNetworkAddress

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

func NewNullableNetworkAddress

func NewNullableNetworkAddress(val *NetworkAddress) *NullableNetworkAddress

func (NullableNetworkAddress) Get

func (NullableNetworkAddress) IsSet

func (v NullableNetworkAddress) IsSet() bool

func (NullableNetworkAddress) MarshalJSON

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

func (*NullableNetworkAddress) Set

func (*NullableNetworkAddress) UnmarshalJSON

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

func (*NullableNetworkAddress) Unset

func (v *NullableNetworkAddress) Unset()

type NullablePeer

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

func NewNullablePeer

func NewNullablePeer(val *Peer) *NullablePeer

func (NullablePeer) Get

func (v NullablePeer) Get() *Peer

func (NullablePeer) IsSet

func (v NullablePeer) IsSet() bool

func (NullablePeer) MarshalJSON

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

func (*NullablePeer) Set

func (v *NullablePeer) Set(val *Peer)

func (*NullablePeer) UnmarshalJSON

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

func (*NullablePeer) Unset

func (v *NullablePeer) Unset()

type NullableRegister200Response

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

func NewNullableRegister200Response

func NewNullableRegister200Response(val *Register200Response) *NullableRegister200Response

func (NullableRegister200Response) Get

func (NullableRegister200Response) IsSet

func (NullableRegister200Response) MarshalJSON

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

func (*NullableRegister200Response) Set

func (*NullableRegister200Response) UnmarshalJSON

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

func (*NullableRegister200Response) Unset

func (v *NullableRegister200Response) Unset()

type NullableRegisterRequest

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

func NewNullableRegisterRequest

func NewNullableRegisterRequest(val *RegisterRequest) *NullableRegisterRequest

func (NullableRegisterRequest) Get

func (NullableRegisterRequest) IsSet

func (v NullableRegisterRequest) IsSet() bool

func (NullableRegisterRequest) MarshalJSON

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

func (*NullableRegisterRequest) Set

func (*NullableRegisterRequest) UnmarshalJSON

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

func (*NullableRegisterRequest) Unset

func (v *NullableRegisterRequest) Unset()

type NullableResetAccountLicense200Response

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

func (NullableResetAccountLicense200Response) Get

func (NullableResetAccountLicense200Response) IsSet

func (NullableResetAccountLicense200Response) MarshalJSON

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

func (*NullableResetAccountLicense200Response) Set

func (*NullableResetAccountLicense200Response) UnmarshalJSON

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

func (*NullableResetAccountLicense200Response) Unset

type NullableSourceDevice

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

func NewNullableSourceDevice

func NewNullableSourceDevice(val *SourceDevice) *NullableSourceDevice

func (NullableSourceDevice) Get

func (NullableSourceDevice) IsSet

func (v NullableSourceDevice) IsSet() bool

func (NullableSourceDevice) MarshalJSON

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

func (*NullableSourceDevice) Set

func (v *NullableSourceDevice) Set(val *SourceDevice)

func (*NullableSourceDevice) UnmarshalJSON

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

func (*NullableSourceDevice) Unset

func (v *NullableSourceDevice) 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 NullableUpdateAccount200Response

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

func (NullableUpdateAccount200Response) Get

func (NullableUpdateAccount200Response) IsSet

func (NullableUpdateAccount200Response) MarshalJSON

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

func (*NullableUpdateAccount200Response) Set

func (*NullableUpdateAccount200Response) UnmarshalJSON

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

func (*NullableUpdateAccount200Response) Unset

type NullableUpdateAccountRequest

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

func NewNullableUpdateAccountRequest

func NewNullableUpdateAccountRequest(val *UpdateAccountRequest) *NullableUpdateAccountRequest

func (NullableUpdateAccountRequest) Get

func (NullableUpdateAccountRequest) IsSet

func (NullableUpdateAccountRequest) MarshalJSON

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

func (*NullableUpdateAccountRequest) Set

func (*NullableUpdateAccountRequest) UnmarshalJSON

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

func (*NullableUpdateAccountRequest) Unset

func (v *NullableUpdateAccountRequest) Unset()

type NullableUpdateBoundDeviceRequest

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

func (NullableUpdateBoundDeviceRequest) Get

func (NullableUpdateBoundDeviceRequest) IsSet

func (NullableUpdateBoundDeviceRequest) MarshalJSON

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

func (*NullableUpdateBoundDeviceRequest) Set

func (*NullableUpdateBoundDeviceRequest) UnmarshalJSON

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

func (*NullableUpdateBoundDeviceRequest) Unset

type NullableUpdateSourceDevice200Response

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

func (NullableUpdateSourceDevice200Response) Get

func (NullableUpdateSourceDevice200Response) IsSet

func (NullableUpdateSourceDevice200Response) MarshalJSON

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

func (*NullableUpdateSourceDevice200Response) Set

func (*NullableUpdateSourceDevice200Response) UnmarshalJSON

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

func (*NullableUpdateSourceDevice200Response) Unset

type NullableUpdateSourceDeviceRequest

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

func (NullableUpdateSourceDeviceRequest) Get

func (NullableUpdateSourceDeviceRequest) IsSet

func (NullableUpdateSourceDeviceRequest) MarshalJSON

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

func (*NullableUpdateSourceDeviceRequest) Set

func (*NullableUpdateSourceDeviceRequest) UnmarshalJSON

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

func (*NullableUpdateSourceDeviceRequest) Unset

type Peer

type Peer struct {
	Endpoint             Endpoint `json:"endpoint"`
	PublicKey            string   `json:"public_key"`
	AdditionalProperties map[string]interface{}
}

Peer struct for Peer

func NewPeer

func NewPeer(endpoint Endpoint, publicKey string) *Peer

NewPeer instantiates a new Peer 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 NewPeerWithDefaults

func NewPeerWithDefaults() *Peer

NewPeerWithDefaults instantiates a new Peer 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 (*Peer) GetEndpoint

func (o *Peer) GetEndpoint() Endpoint

GetEndpoint returns the Endpoint field value

func (*Peer) GetEndpointOk

func (o *Peer) GetEndpointOk() (*Endpoint, bool)

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

func (*Peer) GetPublicKey

func (o *Peer) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*Peer) GetPublicKeyOk

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

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

func (Peer) MarshalJSON

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

func (*Peer) SetEndpoint

func (o *Peer) SetEndpoint(v Endpoint)

SetEndpoint sets field value

func (*Peer) SetPublicKey

func (o *Peer) SetPublicKey(v string)

SetPublicKey sets field value

func (Peer) ToMap

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

func (*Peer) UnmarshalJSON

func (o *Peer) UnmarshalJSON(data []byte) (err error)

type Register200Response

type Register200Response struct {
	Created              string  `json:"created"`
	Enabled              bool    `json:"enabled"`
	FcmToken             string  `json:"fcm_token"`
	Id                   string  `json:"id"`
	InstallId            string  `json:"install_id"`
	Key                  string  `json:"key"`
	Locale               string  `json:"locale"`
	Model                string  `json:"model"`
	Name                 string  `json:"name"`
	Place                float32 `json:"place"`
	Tos                  string  `json:"tos"`
	Type                 string  `json:"type"`
	Updated              string  `json:"updated"`
	WaitlistEnabled      bool    `json:"waitlist_enabled"`
	WarpEnabled          bool    `json:"warp_enabled"`
	Account              Account `json:"account"`
	Config               Config  `json:"config"`
	Token                string  `json:"token"`
	AdditionalProperties map[string]interface{}
}

Register200Response struct for Register200Response

func NewRegister200Response

func NewRegister200Response(created string, enabled bool, fcmToken string, id string, installId string, key string, locale string, model string, name string, place float32, tos string, type_ string, updated string, waitlistEnabled bool, warpEnabled bool, account Account, config Config, token string) *Register200Response

NewRegister200Response instantiates a new Register200Response 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 NewRegister200ResponseWithDefaults

func NewRegister200ResponseWithDefaults() *Register200Response

NewRegister200ResponseWithDefaults instantiates a new Register200Response 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 (*Register200Response) GetAccount

func (o *Register200Response) GetAccount() Account

GetAccount returns the Account field value

func (*Register200Response) GetAccountOk

func (o *Register200Response) GetAccountOk() (*Account, bool)

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

func (*Register200Response) GetConfig

func (o *Register200Response) GetConfig() Config

GetConfig returns the Config field value

func (*Register200Response) GetConfigOk

func (o *Register200Response) GetConfigOk() (*Config, bool)

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

func (*Register200Response) GetCreated

func (o *Register200Response) GetCreated() string

GetCreated returns the Created field value

func (*Register200Response) GetCreatedOk

func (o *Register200Response) GetCreatedOk() (*string, bool)

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

func (*Register200Response) GetEnabled

func (o *Register200Response) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*Register200Response) GetEnabledOk

func (o *Register200Response) GetEnabledOk() (*bool, bool)

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

func (*Register200Response) GetFcmToken

func (o *Register200Response) GetFcmToken() string

GetFcmToken returns the FcmToken field value

func (*Register200Response) GetFcmTokenOk

func (o *Register200Response) GetFcmTokenOk() (*string, bool)

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

func (*Register200Response) GetId

func (o *Register200Response) GetId() string

GetId returns the Id field value

func (*Register200Response) GetIdOk

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

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

func (*Register200Response) GetInstallId

func (o *Register200Response) GetInstallId() string

GetInstallId returns the InstallId field value

func (*Register200Response) GetInstallIdOk

func (o *Register200Response) GetInstallIdOk() (*string, bool)

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

func (*Register200Response) GetKey

func (o *Register200Response) GetKey() string

GetKey returns the Key field value

func (*Register200Response) GetKeyOk

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

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

func (*Register200Response) GetLocale

func (o *Register200Response) GetLocale() string

GetLocale returns the Locale field value

func (*Register200Response) GetLocaleOk

func (o *Register200Response) GetLocaleOk() (*string, bool)

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

func (*Register200Response) GetModel

func (o *Register200Response) GetModel() string

GetModel returns the Model field value

func (*Register200Response) GetModelOk

func (o *Register200Response) GetModelOk() (*string, bool)

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

func (*Register200Response) GetName

func (o *Register200Response) GetName() string

GetName returns the Name field value

func (*Register200Response) GetNameOk

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

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

func (*Register200Response) GetPlace

func (o *Register200Response) GetPlace() float32

GetPlace returns the Place field value

func (*Register200Response) GetPlaceOk

func (o *Register200Response) GetPlaceOk() (*float32, bool)

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

func (*Register200Response) GetToken

func (o *Register200Response) GetToken() string

GetToken returns the Token field value

func (*Register200Response) GetTokenOk

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

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

func (*Register200Response) GetTos

func (o *Register200Response) GetTos() string

GetTos returns the Tos field value

func (*Register200Response) GetTosOk

func (o *Register200Response) GetTosOk() (*string, bool)

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

func (*Register200Response) GetType

func (o *Register200Response) GetType() string

GetType returns the Type field value

func (*Register200Response) GetTypeOk

func (o *Register200Response) GetTypeOk() (*string, bool)

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

func (*Register200Response) GetUpdated

func (o *Register200Response) GetUpdated() string

GetUpdated returns the Updated field value

func (*Register200Response) GetUpdatedOk

func (o *Register200Response) GetUpdatedOk() (*string, bool)

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

func (*Register200Response) GetWaitlistEnabled

func (o *Register200Response) GetWaitlistEnabled() bool

GetWaitlistEnabled returns the WaitlistEnabled field value

func (*Register200Response) GetWaitlistEnabledOk

func (o *Register200Response) GetWaitlistEnabledOk() (*bool, bool)

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

func (*Register200Response) GetWarpEnabled

func (o *Register200Response) GetWarpEnabled() bool

GetWarpEnabled returns the WarpEnabled field value

func (*Register200Response) GetWarpEnabledOk

func (o *Register200Response) GetWarpEnabledOk() (*bool, bool)

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

func (Register200Response) MarshalJSON

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

func (*Register200Response) SetAccount

func (o *Register200Response) SetAccount(v Account)

SetAccount sets field value

func (*Register200Response) SetConfig

func (o *Register200Response) SetConfig(v Config)

SetConfig sets field value

func (*Register200Response) SetCreated

func (o *Register200Response) SetCreated(v string)

SetCreated sets field value

func (*Register200Response) SetEnabled

func (o *Register200Response) SetEnabled(v bool)

SetEnabled sets field value

func (*Register200Response) SetFcmToken

func (o *Register200Response) SetFcmToken(v string)

SetFcmToken sets field value

func (*Register200Response) SetId

func (o *Register200Response) SetId(v string)

SetId sets field value

func (*Register200Response) SetInstallId

func (o *Register200Response) SetInstallId(v string)

SetInstallId sets field value

func (*Register200Response) SetKey

func (o *Register200Response) SetKey(v string)

SetKey sets field value

func (*Register200Response) SetLocale

func (o *Register200Response) SetLocale(v string)

SetLocale sets field value

func (*Register200Response) SetModel

func (o *Register200Response) SetModel(v string)

SetModel sets field value

func (*Register200Response) SetName

func (o *Register200Response) SetName(v string)

SetName sets field value

func (*Register200Response) SetPlace

func (o *Register200Response) SetPlace(v float32)

SetPlace sets field value

func (*Register200Response) SetToken

func (o *Register200Response) SetToken(v string)

SetToken sets field value

func (*Register200Response) SetTos

func (o *Register200Response) SetTos(v string)

SetTos sets field value

func (*Register200Response) SetType

func (o *Register200Response) SetType(v string)

SetType sets field value

func (*Register200Response) SetUpdated

func (o *Register200Response) SetUpdated(v string)

SetUpdated sets field value

func (*Register200Response) SetWaitlistEnabled

func (o *Register200Response) SetWaitlistEnabled(v bool)

SetWaitlistEnabled sets field value

func (*Register200Response) SetWarpEnabled

func (o *Register200Response) SetWarpEnabled(v bool)

SetWarpEnabled sets field value

func (Register200Response) ToMap

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

func (*Register200Response) UnmarshalJSON

func (o *Register200Response) UnmarshalJSON(data []byte) (err error)

type RegisterRequest

type RegisterRequest struct {
	FcmToken             string `json:"fcm_token"`
	InstallId            string `json:"install_id"`
	Key                  string `json:"key"`
	Locale               string `json:"locale"`
	Model                string `json:"model"`
	Tos                  string `json:"tos"`
	Type                 string `json:"type"`
	AdditionalProperties map[string]interface{}
}

RegisterRequest struct for RegisterRequest

func NewRegisterRequest

func NewRegisterRequest(fcmToken string, installId string, key string, locale string, model string, tos string, type_ string) *RegisterRequest

NewRegisterRequest instantiates a new RegisterRequest 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 NewRegisterRequestWithDefaults

func NewRegisterRequestWithDefaults() *RegisterRequest

NewRegisterRequestWithDefaults instantiates a new RegisterRequest 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 (*RegisterRequest) GetFcmToken

func (o *RegisterRequest) GetFcmToken() string

GetFcmToken returns the FcmToken field value

func (*RegisterRequest) GetFcmTokenOk

func (o *RegisterRequest) GetFcmTokenOk() (*string, bool)

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

func (*RegisterRequest) GetInstallId

func (o *RegisterRequest) GetInstallId() string

GetInstallId returns the InstallId field value

func (*RegisterRequest) GetInstallIdOk

func (o *RegisterRequest) GetInstallIdOk() (*string, bool)

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

func (*RegisterRequest) GetKey

func (o *RegisterRequest) GetKey() string

GetKey returns the Key field value

func (*RegisterRequest) GetKeyOk

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

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

func (*RegisterRequest) GetLocale

func (o *RegisterRequest) GetLocale() string

GetLocale returns the Locale field value

func (*RegisterRequest) GetLocaleOk

func (o *RegisterRequest) GetLocaleOk() (*string, bool)

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

func (*RegisterRequest) GetModel

func (o *RegisterRequest) GetModel() string

GetModel returns the Model field value

func (*RegisterRequest) GetModelOk

func (o *RegisterRequest) GetModelOk() (*string, bool)

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

func (*RegisterRequest) GetTos

func (o *RegisterRequest) GetTos() string

GetTos returns the Tos field value

func (*RegisterRequest) GetTosOk

func (o *RegisterRequest) GetTosOk() (*string, bool)

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

func (*RegisterRequest) GetType

func (o *RegisterRequest) GetType() string

GetType returns the Type field value

func (*RegisterRequest) GetTypeOk

func (o *RegisterRequest) GetTypeOk() (*string, bool)

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

func (RegisterRequest) MarshalJSON

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

func (*RegisterRequest) SetFcmToken

func (o *RegisterRequest) SetFcmToken(v string)

SetFcmToken sets field value

func (*RegisterRequest) SetInstallId

func (o *RegisterRequest) SetInstallId(v string)

SetInstallId sets field value

func (*RegisterRequest) SetKey

func (o *RegisterRequest) SetKey(v string)

SetKey sets field value

func (*RegisterRequest) SetLocale

func (o *RegisterRequest) SetLocale(v string)

SetLocale sets field value

func (*RegisterRequest) SetModel

func (o *RegisterRequest) SetModel(v string)

SetModel sets field value

func (*RegisterRequest) SetTos

func (o *RegisterRequest) SetTos(v string)

SetTos sets field value

func (*RegisterRequest) SetType

func (o *RegisterRequest) SetType(v string)

SetType sets field value

func (RegisterRequest) ToMap

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

func (*RegisterRequest) UnmarshalJSON

func (o *RegisterRequest) UnmarshalJSON(data []byte) (err error)

type ResetAccountLicense200Response

type ResetAccountLicense200Response struct {
	License              string `json:"license"`
	AdditionalProperties map[string]interface{}
}

ResetAccountLicense200Response struct for ResetAccountLicense200Response

func NewResetAccountLicense200Response

func NewResetAccountLicense200Response(license string) *ResetAccountLicense200Response

NewResetAccountLicense200Response instantiates a new ResetAccountLicense200Response 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 NewResetAccountLicense200ResponseWithDefaults

func NewResetAccountLicense200ResponseWithDefaults() *ResetAccountLicense200Response

NewResetAccountLicense200ResponseWithDefaults instantiates a new ResetAccountLicense200Response 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 (*ResetAccountLicense200Response) GetLicense

func (o *ResetAccountLicense200Response) GetLicense() string

GetLicense returns the License field value

func (*ResetAccountLicense200Response) GetLicenseOk

func (o *ResetAccountLicense200Response) GetLicenseOk() (*string, bool)

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

func (ResetAccountLicense200Response) MarshalJSON

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

func (*ResetAccountLicense200Response) SetLicense

func (o *ResetAccountLicense200Response) SetLicense(v string)

SetLicense sets field value

func (ResetAccountLicense200Response) ToMap

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

func (*ResetAccountLicense200Response) UnmarshalJSON

func (o *ResetAccountLicense200Response) UnmarshalJSON(data []byte) (err error)

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 SourceDevice

type SourceDevice struct {
	Created              string  `json:"created"`
	Enabled              bool    `json:"enabled"`
	FcmToken             string  `json:"fcm_token"`
	Id                   string  `json:"id"`
	InstallId            string  `json:"install_id"`
	Key                  string  `json:"key"`
	Locale               string  `json:"locale"`
	Model                string  `json:"model"`
	Name                 string  `json:"name"`
	Place                float32 `json:"place"`
	Tos                  string  `json:"tos"`
	Type                 string  `json:"type"`
	Updated              string  `json:"updated"`
	WaitlistEnabled      bool    `json:"waitlist_enabled"`
	WarpEnabled          bool    `json:"warp_enabled"`
	AdditionalProperties map[string]interface{}
}

SourceDevice struct for SourceDevice

func NewSourceDevice

func NewSourceDevice(created string, enabled bool, fcmToken string, id string, installId string, key string, locale string, model string, name string, place float32, tos string, type_ string, updated string, waitlistEnabled bool, warpEnabled bool) *SourceDevice

NewSourceDevice instantiates a new SourceDevice 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 NewSourceDeviceWithDefaults

func NewSourceDeviceWithDefaults() *SourceDevice

NewSourceDeviceWithDefaults instantiates a new SourceDevice 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 (*SourceDevice) GetCreated

func (o *SourceDevice) GetCreated() string

GetCreated returns the Created field value

func (*SourceDevice) GetCreatedOk

func (o *SourceDevice) GetCreatedOk() (*string, bool)

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

func (*SourceDevice) GetEnabled

func (o *SourceDevice) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*SourceDevice) GetEnabledOk

func (o *SourceDevice) GetEnabledOk() (*bool, bool)

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

func (*SourceDevice) GetFcmToken

func (o *SourceDevice) GetFcmToken() string

GetFcmToken returns the FcmToken field value

func (*SourceDevice) GetFcmTokenOk

func (o *SourceDevice) GetFcmTokenOk() (*string, bool)

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

func (*SourceDevice) GetId

func (o *SourceDevice) GetId() string

GetId returns the Id field value

func (*SourceDevice) GetIdOk

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

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

func (*SourceDevice) GetInstallId

func (o *SourceDevice) GetInstallId() string

GetInstallId returns the InstallId field value

func (*SourceDevice) GetInstallIdOk

func (o *SourceDevice) GetInstallIdOk() (*string, bool)

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

func (*SourceDevice) GetKey

func (o *SourceDevice) GetKey() string

GetKey returns the Key field value

func (*SourceDevice) GetKeyOk

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

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

func (*SourceDevice) GetLocale

func (o *SourceDevice) GetLocale() string

GetLocale returns the Locale field value

func (*SourceDevice) GetLocaleOk

func (o *SourceDevice) GetLocaleOk() (*string, bool)

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

func (*SourceDevice) GetModel

func (o *SourceDevice) GetModel() string

GetModel returns the Model field value

func (*SourceDevice) GetModelOk

func (o *SourceDevice) GetModelOk() (*string, bool)

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

func (*SourceDevice) GetName

func (o *SourceDevice) GetName() string

GetName returns the Name field value

func (*SourceDevice) GetNameOk

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

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

func (*SourceDevice) GetPlace

func (o *SourceDevice) GetPlace() float32

GetPlace returns the Place field value

func (*SourceDevice) GetPlaceOk

func (o *SourceDevice) GetPlaceOk() (*float32, bool)

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

func (*SourceDevice) GetTos

func (o *SourceDevice) GetTos() string

GetTos returns the Tos field value

func (*SourceDevice) GetTosOk

func (o *SourceDevice) GetTosOk() (*string, bool)

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

func (*SourceDevice) GetType

func (o *SourceDevice) GetType() string

GetType returns the Type field value

func (*SourceDevice) GetTypeOk

func (o *SourceDevice) GetTypeOk() (*string, bool)

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

func (*SourceDevice) GetUpdated

func (o *SourceDevice) GetUpdated() string

GetUpdated returns the Updated field value

func (*SourceDevice) GetUpdatedOk

func (o *SourceDevice) GetUpdatedOk() (*string, bool)

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

func (*SourceDevice) GetWaitlistEnabled

func (o *SourceDevice) GetWaitlistEnabled() bool

GetWaitlistEnabled returns the WaitlistEnabled field value

func (*SourceDevice) GetWaitlistEnabledOk

func (o *SourceDevice) GetWaitlistEnabledOk() (*bool, bool)

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

func (*SourceDevice) GetWarpEnabled

func (o *SourceDevice) GetWarpEnabled() bool

GetWarpEnabled returns the WarpEnabled field value

func (*SourceDevice) GetWarpEnabledOk

func (o *SourceDevice) GetWarpEnabledOk() (*bool, bool)

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

func (SourceDevice) MarshalJSON

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

func (*SourceDevice) SetCreated

func (o *SourceDevice) SetCreated(v string)

SetCreated sets field value

func (*SourceDevice) SetEnabled

func (o *SourceDevice) SetEnabled(v bool)

SetEnabled sets field value

func (*SourceDevice) SetFcmToken

func (o *SourceDevice) SetFcmToken(v string)

SetFcmToken sets field value

func (*SourceDevice) SetId

func (o *SourceDevice) SetId(v string)

SetId sets field value

func (*SourceDevice) SetInstallId

func (o *SourceDevice) SetInstallId(v string)

SetInstallId sets field value

func (*SourceDevice) SetKey

func (o *SourceDevice) SetKey(v string)

SetKey sets field value

func (*SourceDevice) SetLocale

func (o *SourceDevice) SetLocale(v string)

SetLocale sets field value

func (*SourceDevice) SetModel

func (o *SourceDevice) SetModel(v string)

SetModel sets field value

func (*SourceDevice) SetName

func (o *SourceDevice) SetName(v string)

SetName sets field value

func (*SourceDevice) SetPlace

func (o *SourceDevice) SetPlace(v float32)

SetPlace sets field value

func (*SourceDevice) SetTos

func (o *SourceDevice) SetTos(v string)

SetTos sets field value

func (*SourceDevice) SetType

func (o *SourceDevice) SetType(v string)

SetType sets field value

func (*SourceDevice) SetUpdated

func (o *SourceDevice) SetUpdated(v string)

SetUpdated sets field value

func (*SourceDevice) SetWaitlistEnabled

func (o *SourceDevice) SetWaitlistEnabled(v bool)

SetWaitlistEnabled sets field value

func (*SourceDevice) SetWarpEnabled

func (o *SourceDevice) SetWarpEnabled(v bool)

SetWarpEnabled sets field value

func (SourceDevice) ToMap

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

func (*SourceDevice) UnmarshalJSON

func (o *SourceDevice) UnmarshalJSON(data []byte) (err error)

type UpdateAccount200Response

type UpdateAccount200Response struct {
	Created                  string  `json:"created"`
	Id                       string  `json:"id"`
	PremiumData              float32 `json:"premium_data"`
	Quota                    float32 `json:"quota"`
	ReferralCount            float32 `json:"referral_count"`
	ReferralRenewalCountdown float32 `json:"referral_renewal_countdown"`
	Role                     string  `json:"role"`
	Updated                  string  `json:"updated"`
	WarpPlus                 bool    `json:"warp_plus"`
	AdditionalProperties     map[string]interface{}
}

UpdateAccount200Response struct for UpdateAccount200Response

func NewUpdateAccount200Response

func NewUpdateAccount200Response(created string, id string, premiumData float32, quota float32, referralCount float32, referralRenewalCountdown float32, role string, updated string, warpPlus bool) *UpdateAccount200Response

NewUpdateAccount200Response instantiates a new UpdateAccount200Response 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 NewUpdateAccount200ResponseWithDefaults

func NewUpdateAccount200ResponseWithDefaults() *UpdateAccount200Response

NewUpdateAccount200ResponseWithDefaults instantiates a new UpdateAccount200Response 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 (*UpdateAccount200Response) GetCreated

func (o *UpdateAccount200Response) GetCreated() string

GetCreated returns the Created field value

func (*UpdateAccount200Response) GetCreatedOk

func (o *UpdateAccount200Response) GetCreatedOk() (*string, bool)

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

func (*UpdateAccount200Response) GetId

func (o *UpdateAccount200Response) GetId() string

GetId returns the Id field value

func (*UpdateAccount200Response) GetIdOk

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

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

func (*UpdateAccount200Response) GetPremiumData

func (o *UpdateAccount200Response) GetPremiumData() float32

GetPremiumData returns the PremiumData field value

func (*UpdateAccount200Response) GetPremiumDataOk

func (o *UpdateAccount200Response) GetPremiumDataOk() (*float32, bool)

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

func (*UpdateAccount200Response) GetQuota

func (o *UpdateAccount200Response) GetQuota() float32

GetQuota returns the Quota field value

func (*UpdateAccount200Response) GetQuotaOk

func (o *UpdateAccount200Response) GetQuotaOk() (*float32, bool)

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

func (*UpdateAccount200Response) GetReferralCount

func (o *UpdateAccount200Response) GetReferralCount() float32

GetReferralCount returns the ReferralCount field value

func (*UpdateAccount200Response) GetReferralCountOk

func (o *UpdateAccount200Response) GetReferralCountOk() (*float32, bool)

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

func (*UpdateAccount200Response) GetReferralRenewalCountdown

func (o *UpdateAccount200Response) GetReferralRenewalCountdown() float32

GetReferralRenewalCountdown returns the ReferralRenewalCountdown field value

func (*UpdateAccount200Response) GetReferralRenewalCountdownOk

func (o *UpdateAccount200Response) GetReferralRenewalCountdownOk() (*float32, bool)

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

func (*UpdateAccount200Response) GetRole

func (o *UpdateAccount200Response) GetRole() string

GetRole returns the Role field value

func (*UpdateAccount200Response) GetRoleOk

func (o *UpdateAccount200Response) GetRoleOk() (*string, bool)

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

func (*UpdateAccount200Response) GetUpdated

func (o *UpdateAccount200Response) GetUpdated() string

GetUpdated returns the Updated field value

func (*UpdateAccount200Response) GetUpdatedOk

func (o *UpdateAccount200Response) GetUpdatedOk() (*string, bool)

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

func (*UpdateAccount200Response) GetWarpPlus

func (o *UpdateAccount200Response) GetWarpPlus() bool

GetWarpPlus returns the WarpPlus field value

func (*UpdateAccount200Response) GetWarpPlusOk

func (o *UpdateAccount200Response) GetWarpPlusOk() (*bool, bool)

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

func (UpdateAccount200Response) MarshalJSON

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

func (*UpdateAccount200Response) SetCreated

func (o *UpdateAccount200Response) SetCreated(v string)

SetCreated sets field value

func (*UpdateAccount200Response) SetId

func (o *UpdateAccount200Response) SetId(v string)

SetId sets field value

func (*UpdateAccount200Response) SetPremiumData

func (o *UpdateAccount200Response) SetPremiumData(v float32)

SetPremiumData sets field value

func (*UpdateAccount200Response) SetQuota

func (o *UpdateAccount200Response) SetQuota(v float32)

SetQuota sets field value

func (*UpdateAccount200Response) SetReferralCount

func (o *UpdateAccount200Response) SetReferralCount(v float32)

SetReferralCount sets field value

func (*UpdateAccount200Response) SetReferralRenewalCountdown

func (o *UpdateAccount200Response) SetReferralRenewalCountdown(v float32)

SetReferralRenewalCountdown sets field value

func (*UpdateAccount200Response) SetRole

func (o *UpdateAccount200Response) SetRole(v string)

SetRole sets field value

func (*UpdateAccount200Response) SetUpdated

func (o *UpdateAccount200Response) SetUpdated(v string)

SetUpdated sets field value

func (*UpdateAccount200Response) SetWarpPlus

func (o *UpdateAccount200Response) SetWarpPlus(v bool)

SetWarpPlus sets field value

func (UpdateAccount200Response) ToMap

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

func (*UpdateAccount200Response) UnmarshalJSON

func (o *UpdateAccount200Response) UnmarshalJSON(data []byte) (err error)

type UpdateAccountRequest

type UpdateAccountRequest struct {
	License              string `json:"license"`
	AdditionalProperties map[string]interface{}
}

UpdateAccountRequest struct for UpdateAccountRequest

func NewUpdateAccountRequest

func NewUpdateAccountRequest(license string) *UpdateAccountRequest

NewUpdateAccountRequest instantiates a new UpdateAccountRequest 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 NewUpdateAccountRequestWithDefaults

func NewUpdateAccountRequestWithDefaults() *UpdateAccountRequest

NewUpdateAccountRequestWithDefaults instantiates a new UpdateAccountRequest 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 (*UpdateAccountRequest) GetLicense

func (o *UpdateAccountRequest) GetLicense() string

GetLicense returns the License field value

func (*UpdateAccountRequest) GetLicenseOk

func (o *UpdateAccountRequest) GetLicenseOk() (*string, bool)

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

func (UpdateAccountRequest) MarshalJSON

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

func (*UpdateAccountRequest) SetLicense

func (o *UpdateAccountRequest) SetLicense(v string)

SetLicense sets field value

func (UpdateAccountRequest) ToMap

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

func (*UpdateAccountRequest) UnmarshalJSON

func (o *UpdateAccountRequest) UnmarshalJSON(data []byte) (err error)

type UpdateBoundDeviceRequest

type UpdateBoundDeviceRequest struct {
	Active               *bool   `json:"active,omitempty"`
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateBoundDeviceRequest struct for UpdateBoundDeviceRequest

func NewUpdateBoundDeviceRequest

func NewUpdateBoundDeviceRequest() *UpdateBoundDeviceRequest

NewUpdateBoundDeviceRequest instantiates a new UpdateBoundDeviceRequest 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 NewUpdateBoundDeviceRequestWithDefaults

func NewUpdateBoundDeviceRequestWithDefaults() *UpdateBoundDeviceRequest

NewUpdateBoundDeviceRequestWithDefaults instantiates a new UpdateBoundDeviceRequest 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 (*UpdateBoundDeviceRequest) GetActive

func (o *UpdateBoundDeviceRequest) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*UpdateBoundDeviceRequest) GetActiveOk

func (o *UpdateBoundDeviceRequest) GetActiveOk() (*bool, bool)

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

func (*UpdateBoundDeviceRequest) GetName

func (o *UpdateBoundDeviceRequest) GetName() string

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

func (*UpdateBoundDeviceRequest) GetNameOk

func (o *UpdateBoundDeviceRequest) 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 (*UpdateBoundDeviceRequest) HasActive

func (o *UpdateBoundDeviceRequest) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*UpdateBoundDeviceRequest) HasName

func (o *UpdateBoundDeviceRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (UpdateBoundDeviceRequest) MarshalJSON

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

func (*UpdateBoundDeviceRequest) SetActive

func (o *UpdateBoundDeviceRequest) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*UpdateBoundDeviceRequest) SetName

func (o *UpdateBoundDeviceRequest) SetName(v string)

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

func (UpdateBoundDeviceRequest) ToMap

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

func (*UpdateBoundDeviceRequest) UnmarshalJSON

func (o *UpdateBoundDeviceRequest) UnmarshalJSON(data []byte) (err error)

type UpdateSourceDevice200Response

type UpdateSourceDevice200Response struct {
	Created              string  `json:"created"`
	Enabled              bool    `json:"enabled"`
	FcmToken             string  `json:"fcm_token"`
	Id                   string  `json:"id"`
	InstallId            string  `json:"install_id"`
	Key                  string  `json:"key"`
	Locale               string  `json:"locale"`
	Model                string  `json:"model"`
	Name                 string  `json:"name"`
	Place                float32 `json:"place"`
	Tos                  string  `json:"tos"`
	Type                 string  `json:"type"`
	Updated              string  `json:"updated"`
	WaitlistEnabled      bool    `json:"waitlist_enabled"`
	WarpEnabled          bool    `json:"warp_enabled"`
	Account              Account `json:"account"`
	Config               Config  `json:"config"`
	AdditionalProperties map[string]interface{}
}

UpdateSourceDevice200Response struct for UpdateSourceDevice200Response

func NewUpdateSourceDevice200Response

func NewUpdateSourceDevice200Response(created string, enabled bool, fcmToken string, id string, installId string, key string, locale string, model string, name string, place float32, tos string, type_ string, updated string, waitlistEnabled bool, warpEnabled bool, account Account, config Config) *UpdateSourceDevice200Response

NewUpdateSourceDevice200Response instantiates a new UpdateSourceDevice200Response 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 NewUpdateSourceDevice200ResponseWithDefaults

func NewUpdateSourceDevice200ResponseWithDefaults() *UpdateSourceDevice200Response

NewUpdateSourceDevice200ResponseWithDefaults instantiates a new UpdateSourceDevice200Response 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 (*UpdateSourceDevice200Response) GetAccount

func (o *UpdateSourceDevice200Response) GetAccount() Account

GetAccount returns the Account field value

func (*UpdateSourceDevice200Response) GetAccountOk

func (o *UpdateSourceDevice200Response) GetAccountOk() (*Account, bool)

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

func (*UpdateSourceDevice200Response) GetConfig

func (o *UpdateSourceDevice200Response) GetConfig() Config

GetConfig returns the Config field value

func (*UpdateSourceDevice200Response) GetConfigOk

func (o *UpdateSourceDevice200Response) GetConfigOk() (*Config, bool)

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

func (*UpdateSourceDevice200Response) GetCreated

func (o *UpdateSourceDevice200Response) GetCreated() string

GetCreated returns the Created field value

func (*UpdateSourceDevice200Response) GetCreatedOk

func (o *UpdateSourceDevice200Response) GetCreatedOk() (*string, bool)

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

func (*UpdateSourceDevice200Response) GetEnabled

func (o *UpdateSourceDevice200Response) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*UpdateSourceDevice200Response) GetEnabledOk

func (o *UpdateSourceDevice200Response) GetEnabledOk() (*bool, bool)

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

func (*UpdateSourceDevice200Response) GetFcmToken

func (o *UpdateSourceDevice200Response) GetFcmToken() string

GetFcmToken returns the FcmToken field value

func (*UpdateSourceDevice200Response) GetFcmTokenOk

func (o *UpdateSourceDevice200Response) GetFcmTokenOk() (*string, bool)

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

func (*UpdateSourceDevice200Response) GetId

GetId returns the Id field value

func (*UpdateSourceDevice200Response) GetIdOk

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

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

func (*UpdateSourceDevice200Response) GetInstallId

func (o *UpdateSourceDevice200Response) GetInstallId() string

GetInstallId returns the InstallId field value

func (*UpdateSourceDevice200Response) GetInstallIdOk

func (o *UpdateSourceDevice200Response) GetInstallIdOk() (*string, bool)

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

func (*UpdateSourceDevice200Response) GetKey

GetKey returns the Key field value

func (*UpdateSourceDevice200Response) GetKeyOk

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

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

func (*UpdateSourceDevice200Response) GetLocale

func (o *UpdateSourceDevice200Response) GetLocale() string

GetLocale returns the Locale field value

func (*UpdateSourceDevice200Response) GetLocaleOk

func (o *UpdateSourceDevice200Response) GetLocaleOk() (*string, bool)

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

func (*UpdateSourceDevice200Response) GetModel

func (o *UpdateSourceDevice200Response) GetModel() string

GetModel returns the Model field value

func (*UpdateSourceDevice200Response) GetModelOk

func (o *UpdateSourceDevice200Response) GetModelOk() (*string, bool)

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

func (*UpdateSourceDevice200Response) GetName

GetName returns the Name field value

func (*UpdateSourceDevice200Response) GetNameOk

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

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

func (*UpdateSourceDevice200Response) GetPlace

func (o *UpdateSourceDevice200Response) GetPlace() float32

GetPlace returns the Place field value

func (*UpdateSourceDevice200Response) GetPlaceOk

func (o *UpdateSourceDevice200Response) GetPlaceOk() (*float32, bool)

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

func (*UpdateSourceDevice200Response) GetTos

GetTos returns the Tos field value

func (*UpdateSourceDevice200Response) GetTosOk

func (o *UpdateSourceDevice200Response) GetTosOk() (*string, bool)

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

func (*UpdateSourceDevice200Response) GetType

GetType returns the Type field value

func (*UpdateSourceDevice200Response) GetTypeOk

func (o *UpdateSourceDevice200Response) GetTypeOk() (*string, bool)

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

func (*UpdateSourceDevice200Response) GetUpdated

func (o *UpdateSourceDevice200Response) GetUpdated() string

GetUpdated returns the Updated field value

func (*UpdateSourceDevice200Response) GetUpdatedOk

func (o *UpdateSourceDevice200Response) GetUpdatedOk() (*string, bool)

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

func (*UpdateSourceDevice200Response) GetWaitlistEnabled

func (o *UpdateSourceDevice200Response) GetWaitlistEnabled() bool

GetWaitlistEnabled returns the WaitlistEnabled field value

func (*UpdateSourceDevice200Response) GetWaitlistEnabledOk

func (o *UpdateSourceDevice200Response) GetWaitlistEnabledOk() (*bool, bool)

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

func (*UpdateSourceDevice200Response) GetWarpEnabled

func (o *UpdateSourceDevice200Response) GetWarpEnabled() bool

GetWarpEnabled returns the WarpEnabled field value

func (*UpdateSourceDevice200Response) GetWarpEnabledOk

func (o *UpdateSourceDevice200Response) GetWarpEnabledOk() (*bool, bool)

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

func (UpdateSourceDevice200Response) MarshalJSON

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

func (*UpdateSourceDevice200Response) SetAccount

func (o *UpdateSourceDevice200Response) SetAccount(v Account)

SetAccount sets field value

func (*UpdateSourceDevice200Response) SetConfig

func (o *UpdateSourceDevice200Response) SetConfig(v Config)

SetConfig sets field value

func (*UpdateSourceDevice200Response) SetCreated

func (o *UpdateSourceDevice200Response) SetCreated(v string)

SetCreated sets field value

func (*UpdateSourceDevice200Response) SetEnabled

func (o *UpdateSourceDevice200Response) SetEnabled(v bool)

SetEnabled sets field value

func (*UpdateSourceDevice200Response) SetFcmToken

func (o *UpdateSourceDevice200Response) SetFcmToken(v string)

SetFcmToken sets field value

func (*UpdateSourceDevice200Response) SetId

SetId sets field value

func (*UpdateSourceDevice200Response) SetInstallId

func (o *UpdateSourceDevice200Response) SetInstallId(v string)

SetInstallId sets field value

func (*UpdateSourceDevice200Response) SetKey

SetKey sets field value

func (*UpdateSourceDevice200Response) SetLocale

func (o *UpdateSourceDevice200Response) SetLocale(v string)

SetLocale sets field value

func (*UpdateSourceDevice200Response) SetModel

func (o *UpdateSourceDevice200Response) SetModel(v string)

SetModel sets field value

func (*UpdateSourceDevice200Response) SetName

func (o *UpdateSourceDevice200Response) SetName(v string)

SetName sets field value

func (*UpdateSourceDevice200Response) SetPlace

func (o *UpdateSourceDevice200Response) SetPlace(v float32)

SetPlace sets field value

func (*UpdateSourceDevice200Response) SetTos

SetTos sets field value

func (*UpdateSourceDevice200Response) SetType

func (o *UpdateSourceDevice200Response) SetType(v string)

SetType sets field value

func (*UpdateSourceDevice200Response) SetUpdated

func (o *UpdateSourceDevice200Response) SetUpdated(v string)

SetUpdated sets field value

func (*UpdateSourceDevice200Response) SetWaitlistEnabled

func (o *UpdateSourceDevice200Response) SetWaitlistEnabled(v bool)

SetWaitlistEnabled sets field value

func (*UpdateSourceDevice200Response) SetWarpEnabled

func (o *UpdateSourceDevice200Response) SetWarpEnabled(v bool)

SetWarpEnabled sets field value

func (UpdateSourceDevice200Response) ToMap

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

func (*UpdateSourceDevice200Response) UnmarshalJSON

func (o *UpdateSourceDevice200Response) UnmarshalJSON(data []byte) (err error)

type UpdateSourceDeviceRequest

type UpdateSourceDeviceRequest struct {
	Key                  string `json:"key"`
	AdditionalProperties map[string]interface{}
}

UpdateSourceDeviceRequest struct for UpdateSourceDeviceRequest

func NewUpdateSourceDeviceRequest

func NewUpdateSourceDeviceRequest(key string) *UpdateSourceDeviceRequest

NewUpdateSourceDeviceRequest instantiates a new UpdateSourceDeviceRequest 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 NewUpdateSourceDeviceRequestWithDefaults

func NewUpdateSourceDeviceRequestWithDefaults() *UpdateSourceDeviceRequest

NewUpdateSourceDeviceRequestWithDefaults instantiates a new UpdateSourceDeviceRequest 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 (*UpdateSourceDeviceRequest) GetKey

func (o *UpdateSourceDeviceRequest) GetKey() string

GetKey returns the Key field value

func (*UpdateSourceDeviceRequest) GetKeyOk

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

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

func (UpdateSourceDeviceRequest) MarshalJSON

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

func (*UpdateSourceDeviceRequest) SetKey

func (o *UpdateSourceDeviceRequest) SetKey(v string)

SetKey sets field value

func (UpdateSourceDeviceRequest) ToMap

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

func (*UpdateSourceDeviceRequest) UnmarshalJSON

func (o *UpdateSourceDeviceRequest) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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