fvpn

package module
v0.0.0-...-ec04216 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 License: MIT Imports: 20 Imported by: 0

README

Go API client for fvpn

ForestVPN API Documentation

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: 3.0.0
  • Package version: 1.0.0
  • Generator version: 7.13.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://forestvpn.com

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 fvpn "github.com/forestvpn/fvpn-api-go"

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 fvpn.ContextServerIndex of type int.

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

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

ctx := context.WithValue(context.Background(), fvpn.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 fvpn.ContextOperationServerIndices and fvpn.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to https://api.fvpn.io

Class Method HTTP request Description
AccountAPI ApproveDeviceCode Post /v1/account/codes/{code}/approve/ Approve a device authentication code
AccountAPI CreateAccount Post /v1/accounts/ Create a new account
AccountAPI CreateDeviceCode Post /v1/account/codes/ Create a device authentication code
AccountAPI DeleteCurrentAccount Delete /v1/account/ Delete the current account
AccountAPI GetAccountTokenPair Post /v1/account/token/ Get account token pair
AccountAPI GetCurrentAccount Get /v1/account/ Retrieve the current account
AccountAPI GetCurrentAccountBillingUsage Get /v1/account/billing-usage/ Retrieve current account billing usage
AccountAPI GetDeviceCode Get /v1/account/codes/{code}/ Check device code
AccountAPI RefreshAccountToken Post /v1/account/token/refresh/ Refresh account token
BillingAPI CancelSubscription Delete /v1/billing/subscriptions/{subscription_id}/ Cancel subscription
BillingAPI ChangeSubscriptionPlan Post /v1/billing/subscriptions/{subscription_id}/change-plan/ Change subscription plan
BillingAPI DeletePaymentMethod Delete /v1/billing/payment-methods/{payment_method_id}/ Delete a payment method
BillingAPI GetBillingAccount Get /v1/billing/account/ Retrieve the current account
BillingAPI GetBillingOptions Get /v1/billing/options/ Retrieve billing options
BillingAPI GetCurrencies Get /v1/billing/currencies/ Retrieve all available currencies
BillingAPI GetCurrentSubscription Get /v1/billing/current-subscription/ Retrieve the current subscription
BillingAPI GetCurrentWallet Get /v1/billing/current-wallet/ Retrieve the current wallet
BillingAPI GetEntitlement Get /v1/billing/entitlements/{entitlement_id}/ Retrieve a specific entitlement
BillingAPI GetEntitlements Get /v1/billing/entitlements/ List account entitlements
BillingAPI GetPaymentMethod Get /v1/billing/payment-methods/{payment_method_id}/ Retrieve a payment method
BillingAPI GetPaymentMethods Get /v1/billing/payment-methods/ List all payment methods
BillingAPI GetPlanBySlug Get /v1/billing/plans/{slug}/ Retrieve a plan
BillingAPI GetPlanTimeline Get /v1/billing/plans/timeline/ Get billing timeline for a plan
BillingAPI GetPlans Get /v1/billing/plans/ List all plans
BillingAPI GetSubscription Get /v1/billing/subscriptions/{subscription_id}/ Retrieve subscription
BillingAPI GetSubscriptions Get /v1/billing/subscriptions/ List subscriptions
BillingAPI GetWallet Get /v1/billing/wallets/{wallet_id}/ Retrieve wallet details
BillingAPI GetWalletTransaction Get /v1/billing/transactions/{transaction_id}/ Retrieve transaction details
BillingAPI GetWalletTransactions Get /v1/billing/transactions/ List wallet transactions
BillingAPI GetWallets Get /v1/billing/wallets/ List wallets
BillingAPI ReactivateSubscription Post /v1/billing/subscriptions/{subscription_id}/reactivate/ Reactivate subscription
BillingAPI SetDefaultPaymentMethod Post /v1/billing/account/set-default-payment-method/ Set the default payment method for the account
BillingAPI SubscribeToPlan Post /v1/billing/subscriptions/ Subscribe to a plan
CloudpaymentsAPI CompleteCloudpaymentsPaymentMethodThreeDs Post /v1/billing/cloudpayments/payment-methods/{payment_method_id}/complete-3ds/ Complete 3D Secure authentication
CloudpaymentsAPI CreateCloudpaymentsPaymentMethod Post /v1/billing/cloudpayments/payment-methods/ Create a new payment method
CloudpaymentsAPI GetCloudpaymentsPaymentMethod Get /v1/billing/cloudpayments/payment-methods/{payment_method_id}/ Retrieve a payment method
DeviceAPI CreateDevice Post /v1/devices/ Create a new account
DeviceAPI DeleteDevice Delete /v1/devices/{device_id}/ Delete a device
DeviceAPI GetDashboardAnalytics Get /v1/devices/analytics/dashboard/ Get device data usage analytics for dashboard
DeviceAPI GetDevice Get /v1/devices/{device_id}/ Retrieve a device
DeviceAPI GetDeviceAnalytics Get /v1/devices/{device_id}/analytics/ Get data usage analytics for a specific device
DeviceAPI GetDeviceNode Get /v1/devices/{device_id}/node/ Get the node of a device
DeviceAPI GetDevices Get /v1/devices/ List all devices
DeviceAPI PartialUpdateDevice Patch /v1/devices/{device_id}/ Partially update a device
DeviceAPI SetDeviceNode Post /v1/devices/{device_id}/set-node/ Set a node on a device
DeviceAPI UpdateDevice Put /v1/devices/{device_id}/ Update a device
GeoAPI GetCountries Get /v1/countries/ List countries
GeoAPI GetCountry Get /v1/countries/{country_id}/ Retrieve country
GeoAPI GetLocation Get /v1/locations/{place_id}/ Retrieve location
GeoAPI GetLocations Get /v1/locations/ List locations
GeoAPI GetRegion Get /v1/regions/{region_id}/ Retrieve region
GeoAPI GetRegions Get /v1/regions/ List regions
NodeAPI CreateNode Post /v1/nodes/ Create a new node
NodeAPI CreateNodeCondition Post /v1/nodes/{node_id}/conditions/ Create a new node condition
NodeAPI CreateNodeDataUsageReport Post /v1/nodes/{node_id}/data-usage-report/ Create a new node data usage
NodeAPI DeleteNode Delete /v1/nodes/{node_id}/ Delete a node
NodeAPI GetNode Get /v1/nodes/{node_id}/ Retrieve a node
NodeAPI GetNodeConditions Get /v1/nodes/{node_id}/conditions/ List node conditions
NodeAPI GetNodeDevices Get /v1/nodes/{node_id}/devices/ List node devices
NodeAPI GetNodes Get /v1/nodes/ List nodes
NodeAPI PartialUpdateNode Patch /v1/nodes/{node_id}/ Partially update a device
NodeAPI UpdateNode Put /v1/nodes/{node_id}/ Update a node
ProviderAPI GetProvider Get /v1/providers/{provider_id}/ Retrieve a provider
ProviderAPI GetProviders Get /v1/providers/ List all providers
StripeAPI CreateStripeSetupIntent Post /v1/billing/stripe/setup-intents/ Create a new stripe setup intent

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

apiKey
  • Type: API key
  • API key parameter name: X-API-Key
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: apiKey and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		fvpn.ContextAPIKeys,
		map[string]fvpn.APIKey{
			"apiKey": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)
bearerToken
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), fvpn.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

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

[email protected]

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 (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

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

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedAccountStatusEnumEnumValues = []AccountStatusEnum{
	"pending",
	"active",
	"suspended",
	"canceled",
}

All allowed values of AccountStatusEnum enum

View Source
var AllowedAccountStatusEnumValues = []AccountStatus{
	"pending",
	"active",
	"suspended",
	"canceled",
}

All allowed values of AccountStatus enum

View Source
var AllowedConditionEnumValues = []Condition{
	"ready",
	"disk_pressure",
	"memory_pressure",
	"pid_pressure",
	"cpu_pressure",
	"network_pressure",
	"network_unavailable",
}

All allowed values of Condition enum

View Source
var AllowedConnectionStatusEnumValues = []ConnectionStatus{
	"never_connected",
	"inactive",
	"offline",
	"active",
	"online",
}

All allowed values of ConnectionStatus enum

View Source
var AllowedDeviceCodeStatusEnumValues = []DeviceCodeStatus{
	"waiting",
	"approved",
	"expired",
}

All allowed values of DeviceCodeStatus enum

View Source
var AllowedIntervalEnumValues = []Interval{
	"week",
	"biweek",
	"month",
	"quarter",
	"biannual",
	"annual",
}

All allowed values of Interval enum

View Source
var AllowedInvoiceStatusEnumValues = []InvoiceStatus{
	"draft",
	"open",
	"paid",
	"void",
	"uncollectible",
}

All allowed values of InvoiceStatus enum

View Source
var AllowedManagedByEnumValues = []ManagedBy{
	"apple",
	"google",
	"stripe",
	"unknown",
}

All allowed values of ManagedBy enum

View Source
var AllowedNodeConditionTypeEnumValues = []NodeConditionType{
	"ready",
	"disk_pressure",
	"memory_pressure",
	"pid_pressure",
	"cpu_pressure",
	"network_pressure",
	"network_unavailable",
}

All allowed values of NodeConditionType enum

View Source
var AllowedNodeStatusEnumValues = []NodeStatus{
	"pending",
	"active",
	"drained",
	"inactive",
}

All allowed values of NodeStatus enum

View Source
var AllowedNullEnumValues = []Null{}

All allowed values of Null enum

View Source
var AllowedSubscriptionStatusEnumValues = []SubscriptionStatus{
	"incomplete",
	"incomplete_expired",
	"trialing",
	"active",
	"past_due",
	"canceled",
	"unpaid",
}

All allowed values of SubscriptionStatus enum

View Source
var AllowedTimelineEventTypeEnumValues = []TimelineEventType{
	"subscription_start",
	"trial_start",
	"trial_end",
	"first_charge",
	"proration",
	"renewal",
}

All allowed values of TimelineEventType enum

View Source
var AllowedTransactionTypeEnumValues = []TransactionType{
	"credit",
	"debit",
}

All allowed values of TransactionType enum

View Source
var AllowedTypeEnumValues = []Type{
	"card",
	"bank_account",
	"paypal",
	"apple_pay",
	"google_pay",
	"stripe",
	"braintree",
	"square",
	"amazon_pay",
	"venmo",
	"zelle",
	"cash_app",
	"other",
}

All allowed values of Type enum

View Source
var AllowedWalletStatusEnumValues = []WalletStatus{
	"_wallet_dummy",
	"pending",
	"active",
	"suspended",
	"canceled",
}

All allowed values of WalletStatus enum

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 {
	AccountAPI *AccountAPIService

	BillingAPI *BillingAPIService

	CloudpaymentsAPI *CloudpaymentsAPIService

	DeviceAPI *DeviceAPIService

	GeoAPI *GeoAPIService

	NodeAPI *NodeAPIService

	ProviderAPI *ProviderAPIService

	StripeAPI *StripeAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the ForestVPN API API v3.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ASN

type ASN struct {
	Asn                  int64          `json:"asn"`
	Name                 NullableString `json:"name,omitempty"`
	Country              Country        `json:"country"`
	Domain               NullableString `json:"domain,omitempty"`
	AdditionalProperties map[string]interface{}
}

ASN struct for ASN

func NewASN

func NewASN(asn int64, country Country) *ASN

NewASN instantiates a new ASN 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 NewASNWithDefaults

func NewASNWithDefaults() *ASN

NewASNWithDefaults instantiates a new ASN 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 (*ASN) GetAsn

func (o *ASN) GetAsn() int64

GetAsn returns the Asn field value

func (*ASN) GetAsnOk

func (o *ASN) GetAsnOk() (*int64, bool)

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

func (*ASN) GetCountry

func (o *ASN) GetCountry() Country

GetCountry returns the Country field value

func (*ASN) GetCountryOk

func (o *ASN) GetCountryOk() (*Country, bool)

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

func (*ASN) GetDomain

func (o *ASN) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ASN) GetDomainOk

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

GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ASN) GetName

func (o *ASN) GetName() string

GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ASN) GetNameOk

func (o *ASN) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ASN) HasDomain

func (o *ASN) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*ASN) HasName

func (o *ASN) HasName() bool

HasName returns a boolean if a field has been set.

func (ASN) MarshalJSON

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

func (*ASN) SetAsn

func (o *ASN) SetAsn(v int64)

SetAsn sets field value

func (*ASN) SetCountry

func (o *ASN) SetCountry(v Country)

SetCountry sets field value

func (*ASN) SetDomain

func (o *ASN) SetDomain(v string)

SetDomain gets a reference to the given NullableString and assigns it to the Domain field.

func (*ASN) SetDomainNil

func (o *ASN) SetDomainNil()

SetDomainNil sets the value for Domain to be an explicit nil

func (*ASN) SetName

func (o *ASN) SetName(v string)

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

func (*ASN) SetNameNil

func (o *ASN) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil

func (ASN) ToMap

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

func (*ASN) UnmarshalJSON

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

func (*ASN) UnsetDomain

func (o *ASN) UnsetDomain()

UnsetDomain ensures that no value is present for Domain, not even an explicit nil

func (*ASN) UnsetName

func (o *ASN) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

type ASNRequest

type ASNRequest struct {
	Asn                  int64          `json:"asn"`
	Name                 NullableString `json:"name,omitempty"`
	Country              CountryRequest `json:"country"`
	Domain               NullableString `json:"domain,omitempty"`
	AdditionalProperties map[string]interface{}
}

ASNRequest struct for ASNRequest

func NewASNRequest

func NewASNRequest(asn int64, country CountryRequest) *ASNRequest

NewASNRequest instantiates a new ASNRequest 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 NewASNRequestWithDefaults

func NewASNRequestWithDefaults() *ASNRequest

NewASNRequestWithDefaults instantiates a new ASNRequest 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 (*ASNRequest) GetAsn

func (o *ASNRequest) GetAsn() int64

GetAsn returns the Asn field value

func (*ASNRequest) GetAsnOk

func (o *ASNRequest) GetAsnOk() (*int64, bool)

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

func (*ASNRequest) GetCountry

func (o *ASNRequest) GetCountry() CountryRequest

GetCountry returns the Country field value

func (*ASNRequest) GetCountryOk

func (o *ASNRequest) GetCountryOk() (*CountryRequest, bool)

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

func (*ASNRequest) GetDomain

func (o *ASNRequest) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ASNRequest) GetDomainOk

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

GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ASNRequest) GetName

func (o *ASNRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ASNRequest) GetNameOk

func (o *ASNRequest) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ASNRequest) HasDomain

func (o *ASNRequest) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*ASNRequest) HasName

func (o *ASNRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (ASNRequest) MarshalJSON

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

func (*ASNRequest) SetAsn

func (o *ASNRequest) SetAsn(v int64)

SetAsn sets field value

func (*ASNRequest) SetCountry

func (o *ASNRequest) SetCountry(v CountryRequest)

SetCountry sets field value

func (*ASNRequest) SetDomain

func (o *ASNRequest) SetDomain(v string)

SetDomain gets a reference to the given NullableString and assigns it to the Domain field.

func (*ASNRequest) SetDomainNil

func (o *ASNRequest) SetDomainNil()

SetDomainNil sets the value for Domain to be an explicit nil

func (*ASNRequest) SetName

func (o *ASNRequest) SetName(v string)

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

func (*ASNRequest) SetNameNil

func (o *ASNRequest) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil

func (ASNRequest) ToMap

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

func (*ASNRequest) UnmarshalJSON

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

func (*ASNRequest) UnsetDomain

func (o *ASNRequest) UnsetDomain()

UnsetDomain ensures that no value is present for Domain, not even an explicit nil

func (*ASNRequest) UnsetName

func (o *ASNRequest) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

type Account

type Account struct {
	Id                   string         `json:"id"`
	MaskedNumber         string         `json:"masked_number"`
	Number               string         `json:"number"`
	Status               *AccountStatus `json:"status,omitempty"`
	Country              Country        `json:"country"`
	PhotoUrl             string         `json:"photo_url"`
	CreatedAt            time.Time      `json:"created_at"`
	AdditionalProperties map[string]interface{}
}

Account struct for Account

func NewAccount

func NewAccount(id string, maskedNumber string, number string, country Country, photoUrl string, createdAt time.Time) *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) GetCountry

func (o *Account) GetCountry() Country

GetCountry returns the Country field value

func (*Account) GetCountryOk

func (o *Account) GetCountryOk() (*Country, bool)

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

func (*Account) GetCreatedAt

func (o *Account) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Account) GetCreatedAtOk

func (o *Account) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt 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) GetMaskedNumber

func (o *Account) GetMaskedNumber() string

GetMaskedNumber returns the MaskedNumber field value

func (*Account) GetMaskedNumberOk

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

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

func (*Account) GetNumber

func (o *Account) GetNumber() string

GetNumber returns the Number field value

func (*Account) GetNumberOk

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

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

func (*Account) GetPhotoUrl

func (o *Account) GetPhotoUrl() string

GetPhotoUrl returns the PhotoUrl field value

func (*Account) GetPhotoUrlOk

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

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

func (*Account) GetStatus

func (o *Account) GetStatus() AccountStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*Account) GetStatusOk

func (o *Account) GetStatusOk() (*AccountStatus, bool)

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

func (*Account) HasStatus

func (o *Account) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Account) MarshalJSON

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

func (*Account) SetCountry

func (o *Account) SetCountry(v Country)

SetCountry sets field value

func (*Account) SetCreatedAt

func (o *Account) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Account) SetId

func (o *Account) SetId(v string)

SetId sets field value

func (*Account) SetMaskedNumber

func (o *Account) SetMaskedNumber(v string)

SetMaskedNumber sets field value

func (*Account) SetNumber

func (o *Account) SetNumber(v string)

SetNumber sets field value

func (*Account) SetPhotoUrl

func (o *Account) SetPhotoUrl(v string)

SetPhotoUrl sets field value

func (*Account) SetStatus

func (o *Account) SetStatus(v AccountStatus)

SetStatus gets a reference to the given AccountStatus and assigns it to the Status field.

func (Account) ToMap

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

func (*Account) UnmarshalJSON

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

type AccountAPIService

type AccountAPIService service

AccountAPIService AccountAPI service

func (*AccountAPIService) ApproveDeviceCode

func (a *AccountAPIService) ApproveDeviceCode(ctx context.Context, code string) ApiApproveDeviceCodeRequest

ApproveDeviceCode Approve a device authentication code

Approve a device code using authenticated user session. Requires authentication.

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

func (*AccountAPIService) ApproveDeviceCodeExecute

func (a *AccountAPIService) ApproveDeviceCodeExecute(r ApiApproveDeviceCodeRequest) (*http.Response, error)

Execute executes the request

func (*AccountAPIService) CreateAccount

CreateAccount Create a new account

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

func (*AccountAPIService) CreateAccountExecute

func (a *AccountAPIService) CreateAccountExecute(r ApiCreateAccountRequest) (*Account, *http.Response, error)

Execute executes the request

@return Account

func (*AccountAPIService) CreateDeviceCode

CreateDeviceCode Create a device authentication code

Generate a new device code for device authentication. No authentication required.

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

func (*AccountAPIService) CreateDeviceCodeExecute

func (a *AccountAPIService) CreateDeviceCodeExecute(r ApiCreateDeviceCodeRequest) (*DeviceCode, *http.Response, error)

Execute executes the request

@return DeviceCode

func (*AccountAPIService) DeleteCurrentAccount

func (a *AccountAPIService) DeleteCurrentAccount(ctx context.Context) ApiDeleteCurrentAccountRequest

DeleteCurrentAccount Delete the current account

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

func (*AccountAPIService) DeleteCurrentAccountExecute

func (a *AccountAPIService) DeleteCurrentAccountExecute(r ApiDeleteCurrentAccountRequest) (*http.Response, error)

Execute executes the request

func (*AccountAPIService) GetAccountTokenPair

func (a *AccountAPIService) GetAccountTokenPair(ctx context.Context) ApiGetAccountTokenPairRequest

GetAccountTokenPair Get account token pair

Takes a sixteen digits account number and returns an access and refresh JSON web token pair to prove the authentication of those credentials.

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

func (*AccountAPIService) GetAccountTokenPairExecute

func (a *AccountAPIService) GetAccountTokenPairExecute(r ApiGetAccountTokenPairRequest) (*AccountTokenPair, *http.Response, error)

Execute executes the request

@return AccountTokenPair

func (*AccountAPIService) GetCurrentAccount

GetCurrentAccount Retrieve the current account

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

func (*AccountAPIService) GetCurrentAccountBillingUsage

func (a *AccountAPIService) GetCurrentAccountBillingUsage(ctx context.Context) ApiGetCurrentAccountBillingUsageRequest

GetCurrentAccountBillingUsage Retrieve current account billing usage

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

func (*AccountAPIService) GetCurrentAccountBillingUsageExecute

func (a *AccountAPIService) GetCurrentAccountBillingUsageExecute(r ApiGetCurrentAccountBillingUsageRequest) (*BillingUsage, *http.Response, error)

Execute executes the request

@return BillingUsage

func (*AccountAPIService) GetCurrentAccountExecute

func (a *AccountAPIService) GetCurrentAccountExecute(r ApiGetCurrentAccountRequest) (*Account, *http.Response, error)

Execute executes the request

@return Account

func (*AccountAPIService) GetDeviceCode

func (a *AccountAPIService) GetDeviceCode(ctx context.Context, code string) ApiGetDeviceCodeRequest

GetDeviceCode Check device code

Check the status of a device authentication code. Returns waiting status or approved with JWT tokens.

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

func (*AccountAPIService) GetDeviceCodeExecute

func (a *AccountAPIService) GetDeviceCodeExecute(r ApiGetDeviceCodeRequest) (*DeviceCode, *http.Response, error)

Execute executes the request

@return DeviceCode

func (*AccountAPIService) RefreshAccountToken

func (a *AccountAPIService) RefreshAccountToken(ctx context.Context) ApiRefreshAccountTokenRequest

RefreshAccountToken Refresh account token

Takes a refresh type JSON web token and returns an access type JSON web token if the refresh token is valid.

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

func (*AccountAPIService) RefreshAccountTokenExecute

Execute executes the request

@return AccountTokenRefresh

type AccountStatus

type AccountStatus string

AccountStatus * `pending` - Pending * `active` - Active * `suspended` - Suspended * `canceled` - Canceled

const (
	ACCOUNTSTATUS_PENDING   AccountStatus = "pending"
	ACCOUNTSTATUS_ACTIVE    AccountStatus = "active"
	ACCOUNTSTATUS_SUSPENDED AccountStatus = "suspended"
	ACCOUNTSTATUS_CANCELED  AccountStatus = "canceled"
)

List of AccountStatus

func NewAccountStatusFromValue

func NewAccountStatusFromValue(v string) (*AccountStatus, error)

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

func (AccountStatus) IsValid

func (v AccountStatus) IsValid() bool

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

func (AccountStatus) Ptr

func (v AccountStatus) Ptr() *AccountStatus

Ptr returns reference to AccountStatus value

func (*AccountStatus) UnmarshalJSON

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

type AccountStatusEnum

type AccountStatusEnum string

AccountStatusEnum * `pending` - Pending * `active` - Active * `suspended` - Suspended * `canceled` - Canceled

const (
	ACCOUNTSTATUSENUM_PENDING   AccountStatusEnum = "pending"
	ACCOUNTSTATUSENUM_ACTIVE    AccountStatusEnum = "active"
	ACCOUNTSTATUSENUM_SUSPENDED AccountStatusEnum = "suspended"
	ACCOUNTSTATUSENUM_CANCELED  AccountStatusEnum = "canceled"
)

List of AccountStatusEnum

func NewAccountStatusEnumFromValue

func NewAccountStatusEnumFromValue(v string) (*AccountStatusEnum, error)

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

func (AccountStatusEnum) IsValid

func (v AccountStatusEnum) IsValid() bool

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

func (AccountStatusEnum) Ptr

Ptr returns reference to AccountStatusEnum value

func (*AccountStatusEnum) UnmarshalJSON

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

type AccountTokenPair

type AccountTokenPair struct {
	Access               string `json:"access"`
	Refresh              string `json:"refresh"`
	AdditionalProperties map[string]interface{}
}

AccountTokenPair Serializer for obtaining JWT tokens using a 16-digit account number. This serializer validates the provided account number, normalizes it by removing any non-digit characters, and ensures it is exactly 16 digits long. If the account number is valid and corresponds to an existing account, it issues a pair of JWT tokens (refresh and access tokens). Attributes: account_number (str): The 16-digit account number. access (str): The access token issued upon successful authentication. refresh (str): The refresh token issued upon successful authentication. Example: Request: { \"number\": \"1234 5678 9012 3456\" } Response: { \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...\", \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...\" }

func NewAccountTokenPair

func NewAccountTokenPair(access string, refresh string) *AccountTokenPair

NewAccountTokenPair instantiates a new AccountTokenPair 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 NewAccountTokenPairWithDefaults

func NewAccountTokenPairWithDefaults() *AccountTokenPair

NewAccountTokenPairWithDefaults instantiates a new AccountTokenPair 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 (*AccountTokenPair) GetAccess

func (o *AccountTokenPair) GetAccess() string

GetAccess returns the Access field value

func (*AccountTokenPair) GetAccessOk

func (o *AccountTokenPair) GetAccessOk() (*string, bool)

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

func (*AccountTokenPair) GetRefresh

func (o *AccountTokenPair) GetRefresh() string

GetRefresh returns the Refresh field value

func (*AccountTokenPair) GetRefreshOk

func (o *AccountTokenPair) GetRefreshOk() (*string, bool)

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

func (AccountTokenPair) MarshalJSON

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

func (*AccountTokenPair) SetAccess

func (o *AccountTokenPair) SetAccess(v string)

SetAccess sets field value

func (*AccountTokenPair) SetRefresh

func (o *AccountTokenPair) SetRefresh(v string)

SetRefresh sets field value

func (AccountTokenPair) ToMap

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

func (*AccountTokenPair) UnmarshalJSON

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

type AccountTokenPairRequest

type AccountTokenPairRequest struct {
	// The 16-digit account number of the user, with optional separators.
	Number               string `json:"number"`
	AdditionalProperties map[string]interface{}
}

AccountTokenPairRequest Serializer for obtaining JWT tokens using a 16-digit account number. This serializer validates the provided account number, normalizes it by removing any non-digit characters, and ensures it is exactly 16 digits long. If the account number is valid and corresponds to an existing account, it issues a pair of JWT tokens (refresh and access tokens). Attributes: account_number (str): The 16-digit account number. access (str): The access token issued upon successful authentication. refresh (str): The refresh token issued upon successful authentication. Example: Request: { \"number\": \"1234 5678 9012 3456\" } Response: { \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...\", \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...\" }

func NewAccountTokenPairRequest

func NewAccountTokenPairRequest(number string) *AccountTokenPairRequest

NewAccountTokenPairRequest instantiates a new AccountTokenPairRequest 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 NewAccountTokenPairRequestWithDefaults

func NewAccountTokenPairRequestWithDefaults() *AccountTokenPairRequest

NewAccountTokenPairRequestWithDefaults instantiates a new AccountTokenPairRequest 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 (*AccountTokenPairRequest) GetNumber

func (o *AccountTokenPairRequest) GetNumber() string

GetNumber returns the Number field value

func (*AccountTokenPairRequest) GetNumberOk

func (o *AccountTokenPairRequest) GetNumberOk() (*string, bool)

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

func (AccountTokenPairRequest) MarshalJSON

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

func (*AccountTokenPairRequest) SetNumber

func (o *AccountTokenPairRequest) SetNumber(v string)

SetNumber sets field value

func (AccountTokenPairRequest) ToMap

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

func (*AccountTokenPairRequest) UnmarshalJSON

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

type AccountTokenRefresh

type AccountTokenRefresh struct {
	Refresh              *string `json:"refresh,omitempty"`
	Access               string  `json:"access"`
	AdditionalProperties map[string]interface{}
}

AccountTokenRefresh Serializer for refreshing JWT tokens using a refresh token. This serializer validates the provided refresh token and issues a new access token if the refresh token is valid. Attributes: refresh (str): The refresh token to be used for refreshing the access token. access (str): The new access token issued upon successful token refresh. Example: Request: { \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...\" } Response: { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...\" }

func NewAccountTokenRefresh

func NewAccountTokenRefresh(access string) *AccountTokenRefresh

NewAccountTokenRefresh instantiates a new AccountTokenRefresh 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 NewAccountTokenRefreshWithDefaults

func NewAccountTokenRefreshWithDefaults() *AccountTokenRefresh

NewAccountTokenRefreshWithDefaults instantiates a new AccountTokenRefresh 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 (*AccountTokenRefresh) GetAccess

func (o *AccountTokenRefresh) GetAccess() string

GetAccess returns the Access field value

func (*AccountTokenRefresh) GetAccessOk

func (o *AccountTokenRefresh) GetAccessOk() (*string, bool)

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

func (*AccountTokenRefresh) GetRefresh

func (o *AccountTokenRefresh) GetRefresh() string

GetRefresh returns the Refresh field value if set, zero value otherwise.

func (*AccountTokenRefresh) GetRefreshOk

func (o *AccountTokenRefresh) GetRefreshOk() (*string, bool)

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

func (*AccountTokenRefresh) HasRefresh

func (o *AccountTokenRefresh) HasRefresh() bool

HasRefresh returns a boolean if a field has been set.

func (AccountTokenRefresh) MarshalJSON

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

func (*AccountTokenRefresh) SetAccess

func (o *AccountTokenRefresh) SetAccess(v string)

SetAccess sets field value

func (*AccountTokenRefresh) SetRefresh

func (o *AccountTokenRefresh) SetRefresh(v string)

SetRefresh gets a reference to the given string and assigns it to the Refresh field.

func (AccountTokenRefresh) ToMap

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

func (*AccountTokenRefresh) UnmarshalJSON

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

type AccountTokenRefreshRequest

type AccountTokenRefreshRequest struct {
	Refresh              *string `json:"refresh,omitempty"`
	AdditionalProperties map[string]interface{}
}

AccountTokenRefreshRequest Serializer for refreshing JWT tokens using a refresh token. This serializer validates the provided refresh token and issues a new access token if the refresh token is valid. Attributes: refresh (str): The refresh token to be used for refreshing the access token. access (str): The new access token issued upon successful token refresh. Example: Request: { \"refresh\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...\" } Response: { \"access\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...\" }

func NewAccountTokenRefreshRequest

func NewAccountTokenRefreshRequest() *AccountTokenRefreshRequest

NewAccountTokenRefreshRequest instantiates a new AccountTokenRefreshRequest 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 NewAccountTokenRefreshRequestWithDefaults

func NewAccountTokenRefreshRequestWithDefaults() *AccountTokenRefreshRequest

NewAccountTokenRefreshRequestWithDefaults instantiates a new AccountTokenRefreshRequest 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 (*AccountTokenRefreshRequest) GetRefresh

func (o *AccountTokenRefreshRequest) GetRefresh() string

GetRefresh returns the Refresh field value if set, zero value otherwise.

func (*AccountTokenRefreshRequest) GetRefreshOk

func (o *AccountTokenRefreshRequest) GetRefreshOk() (*string, bool)

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

func (*AccountTokenRefreshRequest) HasRefresh

func (o *AccountTokenRefreshRequest) HasRefresh() bool

HasRefresh returns a boolean if a field has been set.

func (AccountTokenRefreshRequest) MarshalJSON

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

func (*AccountTokenRefreshRequest) SetRefresh

func (o *AccountTokenRefreshRequest) SetRefresh(v string)

SetRefresh gets a reference to the given string and assigns it to the Refresh field.

func (AccountTokenRefreshRequest) ToMap

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

func (*AccountTokenRefreshRequest) UnmarshalJSON

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

type ApiApproveDeviceCodeRequest

type ApiApproveDeviceCodeRequest struct {
	ApiService *AccountAPIService
	// contains filtered or unexported fields
}

func (ApiApproveDeviceCodeRequest) Execute

type ApiCancelSubscriptionRequest

type ApiCancelSubscriptionRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiCancelSubscriptionRequest) Execute

type ApiChangeSubscriptionPlanRequest

type ApiChangeSubscriptionPlanRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiChangeSubscriptionPlanRequest) Execute

func (ApiChangeSubscriptionPlanRequest) SubscriptionChangePlanRequest

func (r ApiChangeSubscriptionPlanRequest) SubscriptionChangePlanRequest(subscriptionChangePlanRequest SubscriptionChangePlanRequest) ApiChangeSubscriptionPlanRequest

type ApiCompleteCloudpaymentsPaymentMethodThreeDsRequest

type ApiCompleteCloudpaymentsPaymentMethodThreeDsRequest struct {
	ApiService *CloudpaymentsAPIService
	// contains filtered or unexported fields
}

func (ApiCompleteCloudpaymentsPaymentMethodThreeDsRequest) CloudPaymentsThreeDSecureCompleteRequest

func (r ApiCompleteCloudpaymentsPaymentMethodThreeDsRequest) CloudPaymentsThreeDSecureCompleteRequest(cloudPaymentsThreeDSecureCompleteRequest CloudPaymentsThreeDSecureCompleteRequest) ApiCompleteCloudpaymentsPaymentMethodThreeDsRequest

func (ApiCompleteCloudpaymentsPaymentMethodThreeDsRequest) Execute

type ApiCreateAccountRequest

type ApiCreateAccountRequest struct {
	ApiService *AccountAPIService
	// contains filtered or unexported fields
}

func (ApiCreateAccountRequest) Execute

type ApiCreateCloudpaymentsPaymentMethodRequest

type ApiCreateCloudpaymentsPaymentMethodRequest struct {
	ApiService *CloudpaymentsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateCloudpaymentsPaymentMethodRequest) CloudPaymentsPaymentMethodCreateRequest

func (r ApiCreateCloudpaymentsPaymentMethodRequest) CloudPaymentsPaymentMethodCreateRequest(cloudPaymentsPaymentMethodCreateRequest CloudPaymentsPaymentMethodCreateRequest) ApiCreateCloudpaymentsPaymentMethodRequest

func (ApiCreateCloudpaymentsPaymentMethodRequest) Execute

type ApiCreateDeviceCodeRequest

type ApiCreateDeviceCodeRequest struct {
	ApiService *AccountAPIService
	// contains filtered or unexported fields
}

func (ApiCreateDeviceCodeRequest) DeviceCodeRequest

func (r ApiCreateDeviceCodeRequest) DeviceCodeRequest(deviceCodeRequest DeviceCodeRequest) ApiCreateDeviceCodeRequest

func (ApiCreateDeviceCodeRequest) Execute

type ApiCreateDeviceRequest

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

func (ApiCreateDeviceRequest) DeviceRequest

func (r ApiCreateDeviceRequest) DeviceRequest(deviceRequest DeviceRequest) ApiCreateDeviceRequest

func (ApiCreateDeviceRequest) Execute

func (r ApiCreateDeviceRequest) Execute() (*Device, *http.Response, error)

type ApiCreateNodeConditionRequest

type ApiCreateNodeConditionRequest struct {
	ApiService *NodeAPIService
	// contains filtered or unexported fields
}

func (ApiCreateNodeConditionRequest) Execute

func (ApiCreateNodeConditionRequest) NodeConditionsRequest

func (r ApiCreateNodeConditionRequest) NodeConditionsRequest(nodeConditionsRequest NodeConditionsRequest) ApiCreateNodeConditionRequest

type ApiCreateNodeDataUsageReportRequest

type ApiCreateNodeDataUsageReportRequest struct {
	ApiService *NodeAPIService
	// contains filtered or unexported fields
}

func (ApiCreateNodeDataUsageReportRequest) Execute

func (ApiCreateNodeDataUsageReportRequest) NodeDataUsageReportRequest

func (r ApiCreateNodeDataUsageReportRequest) NodeDataUsageReportRequest(nodeDataUsageReportRequest NodeDataUsageReportRequest) ApiCreateNodeDataUsageReportRequest

type ApiCreateNodeRequest

type ApiCreateNodeRequest struct {
	ApiService *NodeAPIService
	// contains filtered or unexported fields
}

func (ApiCreateNodeRequest) Execute

func (r ApiCreateNodeRequest) Execute() (*Node, *http.Response, error)

func (ApiCreateNodeRequest) NodeRequest

func (r ApiCreateNodeRequest) NodeRequest(nodeRequest NodeRequest) ApiCreateNodeRequest

type ApiCreateStripeSetupIntentRequest

type ApiCreateStripeSetupIntentRequest struct {
	ApiService *StripeAPIService
	// contains filtered or unexported fields
}

func (ApiCreateStripeSetupIntentRequest) Execute

type ApiDeleteCurrentAccountRequest

type ApiDeleteCurrentAccountRequest struct {
	ApiService *AccountAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteCurrentAccountRequest) Execute

func (ApiDeleteCurrentAccountRequest) Last4

Last 4 digits of the account number

type ApiDeleteDeviceRequest

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

func (ApiDeleteDeviceRequest) Execute

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

type ApiDeleteNodeRequest

type ApiDeleteNodeRequest struct {
	ApiService *NodeAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteNodeRequest) Execute

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

type ApiDeletePaymentMethodRequest

type ApiDeletePaymentMethodRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiDeletePaymentMethodRequest) Execute

type ApiGetAccountTokenPairRequest

type ApiGetAccountTokenPairRequest struct {
	ApiService *AccountAPIService
	// contains filtered or unexported fields
}

func (ApiGetAccountTokenPairRequest) AccountTokenPairRequest

func (r ApiGetAccountTokenPairRequest) AccountTokenPairRequest(accountTokenPairRequest AccountTokenPairRequest) ApiGetAccountTokenPairRequest

func (ApiGetAccountTokenPairRequest) Execute

type ApiGetBillingAccountRequest

type ApiGetBillingAccountRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetBillingAccountRequest) Cursor

The pagination cursor value.

func (ApiGetBillingAccountRequest) Execute

func (ApiGetBillingAccountRequest) Limit

Number of results to return per page.

type ApiGetBillingOptionsRequest

type ApiGetBillingOptionsRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetBillingOptionsRequest) Execute

type ApiGetCloudpaymentsPaymentMethodRequest

type ApiGetCloudpaymentsPaymentMethodRequest struct {
	ApiService *CloudpaymentsAPIService
	// contains filtered or unexported fields
}

func (ApiGetCloudpaymentsPaymentMethodRequest) Execute

type ApiGetCountriesRequest

type ApiGetCountriesRequest struct {
	ApiService *GeoAPIService
	// contains filtered or unexported fields
}

func (ApiGetCountriesRequest) Execute

func (r ApiGetCountriesRequest) Execute() ([]Country, *http.Response, error)

type ApiGetCountryRequest

type ApiGetCountryRequest struct {
	ApiService *GeoAPIService
	// contains filtered or unexported fields
}

func (ApiGetCountryRequest) Execute

func (r ApiGetCountryRequest) Execute() (*Country, *http.Response, error)

type ApiGetCurrenciesRequest

type ApiGetCurrenciesRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetCurrenciesRequest) Execute

func (r ApiGetCurrenciesRequest) Execute() ([]Currency, *http.Response, error)

type ApiGetCurrentAccountBillingUsageRequest

type ApiGetCurrentAccountBillingUsageRequest struct {
	ApiService *AccountAPIService
	// contains filtered or unexported fields
}

func (ApiGetCurrentAccountBillingUsageRequest) Cursor

The pagination cursor value.

func (ApiGetCurrentAccountBillingUsageRequest) Execute

func (ApiGetCurrentAccountBillingUsageRequest) Limit

Number of results to return per page.

type ApiGetCurrentAccountRequest

type ApiGetCurrentAccountRequest struct {
	ApiService *AccountAPIService
	// contains filtered or unexported fields
}

func (ApiGetCurrentAccountRequest) Cursor

The pagination cursor value.

func (ApiGetCurrentAccountRequest) Execute

func (ApiGetCurrentAccountRequest) Limit

Number of results to return per page.

type ApiGetCurrentSubscriptionRequest

type ApiGetCurrentSubscriptionRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetCurrentSubscriptionRequest) Cursor

The pagination cursor value.

func (ApiGetCurrentSubscriptionRequest) Execute

func (ApiGetCurrentSubscriptionRequest) Limit

Number of results to return per page.

type ApiGetCurrentWalletRequest

type ApiGetCurrentWalletRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetCurrentWalletRequest) Cursor

The pagination cursor value.

func (ApiGetCurrentWalletRequest) Execute

func (ApiGetCurrentWalletRequest) Limit

Number of results to return per page.

type ApiGetDashboardAnalyticsRequest

type ApiGetDashboardAnalyticsRequest struct {
	ApiService *DeviceAPIService
	// contains filtered or unexported fields
}

func (ApiGetDashboardAnalyticsRequest) Execute

func (ApiGetDashboardAnalyticsRequest) Top

Number of top devices to include (default: 5)

type ApiGetDeviceAnalyticsRequest

type ApiGetDeviceAnalyticsRequest struct {
	ApiService *DeviceAPIService
	// contains filtered or unexported fields
}

func (ApiGetDeviceAnalyticsRequest) ComparePrevious

func (r ApiGetDeviceAnalyticsRequest) ComparePrevious(comparePrevious bool) ApiGetDeviceAnalyticsRequest

Whether to include comparison with previous period (true/false)

func (ApiGetDeviceAnalyticsRequest) EndDate

End date in ISO format (default: current date and time)

func (ApiGetDeviceAnalyticsRequest) Execute

func (ApiGetDeviceAnalyticsRequest) StartDate

Start date in ISO format (default: 7 days ago)

type ApiGetDeviceCodeRequest

type ApiGetDeviceCodeRequest struct {
	ApiService *AccountAPIService
	// contains filtered or unexported fields
}

func (ApiGetDeviceCodeRequest) Execute

type ApiGetDeviceNodeRequest

type ApiGetDeviceNodeRequest struct {
	ApiService *DeviceAPIService
	// contains filtered or unexported fields
}

func (ApiGetDeviceNodeRequest) Execute

func (r ApiGetDeviceNodeRequest) Execute() (*Node, *http.Response, error)

type ApiGetDeviceRequest

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

func (ApiGetDeviceRequest) Execute

func (r ApiGetDeviceRequest) Execute() (*Device, *http.Response, error)

type ApiGetDevicesRequest

type ApiGetDevicesRequest struct {
	ApiService *DeviceAPIService
	// contains filtered or unexported fields
}

func (ApiGetDevicesRequest) Cursor

The pagination cursor value.

func (ApiGetDevicesRequest) Execute

func (ApiGetDevicesRequest) Limit

Number of results to return per page.

type ApiGetEntitlementRequest

type ApiGetEntitlementRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetEntitlementRequest) Execute

type ApiGetEntitlementsRequest

type ApiGetEntitlementsRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetEntitlementsRequest) Execute

func (ApiGetEntitlementsRequest) LookupKey

Filter entitlements by lookup key

type ApiGetLocationRequest

type ApiGetLocationRequest struct {
	ApiService *GeoAPIService
	// contains filtered or unexported fields
}

func (ApiGetLocationRequest) Execute

func (r ApiGetLocationRequest) Execute() (*Location, *http.Response, error)

type ApiGetLocationsRequest

type ApiGetLocationsRequest struct {
	ApiService *GeoAPIService
	// contains filtered or unexported fields
}

func (ApiGetLocationsRequest) Country

func (ApiGetLocationsRequest) Cursor

The pagination cursor value.

func (ApiGetLocationsRequest) Execute

func (ApiGetLocationsRequest) Limit

Number of results to return per page.

func (ApiGetLocationsRequest) Name

func (ApiGetLocationsRequest) Q

Search

type ApiGetNodeConditionsRequest

type ApiGetNodeConditionsRequest struct {
	ApiService *NodeAPIService
	// contains filtered or unexported fields
}

func (ApiGetNodeConditionsRequest) Execute

func (ApiGetNodeConditionsRequest) Status

Filter by status: true (active), false (inactive), or all (both). Default is to show active and recently failed. * `true` - True * `false` - False * `all` - All

type ApiGetNodeDevicesRequest

type ApiGetNodeDevicesRequest struct {
	ApiService *NodeAPIService
	// contains filtered or unexported fields
}

func (ApiGetNodeDevicesRequest) Execute

type ApiGetNodeRequest

type ApiGetNodeRequest struct {
	ApiService *NodeAPIService
	// contains filtered or unexported fields
}

func (ApiGetNodeRequest) Execute

func (r ApiGetNodeRequest) Execute() (*Node, *http.Response, error)

type ApiGetNodesRequest

type ApiGetNodesRequest struct {
	ApiService *NodeAPIService
	// contains filtered or unexported fields
}

func (ApiGetNodesRequest) Countries

func (r ApiGetNodesRequest) Countries(countries []string) ApiGetNodesRequest

Filter by country codes

func (ApiGetNodesRequest) Cursor

func (r ApiGetNodesRequest) Cursor(cursor string) ApiGetNodesRequest

The pagination cursor value.

func (ApiGetNodesRequest) Distance

func (r ApiGetNodesRequest) Distance(distance string) ApiGetNodesRequest

Maximum distance (format: 10km, 5mi)

func (ApiGetNodesRequest) Execute

func (ApiGetNodesRequest) IsExitNode

func (r ApiGetNodesRequest) IsExitNode(isExitNode bool) ApiGetNodesRequest

Filter by exit node status

func (ApiGetNodesRequest) Lat

Latitude for location search

func (ApiGetNodesRequest) Limit

Number of results to return per page.

func (ApiGetNodesRequest) Lon

Longitude for location search

func (ApiGetNodesRequest) OrderByDistance

func (r ApiGetNodesRequest) OrderByDistance(orderByDistance bool) ApiGetNodesRequest

Order by distance

func (ApiGetNodesRequest) Q

Search nodes by hostname, tags, OS, OS arch, distro, distro codename, or public key

func (ApiGetNodesRequest) Status

func (r ApiGetNodesRequest) Status(status string) ApiGetNodesRequest

Filter nodes by status: all (default), online, or offline

func (ApiGetNodesRequest) Tags

Filter nodes by tags (comma-separated list of tag names)

func (ApiGetNodesRequest) Types

func (r ApiGetNodesRequest) Types(types []string) ApiGetNodesRequest

Filter nodes by type: all, wireguard, quantum, bridge, or proxy. Multiple values can be selected.

type ApiGetPaymentMethodRequest

type ApiGetPaymentMethodRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetPaymentMethodRequest) Execute

type ApiGetPaymentMethodsRequest

type ApiGetPaymentMethodsRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetPaymentMethodsRequest) Cursor

The pagination cursor value.

func (ApiGetPaymentMethodsRequest) Execute

func (ApiGetPaymentMethodsRequest) Limit

Number of results to return per page.

type ApiGetPlanBySlugRequest

type ApiGetPlanBySlugRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetPlanBySlugRequest) Execute

func (r ApiGetPlanBySlugRequest) Execute() (*Plan, *http.Response, error)

type ApiGetPlanTimelineRequest

type ApiGetPlanTimelineRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetPlanTimelineRequest) Execute

func (ApiGetPlanTimelineRequest) PlanPriceId

func (r ApiGetPlanTimelineRequest) PlanPriceId(planPriceId string) ApiGetPlanTimelineRequest

The ID of the plan price to get the timeline for

func (ApiGetPlanTimelineRequest) SubscriptionId

func (r ApiGetPlanTimelineRequest) SubscriptionId(subscriptionId string) ApiGetPlanTimelineRequest

Optional subscription ID for upgrade/downgrade scenarios

type ApiGetPlansRequest

type ApiGetPlansRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetPlansRequest) Currency

func (r ApiGetPlansRequest) Currency(currency string) ApiGetPlansRequest

func (ApiGetPlansRequest) Execute

func (r ApiGetPlansRequest) Execute() ([]Plan, *http.Response, error)

type ApiGetProviderRequest

type ApiGetProviderRequest struct {
	ApiService *ProviderAPIService
	// contains filtered or unexported fields
}

func (ApiGetProviderRequest) Execute

type ApiGetProvidersRequest

type ApiGetProvidersRequest struct {
	ApiService *ProviderAPIService
	// contains filtered or unexported fields
}

func (ApiGetProvidersRequest) Cursor

The pagination cursor value.

func (ApiGetProvidersRequest) Execute

func (ApiGetProvidersRequest) Limit

Number of results to return per page.

func (ApiGetProvidersRequest) Q

A search term.

func (ApiGetProvidersRequest) Rating

func (ApiGetProvidersRequest) Sort

Which field to use when ordering the results.

func (ApiGetProvidersRequest) VerifiedAt

func (r ApiGetProvidersRequest) VerifiedAt(verifiedAt time.Time) ApiGetProvidersRequest

type ApiGetRegionRequest

type ApiGetRegionRequest struct {
	ApiService *GeoAPIService
	// contains filtered or unexported fields
}

func (ApiGetRegionRequest) Execute

type ApiGetRegionsRequest

type ApiGetRegionsRequest struct {
	ApiService *GeoAPIService
	// contains filtered or unexported fields
}

func (ApiGetRegionsRequest) Code

func (ApiGetRegionsRequest) Country

func (ApiGetRegionsRequest) Execute

func (r ApiGetRegionsRequest) Execute() ([]Region, *http.Response, error)

func (ApiGetRegionsRequest) Name

type ApiGetSubscriptionRequest

type ApiGetSubscriptionRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetSubscriptionRequest) Execute

type ApiGetSubscriptionsRequest

type ApiGetSubscriptionsRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetSubscriptionsRequest) Cursor

The pagination cursor value.

func (ApiGetSubscriptionsRequest) Execute

func (ApiGetSubscriptionsRequest) Limit

Number of results to return per page.

func (ApiGetSubscriptionsRequest) ManagedBy

* `apple` - Apple * `google` - Google * `stripe` - Stripe * `unknown` - Unknown

func (ApiGetSubscriptionsRequest) Status

* `incomplete` - Incomplete * `incomplete_expired` - Incomplete expired * `trialing` - Trialing * `active` - Active * `past_due` - Past due * `canceled` - Canceled * `unpaid` - Unpaid

type ApiGetWalletRequest

type ApiGetWalletRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetWalletRequest) Execute

func (r ApiGetWalletRequest) Execute() (*Wallet, *http.Response, error)

type ApiGetWalletTransactionRequest

type ApiGetWalletTransactionRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetWalletTransactionRequest) Execute

type ApiGetWalletTransactionsRequest

type ApiGetWalletTransactionsRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetWalletTransactionsRequest) Cursor

The pagination cursor value.

func (ApiGetWalletTransactionsRequest) Execute

func (ApiGetWalletTransactionsRequest) Limit

Number of results to return per page.

type ApiGetWalletsRequest

type ApiGetWalletsRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiGetWalletsRequest) Cursor

The pagination cursor value.

func (ApiGetWalletsRequest) Execute

func (ApiGetWalletsRequest) Limit

Number of results to return per page.

type ApiPartialUpdateDeviceRequest

type ApiPartialUpdateDeviceRequest struct {
	ApiService *DeviceAPIService
	// contains filtered or unexported fields
}

func (ApiPartialUpdateDeviceRequest) Execute

func (ApiPartialUpdateDeviceRequest) PatchedDeviceRequest

func (r ApiPartialUpdateDeviceRequest) PatchedDeviceRequest(patchedDeviceRequest PatchedDeviceRequest) ApiPartialUpdateDeviceRequest

type ApiPartialUpdateNodeRequest

type ApiPartialUpdateNodeRequest struct {
	ApiService *NodeAPIService
	// contains filtered or unexported fields
}

func (ApiPartialUpdateNodeRequest) Execute

func (ApiPartialUpdateNodeRequest) PatchedNodeRequest

func (r ApiPartialUpdateNodeRequest) PatchedNodeRequest(patchedNodeRequest PatchedNodeRequest) ApiPartialUpdateNodeRequest

type ApiReactivateSubscriptionRequest

type ApiReactivateSubscriptionRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiReactivateSubscriptionRequest) Execute

type ApiRefreshAccountTokenRequest

type ApiRefreshAccountTokenRequest struct {
	ApiService *AccountAPIService
	// contains filtered or unexported fields
}

func (ApiRefreshAccountTokenRequest) AccountTokenRefreshRequest

func (r ApiRefreshAccountTokenRequest) AccountTokenRefreshRequest(accountTokenRefreshRequest AccountTokenRefreshRequest) ApiRefreshAccountTokenRequest

func (ApiRefreshAccountTokenRequest) Execute

type ApiSetDefaultPaymentMethodRequest

type ApiSetDefaultPaymentMethodRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiSetDefaultPaymentMethodRequest) Execute

func (ApiSetDefaultPaymentMethodRequest) SetDefaultPaymentMethodRequest

func (r ApiSetDefaultPaymentMethodRequest) SetDefaultPaymentMethodRequest(setDefaultPaymentMethodRequest SetDefaultPaymentMethodRequest) ApiSetDefaultPaymentMethodRequest

type ApiSetDeviceNodeRequest

type ApiSetDeviceNodeRequest struct {
	ApiService *DeviceAPIService
	// contains filtered or unexported fields
}

func (ApiSetDeviceNodeRequest) Execute

func (r ApiSetDeviceNodeRequest) Execute() (*Node, *http.Response, error)

func (ApiSetDeviceNodeRequest) SetNodeRequest

func (r ApiSetDeviceNodeRequest) SetNodeRequest(setNodeRequest SetNodeRequest) ApiSetDeviceNodeRequest

type ApiSubscribeToPlanRequest

type ApiSubscribeToPlanRequest struct {
	ApiService *BillingAPIService
	// contains filtered or unexported fields
}

func (ApiSubscribeToPlanRequest) Execute

func (ApiSubscribeToPlanRequest) SubscriptionCreationRequest

func (r ApiSubscribeToPlanRequest) SubscriptionCreationRequest(subscriptionCreationRequest SubscriptionCreationRequest) ApiSubscribeToPlanRequest

type ApiUpdateDeviceRequest

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

func (ApiUpdateDeviceRequest) DeviceRequest

func (r ApiUpdateDeviceRequest) DeviceRequest(deviceRequest DeviceRequest) ApiUpdateDeviceRequest

func (ApiUpdateDeviceRequest) Execute

func (r ApiUpdateDeviceRequest) Execute() (*Device, *http.Response, error)

type ApiUpdateNodeRequest

type ApiUpdateNodeRequest struct {
	ApiService *NodeAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateNodeRequest) Execute

func (r ApiUpdateNodeRequest) Execute() (*Node, *http.Response, error)

func (ApiUpdateNodeRequest) NodeRequest

func (r ApiUpdateNodeRequest) NodeRequest(nodeRequest NodeRequest) ApiUpdateNodeRequest

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 BillingAPIService

type BillingAPIService service

BillingAPIService BillingAPI service

func (*BillingAPIService) CancelSubscription

func (a *BillingAPIService) CancelSubscription(ctx context.Context, subscriptionId string) ApiCancelSubscriptionRequest

CancelSubscription Cancel subscription

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId A UUID string identifying this Subscription.
@return ApiCancelSubscriptionRequest

func (*BillingAPIService) CancelSubscriptionExecute

func (a *BillingAPIService) CancelSubscriptionExecute(r ApiCancelSubscriptionRequest) (*Subscription, *http.Response, error)

Execute executes the request

@return Subscription

func (*BillingAPIService) ChangeSubscriptionPlan

func (a *BillingAPIService) ChangeSubscriptionPlan(ctx context.Context, subscriptionId string) ApiChangeSubscriptionPlanRequest

ChangeSubscriptionPlan Change subscription plan

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId A UUID string identifying this Subscription.
@return ApiChangeSubscriptionPlanRequest

func (*BillingAPIService) ChangeSubscriptionPlanExecute

func (a *BillingAPIService) ChangeSubscriptionPlanExecute(r ApiChangeSubscriptionPlanRequest) (*Subscription, *http.Response, error)

Execute executes the request

@return Subscription

func (*BillingAPIService) DeletePaymentMethod

func (a *BillingAPIService) DeletePaymentMethod(ctx context.Context, paymentMethodId string) ApiDeletePaymentMethodRequest

DeletePaymentMethod Delete a payment method

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentMethodId A UUID string identifying this Payment method.
@return ApiDeletePaymentMethodRequest

func (*BillingAPIService) DeletePaymentMethodExecute

func (a *BillingAPIService) DeletePaymentMethodExecute(r ApiDeletePaymentMethodRequest) (*http.Response, error)

Execute executes the request

func (*BillingAPIService) GetBillingAccount

GetBillingAccount Retrieve the current account

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

func (*BillingAPIService) GetBillingAccountExecute

func (a *BillingAPIService) GetBillingAccountExecute(r ApiGetBillingAccountRequest) (*BillingAccount, *http.Response, error)

Execute executes the request

@return BillingAccount

func (*BillingAPIService) GetBillingOptions

GetBillingOptions Retrieve billing options

API endpoint that allows billing options to be viewed by anyone. Returns available currencies and region settings.

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

func (*BillingAPIService) GetBillingOptionsExecute

func (a *BillingAPIService) GetBillingOptionsExecute(r ApiGetBillingOptionsRequest) (*BillingOptions, *http.Response, error)

Execute executes the request

@return BillingOptions

func (*BillingAPIService) GetCurrencies

GetCurrencies Retrieve all available currencies

API endpoint that returns all available currencies.

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

func (*BillingAPIService) GetCurrenciesExecute

func (a *BillingAPIService) GetCurrenciesExecute(r ApiGetCurrenciesRequest) ([]Currency, *http.Response, error)

Execute executes the request

@return []Currency

func (*BillingAPIService) GetCurrentSubscription

func (a *BillingAPIService) GetCurrentSubscription(ctx context.Context) ApiGetCurrentSubscriptionRequest

GetCurrentSubscription Retrieve the current subscription

ViewSet to retrieve the current subscription for an account.

This endpoint returns the latest active subscription. If there are no active subscriptions, it returns the most recent subscription, regardless of status.

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

func (*BillingAPIService) GetCurrentSubscriptionExecute

func (a *BillingAPIService) GetCurrentSubscriptionExecute(r ApiGetCurrentSubscriptionRequest) (*Subscription, *http.Response, error)

Execute executes the request

@return Subscription

func (*BillingAPIService) GetCurrentWallet

GetCurrentWallet Retrieve the current wallet

Get the default wallet for the current billing account.

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

func (*BillingAPIService) GetCurrentWalletExecute

func (a *BillingAPIService) GetCurrentWalletExecute(r ApiGetCurrentWalletRequest) (*Wallet, *http.Response, error)

Execute executes the request

@return Wallet

func (*BillingAPIService) GetEntitlement

func (a *BillingAPIService) GetEntitlement(ctx context.Context, entitlementId string) ApiGetEntitlementRequest

GetEntitlement Retrieve a specific entitlement

API ViewSet for Entitlements.

Entitlements represent features that an account has access to via subscriptions. This view provides read-only access to the entitlements available to the current account.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param entitlementId A UUID string identifying this Entitlement.
@return ApiGetEntitlementRequest

func (*BillingAPIService) GetEntitlementExecute

func (a *BillingAPIService) GetEntitlementExecute(r ApiGetEntitlementRequest) (*Entitlement, *http.Response, error)

Execute executes the request

@return Entitlement

func (*BillingAPIService) GetEntitlements

GetEntitlements List account entitlements

API ViewSet for Entitlements.

Entitlements represent features that an account has access to via subscriptions. This view provides read-only access to the entitlements available to the current account.

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

func (*BillingAPIService) GetEntitlementsExecute

func (a *BillingAPIService) GetEntitlementsExecute(r ApiGetEntitlementsRequest) ([]Entitlement, *http.Response, error)

Execute executes the request

@return []Entitlement

func (*BillingAPIService) GetPaymentMethod

func (a *BillingAPIService) GetPaymentMethod(ctx context.Context, paymentMethodId string) ApiGetPaymentMethodRequest

GetPaymentMethod Retrieve a payment method

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentMethodId A UUID string identifying this Payment method.
@return ApiGetPaymentMethodRequest

func (*BillingAPIService) GetPaymentMethodExecute

func (a *BillingAPIService) GetPaymentMethodExecute(r ApiGetPaymentMethodRequest) (*PaymentMethod, *http.Response, error)

Execute executes the request

@return PaymentMethod

func (*BillingAPIService) GetPaymentMethods

GetPaymentMethods List all payment methods

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

func (*BillingAPIService) GetPaymentMethodsExecute

Execute executes the request

@return PaginatedPaymentMethodList

func (*BillingAPIService) GetPlanBySlug

func (a *BillingAPIService) GetPlanBySlug(ctx context.Context, slug string) ApiGetPlanBySlugRequest

GetPlanBySlug Retrieve a plan

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

func (*BillingAPIService) GetPlanBySlugExecute

func (a *BillingAPIService) GetPlanBySlugExecute(r ApiGetPlanBySlugRequest) (*Plan, *http.Response, error)

Execute executes the request

@return Plan

func (*BillingAPIService) GetPlanTimeline

GetPlanTimeline Get billing timeline for a plan

Get billing timeline for a plan.

Shows payment schedule including trial periods and prorated amounts for upgrades/downgrades.

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

func (*BillingAPIService) GetPlanTimelineExecute

func (a *BillingAPIService) GetPlanTimelineExecute(r ApiGetPlanTimelineRequest) (*Timeline, *http.Response, error)

Execute executes the request

@return Timeline

func (*BillingAPIService) GetPlans

GetPlans List all plans

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

func (*BillingAPIService) GetPlansExecute

func (a *BillingAPIService) GetPlansExecute(r ApiGetPlansRequest) ([]Plan, *http.Response, error)

Execute executes the request

@return []Plan

func (*BillingAPIService) GetSubscription

func (a *BillingAPIService) GetSubscription(ctx context.Context, subscriptionId string) ApiGetSubscriptionRequest

GetSubscription Retrieve subscription

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId A UUID string identifying this Subscription.
@return ApiGetSubscriptionRequest

func (*BillingAPIService) GetSubscriptionExecute

func (a *BillingAPIService) GetSubscriptionExecute(r ApiGetSubscriptionRequest) (*Subscription, *http.Response, error)

Execute executes the request

@return Subscription

func (*BillingAPIService) GetSubscriptions

GetSubscriptions List subscriptions

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

func (*BillingAPIService) GetSubscriptionsExecute

Execute executes the request

@return PaginatedSubscriptionList

func (*BillingAPIService) GetWallet

func (a *BillingAPIService) GetWallet(ctx context.Context, walletId string) ApiGetWalletRequest

GetWallet Retrieve wallet details

Get detailed information about a specific wallet, including its current balance and status.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param walletId A UUID string identifying this Wallet.
@return ApiGetWalletRequest

func (*BillingAPIService) GetWalletExecute

func (a *BillingAPIService) GetWalletExecute(r ApiGetWalletRequest) (*Wallet, *http.Response, error)

Execute executes the request

@return Wallet

func (*BillingAPIService) GetWalletTransaction

func (a *BillingAPIService) GetWalletTransaction(ctx context.Context, transactionId string) ApiGetWalletTransactionRequest

GetWalletTransaction Retrieve transaction details

Get detailed information about a specific wallet transaction.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param transactionId A UUID string identifying this Wallet Transaction.
@return ApiGetWalletTransactionRequest

func (*BillingAPIService) GetWalletTransactionExecute

func (a *BillingAPIService) GetWalletTransactionExecute(r ApiGetWalletTransactionRequest) (*WalletTransaction, *http.Response, error)

Execute executes the request

@return WalletTransaction

func (*BillingAPIService) GetWalletTransactions

func (a *BillingAPIService) GetWalletTransactions(ctx context.Context) ApiGetWalletTransactionsRequest

GetWalletTransactions List wallet transactions

Retrieve a list of transactions for a specific wallet.

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

func (*BillingAPIService) GetWalletTransactionsExecute

Execute executes the request

@return PaginatedWalletTransactionList

func (*BillingAPIService) GetWallets

GetWallets List wallets

Retrieve a list of wallets belonging to the current account.

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

func (*BillingAPIService) GetWalletsExecute

Execute executes the request

@return PaginatedWalletList

func (*BillingAPIService) ReactivateSubscription

func (a *BillingAPIService) ReactivateSubscription(ctx context.Context, subscriptionId string) ApiReactivateSubscriptionRequest

ReactivateSubscription Reactivate subscription

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subscriptionId A UUID string identifying this Subscription.
@return ApiReactivateSubscriptionRequest

func (*BillingAPIService) ReactivateSubscriptionExecute

func (a *BillingAPIService) ReactivateSubscriptionExecute(r ApiReactivateSubscriptionRequest) (*Subscription, *http.Response, error)

Execute executes the request

@return Subscription

func (*BillingAPIService) SetDefaultPaymentMethod

func (a *BillingAPIService) SetDefaultPaymentMethod(ctx context.Context) ApiSetDefaultPaymentMethodRequest

SetDefaultPaymentMethod Set the default payment method for the account

Set the default payment method for the account.

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

func (*BillingAPIService) SetDefaultPaymentMethodExecute

func (a *BillingAPIService) SetDefaultPaymentMethodExecute(r ApiSetDefaultPaymentMethodRequest) (*BillingAccount, *http.Response, error)

Execute executes the request

@return BillingAccount

func (*BillingAPIService) SubscribeToPlan

SubscribeToPlan Subscribe to a plan

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

func (*BillingAPIService) SubscribeToPlanExecute

func (a *BillingAPIService) SubscribeToPlanExecute(r ApiSubscribeToPlanRequest) (*Subscription, *http.Response, error)

Execute executes the request

@return Subscription

type BillingAccount

type BillingAccount struct {
	Id                   string                `json:"id"`
	DefaultPaymentMethod NullablePaymentMethod `json:"default_payment_method"`
	CurrentSubscription  NullableSubscription  `json:"current_subscription"`
	FullName             NullableString        `json:"full_name,omitempty"`
	Company              NullableString        `json:"company,omitempty"`
	Email                NullableString        `json:"email,omitempty"`
	Phone                NullableString        `json:"phone,omitempty"`
	Address              NullableString        `json:"address,omitempty"`
	City                 NullableString        `json:"city,omitempty"`
	State                NullableString        `json:"state,omitempty"`
	PostalCode           NullableString        `json:"postal_code,omitempty"`
	Country              NullableString        `json:"country,omitempty"`
	// Default language for this account in ISO 639-1 format
	Language *string `json:"language,omitempty"`
	// Default currency for this account in ISO 4217 format
	Currency             *string        `json:"currency,omitempty"`
	Status               *AccountStatus `json:"status,omitempty"`
	CreatedAt            time.Time      `json:"created_at"`
	AdditionalProperties map[string]interface{}
}

BillingAccount struct for BillingAccount

func NewBillingAccount

func NewBillingAccount(id string, defaultPaymentMethod NullablePaymentMethod, currentSubscription NullableSubscription, createdAt time.Time) *BillingAccount

NewBillingAccount instantiates a new BillingAccount 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 NewBillingAccountWithDefaults

func NewBillingAccountWithDefaults() *BillingAccount

NewBillingAccountWithDefaults instantiates a new BillingAccount 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 (*BillingAccount) GetAddress

func (o *BillingAccount) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingAccount) GetAddressOk

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

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingAccount) GetCity

func (o *BillingAccount) GetCity() string

GetCity returns the City field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingAccount) GetCityOk

func (o *BillingAccount) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingAccount) GetCompany

func (o *BillingAccount) GetCompany() string

GetCompany returns the Company field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingAccount) GetCompanyOk

func (o *BillingAccount) GetCompanyOk() (*string, bool)

GetCompanyOk returns a tuple with the Company field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingAccount) GetCountry

func (o *BillingAccount) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingAccount) GetCountryOk

func (o *BillingAccount) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingAccount) GetCreatedAt

func (o *BillingAccount) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*BillingAccount) GetCreatedAtOk

func (o *BillingAccount) GetCreatedAtOk() (*time.Time, bool)

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

func (*BillingAccount) GetCurrency

func (o *BillingAccount) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*BillingAccount) GetCurrencyOk

func (o *BillingAccount) GetCurrencyOk() (*string, bool)

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

func (*BillingAccount) GetCurrentSubscription

func (o *BillingAccount) GetCurrentSubscription() Subscription

GetCurrentSubscription returns the CurrentSubscription field value If the value is explicit nil, the zero value for Subscription will be returned

func (*BillingAccount) GetCurrentSubscriptionOk

func (o *BillingAccount) GetCurrentSubscriptionOk() (*Subscription, bool)

GetCurrentSubscriptionOk returns a tuple with the CurrentSubscription field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingAccount) GetDefaultPaymentMethod

func (o *BillingAccount) GetDefaultPaymentMethod() PaymentMethod

GetDefaultPaymentMethod returns the DefaultPaymentMethod field value If the value is explicit nil, the zero value for PaymentMethod will be returned

func (*BillingAccount) GetDefaultPaymentMethodOk

func (o *BillingAccount) GetDefaultPaymentMethodOk() (*PaymentMethod, bool)

GetDefaultPaymentMethodOk returns a tuple with the DefaultPaymentMethod field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingAccount) GetEmail

func (o *BillingAccount) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingAccount) GetEmailOk

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

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingAccount) GetFullName

func (o *BillingAccount) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingAccount) GetFullNameOk

func (o *BillingAccount) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingAccount) GetId

func (o *BillingAccount) GetId() string

GetId returns the Id field value

func (*BillingAccount) GetIdOk

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

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

func (*BillingAccount) GetLanguage

func (o *BillingAccount) GetLanguage() string

GetLanguage returns the Language field value if set, zero value otherwise.

func (*BillingAccount) GetLanguageOk

func (o *BillingAccount) GetLanguageOk() (*string, bool)

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

func (*BillingAccount) GetPhone

func (o *BillingAccount) GetPhone() string

GetPhone returns the Phone field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingAccount) GetPhoneOk

func (o *BillingAccount) GetPhoneOk() (*string, bool)

GetPhoneOk returns a tuple with the Phone field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingAccount) GetPostalCode

func (o *BillingAccount) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingAccount) GetPostalCodeOk

func (o *BillingAccount) GetPostalCodeOk() (*string, bool)

GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingAccount) GetState

func (o *BillingAccount) GetState() string

GetState returns the State field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BillingAccount) GetStateOk

func (o *BillingAccount) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BillingAccount) GetStatus

func (o *BillingAccount) GetStatus() AccountStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*BillingAccount) GetStatusOk

func (o *BillingAccount) GetStatusOk() (*AccountStatus, bool)

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

func (*BillingAccount) HasAddress

func (o *BillingAccount) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*BillingAccount) HasCity

func (o *BillingAccount) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*BillingAccount) HasCompany

func (o *BillingAccount) HasCompany() bool

HasCompany returns a boolean if a field has been set.

func (*BillingAccount) HasCountry

func (o *BillingAccount) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*BillingAccount) HasCurrency

func (o *BillingAccount) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*BillingAccount) HasEmail

func (o *BillingAccount) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*BillingAccount) HasFullName

func (o *BillingAccount) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*BillingAccount) HasLanguage

func (o *BillingAccount) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*BillingAccount) HasPhone

func (o *BillingAccount) HasPhone() bool

HasPhone returns a boolean if a field has been set.

func (*BillingAccount) HasPostalCode

func (o *BillingAccount) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*BillingAccount) HasState

func (o *BillingAccount) HasState() bool

HasState returns a boolean if a field has been set.

func (*BillingAccount) HasStatus

func (o *BillingAccount) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (BillingAccount) MarshalJSON

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

func (*BillingAccount) SetAddress

func (o *BillingAccount) SetAddress(v string)

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

func (*BillingAccount) SetAddressNil

func (o *BillingAccount) SetAddressNil()

SetAddressNil sets the value for Address to be an explicit nil

func (*BillingAccount) SetCity

func (o *BillingAccount) SetCity(v string)

SetCity gets a reference to the given NullableString and assigns it to the City field.

func (*BillingAccount) SetCityNil

func (o *BillingAccount) SetCityNil()

SetCityNil sets the value for City to be an explicit nil

func (*BillingAccount) SetCompany

func (o *BillingAccount) SetCompany(v string)

SetCompany gets a reference to the given NullableString and assigns it to the Company field.

func (*BillingAccount) SetCompanyNil

func (o *BillingAccount) SetCompanyNil()

SetCompanyNil sets the value for Company to be an explicit nil

func (*BillingAccount) SetCountry

func (o *BillingAccount) SetCountry(v string)

SetCountry gets a reference to the given NullableString and assigns it to the Country field.

func (*BillingAccount) SetCountryNil

func (o *BillingAccount) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*BillingAccount) SetCreatedAt

func (o *BillingAccount) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*BillingAccount) SetCurrency

func (o *BillingAccount) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*BillingAccount) SetCurrentSubscription

func (o *BillingAccount) SetCurrentSubscription(v Subscription)

SetCurrentSubscription sets field value

func (*BillingAccount) SetDefaultPaymentMethod

func (o *BillingAccount) SetDefaultPaymentMethod(v PaymentMethod)

SetDefaultPaymentMethod sets field value

func (*BillingAccount) SetEmail

func (o *BillingAccount) SetEmail(v string)

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

func (*BillingAccount) SetEmailNil

func (o *BillingAccount) SetEmailNil()

SetEmailNil sets the value for Email to be an explicit nil

func (*BillingAccount) SetFullName

func (o *BillingAccount) SetFullName(v string)

SetFullName gets a reference to the given NullableString and assigns it to the FullName field.

func (*BillingAccount) SetFullNameNil

func (o *BillingAccount) SetFullNameNil()

SetFullNameNil sets the value for FullName to be an explicit nil

func (*BillingAccount) SetId

func (o *BillingAccount) SetId(v string)

SetId sets field value

func (*BillingAccount) SetLanguage

func (o *BillingAccount) SetLanguage(v string)

SetLanguage gets a reference to the given string and assigns it to the Language field.

func (*BillingAccount) SetPhone

func (o *BillingAccount) SetPhone(v string)

SetPhone gets a reference to the given NullableString and assigns it to the Phone field.

func (*BillingAccount) SetPhoneNil

func (o *BillingAccount) SetPhoneNil()

SetPhoneNil sets the value for Phone to be an explicit nil

func (*BillingAccount) SetPostalCode

func (o *BillingAccount) SetPostalCode(v string)

SetPostalCode gets a reference to the given NullableString and assigns it to the PostalCode field.

func (*BillingAccount) SetPostalCodeNil

func (o *BillingAccount) SetPostalCodeNil()

SetPostalCodeNil sets the value for PostalCode to be an explicit nil

func (*BillingAccount) SetState

func (o *BillingAccount) SetState(v string)

SetState gets a reference to the given NullableString and assigns it to the State field.

func (*BillingAccount) SetStateNil

func (o *BillingAccount) SetStateNil()

SetStateNil sets the value for State to be an explicit nil

func (*BillingAccount) SetStatus

func (o *BillingAccount) SetStatus(v AccountStatus)

SetStatus gets a reference to the given AccountStatus and assigns it to the Status field.

func (BillingAccount) ToMap

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

func (*BillingAccount) UnmarshalJSON

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

func (*BillingAccount) UnsetAddress

func (o *BillingAccount) UnsetAddress()

UnsetAddress ensures that no value is present for Address, not even an explicit nil

func (*BillingAccount) UnsetCity

func (o *BillingAccount) UnsetCity()

UnsetCity ensures that no value is present for City, not even an explicit nil

func (*BillingAccount) UnsetCompany

func (o *BillingAccount) UnsetCompany()

UnsetCompany ensures that no value is present for Company, not even an explicit nil

func (*BillingAccount) UnsetCountry

func (o *BillingAccount) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*BillingAccount) UnsetEmail

func (o *BillingAccount) UnsetEmail()

UnsetEmail ensures that no value is present for Email, not even an explicit nil

func (*BillingAccount) UnsetFullName

func (o *BillingAccount) UnsetFullName()

UnsetFullName ensures that no value is present for FullName, not even an explicit nil

func (*BillingAccount) UnsetPhone

func (o *BillingAccount) UnsetPhone()

UnsetPhone ensures that no value is present for Phone, not even an explicit nil

func (*BillingAccount) UnsetPostalCode

func (o *BillingAccount) UnsetPostalCode()

UnsetPostalCode ensures that no value is present for PostalCode, not even an explicit nil

func (*BillingAccount) UnsetState

func (o *BillingAccount) UnsetState()

UnsetState ensures that no value is present for State, not even an explicit nil

type BillingDataQuota

type BillingDataQuota struct {
	CurrentUsageGb       float64        `json:"current_usage_gb"`
	QuotaGb              int64          `json:"quota_gb"`
	UsagePercentage      float64        `json:"usage_percentage"`
	IsWithinQuota        bool           `json:"is_within_quota"`
	IsUnlimited          bool           `json:"is_unlimited"`
	WarningLevel         NullableString `json:"warning_level"`
	Message              string         `json:"message"`
	Period               BillingPeriod  `json:"period"`
	AdditionalProperties map[string]interface{}
}

BillingDataQuota Serializer for data quota information.

func NewBillingDataQuota

func NewBillingDataQuota(currentUsageGb float64, quotaGb int64, usagePercentage float64, isWithinQuota bool, isUnlimited bool, warningLevel NullableString, message string, period BillingPeriod) *BillingDataQuota

NewBillingDataQuota instantiates a new BillingDataQuota 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 NewBillingDataQuotaWithDefaults

func NewBillingDataQuotaWithDefaults() *BillingDataQuota

NewBillingDataQuotaWithDefaults instantiates a new BillingDataQuota 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 (*BillingDataQuota) GetCurrentUsageGb

func (o *BillingDataQuota) GetCurrentUsageGb() float64

GetCurrentUsageGb returns the CurrentUsageGb field value

func (*BillingDataQuota) GetCurrentUsageGbOk

func (o *BillingDataQuota) GetCurrentUsageGbOk() (*float64, bool)

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

func (*BillingDataQuota) GetIsUnlimited

func (o *BillingDataQuota) GetIsUnlimited() bool

GetIsUnlimited returns the IsUnlimited field value

func (*BillingDataQuota) GetIsUnlimitedOk

func (o *BillingDataQuota) GetIsUnlimitedOk() (*bool, bool)

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

func (*BillingDataQuota) GetIsWithinQuota

func (o *BillingDataQuota) GetIsWithinQuota() bool

GetIsWithinQuota returns the IsWithinQuota field value

func (*BillingDataQuota) GetIsWithinQuotaOk

func (o *BillingDataQuota) GetIsWithinQuotaOk() (*bool, bool)

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

func (*BillingDataQuota) GetMessage

func (o *BillingDataQuota) GetMessage() string

GetMessage returns the Message field value

func (*BillingDataQuota) GetMessageOk

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

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

func (*BillingDataQuota) GetPeriod

func (o *BillingDataQuota) GetPeriod() BillingPeriod

GetPeriod returns the Period field value

func (*BillingDataQuota) GetPeriodOk

func (o *BillingDataQuota) GetPeriodOk() (*BillingPeriod, bool)

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

func (*BillingDataQuota) GetQuotaGb

func (o *BillingDataQuota) GetQuotaGb() int64

GetQuotaGb returns the QuotaGb field value

func (*BillingDataQuota) GetQuotaGbOk

func (o *BillingDataQuota) GetQuotaGbOk() (*int64, bool)

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

func (*BillingDataQuota) GetUsagePercentage

func (o *BillingDataQuota) GetUsagePercentage() float64

GetUsagePercentage returns the UsagePercentage field value

func (*BillingDataQuota) GetUsagePercentageOk

func (o *BillingDataQuota) GetUsagePercentageOk() (*float64, bool)

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

func (*BillingDataQuota) GetWarningLevel

func (o *BillingDataQuota) GetWarningLevel() string

GetWarningLevel returns the WarningLevel field value If the value is explicit nil, the zero value for string will be returned

func (*BillingDataQuota) GetWarningLevelOk

func (o *BillingDataQuota) GetWarningLevelOk() (*string, bool)

GetWarningLevelOk returns a tuple with the WarningLevel field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (BillingDataQuota) MarshalJSON

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

func (*BillingDataQuota) SetCurrentUsageGb

func (o *BillingDataQuota) SetCurrentUsageGb(v float64)

SetCurrentUsageGb sets field value

func (*BillingDataQuota) SetIsUnlimited

func (o *BillingDataQuota) SetIsUnlimited(v bool)

SetIsUnlimited sets field value

func (*BillingDataQuota) SetIsWithinQuota

func (o *BillingDataQuota) SetIsWithinQuota(v bool)

SetIsWithinQuota sets field value

func (*BillingDataQuota) SetMessage

func (o *BillingDataQuota) SetMessage(v string)

SetMessage sets field value

func (*BillingDataQuota) SetPeriod

func (o *BillingDataQuota) SetPeriod(v BillingPeriod)

SetPeriod sets field value

func (*BillingDataQuota) SetQuotaGb

func (o *BillingDataQuota) SetQuotaGb(v int64)

SetQuotaGb sets field value

func (*BillingDataQuota) SetUsagePercentage

func (o *BillingDataQuota) SetUsagePercentage(v float64)

SetUsagePercentage sets field value

func (*BillingDataQuota) SetWarningLevel

func (o *BillingDataQuota) SetWarningLevel(v string)

SetWarningLevel sets field value

func (BillingDataQuota) ToMap

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

func (*BillingDataQuota) UnmarshalJSON

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

type BillingDeviceQuota

type BillingDeviceQuota struct {
	CurrentUsage         int64   `json:"current_usage"`
	Quota                int64   `json:"quota"`
	UsagePercentage      float64 `json:"usage_percentage"`
	IsWithinQuota        bool    `json:"is_within_quota"`
	IsUnlimited          bool    `json:"is_unlimited"`
	Message              string  `json:"message"`
	AdditionalProperties map[string]interface{}
}

BillingDeviceQuota Serializer for device quota information.

func NewBillingDeviceQuota

func NewBillingDeviceQuota(currentUsage int64, quota int64, usagePercentage float64, isWithinQuota bool, isUnlimited bool, message string) *BillingDeviceQuota

NewBillingDeviceQuota instantiates a new BillingDeviceQuota 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 NewBillingDeviceQuotaWithDefaults

func NewBillingDeviceQuotaWithDefaults() *BillingDeviceQuota

NewBillingDeviceQuotaWithDefaults instantiates a new BillingDeviceQuota 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 (*BillingDeviceQuota) GetCurrentUsage

func (o *BillingDeviceQuota) GetCurrentUsage() int64

GetCurrentUsage returns the CurrentUsage field value

func (*BillingDeviceQuota) GetCurrentUsageOk

func (o *BillingDeviceQuota) GetCurrentUsageOk() (*int64, bool)

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

func (*BillingDeviceQuota) GetIsUnlimited

func (o *BillingDeviceQuota) GetIsUnlimited() bool

GetIsUnlimited returns the IsUnlimited field value

func (*BillingDeviceQuota) GetIsUnlimitedOk

func (o *BillingDeviceQuota) GetIsUnlimitedOk() (*bool, bool)

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

func (*BillingDeviceQuota) GetIsWithinQuota

func (o *BillingDeviceQuota) GetIsWithinQuota() bool

GetIsWithinQuota returns the IsWithinQuota field value

func (*BillingDeviceQuota) GetIsWithinQuotaOk

func (o *BillingDeviceQuota) GetIsWithinQuotaOk() (*bool, bool)

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

func (*BillingDeviceQuota) GetMessage

func (o *BillingDeviceQuota) GetMessage() string

GetMessage returns the Message field value

func (*BillingDeviceQuota) GetMessageOk

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

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

func (*BillingDeviceQuota) GetQuota

func (o *BillingDeviceQuota) GetQuota() int64

GetQuota returns the Quota field value

func (*BillingDeviceQuota) GetQuotaOk

func (o *BillingDeviceQuota) GetQuotaOk() (*int64, bool)

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

func (*BillingDeviceQuota) GetUsagePercentage

func (o *BillingDeviceQuota) GetUsagePercentage() float64

GetUsagePercentage returns the UsagePercentage field value

func (*BillingDeviceQuota) GetUsagePercentageOk

func (o *BillingDeviceQuota) GetUsagePercentageOk() (*float64, bool)

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

func (BillingDeviceQuota) MarshalJSON

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

func (*BillingDeviceQuota) SetCurrentUsage

func (o *BillingDeviceQuota) SetCurrentUsage(v int64)

SetCurrentUsage sets field value

func (*BillingDeviceQuota) SetIsUnlimited

func (o *BillingDeviceQuota) SetIsUnlimited(v bool)

SetIsUnlimited sets field value

func (*BillingDeviceQuota) SetIsWithinQuota

func (o *BillingDeviceQuota) SetIsWithinQuota(v bool)

SetIsWithinQuota sets field value

func (*BillingDeviceQuota) SetMessage

func (o *BillingDeviceQuota) SetMessage(v string)

SetMessage sets field value

func (*BillingDeviceQuota) SetQuota

func (o *BillingDeviceQuota) SetQuota(v int64)

SetQuota sets field value

func (*BillingDeviceQuota) SetUsagePercentage

func (o *BillingDeviceQuota) SetUsagePercentage(v float64)

SetUsagePercentage sets field value

func (BillingDeviceQuota) ToMap

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

func (*BillingDeviceQuota) UnmarshalJSON

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

type BillingOptions

type BillingOptions struct {
	AvailableCurrencies  []Currency `json:"available_currencies,omitempty"`
	DefaultCurrency      *Currency  `json:"default_currency,omitempty"`
	AdditionalProperties map[string]interface{}
}

BillingOptions struct for BillingOptions

func NewBillingOptions

func NewBillingOptions() *BillingOptions

NewBillingOptions instantiates a new BillingOptions 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 NewBillingOptionsWithDefaults

func NewBillingOptionsWithDefaults() *BillingOptions

NewBillingOptionsWithDefaults instantiates a new BillingOptions 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 (*BillingOptions) GetAvailableCurrencies

func (o *BillingOptions) GetAvailableCurrencies() []Currency

GetAvailableCurrencies returns the AvailableCurrencies field value if set, zero value otherwise.

func (*BillingOptions) GetAvailableCurrenciesOk

func (o *BillingOptions) GetAvailableCurrenciesOk() ([]Currency, bool)

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

func (*BillingOptions) GetDefaultCurrency

func (o *BillingOptions) GetDefaultCurrency() Currency

GetDefaultCurrency returns the DefaultCurrency field value if set, zero value otherwise.

func (*BillingOptions) GetDefaultCurrencyOk

func (o *BillingOptions) GetDefaultCurrencyOk() (*Currency, bool)

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

func (*BillingOptions) HasAvailableCurrencies

func (o *BillingOptions) HasAvailableCurrencies() bool

HasAvailableCurrencies returns a boolean if a field has been set.

func (*BillingOptions) HasDefaultCurrency

func (o *BillingOptions) HasDefaultCurrency() bool

HasDefaultCurrency returns a boolean if a field has been set.

func (BillingOptions) MarshalJSON

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

func (*BillingOptions) SetAvailableCurrencies

func (o *BillingOptions) SetAvailableCurrencies(v []Currency)

SetAvailableCurrencies gets a reference to the given []Currency and assigns it to the AvailableCurrencies field.

func (*BillingOptions) SetDefaultCurrency

func (o *BillingOptions) SetDefaultCurrency(v Currency)

SetDefaultCurrency gets a reference to the given Currency and assigns it to the DefaultCurrency field.

func (BillingOptions) ToMap

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

func (*BillingOptions) UnmarshalJSON

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

type BillingPeriod

type BillingPeriod struct {
	Start                time.Time `json:"start"`
	End                  time.Time `json:"end"`
	AdditionalProperties map[string]interface{}
}

BillingPeriod Serializer for billing period information.

func NewBillingPeriod

func NewBillingPeriod(start time.Time, end time.Time) *BillingPeriod

NewBillingPeriod instantiates a new BillingPeriod 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 NewBillingPeriodWithDefaults

func NewBillingPeriodWithDefaults() *BillingPeriod

NewBillingPeriodWithDefaults instantiates a new BillingPeriod 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 (*BillingPeriod) GetEnd

func (o *BillingPeriod) GetEnd() time.Time

GetEnd returns the End field value

func (*BillingPeriod) GetEndOk

func (o *BillingPeriod) GetEndOk() (*time.Time, bool)

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

func (*BillingPeriod) GetStart

func (o *BillingPeriod) GetStart() time.Time

GetStart returns the Start field value

func (*BillingPeriod) GetStartOk

func (o *BillingPeriod) GetStartOk() (*time.Time, bool)

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

func (BillingPeriod) MarshalJSON

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

func (*BillingPeriod) SetEnd

func (o *BillingPeriod) SetEnd(v time.Time)

SetEnd sets field value

func (*BillingPeriod) SetStart

func (o *BillingPeriod) SetStart(v time.Time)

SetStart sets field value

func (BillingPeriod) ToMap

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

func (*BillingPeriod) UnmarshalJSON

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

type BillingUsage

type BillingUsage struct {
	Data                 BillingDataQuota   `json:"data"`
	Device               BillingDeviceQuota `json:"device"`
	AdditionalProperties map[string]interface{}
}

BillingUsage Serializer for billing usage information including data and device quota.

func NewBillingUsage

func NewBillingUsage(data BillingDataQuota, device BillingDeviceQuota) *BillingUsage

NewBillingUsage instantiates a new BillingUsage 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 NewBillingUsageWithDefaults

func NewBillingUsageWithDefaults() *BillingUsage

NewBillingUsageWithDefaults instantiates a new BillingUsage 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 (*BillingUsage) GetData

func (o *BillingUsage) GetData() BillingDataQuota

GetData returns the Data field value

func (*BillingUsage) GetDataOk

func (o *BillingUsage) GetDataOk() (*BillingDataQuota, bool)

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

func (*BillingUsage) GetDevice

func (o *BillingUsage) GetDevice() BillingDeviceQuota

GetDevice returns the Device field value

func (*BillingUsage) GetDeviceOk

func (o *BillingUsage) GetDeviceOk() (*BillingDeviceQuota, bool)

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

func (BillingUsage) MarshalJSON

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

func (*BillingUsage) SetData

func (o *BillingUsage) SetData(v BillingDataQuota)

SetData sets field value

func (*BillingUsage) SetDevice

func (o *BillingUsage) SetDevice(v BillingDeviceQuota)

SetDevice sets field value

func (BillingUsage) ToMap

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

func (*BillingUsage) UnmarshalJSON

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

type CloudPaymentsCardDetails

type CloudPaymentsCardDetails struct {
	First6               NullableString  `json:"first6,omitempty"`
	Last4                string          `json:"last4"`
	ExpYear              int64           `json:"exp_year"`
	ExpMonth             int64           `json:"exp_month"`
	ExpiresAt            time.Time       `json:"expires_at"`
	Brand                string          `json:"brand"`
	Country              NullableCountry `json:"country,omitempty"`
	AdditionalProperties map[string]interface{}
}

CloudPaymentsCardDetails struct for CloudPaymentsCardDetails

func NewCloudPaymentsCardDetails

func NewCloudPaymentsCardDetails(last4 string, expYear int64, expMonth int64, expiresAt time.Time, brand string) *CloudPaymentsCardDetails

NewCloudPaymentsCardDetails instantiates a new CloudPaymentsCardDetails 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 NewCloudPaymentsCardDetailsWithDefaults

func NewCloudPaymentsCardDetailsWithDefaults() *CloudPaymentsCardDetails

NewCloudPaymentsCardDetailsWithDefaults instantiates a new CloudPaymentsCardDetails 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 (*CloudPaymentsCardDetails) GetBrand

func (o *CloudPaymentsCardDetails) GetBrand() string

GetBrand returns the Brand field value

func (*CloudPaymentsCardDetails) GetBrandOk

func (o *CloudPaymentsCardDetails) GetBrandOk() (*string, bool)

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

func (*CloudPaymentsCardDetails) GetCountry

func (o *CloudPaymentsCardDetails) GetCountry() Country

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CloudPaymentsCardDetails) GetCountryOk

func (o *CloudPaymentsCardDetails) GetCountryOk() (*Country, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CloudPaymentsCardDetails) GetExpMonth

func (o *CloudPaymentsCardDetails) GetExpMonth() int64

GetExpMonth returns the ExpMonth field value

func (*CloudPaymentsCardDetails) GetExpMonthOk

func (o *CloudPaymentsCardDetails) GetExpMonthOk() (*int64, bool)

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

func (*CloudPaymentsCardDetails) GetExpYear

func (o *CloudPaymentsCardDetails) GetExpYear() int64

GetExpYear returns the ExpYear field value

func (*CloudPaymentsCardDetails) GetExpYearOk

func (o *CloudPaymentsCardDetails) GetExpYearOk() (*int64, bool)

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

func (*CloudPaymentsCardDetails) GetExpiresAt

func (o *CloudPaymentsCardDetails) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*CloudPaymentsCardDetails) GetExpiresAtOk

func (o *CloudPaymentsCardDetails) GetExpiresAtOk() (*time.Time, bool)

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

func (*CloudPaymentsCardDetails) GetFirst6

func (o *CloudPaymentsCardDetails) GetFirst6() string

GetFirst6 returns the First6 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CloudPaymentsCardDetails) GetFirst6Ok

func (o *CloudPaymentsCardDetails) GetFirst6Ok() (*string, bool)

GetFirst6Ok returns a tuple with the First6 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CloudPaymentsCardDetails) GetLast4

func (o *CloudPaymentsCardDetails) GetLast4() string

GetLast4 returns the Last4 field value

func (*CloudPaymentsCardDetails) GetLast4Ok

func (o *CloudPaymentsCardDetails) GetLast4Ok() (*string, bool)

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

func (*CloudPaymentsCardDetails) HasCountry

func (o *CloudPaymentsCardDetails) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*CloudPaymentsCardDetails) HasFirst6

func (o *CloudPaymentsCardDetails) HasFirst6() bool

HasFirst6 returns a boolean if a field has been set.

func (CloudPaymentsCardDetails) MarshalJSON

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

func (*CloudPaymentsCardDetails) SetBrand

func (o *CloudPaymentsCardDetails) SetBrand(v string)

SetBrand sets field value

func (*CloudPaymentsCardDetails) SetCountry

func (o *CloudPaymentsCardDetails) SetCountry(v Country)

SetCountry gets a reference to the given NullableCountry and assigns it to the Country field.

func (*CloudPaymentsCardDetails) SetCountryNil

func (o *CloudPaymentsCardDetails) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*CloudPaymentsCardDetails) SetExpMonth

func (o *CloudPaymentsCardDetails) SetExpMonth(v int64)

SetExpMonth sets field value

func (*CloudPaymentsCardDetails) SetExpYear

func (o *CloudPaymentsCardDetails) SetExpYear(v int64)

SetExpYear sets field value

func (*CloudPaymentsCardDetails) SetExpiresAt

func (o *CloudPaymentsCardDetails) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*CloudPaymentsCardDetails) SetFirst6

func (o *CloudPaymentsCardDetails) SetFirst6(v string)

SetFirst6 gets a reference to the given NullableString and assigns it to the First6 field.

func (*CloudPaymentsCardDetails) SetFirst6Nil

func (o *CloudPaymentsCardDetails) SetFirst6Nil()

SetFirst6Nil sets the value for First6 to be an explicit nil

func (*CloudPaymentsCardDetails) SetLast4

func (o *CloudPaymentsCardDetails) SetLast4(v string)

SetLast4 sets field value

func (CloudPaymentsCardDetails) ToMap

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

func (*CloudPaymentsCardDetails) UnmarshalJSON

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

func (*CloudPaymentsCardDetails) UnsetCountry

func (o *CloudPaymentsCardDetails) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*CloudPaymentsCardDetails) UnsetFirst6

func (o *CloudPaymentsCardDetails) UnsetFirst6()

UnsetFirst6 ensures that no value is present for First6, not even an explicit nil

type CloudPaymentsPaymentMethod

type CloudPaymentsPaymentMethod struct {
	Id                   string                    `json:"id"`
	Type                 NullableString            `json:"type,omitempty"`
	Card                 CloudPaymentsCardDetails  `json:"card"`
	IsExpired            bool                      `json:"is_expired"`
	NeedAuthentication   bool                      `json:"need_authentication"`
	ThreeDs              CloudPaymentsThreeDSecure `json:"three_ds"`
	CreatedAt            time.Time                 `json:"created_at"`
	AdditionalProperties map[string]interface{}
}

CloudPaymentsPaymentMethod struct for CloudPaymentsPaymentMethod

func NewCloudPaymentsPaymentMethod

func NewCloudPaymentsPaymentMethod(id string, card CloudPaymentsCardDetails, isExpired bool, needAuthentication bool, threeDs CloudPaymentsThreeDSecure, createdAt time.Time) *CloudPaymentsPaymentMethod

NewCloudPaymentsPaymentMethod instantiates a new CloudPaymentsPaymentMethod 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 NewCloudPaymentsPaymentMethodWithDefaults

func NewCloudPaymentsPaymentMethodWithDefaults() *CloudPaymentsPaymentMethod

NewCloudPaymentsPaymentMethodWithDefaults instantiates a new CloudPaymentsPaymentMethod 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 (*CloudPaymentsPaymentMethod) GetCard

GetCard returns the Card field value

func (*CloudPaymentsPaymentMethod) GetCardOk

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

func (*CloudPaymentsPaymentMethod) GetCreatedAt

func (o *CloudPaymentsPaymentMethod) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*CloudPaymentsPaymentMethod) GetCreatedAtOk

func (o *CloudPaymentsPaymentMethod) GetCreatedAtOk() (*time.Time, bool)

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

func (*CloudPaymentsPaymentMethod) GetId

GetId returns the Id field value

func (*CloudPaymentsPaymentMethod) GetIdOk

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

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

func (*CloudPaymentsPaymentMethod) GetIsExpired

func (o *CloudPaymentsPaymentMethod) GetIsExpired() bool

GetIsExpired returns the IsExpired field value

func (*CloudPaymentsPaymentMethod) GetIsExpiredOk

func (o *CloudPaymentsPaymentMethod) GetIsExpiredOk() (*bool, bool)

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

func (*CloudPaymentsPaymentMethod) GetNeedAuthentication

func (o *CloudPaymentsPaymentMethod) GetNeedAuthentication() bool

GetNeedAuthentication returns the NeedAuthentication field value

func (*CloudPaymentsPaymentMethod) GetNeedAuthenticationOk

func (o *CloudPaymentsPaymentMethod) GetNeedAuthenticationOk() (*bool, bool)

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

func (*CloudPaymentsPaymentMethod) GetThreeDs

GetThreeDs returns the ThreeDs field value

func (*CloudPaymentsPaymentMethod) GetThreeDsOk

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

func (*CloudPaymentsPaymentMethod) GetType

func (o *CloudPaymentsPaymentMethod) GetType() string

GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CloudPaymentsPaymentMethod) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CloudPaymentsPaymentMethod) HasType

func (o *CloudPaymentsPaymentMethod) HasType() bool

HasType returns a boolean if a field has been set.

func (CloudPaymentsPaymentMethod) MarshalJSON

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

func (*CloudPaymentsPaymentMethod) SetCard

SetCard sets field value

func (*CloudPaymentsPaymentMethod) SetCreatedAt

func (o *CloudPaymentsPaymentMethod) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*CloudPaymentsPaymentMethod) SetId

func (o *CloudPaymentsPaymentMethod) SetId(v string)

SetId sets field value

func (*CloudPaymentsPaymentMethod) SetIsExpired

func (o *CloudPaymentsPaymentMethod) SetIsExpired(v bool)

SetIsExpired sets field value

func (*CloudPaymentsPaymentMethod) SetNeedAuthentication

func (o *CloudPaymentsPaymentMethod) SetNeedAuthentication(v bool)

SetNeedAuthentication sets field value

func (*CloudPaymentsPaymentMethod) SetThreeDs

SetThreeDs sets field value

func (*CloudPaymentsPaymentMethod) SetType

func (o *CloudPaymentsPaymentMethod) SetType(v string)

SetType gets a reference to the given NullableString and assigns it to the Type field.

func (*CloudPaymentsPaymentMethod) SetTypeNil

func (o *CloudPaymentsPaymentMethod) SetTypeNil()

SetTypeNil sets the value for Type to be an explicit nil

func (CloudPaymentsPaymentMethod) ToMap

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

func (*CloudPaymentsPaymentMethod) UnmarshalJSON

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

func (*CloudPaymentsPaymentMethod) UnsetType

func (o *CloudPaymentsPaymentMethod) UnsetType()

UnsetType ensures that no value is present for Type, not even an explicit nil

type CloudPaymentsPaymentMethodCreateRequest

type CloudPaymentsPaymentMethodCreateRequest struct {
	Cryptogram           string `json:"cryptogram"`
	AdditionalProperties map[string]interface{}
}

CloudPaymentsPaymentMethodCreateRequest struct for CloudPaymentsPaymentMethodCreateRequest

func NewCloudPaymentsPaymentMethodCreateRequest

func NewCloudPaymentsPaymentMethodCreateRequest(cryptogram string) *CloudPaymentsPaymentMethodCreateRequest

NewCloudPaymentsPaymentMethodCreateRequest instantiates a new CloudPaymentsPaymentMethodCreateRequest 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 NewCloudPaymentsPaymentMethodCreateRequestWithDefaults

func NewCloudPaymentsPaymentMethodCreateRequestWithDefaults() *CloudPaymentsPaymentMethodCreateRequest

NewCloudPaymentsPaymentMethodCreateRequestWithDefaults instantiates a new CloudPaymentsPaymentMethodCreateRequest 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 (*CloudPaymentsPaymentMethodCreateRequest) GetCryptogram

GetCryptogram returns the Cryptogram field value

func (*CloudPaymentsPaymentMethodCreateRequest) GetCryptogramOk

func (o *CloudPaymentsPaymentMethodCreateRequest) GetCryptogramOk() (*string, bool)

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

func (CloudPaymentsPaymentMethodCreateRequest) MarshalJSON

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

func (*CloudPaymentsPaymentMethodCreateRequest) SetCryptogram

func (o *CloudPaymentsPaymentMethodCreateRequest) SetCryptogram(v string)

SetCryptogram sets field value

func (CloudPaymentsPaymentMethodCreateRequest) ToMap

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

func (*CloudPaymentsPaymentMethodCreateRequest) UnmarshalJSON

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

type CloudPaymentsThreeDSecure

type CloudPaymentsThreeDSecure struct {
	PaReq                string `json:"pa_req"`
	Md                   string `json:"md"`
	AcsUrl               string `json:"acs_url"`
	AdditionalProperties map[string]interface{}
}

CloudPaymentsThreeDSecure struct for CloudPaymentsThreeDSecure

func NewCloudPaymentsThreeDSecure

func NewCloudPaymentsThreeDSecure(paReq string, md string, acsUrl string) *CloudPaymentsThreeDSecure

NewCloudPaymentsThreeDSecure instantiates a new CloudPaymentsThreeDSecure 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 NewCloudPaymentsThreeDSecureWithDefaults

func NewCloudPaymentsThreeDSecureWithDefaults() *CloudPaymentsThreeDSecure

NewCloudPaymentsThreeDSecureWithDefaults instantiates a new CloudPaymentsThreeDSecure 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 (*CloudPaymentsThreeDSecure) GetAcsUrl

func (o *CloudPaymentsThreeDSecure) GetAcsUrl() string

GetAcsUrl returns the AcsUrl field value

func (*CloudPaymentsThreeDSecure) GetAcsUrlOk

func (o *CloudPaymentsThreeDSecure) GetAcsUrlOk() (*string, bool)

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

func (*CloudPaymentsThreeDSecure) GetMd

func (o *CloudPaymentsThreeDSecure) GetMd() string

GetMd returns the Md field value

func (*CloudPaymentsThreeDSecure) GetMdOk

func (o *CloudPaymentsThreeDSecure) GetMdOk() (*string, bool)

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

func (*CloudPaymentsThreeDSecure) GetPaReq

func (o *CloudPaymentsThreeDSecure) GetPaReq() string

GetPaReq returns the PaReq field value

func (*CloudPaymentsThreeDSecure) GetPaReqOk

func (o *CloudPaymentsThreeDSecure) GetPaReqOk() (*string, bool)

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

func (CloudPaymentsThreeDSecure) MarshalJSON

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

func (*CloudPaymentsThreeDSecure) SetAcsUrl

func (o *CloudPaymentsThreeDSecure) SetAcsUrl(v string)

SetAcsUrl sets field value

func (*CloudPaymentsThreeDSecure) SetMd

func (o *CloudPaymentsThreeDSecure) SetMd(v string)

SetMd sets field value

func (*CloudPaymentsThreeDSecure) SetPaReq

func (o *CloudPaymentsThreeDSecure) SetPaReq(v string)

SetPaReq sets field value

func (CloudPaymentsThreeDSecure) ToMap

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

func (*CloudPaymentsThreeDSecure) UnmarshalJSON

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

type CloudPaymentsThreeDSecureCompleteRequest

type CloudPaymentsThreeDSecureCompleteRequest struct {
	PaRes                string `json:"pa_res"`
	AdditionalProperties map[string]interface{}
}

CloudPaymentsThreeDSecureCompleteRequest struct for CloudPaymentsThreeDSecureCompleteRequest

func NewCloudPaymentsThreeDSecureCompleteRequest

func NewCloudPaymentsThreeDSecureCompleteRequest(paRes string) *CloudPaymentsThreeDSecureCompleteRequest

NewCloudPaymentsThreeDSecureCompleteRequest instantiates a new CloudPaymentsThreeDSecureCompleteRequest 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 NewCloudPaymentsThreeDSecureCompleteRequestWithDefaults

func NewCloudPaymentsThreeDSecureCompleteRequestWithDefaults() *CloudPaymentsThreeDSecureCompleteRequest

NewCloudPaymentsThreeDSecureCompleteRequestWithDefaults instantiates a new CloudPaymentsThreeDSecureCompleteRequest 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 (*CloudPaymentsThreeDSecureCompleteRequest) GetPaRes

GetPaRes returns the PaRes field value

func (*CloudPaymentsThreeDSecureCompleteRequest) GetPaResOk

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

func (CloudPaymentsThreeDSecureCompleteRequest) MarshalJSON

func (*CloudPaymentsThreeDSecureCompleteRequest) SetPaRes

SetPaRes sets field value

func (CloudPaymentsThreeDSecureCompleteRequest) ToMap

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

func (*CloudPaymentsThreeDSecureCompleteRequest) UnmarshalJSON

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

type CloudpaymentsAPIService

type CloudpaymentsAPIService service

CloudpaymentsAPIService CloudpaymentsAPI service

func (*CloudpaymentsAPIService) CompleteCloudpaymentsPaymentMethodThreeDs

func (a *CloudpaymentsAPIService) CompleteCloudpaymentsPaymentMethodThreeDs(ctx context.Context, paymentMethodId string) ApiCompleteCloudpaymentsPaymentMethodThreeDsRequest

CompleteCloudpaymentsPaymentMethodThreeDs Complete 3D Secure authentication

Endpoint to complete 3D Secure authentication for a payment method.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentMethodId A UUID string identifying this Payment Method.
@return ApiCompleteCloudpaymentsPaymentMethodThreeDsRequest

func (*CloudpaymentsAPIService) CompleteCloudpaymentsPaymentMethodThreeDsExecute

Execute executes the request

@return CloudPaymentsPaymentMethod

func (*CloudpaymentsAPIService) CreateCloudpaymentsPaymentMethod

func (a *CloudpaymentsAPIService) CreateCloudpaymentsPaymentMethod(ctx context.Context) ApiCreateCloudpaymentsPaymentMethodRequest

CreateCloudpaymentsPaymentMethod Create a new payment method

Endpoint to create a new payment method.

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

func (*CloudpaymentsAPIService) CreateCloudpaymentsPaymentMethodExecute

Execute executes the request

@return CloudPaymentsPaymentMethod

func (*CloudpaymentsAPIService) GetCloudpaymentsPaymentMethod

func (a *CloudpaymentsAPIService) GetCloudpaymentsPaymentMethod(ctx context.Context, paymentMethodId string) ApiGetCloudpaymentsPaymentMethodRequest

GetCloudpaymentsPaymentMethod Retrieve a payment method

Endpoint to retrieve a specific payment method by ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param paymentMethodId A UUID string identifying this Payment Method.
@return ApiGetCloudpaymentsPaymentMethodRequest

func (*CloudpaymentsAPIService) GetCloudpaymentsPaymentMethodExecute

Execute executes the request

@return CloudPaymentsPaymentMethod

type ComparisonData

type ComparisonData struct {
	Current              SummaryPeriod `json:"current"`
	Previous             SummaryPeriod `json:"previous"`
	PercentChange        float64       `json:"percent_change"`
	AdditionalProperties map[string]interface{}
}

ComparisonData Serializer for period comparison analytics.

func NewComparisonData

func NewComparisonData(current SummaryPeriod, previous SummaryPeriod, percentChange float64) *ComparisonData

NewComparisonData instantiates a new ComparisonData 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 NewComparisonDataWithDefaults

func NewComparisonDataWithDefaults() *ComparisonData

NewComparisonDataWithDefaults instantiates a new ComparisonData 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 (*ComparisonData) GetCurrent

func (o *ComparisonData) GetCurrent() SummaryPeriod

GetCurrent returns the Current field value

func (*ComparisonData) GetCurrentOk

func (o *ComparisonData) GetCurrentOk() (*SummaryPeriod, bool)

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

func (*ComparisonData) GetPercentChange

func (o *ComparisonData) GetPercentChange() float64

GetPercentChange returns the PercentChange field value

func (*ComparisonData) GetPercentChangeOk

func (o *ComparisonData) GetPercentChangeOk() (*float64, bool)

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

func (*ComparisonData) GetPrevious

func (o *ComparisonData) GetPrevious() SummaryPeriod

GetPrevious returns the Previous field value

func (*ComparisonData) GetPreviousOk

func (o *ComparisonData) GetPreviousOk() (*SummaryPeriod, bool)

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

func (ComparisonData) MarshalJSON

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

func (*ComparisonData) SetCurrent

func (o *ComparisonData) SetCurrent(v SummaryPeriod)

SetCurrent sets field value

func (*ComparisonData) SetPercentChange

func (o *ComparisonData) SetPercentChange(v float64)

SetPercentChange sets field value

func (*ComparisonData) SetPrevious

func (o *ComparisonData) SetPrevious(v SummaryPeriod)

SetPrevious sets field value

func (ComparisonData) ToMap

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

func (*ComparisonData) UnmarshalJSON

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

type Condition

type Condition string

Condition * `ready` - Ready * `disk_pressure` - DiskPressure * `memory_pressure` - MemoryPressure * `pid_pressure` - PIDPressure * `cpu_pressure` - CPUPressure * `network_pressure` - NetworkPressure * `network_unavailable` - NetworkUnavailable

const (
	CONDITION_READY               Condition = "ready"
	CONDITION_DISK_PRESSURE       Condition = "disk_pressure"
	CONDITION_MEMORY_PRESSURE     Condition = "memory_pressure"
	CONDITION_PID_PRESSURE        Condition = "pid_pressure"
	CONDITION_CPU_PRESSURE        Condition = "cpu_pressure"
	CONDITION_NETWORK_PRESSURE    Condition = "network_pressure"
	CONDITION_NETWORK_UNAVAILABLE Condition = "network_unavailable"
)

List of Condition

func NewConditionFromValue

func NewConditionFromValue(v string) (*Condition, error)

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

func (Condition) IsValid

func (v Condition) IsValid() bool

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

func (Condition) Ptr

func (v Condition) Ptr() *Condition

Ptr returns reference to Condition value

func (*Condition) UnmarshalJSON

func (v *Condition) UnmarshalJSON(src []byte) 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 ConnectionStatus

type ConnectionStatus string

ConnectionStatus the model 'ConnectionStatus'

const (
	CONNECTIONSTATUS_NEVER_CONNECTED ConnectionStatus = "never_connected"
	CONNECTIONSTATUS_INACTIVE        ConnectionStatus = "inactive"
	CONNECTIONSTATUS_OFFLINE         ConnectionStatus = "offline"
	CONNECTIONSTATUS_ACTIVE          ConnectionStatus = "active"
	CONNECTIONSTATUS_ONLINE          ConnectionStatus = "online"
)

List of ConnectionStatus

func NewConnectionStatusFromValue

func NewConnectionStatusFromValue(v string) (*ConnectionStatus, error)

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

func (ConnectionStatus) IsValid

func (v ConnectionStatus) IsValid() bool

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

func (ConnectionStatus) Ptr

Ptr returns reference to ConnectionStatus value

func (*ConnectionStatus) UnmarshalJSON

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

type Country

type Country struct {
	Id                   string `json:"id"`
	Name                 string `json:"name"`
	OfficialName         string `json:"official_name"`
	Flag                 string `json:"flag"`
	Alpha3               string `json:"alpha_3"`
	Numeric              string `json:"numeric"`
	AdditionalProperties map[string]interface{}
}

Country struct for Country

func NewCountry

func NewCountry(id string, name string, officialName string, flag string, alpha3 string, numeric string) *Country

NewCountry instantiates a new Country 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 NewCountryWithDefaults

func NewCountryWithDefaults() *Country

NewCountryWithDefaults instantiates a new Country 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 (*Country) GetAlpha3

func (o *Country) GetAlpha3() string

GetAlpha3 returns the Alpha3 field value

func (*Country) GetAlpha3Ok

func (o *Country) GetAlpha3Ok() (*string, bool)

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

func (*Country) GetFlag

func (o *Country) GetFlag() string

GetFlag returns the Flag field value

func (*Country) GetFlagOk

func (o *Country) GetFlagOk() (*string, bool)

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

func (*Country) GetId

func (o *Country) GetId() string

GetId returns the Id field value

func (*Country) GetIdOk

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

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

func (*Country) GetName

func (o *Country) GetName() string

GetName returns the Name field value

func (*Country) GetNameOk

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

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

func (*Country) GetNumeric

func (o *Country) GetNumeric() string

GetNumeric returns the Numeric field value

func (*Country) GetNumericOk

func (o *Country) GetNumericOk() (*string, bool)

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

func (*Country) GetOfficialName

func (o *Country) GetOfficialName() string

GetOfficialName returns the OfficialName field value

func (*Country) GetOfficialNameOk

func (o *Country) GetOfficialNameOk() (*string, bool)

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

func (Country) MarshalJSON

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

func (*Country) SetAlpha3

func (o *Country) SetAlpha3(v string)

SetAlpha3 sets field value

func (*Country) SetFlag

func (o *Country) SetFlag(v string)

SetFlag sets field value

func (*Country) SetId

func (o *Country) SetId(v string)

SetId sets field value

func (*Country) SetName

func (o *Country) SetName(v string)

SetName sets field value

func (*Country) SetNumeric

func (o *Country) SetNumeric(v string)

SetNumeric sets field value

func (*Country) SetOfficialName

func (o *Country) SetOfficialName(v string)

SetOfficialName sets field value

func (Country) ToMap

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

func (*Country) UnmarshalJSON

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

type CountryRequest

type CountryRequest struct {
	Id                   string `json:"id"`
	Name                 string `json:"name"`
	OfficialName         string `json:"official_name"`
	Alpha3               string `json:"alpha_3"`
	Numeric              string `json:"numeric"`
	AdditionalProperties map[string]interface{}
}

CountryRequest struct for CountryRequest

func NewCountryRequest

func NewCountryRequest(id string, name string, officialName string, alpha3 string, numeric string) *CountryRequest

NewCountryRequest instantiates a new CountryRequest 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 NewCountryRequestWithDefaults

func NewCountryRequestWithDefaults() *CountryRequest

NewCountryRequestWithDefaults instantiates a new CountryRequest 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 (*CountryRequest) GetAlpha3

func (o *CountryRequest) GetAlpha3() string

GetAlpha3 returns the Alpha3 field value

func (*CountryRequest) GetAlpha3Ok

func (o *CountryRequest) GetAlpha3Ok() (*string, bool)

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

func (*CountryRequest) GetId

func (o *CountryRequest) GetId() string

GetId returns the Id field value

func (*CountryRequest) GetIdOk

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

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

func (*CountryRequest) GetName

func (o *CountryRequest) GetName() string

GetName returns the Name field value

func (*CountryRequest) GetNameOk

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

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

func (*CountryRequest) GetNumeric

func (o *CountryRequest) GetNumeric() string

GetNumeric returns the Numeric field value

func (*CountryRequest) GetNumericOk

func (o *CountryRequest) GetNumericOk() (*string, bool)

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

func (*CountryRequest) GetOfficialName

func (o *CountryRequest) GetOfficialName() string

GetOfficialName returns the OfficialName field value

func (*CountryRequest) GetOfficialNameOk

func (o *CountryRequest) GetOfficialNameOk() (*string, bool)

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

func (CountryRequest) MarshalJSON

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

func (*CountryRequest) SetAlpha3

func (o *CountryRequest) SetAlpha3(v string)

SetAlpha3 sets field value

func (*CountryRequest) SetId

func (o *CountryRequest) SetId(v string)

SetId sets field value

func (*CountryRequest) SetName

func (o *CountryRequest) SetName(v string)

SetName sets field value

func (*CountryRequest) SetNumeric

func (o *CountryRequest) SetNumeric(v string)

SetNumeric sets field value

func (*CountryRequest) SetOfficialName

func (o *CountryRequest) SetOfficialName(v string)

SetOfficialName sets field value

func (CountryRequest) ToMap

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

func (*CountryRequest) UnmarshalJSON

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

type Currency

type Currency struct {
	Code   string  `json:"code"`
	Name   string  `json:"name"`
	Symbol *string `json:"symbol,omitempty"`
	// Number of subunits in the currency
	Subunit              *int64 `json:"subunit,omitempty"`
	AdditionalProperties map[string]interface{}
}

Currency struct for Currency

func NewCurrency

func NewCurrency(code string, name string) *Currency

NewCurrency instantiates a new Currency 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 NewCurrencyWithDefaults

func NewCurrencyWithDefaults() *Currency

NewCurrencyWithDefaults instantiates a new Currency 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 (*Currency) GetCode

func (o *Currency) GetCode() string

GetCode returns the Code field value

func (*Currency) GetCodeOk

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

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

func (*Currency) GetName

func (o *Currency) GetName() string

GetName returns the Name field value

func (*Currency) GetNameOk

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

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

func (*Currency) GetSubunit

func (o *Currency) GetSubunit() int64

GetSubunit returns the Subunit field value if set, zero value otherwise.

func (*Currency) GetSubunitOk

func (o *Currency) GetSubunitOk() (*int64, bool)

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

func (*Currency) GetSymbol

func (o *Currency) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*Currency) GetSymbolOk

func (o *Currency) GetSymbolOk() (*string, bool)

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

func (*Currency) HasSubunit

func (o *Currency) HasSubunit() bool

HasSubunit returns a boolean if a field has been set.

func (*Currency) HasSymbol

func (o *Currency) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (Currency) MarshalJSON

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

func (*Currency) SetCode

func (o *Currency) SetCode(v string)

SetCode sets field value

func (*Currency) SetName

func (o *Currency) SetName(v string)

SetName sets field value

func (*Currency) SetSubunit

func (o *Currency) SetSubunit(v int64)

SetSubunit gets a reference to the given int64 and assigns it to the Subunit field.

func (*Currency) SetSymbol

func (o *Currency) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (Currency) ToMap

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

func (*Currency) UnmarshalJSON

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

type DashboardAnalytics

type DashboardAnalytics struct {
	Summary7d            ComparisonData `json:"summary_7d"`
	Summary30d           ComparisonData `json:"summary_30d"`
	TopDevices           TopDevices     `json:"top_devices"`
	AdditionalProperties map[string]interface{}
}

DashboardAnalytics Complete dashboard analytics data.

func NewDashboardAnalytics

func NewDashboardAnalytics(summary7d ComparisonData, summary30d ComparisonData, topDevices TopDevices) *DashboardAnalytics

NewDashboardAnalytics instantiates a new DashboardAnalytics 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 NewDashboardAnalyticsWithDefaults

func NewDashboardAnalyticsWithDefaults() *DashboardAnalytics

NewDashboardAnalyticsWithDefaults instantiates a new DashboardAnalytics 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 (*DashboardAnalytics) GetSummary7d

func (o *DashboardAnalytics) GetSummary7d() ComparisonData

GetSummary7d returns the Summary7d field value

func (*DashboardAnalytics) GetSummary7dOk

func (o *DashboardAnalytics) GetSummary7dOk() (*ComparisonData, bool)

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

func (*DashboardAnalytics) GetSummary30d

func (o *DashboardAnalytics) GetSummary30d() ComparisonData

GetSummary30d returns the Summary30d field value

func (*DashboardAnalytics) GetSummary30dOk

func (o *DashboardAnalytics) GetSummary30dOk() (*ComparisonData, bool)

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

func (*DashboardAnalytics) GetTopDevices

func (o *DashboardAnalytics) GetTopDevices() TopDevices

GetTopDevices returns the TopDevices field value

func (*DashboardAnalytics) GetTopDevicesOk

func (o *DashboardAnalytics) GetTopDevicesOk() (*TopDevices, bool)

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

func (DashboardAnalytics) MarshalJSON

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

func (*DashboardAnalytics) SetSummary7d

func (o *DashboardAnalytics) SetSummary7d(v ComparisonData)

SetSummary7d sets field value

func (*DashboardAnalytics) SetSummary30d

func (o *DashboardAnalytics) SetSummary30d(v ComparisonData)

SetSummary30d sets field value

func (*DashboardAnalytics) SetTopDevices

func (o *DashboardAnalytics) SetTopDevices(v TopDevices)

SetTopDevices sets field value

func (DashboardAnalytics) ToMap

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

func (*DashboardAnalytics) UnmarshalJSON

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

type DataPoint

type DataPoint struct {
	Date                 time.Time `json:"date"`
	Rx                   int64     `json:"rx"`
	Tx                   int64     `json:"tx"`
	Total                int64     `json:"total"`
	AdditionalProperties map[string]interface{}
}

DataPoint Serializer for a single data usage point.

func NewDataPoint

func NewDataPoint(date time.Time, rx int64, tx int64, total int64) *DataPoint

NewDataPoint instantiates a new DataPoint 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 NewDataPointWithDefaults

func NewDataPointWithDefaults() *DataPoint

NewDataPointWithDefaults instantiates a new DataPoint 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 (*DataPoint) GetDate

func (o *DataPoint) GetDate() time.Time

GetDate returns the Date field value

func (*DataPoint) GetDateOk

func (o *DataPoint) GetDateOk() (*time.Time, bool)

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

func (*DataPoint) GetRx

func (o *DataPoint) GetRx() int64

GetRx returns the Rx field value

func (*DataPoint) GetRxOk

func (o *DataPoint) GetRxOk() (*int64, bool)

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

func (*DataPoint) GetTotal

func (o *DataPoint) GetTotal() int64

GetTotal returns the Total field value

func (*DataPoint) GetTotalOk

func (o *DataPoint) GetTotalOk() (*int64, bool)

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

func (*DataPoint) GetTx

func (o *DataPoint) GetTx() int64

GetTx returns the Tx field value

func (*DataPoint) GetTxOk

func (o *DataPoint) GetTxOk() (*int64, bool)

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

func (DataPoint) MarshalJSON

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

func (*DataPoint) SetDate

func (o *DataPoint) SetDate(v time.Time)

SetDate sets field value

func (*DataPoint) SetRx

func (o *DataPoint) SetRx(v int64)

SetRx sets field value

func (*DataPoint) SetTotal

func (o *DataPoint) SetTotal(v int64)

SetTotal sets field value

func (*DataPoint) SetTx

func (o *DataPoint) SetTx(v int64)

SetTx sets field value

func (DataPoint) ToMap

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

func (*DataPoint) UnmarshalJSON

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

type Device

type Device struct {
	Id     string  `json:"id"`
	Name   *string `json:"name,omitempty"`
	Ipv4   string  `json:"ipv4"`
	Ipv6   string  `json:"ipv6"`
	PubKey string  `json:"pub_key"`
	PsKey  string  `json:"ps_key"`
	// Bcrypt Hashed Password for Authentication, e.g. HTTP Proxy
	Password NullableString `json:"password,omitempty"`
	// Determine connection status based on last activity time from data usage.
	ConnectionStatus    ConnectionStatus `json:"connection_status"`
	CreatedAt           time.Time        `json:"created_at"`
	LastActiveAt        time.Time        `json:"last_active_at"`
	Last30daysDataUsage DeviceDataUsage  `json:"last_30days_data_usage"`
	// Generate a quick configuration string for the device.
	QuickConfTemplate string `json:"quick_conf_template"`
	// Return the endpoint for the device.
	ExitNodeEndpoint     string `json:"exit_node_endpoint"`
	AdditionalProperties map[string]interface{}
}

Device struct for Device

func NewDevice

func NewDevice(id string, ipv4 string, ipv6 string, pubKey string, psKey string, connectionStatus ConnectionStatus, createdAt time.Time, lastActiveAt time.Time, last30daysDataUsage DeviceDataUsage, quickConfTemplate string, exitNodeEndpoint string) *Device

NewDevice instantiates a new Device 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 NewDeviceWithDefaults

func NewDeviceWithDefaults() *Device

NewDeviceWithDefaults instantiates a new Device 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 (*Device) GetConnectionStatus

func (o *Device) GetConnectionStatus() ConnectionStatus

GetConnectionStatus returns the ConnectionStatus field value

func (*Device) GetConnectionStatusOk

func (o *Device) GetConnectionStatusOk() (*ConnectionStatus, bool)

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

func (*Device) GetCreatedAt

func (o *Device) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Device) GetCreatedAtOk

func (o *Device) GetCreatedAtOk() (*time.Time, bool)

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

func (*Device) GetExitNodeEndpoint

func (o *Device) GetExitNodeEndpoint() string

GetExitNodeEndpoint returns the ExitNodeEndpoint field value

func (*Device) GetExitNodeEndpointOk

func (o *Device) GetExitNodeEndpointOk() (*string, bool)

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

func (*Device) GetId

func (o *Device) GetId() string

GetId returns the Id field value

func (*Device) GetIdOk

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

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

func (*Device) GetIpv4

func (o *Device) GetIpv4() string

GetIpv4 returns the Ipv4 field value

func (*Device) GetIpv4Ok

func (o *Device) GetIpv4Ok() (*string, bool)

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

func (*Device) GetIpv6

func (o *Device) GetIpv6() string

GetIpv6 returns the Ipv6 field value

func (*Device) GetIpv6Ok

func (o *Device) GetIpv6Ok() (*string, bool)

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

func (*Device) GetLast30daysDataUsage

func (o *Device) GetLast30daysDataUsage() DeviceDataUsage

GetLast30daysDataUsage returns the Last30daysDataUsage field value

func (*Device) GetLast30daysDataUsageOk

func (o *Device) GetLast30daysDataUsageOk() (*DeviceDataUsage, bool)

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

func (*Device) GetLastActiveAt

func (o *Device) GetLastActiveAt() time.Time

GetLastActiveAt returns the LastActiveAt field value

func (*Device) GetLastActiveAtOk

func (o *Device) GetLastActiveAtOk() (*time.Time, bool)

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

func (*Device) GetName

func (o *Device) GetName() string

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

func (*Device) GetNameOk

func (o *Device) 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 (*Device) GetPassword

func (o *Device) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Device) GetPasswordOk

func (o *Device) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Device) GetPsKey

func (o *Device) GetPsKey() string

GetPsKey returns the PsKey field value

func (*Device) GetPsKeyOk

func (o *Device) GetPsKeyOk() (*string, bool)

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

func (*Device) GetPubKey

func (o *Device) GetPubKey() string

GetPubKey returns the PubKey field value

func (*Device) GetPubKeyOk

func (o *Device) GetPubKeyOk() (*string, bool)

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

func (*Device) GetQuickConfTemplate

func (o *Device) GetQuickConfTemplate() string

GetQuickConfTemplate returns the QuickConfTemplate field value

func (*Device) GetQuickConfTemplateOk

func (o *Device) GetQuickConfTemplateOk() (*string, bool)

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

func (*Device) HasName

func (o *Device) HasName() bool

HasName returns a boolean if a field has been set.

func (*Device) HasPassword

func (o *Device) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (Device) MarshalJSON

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

func (*Device) SetConnectionStatus

func (o *Device) SetConnectionStatus(v ConnectionStatus)

SetConnectionStatus sets field value

func (*Device) SetCreatedAt

func (o *Device) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Device) SetExitNodeEndpoint

func (o *Device) SetExitNodeEndpoint(v string)

SetExitNodeEndpoint sets field value

func (*Device) SetId

func (o *Device) SetId(v string)

SetId sets field value

func (*Device) SetIpv4

func (o *Device) SetIpv4(v string)

SetIpv4 sets field value

func (*Device) SetIpv6

func (o *Device) SetIpv6(v string)

SetIpv6 sets field value

func (*Device) SetLast30daysDataUsage

func (o *Device) SetLast30daysDataUsage(v DeviceDataUsage)

SetLast30daysDataUsage sets field value

func (*Device) SetLastActiveAt

func (o *Device) SetLastActiveAt(v time.Time)

SetLastActiveAt sets field value

func (*Device) SetName

func (o *Device) SetName(v string)

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

func (*Device) SetPassword

func (o *Device) SetPassword(v string)

SetPassword gets a reference to the given NullableString and assigns it to the Password field.

func (*Device) SetPasswordNil

func (o *Device) SetPasswordNil()

SetPasswordNil sets the value for Password to be an explicit nil

func (*Device) SetPsKey

func (o *Device) SetPsKey(v string)

SetPsKey sets field value

func (*Device) SetPubKey

func (o *Device) SetPubKey(v string)

SetPubKey sets field value

func (*Device) SetQuickConfTemplate

func (o *Device) SetQuickConfTemplate(v string)

SetQuickConfTemplate sets field value

func (Device) ToMap

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

func (*Device) UnmarshalJSON

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

func (*Device) UnsetPassword

func (o *Device) UnsetPassword()

UnsetPassword ensures that no value is present for Password, not even an explicit nil

type DeviceAPIService

type DeviceAPIService service

DeviceAPIService DeviceAPI service

func (*DeviceAPIService) CreateDevice

CreateDevice Create a new account

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

func (*DeviceAPIService) CreateDeviceExecute

func (a *DeviceAPIService) CreateDeviceExecute(r ApiCreateDeviceRequest) (*Device, *http.Response, error)

Execute executes the request

@return Device

func (*DeviceAPIService) DeleteDevice

func (a *DeviceAPIService) DeleteDevice(ctx context.Context, deviceId string) ApiDeleteDeviceRequest

DeleteDevice Delete a device

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param deviceId A UUID string identifying this Device.
@return ApiDeleteDeviceRequest

func (*DeviceAPIService) DeleteDeviceExecute

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

Execute executes the request

func (*DeviceAPIService) GetDashboardAnalytics

func (a *DeviceAPIService) GetDashboardAnalytics(ctx context.Context) ApiGetDashboardAnalyticsRequest

GetDashboardAnalytics Get device data usage analytics for dashboard

Returns dashboard analytics including 7-day and 30-day summaries with previous period comparisons and a list of top N devices by data usage over the last 30 days.

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

func (*DeviceAPIService) GetDashboardAnalyticsExecute

func (a *DeviceAPIService) GetDashboardAnalyticsExecute(r ApiGetDashboardAnalyticsRequest) (*DashboardAnalytics, *http.Response, error)

Execute executes the request

@return DashboardAnalytics

func (*DeviceAPIService) GetDevice

func (a *DeviceAPIService) GetDevice(ctx context.Context, deviceId string) ApiGetDeviceRequest

GetDevice Retrieve a device

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param deviceId A UUID string identifying this Device.
@return ApiGetDeviceRequest

func (*DeviceAPIService) GetDeviceAnalytics

func (a *DeviceAPIService) GetDeviceAnalytics(ctx context.Context, deviceId string) ApiGetDeviceAnalyticsRequest

GetDeviceAnalytics Get data usage analytics for a specific device

Returns data usage analytics for a single device with daily breakdown of tx, rx usage and optional comparison to the previous period.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param deviceId A UUID string identifying this Device.
@return ApiGetDeviceAnalyticsRequest

func (*DeviceAPIService) GetDeviceAnalyticsExecute

func (a *DeviceAPIService) GetDeviceAnalyticsExecute(r ApiGetDeviceAnalyticsRequest) (*DeviceAnalytics, *http.Response, error)

Execute executes the request

@return DeviceAnalytics

func (*DeviceAPIService) GetDeviceExecute

func (a *DeviceAPIService) GetDeviceExecute(r ApiGetDeviceRequest) (*Device, *http.Response, error)

Execute executes the request

@return Device

func (*DeviceAPIService) GetDeviceNode

func (a *DeviceAPIService) GetDeviceNode(ctx context.Context, deviceId string) ApiGetDeviceNodeRequest

GetDeviceNode Get the node of a device

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param deviceId A UUID string identifying this Device.
@return ApiGetDeviceNodeRequest

func (*DeviceAPIService) GetDeviceNodeExecute

func (a *DeviceAPIService) GetDeviceNodeExecute(r ApiGetDeviceNodeRequest) (*Node, *http.Response, error)

Execute executes the request

@return Node

func (*DeviceAPIService) GetDevices

GetDevices List all devices

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

func (*DeviceAPIService) GetDevicesExecute

Execute executes the request

@return PaginatedDeviceList

func (*DeviceAPIService) PartialUpdateDevice

func (a *DeviceAPIService) PartialUpdateDevice(ctx context.Context, deviceId string) ApiPartialUpdateDeviceRequest

PartialUpdateDevice Partially update a device

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param deviceId A UUID string identifying this Device.
@return ApiPartialUpdateDeviceRequest

func (*DeviceAPIService) PartialUpdateDeviceExecute

func (a *DeviceAPIService) PartialUpdateDeviceExecute(r ApiPartialUpdateDeviceRequest) (*Device, *http.Response, error)

Execute executes the request

@return Device

func (*DeviceAPIService) SetDeviceNode

func (a *DeviceAPIService) SetDeviceNode(ctx context.Context, deviceId string) ApiSetDeviceNodeRequest

SetDeviceNode Set a node on a device

Set a node for this device either by specifying a node ID or geographic coordinates. When using node_id, the node must be active and allowed for the user. When using location, the closest active, public node to the specified coordinates will be selected.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param deviceId A UUID string identifying this Device.
@return ApiSetDeviceNodeRequest

func (*DeviceAPIService) SetDeviceNodeExecute

func (a *DeviceAPIService) SetDeviceNodeExecute(r ApiSetDeviceNodeRequest) (*Node, *http.Response, error)

Execute executes the request

@return Node

func (*DeviceAPIService) UpdateDevice

func (a *DeviceAPIService) UpdateDevice(ctx context.Context, deviceId string) ApiUpdateDeviceRequest

UpdateDevice Update a device

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param deviceId A UUID string identifying this Device.
@return ApiUpdateDeviceRequest

func (*DeviceAPIService) UpdateDeviceExecute

func (a *DeviceAPIService) UpdateDeviceExecute(r ApiUpdateDeviceRequest) (*Device, *http.Response, error)

Execute executes the request

@return Device

type DeviceAnalytics

type DeviceAnalytics struct {
	Device               DeviceAnalyticsDevice `json:"device"`
	Current              SummaryPeriod         `json:"current"`
	Previous             *SummaryPeriod        `json:"previous,omitempty"`
	PercentChange        *float64              `json:"percent_change,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceAnalytics Response for device analytics.

func NewDeviceAnalytics

func NewDeviceAnalytics(device DeviceAnalyticsDevice, current SummaryPeriod) *DeviceAnalytics

NewDeviceAnalytics instantiates a new DeviceAnalytics 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 NewDeviceAnalyticsWithDefaults

func NewDeviceAnalyticsWithDefaults() *DeviceAnalytics

NewDeviceAnalyticsWithDefaults instantiates a new DeviceAnalytics 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 (*DeviceAnalytics) GetCurrent

func (o *DeviceAnalytics) GetCurrent() SummaryPeriod

GetCurrent returns the Current field value

func (*DeviceAnalytics) GetCurrentOk

func (o *DeviceAnalytics) GetCurrentOk() (*SummaryPeriod, bool)

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

func (*DeviceAnalytics) GetDevice

func (o *DeviceAnalytics) GetDevice() DeviceAnalyticsDevice

GetDevice returns the Device field value

func (*DeviceAnalytics) GetDeviceOk

func (o *DeviceAnalytics) GetDeviceOk() (*DeviceAnalyticsDevice, bool)

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

func (*DeviceAnalytics) GetPercentChange

func (o *DeviceAnalytics) GetPercentChange() float64

GetPercentChange returns the PercentChange field value if set, zero value otherwise.

func (*DeviceAnalytics) GetPercentChangeOk

func (o *DeviceAnalytics) GetPercentChangeOk() (*float64, bool)

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

func (*DeviceAnalytics) GetPrevious

func (o *DeviceAnalytics) GetPrevious() SummaryPeriod

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*DeviceAnalytics) GetPreviousOk

func (o *DeviceAnalytics) GetPreviousOk() (*SummaryPeriod, bool)

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

func (*DeviceAnalytics) HasPercentChange

func (o *DeviceAnalytics) HasPercentChange() bool

HasPercentChange returns a boolean if a field has been set.

func (*DeviceAnalytics) HasPrevious

func (o *DeviceAnalytics) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (DeviceAnalytics) MarshalJSON

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

func (*DeviceAnalytics) SetCurrent

func (o *DeviceAnalytics) SetCurrent(v SummaryPeriod)

SetCurrent sets field value

func (*DeviceAnalytics) SetDevice

func (o *DeviceAnalytics) SetDevice(v DeviceAnalyticsDevice)

SetDevice sets field value

func (*DeviceAnalytics) SetPercentChange

func (o *DeviceAnalytics) SetPercentChange(v float64)

SetPercentChange gets a reference to the given float64 and assigns it to the PercentChange field.

func (*DeviceAnalytics) SetPrevious

func (o *DeviceAnalytics) SetPrevious(v SummaryPeriod)

SetPrevious gets a reference to the given SummaryPeriod and assigns it to the Previous field.

func (DeviceAnalytics) ToMap

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

func (*DeviceAnalytics) UnmarshalJSON

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

type DeviceAnalyticsDevice

type DeviceAnalyticsDevice struct {
	Id                   string `json:"id"`
	Name                 string `json:"name"`
	AdditionalProperties map[string]interface{}
}

DeviceAnalyticsDevice struct for DeviceAnalyticsDevice

func NewDeviceAnalyticsDevice

func NewDeviceAnalyticsDevice(id string, name string) *DeviceAnalyticsDevice

NewDeviceAnalyticsDevice instantiates a new DeviceAnalyticsDevice 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 NewDeviceAnalyticsDeviceWithDefaults

func NewDeviceAnalyticsDeviceWithDefaults() *DeviceAnalyticsDevice

NewDeviceAnalyticsDeviceWithDefaults instantiates a new DeviceAnalyticsDevice 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 (*DeviceAnalyticsDevice) GetId

func (o *DeviceAnalyticsDevice) GetId() string

GetId returns the Id field value

func (*DeviceAnalyticsDevice) GetIdOk

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

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

func (*DeviceAnalyticsDevice) GetName

func (o *DeviceAnalyticsDevice) GetName() string

GetName returns the Name field value

func (*DeviceAnalyticsDevice) GetNameOk

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

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

func (DeviceAnalyticsDevice) MarshalJSON

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

func (*DeviceAnalyticsDevice) SetId

func (o *DeviceAnalyticsDevice) SetId(v string)

SetId sets field value

func (*DeviceAnalyticsDevice) SetName

func (o *DeviceAnalyticsDevice) SetName(v string)

SetName sets field value

func (DeviceAnalyticsDevice) ToMap

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

func (*DeviceAnalyticsDevice) UnmarshalJSON

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

type DeviceCode

type DeviceCode struct {
	// 6-character device authentication code
	Code string `json:"code"`
	// When this code expires
	ExpiresAt time.Time         `json:"expires_at"`
	Status    *DeviceCodeStatus `json:"status,omitempty"`
	// JWT access token generated after approval
	AccessToken NullableString `json:"access_token"`
	// JWT refresh token generated after approval
	RefreshToken NullableString `json:"refresh_token"`
	// Generate the approval URL for the device code.
	ApprovalUrl          string `json:"approval_url"`
	AdditionalProperties map[string]interface{}
}

DeviceCode Serializer for checking device code status. Used for GET /v1/account/codes/{code}/ endpoint. Returns different fields based on the code status.

func NewDeviceCode

func NewDeviceCode(code string, expiresAt time.Time, accessToken NullableString, refreshToken NullableString, approvalUrl string) *DeviceCode

NewDeviceCode instantiates a new DeviceCode 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 NewDeviceCodeWithDefaults

func NewDeviceCodeWithDefaults() *DeviceCode

NewDeviceCodeWithDefaults instantiates a new DeviceCode 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 (*DeviceCode) GetAccessToken

func (o *DeviceCode) GetAccessToken() string

GetAccessToken returns the AccessToken field value If the value is explicit nil, the zero value for string will be returned

func (*DeviceCode) GetAccessTokenOk

func (o *DeviceCode) GetAccessTokenOk() (*string, bool)

GetAccessTokenOk returns a tuple with the AccessToken field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeviceCode) GetApprovalUrl

func (o *DeviceCode) GetApprovalUrl() string

GetApprovalUrl returns the ApprovalUrl field value

func (*DeviceCode) GetApprovalUrlOk

func (o *DeviceCode) GetApprovalUrlOk() (*string, bool)

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

func (*DeviceCode) GetCode

func (o *DeviceCode) GetCode() string

GetCode returns the Code field value

func (*DeviceCode) GetCodeOk

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

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

func (*DeviceCode) GetExpiresAt

func (o *DeviceCode) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*DeviceCode) GetExpiresAtOk

func (o *DeviceCode) GetExpiresAtOk() (*time.Time, bool)

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

func (*DeviceCode) GetRefreshToken

func (o *DeviceCode) GetRefreshToken() string

GetRefreshToken returns the RefreshToken field value If the value is explicit nil, the zero value for string will be returned

func (*DeviceCode) GetRefreshTokenOk

func (o *DeviceCode) GetRefreshTokenOk() (*string, bool)

GetRefreshTokenOk returns a tuple with the RefreshToken field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeviceCode) GetStatus

func (o *DeviceCode) GetStatus() DeviceCodeStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*DeviceCode) GetStatusOk

func (o *DeviceCode) GetStatusOk() (*DeviceCodeStatus, bool)

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

func (*DeviceCode) HasStatus

func (o *DeviceCode) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (DeviceCode) MarshalJSON

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

func (*DeviceCode) SetAccessToken

func (o *DeviceCode) SetAccessToken(v string)

SetAccessToken sets field value

func (*DeviceCode) SetApprovalUrl

func (o *DeviceCode) SetApprovalUrl(v string)

SetApprovalUrl sets field value

func (*DeviceCode) SetCode

func (o *DeviceCode) SetCode(v string)

SetCode sets field value

func (*DeviceCode) SetExpiresAt

func (o *DeviceCode) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*DeviceCode) SetRefreshToken

func (o *DeviceCode) SetRefreshToken(v string)

SetRefreshToken sets field value

func (*DeviceCode) SetStatus

func (o *DeviceCode) SetStatus(v DeviceCodeStatus)

SetStatus gets a reference to the given DeviceCodeStatus and assigns it to the Status field.

func (DeviceCode) ToMap

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

func (*DeviceCode) UnmarshalJSON

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

type DeviceCodeApproveRequest

type DeviceCodeApproveRequest struct {
	// 6-character device authentication code to approve
	Code                 string `json:"code"`
	AdditionalProperties map[string]interface{}
}

DeviceCodeApproveRequest Serializer for approving device authentication codes. Used for POST /v1/account/codes/approve/ endpoint. Requires authentication and validates the code.

func NewDeviceCodeApproveRequest

func NewDeviceCodeApproveRequest(code string) *DeviceCodeApproveRequest

NewDeviceCodeApproveRequest instantiates a new DeviceCodeApproveRequest 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 NewDeviceCodeApproveRequestWithDefaults

func NewDeviceCodeApproveRequestWithDefaults() *DeviceCodeApproveRequest

NewDeviceCodeApproveRequestWithDefaults instantiates a new DeviceCodeApproveRequest 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 (*DeviceCodeApproveRequest) GetCode

func (o *DeviceCodeApproveRequest) GetCode() string

GetCode returns the Code field value

func (*DeviceCodeApproveRequest) GetCodeOk

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

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

func (DeviceCodeApproveRequest) MarshalJSON

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

func (*DeviceCodeApproveRequest) SetCode

func (o *DeviceCodeApproveRequest) SetCode(v string)

SetCode sets field value

func (DeviceCodeApproveRequest) ToMap

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

func (*DeviceCodeApproveRequest) UnmarshalJSON

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

type DeviceCodeRequest

type DeviceCodeRequest struct {
	Status               *DeviceCodeStatus `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceCodeRequest Serializer for checking device code status. Used for GET /v1/account/codes/{code}/ endpoint. Returns different fields based on the code status.

func NewDeviceCodeRequest

func NewDeviceCodeRequest() *DeviceCodeRequest

NewDeviceCodeRequest instantiates a new DeviceCodeRequest 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 NewDeviceCodeRequestWithDefaults

func NewDeviceCodeRequestWithDefaults() *DeviceCodeRequest

NewDeviceCodeRequestWithDefaults instantiates a new DeviceCodeRequest 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 (*DeviceCodeRequest) GetStatus

func (o *DeviceCodeRequest) GetStatus() DeviceCodeStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*DeviceCodeRequest) GetStatusOk

func (o *DeviceCodeRequest) GetStatusOk() (*DeviceCodeStatus, bool)

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

func (*DeviceCodeRequest) HasStatus

func (o *DeviceCodeRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (DeviceCodeRequest) MarshalJSON

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

func (*DeviceCodeRequest) SetStatus

func (o *DeviceCodeRequest) SetStatus(v DeviceCodeStatus)

SetStatus gets a reference to the given DeviceCodeStatus and assigns it to the Status field.

func (DeviceCodeRequest) ToMap

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

func (*DeviceCodeRequest) UnmarshalJSON

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

type DeviceCodeStatus

type DeviceCodeStatus string

DeviceCodeStatus * `waiting` - Waiting * `approved` - Approved * `expired` - Expired

const (
	DEVICECODESTATUS_WAITING  DeviceCodeStatus = "waiting"
	DEVICECODESTATUS_APPROVED DeviceCodeStatus = "approved"
	DEVICECODESTATUS_EXPIRED  DeviceCodeStatus = "expired"
)

List of DeviceCodeStatus

func NewDeviceCodeStatusFromValue

func NewDeviceCodeStatusFromValue(v string) (*DeviceCodeStatus, error)

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

func (DeviceCodeStatus) IsValid

func (v DeviceCodeStatus) IsValid() bool

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

func (DeviceCodeStatus) Ptr

Ptr returns reference to DeviceCodeStatus value

func (*DeviceCodeStatus) UnmarshalJSON

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

type DeviceData

type DeviceData struct {
	Id                   string      `json:"id"`
	Name                 string      `json:"name"`
	Data                 []DataPoint `json:"data"`
	AdditionalProperties map[string]interface{}
}

DeviceData Serializer for device with data usage information.

func NewDeviceData

func NewDeviceData(id string, name string, data []DataPoint) *DeviceData

NewDeviceData instantiates a new DeviceData 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 NewDeviceDataWithDefaults

func NewDeviceDataWithDefaults() *DeviceData

NewDeviceDataWithDefaults instantiates a new DeviceData 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 (*DeviceData) GetData

func (o *DeviceData) GetData() []DataPoint

GetData returns the Data field value

func (*DeviceData) GetDataOk

func (o *DeviceData) GetDataOk() ([]DataPoint, bool)

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

func (*DeviceData) GetId

func (o *DeviceData) GetId() string

GetId returns the Id field value

func (*DeviceData) GetIdOk

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

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

func (*DeviceData) GetName

func (o *DeviceData) GetName() string

GetName returns the Name field value

func (*DeviceData) GetNameOk

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

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

func (DeviceData) MarshalJSON

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

func (*DeviceData) SetData

func (o *DeviceData) SetData(v []DataPoint)

SetData sets field value

func (*DeviceData) SetId

func (o *DeviceData) SetId(v string)

SetId sets field value

func (*DeviceData) SetName

func (o *DeviceData) SetName(v string)

SetName sets field value

func (DeviceData) ToMap

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

func (*DeviceData) UnmarshalJSON

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

type DeviceDataUsage

type DeviceDataUsage struct {
	Rx                   int64 `json:"rx"`
	Tx                   int64 `json:"tx"`
	Total                int64 `json:"total"`
	AdditionalProperties map[string]interface{}
}

DeviceDataUsage struct for DeviceDataUsage

func NewDeviceDataUsage

func NewDeviceDataUsage(rx int64, tx int64, total int64) *DeviceDataUsage

NewDeviceDataUsage instantiates a new DeviceDataUsage 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 NewDeviceDataUsageWithDefaults

func NewDeviceDataUsageWithDefaults() *DeviceDataUsage

NewDeviceDataUsageWithDefaults instantiates a new DeviceDataUsage 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 (*DeviceDataUsage) GetRx

func (o *DeviceDataUsage) GetRx() int64

GetRx returns the Rx field value

func (*DeviceDataUsage) GetRxOk

func (o *DeviceDataUsage) GetRxOk() (*int64, bool)

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

func (*DeviceDataUsage) GetTotal

func (o *DeviceDataUsage) GetTotal() int64

GetTotal returns the Total field value

func (*DeviceDataUsage) GetTotalOk

func (o *DeviceDataUsage) GetTotalOk() (*int64, bool)

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

func (*DeviceDataUsage) GetTx

func (o *DeviceDataUsage) GetTx() int64

GetTx returns the Tx field value

func (*DeviceDataUsage) GetTxOk

func (o *DeviceDataUsage) GetTxOk() (*int64, bool)

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

func (DeviceDataUsage) MarshalJSON

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

func (*DeviceDataUsage) SetRx

func (o *DeviceDataUsage) SetRx(v int64)

SetRx sets field value

func (*DeviceDataUsage) SetTotal

func (o *DeviceDataUsage) SetTotal(v int64)

SetTotal sets field value

func (*DeviceDataUsage) SetTx

func (o *DeviceDataUsage) SetTx(v int64)

SetTx sets field value

func (DeviceDataUsage) ToMap

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

func (*DeviceDataUsage) UnmarshalJSON

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

type DeviceDataUsageRequest

type DeviceDataUsageRequest struct {
	Rx                   int64 `json:"rx"`
	Tx                   int64 `json:"tx"`
	Total                int64 `json:"total"`
	AdditionalProperties map[string]interface{}
}

DeviceDataUsageRequest struct for DeviceDataUsageRequest

func NewDeviceDataUsageRequest

func NewDeviceDataUsageRequest(rx int64, tx int64, total int64) *DeviceDataUsageRequest

NewDeviceDataUsageRequest instantiates a new DeviceDataUsageRequest 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 NewDeviceDataUsageRequestWithDefaults

func NewDeviceDataUsageRequestWithDefaults() *DeviceDataUsageRequest

NewDeviceDataUsageRequestWithDefaults instantiates a new DeviceDataUsageRequest 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 (*DeviceDataUsageRequest) GetRx

func (o *DeviceDataUsageRequest) GetRx() int64

GetRx returns the Rx field value

func (*DeviceDataUsageRequest) GetRxOk

func (o *DeviceDataUsageRequest) GetRxOk() (*int64, bool)

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

func (*DeviceDataUsageRequest) GetTotal

func (o *DeviceDataUsageRequest) GetTotal() int64

GetTotal returns the Total field value

func (*DeviceDataUsageRequest) GetTotalOk

func (o *DeviceDataUsageRequest) GetTotalOk() (*int64, bool)

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

func (*DeviceDataUsageRequest) GetTx

func (o *DeviceDataUsageRequest) GetTx() int64

GetTx returns the Tx field value

func (*DeviceDataUsageRequest) GetTxOk

func (o *DeviceDataUsageRequest) GetTxOk() (*int64, bool)

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

func (DeviceDataUsageRequest) MarshalJSON

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

func (*DeviceDataUsageRequest) SetRx

func (o *DeviceDataUsageRequest) SetRx(v int64)

SetRx sets field value

func (*DeviceDataUsageRequest) SetTotal

func (o *DeviceDataUsageRequest) SetTotal(v int64)

SetTotal sets field value

func (*DeviceDataUsageRequest) SetTx

func (o *DeviceDataUsageRequest) SetTx(v int64)

SetTx sets field value

func (DeviceDataUsageRequest) ToMap

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

func (*DeviceDataUsageRequest) UnmarshalJSON

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

type DeviceRequest

type DeviceRequest struct {
	ExternalKey NullableString `json:"external_key,omitempty"`
	Name        *string        `json:"name,omitempty"`
	PubKey      string         `json:"pub_key"`
	RawPassword *string        `json:"raw_password,omitempty"`
	// Bcrypt Hashed Password for Authentication, e.g. HTTP Proxy
	Password             NullableString `json:"password,omitempty"`
	Os                   NullableString `json:"os,omitempty"`
	OsVersion            NullableString `json:"os_version,omitempty"`
	OsArch               NullableString `json:"os_arch,omitempty"`
	Distro               NullableString `json:"distro,omitempty"`
	DistroVersion        NullableString `json:"distro_version,omitempty"`
	DistroCodename       NullableString `json:"distro_codename,omitempty"`
	AppVersion           NullableString `json:"app_version,omitempty"`
	AppBuild             NullableString `json:"app_build,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceRequest struct for DeviceRequest

func NewDeviceRequest

func NewDeviceRequest(pubKey string) *DeviceRequest

NewDeviceRequest instantiates a new DeviceRequest 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 NewDeviceRequestWithDefaults

func NewDeviceRequestWithDefaults() *DeviceRequest

NewDeviceRequestWithDefaults instantiates a new DeviceRequest 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 (*DeviceRequest) GetAppBuild

func (o *DeviceRequest) GetAppBuild() string

GetAppBuild returns the AppBuild field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DeviceRequest) GetAppBuildOk

func (o *DeviceRequest) GetAppBuildOk() (*string, bool)

GetAppBuildOk returns a tuple with the AppBuild field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeviceRequest) GetAppVersion

func (o *DeviceRequest) GetAppVersion() string

GetAppVersion returns the AppVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DeviceRequest) GetAppVersionOk

func (o *DeviceRequest) GetAppVersionOk() (*string, bool)

GetAppVersionOk returns a tuple with the AppVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeviceRequest) GetDistro

func (o *DeviceRequest) GetDistro() string

GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DeviceRequest) GetDistroCodename

func (o *DeviceRequest) GetDistroCodename() string

GetDistroCodename returns the DistroCodename field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DeviceRequest) GetDistroCodenameOk

func (o *DeviceRequest) GetDistroCodenameOk() (*string, bool)

GetDistroCodenameOk returns a tuple with the DistroCodename field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeviceRequest) GetDistroOk

func (o *DeviceRequest) GetDistroOk() (*string, bool)

GetDistroOk returns a tuple with the Distro field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeviceRequest) GetDistroVersion

func (o *DeviceRequest) GetDistroVersion() string

GetDistroVersion returns the DistroVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DeviceRequest) GetDistroVersionOk

func (o *DeviceRequest) GetDistroVersionOk() (*string, bool)

GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeviceRequest) GetExternalKey

func (o *DeviceRequest) GetExternalKey() string

GetExternalKey returns the ExternalKey field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DeviceRequest) GetExternalKeyOk

func (o *DeviceRequest) GetExternalKeyOk() (*string, bool)

GetExternalKeyOk returns a tuple with the ExternalKey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeviceRequest) GetName

func (o *DeviceRequest) GetName() string

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

func (*DeviceRequest) GetNameOk

func (o *DeviceRequest) 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 (*DeviceRequest) GetOs

func (o *DeviceRequest) GetOs() string

GetOs returns the Os field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DeviceRequest) GetOsArch

func (o *DeviceRequest) GetOsArch() string

GetOsArch returns the OsArch field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DeviceRequest) GetOsArchOk

func (o *DeviceRequest) GetOsArchOk() (*string, bool)

GetOsArchOk returns a tuple with the OsArch field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeviceRequest) GetOsOk

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

GetOsOk returns a tuple with the Os field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeviceRequest) GetOsVersion

func (o *DeviceRequest) GetOsVersion() string

GetOsVersion returns the OsVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DeviceRequest) GetOsVersionOk

func (o *DeviceRequest) GetOsVersionOk() (*string, bool)

GetOsVersionOk returns a tuple with the OsVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeviceRequest) GetPassword

func (o *DeviceRequest) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DeviceRequest) GetPasswordOk

func (o *DeviceRequest) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeviceRequest) GetPubKey

func (o *DeviceRequest) GetPubKey() string

GetPubKey returns the PubKey field value

func (*DeviceRequest) GetPubKeyOk

func (o *DeviceRequest) GetPubKeyOk() (*string, bool)

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

func (*DeviceRequest) GetRawPassword

func (o *DeviceRequest) GetRawPassword() string

GetRawPassword returns the RawPassword field value if set, zero value otherwise.

func (*DeviceRequest) GetRawPasswordOk

func (o *DeviceRequest) GetRawPasswordOk() (*string, bool)

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

func (*DeviceRequest) HasAppBuild

func (o *DeviceRequest) HasAppBuild() bool

HasAppBuild returns a boolean if a field has been set.

func (*DeviceRequest) HasAppVersion

func (o *DeviceRequest) HasAppVersion() bool

HasAppVersion returns a boolean if a field has been set.

func (*DeviceRequest) HasDistro

func (o *DeviceRequest) HasDistro() bool

HasDistro returns a boolean if a field has been set.

func (*DeviceRequest) HasDistroCodename

func (o *DeviceRequest) HasDistroCodename() bool

HasDistroCodename returns a boolean if a field has been set.

func (*DeviceRequest) HasDistroVersion

func (o *DeviceRequest) HasDistroVersion() bool

HasDistroVersion returns a boolean if a field has been set.

func (*DeviceRequest) HasExternalKey

func (o *DeviceRequest) HasExternalKey() bool

HasExternalKey returns a boolean if a field has been set.

func (*DeviceRequest) HasName

func (o *DeviceRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*DeviceRequest) HasOs

func (o *DeviceRequest) HasOs() bool

HasOs returns a boolean if a field has been set.

func (*DeviceRequest) HasOsArch

func (o *DeviceRequest) HasOsArch() bool

HasOsArch returns a boolean if a field has been set.

func (*DeviceRequest) HasOsVersion

func (o *DeviceRequest) HasOsVersion() bool

HasOsVersion returns a boolean if a field has been set.

func (*DeviceRequest) HasPassword

func (o *DeviceRequest) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*DeviceRequest) HasRawPassword

func (o *DeviceRequest) HasRawPassword() bool

HasRawPassword returns a boolean if a field has been set.

func (DeviceRequest) MarshalJSON

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

func (*DeviceRequest) SetAppBuild

func (o *DeviceRequest) SetAppBuild(v string)

SetAppBuild gets a reference to the given NullableString and assigns it to the AppBuild field.

func (*DeviceRequest) SetAppBuildNil

func (o *DeviceRequest) SetAppBuildNil()

SetAppBuildNil sets the value for AppBuild to be an explicit nil

func (*DeviceRequest) SetAppVersion

func (o *DeviceRequest) SetAppVersion(v string)

SetAppVersion gets a reference to the given NullableString and assigns it to the AppVersion field.

func (*DeviceRequest) SetAppVersionNil

func (o *DeviceRequest) SetAppVersionNil()

SetAppVersionNil sets the value for AppVersion to be an explicit nil

func (*DeviceRequest) SetDistro

func (o *DeviceRequest) SetDistro(v string)

SetDistro gets a reference to the given NullableString and assigns it to the Distro field.

func (*DeviceRequest) SetDistroCodename

func (o *DeviceRequest) SetDistroCodename(v string)

SetDistroCodename gets a reference to the given NullableString and assigns it to the DistroCodename field.

func (*DeviceRequest) SetDistroCodenameNil

func (o *DeviceRequest) SetDistroCodenameNil()

SetDistroCodenameNil sets the value for DistroCodename to be an explicit nil

func (*DeviceRequest) SetDistroNil

func (o *DeviceRequest) SetDistroNil()

SetDistroNil sets the value for Distro to be an explicit nil

func (*DeviceRequest) SetDistroVersion

func (o *DeviceRequest) SetDistroVersion(v string)

SetDistroVersion gets a reference to the given NullableString and assigns it to the DistroVersion field.

func (*DeviceRequest) SetDistroVersionNil

func (o *DeviceRequest) SetDistroVersionNil()

SetDistroVersionNil sets the value for DistroVersion to be an explicit nil

func (*DeviceRequest) SetExternalKey

func (o *DeviceRequest) SetExternalKey(v string)

SetExternalKey gets a reference to the given NullableString and assigns it to the ExternalKey field.

func (*DeviceRequest) SetExternalKeyNil

func (o *DeviceRequest) SetExternalKeyNil()

SetExternalKeyNil sets the value for ExternalKey to be an explicit nil

func (*DeviceRequest) SetName

func (o *DeviceRequest) SetName(v string)

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

func (*DeviceRequest) SetOs

func (o *DeviceRequest) SetOs(v string)

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

func (*DeviceRequest) SetOsArch

func (o *DeviceRequest) SetOsArch(v string)

SetOsArch gets a reference to the given NullableString and assigns it to the OsArch field.

func (*DeviceRequest) SetOsArchNil

func (o *DeviceRequest) SetOsArchNil()

SetOsArchNil sets the value for OsArch to be an explicit nil

func (*DeviceRequest) SetOsNil

func (o *DeviceRequest) SetOsNil()

SetOsNil sets the value for Os to be an explicit nil

func (*DeviceRequest) SetOsVersion

func (o *DeviceRequest) SetOsVersion(v string)

SetOsVersion gets a reference to the given NullableString and assigns it to the OsVersion field.

func (*DeviceRequest) SetOsVersionNil

func (o *DeviceRequest) SetOsVersionNil()

SetOsVersionNil sets the value for OsVersion to be an explicit nil

func (*DeviceRequest) SetPassword

func (o *DeviceRequest) SetPassword(v string)

SetPassword gets a reference to the given NullableString and assigns it to the Password field.

func (*DeviceRequest) SetPasswordNil

func (o *DeviceRequest) SetPasswordNil()

SetPasswordNil sets the value for Password to be an explicit nil

func (*DeviceRequest) SetPubKey

func (o *DeviceRequest) SetPubKey(v string)

SetPubKey sets field value

func (*DeviceRequest) SetRawPassword

func (o *DeviceRequest) SetRawPassword(v string)

SetRawPassword gets a reference to the given string and assigns it to the RawPassword field.

func (DeviceRequest) ToMap

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

func (*DeviceRequest) UnmarshalJSON

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

func (*DeviceRequest) UnsetAppBuild

func (o *DeviceRequest) UnsetAppBuild()

UnsetAppBuild ensures that no value is present for AppBuild, not even an explicit nil

func (*DeviceRequest) UnsetAppVersion

func (o *DeviceRequest) UnsetAppVersion()

UnsetAppVersion ensures that no value is present for AppVersion, not even an explicit nil

func (*DeviceRequest) UnsetDistro

func (o *DeviceRequest) UnsetDistro()

UnsetDistro ensures that no value is present for Distro, not even an explicit nil

func (*DeviceRequest) UnsetDistroCodename

func (o *DeviceRequest) UnsetDistroCodename()

UnsetDistroCodename ensures that no value is present for DistroCodename, not even an explicit nil

func (*DeviceRequest) UnsetDistroVersion

func (o *DeviceRequest) UnsetDistroVersion()

UnsetDistroVersion ensures that no value is present for DistroVersion, not even an explicit nil

func (*DeviceRequest) UnsetExternalKey

func (o *DeviceRequest) UnsetExternalKey()

UnsetExternalKey ensures that no value is present for ExternalKey, not even an explicit nil

func (*DeviceRequest) UnsetOs

func (o *DeviceRequest) UnsetOs()

UnsetOs ensures that no value is present for Os, not even an explicit nil

func (*DeviceRequest) UnsetOsArch

func (o *DeviceRequest) UnsetOsArch()

UnsetOsArch ensures that no value is present for OsArch, not even an explicit nil

func (*DeviceRequest) UnsetOsVersion

func (o *DeviceRequest) UnsetOsVersion()

UnsetOsVersion ensures that no value is present for OsVersion, not even an explicit nil

func (*DeviceRequest) UnsetPassword

func (o *DeviceRequest) UnsetPassword()

UnsetPassword ensures that no value is present for Password, not even an explicit nil

type Entitlement

type Entitlement struct {
	Id                   string            `json:"id"`
	LookupKey            string            `json:"lookup_key" validate:"regexp=^[-a-zA-Z0-9_]+$"`
	Metadata             map[string]string `json:"metadata"`
	ExpiresAt            time.Time         `json:"expires_at"`
	IsActive             bool              `json:"is_active"`
	AdditionalProperties map[string]interface{}
}

Entitlement Serializer for the Entitlement model.

func NewEntitlement

func NewEntitlement(id string, lookupKey string, metadata map[string]string, expiresAt time.Time, isActive bool) *Entitlement

NewEntitlement instantiates a new Entitlement 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 NewEntitlementWithDefaults

func NewEntitlementWithDefaults() *Entitlement

NewEntitlementWithDefaults instantiates a new Entitlement 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 (*Entitlement) GetExpiresAt

func (o *Entitlement) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*Entitlement) GetExpiresAtOk

func (o *Entitlement) GetExpiresAtOk() (*time.Time, bool)

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

func (*Entitlement) GetId

func (o *Entitlement) GetId() string

GetId returns the Id field value

func (*Entitlement) GetIdOk

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

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

func (*Entitlement) GetIsActive

func (o *Entitlement) GetIsActive() bool

GetIsActive returns the IsActive field value

func (*Entitlement) GetIsActiveOk

func (o *Entitlement) GetIsActiveOk() (*bool, bool)

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

func (*Entitlement) GetLookupKey

func (o *Entitlement) GetLookupKey() string

GetLookupKey returns the LookupKey field value

func (*Entitlement) GetLookupKeyOk

func (o *Entitlement) GetLookupKeyOk() (*string, bool)

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

func (*Entitlement) GetMetadata

func (o *Entitlement) GetMetadata() map[string]string

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]string will be returned

func (*Entitlement) GetMetadataOk

func (o *Entitlement) GetMetadataOk() (*map[string]string, bool)

GetMetadataOk returns a tuple with the Metadata field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (Entitlement) MarshalJSON

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

func (*Entitlement) SetExpiresAt

func (o *Entitlement) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*Entitlement) SetId

func (o *Entitlement) SetId(v string)

SetId sets field value

func (*Entitlement) SetIsActive

func (o *Entitlement) SetIsActive(v bool)

SetIsActive sets field value

func (*Entitlement) SetLookupKey

func (o *Entitlement) SetLookupKey(v string)

SetLookupKey sets field value

func (*Entitlement) SetMetadata

func (o *Entitlement) SetMetadata(v map[string]string)

SetMetadata sets field value

func (Entitlement) ToMap

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

func (*Entitlement) UnmarshalJSON

func (o *Entitlement) 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 GeoAPIService

type GeoAPIService service

GeoAPIService GeoAPI service

func (*GeoAPIService) GetCountries

func (a *GeoAPIService) GetCountries(ctx context.Context) ApiGetCountriesRequest

GetCountries List countries

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

func (*GeoAPIService) GetCountriesExecute

func (a *GeoAPIService) GetCountriesExecute(r ApiGetCountriesRequest) ([]Country, *http.Response, error)

Execute executes the request

@return []Country

func (*GeoAPIService) GetCountry

func (a *GeoAPIService) GetCountry(ctx context.Context, countryId string) ApiGetCountryRequest

GetCountry Retrieve country

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param countryId A unique value identifying this Country.
@return ApiGetCountryRequest

func (*GeoAPIService) GetCountryExecute

func (a *GeoAPIService) GetCountryExecute(r ApiGetCountryRequest) (*Country, *http.Response, error)

Execute executes the request

@return Country

func (*GeoAPIService) GetLocation

func (a *GeoAPIService) GetLocation(ctx context.Context, placeId string) ApiGetLocationRequest

GetLocation Retrieve location

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param placeId A UUID string identifying this Place.
@return ApiGetLocationRequest

func (*GeoAPIService) GetLocationExecute

func (a *GeoAPIService) GetLocationExecute(r ApiGetLocationRequest) (*Location, *http.Response, error)

Execute executes the request

@return Location

func (*GeoAPIService) GetLocations

func (a *GeoAPIService) GetLocations(ctx context.Context) ApiGetLocationsRequest

GetLocations List locations

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

func (*GeoAPIService) GetLocationsExecute

Execute executes the request

@return PaginatedLocationList

func (*GeoAPIService) GetRegion

func (a *GeoAPIService) GetRegion(ctx context.Context, regionId string) ApiGetRegionRequest

GetRegion Retrieve region

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId A UUID string identifying this Region.
@return ApiGetRegionRequest

func (*GeoAPIService) GetRegionExecute

func (a *GeoAPIService) GetRegionExecute(r ApiGetRegionRequest) (*RegionDetail, *http.Response, error)

Execute executes the request

@return RegionDetail

func (*GeoAPIService) GetRegions

GetRegions List regions

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

func (*GeoAPIService) GetRegionsExecute

func (a *GeoAPIService) GetRegionsExecute(r ApiGetRegionsRequest) ([]Region, *http.Response, error)

Execute executes the request

@return []Region

type IPInfo

type IPInfo struct {
	Ip                   string           `json:"ip"`
	Asn                  NullableASN      `json:"asn,omitempty"`
	Country              NullableCountry  `json:"country,omitempty"`
	Location             NullableLocation `json:"location,omitempty"`
	Lat                  NullableFloat64  `json:"lat,omitempty"`
	Lon                  NullableFloat64  `json:"lon,omitempty"`
	AdditionalProperties map[string]interface{}
}

IPInfo struct for IPInfo

func NewIPInfo

func NewIPInfo(ip string) *IPInfo

NewIPInfo instantiates a new IPInfo 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 NewIPInfoWithDefaults

func NewIPInfoWithDefaults() *IPInfo

NewIPInfoWithDefaults instantiates a new IPInfo 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 (*IPInfo) GetAsn

func (o *IPInfo) GetAsn() ASN

GetAsn returns the Asn field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IPInfo) GetAsnOk

func (o *IPInfo) GetAsnOk() (*ASN, bool)

GetAsnOk returns a tuple with the Asn field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IPInfo) GetCountry

func (o *IPInfo) GetCountry() Country

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IPInfo) GetCountryOk

func (o *IPInfo) GetCountryOk() (*Country, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IPInfo) GetIp

func (o *IPInfo) GetIp() string

GetIp returns the Ip field value

func (*IPInfo) GetIpOk

func (o *IPInfo) GetIpOk() (*string, bool)

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

func (*IPInfo) GetLat

func (o *IPInfo) GetLat() float64

GetLat returns the Lat field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IPInfo) GetLatOk

func (o *IPInfo) GetLatOk() (*float64, bool)

GetLatOk returns a tuple with the Lat field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IPInfo) GetLocation

func (o *IPInfo) GetLocation() Location

GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IPInfo) GetLocationOk

func (o *IPInfo) GetLocationOk() (*Location, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IPInfo) GetLon

func (o *IPInfo) GetLon() float64

GetLon returns the Lon field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IPInfo) GetLonOk

func (o *IPInfo) GetLonOk() (*float64, bool)

GetLonOk returns a tuple with the Lon field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IPInfo) HasAsn

func (o *IPInfo) HasAsn() bool

HasAsn returns a boolean if a field has been set.

func (*IPInfo) HasCountry

func (o *IPInfo) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*IPInfo) HasLat

func (o *IPInfo) HasLat() bool

HasLat returns a boolean if a field has been set.

func (*IPInfo) HasLocation

func (o *IPInfo) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*IPInfo) HasLon

func (o *IPInfo) HasLon() bool

HasLon returns a boolean if a field has been set.

func (IPInfo) MarshalJSON

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

func (*IPInfo) SetAsn

func (o *IPInfo) SetAsn(v ASN)

SetAsn gets a reference to the given NullableASN and assigns it to the Asn field.

func (*IPInfo) SetAsnNil

func (o *IPInfo) SetAsnNil()

SetAsnNil sets the value for Asn to be an explicit nil

func (*IPInfo) SetCountry

func (o *IPInfo) SetCountry(v Country)

SetCountry gets a reference to the given NullableCountry and assigns it to the Country field.

func (*IPInfo) SetCountryNil

func (o *IPInfo) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*IPInfo) SetIp

func (o *IPInfo) SetIp(v string)

SetIp sets field value

func (*IPInfo) SetLat

func (o *IPInfo) SetLat(v float64)

SetLat gets a reference to the given NullableFloat64 and assigns it to the Lat field.

func (*IPInfo) SetLatNil

func (o *IPInfo) SetLatNil()

SetLatNil sets the value for Lat to be an explicit nil

func (*IPInfo) SetLocation

func (o *IPInfo) SetLocation(v Location)

SetLocation gets a reference to the given NullableLocation and assigns it to the Location field.

func (*IPInfo) SetLocationNil

func (o *IPInfo) SetLocationNil()

SetLocationNil sets the value for Location to be an explicit nil

func (*IPInfo) SetLon

func (o *IPInfo) SetLon(v float64)

SetLon gets a reference to the given NullableFloat64 and assigns it to the Lon field.

func (*IPInfo) SetLonNil

func (o *IPInfo) SetLonNil()

SetLonNil sets the value for Lon to be an explicit nil

func (IPInfo) ToMap

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

func (*IPInfo) UnmarshalJSON

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

func (*IPInfo) UnsetAsn

func (o *IPInfo) UnsetAsn()

UnsetAsn ensures that no value is present for Asn, not even an explicit nil

func (*IPInfo) UnsetCountry

func (o *IPInfo) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*IPInfo) UnsetLat

func (o *IPInfo) UnsetLat()

UnsetLat ensures that no value is present for Lat, not even an explicit nil

func (*IPInfo) UnsetLocation

func (o *IPInfo) UnsetLocation()

UnsetLocation ensures that no value is present for Location, not even an explicit nil

func (*IPInfo) UnsetLon

func (o *IPInfo) UnsetLon()

UnsetLon ensures that no value is present for Lon, not even an explicit nil

type IPInfoRequest

type IPInfoRequest struct {
	Ip                   string                  `json:"ip"`
	Asn                  NullableASNRequest      `json:"asn,omitempty"`
	Country              NullableCountryRequest  `json:"country,omitempty"`
	Location             NullableLocationRequest `json:"location,omitempty"`
	Lat                  NullableFloat64         `json:"lat,omitempty"`
	Lon                  NullableFloat64         `json:"lon,omitempty"`
	AdditionalProperties map[string]interface{}
}

IPInfoRequest struct for IPInfoRequest

func NewIPInfoRequest

func NewIPInfoRequest(ip string) *IPInfoRequest

NewIPInfoRequest instantiates a new IPInfoRequest 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 NewIPInfoRequestWithDefaults

func NewIPInfoRequestWithDefaults() *IPInfoRequest

NewIPInfoRequestWithDefaults instantiates a new IPInfoRequest 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 (*IPInfoRequest) GetAsn

func (o *IPInfoRequest) GetAsn() ASNRequest

GetAsn returns the Asn field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IPInfoRequest) GetAsnOk

func (o *IPInfoRequest) GetAsnOk() (*ASNRequest, bool)

GetAsnOk returns a tuple with the Asn field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IPInfoRequest) GetCountry

func (o *IPInfoRequest) GetCountry() CountryRequest

GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IPInfoRequest) GetCountryOk

func (o *IPInfoRequest) GetCountryOk() (*CountryRequest, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IPInfoRequest) GetIp

func (o *IPInfoRequest) GetIp() string

GetIp returns the Ip field value

func (*IPInfoRequest) GetIpOk

func (o *IPInfoRequest) GetIpOk() (*string, bool)

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

func (*IPInfoRequest) GetLat

func (o *IPInfoRequest) GetLat() float64

GetLat returns the Lat field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IPInfoRequest) GetLatOk

func (o *IPInfoRequest) GetLatOk() (*float64, bool)

GetLatOk returns a tuple with the Lat field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IPInfoRequest) GetLocation

func (o *IPInfoRequest) GetLocation() LocationRequest

GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IPInfoRequest) GetLocationOk

func (o *IPInfoRequest) GetLocationOk() (*LocationRequest, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IPInfoRequest) GetLon

func (o *IPInfoRequest) GetLon() float64

GetLon returns the Lon field value if set, zero value otherwise (both if not set or set to explicit null).

func (*IPInfoRequest) GetLonOk

func (o *IPInfoRequest) GetLonOk() (*float64, bool)

GetLonOk returns a tuple with the Lon field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*IPInfoRequest) HasAsn

func (o *IPInfoRequest) HasAsn() bool

HasAsn returns a boolean if a field has been set.

func (*IPInfoRequest) HasCountry

func (o *IPInfoRequest) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*IPInfoRequest) HasLat

func (o *IPInfoRequest) HasLat() bool

HasLat returns a boolean if a field has been set.

func (*IPInfoRequest) HasLocation

func (o *IPInfoRequest) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*IPInfoRequest) HasLon

func (o *IPInfoRequest) HasLon() bool

HasLon returns a boolean if a field has been set.

func (IPInfoRequest) MarshalJSON

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

func (*IPInfoRequest) SetAsn

func (o *IPInfoRequest) SetAsn(v ASNRequest)

SetAsn gets a reference to the given NullableASNRequest and assigns it to the Asn field.

func (*IPInfoRequest) SetAsnNil

func (o *IPInfoRequest) SetAsnNil()

SetAsnNil sets the value for Asn to be an explicit nil

func (*IPInfoRequest) SetCountry

func (o *IPInfoRequest) SetCountry(v CountryRequest)

SetCountry gets a reference to the given NullableCountryRequest and assigns it to the Country field.

func (*IPInfoRequest) SetCountryNil

func (o *IPInfoRequest) SetCountryNil()

SetCountryNil sets the value for Country to be an explicit nil

func (*IPInfoRequest) SetIp

func (o *IPInfoRequest) SetIp(v string)

SetIp sets field value

func (*IPInfoRequest) SetLat

func (o *IPInfoRequest) SetLat(v float64)

SetLat gets a reference to the given NullableFloat64 and assigns it to the Lat field.

func (*IPInfoRequest) SetLatNil

func (o *IPInfoRequest) SetLatNil()

SetLatNil sets the value for Lat to be an explicit nil

func (*IPInfoRequest) SetLocation

func (o *IPInfoRequest) SetLocation(v LocationRequest)

SetLocation gets a reference to the given NullableLocationRequest and assigns it to the Location field.

func (*IPInfoRequest) SetLocationNil

func (o *IPInfoRequest) SetLocationNil()

SetLocationNil sets the value for Location to be an explicit nil

func (*IPInfoRequest) SetLon

func (o *IPInfoRequest) SetLon(v float64)

SetLon gets a reference to the given NullableFloat64 and assigns it to the Lon field.

func (*IPInfoRequest) SetLonNil

func (o *IPInfoRequest) SetLonNil()

SetLonNil sets the value for Lon to be an explicit nil

func (IPInfoRequest) ToMap

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

func (*IPInfoRequest) UnmarshalJSON

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

func (*IPInfoRequest) UnsetAsn

func (o *IPInfoRequest) UnsetAsn()

UnsetAsn ensures that no value is present for Asn, not even an explicit nil

func (*IPInfoRequest) UnsetCountry

func (o *IPInfoRequest) UnsetCountry()

UnsetCountry ensures that no value is present for Country, not even an explicit nil

func (*IPInfoRequest) UnsetLat

func (o *IPInfoRequest) UnsetLat()

UnsetLat ensures that no value is present for Lat, not even an explicit nil

func (*IPInfoRequest) UnsetLocation

func (o *IPInfoRequest) UnsetLocation()

UnsetLocation ensures that no value is present for Location, not even an explicit nil

func (*IPInfoRequest) UnsetLon

func (o *IPInfoRequest) UnsetLon()

UnsetLon ensures that no value is present for Lon, not even an explicit nil

type Interval

type Interval string

Interval * `week` - Week * `biweek` - Bi Week * `month` - Month * `quarter` - Quarter * `biannual` - Bi Annual * `annual` - Annual

const (
	INTERVAL_WEEK     Interval = "week"
	INTERVAL_BIWEEK   Interval = "biweek"
	INTERVAL_MONTH    Interval = "month"
	INTERVAL_QUARTER  Interval = "quarter"
	INTERVAL_BIANNUAL Interval = "biannual"
	INTERVAL_ANNUAL   Interval = "annual"
)

List of Interval

func NewIntervalFromValue

func NewIntervalFromValue(v string) (*Interval, error)

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

func (Interval) IsValid

func (v Interval) IsValid() bool

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

func (Interval) Ptr

func (v Interval) Ptr() *Interval

Ptr returns reference to Interval value

func (*Interval) UnmarshalJSON

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

type Invoice

type Invoice struct {
	Id                   string              `json:"id"`
	Number               string              `json:"number"`
	Subscription         NullableString      `json:"subscription,omitempty"`
	Status               *InvoiceStatus      `json:"status,omitempty"`
	Description          NullableString      `json:"description,omitempty"`
	Currency             string              `json:"currency"`
	IssuedAt             time.Time           `json:"issued_at"`
	EffectiveAt          time.Time           `json:"effective_at"`
	DueAt                time.Time           `json:"due_at"`
	Pdf                  NullableString      `json:"pdf,omitempty"`
	Lines                []InvoiceLine       `json:"lines"`
	Total                InvoiceTotalDetails `json:"total"`
	AdditionalProperties map[string]interface{}
}

Invoice struct for Invoice

func NewInvoice

func NewInvoice(id string, number string, currency string, issuedAt time.Time, effectiveAt time.Time, dueAt time.Time, lines []InvoiceLine, total InvoiceTotalDetails) *Invoice

NewInvoice instantiates a new Invoice 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 NewInvoiceWithDefaults

func NewInvoiceWithDefaults() *Invoice

NewInvoiceWithDefaults instantiates a new Invoice 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 (*Invoice) GetCurrency

func (o *Invoice) GetCurrency() string

GetCurrency returns the Currency field value

func (*Invoice) GetCurrencyOk

func (o *Invoice) GetCurrencyOk() (*string, bool)

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

func (*Invoice) GetDescription

func (o *Invoice) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Invoice) GetDescriptionOk

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

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Invoice) GetDueAt

func (o *Invoice) GetDueAt() time.Time

GetDueAt returns the DueAt field value

func (*Invoice) GetDueAtOk

func (o *Invoice) GetDueAtOk() (*time.Time, bool)

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

func (*Invoice) GetEffectiveAt

func (o *Invoice) GetEffectiveAt() time.Time

GetEffectiveAt returns the EffectiveAt field value

func (*Invoice) GetEffectiveAtOk

func (o *Invoice) GetEffectiveAtOk() (*time.Time, bool)

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

func (*Invoice) GetId

func (o *Invoice) GetId() string

GetId returns the Id field value

func (*Invoice) GetIdOk

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

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

func (*Invoice) GetIssuedAt

func (o *Invoice) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value

func (*Invoice) GetIssuedAtOk

func (o *Invoice) GetIssuedAtOk() (*time.Time, bool)

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

func (*Invoice) GetLines

func (o *Invoice) GetLines() []InvoiceLine

GetLines returns the Lines field value

func (*Invoice) GetLinesOk

func (o *Invoice) GetLinesOk() ([]InvoiceLine, bool)

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

func (*Invoice) GetNumber

func (o *Invoice) GetNumber() string

GetNumber returns the Number field value

func (*Invoice) GetNumberOk

func (o *Invoice) GetNumberOk() (*string, bool)

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

func (*Invoice) GetPdf

func (o *Invoice) GetPdf() string

GetPdf returns the Pdf field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Invoice) GetPdfOk

func (o *Invoice) GetPdfOk() (*string, bool)

GetPdfOk returns a tuple with the Pdf field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Invoice) GetStatus

func (o *Invoice) GetStatus() InvoiceStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*Invoice) GetStatusOk

func (o *Invoice) GetStatusOk() (*InvoiceStatus, bool)

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

func (*Invoice) GetSubscription

func (o *Invoice) GetSubscription() string

GetSubscription returns the Subscription field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Invoice) GetSubscriptionOk

func (o *Invoice) GetSubscriptionOk() (*string, bool)

GetSubscriptionOk returns a tuple with the Subscription field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Invoice) GetTotal

func (o *Invoice) GetTotal() InvoiceTotalDetails

GetTotal returns the Total field value

func (*Invoice) GetTotalOk

func (o *Invoice) GetTotalOk() (*InvoiceTotalDetails, bool)

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

func (*Invoice) HasDescription

func (o *Invoice) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Invoice) HasPdf

func (o *Invoice) HasPdf() bool

HasPdf returns a boolean if a field has been set.

func (*Invoice) HasStatus

func (o *Invoice) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Invoice) HasSubscription

func (o *Invoice) HasSubscription() bool

HasSubscription returns a boolean if a field has been set.

func (Invoice) MarshalJSON

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

func (*Invoice) SetCurrency

func (o *Invoice) SetCurrency(v string)

SetCurrency sets field value

func (*Invoice) SetDescription

func (o *Invoice) SetDescription(v string)

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

func (*Invoice) SetDescriptionNil

func (o *Invoice) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*Invoice) SetDueAt

func (o *Invoice) SetDueAt(v time.Time)

SetDueAt sets field value

func (*Invoice) SetEffectiveAt

func (o *Invoice) SetEffectiveAt(v time.Time)

SetEffectiveAt sets field value

func (*Invoice) SetId

func (o *Invoice) SetId(v string)

SetId sets field value

func (*Invoice) SetIssuedAt

func (o *Invoice) SetIssuedAt(v time.Time)

SetIssuedAt sets field value

func (*Invoice) SetLines

func (o *Invoice) SetLines(v []InvoiceLine)

SetLines sets field value

func (*Invoice) SetNumber

func (o *Invoice) SetNumber(v string)

SetNumber sets field value

func (*Invoice) SetPdf

func (o *Invoice) SetPdf(v string)

SetPdf gets a reference to the given NullableString and assigns it to the Pdf field.

func (*Invoice) SetPdfNil

func (o *Invoice) SetPdfNil()

SetPdfNil sets the value for Pdf to be an explicit nil

func (*Invoice) SetStatus

func (o *Invoice) SetStatus(v InvoiceStatus)

SetStatus gets a reference to the given InvoiceStatus and assigns it to the Status field.

func (*Invoice) SetSubscription

func (o *Invoice) SetSubscription(v string)

SetSubscription gets a reference to the given NullableString and assigns it to the Subscription field.

func (*Invoice) SetSubscriptionNil

func (o *Invoice) SetSubscriptionNil()

SetSubscriptionNil sets the value for Subscription to be an explicit nil

func (*Invoice) SetTotal

func (o *Invoice) SetTotal(v InvoiceTotalDetails)

SetTotal sets field value

func (Invoice) ToMap

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

func (*Invoice) UnmarshalJSON

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

func (*Invoice) UnsetDescription

func (o *Invoice) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*Invoice) UnsetPdf

func (o *Invoice) UnsetPdf()

UnsetPdf ensures that no value is present for Pdf, not even an explicit nil

func (*Invoice) UnsetSubscription

func (o *Invoice) UnsetSubscription()

UnsetSubscription ensures that no value is present for Subscription, not even an explicit nil

type InvoiceLine

type InvoiceLine struct {
	Id                   string    `json:"id"`
	Description          string    `json:"description"`
	UnitAmount           float64   `json:"unit_amount"`
	TaxAmount            float64   `json:"tax_amount"`
	DiscountAmount       float64   `json:"discount_amount"`
	Quantity             *int64    `json:"quantity,omitempty"`
	Amount               float64   `json:"amount"`
	Currency             string    `json:"currency"`
	CreatedAt            time.Time `json:"created_at"`
	AdditionalProperties map[string]interface{}
}

InvoiceLine struct for InvoiceLine

func NewInvoiceLine

func NewInvoiceLine(id string, description string, unitAmount float64, taxAmount float64, discountAmount float64, amount float64, currency string, createdAt time.Time) *InvoiceLine

NewInvoiceLine instantiates a new InvoiceLine 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 NewInvoiceLineWithDefaults

func NewInvoiceLineWithDefaults() *InvoiceLine

NewInvoiceLineWithDefaults instantiates a new InvoiceLine 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 (*InvoiceLine) GetAmount

func (o *InvoiceLine) GetAmount() float64

GetAmount returns the Amount field value

func (*InvoiceLine) GetAmountOk

func (o *InvoiceLine) GetAmountOk() (*float64, bool)

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

func (*InvoiceLine) GetCreatedAt

func (o *InvoiceLine) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*InvoiceLine) GetCreatedAtOk

func (o *InvoiceLine) GetCreatedAtOk() (*time.Time, bool)

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

func (*InvoiceLine) GetCurrency

func (o *InvoiceLine) GetCurrency() string

GetCurrency returns the Currency field value

func (*InvoiceLine) GetCurrencyOk

func (o *InvoiceLine) GetCurrencyOk() (*string, bool)

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

func (*InvoiceLine) GetDescription

func (o *InvoiceLine) GetDescription() string

GetDescription returns the Description field value

func (*InvoiceLine) GetDescriptionOk

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

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

func (*InvoiceLine) GetDiscountAmount

func (o *InvoiceLine) GetDiscountAmount() float64

GetDiscountAmount returns the DiscountAmount field value

func (*InvoiceLine) GetDiscountAmountOk

func (o *InvoiceLine) GetDiscountAmountOk() (*float64, bool)

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

func (*InvoiceLine) GetId

func (o *InvoiceLine) GetId() string

GetId returns the Id field value

func (*InvoiceLine) GetIdOk

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

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

func (*InvoiceLine) GetQuantity

func (o *InvoiceLine) GetQuantity() int64

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*InvoiceLine) GetQuantityOk

func (o *InvoiceLine) GetQuantityOk() (*int64, bool)

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

func (*InvoiceLine) GetTaxAmount

func (o *InvoiceLine) GetTaxAmount() float64

GetTaxAmount returns the TaxAmount field value

func (*InvoiceLine) GetTaxAmountOk

func (o *InvoiceLine) GetTaxAmountOk() (*float64, bool)

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

func (*InvoiceLine) GetUnitAmount

func (o *InvoiceLine) GetUnitAmount() float64

GetUnitAmount returns the UnitAmount field value

func (*InvoiceLine) GetUnitAmountOk

func (o *InvoiceLine) GetUnitAmountOk() (*float64, bool)

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

func (*InvoiceLine) HasQuantity

func (o *InvoiceLine) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (InvoiceLine) MarshalJSON

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

func (*InvoiceLine) SetAmount

func (o *InvoiceLine) SetAmount(v float64)

SetAmount sets field value

func (*InvoiceLine) SetCreatedAt

func (o *InvoiceLine) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*InvoiceLine) SetCurrency

func (o *InvoiceLine) SetCurrency(v string)

SetCurrency sets field value

func (*InvoiceLine) SetDescription

func (o *InvoiceLine) SetDescription(v string)

SetDescription sets field value

func (*InvoiceLine) SetDiscountAmount

func (o *InvoiceLine) SetDiscountAmount(v float64)

SetDiscountAmount sets field value

func (*InvoiceLine) SetId

func (o *InvoiceLine) SetId(v string)

SetId sets field value

func (*InvoiceLine) SetQuantity

func (o *InvoiceLine) SetQuantity(v int64)

SetQuantity gets a reference to the given int64 and assigns it to the Quantity field.

func (*InvoiceLine) SetTaxAmount

func (o *InvoiceLine) SetTaxAmount(v float64)

SetTaxAmount sets field value

func (*InvoiceLine) SetUnitAmount

func (o *InvoiceLine) SetUnitAmount(v float64)

SetUnitAmount sets field value

func (InvoiceLine) ToMap

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

func (*InvoiceLine) UnmarshalJSON

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

type InvoiceStatus

type InvoiceStatus string

InvoiceStatus * `draft` - Draft * `open` - Open * `paid` - Paid * `void` - Void * `uncollectible` - Uncollectible

const (
	INVOICESTATUS_DRAFT         InvoiceStatus = "draft"
	INVOICESTATUS_OPEN          InvoiceStatus = "open"
	INVOICESTATUS_PAID          InvoiceStatus = "paid"
	INVOICESTATUS_VOID          InvoiceStatus = "void"
	INVOICESTATUS_UNCOLLECTIBLE InvoiceStatus = "uncollectible"
)

List of InvoiceStatus

func NewInvoiceStatusFromValue

func NewInvoiceStatusFromValue(v string) (*InvoiceStatus, error)

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

func (InvoiceStatus) IsValid

func (v InvoiceStatus) IsValid() bool

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

func (InvoiceStatus) Ptr

func (v InvoiceStatus) Ptr() *InvoiceStatus

Ptr returns reference to InvoiceStatus value

func (*InvoiceStatus) UnmarshalJSON

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

type InvoiceTotalDetails

type InvoiceTotalDetails struct {
	TotalAmount          float64 `json:"total_amount"`
	SubtotalAmount       float64 `json:"subtotal_amount"`
	DiscountAmount       float64 `json:"discount_amount"`
	ShippingAmount       float64 `json:"shipping_amount"`
	TaxAmount            float64 `json:"tax_amount"`
	PaidAmount           float64 `json:"paid_amount"`
	PaidWithWalletAmount float64 `json:"paid_with_wallet_amount"`
	DueAmount            float64 `json:"due_amount"`
	AdditionalProperties map[string]interface{}
}

InvoiceTotalDetails struct for InvoiceTotalDetails

func NewInvoiceTotalDetails

func NewInvoiceTotalDetails(totalAmount float64, subtotalAmount float64, discountAmount float64, shippingAmount float64, taxAmount float64, paidAmount float64, paidWithWalletAmount float64, dueAmount float64) *InvoiceTotalDetails

NewInvoiceTotalDetails instantiates a new InvoiceTotalDetails 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 NewInvoiceTotalDetailsWithDefaults

func NewInvoiceTotalDetailsWithDefaults() *InvoiceTotalDetails

NewInvoiceTotalDetailsWithDefaults instantiates a new InvoiceTotalDetails 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 (*InvoiceTotalDetails) GetDiscountAmount

func (o *InvoiceTotalDetails) GetDiscountAmount() float64

GetDiscountAmount returns the DiscountAmount field value

func (*InvoiceTotalDetails) GetDiscountAmountOk

func (o *InvoiceTotalDetails) GetDiscountAmountOk() (*float64, bool)

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

func (*InvoiceTotalDetails) GetDueAmount

func (o *InvoiceTotalDetails) GetDueAmount() float64

GetDueAmount returns the DueAmount field value

func (*InvoiceTotalDetails) GetDueAmountOk

func (o *InvoiceTotalDetails) GetDueAmountOk() (*float64, bool)

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

func (*InvoiceTotalDetails) GetPaidAmount

func (o *InvoiceTotalDetails) GetPaidAmount() float64

GetPaidAmount returns the PaidAmount field value

func (*InvoiceTotalDetails) GetPaidAmountOk

func (o *InvoiceTotalDetails) GetPaidAmountOk() (*float64, bool)

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

func (*InvoiceTotalDetails) GetPaidWithWalletAmount

func (o *InvoiceTotalDetails) GetPaidWithWalletAmount() float64

GetPaidWithWalletAmount returns the PaidWithWalletAmount field value

func (*InvoiceTotalDetails) GetPaidWithWalletAmountOk

func (o *InvoiceTotalDetails) GetPaidWithWalletAmountOk() (*float64, bool)

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

func (*InvoiceTotalDetails) GetShippingAmount

func (o *InvoiceTotalDetails) GetShippingAmount() float64

GetShippingAmount returns the ShippingAmount field value

func (*InvoiceTotalDetails) GetShippingAmountOk

func (o *InvoiceTotalDetails) GetShippingAmountOk() (*float64, bool)

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

func (*InvoiceTotalDetails) GetSubtotalAmount

func (o *InvoiceTotalDetails) GetSubtotalAmount() float64

GetSubtotalAmount returns the SubtotalAmount field value

func (*InvoiceTotalDetails) GetSubtotalAmountOk

func (o *InvoiceTotalDetails) GetSubtotalAmountOk() (*float64, bool)

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

func (*InvoiceTotalDetails) GetTaxAmount

func (o *InvoiceTotalDetails) GetTaxAmount() float64

GetTaxAmount returns the TaxAmount field value

func (*InvoiceTotalDetails) GetTaxAmountOk

func (o *InvoiceTotalDetails) GetTaxAmountOk() (*float64, bool)

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

func (*InvoiceTotalDetails) GetTotalAmount

func (o *InvoiceTotalDetails) GetTotalAmount() float64

GetTotalAmount returns the TotalAmount field value

func (*InvoiceTotalDetails) GetTotalAmountOk

func (o *InvoiceTotalDetails) GetTotalAmountOk() (*float64, bool)

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

func (InvoiceTotalDetails) MarshalJSON

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

func (*InvoiceTotalDetails) SetDiscountAmount

func (o *InvoiceTotalDetails) SetDiscountAmount(v float64)

SetDiscountAmount sets field value

func (*InvoiceTotalDetails) SetDueAmount

func (o *InvoiceTotalDetails) SetDueAmount(v float64)

SetDueAmount sets field value

func (*InvoiceTotalDetails) SetPaidAmount

func (o *InvoiceTotalDetails) SetPaidAmount(v float64)

SetPaidAmount sets field value

func (*InvoiceTotalDetails) SetPaidWithWalletAmount

func (o *InvoiceTotalDetails) SetPaidWithWalletAmount(v float64)

SetPaidWithWalletAmount sets field value

func (*InvoiceTotalDetails) SetShippingAmount

func (o *InvoiceTotalDetails) SetShippingAmount(v float64)

SetShippingAmount sets field value

func (*InvoiceTotalDetails) SetSubtotalAmount

func (o *InvoiceTotalDetails) SetSubtotalAmount(v float64)

SetSubtotalAmount sets field value

func (*InvoiceTotalDetails) SetTaxAmount

func (o *InvoiceTotalDetails) SetTaxAmount(v float64)

SetTaxAmount sets field value

func (*InvoiceTotalDetails) SetTotalAmount

func (o *InvoiceTotalDetails) SetTotalAmount(v float64)

SetTotalAmount sets field value

func (InvoiceTotalDetails) ToMap

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

func (*InvoiceTotalDetails) UnmarshalJSON

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

type Location

type Location struct {
	Id                   string          `json:"id"`
	Country              Country         `json:"country"`
	Region               LocationRegion  `json:"region"`
	Name                 string          `json:"name"`
	NameAscii            NullableString  `json:"name_ascii,omitempty"`
	Lat                  NullableFloat64 `json:"lat,omitempty"`
	Lon                  NullableFloat64 `json:"lon,omitempty"`
	AdditionalProperties map[string]interface{}
}

Location struct for Location

func NewLocation

func NewLocation(id string, country Country, region LocationRegion, name string) *Location

NewLocation instantiates a new Location 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 NewLocationWithDefaults

func NewLocationWithDefaults() *Location

NewLocationWithDefaults instantiates a new Location 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 (*Location) GetCountry

func (o *Location) GetCountry() Country

GetCountry returns the Country field value

func (*Location) GetCountryOk

func (o *Location) GetCountryOk() (*Country, bool)

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

func (*Location) GetId

func (o *Location) GetId() string

GetId returns the Id field value

func (*Location) GetIdOk

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

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

func (*Location) GetLat

func (o *Location) GetLat() float64

GetLat returns the Lat field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Location) GetLatOk

func (o *Location) GetLatOk() (*float64, bool)

GetLatOk returns a tuple with the Lat field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Location) GetLon

func (o *Location) GetLon() float64

GetLon returns the Lon field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Location) GetLonOk

func (o *Location) GetLonOk() (*float64, bool)

GetLonOk returns a tuple with the Lon field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Location) GetName

func (o *Location) GetName() string

GetName returns the Name field value

func (*Location) GetNameAscii

func (o *Location) GetNameAscii() string

GetNameAscii returns the NameAscii field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Location) GetNameAsciiOk

func (o *Location) GetNameAsciiOk() (*string, bool)

GetNameAsciiOk returns a tuple with the NameAscii field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Location) GetNameOk

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

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

func (*Location) GetRegion

func (o *Location) GetRegion() LocationRegion

GetRegion returns the Region field value

func (*Location) GetRegionOk

func (o *Location) GetRegionOk() (*LocationRegion, bool)

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

func (*Location) HasLat

func (o *Location) HasLat() bool

HasLat returns a boolean if a field has been set.

func (*Location) HasLon

func (o *Location) HasLon() bool

HasLon returns a boolean if a field has been set.

func (*Location) HasNameAscii

func (o *Location) HasNameAscii() bool

HasNameAscii returns a boolean if a field has been set.

func (Location) MarshalJSON

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

func (*Location) SetCountry

func (o *Location) SetCountry(v Country)

SetCountry sets field value

func (*Location) SetId

func (o *Location) SetId(v string)

SetId sets field value

func (*Location) SetLat

func (o *Location) SetLat(v float64)

SetLat gets a reference to the given NullableFloat64 and assigns it to the Lat field.

func (*Location) SetLatNil

func (o *Location) SetLatNil()

SetLatNil sets the value for Lat to be an explicit nil

func (*Location) SetLon

func (o *Location) SetLon(v float64)

SetLon gets a reference to the given NullableFloat64 and assigns it to the Lon field.

func (*Location) SetLonNil

func (o *Location) SetLonNil()

SetLonNil sets the value for Lon to be an explicit nil

func (*Location) SetName

func (o *Location) SetName(v string)

SetName sets field value

func (*Location) SetNameAscii

func (o *Location) SetNameAscii(v string)

SetNameAscii gets a reference to the given NullableString and assigns it to the NameAscii field.

func (*Location) SetNameAsciiNil

func (o *Location) SetNameAsciiNil()

SetNameAsciiNil sets the value for NameAscii to be an explicit nil

func (*Location) SetRegion

func (o *Location) SetRegion(v LocationRegion)

SetRegion sets field value

func (Location) ToMap

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

func (*Location) UnmarshalJSON

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

func (*Location) UnsetLat

func (o *Location) UnsetLat()

UnsetLat ensures that no value is present for Lat, not even an explicit nil

func (*Location) UnsetLon

func (o *Location) UnsetLon()

UnsetLon ensures that no value is present for Lon, not even an explicit nil

func (*Location) UnsetNameAscii

func (o *Location) UnsetNameAscii()

UnsetNameAscii ensures that no value is present for NameAscii, not even an explicit nil

type LocationRegion

type LocationRegion struct {
	Id                   string `json:"id"`
	Name                 string `json:"name"`
	AdditionalProperties map[string]interface{}
}

LocationRegion struct for LocationRegion

func NewLocationRegion

func NewLocationRegion(id string, name string) *LocationRegion

NewLocationRegion instantiates a new LocationRegion 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 NewLocationRegionWithDefaults

func NewLocationRegionWithDefaults() *LocationRegion

NewLocationRegionWithDefaults instantiates a new LocationRegion 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 (*LocationRegion) GetId

func (o *LocationRegion) GetId() string

GetId returns the Id field value

func (*LocationRegion) GetIdOk

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

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

func (*LocationRegion) GetName

func (o *LocationRegion) GetName() string

GetName returns the Name field value

func (*LocationRegion) GetNameOk

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

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

func (LocationRegion) MarshalJSON

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

func (*LocationRegion) SetId

func (o *LocationRegion) SetId(v string)

SetId sets field value

func (*LocationRegion) SetName

func (o *LocationRegion) SetName(v string)

SetName sets field value

func (LocationRegion) ToMap

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

func (*LocationRegion) UnmarshalJSON

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

type LocationRegionRequest

type LocationRegionRequest struct {
	Id                   string `json:"id"`
	Name                 string `json:"name"`
	AdditionalProperties map[string]interface{}
}

LocationRegionRequest struct for LocationRegionRequest

func NewLocationRegionRequest

func NewLocationRegionRequest(id string, name string) *LocationRegionRequest

NewLocationRegionRequest instantiates a new LocationRegionRequest 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 NewLocationRegionRequestWithDefaults

func NewLocationRegionRequestWithDefaults() *LocationRegionRequest

NewLocationRegionRequestWithDefaults instantiates a new LocationRegionRequest 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 (*LocationRegionRequest) GetId

func (o *LocationRegionRequest) GetId() string

GetId returns the Id field value

func (*LocationRegionRequest) GetIdOk

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

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

func (*LocationRegionRequest) GetName

func (o *LocationRegionRequest) GetName() string

GetName returns the Name field value

func (*LocationRegionRequest) GetNameOk

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

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

func (LocationRegionRequest) MarshalJSON

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

func (*LocationRegionRequest) SetId

func (o *LocationRegionRequest) SetId(v string)

SetId sets field value

func (*LocationRegionRequest) SetName

func (o *LocationRegionRequest) SetName(v string)

SetName sets field value

func (LocationRegionRequest) ToMap

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

func (*LocationRegionRequest) UnmarshalJSON

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

type LocationRequest

type LocationRequest struct {
	Id                   string                `json:"id"`
	Country              CountryRequest        `json:"country"`
	Region               LocationRegionRequest `json:"region"`
	Name                 string                `json:"name"`
	NameAscii            NullableString        `json:"name_ascii,omitempty"`
	Lat                  NullableFloat64       `json:"lat,omitempty"`
	Lon                  NullableFloat64       `json:"lon,omitempty"`
	AdditionalProperties map[string]interface{}
}

LocationRequest struct for LocationRequest

func NewLocationRequest

func NewLocationRequest(id string, country CountryRequest, region LocationRegionRequest, name string) *LocationRequest

NewLocationRequest instantiates a new LocationRequest 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 NewLocationRequestWithDefaults

func NewLocationRequestWithDefaults() *LocationRequest

NewLocationRequestWithDefaults instantiates a new LocationRequest 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 (*LocationRequest) GetCountry

func (o *LocationRequest) GetCountry() CountryRequest

GetCountry returns the Country field value

func (*LocationRequest) GetCountryOk

func (o *LocationRequest) GetCountryOk() (*CountryRequest, bool)

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

func (*LocationRequest) GetId

func (o *LocationRequest) GetId() string

GetId returns the Id field value

func (*LocationRequest) GetIdOk

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

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

func (*LocationRequest) GetLat

func (o *LocationRequest) GetLat() float64

GetLat returns the Lat field value if set, zero value otherwise (both if not set or set to explicit null).

func (*LocationRequest) GetLatOk

func (o *LocationRequest) GetLatOk() (*float64, bool)

GetLatOk returns a tuple with the Lat field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationRequest) GetLon

func (o *LocationRequest) GetLon() float64

GetLon returns the Lon field value if set, zero value otherwise (both if not set or set to explicit null).

func (*LocationRequest) GetLonOk

func (o *LocationRequest) GetLonOk() (*float64, bool)

GetLonOk returns a tuple with the Lon field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationRequest) GetName

func (o *LocationRequest) GetName() string

GetName returns the Name field value

func (*LocationRequest) GetNameAscii

func (o *LocationRequest) GetNameAscii() string

GetNameAscii returns the NameAscii field value if set, zero value otherwise (both if not set or set to explicit null).

func (*LocationRequest) GetNameAsciiOk

func (o *LocationRequest) GetNameAsciiOk() (*string, bool)

GetNameAsciiOk returns a tuple with the NameAscii field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationRequest) GetNameOk

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

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

func (*LocationRequest) GetRegion

func (o *LocationRequest) GetRegion() LocationRegionRequest

GetRegion returns the Region field value

func (*LocationRequest) GetRegionOk

func (o *LocationRequest) GetRegionOk() (*LocationRegionRequest, bool)

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

func (*LocationRequest) HasLat

func (o *LocationRequest) HasLat() bool

HasLat returns a boolean if a field has been set.

func (*LocationRequest) HasLon

func (o *LocationRequest) HasLon() bool

HasLon returns a boolean if a field has been set.

func (*LocationRequest) HasNameAscii

func (o *LocationRequest) HasNameAscii() bool

HasNameAscii returns a boolean if a field has been set.

func (LocationRequest) MarshalJSON

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

func (*LocationRequest) SetCountry

func (o *LocationRequest) SetCountry(v CountryRequest)

SetCountry sets field value

func (*LocationRequest) SetId

func (o *LocationRequest) SetId(v string)

SetId sets field value

func (*LocationRequest) SetLat

func (o *LocationRequest) SetLat(v float64)

SetLat gets a reference to the given NullableFloat64 and assigns it to the Lat field.

func (*LocationRequest) SetLatNil

func (o *LocationRequest) SetLatNil()

SetLatNil sets the value for Lat to be an explicit nil

func (*LocationRequest) SetLon

func (o *LocationRequest) SetLon(v float64)

SetLon gets a reference to the given NullableFloat64 and assigns it to the Lon field.

func (*LocationRequest) SetLonNil

func (o *LocationRequest) SetLonNil()

SetLonNil sets the value for Lon to be an explicit nil

func (*LocationRequest) SetName

func (o *LocationRequest) SetName(v string)

SetName sets field value

func (*LocationRequest) SetNameAscii

func (o *LocationRequest) SetNameAscii(v string)

SetNameAscii gets a reference to the given NullableString and assigns it to the NameAscii field.

func (*LocationRequest) SetNameAsciiNil

func (o *LocationRequest) SetNameAsciiNil()

SetNameAsciiNil sets the value for NameAscii to be an explicit nil

func (*LocationRequest) SetRegion

func (o *LocationRequest) SetRegion(v LocationRegionRequest)

SetRegion sets field value

func (LocationRequest) ToMap

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

func (*LocationRequest) UnmarshalJSON

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

func (*LocationRequest) UnsetLat

func (o *LocationRequest) UnsetLat()

UnsetLat ensures that no value is present for Lat, not even an explicit nil

func (*LocationRequest) UnsetLon

func (o *LocationRequest) UnsetLon()

UnsetLon ensures that no value is present for Lon, not even an explicit nil

func (*LocationRequest) UnsetNameAscii

func (o *LocationRequest) UnsetNameAscii()

UnsetNameAscii ensures that no value is present for NameAscii, not even an explicit nil

type ManagedBy

type ManagedBy string

ManagedBy * `apple` - Apple * `google` - Google * `stripe` - Stripe * `unknown` - Unknown

const (
	MANAGEDBY_APPLE   ManagedBy = "apple"
	MANAGEDBY_GOOGLE  ManagedBy = "google"
	MANAGEDBY_STRIPE  ManagedBy = "stripe"
	MANAGEDBY_UNKNOWN ManagedBy = "unknown"
)

List of ManagedBy

func NewManagedByFromValue

func NewManagedByFromValue(v string) (*ManagedBy, error)

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

func (ManagedBy) IsValid

func (v ManagedBy) IsValid() bool

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

func (ManagedBy) Ptr

func (v ManagedBy) Ptr() *ManagedBy

Ptr returns reference to ManagedBy value

func (*ManagedBy) UnmarshalJSON

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

type MappedNullable

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

type Node

type Node struct {
	Id          string   `json:"id"`
	Hostname    string   `json:"hostname" validate:"regexp=^[-a-zA-Z0-9_]+$"`
	IpAddresses []string `json:"ip_addresses"`
	Subnets     []string `json:"subnets,omitempty"`
	Tags        []string `json:"tags"`
	IsExitNode  bool     `json:"is_exit_node"`
	IsPublic    *bool    `json:"is_public,omitempty"`
	PubKey      string   `json:"pub_key"`
	Ports       []string `json:"ports"`
	// Ports used for HTTPs Proxy
	HttpsProxyPorts []string `json:"https_proxy_ports,omitempty"`
	// Ports used for Shadow Socket Bridge
	SsBridgePorts        []string        `json:"ss_bridge_ports,omitempty"`
	Conditions           []NodeCondition `json:"conditions"`
	Status               *NodeStatus     `json:"status,omitempty"`
	Os                   NullableString  `json:"os,omitempty"`
	OsVersion            NullableString  `json:"os_version,omitempty"`
	OsArch               NullableString  `json:"os_arch,omitempty"`
	Distro               NullableString  `json:"distro,omitempty"`
	DistroVersion        NullableString  `json:"distro_version,omitempty"`
	DistroCodename       NullableString  `json:"distro_codename,omitempty"`
	AppVersion           NullableString  `json:"app_version,omitempty"`
	AppBuild             NullableString  `json:"app_build,omitempty"`
	LastActiveAt         NullableTime    `json:"last_active_at"`
	IpDetails            []IPInfo        `json:"ip_details"`
	AdditionalProperties map[string]interface{}
}

Node struct for Node

func NewNode

func NewNode(id string, hostname string, ipAddresses []string, tags []string, isExitNode bool, pubKey string, ports []string, conditions []NodeCondition, lastActiveAt NullableTime, ipDetails []IPInfo) *Node

NewNode instantiates a new Node 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 NewNodeWithDefaults

func NewNodeWithDefaults() *Node

NewNodeWithDefaults instantiates a new Node 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 (*Node) GetAppBuild

func (o *Node) GetAppBuild() string

GetAppBuild returns the AppBuild field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetAppBuildOk

func (o *Node) GetAppBuildOk() (*string, bool)

GetAppBuildOk returns a tuple with the AppBuild field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Node) GetAppVersion

func (o *Node) GetAppVersion() string

GetAppVersion returns the AppVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetAppVersionOk

func (o *Node) GetAppVersionOk() (*string, bool)

GetAppVersionOk returns a tuple with the AppVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Node) GetConditions

func (o *Node) GetConditions() []NodeCondition

GetConditions returns the Conditions field value

func (*Node) GetConditionsOk

func (o *Node) GetConditionsOk() ([]NodeCondition, bool)

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

func (*Node) GetDistro

func (o *Node) GetDistro() string

GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetDistroCodename

func (o *Node) GetDistroCodename() string

GetDistroCodename returns the DistroCodename field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetDistroCodenameOk

func (o *Node) GetDistroCodenameOk() (*string, bool)

GetDistroCodenameOk returns a tuple with the DistroCodename field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Node) GetDistroOk

func (o *Node) GetDistroOk() (*string, bool)

GetDistroOk returns a tuple with the Distro field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Node) GetDistroVersion

func (o *Node) GetDistroVersion() string

GetDistroVersion returns the DistroVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetDistroVersionOk

func (o *Node) GetDistroVersionOk() (*string, bool)

GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Node) GetHostname

func (o *Node) GetHostname() string

GetHostname returns the Hostname field value

func (*Node) GetHostnameOk

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

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

func (*Node) GetHttpsProxyPorts

func (o *Node) GetHttpsProxyPorts() []string

GetHttpsProxyPorts returns the HttpsProxyPorts field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetHttpsProxyPortsOk

func (o *Node) GetHttpsProxyPortsOk() ([]string, bool)

GetHttpsProxyPortsOk returns a tuple with the HttpsProxyPorts field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Node) GetId

func (o *Node) GetId() string

GetId returns the Id field value

func (*Node) GetIdOk

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

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

func (*Node) GetIpAddresses

func (o *Node) GetIpAddresses() []string

GetIpAddresses returns the IpAddresses field value

func (*Node) GetIpAddressesOk

func (o *Node) GetIpAddressesOk() ([]string, bool)

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

func (*Node) GetIpDetails

func (o *Node) GetIpDetails() []IPInfo

GetIpDetails returns the IpDetails field value

func (*Node) GetIpDetailsOk

func (o *Node) GetIpDetailsOk() ([]IPInfo, bool)

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

func (*Node) GetIsExitNode

func (o *Node) GetIsExitNode() bool

GetIsExitNode returns the IsExitNode field value

func (*Node) GetIsExitNodeOk

func (o *Node) GetIsExitNodeOk() (*bool, bool)

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

func (*Node) GetIsPublic

func (o *Node) GetIsPublic() bool

GetIsPublic returns the IsPublic field value if set, zero value otherwise.

func (*Node) GetIsPublicOk

func (o *Node) GetIsPublicOk() (*bool, bool)

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

func (*Node) GetLastActiveAt

func (o *Node) GetLastActiveAt() time.Time

GetLastActiveAt returns the LastActiveAt field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Node) GetLastActiveAtOk

func (o *Node) GetLastActiveAtOk() (*time.Time, bool)

GetLastActiveAtOk returns a tuple with the LastActiveAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Node) GetOs

func (o *Node) GetOs() string

GetOs returns the Os field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetOsArch

func (o *Node) GetOsArch() string

GetOsArch returns the OsArch field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetOsArchOk

func (o *Node) GetOsArchOk() (*string, bool)

GetOsArchOk returns a tuple with the OsArch field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Node) GetOsOk

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

GetOsOk returns a tuple with the Os field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Node) GetOsVersion

func (o *Node) GetOsVersion() string

GetOsVersion returns the OsVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetOsVersionOk

func (o *Node) GetOsVersionOk() (*string, bool)

GetOsVersionOk returns a tuple with the OsVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Node) GetPorts

func (o *Node) GetPorts() []string

GetPorts returns the Ports field value

func (*Node) GetPortsOk

func (o *Node) GetPortsOk() ([]string, bool)

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

func (*Node) GetPubKey

func (o *Node) GetPubKey() string

GetPubKey returns the PubKey field value

func (*Node) GetPubKeyOk

func (o *Node) GetPubKeyOk() (*string, bool)

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

func (*Node) GetSsBridgePorts

func (o *Node) GetSsBridgePorts() []string

GetSsBridgePorts returns the SsBridgePorts field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetSsBridgePortsOk

func (o *Node) GetSsBridgePortsOk() ([]string, bool)

GetSsBridgePortsOk returns a tuple with the SsBridgePorts field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Node) GetStatus

func (o *Node) GetStatus() NodeStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*Node) GetStatusOk

func (o *Node) GetStatusOk() (*NodeStatus, bool)

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

func (*Node) GetSubnets

func (o *Node) GetSubnets() []string

GetSubnets returns the Subnets field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Node) GetSubnetsOk

func (o *Node) GetSubnetsOk() ([]string, bool)

GetSubnetsOk returns a tuple with the Subnets field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Node) GetTags

func (o *Node) GetTags() []string

GetTags returns the Tags field value

func (*Node) GetTagsOk

func (o *Node) GetTagsOk() ([]string, bool)

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

func (*Node) HasAppBuild

func (o *Node) HasAppBuild() bool

HasAppBuild returns a boolean if a field has been set.

func (*Node) HasAppVersion

func (o *Node) HasAppVersion() bool

HasAppVersion returns a boolean if a field has been set.

func (*Node) HasDistro

func (o *Node) HasDistro() bool

HasDistro returns a boolean if a field has been set.

func (*Node) HasDistroCodename

func (o *Node) HasDistroCodename() bool

HasDistroCodename returns a boolean if a field has been set.

func (*Node) HasDistroVersion

func (o *Node) HasDistroVersion() bool

HasDistroVersion returns a boolean if a field has been set.

func (*Node) HasHttpsProxyPorts

func (o *Node) HasHttpsProxyPorts() bool

HasHttpsProxyPorts returns a boolean if a field has been set.

func (*Node) HasIsPublic

func (o *Node) HasIsPublic() bool

HasIsPublic returns a boolean if a field has been set.

func (*Node) HasOs

func (o *Node) HasOs() bool

HasOs returns a boolean if a field has been set.

func (*Node) HasOsArch

func (o *Node) HasOsArch() bool

HasOsArch returns a boolean if a field has been set.

func (*Node) HasOsVersion

func (o *Node) HasOsVersion() bool

HasOsVersion returns a boolean if a field has been set.

func (*Node) HasSsBridgePorts

func (o *Node) HasSsBridgePorts() bool

HasSsBridgePorts returns a boolean if a field has been set.

func (*Node) HasStatus

func (o *Node) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Node) HasSubnets

func (o *Node) HasSubnets() bool

HasSubnets returns a boolean if a field has been set.

func (Node) MarshalJSON

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

func (*Node) SetAppBuild

func (o *Node) SetAppBuild(v string)

SetAppBuild gets a reference to the given NullableString and assigns it to the AppBuild field.

func (*Node) SetAppBuildNil

func (o *Node) SetAppBuildNil()

SetAppBuildNil sets the value for AppBuild to be an explicit nil

func (*Node) SetAppVersion

func (o *Node) SetAppVersion(v string)

SetAppVersion gets a reference to the given NullableString and assigns it to the AppVersion field.

func (*Node) SetAppVersionNil

func (o *Node) SetAppVersionNil()

SetAppVersionNil sets the value for AppVersion to be an explicit nil

func (*Node) SetConditions

func (o *Node) SetConditions(v []NodeCondition)

SetConditions sets field value

func (*Node) SetDistro

func (o *Node) SetDistro(v string)

SetDistro gets a reference to the given NullableString and assigns it to the Distro field.

func (*Node) SetDistroCodename

func (o *Node) SetDistroCodename(v string)

SetDistroCodename gets a reference to the given NullableString and assigns it to the DistroCodename field.

func (*Node) SetDistroCodenameNil

func (o *Node) SetDistroCodenameNil()

SetDistroCodenameNil sets the value for DistroCodename to be an explicit nil

func (*Node) SetDistroNil

func (o *Node) SetDistroNil()

SetDistroNil sets the value for Distro to be an explicit nil

func (*Node) SetDistroVersion

func (o *Node) SetDistroVersion(v string)

SetDistroVersion gets a reference to the given NullableString and assigns it to the DistroVersion field.

func (*Node) SetDistroVersionNil

func (o *Node) SetDistroVersionNil()

SetDistroVersionNil sets the value for DistroVersion to be an explicit nil

func (*Node) SetHostname

func (o *Node) SetHostname(v string)

SetHostname sets field value

func (*Node) SetHttpsProxyPorts

func (o *Node) SetHttpsProxyPorts(v []string)

SetHttpsProxyPorts gets a reference to the given []string and assigns it to the HttpsProxyPorts field.

func (*Node) SetId

func (o *Node) SetId(v string)

SetId sets field value

func (*Node) SetIpAddresses

func (o *Node) SetIpAddresses(v []string)

SetIpAddresses sets field value

func (*Node) SetIpDetails

func (o *Node) SetIpDetails(v []IPInfo)

SetIpDetails sets field value

func (*Node) SetIsExitNode

func (o *Node) SetIsExitNode(v bool)

SetIsExitNode sets field value

func (*Node) SetIsPublic

func (o *Node) SetIsPublic(v bool)

SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field.

func (*Node) SetLastActiveAt

func (o *Node) SetLastActiveAt(v time.Time)

SetLastActiveAt sets field value

func (*Node) SetOs

func (o *Node) SetOs(v string)

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

func (*Node) SetOsArch

func (o *Node) SetOsArch(v string)

SetOsArch gets a reference to the given NullableString and assigns it to the OsArch field.

func (*Node) SetOsArchNil

func (o *Node) SetOsArchNil()

SetOsArchNil sets the value for OsArch to be an explicit nil

func (*Node) SetOsNil

func (o *Node) SetOsNil()

SetOsNil sets the value for Os to be an explicit nil

func (*Node) SetOsVersion

func (o *Node) SetOsVersion(v string)

SetOsVersion gets a reference to the given NullableString and assigns it to the OsVersion field.

func (*Node) SetOsVersionNil

func (o *Node) SetOsVersionNil()

SetOsVersionNil sets the value for OsVersion to be an explicit nil

func (*Node) SetPorts

func (o *Node) SetPorts(v []string)

SetPorts sets field value

func (*Node) SetPubKey

func (o *Node) SetPubKey(v string)

SetPubKey sets field value

func (*Node) SetSsBridgePorts

func (o *Node) SetSsBridgePorts(v []string)

SetSsBridgePorts gets a reference to the given []string and assigns it to the SsBridgePorts field.

func (*Node) SetStatus

func (o *Node) SetStatus(v NodeStatus)

SetStatus gets a reference to the given NodeStatus and assigns it to the Status field.

func (*Node) SetSubnets

func (o *Node) SetSubnets(v []string)

SetSubnets gets a reference to the given []string and assigns it to the Subnets field.

func (*Node) SetTags

func (o *Node) SetTags(v []string)

SetTags sets field value

func (Node) ToMap

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

func (*Node) UnmarshalJSON

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

func (*Node) UnsetAppBuild

func (o *Node) UnsetAppBuild()

UnsetAppBuild ensures that no value is present for AppBuild, not even an explicit nil

func (*Node) UnsetAppVersion

func (o *Node) UnsetAppVersion()

UnsetAppVersion ensures that no value is present for AppVersion, not even an explicit nil

func (*Node) UnsetDistro

func (o *Node) UnsetDistro()

UnsetDistro ensures that no value is present for Distro, not even an explicit nil

func (*Node) UnsetDistroCodename

func (o *Node) UnsetDistroCodename()

UnsetDistroCodename ensures that no value is present for DistroCodename, not even an explicit nil

func (*Node) UnsetDistroVersion

func (o *Node) UnsetDistroVersion()

UnsetDistroVersion ensures that no value is present for DistroVersion, not even an explicit nil

func (*Node) UnsetOs

func (o *Node) UnsetOs()

UnsetOs ensures that no value is present for Os, not even an explicit nil

func (*Node) UnsetOsArch

func (o *Node) UnsetOsArch()

UnsetOsArch ensures that no value is present for OsArch, not even an explicit nil

func (*Node) UnsetOsVersion

func (o *Node) UnsetOsVersion()

UnsetOsVersion ensures that no value is present for OsVersion, not even an explicit nil

type NodeAPIService

type NodeAPIService service

NodeAPIService NodeAPI service

func (*NodeAPIService) CreateNode

CreateNode Create a new node

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

func (*NodeAPIService) CreateNodeCondition

func (a *NodeAPIService) CreateNodeCondition(ctx context.Context, nodeId string) ApiCreateNodeConditionRequest

CreateNodeCondition Create a new node condition

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

func (*NodeAPIService) CreateNodeConditionExecute

func (a *NodeAPIService) CreateNodeConditionExecute(r ApiCreateNodeConditionRequest) (*http.Response, error)

Execute executes the request

func (*NodeAPIService) CreateNodeDataUsageReport

func (a *NodeAPIService) CreateNodeDataUsageReport(ctx context.Context, nodeId string) ApiCreateNodeDataUsageReportRequest

CreateNodeDataUsageReport Create a new node data usage

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param nodeId A UUID string identifying this Node.
@return ApiCreateNodeDataUsageReportRequest

func (*NodeAPIService) CreateNodeDataUsageReportExecute

func (a *NodeAPIService) CreateNodeDataUsageReportExecute(r ApiCreateNodeDataUsageReportRequest) (*http.Response, error)

Execute executes the request

func (*NodeAPIService) CreateNodeExecute

func (a *NodeAPIService) CreateNodeExecute(r ApiCreateNodeRequest) (*Node, *http.Response, error)

Execute executes the request

@return Node

func (*NodeAPIService) DeleteNode

func (a *NodeAPIService) DeleteNode(ctx context.Context, nodeId string) ApiDeleteNodeRequest

DeleteNode Delete a node

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param nodeId A UUID string identifying this Node.
@return ApiDeleteNodeRequest

func (*NodeAPIService) DeleteNodeExecute

func (a *NodeAPIService) DeleteNodeExecute(r ApiDeleteNodeRequest) (*http.Response, error)

Execute executes the request

func (*NodeAPIService) GetNode

func (a *NodeAPIService) GetNode(ctx context.Context, nodeId string) ApiGetNodeRequest

GetNode Retrieve a node

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param nodeId A UUID string identifying this Node.
@return ApiGetNodeRequest

func (*NodeAPIService) GetNodeConditions

func (a *NodeAPIService) GetNodeConditions(ctx context.Context, nodeId string) ApiGetNodeConditionsRequest

GetNodeConditions List node conditions

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

func (*NodeAPIService) GetNodeConditionsExecute

func (a *NodeAPIService) GetNodeConditionsExecute(r ApiGetNodeConditionsRequest) ([]NodeCondition, *http.Response, error)

Execute executes the request

@return []NodeCondition

func (*NodeAPIService) GetNodeDevices

func (a *NodeAPIService) GetNodeDevices(ctx context.Context, nodeId string) ApiGetNodeDevicesRequest

GetNodeDevices List node devices

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param nodeId A UUID string identifying this Node.
@return ApiGetNodeDevicesRequest

func (*NodeAPIService) GetNodeDevicesExecute

func (a *NodeAPIService) GetNodeDevicesExecute(r ApiGetNodeDevicesRequest) ([]NodeDevice, *http.Response, error)

Execute executes the request

@return []NodeDevice

func (*NodeAPIService) GetNodeExecute

func (a *NodeAPIService) GetNodeExecute(r ApiGetNodeRequest) (*Node, *http.Response, error)

Execute executes the request

@return Node

func (*NodeAPIService) GetNodes

GetNodes List nodes

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

func (*NodeAPIService) GetNodesExecute

Execute executes the request

@return PaginatedNodeList

func (*NodeAPIService) PartialUpdateNode

func (a *NodeAPIService) PartialUpdateNode(ctx context.Context, nodeId string) ApiPartialUpdateNodeRequest

PartialUpdateNode Partially update a device

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param nodeId A UUID string identifying this Node.
@return ApiPartialUpdateNodeRequest

func (*NodeAPIService) PartialUpdateNodeExecute

func (a *NodeAPIService) PartialUpdateNodeExecute(r ApiPartialUpdateNodeRequest) (*Node, *http.Response, error)

Execute executes the request

@return Node

func (*NodeAPIService) UpdateNode

func (a *NodeAPIService) UpdateNode(ctx context.Context, nodeId string) ApiUpdateNodeRequest

UpdateNode Update a node

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param nodeId A UUID string identifying this Node.
@return ApiUpdateNodeRequest

func (*NodeAPIService) UpdateNodeExecute

func (a *NodeAPIService) UpdateNodeExecute(r ApiUpdateNodeRequest) (*Node, *http.Response, error)

Execute executes the request

@return Node

type NodeCondition

type NodeCondition struct {
	Condition            Condition      `json:"condition"`
	Status               bool           `json:"status"`
	Message              NullableString `json:"message,omitempty"`
	LastHeartbeatAt      time.Time      `json:"last_heartbeat_at"`
	LastTransitionAt     time.Time      `json:"last_transition_at"`
	AdditionalProperties map[string]interface{}
}

NodeCondition struct for NodeCondition

func NewNodeCondition

func NewNodeCondition(condition Condition, status bool, lastHeartbeatAt time.Time, lastTransitionAt time.Time) *NodeCondition

NewNodeCondition instantiates a new NodeCondition 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 NewNodeConditionWithDefaults

func NewNodeConditionWithDefaults() *NodeCondition

NewNodeConditionWithDefaults instantiates a new NodeCondition 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 (*NodeCondition) GetCondition

func (o *NodeCondition) GetCondition() Condition

GetCondition returns the Condition field value

func (*NodeCondition) GetConditionOk

func (o *NodeCondition) GetConditionOk() (*Condition, bool)

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

func (*NodeCondition) GetLastHeartbeatAt

func (o *NodeCondition) GetLastHeartbeatAt() time.Time

GetLastHeartbeatAt returns the LastHeartbeatAt field value

func (*NodeCondition) GetLastHeartbeatAtOk

func (o *NodeCondition) GetLastHeartbeatAtOk() (*time.Time, bool)

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

func (*NodeCondition) GetLastTransitionAt

func (o *NodeCondition) GetLastTransitionAt() time.Time

GetLastTransitionAt returns the LastTransitionAt field value

func (*NodeCondition) GetLastTransitionAtOk

func (o *NodeCondition) GetLastTransitionAtOk() (*time.Time, bool)

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

func (*NodeCondition) GetMessage

func (o *NodeCondition) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NodeCondition) GetMessageOk

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

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodeCondition) GetStatus

func (o *NodeCondition) GetStatus() bool

GetStatus returns the Status field value

func (*NodeCondition) GetStatusOk

func (o *NodeCondition) GetStatusOk() (*bool, bool)

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

func (*NodeCondition) HasMessage

func (o *NodeCondition) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (NodeCondition) MarshalJSON

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

func (*NodeCondition) SetCondition

func (o *NodeCondition) SetCondition(v Condition)

SetCondition sets field value

func (*NodeCondition) SetLastHeartbeatAt

func (o *NodeCondition) SetLastHeartbeatAt(v time.Time)

SetLastHeartbeatAt sets field value

func (*NodeCondition) SetLastTransitionAt

func (o *NodeCondition) SetLastTransitionAt(v time.Time)

SetLastTransitionAt sets field value

func (*NodeCondition) SetMessage

func (o *NodeCondition) SetMessage(v string)

SetMessage gets a reference to the given NullableString and assigns it to the Message field.

func (*NodeCondition) SetMessageNil

func (o *NodeCondition) SetMessageNil()

SetMessageNil sets the value for Message to be an explicit nil

func (*NodeCondition) SetStatus

func (o *NodeCondition) SetStatus(v bool)

SetStatus sets field value

func (NodeCondition) ToMap

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

func (*NodeCondition) UnmarshalJSON

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

func (*NodeCondition) UnsetMessage

func (o *NodeCondition) UnsetMessage()

UnsetMessage ensures that no value is present for Message, not even an explicit nil

type NodeConditionRequest

type NodeConditionRequest struct {
	Condition            Condition      `json:"condition"`
	Status               bool           `json:"status"`
	Message              NullableString `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

NodeConditionRequest struct for NodeConditionRequest

func NewNodeConditionRequest

func NewNodeConditionRequest(condition Condition, status bool) *NodeConditionRequest

NewNodeConditionRequest instantiates a new NodeConditionRequest 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 NewNodeConditionRequestWithDefaults

func NewNodeConditionRequestWithDefaults() *NodeConditionRequest

NewNodeConditionRequestWithDefaults instantiates a new NodeConditionRequest 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 (*NodeConditionRequest) GetCondition

func (o *NodeConditionRequest) GetCondition() Condition

GetCondition returns the Condition field value

func (*NodeConditionRequest) GetConditionOk

func (o *NodeConditionRequest) GetConditionOk() (*Condition, bool)

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

func (*NodeConditionRequest) GetMessage

func (o *NodeConditionRequest) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NodeConditionRequest) GetMessageOk

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

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodeConditionRequest) GetStatus

func (o *NodeConditionRequest) GetStatus() bool

GetStatus returns the Status field value

func (*NodeConditionRequest) GetStatusOk

func (o *NodeConditionRequest) GetStatusOk() (*bool, bool)

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

func (*NodeConditionRequest) HasMessage

func (o *NodeConditionRequest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (NodeConditionRequest) MarshalJSON

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

func (*NodeConditionRequest) SetCondition

func (o *NodeConditionRequest) SetCondition(v Condition)

SetCondition sets field value

func (*NodeConditionRequest) SetMessage

func (o *NodeConditionRequest) SetMessage(v string)

SetMessage gets a reference to the given NullableString and assigns it to the Message field.

func (*NodeConditionRequest) SetMessageNil

func (o *NodeConditionRequest) SetMessageNil()

SetMessageNil sets the value for Message to be an explicit nil

func (*NodeConditionRequest) SetStatus

func (o *NodeConditionRequest) SetStatus(v bool)

SetStatus sets field value

func (NodeConditionRequest) ToMap

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

func (*NodeConditionRequest) UnmarshalJSON

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

func (*NodeConditionRequest) UnsetMessage

func (o *NodeConditionRequest) UnsetMessage()

UnsetMessage ensures that no value is present for Message, not even an explicit nil

type NodeConditionType

type NodeConditionType string

NodeConditionType * `ready` - Ready * `disk_pressure` - DiskPressure * `memory_pressure` - MemoryPressure * `pid_pressure` - PIDPressure * `cpu_pressure` - CPUPressure * `network_pressure` - NetworkPressure * `network_unavailable` - NetworkUnavailable

const (
	NODECONDITIONTYPE_READY               NodeConditionType = "ready"
	NODECONDITIONTYPE_DISK_PRESSURE       NodeConditionType = "disk_pressure"
	NODECONDITIONTYPE_MEMORY_PRESSURE     NodeConditionType = "memory_pressure"
	NODECONDITIONTYPE_PID_PRESSURE        NodeConditionType = "pid_pressure"
	NODECONDITIONTYPE_CPU_PRESSURE        NodeConditionType = "cpu_pressure"
	NODECONDITIONTYPE_NETWORK_PRESSURE    NodeConditionType = "network_pressure"
	NODECONDITIONTYPE_NETWORK_UNAVAILABLE NodeConditionType = "network_unavailable"
)

List of NodeConditionType

func NewNodeConditionTypeFromValue

func NewNodeConditionTypeFromValue(v string) (*NodeConditionType, error)

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

func (NodeConditionType) IsValid

func (v NodeConditionType) IsValid() bool

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

func (NodeConditionType) Ptr

Ptr returns reference to NodeConditionType value

func (*NodeConditionType) UnmarshalJSON

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

type NodeConditionsRequest

type NodeConditionsRequest struct {
	Items                []NodeConditionRequest `json:"items"`
	AdditionalProperties map[string]interface{}
}

NodeConditionsRequest struct for NodeConditionsRequest

func NewNodeConditionsRequest

func NewNodeConditionsRequest(items []NodeConditionRequest) *NodeConditionsRequest

NewNodeConditionsRequest instantiates a new NodeConditionsRequest 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 NewNodeConditionsRequestWithDefaults

func NewNodeConditionsRequestWithDefaults() *NodeConditionsRequest

NewNodeConditionsRequestWithDefaults instantiates a new NodeConditionsRequest 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 (*NodeConditionsRequest) GetItems

GetItems returns the Items field value

func (*NodeConditionsRequest) GetItemsOk

func (o *NodeConditionsRequest) GetItemsOk() ([]NodeConditionRequest, bool)

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

func (NodeConditionsRequest) MarshalJSON

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

func (*NodeConditionsRequest) SetItems

SetItems sets field value

func (NodeConditionsRequest) ToMap

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

func (*NodeConditionsRequest) UnmarshalJSON

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

type NodeDataUsageItemRequest

type NodeDataUsageItemRequest struct {
	// Unique identifier for the record, it may be pub_key, ipv4, ipv6 or device_id
	Id string `json:"id"`
	// Protocol used for the record
	Proto string `json:"proto"`
	// Total bytes sent
	Tx *int64 `json:"tx,omitempty"`
	// Total bytes received
	Rx                   *int64 `json:"rx,omitempty"`
	AdditionalProperties map[string]interface{}
}

NodeDataUsageItemRequest struct for NodeDataUsageItemRequest

func NewNodeDataUsageItemRequest

func NewNodeDataUsageItemRequest(id string, proto string) *NodeDataUsageItemRequest

NewNodeDataUsageItemRequest instantiates a new NodeDataUsageItemRequest 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 NewNodeDataUsageItemRequestWithDefaults

func NewNodeDataUsageItemRequestWithDefaults() *NodeDataUsageItemRequest

NewNodeDataUsageItemRequestWithDefaults instantiates a new NodeDataUsageItemRequest 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 (*NodeDataUsageItemRequest) GetId

func (o *NodeDataUsageItemRequest) GetId() string

GetId returns the Id field value

func (*NodeDataUsageItemRequest) GetIdOk

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

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

func (*NodeDataUsageItemRequest) GetProto

func (o *NodeDataUsageItemRequest) GetProto() string

GetProto returns the Proto field value

func (*NodeDataUsageItemRequest) GetProtoOk

func (o *NodeDataUsageItemRequest) GetProtoOk() (*string, bool)

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

func (*NodeDataUsageItemRequest) GetRx

func (o *NodeDataUsageItemRequest) GetRx() int64

GetRx returns the Rx field value if set, zero value otherwise.

func (*NodeDataUsageItemRequest) GetRxOk

func (o *NodeDataUsageItemRequest) GetRxOk() (*int64, bool)

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

func (*NodeDataUsageItemRequest) GetTx

func (o *NodeDataUsageItemRequest) GetTx() int64

GetTx returns the Tx field value if set, zero value otherwise.

func (*NodeDataUsageItemRequest) GetTxOk

func (o *NodeDataUsageItemRequest) GetTxOk() (*int64, bool)

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

func (*NodeDataUsageItemRequest) HasRx

func (o *NodeDataUsageItemRequest) HasRx() bool

HasRx returns a boolean if a field has been set.

func (*NodeDataUsageItemRequest) HasTx

func (o *NodeDataUsageItemRequest) HasTx() bool

HasTx returns a boolean if a field has been set.

func (NodeDataUsageItemRequest) MarshalJSON

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

func (*NodeDataUsageItemRequest) SetId

func (o *NodeDataUsageItemRequest) SetId(v string)

SetId sets field value

func (*NodeDataUsageItemRequest) SetProto

func (o *NodeDataUsageItemRequest) SetProto(v string)

SetProto sets field value

func (*NodeDataUsageItemRequest) SetRx

func (o *NodeDataUsageItemRequest) SetRx(v int64)

SetRx gets a reference to the given int64 and assigns it to the Rx field.

func (*NodeDataUsageItemRequest) SetTx

func (o *NodeDataUsageItemRequest) SetTx(v int64)

SetTx gets a reference to the given int64 and assigns it to the Tx field.

func (NodeDataUsageItemRequest) ToMap

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

func (*NodeDataUsageItemRequest) UnmarshalJSON

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

type NodeDataUsageReportRequest

type NodeDataUsageReportRequest struct {
	Timestamp            time.Time                  `json:"timestamp"`
	Items                []NodeDataUsageItemRequest `json:"items"`
	AdditionalProperties map[string]interface{}
}

NodeDataUsageReportRequest struct for NodeDataUsageReportRequest

func NewNodeDataUsageReportRequest

func NewNodeDataUsageReportRequest(timestamp time.Time, items []NodeDataUsageItemRequest) *NodeDataUsageReportRequest

NewNodeDataUsageReportRequest instantiates a new NodeDataUsageReportRequest 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 NewNodeDataUsageReportRequestWithDefaults

func NewNodeDataUsageReportRequestWithDefaults() *NodeDataUsageReportRequest

NewNodeDataUsageReportRequestWithDefaults instantiates a new NodeDataUsageReportRequest 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 (*NodeDataUsageReportRequest) GetItems

GetItems returns the Items field value

func (*NodeDataUsageReportRequest) GetItemsOk

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

func (*NodeDataUsageReportRequest) GetTimestamp

func (o *NodeDataUsageReportRequest) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*NodeDataUsageReportRequest) GetTimestampOk

func (o *NodeDataUsageReportRequest) GetTimestampOk() (*time.Time, bool)

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

func (NodeDataUsageReportRequest) MarshalJSON

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

func (*NodeDataUsageReportRequest) SetItems

SetItems sets field value

func (*NodeDataUsageReportRequest) SetTimestamp

func (o *NodeDataUsageReportRequest) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (NodeDataUsageReportRequest) ToMap

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

func (*NodeDataUsageReportRequest) UnmarshalJSON

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

type NodeDevice

type NodeDevice struct {
	Ipv4                 string `json:"ipv4"`
	Ipv6                 string `json:"ipv6"`
	PubKey               string `json:"pub_key"`
	PsKey                string `json:"ps_key"`
	AdditionalProperties map[string]interface{}
}

NodeDevice struct for NodeDevice

func NewNodeDevice

func NewNodeDevice(ipv4 string, ipv6 string, pubKey string, psKey string) *NodeDevice

NewNodeDevice instantiates a new NodeDevice 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 NewNodeDeviceWithDefaults

func NewNodeDeviceWithDefaults() *NodeDevice

NewNodeDeviceWithDefaults instantiates a new NodeDevice 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 (*NodeDevice) GetIpv4

func (o *NodeDevice) GetIpv4() string

GetIpv4 returns the Ipv4 field value

func (*NodeDevice) GetIpv4Ok

func (o *NodeDevice) GetIpv4Ok() (*string, bool)

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

func (*NodeDevice) GetIpv6

func (o *NodeDevice) GetIpv6() string

GetIpv6 returns the Ipv6 field value

func (*NodeDevice) GetIpv6Ok

func (o *NodeDevice) GetIpv6Ok() (*string, bool)

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

func (*NodeDevice) GetPsKey

func (o *NodeDevice) GetPsKey() string

GetPsKey returns the PsKey field value

func (*NodeDevice) GetPsKeyOk

func (o *NodeDevice) GetPsKeyOk() (*string, bool)

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

func (*NodeDevice) GetPubKey

func (o *NodeDevice) GetPubKey() string

GetPubKey returns the PubKey field value

func (*NodeDevice) GetPubKeyOk

func (o *NodeDevice) GetPubKeyOk() (*string, bool)

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

func (NodeDevice) MarshalJSON

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

func (*NodeDevice) SetIpv4

func (o *NodeDevice) SetIpv4(v string)

SetIpv4 sets field value

func (*NodeDevice) SetIpv6

func (o *NodeDevice) SetIpv6(v string)

SetIpv6 sets field value

func (*NodeDevice) SetPsKey

func (o *NodeDevice) SetPsKey(v string)

SetPsKey sets field value

func (*NodeDevice) SetPubKey

func (o *NodeDevice) SetPubKey(v string)

SetPubKey sets field value

func (NodeDevice) ToMap

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

func (*NodeDevice) UnmarshalJSON

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

type NodeRequest

type NodeRequest struct {
	Hostname    string   `json:"hostname" validate:"regexp=^[-a-zA-Z0-9_]+$"`
	IpAddresses []string `json:"ip_addresses"`
	Subnets     []string `json:"subnets,omitempty"`
	Tags        []string `json:"tags"`
	IsPublic    *bool    `json:"is_public,omitempty"`
	PubKey      string   `json:"pub_key"`
	Ports       []string `json:"ports"`
	// Ports used for HTTPs Proxy
	HttpsProxyPorts []string `json:"https_proxy_ports,omitempty"`
	// Ports used for Shadow Socket Bridge
	SsBridgePorts        []string       `json:"ss_bridge_ports,omitempty"`
	Status               *NodeStatus    `json:"status,omitempty"`
	Os                   NullableString `json:"os,omitempty"`
	OsVersion            NullableString `json:"os_version,omitempty"`
	OsArch               NullableString `json:"os_arch,omitempty"`
	Distro               NullableString `json:"distro,omitempty"`
	DistroVersion        NullableString `json:"distro_version,omitempty"`
	DistroCodename       NullableString `json:"distro_codename,omitempty"`
	AppVersion           NullableString `json:"app_version,omitempty"`
	AppBuild             NullableString `json:"app_build,omitempty"`
	AdditionalProperties map[string]interface{}
}

NodeRequest struct for NodeRequest

func NewNodeRequest

func NewNodeRequest(hostname string, ipAddresses []string, tags []string, pubKey string, ports []string) *NodeRequest

NewNodeRequest instantiates a new NodeRequest 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 NewNodeRequestWithDefaults

func NewNodeRequestWithDefaults() *NodeRequest

NewNodeRequestWithDefaults instantiates a new NodeRequest 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 (*NodeRequest) GetAppBuild

func (o *NodeRequest) GetAppBuild() string

GetAppBuild returns the AppBuild field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NodeRequest) GetAppBuildOk

func (o *NodeRequest) GetAppBuildOk() (*string, bool)

GetAppBuildOk returns a tuple with the AppBuild field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodeRequest) GetAppVersion

func (o *NodeRequest) GetAppVersion() string

GetAppVersion returns the AppVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NodeRequest) GetAppVersionOk

func (o *NodeRequest) GetAppVersionOk() (*string, bool)

GetAppVersionOk returns a tuple with the AppVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodeRequest) GetDistro

func (o *NodeRequest) GetDistro() string

GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NodeRequest) GetDistroCodename

func (o *NodeRequest) GetDistroCodename() string

GetDistroCodename returns the DistroCodename field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NodeRequest) GetDistroCodenameOk

func (o *NodeRequest) GetDistroCodenameOk() (*string, bool)

GetDistroCodenameOk returns a tuple with the DistroCodename field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodeRequest) GetDistroOk

func (o *NodeRequest) GetDistroOk() (*string, bool)

GetDistroOk returns a tuple with the Distro field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodeRequest) GetDistroVersion

func (o *NodeRequest) GetDistroVersion() string

GetDistroVersion returns the DistroVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NodeRequest) GetDistroVersionOk

func (o *NodeRequest) GetDistroVersionOk() (*string, bool)

GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodeRequest) GetHostname

func (o *NodeRequest) GetHostname() string

GetHostname returns the Hostname field value

func (*NodeRequest) GetHostnameOk

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

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

func (*NodeRequest) GetHttpsProxyPorts

func (o *NodeRequest) GetHttpsProxyPorts() []string

GetHttpsProxyPorts returns the HttpsProxyPorts field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NodeRequest) GetHttpsProxyPortsOk

func (o *NodeRequest) GetHttpsProxyPortsOk() ([]string, bool)

GetHttpsProxyPortsOk returns a tuple with the HttpsProxyPorts field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodeRequest) GetIpAddresses

func (o *NodeRequest) GetIpAddresses() []string

GetIpAddresses returns the IpAddresses field value

func (*NodeRequest) GetIpAddressesOk

func (o *NodeRequest) GetIpAddressesOk() ([]string, bool)

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

func (*NodeRequest) GetIsPublic

func (o *NodeRequest) GetIsPublic() bool

GetIsPublic returns the IsPublic field value if set, zero value otherwise.

func (*NodeRequest) GetIsPublicOk

func (o *NodeRequest) GetIsPublicOk() (*bool, bool)

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

func (*NodeRequest) GetOs

func (o *NodeRequest) GetOs() string

GetOs returns the Os field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NodeRequest) GetOsArch

func (o *NodeRequest) GetOsArch() string

GetOsArch returns the OsArch field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NodeRequest) GetOsArchOk

func (o *NodeRequest) GetOsArchOk() (*string, bool)

GetOsArchOk returns a tuple with the OsArch field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodeRequest) GetOsOk

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

GetOsOk returns a tuple with the Os field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodeRequest) GetOsVersion

func (o *NodeRequest) GetOsVersion() string

GetOsVersion returns the OsVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NodeRequest) GetOsVersionOk

func (o *NodeRequest) GetOsVersionOk() (*string, bool)

GetOsVersionOk returns a tuple with the OsVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodeRequest) GetPorts

func (o *NodeRequest) GetPorts() []string

GetPorts returns the Ports field value

func (*NodeRequest) GetPortsOk

func (o *NodeRequest) GetPortsOk() ([]string, bool)

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

func (*NodeRequest) GetPubKey

func (o *NodeRequest) GetPubKey() string

GetPubKey returns the PubKey field value

func (*NodeRequest) GetPubKeyOk

func (o *NodeRequest) GetPubKeyOk() (*string, bool)

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

func (*NodeRequest) GetSsBridgePorts

func (o *NodeRequest) GetSsBridgePorts() []string

GetSsBridgePorts returns the SsBridgePorts field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NodeRequest) GetSsBridgePortsOk

func (o *NodeRequest) GetSsBridgePortsOk() ([]string, bool)

GetSsBridgePortsOk returns a tuple with the SsBridgePorts field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodeRequest) GetStatus

func (o *NodeRequest) GetStatus() NodeStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*NodeRequest) GetStatusOk

func (o *NodeRequest) GetStatusOk() (*NodeStatus, bool)

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

func (*NodeRequest) GetSubnets

func (o *NodeRequest) GetSubnets() []string

GetSubnets returns the Subnets field value if set, zero value otherwise (both if not set or set to explicit null).

func (*NodeRequest) GetSubnetsOk

func (o *NodeRequest) GetSubnetsOk() ([]string, bool)

GetSubnetsOk returns a tuple with the Subnets field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NodeRequest) GetTags

func (o *NodeRequest) GetTags() []string

GetTags returns the Tags field value

func (*NodeRequest) GetTagsOk

func (o *NodeRequest) GetTagsOk() ([]string, bool)

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

func (*NodeRequest) HasAppBuild

func (o *NodeRequest) HasAppBuild() bool

HasAppBuild returns a boolean if a field has been set.

func (*NodeRequest) HasAppVersion

func (o *NodeRequest) HasAppVersion() bool

HasAppVersion returns a boolean if a field has been set.

func (*NodeRequest) HasDistro

func (o *NodeRequest) HasDistro() bool

HasDistro returns a boolean if a field has been set.

func (*NodeRequest) HasDistroCodename

func (o *NodeRequest) HasDistroCodename() bool

HasDistroCodename returns a boolean if a field has been set.

func (*NodeRequest) HasDistroVersion

func (o *NodeRequest) HasDistroVersion() bool

HasDistroVersion returns a boolean if a field has been set.

func (*NodeRequest) HasHttpsProxyPorts

func (o *NodeRequest) HasHttpsProxyPorts() bool

HasHttpsProxyPorts returns a boolean if a field has been set.

func (*NodeRequest) HasIsPublic

func (o *NodeRequest) HasIsPublic() bool

HasIsPublic returns a boolean if a field has been set.

func (*NodeRequest) HasOs

func (o *NodeRequest) HasOs() bool

HasOs returns a boolean if a field has been set.

func (*NodeRequest) HasOsArch

func (o *NodeRequest) HasOsArch() bool

HasOsArch returns a boolean if a field has been set.

func (*NodeRequest) HasOsVersion

func (o *NodeRequest) HasOsVersion() bool

HasOsVersion returns a boolean if a field has been set.

func (*NodeRequest) HasSsBridgePorts

func (o *NodeRequest) HasSsBridgePorts() bool

HasSsBridgePorts returns a boolean if a field has been set.

func (*NodeRequest) HasStatus

func (o *NodeRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*NodeRequest) HasSubnets

func (o *NodeRequest) HasSubnets() bool

HasSubnets returns a boolean if a field has been set.

func (NodeRequest) MarshalJSON

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

func (*NodeRequest) SetAppBuild

func (o *NodeRequest) SetAppBuild(v string)

SetAppBuild gets a reference to the given NullableString and assigns it to the AppBuild field.

func (*NodeRequest) SetAppBuildNil

func (o *NodeRequest) SetAppBuildNil()

SetAppBuildNil sets the value for AppBuild to be an explicit nil

func (*NodeRequest) SetAppVersion

func (o *NodeRequest) SetAppVersion(v string)

SetAppVersion gets a reference to the given NullableString and assigns it to the AppVersion field.

func (*NodeRequest) SetAppVersionNil

func (o *NodeRequest) SetAppVersionNil()

SetAppVersionNil sets the value for AppVersion to be an explicit nil

func (*NodeRequest) SetDistro

func (o *NodeRequest) SetDistro(v string)

SetDistro gets a reference to the given NullableString and assigns it to the Distro field.

func (*NodeRequest) SetDistroCodename

func (o *NodeRequest) SetDistroCodename(v string)

SetDistroCodename gets a reference to the given NullableString and assigns it to the DistroCodename field.

func (*NodeRequest) SetDistroCodenameNil

func (o *NodeRequest) SetDistroCodenameNil()

SetDistroCodenameNil sets the value for DistroCodename to be an explicit nil

func (*NodeRequest) SetDistroNil

func (o *NodeRequest) SetDistroNil()

SetDistroNil sets the value for Distro to be an explicit nil

func (*NodeRequest) SetDistroVersion

func (o *NodeRequest) SetDistroVersion(v string)

SetDistroVersion gets a reference to the given NullableString and assigns it to the DistroVersion field.

func (*NodeRequest) SetDistroVersionNil

func (o *NodeRequest) SetDistroVersionNil()

SetDistroVersionNil sets the value for DistroVersion to be an explicit nil

func (*NodeRequest) SetHostname

func (o *NodeRequest) SetHostname(v string)

SetHostname sets field value

func (*NodeRequest) SetHttpsProxyPorts

func (o *NodeRequest) SetHttpsProxyPorts(v []string)

SetHttpsProxyPorts gets a reference to the given []string and assigns it to the HttpsProxyPorts field.

func (*NodeRequest) SetIpAddresses

func (o *NodeRequest) SetIpAddresses(v []string)

SetIpAddresses sets field value

func (*NodeRequest) SetIsPublic

func (o *NodeRequest) SetIsPublic(v bool)

SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field.

func (*NodeRequest) SetOs

func (o *NodeRequest) SetOs(v string)

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

func (*NodeRequest) SetOsArch

func (o *NodeRequest) SetOsArch(v string)

SetOsArch gets a reference to the given NullableString and assigns it to the OsArch field.

func (*NodeRequest) SetOsArchNil

func (o *NodeRequest) SetOsArchNil()

SetOsArchNil sets the value for OsArch to be an explicit nil

func (*NodeRequest) SetOsNil

func (o *NodeRequest) SetOsNil()

SetOsNil sets the value for Os to be an explicit nil

func (*NodeRequest) SetOsVersion

func (o *NodeRequest) SetOsVersion(v string)

SetOsVersion gets a reference to the given NullableString and assigns it to the OsVersion field.

func (*NodeRequest) SetOsVersionNil

func (o *NodeRequest) SetOsVersionNil()

SetOsVersionNil sets the value for OsVersion to be an explicit nil

func (*NodeRequest) SetPorts

func (o *NodeRequest) SetPorts(v []string)

SetPorts sets field value

func (*NodeRequest) SetPubKey

func (o *NodeRequest) SetPubKey(v string)

SetPubKey sets field value

func (*NodeRequest) SetSsBridgePorts

func (o *NodeRequest) SetSsBridgePorts(v []string)

SetSsBridgePorts gets a reference to the given []string and assigns it to the SsBridgePorts field.

func (*NodeRequest) SetStatus

func (o *NodeRequest) SetStatus(v NodeStatus)

SetStatus gets a reference to the given NodeStatus and assigns it to the Status field.

func (*NodeRequest) SetSubnets

func (o *NodeRequest) SetSubnets(v []string)

SetSubnets gets a reference to the given []string and assigns it to the Subnets field.

func (*NodeRequest) SetTags

func (o *NodeRequest) SetTags(v []string)

SetTags sets field value

func (NodeRequest) ToMap

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

func (*NodeRequest) UnmarshalJSON

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

func (*NodeRequest) UnsetAppBuild

func (o *NodeRequest) UnsetAppBuild()

UnsetAppBuild ensures that no value is present for AppBuild, not even an explicit nil

func (*NodeRequest) UnsetAppVersion

func (o *NodeRequest) UnsetAppVersion()

UnsetAppVersion ensures that no value is present for AppVersion, not even an explicit nil

func (*NodeRequest) UnsetDistro

func (o *NodeRequest) UnsetDistro()

UnsetDistro ensures that no value is present for Distro, not even an explicit nil

func (*NodeRequest) UnsetDistroCodename

func (o *NodeRequest) UnsetDistroCodename()

UnsetDistroCodename ensures that no value is present for DistroCodename, not even an explicit nil

func (*NodeRequest) UnsetDistroVersion

func (o *NodeRequest) UnsetDistroVersion()

UnsetDistroVersion ensures that no value is present for DistroVersion, not even an explicit nil

func (*NodeRequest) UnsetOs

func (o *NodeRequest) UnsetOs()

UnsetOs ensures that no value is present for Os, not even an explicit nil

func (*NodeRequest) UnsetOsArch

func (o *NodeRequest) UnsetOsArch()

UnsetOsArch ensures that no value is present for OsArch, not even an explicit nil

func (*NodeRequest) UnsetOsVersion

func (o *NodeRequest) UnsetOsVersion()

UnsetOsVersion ensures that no value is present for OsVersion, not even an explicit nil

type NodeStatus

type NodeStatus string

NodeStatus * `pending` - Pending * `active` - Active * `drained` - Drained * `inactive` - Inactive

const (
	NODESTATUS_PENDING  NodeStatus = "pending"
	NODESTATUS_ACTIVE   NodeStatus = "active"
	NODESTATUS_DRAINED  NodeStatus = "drained"
	NODESTATUS_INACTIVE NodeStatus = "inactive"
)

List of NodeStatus

func NewNodeStatusFromValue

func NewNodeStatusFromValue(v string) (*NodeStatus, error)

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

func (NodeStatus) IsValid

func (v NodeStatus) IsValid() bool

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

func (NodeStatus) Ptr

func (v NodeStatus) Ptr() *NodeStatus

Ptr returns reference to NodeStatus value

func (*NodeStatus) UnmarshalJSON

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

type Null

type Null string

Null the model 'Null'

func NewNullFromValue

func NewNullFromValue(v string) (*Null, error)

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

func (Null) IsValid

func (v Null) IsValid() bool

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

func (Null) Ptr

func (v Null) Ptr() *Null

Ptr returns reference to Null value

func (*Null) UnmarshalJSON

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

type NullableASN

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

func NewNullableASN

func NewNullableASN(val *ASN) *NullableASN

func (NullableASN) Get

func (v NullableASN) Get() *ASN

func (NullableASN) IsSet

func (v NullableASN) IsSet() bool

func (NullableASN) MarshalJSON

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

func (*NullableASN) Set

func (v *NullableASN) Set(val *ASN)

func (*NullableASN) UnmarshalJSON

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

func (*NullableASN) Unset

func (v *NullableASN) Unset()

type NullableASNRequest

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

func NewNullableASNRequest

func NewNullableASNRequest(val *ASNRequest) *NullableASNRequest

func (NullableASNRequest) Get

func (v NullableASNRequest) Get() *ASNRequest

func (NullableASNRequest) IsSet

func (v NullableASNRequest) IsSet() bool

func (NullableASNRequest) MarshalJSON

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

func (*NullableASNRequest) Set

func (v *NullableASNRequest) Set(val *ASNRequest)

func (*NullableASNRequest) UnmarshalJSON

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

func (*NullableASNRequest) Unset

func (v *NullableASNRequest) Unset()

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 NullableAccountStatus

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

func NewNullableAccountStatus

func NewNullableAccountStatus(val *AccountStatus) *NullableAccountStatus

func (NullableAccountStatus) Get

func (NullableAccountStatus) IsSet

func (v NullableAccountStatus) IsSet() bool

func (NullableAccountStatus) MarshalJSON

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

func (*NullableAccountStatus) Set

func (v *NullableAccountStatus) Set(val *AccountStatus)

func (*NullableAccountStatus) UnmarshalJSON

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

func (*NullableAccountStatus) Unset

func (v *NullableAccountStatus) Unset()

type NullableAccountStatusEnum

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

func NewNullableAccountStatusEnum

func NewNullableAccountStatusEnum(val *AccountStatusEnum) *NullableAccountStatusEnum

func (NullableAccountStatusEnum) Get

func (NullableAccountStatusEnum) IsSet

func (v NullableAccountStatusEnum) IsSet() bool

func (NullableAccountStatusEnum) MarshalJSON

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

func (*NullableAccountStatusEnum) Set

func (*NullableAccountStatusEnum) UnmarshalJSON

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

func (*NullableAccountStatusEnum) Unset

func (v *NullableAccountStatusEnum) Unset()

type NullableAccountTokenPair

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

func NewNullableAccountTokenPair

func NewNullableAccountTokenPair(val *AccountTokenPair) *NullableAccountTokenPair

func (NullableAccountTokenPair) Get

func (NullableAccountTokenPair) IsSet

func (v NullableAccountTokenPair) IsSet() bool

func (NullableAccountTokenPair) MarshalJSON

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

func (*NullableAccountTokenPair) Set

func (*NullableAccountTokenPair) UnmarshalJSON

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

func (*NullableAccountTokenPair) Unset

func (v *NullableAccountTokenPair) Unset()

type NullableAccountTokenPairRequest

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

func (NullableAccountTokenPairRequest) Get

func (NullableAccountTokenPairRequest) IsSet

func (NullableAccountTokenPairRequest) MarshalJSON

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

func (*NullableAccountTokenPairRequest) Set

func (*NullableAccountTokenPairRequest) UnmarshalJSON

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

func (*NullableAccountTokenPairRequest) Unset

type NullableAccountTokenRefresh

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

func NewNullableAccountTokenRefresh

func NewNullableAccountTokenRefresh(val *AccountTokenRefresh) *NullableAccountTokenRefresh

func (NullableAccountTokenRefresh) Get

func (NullableAccountTokenRefresh) IsSet

func (NullableAccountTokenRefresh) MarshalJSON

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

func (*NullableAccountTokenRefresh) Set

func (*NullableAccountTokenRefresh) UnmarshalJSON

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

func (*NullableAccountTokenRefresh) Unset

func (v *NullableAccountTokenRefresh) Unset()

type NullableAccountTokenRefreshRequest

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

func (NullableAccountTokenRefreshRequest) Get

func (NullableAccountTokenRefreshRequest) IsSet

func (NullableAccountTokenRefreshRequest) MarshalJSON

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

func (*NullableAccountTokenRefreshRequest) Set

func (*NullableAccountTokenRefreshRequest) UnmarshalJSON

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

func (*NullableAccountTokenRefreshRequest) Unset

type NullableBillingAccount

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

func NewNullableBillingAccount

func NewNullableBillingAccount(val *BillingAccount) *NullableBillingAccount

func (NullableBillingAccount) Get

func (NullableBillingAccount) IsSet

func (v NullableBillingAccount) IsSet() bool

func (NullableBillingAccount) MarshalJSON

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

func (*NullableBillingAccount) Set

func (*NullableBillingAccount) UnmarshalJSON

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

func (*NullableBillingAccount) Unset

func (v *NullableBillingAccount) Unset()

type NullableBillingDataQuota

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

func NewNullableBillingDataQuota

func NewNullableBillingDataQuota(val *BillingDataQuota) *NullableBillingDataQuota

func (NullableBillingDataQuota) Get

func (NullableBillingDataQuota) IsSet

func (v NullableBillingDataQuota) IsSet() bool

func (NullableBillingDataQuota) MarshalJSON

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

func (*NullableBillingDataQuota) Set

func (*NullableBillingDataQuota) UnmarshalJSON

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

func (*NullableBillingDataQuota) Unset

func (v *NullableBillingDataQuota) Unset()

type NullableBillingDeviceQuota

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

func NewNullableBillingDeviceQuota

func NewNullableBillingDeviceQuota(val *BillingDeviceQuota) *NullableBillingDeviceQuota

func (NullableBillingDeviceQuota) Get

func (NullableBillingDeviceQuota) IsSet

func (v NullableBillingDeviceQuota) IsSet() bool

func (NullableBillingDeviceQuota) MarshalJSON

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

func (*NullableBillingDeviceQuota) Set

func (*NullableBillingDeviceQuota) UnmarshalJSON

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

func (*NullableBillingDeviceQuota) Unset

func (v *NullableBillingDeviceQuota) Unset()

type NullableBillingOptions

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

func NewNullableBillingOptions

func NewNullableBillingOptions(val *BillingOptions) *NullableBillingOptions

func (NullableBillingOptions) Get

func (NullableBillingOptions) IsSet

func (v NullableBillingOptions) IsSet() bool

func (NullableBillingOptions) MarshalJSON

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

func (*NullableBillingOptions) Set

func (*NullableBillingOptions) UnmarshalJSON

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

func (*NullableBillingOptions) Unset

func (v *NullableBillingOptions) Unset()

type NullableBillingPeriod

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

func NewNullableBillingPeriod

func NewNullableBillingPeriod(val *BillingPeriod) *NullableBillingPeriod

func (NullableBillingPeriod) Get

func (NullableBillingPeriod) IsSet

func (v NullableBillingPeriod) IsSet() bool

func (NullableBillingPeriod) MarshalJSON

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

func (*NullableBillingPeriod) Set

func (v *NullableBillingPeriod) Set(val *BillingPeriod)

func (*NullableBillingPeriod) UnmarshalJSON

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

func (*NullableBillingPeriod) Unset

func (v *NullableBillingPeriod) Unset()

type NullableBillingUsage

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

func NewNullableBillingUsage

func NewNullableBillingUsage(val *BillingUsage) *NullableBillingUsage

func (NullableBillingUsage) Get

func (NullableBillingUsage) IsSet

func (v NullableBillingUsage) IsSet() bool

func (NullableBillingUsage) MarshalJSON

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

func (*NullableBillingUsage) Set

func (v *NullableBillingUsage) Set(val *BillingUsage)

func (*NullableBillingUsage) UnmarshalJSON

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

func (*NullableBillingUsage) Unset

func (v *NullableBillingUsage) 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 NullableCloudPaymentsCardDetails

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

func (NullableCloudPaymentsCardDetails) Get

func (NullableCloudPaymentsCardDetails) IsSet

func (NullableCloudPaymentsCardDetails) MarshalJSON

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

func (*NullableCloudPaymentsCardDetails) Set

func (*NullableCloudPaymentsCardDetails) UnmarshalJSON

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

func (*NullableCloudPaymentsCardDetails) Unset

type NullableCloudPaymentsPaymentMethod

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

func (NullableCloudPaymentsPaymentMethod) Get

func (NullableCloudPaymentsPaymentMethod) IsSet

func (NullableCloudPaymentsPaymentMethod) MarshalJSON

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

func (*NullableCloudPaymentsPaymentMethod) Set

func (*NullableCloudPaymentsPaymentMethod) UnmarshalJSON

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

func (*NullableCloudPaymentsPaymentMethod) Unset

type NullableCloudPaymentsPaymentMethodCreateRequest

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

func (NullableCloudPaymentsPaymentMethodCreateRequest) Get

func (NullableCloudPaymentsPaymentMethodCreateRequest) IsSet

func (NullableCloudPaymentsPaymentMethodCreateRequest) MarshalJSON

func (*NullableCloudPaymentsPaymentMethodCreateRequest) Set

func (*NullableCloudPaymentsPaymentMethodCreateRequest) UnmarshalJSON

func (*NullableCloudPaymentsPaymentMethodCreateRequest) Unset

type NullableCloudPaymentsThreeDSecure

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

func (NullableCloudPaymentsThreeDSecure) Get

func (NullableCloudPaymentsThreeDSecure) IsSet

func (NullableCloudPaymentsThreeDSecure) MarshalJSON

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

func (*NullableCloudPaymentsThreeDSecure) Set

func (*NullableCloudPaymentsThreeDSecure) UnmarshalJSON

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

func (*NullableCloudPaymentsThreeDSecure) Unset

type NullableCloudPaymentsThreeDSecureCompleteRequest

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

func (NullableCloudPaymentsThreeDSecureCompleteRequest) Get

func (NullableCloudPaymentsThreeDSecureCompleteRequest) IsSet

func (NullableCloudPaymentsThreeDSecureCompleteRequest) MarshalJSON

func (*NullableCloudPaymentsThreeDSecureCompleteRequest) Set

func (*NullableCloudPaymentsThreeDSecureCompleteRequest) UnmarshalJSON

func (*NullableCloudPaymentsThreeDSecureCompleteRequest) Unset

type NullableComparisonData

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

func NewNullableComparisonData

func NewNullableComparisonData(val *ComparisonData) *NullableComparisonData

func (NullableComparisonData) Get

func (NullableComparisonData) IsSet

func (v NullableComparisonData) IsSet() bool

func (NullableComparisonData) MarshalJSON

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

func (*NullableComparisonData) Set

func (*NullableComparisonData) UnmarshalJSON

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

func (*NullableComparisonData) Unset

func (v *NullableComparisonData) Unset()

type NullableCondition

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

func NewNullableCondition

func NewNullableCondition(val *Condition) *NullableCondition

func (NullableCondition) Get

func (v NullableCondition) Get() *Condition

func (NullableCondition) IsSet

func (v NullableCondition) IsSet() bool

func (NullableCondition) MarshalJSON

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

func (*NullableCondition) Set

func (v *NullableCondition) Set(val *Condition)

func (*NullableCondition) UnmarshalJSON

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

func (*NullableCondition) Unset

func (v *NullableCondition) Unset()

type NullableConnectionStatus

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

func NewNullableConnectionStatus

func NewNullableConnectionStatus(val *ConnectionStatus) *NullableConnectionStatus

func (NullableConnectionStatus) Get

func (NullableConnectionStatus) IsSet

func (v NullableConnectionStatus) IsSet() bool

func (NullableConnectionStatus) MarshalJSON

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

func (*NullableConnectionStatus) Set

func (*NullableConnectionStatus) UnmarshalJSON

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

func (*NullableConnectionStatus) Unset

func (v *NullableConnectionStatus) Unset()

type NullableCountry

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

func NewNullableCountry

func NewNullableCountry(val *Country) *NullableCountry

func (NullableCountry) Get

func (v NullableCountry) Get() *Country

func (NullableCountry) IsSet

func (v NullableCountry) IsSet() bool

func (NullableCountry) MarshalJSON

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

func (*NullableCountry) Set

func (v *NullableCountry) Set(val *Country)

func (*NullableCountry) UnmarshalJSON

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

func (*NullableCountry) Unset

func (v *NullableCountry) Unset()

type NullableCountryRequest

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

func NewNullableCountryRequest

func NewNullableCountryRequest(val *CountryRequest) *NullableCountryRequest

func (NullableCountryRequest) Get

func (NullableCountryRequest) IsSet

func (v NullableCountryRequest) IsSet() bool

func (NullableCountryRequest) MarshalJSON

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

func (*NullableCountryRequest) Set

func (*NullableCountryRequest) UnmarshalJSON

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

func (*NullableCountryRequest) Unset

func (v *NullableCountryRequest) Unset()

type NullableCurrency

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

func NewNullableCurrency

func NewNullableCurrency(val *Currency) *NullableCurrency

func (NullableCurrency) Get

func (v NullableCurrency) Get() *Currency

func (NullableCurrency) IsSet

func (v NullableCurrency) IsSet() bool

func (NullableCurrency) MarshalJSON

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

func (*NullableCurrency) Set

func (v *NullableCurrency) Set(val *Currency)

func (*NullableCurrency) UnmarshalJSON

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

func (*NullableCurrency) Unset

func (v *NullableCurrency) Unset()

type NullableDashboardAnalytics

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

func NewNullableDashboardAnalytics

func NewNullableDashboardAnalytics(val *DashboardAnalytics) *NullableDashboardAnalytics

func (NullableDashboardAnalytics) Get

func (NullableDashboardAnalytics) IsSet

func (v NullableDashboardAnalytics) IsSet() bool

func (NullableDashboardAnalytics) MarshalJSON

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

func (*NullableDashboardAnalytics) Set

func (*NullableDashboardAnalytics) UnmarshalJSON

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

func (*NullableDashboardAnalytics) Unset

func (v *NullableDashboardAnalytics) Unset()

type NullableDataPoint

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

func NewNullableDataPoint

func NewNullableDataPoint(val *DataPoint) *NullableDataPoint

func (NullableDataPoint) Get

func (v NullableDataPoint) Get() *DataPoint

func (NullableDataPoint) IsSet

func (v NullableDataPoint) IsSet() bool

func (NullableDataPoint) MarshalJSON

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

func (*NullableDataPoint) Set

func (v *NullableDataPoint) Set(val *DataPoint)

func (*NullableDataPoint) UnmarshalJSON

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

func (*NullableDataPoint) Unset

func (v *NullableDataPoint) Unset()

type NullableDevice

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

func NewNullableDevice

func NewNullableDevice(val *Device) *NullableDevice

func (NullableDevice) Get

func (v NullableDevice) Get() *Device

func (NullableDevice) IsSet

func (v NullableDevice) IsSet() bool

func (NullableDevice) MarshalJSON

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

func (*NullableDevice) Set

func (v *NullableDevice) Set(val *Device)

func (*NullableDevice) UnmarshalJSON

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

func (*NullableDevice) Unset

func (v *NullableDevice) Unset()

type NullableDeviceAnalytics

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

func NewNullableDeviceAnalytics

func NewNullableDeviceAnalytics(val *DeviceAnalytics) *NullableDeviceAnalytics

func (NullableDeviceAnalytics) Get

func (NullableDeviceAnalytics) IsSet

func (v NullableDeviceAnalytics) IsSet() bool

func (NullableDeviceAnalytics) MarshalJSON

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

func (*NullableDeviceAnalytics) Set

func (*NullableDeviceAnalytics) UnmarshalJSON

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

func (*NullableDeviceAnalytics) Unset

func (v *NullableDeviceAnalytics) Unset()

type NullableDeviceAnalyticsDevice

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

func (NullableDeviceAnalyticsDevice) Get

func (NullableDeviceAnalyticsDevice) IsSet

func (NullableDeviceAnalyticsDevice) MarshalJSON

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

func (*NullableDeviceAnalyticsDevice) Set

func (*NullableDeviceAnalyticsDevice) UnmarshalJSON

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

func (*NullableDeviceAnalyticsDevice) Unset

func (v *NullableDeviceAnalyticsDevice) Unset()

type NullableDeviceCode

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

func NewNullableDeviceCode

func NewNullableDeviceCode(val *DeviceCode) *NullableDeviceCode

func (NullableDeviceCode) Get

func (v NullableDeviceCode) Get() *DeviceCode

func (NullableDeviceCode) IsSet

func (v NullableDeviceCode) IsSet() bool

func (NullableDeviceCode) MarshalJSON

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

func (*NullableDeviceCode) Set

func (v *NullableDeviceCode) Set(val *DeviceCode)

func (*NullableDeviceCode) UnmarshalJSON

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

func (*NullableDeviceCode) Unset

func (v *NullableDeviceCode) Unset()

type NullableDeviceCodeApproveRequest

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

func (NullableDeviceCodeApproveRequest) Get

func (NullableDeviceCodeApproveRequest) IsSet

func (NullableDeviceCodeApproveRequest) MarshalJSON

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

func (*NullableDeviceCodeApproveRequest) Set

func (*NullableDeviceCodeApproveRequest) UnmarshalJSON

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

func (*NullableDeviceCodeApproveRequest) Unset

type NullableDeviceCodeRequest

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

func NewNullableDeviceCodeRequest

func NewNullableDeviceCodeRequest(val *DeviceCodeRequest) *NullableDeviceCodeRequest

func (NullableDeviceCodeRequest) Get

func (NullableDeviceCodeRequest) IsSet

func (v NullableDeviceCodeRequest) IsSet() bool

func (NullableDeviceCodeRequest) MarshalJSON

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

func (*NullableDeviceCodeRequest) Set

func (*NullableDeviceCodeRequest) UnmarshalJSON

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

func (*NullableDeviceCodeRequest) Unset

func (v *NullableDeviceCodeRequest) Unset()

type NullableDeviceCodeStatus

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

func NewNullableDeviceCodeStatus

func NewNullableDeviceCodeStatus(val *DeviceCodeStatus) *NullableDeviceCodeStatus

func (NullableDeviceCodeStatus) Get

func (NullableDeviceCodeStatus) IsSet

func (v NullableDeviceCodeStatus) IsSet() bool

func (NullableDeviceCodeStatus) MarshalJSON

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

func (*NullableDeviceCodeStatus) Set

func (*NullableDeviceCodeStatus) UnmarshalJSON

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

func (*NullableDeviceCodeStatus) Unset

func (v *NullableDeviceCodeStatus) Unset()

type NullableDeviceData

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

func NewNullableDeviceData

func NewNullableDeviceData(val *DeviceData) *NullableDeviceData

func (NullableDeviceData) Get

func (v NullableDeviceData) Get() *DeviceData

func (NullableDeviceData) IsSet

func (v NullableDeviceData) IsSet() bool

func (NullableDeviceData) MarshalJSON

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

func (*NullableDeviceData) Set

func (v *NullableDeviceData) Set(val *DeviceData)

func (*NullableDeviceData) UnmarshalJSON

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

func (*NullableDeviceData) Unset

func (v *NullableDeviceData) Unset()

type NullableDeviceDataUsage

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

func NewNullableDeviceDataUsage

func NewNullableDeviceDataUsage(val *DeviceDataUsage) *NullableDeviceDataUsage

func (NullableDeviceDataUsage) Get

func (NullableDeviceDataUsage) IsSet

func (v NullableDeviceDataUsage) IsSet() bool

func (NullableDeviceDataUsage) MarshalJSON

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

func (*NullableDeviceDataUsage) Set

func (*NullableDeviceDataUsage) UnmarshalJSON

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

func (*NullableDeviceDataUsage) Unset

func (v *NullableDeviceDataUsage) Unset()

type NullableDeviceDataUsageRequest

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

func (NullableDeviceDataUsageRequest) Get

func (NullableDeviceDataUsageRequest) IsSet

func (NullableDeviceDataUsageRequest) MarshalJSON

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

func (*NullableDeviceDataUsageRequest) Set

func (*NullableDeviceDataUsageRequest) UnmarshalJSON

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

func (*NullableDeviceDataUsageRequest) Unset

func (v *NullableDeviceDataUsageRequest) Unset()

type NullableDeviceRequest

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

func NewNullableDeviceRequest

func NewNullableDeviceRequest(val *DeviceRequest) *NullableDeviceRequest

func (NullableDeviceRequest) Get

func (NullableDeviceRequest) IsSet

func (v NullableDeviceRequest) IsSet() bool

func (NullableDeviceRequest) MarshalJSON

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

func (*NullableDeviceRequest) Set

func (v *NullableDeviceRequest) Set(val *DeviceRequest)

func (*NullableDeviceRequest) UnmarshalJSON

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

func (*NullableDeviceRequest) Unset

func (v *NullableDeviceRequest) Unset()

type NullableEntitlement

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

func NewNullableEntitlement

func NewNullableEntitlement(val *Entitlement) *NullableEntitlement

func (NullableEntitlement) Get

func (NullableEntitlement) IsSet

func (v NullableEntitlement) IsSet() bool

func (NullableEntitlement) MarshalJSON

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

func (*NullableEntitlement) Set

func (v *NullableEntitlement) Set(val *Entitlement)

func (*NullableEntitlement) UnmarshalJSON

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

func (*NullableEntitlement) Unset

func (v *NullableEntitlement) 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 NullableIPInfo

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

func NewNullableIPInfo

func NewNullableIPInfo(val *IPInfo) *NullableIPInfo

func (NullableIPInfo) Get

func (v NullableIPInfo) Get() *IPInfo

func (NullableIPInfo) IsSet

func (v NullableIPInfo) IsSet() bool

func (NullableIPInfo) MarshalJSON

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

func (*NullableIPInfo) Set

func (v *NullableIPInfo) Set(val *IPInfo)

func (*NullableIPInfo) UnmarshalJSON

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

func (*NullableIPInfo) Unset

func (v *NullableIPInfo) Unset()

type NullableIPInfoRequest

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

func NewNullableIPInfoRequest

func NewNullableIPInfoRequest(val *IPInfoRequest) *NullableIPInfoRequest

func (NullableIPInfoRequest) Get

func (NullableIPInfoRequest) IsSet

func (v NullableIPInfoRequest) IsSet() bool

func (NullableIPInfoRequest) MarshalJSON

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

func (*NullableIPInfoRequest) Set

func (v *NullableIPInfoRequest) Set(val *IPInfoRequest)

func (*NullableIPInfoRequest) UnmarshalJSON

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

func (*NullableIPInfoRequest) Unset

func (v *NullableIPInfoRequest) 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 NullableInterval

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

func NewNullableInterval

func NewNullableInterval(val *Interval) *NullableInterval

func (NullableInterval) Get

func (v NullableInterval) Get() *Interval

func (NullableInterval) IsSet

func (v NullableInterval) IsSet() bool

func (NullableInterval) MarshalJSON

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

func (*NullableInterval) Set

func (v *NullableInterval) Set(val *Interval)

func (*NullableInterval) UnmarshalJSON

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

func (*NullableInterval) Unset

func (v *NullableInterval) Unset()

type NullableInvoice

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

func NewNullableInvoice

func NewNullableInvoice(val *Invoice) *NullableInvoice

func (NullableInvoice) Get

func (v NullableInvoice) Get() *Invoice

func (NullableInvoice) IsSet

func (v NullableInvoice) IsSet() bool

func (NullableInvoice) MarshalJSON

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

func (*NullableInvoice) Set

func (v *NullableInvoice) Set(val *Invoice)

func (*NullableInvoice) UnmarshalJSON

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

func (*NullableInvoice) Unset

func (v *NullableInvoice) Unset()

type NullableInvoiceLine

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

func NewNullableInvoiceLine

func NewNullableInvoiceLine(val *InvoiceLine) *NullableInvoiceLine

func (NullableInvoiceLine) Get

func (NullableInvoiceLine) IsSet

func (v NullableInvoiceLine) IsSet() bool

func (NullableInvoiceLine) MarshalJSON

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

func (*NullableInvoiceLine) Set

func (v *NullableInvoiceLine) Set(val *InvoiceLine)

func (*NullableInvoiceLine) UnmarshalJSON

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

func (*NullableInvoiceLine) Unset

func (v *NullableInvoiceLine) Unset()

type NullableInvoiceStatus

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

func NewNullableInvoiceStatus

func NewNullableInvoiceStatus(val *InvoiceStatus) *NullableInvoiceStatus

func (NullableInvoiceStatus) Get

func (NullableInvoiceStatus) IsSet

func (v NullableInvoiceStatus) IsSet() bool

func (NullableInvoiceStatus) MarshalJSON

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

func (*NullableInvoiceStatus) Set

func (v *NullableInvoiceStatus) Set(val *InvoiceStatus)

func (*NullableInvoiceStatus) UnmarshalJSON

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

func (*NullableInvoiceStatus) Unset

func (v *NullableInvoiceStatus) Unset()

type NullableInvoiceTotalDetails

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

func NewNullableInvoiceTotalDetails

func NewNullableInvoiceTotalDetails(val *InvoiceTotalDetails) *NullableInvoiceTotalDetails

func (NullableInvoiceTotalDetails) Get

func (NullableInvoiceTotalDetails) IsSet

func (NullableInvoiceTotalDetails) MarshalJSON

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

func (*NullableInvoiceTotalDetails) Set

func (*NullableInvoiceTotalDetails) UnmarshalJSON

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

func (*NullableInvoiceTotalDetails) Unset

func (v *NullableInvoiceTotalDetails) Unset()

type NullableLocation

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

func NewNullableLocation

func NewNullableLocation(val *Location) *NullableLocation

func (NullableLocation) Get

func (v NullableLocation) Get() *Location

func (NullableLocation) IsSet

func (v NullableLocation) IsSet() bool

func (NullableLocation) MarshalJSON

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

func (*NullableLocation) Set

func (v *NullableLocation) Set(val *Location)

func (*NullableLocation) UnmarshalJSON

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

func (*NullableLocation) Unset

func (v *NullableLocation) Unset()

type NullableLocationRegion

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

func NewNullableLocationRegion

func NewNullableLocationRegion(val *LocationRegion) *NullableLocationRegion

func (NullableLocationRegion) Get

func (NullableLocationRegion) IsSet

func (v NullableLocationRegion) IsSet() bool

func (NullableLocationRegion) MarshalJSON

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

func (*NullableLocationRegion) Set

func (*NullableLocationRegion) UnmarshalJSON

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

func (*NullableLocationRegion) Unset

func (v *NullableLocationRegion) Unset()

type NullableLocationRegionRequest

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

func (NullableLocationRegionRequest) Get

func (NullableLocationRegionRequest) IsSet

func (NullableLocationRegionRequest) MarshalJSON

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

func (*NullableLocationRegionRequest) Set

func (*NullableLocationRegionRequest) UnmarshalJSON

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

func (*NullableLocationRegionRequest) Unset

func (v *NullableLocationRegionRequest) Unset()

type NullableLocationRequest

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

func NewNullableLocationRequest

func NewNullableLocationRequest(val *LocationRequest) *NullableLocationRequest

func (NullableLocationRequest) Get

func (NullableLocationRequest) IsSet

func (v NullableLocationRequest) IsSet() bool

func (NullableLocationRequest) MarshalJSON

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

func (*NullableLocationRequest) Set

func (*NullableLocationRequest) UnmarshalJSON

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

func (*NullableLocationRequest) Unset

func (v *NullableLocationRequest) Unset()

type NullableManagedBy

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

func NewNullableManagedBy

func NewNullableManagedBy(val *ManagedBy) *NullableManagedBy

func (NullableManagedBy) Get

func (v NullableManagedBy) Get() *ManagedBy

func (NullableManagedBy) IsSet

func (v NullableManagedBy) IsSet() bool

func (NullableManagedBy) MarshalJSON

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

func (*NullableManagedBy) Set

func (v *NullableManagedBy) Set(val *ManagedBy)

func (*NullableManagedBy) UnmarshalJSON

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

func (*NullableManagedBy) Unset

func (v *NullableManagedBy) Unset()

type NullableNode

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

func NewNullableNode

func NewNullableNode(val *Node) *NullableNode

func (NullableNode) Get

func (v NullableNode) Get() *Node

func (NullableNode) IsSet

func (v NullableNode) IsSet() bool

func (NullableNode) MarshalJSON

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

func (*NullableNode) Set

func (v *NullableNode) Set(val *Node)

func (*NullableNode) UnmarshalJSON

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

func (*NullableNode) Unset

func (v *NullableNode) Unset()

type NullableNodeCondition

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

func NewNullableNodeCondition

func NewNullableNodeCondition(val *NodeCondition) *NullableNodeCondition

func (NullableNodeCondition) Get

func (NullableNodeCondition) IsSet

func (v NullableNodeCondition) IsSet() bool

func (NullableNodeCondition) MarshalJSON

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

func (*NullableNodeCondition) Set

func (v *NullableNodeCondition) Set(val *NodeCondition)

func (*NullableNodeCondition) UnmarshalJSON

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

func (*NullableNodeCondition) Unset

func (v *NullableNodeCondition) Unset()

type NullableNodeConditionRequest

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

func NewNullableNodeConditionRequest

func NewNullableNodeConditionRequest(val *NodeConditionRequest) *NullableNodeConditionRequest

func (NullableNodeConditionRequest) Get

func (NullableNodeConditionRequest) IsSet

func (NullableNodeConditionRequest) MarshalJSON

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

func (*NullableNodeConditionRequest) Set

func (*NullableNodeConditionRequest) UnmarshalJSON

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

func (*NullableNodeConditionRequest) Unset

func (v *NullableNodeConditionRequest) Unset()

type NullableNodeConditionType

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

func NewNullableNodeConditionType

func NewNullableNodeConditionType(val *NodeConditionType) *NullableNodeConditionType

func (NullableNodeConditionType) Get

func (NullableNodeConditionType) IsSet

func (v NullableNodeConditionType) IsSet() bool

func (NullableNodeConditionType) MarshalJSON

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

func (*NullableNodeConditionType) Set

func (*NullableNodeConditionType) UnmarshalJSON

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

func (*NullableNodeConditionType) Unset

func (v *NullableNodeConditionType) Unset()

type NullableNodeConditionsRequest

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

func (NullableNodeConditionsRequest) Get

func (NullableNodeConditionsRequest) IsSet

func (NullableNodeConditionsRequest) MarshalJSON

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

func (*NullableNodeConditionsRequest) Set

func (*NullableNodeConditionsRequest) UnmarshalJSON

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

func (*NullableNodeConditionsRequest) Unset

func (v *NullableNodeConditionsRequest) Unset()

type NullableNodeDataUsageItemRequest

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

func (NullableNodeDataUsageItemRequest) Get

func (NullableNodeDataUsageItemRequest) IsSet

func (NullableNodeDataUsageItemRequest) MarshalJSON

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

func (*NullableNodeDataUsageItemRequest) Set

func (*NullableNodeDataUsageItemRequest) UnmarshalJSON

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

func (*NullableNodeDataUsageItemRequest) Unset

type NullableNodeDataUsageReportRequest

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

func (NullableNodeDataUsageReportRequest) Get

func (NullableNodeDataUsageReportRequest) IsSet

func (NullableNodeDataUsageReportRequest) MarshalJSON

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

func (*NullableNodeDataUsageReportRequest) Set

func (*NullableNodeDataUsageReportRequest) UnmarshalJSON

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

func (*NullableNodeDataUsageReportRequest) Unset

type NullableNodeDevice

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

func NewNullableNodeDevice

func NewNullableNodeDevice(val *NodeDevice) *NullableNodeDevice

func (NullableNodeDevice) Get

func (v NullableNodeDevice) Get() *NodeDevice

func (NullableNodeDevice) IsSet

func (v NullableNodeDevice) IsSet() bool

func (NullableNodeDevice) MarshalJSON

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

func (*NullableNodeDevice) Set

func (v *NullableNodeDevice) Set(val *NodeDevice)

func (*NullableNodeDevice) UnmarshalJSON

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

func (*NullableNodeDevice) Unset

func (v *NullableNodeDevice) Unset()

type NullableNodeRequest

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

func NewNullableNodeRequest

func NewNullableNodeRequest(val *NodeRequest) *NullableNodeRequest

func (NullableNodeRequest) Get

func (NullableNodeRequest) IsSet

func (v NullableNodeRequest) IsSet() bool

func (NullableNodeRequest) MarshalJSON

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

func (*NullableNodeRequest) Set

func (v *NullableNodeRequest) Set(val *NodeRequest)

func (*NullableNodeRequest) UnmarshalJSON

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

func (*NullableNodeRequest) Unset

func (v *NullableNodeRequest) Unset()

type NullableNodeStatus

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

func NewNullableNodeStatus

func NewNullableNodeStatus(val *NodeStatus) *NullableNodeStatus

func (NullableNodeStatus) Get

func (v NullableNodeStatus) Get() *NodeStatus

func (NullableNodeStatus) IsSet

func (v NullableNodeStatus) IsSet() bool

func (NullableNodeStatus) MarshalJSON

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

func (*NullableNodeStatus) Set

func (v *NullableNodeStatus) Set(val *NodeStatus)

func (*NullableNodeStatus) UnmarshalJSON

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

func (*NullableNodeStatus) Unset

func (v *NullableNodeStatus) Unset()

type NullableNull

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

func NewNullableNull

func NewNullableNull(val *Null) *NullableNull

func (NullableNull) Get

func (v NullableNull) Get() *Null

func (NullableNull) IsSet

func (v NullableNull) IsSet() bool

func (NullableNull) MarshalJSON

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

func (*NullableNull) Set

func (v *NullableNull) Set(val *Null)

func (*NullableNull) UnmarshalJSON

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

func (*NullableNull) Unset

func (v *NullableNull) Unset()

type NullablePaginatedAccountList

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

func NewNullablePaginatedAccountList

func NewNullablePaginatedAccountList(val *PaginatedAccountList) *NullablePaginatedAccountList

func (NullablePaginatedAccountList) Get

func (NullablePaginatedAccountList) IsSet

func (NullablePaginatedAccountList) MarshalJSON

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

func (*NullablePaginatedAccountList) Set

func (*NullablePaginatedAccountList) UnmarshalJSON

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

func (*NullablePaginatedAccountList) Unset

func (v *NullablePaginatedAccountList) Unset()

type NullablePaginatedDeviceList

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

func NewNullablePaginatedDeviceList

func NewNullablePaginatedDeviceList(val *PaginatedDeviceList) *NullablePaginatedDeviceList

func (NullablePaginatedDeviceList) Get

func (NullablePaginatedDeviceList) IsSet

func (NullablePaginatedDeviceList) MarshalJSON

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

func (*NullablePaginatedDeviceList) Set

func (*NullablePaginatedDeviceList) UnmarshalJSON

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

func (*NullablePaginatedDeviceList) Unset

func (v *NullablePaginatedDeviceList) Unset()

type NullablePaginatedLocationList

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

func (NullablePaginatedLocationList) Get

func (NullablePaginatedLocationList) IsSet

func (NullablePaginatedLocationList) MarshalJSON

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

func (*NullablePaginatedLocationList) Set

func (*NullablePaginatedLocationList) UnmarshalJSON

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

func (*NullablePaginatedLocationList) Unset

func (v *NullablePaginatedLocationList) Unset()

type NullablePaginatedNodeList

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

func NewNullablePaginatedNodeList

func NewNullablePaginatedNodeList(val *PaginatedNodeList) *NullablePaginatedNodeList

func (NullablePaginatedNodeList) Get

func (NullablePaginatedNodeList) IsSet

func (v NullablePaginatedNodeList) IsSet() bool

func (NullablePaginatedNodeList) MarshalJSON

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

func (*NullablePaginatedNodeList) Set

func (*NullablePaginatedNodeList) UnmarshalJSON

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

func (*NullablePaginatedNodeList) Unset

func (v *NullablePaginatedNodeList) Unset()

type NullablePaginatedPaymentMethodList

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

func (NullablePaginatedPaymentMethodList) Get

func (NullablePaginatedPaymentMethodList) IsSet

func (NullablePaginatedPaymentMethodList) MarshalJSON

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

func (*NullablePaginatedPaymentMethodList) Set

func (*NullablePaginatedPaymentMethodList) UnmarshalJSON

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

func (*NullablePaginatedPaymentMethodList) Unset

type NullablePaginatedProviderList

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

func (NullablePaginatedProviderList) Get

func (NullablePaginatedProviderList) IsSet

func (NullablePaginatedProviderList) MarshalJSON

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

func (*NullablePaginatedProviderList) Set

func (*NullablePaginatedProviderList) UnmarshalJSON

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

func (*NullablePaginatedProviderList) Unset

func (v *NullablePaginatedProviderList) Unset()

type NullablePaginatedSubscriptionList

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

func (NullablePaginatedSubscriptionList) Get

func (NullablePaginatedSubscriptionList) IsSet

func (NullablePaginatedSubscriptionList) MarshalJSON

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

func (*NullablePaginatedSubscriptionList) Set

func (*NullablePaginatedSubscriptionList) UnmarshalJSON

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

func (*NullablePaginatedSubscriptionList) Unset

type NullablePaginatedWalletList

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

func NewNullablePaginatedWalletList

func NewNullablePaginatedWalletList(val *PaginatedWalletList) *NullablePaginatedWalletList

func (NullablePaginatedWalletList) Get

func (NullablePaginatedWalletList) IsSet

func (NullablePaginatedWalletList) MarshalJSON

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

func (*NullablePaginatedWalletList) Set

func (*NullablePaginatedWalletList) UnmarshalJSON

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

func (*NullablePaginatedWalletList) Unset

func (v *NullablePaginatedWalletList) Unset()

type NullablePaginatedWalletTransactionList

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

func (NullablePaginatedWalletTransactionList) Get

func (NullablePaginatedWalletTransactionList) IsSet

func (NullablePaginatedWalletTransactionList) MarshalJSON

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

func (*NullablePaginatedWalletTransactionList) Set

func (*NullablePaginatedWalletTransactionList) UnmarshalJSON

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

func (*NullablePaginatedWalletTransactionList) Unset

type NullablePatchedDeviceRequest

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

func NewNullablePatchedDeviceRequest

func NewNullablePatchedDeviceRequest(val *PatchedDeviceRequest) *NullablePatchedDeviceRequest

func (NullablePatchedDeviceRequest) Get

func (NullablePatchedDeviceRequest) IsSet

func (NullablePatchedDeviceRequest) MarshalJSON

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

func (*NullablePatchedDeviceRequest) Set

func (*NullablePatchedDeviceRequest) UnmarshalJSON

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

func (*NullablePatchedDeviceRequest) Unset

func (v *NullablePatchedDeviceRequest) Unset()

type NullablePatchedNodeRequest

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

func NewNullablePatchedNodeRequest

func NewNullablePatchedNodeRequest(val *PatchedNodeRequest) *NullablePatchedNodeRequest

func (NullablePatchedNodeRequest) Get

func (NullablePatchedNodeRequest) IsSet

func (v NullablePatchedNodeRequest) IsSet() bool

func (NullablePatchedNodeRequest) MarshalJSON

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

func (*NullablePatchedNodeRequest) Set

func (*NullablePatchedNodeRequest) UnmarshalJSON

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

func (*NullablePatchedNodeRequest) Unset

func (v *NullablePatchedNodeRequest) Unset()

type NullablePaymentMethod

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

func NewNullablePaymentMethod

func NewNullablePaymentMethod(val *PaymentMethod) *NullablePaymentMethod

func (NullablePaymentMethod) Get

func (NullablePaymentMethod) IsSet

func (v NullablePaymentMethod) IsSet() bool

func (NullablePaymentMethod) MarshalJSON

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

func (*NullablePaymentMethod) Set

func (v *NullablePaymentMethod) Set(val *PaymentMethod)

func (*NullablePaymentMethod) UnmarshalJSON

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

func (*NullablePaymentMethod) Unset

func (v *NullablePaymentMethod) Unset()

type NullablePaymentMethodCard

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

func NewNullablePaymentMethodCard

func NewNullablePaymentMethodCard(val *PaymentMethodCard) *NullablePaymentMethodCard

func (NullablePaymentMethodCard) Get

func (NullablePaymentMethodCard) IsSet

func (v NullablePaymentMethodCard) IsSet() bool

func (NullablePaymentMethodCard) MarshalJSON

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

func (*NullablePaymentMethodCard) Set

func (*NullablePaymentMethodCard) UnmarshalJSON

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

func (*NullablePaymentMethodCard) Unset

func (v *NullablePaymentMethodCard) Unset()

type NullablePeriod

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

func NewNullablePeriod

func NewNullablePeriod(val *Period) *NullablePeriod

func (NullablePeriod) Get

func (v NullablePeriod) Get() *Period

func (NullablePeriod) IsSet

func (v NullablePeriod) IsSet() bool

func (NullablePeriod) MarshalJSON

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

func (*NullablePeriod) Set

func (v *NullablePeriod) Set(val *Period)

func (*NullablePeriod) UnmarshalJSON

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

func (*NullablePeriod) Unset

func (v *NullablePeriod) Unset()

type NullablePlan

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

func NewNullablePlan

func NewNullablePlan(val *Plan) *NullablePlan

func (NullablePlan) Get

func (v NullablePlan) Get() *Plan

func (NullablePlan) IsSet

func (v NullablePlan) IsSet() bool

func (NullablePlan) MarshalJSON

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

func (*NullablePlan) Set

func (v *NullablePlan) Set(val *Plan)

func (*NullablePlan) UnmarshalJSON

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

func (*NullablePlan) Unset

func (v *NullablePlan) Unset()

type NullablePlanPrice

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

func NewNullablePlanPrice

func NewNullablePlanPrice(val *PlanPrice) *NullablePlanPrice

func (NullablePlanPrice) Get

func (v NullablePlanPrice) Get() *PlanPrice

func (NullablePlanPrice) IsSet

func (v NullablePlanPrice) IsSet() bool

func (NullablePlanPrice) MarshalJSON

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

func (*NullablePlanPrice) Set

func (v *NullablePlanPrice) Set(val *PlanPrice)

func (*NullablePlanPrice) UnmarshalJSON

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

func (*NullablePlanPrice) Unset

func (v *NullablePlanPrice) Unset()

type NullablePriceDiffInfo

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

func NewNullablePriceDiffInfo

func NewNullablePriceDiffInfo(val *PriceDiffInfo) *NullablePriceDiffInfo

func (NullablePriceDiffInfo) Get

func (NullablePriceDiffInfo) IsSet

func (v NullablePriceDiffInfo) IsSet() bool

func (NullablePriceDiffInfo) MarshalJSON

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

func (*NullablePriceDiffInfo) Set

func (v *NullablePriceDiffInfo) Set(val *PriceDiffInfo)

func (*NullablePriceDiffInfo) UnmarshalJSON

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

func (*NullablePriceDiffInfo) Unset

func (v *NullablePriceDiffInfo) Unset()

type NullableProvider

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

func NewNullableProvider

func NewNullableProvider(val *Provider) *NullableProvider

func (NullableProvider) Get

func (v NullableProvider) Get() *Provider

func (NullableProvider) IsSet

func (v NullableProvider) IsSet() bool

func (NullableProvider) MarshalJSON

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

func (*NullableProvider) Set

func (v *NullableProvider) Set(val *Provider)

func (*NullableProvider) UnmarshalJSON

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

func (*NullableProvider) Unset

func (v *NullableProvider) Unset()

type NullableProviderDetail

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

func NewNullableProviderDetail

func NewNullableProviderDetail(val *ProviderDetail) *NullableProviderDetail

func (NullableProviderDetail) Get

func (NullableProviderDetail) IsSet

func (v NullableProviderDetail) IsSet() bool

func (NullableProviderDetail) MarshalJSON

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

func (*NullableProviderDetail) Set

func (*NullableProviderDetail) UnmarshalJSON

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

func (*NullableProviderDetail) Unset

func (v *NullableProviderDetail) Unset()

type NullableRegion

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

func NewNullableRegion

func NewNullableRegion(val *Region) *NullableRegion

func (NullableRegion) Get

func (v NullableRegion) Get() *Region

func (NullableRegion) IsSet

func (v NullableRegion) IsSet() bool

func (NullableRegion) MarshalJSON

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

func (*NullableRegion) Set

func (v *NullableRegion) Set(val *Region)

func (*NullableRegion) UnmarshalJSON

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

func (*NullableRegion) Unset

func (v *NullableRegion) Unset()

type NullableRegionDetail

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

func NewNullableRegionDetail

func NewNullableRegionDetail(val *RegionDetail) *NullableRegionDetail

func (NullableRegionDetail) Get

func (NullableRegionDetail) IsSet

func (v NullableRegionDetail) IsSet() bool

func (NullableRegionDetail) MarshalJSON

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

func (*NullableRegionDetail) Set

func (v *NullableRegionDetail) Set(val *RegionDetail)

func (*NullableRegionDetail) UnmarshalJSON

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

func (*NullableRegionDetail) Unset

func (v *NullableRegionDetail) Unset()

type NullableSetDefaultPaymentMethodRequest

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

func (NullableSetDefaultPaymentMethodRequest) Get

func (NullableSetDefaultPaymentMethodRequest) IsSet

func (NullableSetDefaultPaymentMethodRequest) MarshalJSON

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

func (*NullableSetDefaultPaymentMethodRequest) Set

func (*NullableSetDefaultPaymentMethodRequest) UnmarshalJSON

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

func (*NullableSetDefaultPaymentMethodRequest) Unset

type NullableSetNodeRequest

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

func NewNullableSetNodeRequest

func NewNullableSetNodeRequest(val *SetNodeRequest) *NullableSetNodeRequest

func (NullableSetNodeRequest) Get

func (NullableSetNodeRequest) IsSet

func (v NullableSetNodeRequest) IsSet() bool

func (NullableSetNodeRequest) MarshalJSON

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

func (*NullableSetNodeRequest) Set

func (*NullableSetNodeRequest) UnmarshalJSON

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

func (*NullableSetNodeRequest) Unset

func (v *NullableSetNodeRequest) 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 NullableStripeSetupIntent

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

func NewNullableStripeSetupIntent

func NewNullableStripeSetupIntent(val *StripeSetupIntent) *NullableStripeSetupIntent

func (NullableStripeSetupIntent) Get

func (NullableStripeSetupIntent) IsSet

func (v NullableStripeSetupIntent) IsSet() bool

func (NullableStripeSetupIntent) MarshalJSON

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

func (*NullableStripeSetupIntent) Set

func (*NullableStripeSetupIntent) UnmarshalJSON

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

func (*NullableStripeSetupIntent) Unset

func (v *NullableStripeSetupIntent) Unset()

type NullableSubscription

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

func NewNullableSubscription

func NewNullableSubscription(val *Subscription) *NullableSubscription

func (NullableSubscription) Get

func (NullableSubscription) IsSet

func (v NullableSubscription) IsSet() bool

func (NullableSubscription) MarshalJSON

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

func (*NullableSubscription) Set

func (v *NullableSubscription) Set(val *Subscription)

func (*NullableSubscription) UnmarshalJSON

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

func (*NullableSubscription) Unset

func (v *NullableSubscription) Unset()

type NullableSubscriptionChangePlanRequest

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

func (NullableSubscriptionChangePlanRequest) Get

func (NullableSubscriptionChangePlanRequest) IsSet

func (NullableSubscriptionChangePlanRequest) MarshalJSON

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

func (*NullableSubscriptionChangePlanRequest) Set

func (*NullableSubscriptionChangePlanRequest) UnmarshalJSON

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

func (*NullableSubscriptionChangePlanRequest) Unset

type NullableSubscriptionCreationRequest

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

func (NullableSubscriptionCreationRequest) Get

func (NullableSubscriptionCreationRequest) IsSet

func (NullableSubscriptionCreationRequest) MarshalJSON

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

func (*NullableSubscriptionCreationRequest) Set

func (*NullableSubscriptionCreationRequest) UnmarshalJSON

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

func (*NullableSubscriptionCreationRequest) Unset

type NullableSubscriptionPendingUpdate

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

func (NullableSubscriptionPendingUpdate) Get

func (NullableSubscriptionPendingUpdate) IsSet

func (NullableSubscriptionPendingUpdate) MarshalJSON

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

func (*NullableSubscriptionPendingUpdate) Set

func (*NullableSubscriptionPendingUpdate) UnmarshalJSON

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

func (*NullableSubscriptionPendingUpdate) Unset

type NullableSubscriptionStatus

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

func NewNullableSubscriptionStatus

func NewNullableSubscriptionStatus(val *SubscriptionStatus) *NullableSubscriptionStatus

func (NullableSubscriptionStatus) Get

func (NullableSubscriptionStatus) IsSet

func (v NullableSubscriptionStatus) IsSet() bool

func (NullableSubscriptionStatus) MarshalJSON

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

func (*NullableSubscriptionStatus) Set

func (*NullableSubscriptionStatus) UnmarshalJSON

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

func (*NullableSubscriptionStatus) Unset

func (v *NullableSubscriptionStatus) Unset()

type NullableSummaryPeriod

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

func NewNullableSummaryPeriod

func NewNullableSummaryPeriod(val *SummaryPeriod) *NullableSummaryPeriod

func (NullableSummaryPeriod) Get

func (NullableSummaryPeriod) IsSet

func (v NullableSummaryPeriod) IsSet() bool

func (NullableSummaryPeriod) MarshalJSON

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

func (*NullableSummaryPeriod) Set

func (v *NullableSummaryPeriod) Set(val *SummaryPeriod)

func (*NullableSummaryPeriod) UnmarshalJSON

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

func (*NullableSummaryPeriod) Unset

func (v *NullableSummaryPeriod) 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 NullableTimeline

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

func NewNullableTimeline

func NewNullableTimeline(val *Timeline) *NullableTimeline

func (NullableTimeline) Get

func (v NullableTimeline) Get() *Timeline

func (NullableTimeline) IsSet

func (v NullableTimeline) IsSet() bool

func (NullableTimeline) MarshalJSON

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

func (*NullableTimeline) Set

func (v *NullableTimeline) Set(val *Timeline)

func (*NullableTimeline) UnmarshalJSON

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

func (*NullableTimeline) Unset

func (v *NullableTimeline) Unset()

type NullableTimelineEvent

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

func NewNullableTimelineEvent

func NewNullableTimelineEvent(val *TimelineEvent) *NullableTimelineEvent

func (NullableTimelineEvent) Get

func (NullableTimelineEvent) IsSet

func (v NullableTimelineEvent) IsSet() bool

func (NullableTimelineEvent) MarshalJSON

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

func (*NullableTimelineEvent) Set

func (v *NullableTimelineEvent) Set(val *TimelineEvent)

func (*NullableTimelineEvent) UnmarshalJSON

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

func (*NullableTimelineEvent) Unset

func (v *NullableTimelineEvent) Unset()

type NullableTimelineEventType

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

func NewNullableTimelineEventType

func NewNullableTimelineEventType(val *TimelineEventType) *NullableTimelineEventType

func (NullableTimelineEventType) Get

func (NullableTimelineEventType) IsSet

func (v NullableTimelineEventType) IsSet() bool

func (NullableTimelineEventType) MarshalJSON

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

func (*NullableTimelineEventType) Set

func (*NullableTimelineEventType) UnmarshalJSON

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

func (*NullableTimelineEventType) Unset

func (v *NullableTimelineEventType) Unset()

type NullableTopDevices

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

func NewNullableTopDevices

func NewNullableTopDevices(val *TopDevices) *NullableTopDevices

func (NullableTopDevices) Get

func (v NullableTopDevices) Get() *TopDevices

func (NullableTopDevices) IsSet

func (v NullableTopDevices) IsSet() bool

func (NullableTopDevices) MarshalJSON

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

func (*NullableTopDevices) Set

func (v *NullableTopDevices) Set(val *TopDevices)

func (*NullableTopDevices) UnmarshalJSON

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

func (*NullableTopDevices) Unset

func (v *NullableTopDevices) Unset()

type NullableTransactionType

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

func NewNullableTransactionType

func NewNullableTransactionType(val *TransactionType) *NullableTransactionType

func (NullableTransactionType) Get

func (NullableTransactionType) IsSet

func (v NullableTransactionType) IsSet() bool

func (NullableTransactionType) MarshalJSON

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

func (*NullableTransactionType) Set

func (*NullableTransactionType) UnmarshalJSON

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

func (*NullableTransactionType) Unset

func (v *NullableTransactionType) Unset()

type NullableType

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

func NewNullableType

func NewNullableType(val *Type) *NullableType

func (NullableType) Get

func (v NullableType) Get() *Type

func (NullableType) IsSet

func (v NullableType) IsSet() bool

func (NullableType) MarshalJSON

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

func (*NullableType) Set

func (v *NullableType) Set(val *Type)

func (*NullableType) UnmarshalJSON

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

func (*NullableType) Unset

func (v *NullableType) Unset()

type NullableWallet

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

func NewNullableWallet

func NewNullableWallet(val *Wallet) *NullableWallet

func (NullableWallet) Get

func (v NullableWallet) Get() *Wallet

func (NullableWallet) IsSet

func (v NullableWallet) IsSet() bool

func (NullableWallet) MarshalJSON

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

func (*NullableWallet) Set

func (v *NullableWallet) Set(val *Wallet)

func (*NullableWallet) UnmarshalJSON

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

func (*NullableWallet) Unset

func (v *NullableWallet) Unset()

type NullableWalletStatus

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

func NewNullableWalletStatus

func NewNullableWalletStatus(val *WalletStatus) *NullableWalletStatus

func (NullableWalletStatus) Get

func (NullableWalletStatus) IsSet

func (v NullableWalletStatus) IsSet() bool

func (NullableWalletStatus) MarshalJSON

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

func (*NullableWalletStatus) Set

func (v *NullableWalletStatus) Set(val *WalletStatus)

func (*NullableWalletStatus) UnmarshalJSON

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

func (*NullableWalletStatus) Unset

func (v *NullableWalletStatus) Unset()

type NullableWalletTransaction

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

func NewNullableWalletTransaction

func NewNullableWalletTransaction(val *WalletTransaction) *NullableWalletTransaction

func (NullableWalletTransaction) Get

func (NullableWalletTransaction) IsSet

func (v NullableWalletTransaction) IsSet() bool

func (NullableWalletTransaction) MarshalJSON

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

func (*NullableWalletTransaction) Set

func (*NullableWalletTransaction) UnmarshalJSON

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

func (*NullableWalletTransaction) Unset

func (v *NullableWalletTransaction) Unset()

type PaginatedAccountList

type PaginatedAccountList struct {
	Next     NullableString `json:"next,omitempty"`
	Previous NullableString `json:"previous,omitempty"`
	Results  []Account      `json:"results"`
	// Total count of items
	Count *int32 `json:"count,omitempty"`
}

PaginatedAccountList struct for PaginatedAccountList

func NewPaginatedAccountList

func NewPaginatedAccountList(results []Account) *PaginatedAccountList

NewPaginatedAccountList instantiates a new PaginatedAccountList 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 NewPaginatedAccountListWithDefaults

func NewPaginatedAccountListWithDefaults() *PaginatedAccountList

NewPaginatedAccountListWithDefaults instantiates a new PaginatedAccountList 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 (*PaginatedAccountList) GetCount

func (o *PaginatedAccountList) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*PaginatedAccountList) GetCountOk

func (o *PaginatedAccountList) GetCountOk() (*int32, bool)

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

func (*PaginatedAccountList) GetNext

func (o *PaginatedAccountList) GetNext() string

GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedAccountList) GetNextOk

func (o *PaginatedAccountList) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedAccountList) GetPrevious

func (o *PaginatedAccountList) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedAccountList) GetPreviousOk

func (o *PaginatedAccountList) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedAccountList) GetResults

func (o *PaginatedAccountList) GetResults() []Account

GetResults returns the Results field value

func (*PaginatedAccountList) GetResultsOk

func (o *PaginatedAccountList) GetResultsOk() ([]Account, bool)

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

func (*PaginatedAccountList) HasCount

func (o *PaginatedAccountList) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PaginatedAccountList) HasNext

func (o *PaginatedAccountList) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedAccountList) HasPrevious

func (o *PaginatedAccountList) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (PaginatedAccountList) MarshalJSON

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

func (*PaginatedAccountList) SetCount

func (o *PaginatedAccountList) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*PaginatedAccountList) SetNext

func (o *PaginatedAccountList) SetNext(v string)

SetNext gets a reference to the given NullableString and assigns it to the Next field.

func (*PaginatedAccountList) SetNextNil

func (o *PaginatedAccountList) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*PaginatedAccountList) SetPrevious

func (o *PaginatedAccountList) SetPrevious(v string)

SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.

func (*PaginatedAccountList) SetPreviousNil

func (o *PaginatedAccountList) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (*PaginatedAccountList) SetResults

func (o *PaginatedAccountList) SetResults(v []Account)

SetResults sets field value

func (PaginatedAccountList) ToMap

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

func (*PaginatedAccountList) UnmarshalJSON

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

func (*PaginatedAccountList) UnsetNext

func (o *PaginatedAccountList) UnsetNext()

UnsetNext ensures that no value is present for Next, not even an explicit nil

func (*PaginatedAccountList) UnsetPrevious

func (o *PaginatedAccountList) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

type PaginatedDeviceList

type PaginatedDeviceList struct {
	Next     NullableString `json:"next,omitempty"`
	Previous NullableString `json:"previous,omitempty"`
	Results  []Device       `json:"results"`
	// Total count of items
	Count                *int32 `json:"count,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedDeviceList struct for PaginatedDeviceList

func NewPaginatedDeviceList

func NewPaginatedDeviceList(results []Device) *PaginatedDeviceList

NewPaginatedDeviceList instantiates a new PaginatedDeviceList 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 NewPaginatedDeviceListWithDefaults

func NewPaginatedDeviceListWithDefaults() *PaginatedDeviceList

NewPaginatedDeviceListWithDefaults instantiates a new PaginatedDeviceList 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 (*PaginatedDeviceList) GetCount

func (o *PaginatedDeviceList) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*PaginatedDeviceList) GetCountOk

func (o *PaginatedDeviceList) GetCountOk() (*int32, bool)

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

func (*PaginatedDeviceList) GetNext

func (o *PaginatedDeviceList) GetNext() string

GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedDeviceList) GetNextOk

func (o *PaginatedDeviceList) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedDeviceList) GetPrevious

func (o *PaginatedDeviceList) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedDeviceList) GetPreviousOk

func (o *PaginatedDeviceList) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedDeviceList) GetResults

func (o *PaginatedDeviceList) GetResults() []Device

GetResults returns the Results field value

func (*PaginatedDeviceList) GetResultsOk

func (o *PaginatedDeviceList) GetResultsOk() ([]Device, bool)

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

func (*PaginatedDeviceList) HasCount

func (o *PaginatedDeviceList) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PaginatedDeviceList) HasNext

func (o *PaginatedDeviceList) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedDeviceList) HasPrevious

func (o *PaginatedDeviceList) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (PaginatedDeviceList) MarshalJSON

func (o PaginatedDeviceList) MarshalJSON() ([]byte, error)

func (*PaginatedDeviceList) SetCount

func (o *PaginatedDeviceList) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*PaginatedDeviceList) SetNext

func (o *PaginatedDeviceList) SetNext(v string)

SetNext gets a reference to the given NullableString and assigns it to the Next field.

func (*PaginatedDeviceList) SetNextNil

func (o *PaginatedDeviceList) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*PaginatedDeviceList) SetPrevious

func (o *PaginatedDeviceList) SetPrevious(v string)

SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.

func (*PaginatedDeviceList) SetPreviousNil

func (o *PaginatedDeviceList) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (*PaginatedDeviceList) SetResults

func (o *PaginatedDeviceList) SetResults(v []Device)

SetResults sets field value

func (PaginatedDeviceList) ToMap

func (o PaginatedDeviceList) ToMap() (map[string]interface{}, error)

func (*PaginatedDeviceList) UnmarshalJSON

func (o *PaginatedDeviceList) UnmarshalJSON(data []byte) (err error)

func (*PaginatedDeviceList) UnsetNext

func (o *PaginatedDeviceList) UnsetNext()

UnsetNext ensures that no value is present for Next, not even an explicit nil

func (*PaginatedDeviceList) UnsetPrevious

func (o *PaginatedDeviceList) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

type PaginatedLocationList

type PaginatedLocationList struct {
	Next     NullableString `json:"next,omitempty"`
	Previous NullableString `json:"previous,omitempty"`
	Results  []Location     `json:"results"`
	// Total count of items
	Count                *int32 `json:"count,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedLocationList struct for PaginatedLocationList

func NewPaginatedLocationList

func NewPaginatedLocationList(results []Location) *PaginatedLocationList

NewPaginatedLocationList instantiates a new PaginatedLocationList 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 NewPaginatedLocationListWithDefaults

func NewPaginatedLocationListWithDefaults() *PaginatedLocationList

NewPaginatedLocationListWithDefaults instantiates a new PaginatedLocationList 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 (*PaginatedLocationList) GetCount

func (o *PaginatedLocationList) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*PaginatedLocationList) GetCountOk

func (o *PaginatedLocationList) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedLocationList) GetNext

func (o *PaginatedLocationList) GetNext() string

GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedLocationList) GetNextOk

func (o *PaginatedLocationList) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedLocationList) GetPrevious

func (o *PaginatedLocationList) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedLocationList) GetPreviousOk

func (o *PaginatedLocationList) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedLocationList) GetResults

func (o *PaginatedLocationList) GetResults() []Location

GetResults returns the Results field value

func (*PaginatedLocationList) GetResultsOk

func (o *PaginatedLocationList) GetResultsOk() ([]Location, bool)

GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.

func (*PaginatedLocationList) HasCount

func (o *PaginatedLocationList) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PaginatedLocationList) HasNext

func (o *PaginatedLocationList) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedLocationList) HasPrevious

func (o *PaginatedLocationList) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (PaginatedLocationList) MarshalJSON

func (o PaginatedLocationList) MarshalJSON() ([]byte, error)

func (*PaginatedLocationList) SetCount

func (o *PaginatedLocationList) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*PaginatedLocationList) SetNext

func (o *PaginatedLocationList) SetNext(v string)

SetNext gets a reference to the given NullableString and assigns it to the Next field.

func (*PaginatedLocationList) SetNextNil

func (o *PaginatedLocationList) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*PaginatedLocationList) SetPrevious

func (o *PaginatedLocationList) SetPrevious(v string)

SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.

func (*PaginatedLocationList) SetPreviousNil

func (o *PaginatedLocationList) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (*PaginatedLocationList) SetResults

func (o *PaginatedLocationList) SetResults(v []Location)

SetResults sets field value

func (PaginatedLocationList) ToMap

func (o PaginatedLocationList) ToMap() (map[string]interface{}, error)

func (*PaginatedLocationList) UnmarshalJSON

func (o *PaginatedLocationList) UnmarshalJSON(data []byte) (err error)

func (*PaginatedLocationList) UnsetNext

func (o *PaginatedLocationList) UnsetNext()

UnsetNext ensures that no value is present for Next, not even an explicit nil

func (*PaginatedLocationList) UnsetPrevious

func (o *PaginatedLocationList) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

type PaginatedNodeList

type PaginatedNodeList struct {
	Next     NullableString `json:"next,omitempty"`
	Previous NullableString `json:"previous,omitempty"`
	Results  []Node         `json:"results"`
	// Total count of items
	Count                *int32 `json:"count,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedNodeList struct for PaginatedNodeList

func NewPaginatedNodeList

func NewPaginatedNodeList(results []Node) *PaginatedNodeList

NewPaginatedNodeList instantiates a new PaginatedNodeList 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 NewPaginatedNodeListWithDefaults

func NewPaginatedNodeListWithDefaults() *PaginatedNodeList

NewPaginatedNodeListWithDefaults instantiates a new PaginatedNodeList 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 (*PaginatedNodeList) GetCount

func (o *PaginatedNodeList) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*PaginatedNodeList) GetCountOk

func (o *PaginatedNodeList) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedNodeList) GetNext

func (o *PaginatedNodeList) GetNext() string

GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedNodeList) GetNextOk

func (o *PaginatedNodeList) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedNodeList) GetPrevious

func (o *PaginatedNodeList) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedNodeList) GetPreviousOk

func (o *PaginatedNodeList) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedNodeList) GetResults

func (o *PaginatedNodeList) GetResults() []Node

GetResults returns the Results field value

func (*PaginatedNodeList) GetResultsOk

func (o *PaginatedNodeList) GetResultsOk() ([]Node, bool)

GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.

func (*PaginatedNodeList) HasCount

func (o *PaginatedNodeList) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PaginatedNodeList) HasNext

func (o *PaginatedNodeList) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedNodeList) HasPrevious

func (o *PaginatedNodeList) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (PaginatedNodeList) MarshalJSON

func (o PaginatedNodeList) MarshalJSON() ([]byte, error)

func (*PaginatedNodeList) SetCount

func (o *PaginatedNodeList) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*PaginatedNodeList) SetNext

func (o *PaginatedNodeList) SetNext(v string)

SetNext gets a reference to the given NullableString and assigns it to the Next field.

func (*PaginatedNodeList) SetNextNil

func (o *PaginatedNodeList) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*PaginatedNodeList) SetPrevious

func (o *PaginatedNodeList) SetPrevious(v string)

SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.

func (*PaginatedNodeList) SetPreviousNil

func (o *PaginatedNodeList) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (*PaginatedNodeList) SetResults

func (o *PaginatedNodeList) SetResults(v []Node)

SetResults sets field value

func (PaginatedNodeList) ToMap

func (o PaginatedNodeList) ToMap() (map[string]interface{}, error)

func (*PaginatedNodeList) UnmarshalJSON

func (o *PaginatedNodeList) UnmarshalJSON(data []byte) (err error)

func (*PaginatedNodeList) UnsetNext

func (o *PaginatedNodeList) UnsetNext()

UnsetNext ensures that no value is present for Next, not even an explicit nil

func (*PaginatedNodeList) UnsetPrevious

func (o *PaginatedNodeList) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

type PaginatedPaymentMethodList

type PaginatedPaymentMethodList struct {
	Next     NullableString  `json:"next,omitempty"`
	Previous NullableString  `json:"previous,omitempty"`
	Results  []PaymentMethod `json:"results"`
	// Total count of items
	Count                *int32 `json:"count,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedPaymentMethodList struct for PaginatedPaymentMethodList

func NewPaginatedPaymentMethodList

func NewPaginatedPaymentMethodList(results []PaymentMethod) *PaginatedPaymentMethodList

NewPaginatedPaymentMethodList instantiates a new PaginatedPaymentMethodList 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 NewPaginatedPaymentMethodListWithDefaults

func NewPaginatedPaymentMethodListWithDefaults() *PaginatedPaymentMethodList

NewPaginatedPaymentMethodListWithDefaults instantiates a new PaginatedPaymentMethodList 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 (*PaginatedPaymentMethodList) GetCount

func (o *PaginatedPaymentMethodList) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*PaginatedPaymentMethodList) GetCountOk

func (o *PaginatedPaymentMethodList) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPaymentMethodList) GetNext

func (o *PaginatedPaymentMethodList) GetNext() string

GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedPaymentMethodList) GetNextOk

func (o *PaginatedPaymentMethodList) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedPaymentMethodList) GetPrevious

func (o *PaginatedPaymentMethodList) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedPaymentMethodList) GetPreviousOk

func (o *PaginatedPaymentMethodList) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedPaymentMethodList) GetResults

func (o *PaginatedPaymentMethodList) GetResults() []PaymentMethod

GetResults returns the Results field value

func (*PaginatedPaymentMethodList) GetResultsOk

func (o *PaginatedPaymentMethodList) GetResultsOk() ([]PaymentMethod, bool)

GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.

func (*PaginatedPaymentMethodList) HasCount

func (o *PaginatedPaymentMethodList) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PaginatedPaymentMethodList) HasNext

func (o *PaginatedPaymentMethodList) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedPaymentMethodList) HasPrevious

func (o *PaginatedPaymentMethodList) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (PaginatedPaymentMethodList) MarshalJSON

func (o PaginatedPaymentMethodList) MarshalJSON() ([]byte, error)

func (*PaginatedPaymentMethodList) SetCount

func (o *PaginatedPaymentMethodList) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*PaginatedPaymentMethodList) SetNext

func (o *PaginatedPaymentMethodList) SetNext(v string)

SetNext gets a reference to the given NullableString and assigns it to the Next field.

func (*PaginatedPaymentMethodList) SetNextNil

func (o *PaginatedPaymentMethodList) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*PaginatedPaymentMethodList) SetPrevious

func (o *PaginatedPaymentMethodList) SetPrevious(v string)

SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.

func (*PaginatedPaymentMethodList) SetPreviousNil

func (o *PaginatedPaymentMethodList) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (*PaginatedPaymentMethodList) SetResults

func (o *PaginatedPaymentMethodList) SetResults(v []PaymentMethod)

SetResults sets field value

func (PaginatedPaymentMethodList) ToMap

func (o PaginatedPaymentMethodList) ToMap() (map[string]interface{}, error)

func (*PaginatedPaymentMethodList) UnmarshalJSON

func (o *PaginatedPaymentMethodList) UnmarshalJSON(data []byte) (err error)

func (*PaginatedPaymentMethodList) UnsetNext

func (o *PaginatedPaymentMethodList) UnsetNext()

UnsetNext ensures that no value is present for Next, not even an explicit nil

func (*PaginatedPaymentMethodList) UnsetPrevious

func (o *PaginatedPaymentMethodList) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

type PaginatedProviderList

type PaginatedProviderList struct {
	Next     NullableString `json:"next,omitempty"`
	Previous NullableString `json:"previous,omitempty"`
	Results  []Provider     `json:"results"`
	// Total count of items
	Count                *int32 `json:"count,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedProviderList struct for PaginatedProviderList

func NewPaginatedProviderList

func NewPaginatedProviderList(results []Provider) *PaginatedProviderList

NewPaginatedProviderList instantiates a new PaginatedProviderList 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 NewPaginatedProviderListWithDefaults

func NewPaginatedProviderListWithDefaults() *PaginatedProviderList

NewPaginatedProviderListWithDefaults instantiates a new PaginatedProviderList 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 (*PaginatedProviderList) GetCount

func (o *PaginatedProviderList) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*PaginatedProviderList) GetCountOk

func (o *PaginatedProviderList) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedProviderList) GetNext

func (o *PaginatedProviderList) GetNext() string

GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedProviderList) GetNextOk

func (o *PaginatedProviderList) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedProviderList) GetPrevious

func (o *PaginatedProviderList) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedProviderList) GetPreviousOk

func (o *PaginatedProviderList) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedProviderList) GetResults

func (o *PaginatedProviderList) GetResults() []Provider

GetResults returns the Results field value

func (*PaginatedProviderList) GetResultsOk

func (o *PaginatedProviderList) GetResultsOk() ([]Provider, bool)

GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.

func (*PaginatedProviderList) HasCount

func (o *PaginatedProviderList) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PaginatedProviderList) HasNext

func (o *PaginatedProviderList) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedProviderList) HasPrevious

func (o *PaginatedProviderList) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (PaginatedProviderList) MarshalJSON

func (o PaginatedProviderList) MarshalJSON() ([]byte, error)

func (*PaginatedProviderList) SetCount

func (o *PaginatedProviderList) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*PaginatedProviderList) SetNext

func (o *PaginatedProviderList) SetNext(v string)

SetNext gets a reference to the given NullableString and assigns it to the Next field.

func (*PaginatedProviderList) SetNextNil

func (o *PaginatedProviderList) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*PaginatedProviderList) SetPrevious

func (o *PaginatedProviderList) SetPrevious(v string)

SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.

func (*PaginatedProviderList) SetPreviousNil

func (o *PaginatedProviderList) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (*PaginatedProviderList) SetResults

func (o *PaginatedProviderList) SetResults(v []Provider)

SetResults sets field value

func (PaginatedProviderList) ToMap

func (o PaginatedProviderList) ToMap() (map[string]interface{}, error)

func (*PaginatedProviderList) UnmarshalJSON

func (o *PaginatedProviderList) UnmarshalJSON(data []byte) (err error)

func (*PaginatedProviderList) UnsetNext

func (o *PaginatedProviderList) UnsetNext()

UnsetNext ensures that no value is present for Next, not even an explicit nil

func (*PaginatedProviderList) UnsetPrevious

func (o *PaginatedProviderList) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

type PaginatedSubscriptionList

type PaginatedSubscriptionList struct {
	Next     NullableString `json:"next,omitempty"`
	Previous NullableString `json:"previous,omitempty"`
	Results  []Subscription `json:"results"`
	// Total count of items
	Count                *int32 `json:"count,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedSubscriptionList struct for PaginatedSubscriptionList

func NewPaginatedSubscriptionList

func NewPaginatedSubscriptionList(results []Subscription) *PaginatedSubscriptionList

NewPaginatedSubscriptionList instantiates a new PaginatedSubscriptionList 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 NewPaginatedSubscriptionListWithDefaults

func NewPaginatedSubscriptionListWithDefaults() *PaginatedSubscriptionList

NewPaginatedSubscriptionListWithDefaults instantiates a new PaginatedSubscriptionList 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 (*PaginatedSubscriptionList) GetCount

func (o *PaginatedSubscriptionList) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*PaginatedSubscriptionList) GetCountOk

func (o *PaginatedSubscriptionList) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSubscriptionList) GetNext

func (o *PaginatedSubscriptionList) GetNext() string

GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedSubscriptionList) GetNextOk

func (o *PaginatedSubscriptionList) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedSubscriptionList) GetPrevious

func (o *PaginatedSubscriptionList) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedSubscriptionList) GetPreviousOk

func (o *PaginatedSubscriptionList) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedSubscriptionList) GetResults

func (o *PaginatedSubscriptionList) GetResults() []Subscription

GetResults returns the Results field value

func (*PaginatedSubscriptionList) GetResultsOk

func (o *PaginatedSubscriptionList) GetResultsOk() ([]Subscription, bool)

GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.

func (*PaginatedSubscriptionList) HasCount

func (o *PaginatedSubscriptionList) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PaginatedSubscriptionList) HasNext

func (o *PaginatedSubscriptionList) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedSubscriptionList) HasPrevious

func (o *PaginatedSubscriptionList) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (PaginatedSubscriptionList) MarshalJSON

func (o PaginatedSubscriptionList) MarshalJSON() ([]byte, error)

func (*PaginatedSubscriptionList) SetCount

func (o *PaginatedSubscriptionList) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*PaginatedSubscriptionList) SetNext

func (o *PaginatedSubscriptionList) SetNext(v string)

SetNext gets a reference to the given NullableString and assigns it to the Next field.

func (*PaginatedSubscriptionList) SetNextNil

func (o *PaginatedSubscriptionList) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*PaginatedSubscriptionList) SetPrevious

func (o *PaginatedSubscriptionList) SetPrevious(v string)

SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.

func (*PaginatedSubscriptionList) SetPreviousNil

func (o *PaginatedSubscriptionList) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (*PaginatedSubscriptionList) SetResults

func (o *PaginatedSubscriptionList) SetResults(v []Subscription)

SetResults sets field value

func (PaginatedSubscriptionList) ToMap

func (o PaginatedSubscriptionList) ToMap() (map[string]interface{}, error)

func (*PaginatedSubscriptionList) UnmarshalJSON

func (o *PaginatedSubscriptionList) UnmarshalJSON(data []byte) (err error)

func (*PaginatedSubscriptionList) UnsetNext

func (o *PaginatedSubscriptionList) UnsetNext()

UnsetNext ensures that no value is present for Next, not even an explicit nil

func (*PaginatedSubscriptionList) UnsetPrevious

func (o *PaginatedSubscriptionList) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

type PaginatedWalletList

type PaginatedWalletList struct {
	Next     NullableString `json:"next,omitempty"`
	Previous NullableString `json:"previous,omitempty"`
	Results  []Wallet       `json:"results"`
	// Total count of items
	Count                *int32 `json:"count,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedWalletList struct for PaginatedWalletList

func NewPaginatedWalletList

func NewPaginatedWalletList(results []Wallet) *PaginatedWalletList

NewPaginatedWalletList instantiates a new PaginatedWalletList 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 NewPaginatedWalletListWithDefaults

func NewPaginatedWalletListWithDefaults() *PaginatedWalletList

NewPaginatedWalletListWithDefaults instantiates a new PaginatedWalletList 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 (*PaginatedWalletList) GetCount

func (o *PaginatedWalletList) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*PaginatedWalletList) GetCountOk

func (o *PaginatedWalletList) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWalletList) GetNext

func (o *PaginatedWalletList) GetNext() string

GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedWalletList) GetNextOk

func (o *PaginatedWalletList) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedWalletList) GetPrevious

func (o *PaginatedWalletList) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedWalletList) GetPreviousOk

func (o *PaginatedWalletList) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedWalletList) GetResults

func (o *PaginatedWalletList) GetResults() []Wallet

GetResults returns the Results field value

func (*PaginatedWalletList) GetResultsOk

func (o *PaginatedWalletList) GetResultsOk() ([]Wallet, bool)

GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.

func (*PaginatedWalletList) HasCount

func (o *PaginatedWalletList) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PaginatedWalletList) HasNext

func (o *PaginatedWalletList) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedWalletList) HasPrevious

func (o *PaginatedWalletList) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (PaginatedWalletList) MarshalJSON

func (o PaginatedWalletList) MarshalJSON() ([]byte, error)

func (*PaginatedWalletList) SetCount

func (o *PaginatedWalletList) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*PaginatedWalletList) SetNext

func (o *PaginatedWalletList) SetNext(v string)

SetNext gets a reference to the given NullableString and assigns it to the Next field.

func (*PaginatedWalletList) SetNextNil

func (o *PaginatedWalletList) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*PaginatedWalletList) SetPrevious

func (o *PaginatedWalletList) SetPrevious(v string)

SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.

func (*PaginatedWalletList) SetPreviousNil

func (o *PaginatedWalletList) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (*PaginatedWalletList) SetResults

func (o *PaginatedWalletList) SetResults(v []Wallet)

SetResults sets field value

func (PaginatedWalletList) ToMap

func (o PaginatedWalletList) ToMap() (map[string]interface{}, error)

func (*PaginatedWalletList) UnmarshalJSON

func (o *PaginatedWalletList) UnmarshalJSON(data []byte) (err error)

func (*PaginatedWalletList) UnsetNext

func (o *PaginatedWalletList) UnsetNext()

UnsetNext ensures that no value is present for Next, not even an explicit nil

func (*PaginatedWalletList) UnsetPrevious

func (o *PaginatedWalletList) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

type PaginatedWalletTransactionList

type PaginatedWalletTransactionList struct {
	Next     NullableString      `json:"next,omitempty"`
	Previous NullableString      `json:"previous,omitempty"`
	Results  []WalletTransaction `json:"results"`
	// Total count of items
	Count                *int32 `json:"count,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedWalletTransactionList struct for PaginatedWalletTransactionList

func NewPaginatedWalletTransactionList

func NewPaginatedWalletTransactionList(results []WalletTransaction) *PaginatedWalletTransactionList

NewPaginatedWalletTransactionList instantiates a new PaginatedWalletTransactionList 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 NewPaginatedWalletTransactionListWithDefaults

func NewPaginatedWalletTransactionListWithDefaults() *PaginatedWalletTransactionList

NewPaginatedWalletTransactionListWithDefaults instantiates a new PaginatedWalletTransactionList 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 (*PaginatedWalletTransactionList) GetCount

func (o *PaginatedWalletTransactionList) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*PaginatedWalletTransactionList) GetCountOk

func (o *PaginatedWalletTransactionList) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWalletTransactionList) GetNext

GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedWalletTransactionList) GetNextOk

func (o *PaginatedWalletTransactionList) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedWalletTransactionList) GetPrevious

func (o *PaginatedWalletTransactionList) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PaginatedWalletTransactionList) GetPreviousOk

func (o *PaginatedWalletTransactionList) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedWalletTransactionList) GetResults

GetResults returns the Results field value

func (*PaginatedWalletTransactionList) GetResultsOk

func (o *PaginatedWalletTransactionList) GetResultsOk() ([]WalletTransaction, bool)

GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.

func (*PaginatedWalletTransactionList) HasCount

func (o *PaginatedWalletTransactionList) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PaginatedWalletTransactionList) HasNext

func (o *PaginatedWalletTransactionList) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedWalletTransactionList) HasPrevious

func (o *PaginatedWalletTransactionList) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (PaginatedWalletTransactionList) MarshalJSON

func (o PaginatedWalletTransactionList) MarshalJSON() ([]byte, error)

func (*PaginatedWalletTransactionList) SetCount

func (o *PaginatedWalletTransactionList) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*PaginatedWalletTransactionList) SetNext

func (o *PaginatedWalletTransactionList) SetNext(v string)

SetNext gets a reference to the given NullableString and assigns it to the Next field.

func (*PaginatedWalletTransactionList) SetNextNil

func (o *PaginatedWalletTransactionList) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*PaginatedWalletTransactionList) SetPrevious

func (o *PaginatedWalletTransactionList) SetPrevious(v string)

SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.

func (*PaginatedWalletTransactionList) SetPreviousNil

func (o *PaginatedWalletTransactionList) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (*PaginatedWalletTransactionList) SetResults

SetResults sets field value

func (PaginatedWalletTransactionList) ToMap

func (o PaginatedWalletTransactionList) ToMap() (map[string]interface{}, error)

func (*PaginatedWalletTransactionList) UnmarshalJSON

func (o *PaginatedWalletTransactionList) UnmarshalJSON(data []byte) (err error)

func (*PaginatedWalletTransactionList) UnsetNext

func (o *PaginatedWalletTransactionList) UnsetNext()

UnsetNext ensures that no value is present for Next, not even an explicit nil

func (*PaginatedWalletTransactionList) UnsetPrevious

func (o *PaginatedWalletTransactionList) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

type PatchedDeviceRequest

type PatchedDeviceRequest struct {
	ExternalKey NullableString `json:"external_key,omitempty"`
	Name        *string        `json:"name,omitempty"`
	PubKey      *string        `json:"pub_key,omitempty"`
	RawPassword *string        `json:"raw_password,omitempty"`
	// Bcrypt Hashed Password for Authentication, e.g. HTTP Proxy
	Password             NullableString `json:"password,omitempty"`
	Os                   NullableString `json:"os,omitempty"`
	OsVersion            NullableString `json:"os_version,omitempty"`
	OsArch               NullableString `json:"os_arch,omitempty"`
	Distro               NullableString `json:"distro,omitempty"`
	DistroVersion        NullableString `json:"distro_version,omitempty"`
	DistroCodename       NullableString `json:"distro_codename,omitempty"`
	AppVersion           NullableString `json:"app_version,omitempty"`
	AppBuild             NullableString `json:"app_build,omitempty"`
	AdditionalProperties map[string]interface{}
}

PatchedDeviceRequest struct for PatchedDeviceRequest

func NewPatchedDeviceRequest

func NewPatchedDeviceRequest() *PatchedDeviceRequest

NewPatchedDeviceRequest instantiates a new PatchedDeviceRequest 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 NewPatchedDeviceRequestWithDefaults

func NewPatchedDeviceRequestWithDefaults() *PatchedDeviceRequest

NewPatchedDeviceRequestWithDefaults instantiates a new PatchedDeviceRequest 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 (*PatchedDeviceRequest) GetAppBuild

func (o *PatchedDeviceRequest) GetAppBuild() string

GetAppBuild returns the AppBuild field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedDeviceRequest) GetAppBuildOk

func (o *PatchedDeviceRequest) GetAppBuildOk() (*string, bool)

GetAppBuildOk returns a tuple with the AppBuild field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedDeviceRequest) GetAppVersion

func (o *PatchedDeviceRequest) GetAppVersion() string

GetAppVersion returns the AppVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedDeviceRequest) GetAppVersionOk

func (o *PatchedDeviceRequest) GetAppVersionOk() (*string, bool)

GetAppVersionOk returns a tuple with the AppVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedDeviceRequest) GetDistro

func (o *PatchedDeviceRequest) GetDistro() string

GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedDeviceRequest) GetDistroCodename

func (o *PatchedDeviceRequest) GetDistroCodename() string

GetDistroCodename returns the DistroCodename field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedDeviceRequest) GetDistroCodenameOk

func (o *PatchedDeviceRequest) GetDistroCodenameOk() (*string, bool)

GetDistroCodenameOk returns a tuple with the DistroCodename field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedDeviceRequest) GetDistroOk

func (o *PatchedDeviceRequest) GetDistroOk() (*string, bool)

GetDistroOk returns a tuple with the Distro field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedDeviceRequest) GetDistroVersion

func (o *PatchedDeviceRequest) GetDistroVersion() string

GetDistroVersion returns the DistroVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedDeviceRequest) GetDistroVersionOk

func (o *PatchedDeviceRequest) GetDistroVersionOk() (*string, bool)

GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedDeviceRequest) GetExternalKey

func (o *PatchedDeviceRequest) GetExternalKey() string

GetExternalKey returns the ExternalKey field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedDeviceRequest) GetExternalKeyOk

func (o *PatchedDeviceRequest) GetExternalKeyOk() (*string, bool)

GetExternalKeyOk returns a tuple with the ExternalKey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedDeviceRequest) GetName

func (o *PatchedDeviceRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PatchedDeviceRequest) GetNameOk

func (o *PatchedDeviceRequest) 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 (*PatchedDeviceRequest) GetOs

func (o *PatchedDeviceRequest) GetOs() string

GetOs returns the Os field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedDeviceRequest) GetOsArch

func (o *PatchedDeviceRequest) GetOsArch() string

GetOsArch returns the OsArch field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedDeviceRequest) GetOsArchOk

func (o *PatchedDeviceRequest) GetOsArchOk() (*string, bool)

GetOsArchOk returns a tuple with the OsArch field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedDeviceRequest) GetOsOk

func (o *PatchedDeviceRequest) GetOsOk() (*string, bool)

GetOsOk returns a tuple with the Os field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedDeviceRequest) GetOsVersion

func (o *PatchedDeviceRequest) GetOsVersion() string

GetOsVersion returns the OsVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedDeviceRequest) GetOsVersionOk

func (o *PatchedDeviceRequest) GetOsVersionOk() (*string, bool)

GetOsVersionOk returns a tuple with the OsVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedDeviceRequest) GetPassword

func (o *PatchedDeviceRequest) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedDeviceRequest) GetPasswordOk

func (o *PatchedDeviceRequest) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedDeviceRequest) GetPubKey

func (o *PatchedDeviceRequest) GetPubKey() string

GetPubKey returns the PubKey field value if set, zero value otherwise.

func (*PatchedDeviceRequest) GetPubKeyOk

func (o *PatchedDeviceRequest) GetPubKeyOk() (*string, bool)

GetPubKeyOk returns a tuple with the PubKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedDeviceRequest) GetRawPassword

func (o *PatchedDeviceRequest) GetRawPassword() string

GetRawPassword returns the RawPassword field value if set, zero value otherwise.

func (*PatchedDeviceRequest) GetRawPasswordOk

func (o *PatchedDeviceRequest) GetRawPasswordOk() (*string, bool)

GetRawPasswordOk returns a tuple with the RawPassword field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedDeviceRequest) HasAppBuild

func (o *PatchedDeviceRequest) HasAppBuild() bool

HasAppBuild returns a boolean if a field has been set.

func (*PatchedDeviceRequest) HasAppVersion

func (o *PatchedDeviceRequest) HasAppVersion() bool

HasAppVersion returns a boolean if a field has been set.

func (*PatchedDeviceRequest) HasDistro

func (o *PatchedDeviceRequest) HasDistro() bool

HasDistro returns a boolean if a field has been set.

func (*PatchedDeviceRequest) HasDistroCodename

func (o *PatchedDeviceRequest) HasDistroCodename() bool

HasDistroCodename returns a boolean if a field has been set.

func (*PatchedDeviceRequest) HasDistroVersion

func (o *PatchedDeviceRequest) HasDistroVersion() bool

HasDistroVersion returns a boolean if a field has been set.

func (*PatchedDeviceRequest) HasExternalKey

func (o *PatchedDeviceRequest) HasExternalKey() bool

HasExternalKey returns a boolean if a field has been set.

func (*PatchedDeviceRequest) HasName

func (o *PatchedDeviceRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*PatchedDeviceRequest) HasOs

func (o *PatchedDeviceRequest) HasOs() bool

HasOs returns a boolean if a field has been set.

func (*PatchedDeviceRequest) HasOsArch

func (o *PatchedDeviceRequest) HasOsArch() bool

HasOsArch returns a boolean if a field has been set.

func (*PatchedDeviceRequest) HasOsVersion

func (o *PatchedDeviceRequest) HasOsVersion() bool

HasOsVersion returns a boolean if a field has been set.

func (*PatchedDeviceRequest) HasPassword

func (o *PatchedDeviceRequest) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*PatchedDeviceRequest) HasPubKey

func (o *PatchedDeviceRequest) HasPubKey() bool

HasPubKey returns a boolean if a field has been set.

func (*PatchedDeviceRequest) HasRawPassword

func (o *PatchedDeviceRequest) HasRawPassword() bool

HasRawPassword returns a boolean if a field has been set.

func (PatchedDeviceRequest) MarshalJSON

func (o PatchedDeviceRequest) MarshalJSON() ([]byte, error)

func (*PatchedDeviceRequest) SetAppBuild

func (o *PatchedDeviceRequest) SetAppBuild(v string)

SetAppBuild gets a reference to the given NullableString and assigns it to the AppBuild field.

func (*PatchedDeviceRequest) SetAppBuildNil

func (o *PatchedDeviceRequest) SetAppBuildNil()

SetAppBuildNil sets the value for AppBuild to be an explicit nil

func (*PatchedDeviceRequest) SetAppVersion

func (o *PatchedDeviceRequest) SetAppVersion(v string)

SetAppVersion gets a reference to the given NullableString and assigns it to the AppVersion field.

func (*PatchedDeviceRequest) SetAppVersionNil

func (o *PatchedDeviceRequest) SetAppVersionNil()

SetAppVersionNil sets the value for AppVersion to be an explicit nil

func (*PatchedDeviceRequest) SetDistro

func (o *PatchedDeviceRequest) SetDistro(v string)

SetDistro gets a reference to the given NullableString and assigns it to the Distro field.

func (*PatchedDeviceRequest) SetDistroCodename

func (o *PatchedDeviceRequest) SetDistroCodename(v string)

SetDistroCodename gets a reference to the given NullableString and assigns it to the DistroCodename field.

func (*PatchedDeviceRequest) SetDistroCodenameNil

func (o *PatchedDeviceRequest) SetDistroCodenameNil()

SetDistroCodenameNil sets the value for DistroCodename to be an explicit nil

func (*PatchedDeviceRequest) SetDistroNil

func (o *PatchedDeviceRequest) SetDistroNil()

SetDistroNil sets the value for Distro to be an explicit nil

func (*PatchedDeviceRequest) SetDistroVersion

func (o *PatchedDeviceRequest) SetDistroVersion(v string)

SetDistroVersion gets a reference to the given NullableString and assigns it to the DistroVersion field.

func (*PatchedDeviceRequest) SetDistroVersionNil

func (o *PatchedDeviceRequest) SetDistroVersionNil()

SetDistroVersionNil sets the value for DistroVersion to be an explicit nil

func (*PatchedDeviceRequest) SetExternalKey

func (o *PatchedDeviceRequest) SetExternalKey(v string)

SetExternalKey gets a reference to the given NullableString and assigns it to the ExternalKey field.

func (*PatchedDeviceRequest) SetExternalKeyNil

func (o *PatchedDeviceRequest) SetExternalKeyNil()

SetExternalKeyNil sets the value for ExternalKey to be an explicit nil

func (*PatchedDeviceRequest) SetName

func (o *PatchedDeviceRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PatchedDeviceRequest) SetOs

func (o *PatchedDeviceRequest) SetOs(v string)

SetOs gets a reference to the given NullableString and assigns it to the Os field.

func (*PatchedDeviceRequest) SetOsArch

func (o *PatchedDeviceRequest) SetOsArch(v string)

SetOsArch gets a reference to the given NullableString and assigns it to the OsArch field.

func (*PatchedDeviceRequest) SetOsArchNil

func (o *PatchedDeviceRequest) SetOsArchNil()

SetOsArchNil sets the value for OsArch to be an explicit nil

func (*PatchedDeviceRequest) SetOsNil

func (o *PatchedDeviceRequest) SetOsNil()

SetOsNil sets the value for Os to be an explicit nil

func (*PatchedDeviceRequest) SetOsVersion

func (o *PatchedDeviceRequest) SetOsVersion(v string)

SetOsVersion gets a reference to the given NullableString and assigns it to the OsVersion field.

func (*PatchedDeviceRequest) SetOsVersionNil

func (o *PatchedDeviceRequest) SetOsVersionNil()

SetOsVersionNil sets the value for OsVersion to be an explicit nil

func (*PatchedDeviceRequest) SetPassword

func (o *PatchedDeviceRequest) SetPassword(v string)

SetPassword gets a reference to the given NullableString and assigns it to the Password field.

func (*PatchedDeviceRequest) SetPasswordNil

func (o *PatchedDeviceRequest) SetPasswordNil()

SetPasswordNil sets the value for Password to be an explicit nil

func (*PatchedDeviceRequest) SetPubKey

func (o *PatchedDeviceRequest) SetPubKey(v string)

SetPubKey gets a reference to the given string and assigns it to the PubKey field.

func (*PatchedDeviceRequest) SetRawPassword

func (o *PatchedDeviceRequest) SetRawPassword(v string)

SetRawPassword gets a reference to the given string and assigns it to the RawPassword field.

func (PatchedDeviceRequest) ToMap

func (o PatchedDeviceRequest) ToMap() (map[string]interface{}, error)

func (*PatchedDeviceRequest) UnmarshalJSON

func (o *PatchedDeviceRequest) UnmarshalJSON(data []byte) (err error)

func (*PatchedDeviceRequest) UnsetAppBuild

func (o *PatchedDeviceRequest) UnsetAppBuild()

UnsetAppBuild ensures that no value is present for AppBuild, not even an explicit nil

func (*PatchedDeviceRequest) UnsetAppVersion

func (o *PatchedDeviceRequest) UnsetAppVersion()

UnsetAppVersion ensures that no value is present for AppVersion, not even an explicit nil

func (*PatchedDeviceRequest) UnsetDistro

func (o *PatchedDeviceRequest) UnsetDistro()

UnsetDistro ensures that no value is present for Distro, not even an explicit nil

func (*PatchedDeviceRequest) UnsetDistroCodename

func (o *PatchedDeviceRequest) UnsetDistroCodename()

UnsetDistroCodename ensures that no value is present for DistroCodename, not even an explicit nil

func (*PatchedDeviceRequest) UnsetDistroVersion

func (o *PatchedDeviceRequest) UnsetDistroVersion()

UnsetDistroVersion ensures that no value is present for DistroVersion, not even an explicit nil

func (*PatchedDeviceRequest) UnsetExternalKey

func (o *PatchedDeviceRequest) UnsetExternalKey()

UnsetExternalKey ensures that no value is present for ExternalKey, not even an explicit nil

func (*PatchedDeviceRequest) UnsetOs

func (o *PatchedDeviceRequest) UnsetOs()

UnsetOs ensures that no value is present for Os, not even an explicit nil

func (*PatchedDeviceRequest) UnsetOsArch

func (o *PatchedDeviceRequest) UnsetOsArch()

UnsetOsArch ensures that no value is present for OsArch, not even an explicit nil

func (*PatchedDeviceRequest) UnsetOsVersion

func (o *PatchedDeviceRequest) UnsetOsVersion()

UnsetOsVersion ensures that no value is present for OsVersion, not even an explicit nil

func (*PatchedDeviceRequest) UnsetPassword

func (o *PatchedDeviceRequest) UnsetPassword()

UnsetPassword ensures that no value is present for Password, not even an explicit nil

type PatchedNodeRequest

type PatchedNodeRequest struct {
	Hostname    *string  `json:"hostname,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"`
	IpAddresses []string `json:"ip_addresses,omitempty"`
	Subnets     []string `json:"subnets,omitempty"`
	Tags        []string `json:"tags,omitempty"`
	IsPublic    *bool    `json:"is_public,omitempty"`
	PubKey      *string  `json:"pub_key,omitempty"`
	Ports       []string `json:"ports,omitempty"`
	// Ports used for HTTPs Proxy
	HttpsProxyPorts []string `json:"https_proxy_ports,omitempty"`
	// Ports used for Shadow Socket Bridge
	SsBridgePorts        []string       `json:"ss_bridge_ports,omitempty"`
	Status               *NodeStatus    `json:"status,omitempty"`
	Os                   NullableString `json:"os,omitempty"`
	OsVersion            NullableString `json:"os_version,omitempty"`
	OsArch               NullableString `json:"os_arch,omitempty"`
	Distro               NullableString `json:"distro,omitempty"`
	DistroVersion        NullableString `json:"distro_version,omitempty"`
	DistroCodename       NullableString `json:"distro_codename,omitempty"`
	AppVersion           NullableString `json:"app_version,omitempty"`
	AppBuild             NullableString `json:"app_build,omitempty"`
	AdditionalProperties map[string]interface{}
}

PatchedNodeRequest struct for PatchedNodeRequest

func NewPatchedNodeRequest

func NewPatchedNodeRequest() *PatchedNodeRequest

NewPatchedNodeRequest instantiates a new PatchedNodeRequest 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 NewPatchedNodeRequestWithDefaults

func NewPatchedNodeRequestWithDefaults() *PatchedNodeRequest

NewPatchedNodeRequestWithDefaults instantiates a new PatchedNodeRequest 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 (*PatchedNodeRequest) GetAppBuild

func (o *PatchedNodeRequest) GetAppBuild() string

GetAppBuild returns the AppBuild field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedNodeRequest) GetAppBuildOk

func (o *PatchedNodeRequest) GetAppBuildOk() (*string, bool)

GetAppBuildOk returns a tuple with the AppBuild field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedNodeRequest) GetAppVersion

func (o *PatchedNodeRequest) GetAppVersion() string

GetAppVersion returns the AppVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedNodeRequest) GetAppVersionOk

func (o *PatchedNodeRequest) GetAppVersionOk() (*string, bool)

GetAppVersionOk returns a tuple with the AppVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedNodeRequest) GetDistro

func (o *PatchedNodeRequest) GetDistro() string

GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedNodeRequest) GetDistroCodename

func (o *PatchedNodeRequest) GetDistroCodename() string

GetDistroCodename returns the DistroCodename field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedNodeRequest) GetDistroCodenameOk

func (o *PatchedNodeRequest) GetDistroCodenameOk() (*string, bool)

GetDistroCodenameOk returns a tuple with the DistroCodename field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedNodeRequest) GetDistroOk

func (o *PatchedNodeRequest) GetDistroOk() (*string, bool)

GetDistroOk returns a tuple with the Distro field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedNodeRequest) GetDistroVersion

func (o *PatchedNodeRequest) GetDistroVersion() string

GetDistroVersion returns the DistroVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedNodeRequest) GetDistroVersionOk

func (o *PatchedNodeRequest) GetDistroVersionOk() (*string, bool)

GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedNodeRequest) GetHostname

func (o *PatchedNodeRequest) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*PatchedNodeRequest) GetHostnameOk

func (o *PatchedNodeRequest) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedNodeRequest) GetHttpsProxyPorts

func (o *PatchedNodeRequest) GetHttpsProxyPorts() []string

GetHttpsProxyPorts returns the HttpsProxyPorts field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedNodeRequest) GetHttpsProxyPortsOk

func (o *PatchedNodeRequest) GetHttpsProxyPortsOk() ([]string, bool)

GetHttpsProxyPortsOk returns a tuple with the HttpsProxyPorts field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedNodeRequest) GetIpAddresses

func (o *PatchedNodeRequest) GetIpAddresses() []string

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*PatchedNodeRequest) GetIpAddressesOk

func (o *PatchedNodeRequest) GetIpAddressesOk() ([]string, bool)

GetIpAddressesOk returns a tuple with the IpAddresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedNodeRequest) GetIsPublic

func (o *PatchedNodeRequest) GetIsPublic() bool

GetIsPublic returns the IsPublic field value if set, zero value otherwise.

func (*PatchedNodeRequest) GetIsPublicOk

func (o *PatchedNodeRequest) GetIsPublicOk() (*bool, bool)

GetIsPublicOk returns a tuple with the IsPublic field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedNodeRequest) GetOs

func (o *PatchedNodeRequest) GetOs() string

GetOs returns the Os field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedNodeRequest) GetOsArch

func (o *PatchedNodeRequest) GetOsArch() string

GetOsArch returns the OsArch field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedNodeRequest) GetOsArchOk

func (o *PatchedNodeRequest) GetOsArchOk() (*string, bool)

GetOsArchOk returns a tuple with the OsArch field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedNodeRequest) GetOsOk

func (o *PatchedNodeRequest) GetOsOk() (*string, bool)

GetOsOk returns a tuple with the Os field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedNodeRequest) GetOsVersion

func (o *PatchedNodeRequest) GetOsVersion() string

GetOsVersion returns the OsVersion field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedNodeRequest) GetOsVersionOk

func (o *PatchedNodeRequest) GetOsVersionOk() (*string, bool)

GetOsVersionOk returns a tuple with the OsVersion field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedNodeRequest) GetPorts

func (o *PatchedNodeRequest) GetPorts() []string

GetPorts returns the Ports field value if set, zero value otherwise.

func (*PatchedNodeRequest) GetPortsOk

func (o *PatchedNodeRequest) GetPortsOk() ([]string, bool)

GetPortsOk returns a tuple with the Ports field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedNodeRequest) GetPubKey

func (o *PatchedNodeRequest) GetPubKey() string

GetPubKey returns the PubKey field value if set, zero value otherwise.

func (*PatchedNodeRequest) GetPubKeyOk

func (o *PatchedNodeRequest) GetPubKeyOk() (*string, bool)

GetPubKeyOk returns a tuple with the PubKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedNodeRequest) GetSsBridgePorts

func (o *PatchedNodeRequest) GetSsBridgePorts() []string

GetSsBridgePorts returns the SsBridgePorts field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedNodeRequest) GetSsBridgePortsOk

func (o *PatchedNodeRequest) GetSsBridgePortsOk() ([]string, bool)

GetSsBridgePortsOk returns a tuple with the SsBridgePorts field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedNodeRequest) GetStatus

func (o *PatchedNodeRequest) GetStatus() NodeStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*PatchedNodeRequest) GetStatusOk

func (o *PatchedNodeRequest) GetStatusOk() (*NodeStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedNodeRequest) GetSubnets

func (o *PatchedNodeRequest) GetSubnets() []string

GetSubnets returns the Subnets field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PatchedNodeRequest) GetSubnetsOk

func (o *PatchedNodeRequest) GetSubnetsOk() ([]string, bool)

GetSubnetsOk returns a tuple with the Subnets field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PatchedNodeRequest) GetTags

func (o *PatchedNodeRequest) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*PatchedNodeRequest) GetTagsOk

func (o *PatchedNodeRequest) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PatchedNodeRequest) HasAppBuild

func (o *PatchedNodeRequest) HasAppBuild() bool

HasAppBuild returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasAppVersion

func (o *PatchedNodeRequest) HasAppVersion() bool

HasAppVersion returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasDistro

func (o *PatchedNodeRequest) HasDistro() bool

HasDistro returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasDistroCodename

func (o *PatchedNodeRequest) HasDistroCodename() bool

HasDistroCodename returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasDistroVersion

func (o *PatchedNodeRequest) HasDistroVersion() bool

HasDistroVersion returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasHostname

func (o *PatchedNodeRequest) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasHttpsProxyPorts

func (o *PatchedNodeRequest) HasHttpsProxyPorts() bool

HasHttpsProxyPorts returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasIpAddresses

func (o *PatchedNodeRequest) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasIsPublic

func (o *PatchedNodeRequest) HasIsPublic() bool

HasIsPublic returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasOs

func (o *PatchedNodeRequest) HasOs() bool

HasOs returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasOsArch

func (o *PatchedNodeRequest) HasOsArch() bool

HasOsArch returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasOsVersion

func (o *PatchedNodeRequest) HasOsVersion() bool

HasOsVersion returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasPorts

func (o *PatchedNodeRequest) HasPorts() bool

HasPorts returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasPubKey

func (o *PatchedNodeRequest) HasPubKey() bool

HasPubKey returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasSsBridgePorts

func (o *PatchedNodeRequest) HasSsBridgePorts() bool

HasSsBridgePorts returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasStatus

func (o *PatchedNodeRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasSubnets

func (o *PatchedNodeRequest) HasSubnets() bool

HasSubnets returns a boolean if a field has been set.

func (*PatchedNodeRequest) HasTags

func (o *PatchedNodeRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (PatchedNodeRequest) MarshalJSON

func (o PatchedNodeRequest) MarshalJSON() ([]byte, error)

func (*PatchedNodeRequest) SetAppBuild

func (o *PatchedNodeRequest) SetAppBuild(v string)

SetAppBuild gets a reference to the given NullableString and assigns it to the AppBuild field.

func (*PatchedNodeRequest) SetAppBuildNil

func (o *PatchedNodeRequest) SetAppBuildNil()

SetAppBuildNil sets the value for AppBuild to be an explicit nil

func (*PatchedNodeRequest) SetAppVersion

func (o *PatchedNodeRequest) SetAppVersion(v string)

SetAppVersion gets a reference to the given NullableString and assigns it to the AppVersion field.

func (*PatchedNodeRequest) SetAppVersionNil

func (o *PatchedNodeRequest) SetAppVersionNil()

SetAppVersionNil sets the value for AppVersion to be an explicit nil

func (*PatchedNodeRequest) SetDistro

func (o *PatchedNodeRequest) SetDistro(v string)

SetDistro gets a reference to the given NullableString and assigns it to the Distro field.

func (*PatchedNodeRequest) SetDistroCodename

func (o *PatchedNodeRequest) SetDistroCodename(v string)

SetDistroCodename gets a reference to the given NullableString and assigns it to the DistroCodename field.

func (*PatchedNodeRequest) SetDistroCodenameNil

func (o *PatchedNodeRequest) SetDistroCodenameNil()

SetDistroCodenameNil sets the value for DistroCodename to be an explicit nil

func (*PatchedNodeRequest) SetDistroNil

func (o *PatchedNodeRequest) SetDistroNil()

SetDistroNil sets the value for Distro to be an explicit nil

func (*PatchedNodeRequest) SetDistroVersion

func (o *PatchedNodeRequest) SetDistroVersion(v string)

SetDistroVersion gets a reference to the given NullableString and assigns it to the DistroVersion field.

func (*PatchedNodeRequest) SetDistroVersionNil

func (o *PatchedNodeRequest) SetDistroVersionNil()

SetDistroVersionNil sets the value for DistroVersion to be an explicit nil

func (*PatchedNodeRequest) SetHostname

func (o *PatchedNodeRequest) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*PatchedNodeRequest) SetHttpsProxyPorts

func (o *PatchedNodeRequest) SetHttpsProxyPorts(v []string)

SetHttpsProxyPorts gets a reference to the given []string and assigns it to the HttpsProxyPorts field.

func (*PatchedNodeRequest) SetIpAddresses

func (o *PatchedNodeRequest) SetIpAddresses(v []string)

SetIpAddresses gets a reference to the given []string and assigns it to the IpAddresses field.

func (*PatchedNodeRequest) SetIsPublic

func (o *PatchedNodeRequest) SetIsPublic(v bool)

SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field.

func (*PatchedNodeRequest) SetOs

func (o *PatchedNodeRequest) SetOs(v string)

SetOs gets a reference to the given NullableString and assigns it to the Os field.

func (*PatchedNodeRequest) SetOsArch

func (o *PatchedNodeRequest) SetOsArch(v string)

SetOsArch gets a reference to the given NullableString and assigns it to the OsArch field.

func (*PatchedNodeRequest) SetOsArchNil

func (o *PatchedNodeRequest) SetOsArchNil()

SetOsArchNil sets the value for OsArch to be an explicit nil

func (*PatchedNodeRequest) SetOsNil

func (o *PatchedNodeRequest) SetOsNil()

SetOsNil sets the value for Os to be an explicit nil

func (*PatchedNodeRequest) SetOsVersion

func (o *PatchedNodeRequest) SetOsVersion(v string)

SetOsVersion gets a reference to the given NullableString and assigns it to the OsVersion field.

func (*PatchedNodeRequest) SetOsVersionNil

func (o *PatchedNodeRequest) SetOsVersionNil()

SetOsVersionNil sets the value for OsVersion to be an explicit nil

func (*PatchedNodeRequest) SetPorts

func (o *PatchedNodeRequest) SetPorts(v []string)

SetPorts gets a reference to the given []string and assigns it to the Ports field.

func (*PatchedNodeRequest) SetPubKey

func (o *PatchedNodeRequest) SetPubKey(v string)

SetPubKey gets a reference to the given string and assigns it to the PubKey field.

func (*PatchedNodeRequest) SetSsBridgePorts

func (o *PatchedNodeRequest) SetSsBridgePorts(v []string)

SetSsBridgePorts gets a reference to the given []string and assigns it to the SsBridgePorts field.

func (*PatchedNodeRequest) SetStatus

func (o *PatchedNodeRequest) SetStatus(v NodeStatus)

SetStatus gets a reference to the given NodeStatus and assigns it to the Status field.

func (*PatchedNodeRequest) SetSubnets

func (o *PatchedNodeRequest) SetSubnets(v []string)

SetSubnets gets a reference to the given []string and assigns it to the Subnets field.

func (*PatchedNodeRequest) SetTags

func (o *PatchedNodeRequest) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (PatchedNodeRequest) ToMap

func (o PatchedNodeRequest) ToMap() (map[string]interface{}, error)

func (*PatchedNodeRequest) UnmarshalJSON

func (o *PatchedNodeRequest) UnmarshalJSON(data []byte) (err error)

func (*PatchedNodeRequest) UnsetAppBuild

func (o *PatchedNodeRequest) UnsetAppBuild()

UnsetAppBuild ensures that no value is present for AppBuild, not even an explicit nil

func (*PatchedNodeRequest) UnsetAppVersion

func (o *PatchedNodeRequest) UnsetAppVersion()

UnsetAppVersion ensures that no value is present for AppVersion, not even an explicit nil

func (*PatchedNodeRequest) UnsetDistro

func (o *PatchedNodeRequest) UnsetDistro()

UnsetDistro ensures that no value is present for Distro, not even an explicit nil

func (*PatchedNodeRequest) UnsetDistroCodename

func (o *PatchedNodeRequest) UnsetDistroCodename()

UnsetDistroCodename ensures that no value is present for DistroCodename, not even an explicit nil

func (*PatchedNodeRequest) UnsetDistroVersion

func (o *PatchedNodeRequest) UnsetDistroVersion()

UnsetDistroVersion ensures that no value is present for DistroVersion, not even an explicit nil

func (*PatchedNodeRequest) UnsetOs

func (o *PatchedNodeRequest) UnsetOs()

UnsetOs ensures that no value is present for Os, not even an explicit nil

func (*PatchedNodeRequest) UnsetOsArch

func (o *PatchedNodeRequest) UnsetOsArch()

UnsetOsArch ensures that no value is present for OsArch, not even an explicit nil

func (*PatchedNodeRequest) UnsetOsVersion

func (o *PatchedNodeRequest) UnsetOsVersion()

UnsetOsVersion ensures that no value is present for OsVersion, not even an explicit nil

type PaymentMethod

type PaymentMethod struct {
	Id                   string                    `json:"id"`
	Provider             string                    `json:"provider" validate:"regexp=^[-a-zA-Z0-9_]+$"`
	Type                 Type                      `json:"type"`
	Card                 NullablePaymentMethodCard `json:"card"`
	CreatedAt            time.Time                 `json:"created_at"`
	AdditionalProperties map[string]interface{}
}

PaymentMethod struct for PaymentMethod

func NewPaymentMethod

func NewPaymentMethod(id string, provider string, type_ Type, card NullablePaymentMethodCard, createdAt time.Time) *PaymentMethod

NewPaymentMethod instantiates a new PaymentMethod 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 NewPaymentMethodWithDefaults

func NewPaymentMethodWithDefaults() *PaymentMethod

NewPaymentMethodWithDefaults instantiates a new PaymentMethod 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 (*PaymentMethod) GetCard

func (o *PaymentMethod) GetCard() PaymentMethodCard

GetCard returns the Card field value If the value is explicit nil, the zero value for PaymentMethodCard will be returned

func (*PaymentMethod) GetCardOk

func (o *PaymentMethod) GetCardOk() (*PaymentMethodCard, bool)

GetCardOk returns a tuple with the Card field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethod) GetCreatedAt

func (o *PaymentMethod) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*PaymentMethod) GetCreatedAtOk

func (o *PaymentMethod) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*PaymentMethod) GetId

func (o *PaymentMethod) GetId() string

GetId returns the Id field value

func (*PaymentMethod) GetIdOk

func (o *PaymentMethod) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*PaymentMethod) GetProvider

func (o *PaymentMethod) GetProvider() string

GetProvider returns the Provider field value

func (*PaymentMethod) GetProviderOk

func (o *PaymentMethod) GetProviderOk() (*string, bool)

GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.

func (*PaymentMethod) GetType

func (o *PaymentMethod) GetType() Type

GetType returns the Type field value

func (*PaymentMethod) GetTypeOk

func (o *PaymentMethod) GetTypeOk() (*Type, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (PaymentMethod) MarshalJSON

func (o PaymentMethod) MarshalJSON() ([]byte, error)

func (*PaymentMethod) SetCard

func (o *PaymentMethod) SetCard(v PaymentMethodCard)

SetCard sets field value

func (*PaymentMethod) SetCreatedAt

func (o *PaymentMethod) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*PaymentMethod) SetId

func (o *PaymentMethod) SetId(v string)

SetId sets field value

func (*PaymentMethod) SetProvider

func (o *PaymentMethod) SetProvider(v string)

SetProvider sets field value

func (*PaymentMethod) SetType

func (o *PaymentMethod) SetType(v Type)

SetType sets field value

func (PaymentMethod) ToMap

func (o PaymentMethod) ToMap() (map[string]interface{}, error)

func (*PaymentMethod) UnmarshalJSON

func (o *PaymentMethod) UnmarshalJSON(data []byte) (err error)

type PaymentMethodCard

type PaymentMethodCard struct {
	First6               NullableString  `json:"first6"`
	Last4                string          `json:"last4"`
	ExpMonth             int64           `json:"exp_month"`
	ExpYear              int64           `json:"exp_year"`
	ExpiresAt            time.Time       `json:"expires_at"`
	Brand                NullableString  `json:"brand"`
	Country              NullableCountry `json:"country"`
	AdditionalProperties map[string]interface{}
}

PaymentMethodCard struct for PaymentMethodCard

func NewPaymentMethodCard

func NewPaymentMethodCard(first6 NullableString, last4 string, expMonth int64, expYear int64, expiresAt time.Time, brand NullableString, country NullableCountry) *PaymentMethodCard

NewPaymentMethodCard instantiates a new PaymentMethodCard 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 NewPaymentMethodCardWithDefaults

func NewPaymentMethodCardWithDefaults() *PaymentMethodCard

NewPaymentMethodCardWithDefaults instantiates a new PaymentMethodCard 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 (*PaymentMethodCard) GetBrand

func (o *PaymentMethodCard) GetBrand() string

GetBrand returns the Brand field value If the value is explicit nil, the zero value for string will be returned

func (*PaymentMethodCard) GetBrandOk

func (o *PaymentMethodCard) GetBrandOk() (*string, bool)

GetBrandOk returns a tuple with the Brand field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodCard) GetCountry

func (o *PaymentMethodCard) GetCountry() Country

GetCountry returns the Country field value If the value is explicit nil, the zero value for Country will be returned

func (*PaymentMethodCard) GetCountryOk

func (o *PaymentMethodCard) GetCountryOk() (*Country, bool)

GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodCard) GetExpMonth

func (o *PaymentMethodCard) GetExpMonth() int64

GetExpMonth returns the ExpMonth field value

func (*PaymentMethodCard) GetExpMonthOk

func (o *PaymentMethodCard) GetExpMonthOk() (*int64, bool)

GetExpMonthOk returns a tuple with the ExpMonth field value and a boolean to check if the value has been set.

func (*PaymentMethodCard) GetExpYear

func (o *PaymentMethodCard) GetExpYear() int64

GetExpYear returns the ExpYear field value

func (*PaymentMethodCard) GetExpYearOk

func (o *PaymentMethodCard) GetExpYearOk() (*int64, bool)

GetExpYearOk returns a tuple with the ExpYear field value and a boolean to check if the value has been set.

func (*PaymentMethodCard) GetExpiresAt

func (o *PaymentMethodCard) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*PaymentMethodCard) GetExpiresAtOk

func (o *PaymentMethodCard) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.

func (*PaymentMethodCard) GetFirst6

func (o *PaymentMethodCard) GetFirst6() string

GetFirst6 returns the First6 field value If the value is explicit nil, the zero value for string will be returned

func (*PaymentMethodCard) GetFirst6Ok

func (o *PaymentMethodCard) GetFirst6Ok() (*string, bool)

GetFirst6Ok returns a tuple with the First6 field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaymentMethodCard) GetLast4

func (o *PaymentMethodCard) GetLast4() string

GetLast4 returns the Last4 field value

func (*PaymentMethodCard) GetLast4Ok

func (o *PaymentMethodCard) GetLast4Ok() (*string, bool)

GetLast4Ok returns a tuple with the Last4 field value and a boolean to check if the value has been set.

func (PaymentMethodCard) MarshalJSON

func (o PaymentMethodCard) MarshalJSON() ([]byte, error)

func (*PaymentMethodCard) SetBrand

func (o *PaymentMethodCard) SetBrand(v string)

SetBrand sets field value

func (*PaymentMethodCard) SetCountry

func (o *PaymentMethodCard) SetCountry(v Country)

SetCountry sets field value

func (*PaymentMethodCard) SetExpMonth

func (o *PaymentMethodCard) SetExpMonth(v int64)

SetExpMonth sets field value

func (*PaymentMethodCard) SetExpYear

func (o *PaymentMethodCard) SetExpYear(v int64)

SetExpYear sets field value

func (*PaymentMethodCard) SetExpiresAt

func (o *PaymentMethodCard) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*PaymentMethodCard) SetFirst6

func (o *PaymentMethodCard) SetFirst6(v string)

SetFirst6 sets field value

func (*PaymentMethodCard) SetLast4

func (o *PaymentMethodCard) SetLast4(v string)

SetLast4 sets field value

func (PaymentMethodCard) ToMap

func (o PaymentMethodCard) ToMap() (map[string]interface{}, error)

func (*PaymentMethodCard) UnmarshalJSON

func (o *PaymentMethodCard) UnmarshalJSON(data []byte) (err error)

type Period

type Period struct {
	Start                time.Time `json:"start"`
	End                  time.Time `json:"end"`
	AdditionalProperties map[string]interface{}
}

Period Serializer for time period information.

func NewPeriod

func NewPeriod(start time.Time, end time.Time) *Period

NewPeriod instantiates a new Period 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 NewPeriodWithDefaults

func NewPeriodWithDefaults() *Period

NewPeriodWithDefaults instantiates a new Period 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 (*Period) GetEnd

func (o *Period) GetEnd() time.Time

GetEnd returns the End field value

func (*Period) GetEndOk

func (o *Period) GetEndOk() (*time.Time, bool)

GetEndOk returns a tuple with the End field value and a boolean to check if the value has been set.

func (*Period) GetStart

func (o *Period) GetStart() time.Time

GetStart returns the Start field value

func (*Period) GetStartOk

func (o *Period) GetStartOk() (*time.Time, bool)

GetStartOk returns a tuple with the Start field value and a boolean to check if the value has been set.

func (Period) MarshalJSON

func (o Period) MarshalJSON() ([]byte, error)

func (*Period) SetEnd

func (o *Period) SetEnd(v time.Time)

SetEnd sets field value

func (*Period) SetStart

func (o *Period) SetStart(v time.Time)

SetStart sets field value

func (Period) ToMap

func (o Period) ToMap() (map[string]interface{}, error)

func (*Period) UnmarshalJSON

func (o *Period) UnmarshalJSON(data []byte) (err error)

type Plan

type Plan struct {
	Id                   string         `json:"id"`
	Slug                 string         `json:"slug" validate:"regexp=^[-a-zA-Z0-9_]+$"`
	Name                 string         `json:"name"`
	Description          NullableString `json:"description,omitempty"`
	IsMostPopular        *bool          `json:"is_most_popular,omitempty"`
	Prices               []PlanPrice    `json:"prices"`
	Currencies           NullableString `json:"currencies"`
	AdditionalProperties map[string]interface{}
}

Plan struct for Plan

func NewPlan

func NewPlan(id string, slug string, name string, prices []PlanPrice, currencies NullableString) *Plan

NewPlan instantiates a new Plan 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 NewPlanWithDefaults

func NewPlanWithDefaults() *Plan

NewPlanWithDefaults instantiates a new Plan 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 (*Plan) GetCurrencies

func (o *Plan) GetCurrencies() string

GetCurrencies returns the Currencies field value If the value is explicit nil, the zero value for string will be returned

func (*Plan) GetCurrenciesOk

func (o *Plan) GetCurrenciesOk() (*string, bool)

GetCurrenciesOk returns a tuple with the Currencies field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Plan) GetDescription

func (o *Plan) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Plan) GetDescriptionOk

func (o *Plan) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Plan) GetId

func (o *Plan) GetId() string

GetId returns the Id field value

func (*Plan) GetIdOk

func (o *Plan) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Plan) GetIsMostPopular

func (o *Plan) GetIsMostPopular() bool

GetIsMostPopular returns the IsMostPopular field value if set, zero value otherwise.

func (*Plan) GetIsMostPopularOk

func (o *Plan) GetIsMostPopularOk() (*bool, bool)

GetIsMostPopularOk returns a tuple with the IsMostPopular field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetName

func (o *Plan) GetName() string

GetName returns the Name field value

func (*Plan) GetNameOk

func (o *Plan) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Plan) GetPrices

func (o *Plan) GetPrices() []PlanPrice

GetPrices returns the Prices field value If the value is explicit nil, the zero value for []PlanPrice will be returned

func (*Plan) GetPricesOk

func (o *Plan) GetPricesOk() ([]PlanPrice, bool)

GetPricesOk returns a tuple with the Prices field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Plan) GetSlug

func (o *Plan) GetSlug() string

GetSlug returns the Slug field value

func (*Plan) GetSlugOk

func (o *Plan) GetSlugOk() (*string, bool)

GetSlugOk returns a tuple with the Slug field value and a boolean to check if the value has been set.

func (*Plan) HasDescription

func (o *Plan) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Plan) HasIsMostPopular

func (o *Plan) HasIsMostPopular() bool

HasIsMostPopular returns a boolean if a field has been set.

func (Plan) MarshalJSON

func (o Plan) MarshalJSON() ([]byte, error)

func (*Plan) SetCurrencies

func (o *Plan) SetCurrencies(v string)

SetCurrencies sets field value

func (*Plan) SetDescription

func (o *Plan) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*Plan) SetDescriptionNil

func (o *Plan) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*Plan) SetId

func (o *Plan) SetId(v string)

SetId sets field value

func (*Plan) SetIsMostPopular

func (o *Plan) SetIsMostPopular(v bool)

SetIsMostPopular gets a reference to the given bool and assigns it to the IsMostPopular field.

func (*Plan) SetName

func (o *Plan) SetName(v string)

SetName sets field value

func (*Plan) SetPrices

func (o *Plan) SetPrices(v []PlanPrice)

SetPrices sets field value

func (*Plan) SetSlug

func (o *Plan) SetSlug(v string)

SetSlug sets field value

func (Plan) ToMap

func (o Plan) ToMap() (map[string]interface{}, error)

func (*Plan) UnmarshalJSON

func (o *Plan) UnmarshalJSON(data []byte) (err error)

func (*Plan) UnsetDescription

func (o *Plan) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

type PlanPrice

type PlanPrice struct {
	Id       string    `json:"id"`
	Interval *Interval `json:"interval,omitempty"`
	Amount   float64   `json:"amount"`
	Currency string    `json:"currency"`
	// Number of trial days, must be a positive integer greater than 0
	TrialDays            NullableInt64         `json:"trial_days,omitempty"`
	PriceDiffInfo        NullablePriceDiffInfo `json:"price_diff_info"`
	IsMostPopular        *bool                 `json:"is_most_popular,omitempty"`
	IsEligibleForTrial   bool                  `json:"is_eligible_for_trial"`
	AdditionalProperties map[string]interface{}
}

PlanPrice struct for PlanPrice

func NewPlanPrice

func NewPlanPrice(id string, amount float64, currency string, priceDiffInfo NullablePriceDiffInfo, isEligibleForTrial bool) *PlanPrice

NewPlanPrice instantiates a new PlanPrice 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 NewPlanPriceWithDefaults

func NewPlanPriceWithDefaults() *PlanPrice

NewPlanPriceWithDefaults instantiates a new PlanPrice 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 (*PlanPrice) GetAmount

func (o *PlanPrice) GetAmount() float64

GetAmount returns the Amount field value

func (*PlanPrice) GetAmountOk

func (o *PlanPrice) GetAmountOk() (*float64, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*PlanPrice) GetCurrency

func (o *PlanPrice) GetCurrency() string

GetCurrency returns the Currency field value

func (*PlanPrice) GetCurrencyOk

func (o *PlanPrice) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.

func (*PlanPrice) GetId

func (o *PlanPrice) GetId() string

GetId returns the Id field value

func (*PlanPrice) GetIdOk

func (o *PlanPrice) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*PlanPrice) GetInterval

func (o *PlanPrice) GetInterval() Interval

GetInterval returns the Interval field value if set, zero value otherwise.

func (*PlanPrice) GetIntervalOk

func (o *PlanPrice) GetIntervalOk() (*Interval, bool)

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanPrice) GetIsEligibleForTrial

func (o *PlanPrice) GetIsEligibleForTrial() bool

GetIsEligibleForTrial returns the IsEligibleForTrial field value

func (*PlanPrice) GetIsEligibleForTrialOk

func (o *PlanPrice) GetIsEligibleForTrialOk() (*bool, bool)

GetIsEligibleForTrialOk returns a tuple with the IsEligibleForTrial field value and a boolean to check if the value has been set.

func (*PlanPrice) GetIsMostPopular

func (o *PlanPrice) GetIsMostPopular() bool

GetIsMostPopular returns the IsMostPopular field value if set, zero value otherwise.

func (*PlanPrice) GetIsMostPopularOk

func (o *PlanPrice) GetIsMostPopularOk() (*bool, bool)

GetIsMostPopularOk returns a tuple with the IsMostPopular field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanPrice) GetPriceDiffInfo

func (o *PlanPrice) GetPriceDiffInfo() PriceDiffInfo

GetPriceDiffInfo returns the PriceDiffInfo field value If the value is explicit nil, the zero value for PriceDiffInfo will be returned

func (*PlanPrice) GetPriceDiffInfoOk

func (o *PlanPrice) GetPriceDiffInfoOk() (*PriceDiffInfo, bool)

GetPriceDiffInfoOk returns a tuple with the PriceDiffInfo field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PlanPrice) GetTrialDays

func (o *PlanPrice) GetTrialDays() int64

GetTrialDays returns the TrialDays field value if set, zero value otherwise (both if not set or set to explicit null).

func (*PlanPrice) GetTrialDaysOk

func (o *PlanPrice) GetTrialDaysOk() (*int64, bool)

GetTrialDaysOk returns a tuple with the TrialDays field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PlanPrice) HasInterval

func (o *PlanPrice) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*PlanPrice) HasIsMostPopular

func (o *PlanPrice) HasIsMostPopular() bool

HasIsMostPopular returns a boolean if a field has been set.

func (*PlanPrice) HasTrialDays

func (o *PlanPrice) HasTrialDays() bool

HasTrialDays returns a boolean if a field has been set.

func (PlanPrice) MarshalJSON

func (o PlanPrice) MarshalJSON() ([]byte, error)

func (*PlanPrice) SetAmount

func (o *PlanPrice) SetAmount(v float64)

SetAmount sets field value

func (*PlanPrice) SetCurrency

func (o *PlanPrice) SetCurrency(v string)

SetCurrency sets field value

func (*PlanPrice) SetId

func (o *PlanPrice) SetId(v string)

SetId sets field value

func (*PlanPrice) SetInterval

func (o *PlanPrice) SetInterval(v Interval)

SetInterval gets a reference to the given Interval and assigns it to the Interval field.

func (*PlanPrice) SetIsEligibleForTrial

func (o *PlanPrice) SetIsEligibleForTrial(v bool)

SetIsEligibleForTrial sets field value

func (*PlanPrice) SetIsMostPopular

func (o *PlanPrice) SetIsMostPopular(v bool)

SetIsMostPopular gets a reference to the given bool and assigns it to the IsMostPopular field.

func (*PlanPrice) SetPriceDiffInfo

func (o *PlanPrice) SetPriceDiffInfo(v PriceDiffInfo)

SetPriceDiffInfo sets field value

func (*PlanPrice) SetTrialDays

func (o *PlanPrice) SetTrialDays(v int64)

SetTrialDays gets a reference to the given NullableInt64 and assigns it to the TrialDays field.

func (*PlanPrice) SetTrialDaysNil

func (o *PlanPrice) SetTrialDaysNil()

SetTrialDaysNil sets the value for TrialDays to be an explicit nil

func (PlanPrice) ToMap

func (o PlanPrice) ToMap() (map[string]interface{}, error)

func (*PlanPrice) UnmarshalJSON

func (o *PlanPrice) UnmarshalJSON(data []byte) (err error)

func (*PlanPrice) UnsetTrialDays

func (o *PlanPrice) UnsetTrialDays()

UnsetTrialDays ensures that no value is present for TrialDays, not even an explicit nil

type PriceDiffInfo

type PriceDiffInfo struct {
	Amount               float64 `json:"amount"`
	Currency             string  `json:"currency"`
	Interval             string  `json:"interval"`
	Discount             int64   `json:"discount"`
	SaveAmount           float64 `json:"save_amount"`
	SaveAmountTotal      int64   `json:"save_amount_total"`
	AdditionalProperties map[string]interface{}
}

PriceDiffInfo struct for PriceDiffInfo

func NewPriceDiffInfo

func NewPriceDiffInfo(amount float64, currency string, interval string, discount int64, saveAmount float64, saveAmountTotal int64) *PriceDiffInfo

NewPriceDiffInfo instantiates a new PriceDiffInfo 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 NewPriceDiffInfoWithDefaults

func NewPriceDiffInfoWithDefaults() *PriceDiffInfo

NewPriceDiffInfoWithDefaults instantiates a new PriceDiffInfo 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 (*PriceDiffInfo) GetAmount

func (o *PriceDiffInfo) GetAmount() float64

GetAmount returns the Amount field value

func (*PriceDiffInfo) GetAmountOk

func (o *PriceDiffInfo) GetAmountOk() (*float64, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*PriceDiffInfo) GetCurrency

func (o *PriceDiffInfo) GetCurrency() string

GetCurrency returns the Currency field value

func (*PriceDiffInfo) GetCurrencyOk

func (o *PriceDiffInfo) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.

func (*PriceDiffInfo) GetDiscount

func (o *PriceDiffInfo) GetDiscount() int64

GetDiscount returns the Discount field value

func (*PriceDiffInfo) GetDiscountOk

func (o *PriceDiffInfo) GetDiscountOk() (*int64, bool)

GetDiscountOk returns a tuple with the Discount field value and a boolean to check if the value has been set.

func (*PriceDiffInfo) GetInterval

func (o *PriceDiffInfo) GetInterval() string

GetInterval returns the Interval field value

func (*PriceDiffInfo) GetIntervalOk

func (o *PriceDiffInfo) GetIntervalOk() (*string, bool)

GetIntervalOk returns a tuple with the Interval field value and a boolean to check if the value has been set.

func (*PriceDiffInfo) GetSaveAmount

func (o *PriceDiffInfo) GetSaveAmount() float64

GetSaveAmount returns the SaveAmount field value

func (*PriceDiffInfo) GetSaveAmountOk

func (o *PriceDiffInfo) GetSaveAmountOk() (*float64, bool)

GetSaveAmountOk returns a tuple with the SaveAmount field value and a boolean to check if the value has been set.

func (*PriceDiffInfo) GetSaveAmountTotal

func (o *PriceDiffInfo) GetSaveAmountTotal() int64

GetSaveAmountTotal returns the SaveAmountTotal field value

func (*PriceDiffInfo) GetSaveAmountTotalOk

func (o *PriceDiffInfo) GetSaveAmountTotalOk() (*int64, bool)

GetSaveAmountTotalOk returns a tuple with the SaveAmountTotal field value and a boolean to check if the value has been set.

func (PriceDiffInfo) MarshalJSON

func (o PriceDiffInfo) MarshalJSON() ([]byte, error)

func (*PriceDiffInfo) SetAmount

func (o *PriceDiffInfo) SetAmount(v float64)

SetAmount sets field value

func (*PriceDiffInfo) SetCurrency

func (o *PriceDiffInfo) SetCurrency(v string)

SetCurrency sets field value

func (*PriceDiffInfo) SetDiscount

func (o *PriceDiffInfo) SetDiscount(v int64)

SetDiscount sets field value

func (*PriceDiffInfo) SetInterval

func (o *PriceDiffInfo) SetInterval(v string)

SetInterval sets field value

func (*PriceDiffInfo) SetSaveAmount

func (o *PriceDiffInfo) SetSaveAmount(v float64)

SetSaveAmount sets field value

func (*PriceDiffInfo) SetSaveAmountTotal

func (o *PriceDiffInfo) SetSaveAmountTotal(v int64)

SetSaveAmountTotal sets field value

func (PriceDiffInfo) ToMap

func (o PriceDiffInfo) ToMap() (map[string]interface{}, error)

func (*PriceDiffInfo) UnmarshalJSON

func (o *PriceDiffInfo) UnmarshalJSON(data []byte) (err error)

type Provider

type Provider struct {
	Id          string         `json:"id"`
	Name        string         `json:"name"`
	Description *string        `json:"description,omitempty"`
	Icon        NullableString `json:"icon,omitempty"`
	WebsiteUrl  NullableString `json:"website_url,omitempty"`
	ApiUrl      NullableString `json:"api_url,omitempty"`
	// Rating from 0.0 to 5.0
	Rating               *float64  `json:"rating,omitempty"`
	IsVerified           bool      `json:"is_verified"`
	IsDeleted            bool      `json:"is_deleted"`
	CreatedAt            time.Time `json:"created_at"`
	UpdatedAt            time.Time `json:"updated_at"`
	AdditionalProperties map[string]interface{}
}

Provider Serializer for Provider list and basic operations.

func NewProvider

func NewProvider(id string, name string, isVerified bool, isDeleted bool, createdAt time.Time, updatedAt time.Time) *Provider

NewProvider instantiates a new Provider 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 NewProviderWithDefaults

func NewProviderWithDefaults() *Provider

NewProviderWithDefaults instantiates a new Provider 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 (*Provider) GetApiUrl

func (o *Provider) GetApiUrl() string

GetApiUrl returns the ApiUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Provider) GetApiUrlOk

func (o *Provider) GetApiUrlOk() (*string, bool)

GetApiUrlOk returns a tuple with the ApiUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Provider) GetCreatedAt

func (o *Provider) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Provider) GetCreatedAtOk

func (o *Provider) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*Provider) GetDescription

func (o *Provider) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Provider) GetDescriptionOk

func (o *Provider) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Provider) GetIcon

func (o *Provider) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Provider) GetIconOk

func (o *Provider) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Provider) GetId

func (o *Provider) GetId() string

GetId returns the Id field value

func (*Provider) GetIdOk

func (o *Provider) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Provider) GetIsDeleted

func (o *Provider) GetIsDeleted() bool

GetIsDeleted returns the IsDeleted field value

func (*Provider) GetIsDeletedOk

func (o *Provider) GetIsDeletedOk() (*bool, bool)

GetIsDeletedOk returns a tuple with the IsDeleted field value and a boolean to check if the value has been set.

func (*Provider) GetIsVerified

func (o *Provider) GetIsVerified() bool

GetIsVerified returns the IsVerified field value

func (*Provider) GetIsVerifiedOk

func (o *Provider) GetIsVerifiedOk() (*bool, bool)

GetIsVerifiedOk returns a tuple with the IsVerified field value and a boolean to check if the value has been set.

func (*Provider) GetName

func (o *Provider) GetName() string

GetName returns the Name field value

func (*Provider) GetNameOk

func (o *Provider) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Provider) GetRating

func (o *Provider) GetRating() float64

GetRating returns the Rating field value if set, zero value otherwise.

func (*Provider) GetRatingOk

func (o *Provider) GetRatingOk() (*float64, bool)

GetRatingOk returns a tuple with the Rating field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Provider) GetUpdatedAt

func (o *Provider) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*Provider) GetUpdatedAtOk

func (o *Provider) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*Provider) GetWebsiteUrl

func (o *Provider) GetWebsiteUrl() string

GetWebsiteUrl returns the WebsiteUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Provider) GetWebsiteUrlOk

func (o *Provider) GetWebsiteUrlOk() (*string, bool)

GetWebsiteUrlOk returns a tuple with the WebsiteUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Provider) HasApiUrl

func (o *Provider) HasApiUrl() bool

HasApiUrl returns a boolean if a field has been set.

func (*Provider) HasDescription

func (o *Provider) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Provider) HasIcon

func (o *Provider) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*Provider) HasRating

func (o *Provider) HasRating() bool

HasRating returns a boolean if a field has been set.

func (*Provider) HasWebsiteUrl

func (o *Provider) HasWebsiteUrl() bool

HasWebsiteUrl returns a boolean if a field has been set.

func (Provider) MarshalJSON

func (o Provider) MarshalJSON() ([]byte, error)

func (*Provider) SetApiUrl

func (o *Provider) SetApiUrl(v string)

SetApiUrl gets a reference to the given NullableString and assigns it to the ApiUrl field.

func (*Provider) SetApiUrlNil

func (o *Provider) SetApiUrlNil()

SetApiUrlNil sets the value for ApiUrl to be an explicit nil

func (*Provider) SetCreatedAt

func (o *Provider) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Provider) SetDescription

func (o *Provider) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Provider) SetIcon

func (o *Provider) SetIcon(v string)

SetIcon gets a reference to the given NullableString and assigns it to the Icon field.

func (*Provider) SetIconNil

func (o *Provider) SetIconNil()

SetIconNil sets the value for Icon to be an explicit nil

func (*Provider) SetId

func (o *Provider) SetId(v string)

SetId sets field value

func (*Provider) SetIsDeleted

func (o *Provider) SetIsDeleted(v bool)

SetIsDeleted sets field value

func (*Provider) SetIsVerified

func (o *Provider) SetIsVerified(v bool)

SetIsVerified sets field value

func (*Provider) SetName

func (o *Provider) SetName(v string)

SetName sets field value

func (*Provider) SetRating

func (o *Provider) SetRating(v float64)

SetRating gets a reference to the given float64 and assigns it to the Rating field.

func (*Provider) SetUpdatedAt

func (o *Provider) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*Provider) SetWebsiteUrl

func (o *Provider) SetWebsiteUrl(v string)

SetWebsiteUrl gets a reference to the given NullableString and assigns it to the WebsiteUrl field.

func (*Provider) SetWebsiteUrlNil

func (o *Provider) SetWebsiteUrlNil()

SetWebsiteUrlNil sets the value for WebsiteUrl to be an explicit nil

func (Provider) ToMap

func (o Provider) ToMap() (map[string]interface{}, error)

func (*Provider) UnmarshalJSON

func (o *Provider) UnmarshalJSON(data []byte) (err error)

func (*Provider) UnsetApiUrl

func (o *Provider) UnsetApiUrl()

UnsetApiUrl ensures that no value is present for ApiUrl, not even an explicit nil

func (*Provider) UnsetIcon

func (o *Provider) UnsetIcon()

UnsetIcon ensures that no value is present for Icon, not even an explicit nil

func (*Provider) UnsetWebsiteUrl

func (o *Provider) UnsetWebsiteUrl()

UnsetWebsiteUrl ensures that no value is present for WebsiteUrl, not even an explicit nil

type ProviderAPIService

type ProviderAPIService service

ProviderAPIService ProviderAPI service

func (*ProviderAPIService) GetProvider

func (a *ProviderAPIService) GetProvider(ctx context.Context, providerId string) ApiGetProviderRequest

GetProvider Retrieve a provider

Get detailed information about a specific provider.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param providerId A UUID string identifying this Provider.
@return ApiGetProviderRequest

func (*ProviderAPIService) GetProviderExecute

Execute executes the request

@return ProviderDetail

func (*ProviderAPIService) GetProviders

GetProviders List all providers

Get a list of all active providers with optional filtering and search.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetProvidersRequest

func (*ProviderAPIService) GetProvidersExecute

Execute executes the request

@return PaginatedProviderList

type ProviderDetail

type ProviderDetail struct {
	Id          string         `json:"id"`
	Name        string         `json:"name"`
	Description *string        `json:"description,omitempty"`
	Icon        NullableString `json:"icon,omitempty"`
	WebsiteUrl  NullableString `json:"website_url,omitempty"`
	ApiUrl      NullableString `json:"api_url,omitempty"`
	// Rating from 0.0 to 5.0
	Rating               *float64  `json:"rating,omitempty"`
	IsVerified           bool      `json:"is_verified"`
	IsDeleted            bool      `json:"is_deleted"`
	CreatedAt            time.Time `json:"created_at"`
	UpdatedAt            time.Time `json:"updated_at"`
	VerifiedAt           time.Time `json:"verified_at"`
	AdditionalProperties map[string]interface{}
}

ProviderDetail Detailed serializer for Provider with additional fields.

func NewProviderDetail

func NewProviderDetail(id string, name string, isVerified bool, isDeleted bool, createdAt time.Time, updatedAt time.Time, verifiedAt time.Time) *ProviderDetail

NewProviderDetail instantiates a new ProviderDetail 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 NewProviderDetailWithDefaults

func NewProviderDetailWithDefaults() *ProviderDetail

NewProviderDetailWithDefaults instantiates a new ProviderDetail 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 (*ProviderDetail) GetApiUrl

func (o *ProviderDetail) GetApiUrl() string

GetApiUrl returns the ApiUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ProviderDetail) GetApiUrlOk

func (o *ProviderDetail) GetApiUrlOk() (*string, bool)

GetApiUrlOk returns a tuple with the ApiUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ProviderDetail) GetCreatedAt

func (o *ProviderDetail) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*ProviderDetail) GetCreatedAtOk

func (o *ProviderDetail) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*ProviderDetail) GetDescription

func (o *ProviderDetail) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ProviderDetail) GetDescriptionOk

func (o *ProviderDetail) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProviderDetail) GetIcon

func (o *ProviderDetail) GetIcon() string

GetIcon returns the Icon field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ProviderDetail) GetIconOk

func (o *ProviderDetail) GetIconOk() (*string, bool)

GetIconOk returns a tuple with the Icon field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ProviderDetail) GetId

func (o *ProviderDetail) GetId() string

GetId returns the Id field value

func (*ProviderDetail) GetIdOk

func (o *ProviderDetail) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*ProviderDetail) GetIsDeleted

func (o *ProviderDetail) GetIsDeleted() bool

GetIsDeleted returns the IsDeleted field value

func (*ProviderDetail) GetIsDeletedOk

func (o *ProviderDetail) GetIsDeletedOk() (*bool, bool)

GetIsDeletedOk returns a tuple with the IsDeleted field value and a boolean to check if the value has been set.

func (*ProviderDetail) GetIsVerified

func (o *ProviderDetail) GetIsVerified() bool

GetIsVerified returns the IsVerified field value

func (*ProviderDetail) GetIsVerifiedOk

func (o *ProviderDetail) GetIsVerifiedOk() (*bool, bool)

GetIsVerifiedOk returns a tuple with the IsVerified field value and a boolean to check if the value has been set.

func (*ProviderDetail) GetName

func (o *ProviderDetail) GetName() string

GetName returns the Name field value

func (*ProviderDetail) GetNameOk

func (o *ProviderDetail) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ProviderDetail) GetRating

func (o *ProviderDetail) GetRating() float64

GetRating returns the Rating field value if set, zero value otherwise.

func (*ProviderDetail) GetRatingOk

func (o *ProviderDetail) GetRatingOk() (*float64, bool)

GetRatingOk returns a tuple with the Rating field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProviderDetail) GetUpdatedAt

func (o *ProviderDetail) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*ProviderDetail) GetUpdatedAtOk

func (o *ProviderDetail) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*ProviderDetail) GetVerifiedAt

func (o *ProviderDetail) GetVerifiedAt() time.Time

GetVerifiedAt returns the VerifiedAt field value

func (*ProviderDetail) GetVerifiedAtOk

func (o *ProviderDetail) GetVerifiedAtOk() (*time.Time, bool)

GetVerifiedAtOk returns a tuple with the VerifiedAt field value and a boolean to check if the value has been set.

func (*ProviderDetail) GetWebsiteUrl

func (o *ProviderDetail) GetWebsiteUrl() string

GetWebsiteUrl returns the WebsiteUrl field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ProviderDetail) GetWebsiteUrlOk

func (o *ProviderDetail) GetWebsiteUrlOk() (*string, bool)

GetWebsiteUrlOk returns a tuple with the WebsiteUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ProviderDetail) HasApiUrl

func (o *ProviderDetail) HasApiUrl() bool

HasApiUrl returns a boolean if a field has been set.

func (*ProviderDetail) HasDescription

func (o *ProviderDetail) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ProviderDetail) HasIcon

func (o *ProviderDetail) HasIcon() bool

HasIcon returns a boolean if a field has been set.

func (*ProviderDetail) HasRating

func (o *ProviderDetail) HasRating() bool

HasRating returns a boolean if a field has been set.

func (*ProviderDetail) HasWebsiteUrl

func (o *ProviderDetail) HasWebsiteUrl() bool

HasWebsiteUrl returns a boolean if a field has been set.

func (ProviderDetail) MarshalJSON

func (o ProviderDetail) MarshalJSON() ([]byte, error)

func (*ProviderDetail) SetApiUrl

func (o *ProviderDetail) SetApiUrl(v string)

SetApiUrl gets a reference to the given NullableString and assigns it to the ApiUrl field.

func (*ProviderDetail) SetApiUrlNil

func (o *ProviderDetail) SetApiUrlNil()

SetApiUrlNil sets the value for ApiUrl to be an explicit nil

func (*ProviderDetail) SetCreatedAt

func (o *ProviderDetail) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*ProviderDetail) SetDescription

func (o *ProviderDetail) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ProviderDetail) SetIcon

func (o *ProviderDetail) SetIcon(v string)

SetIcon gets a reference to the given NullableString and assigns it to the Icon field.

func (*ProviderDetail) SetIconNil

func (o *ProviderDetail) SetIconNil()

SetIconNil sets the value for Icon to be an explicit nil

func (*ProviderDetail) SetId

func (o *ProviderDetail) SetId(v string)

SetId sets field value

func (*ProviderDetail) SetIsDeleted

func (o *ProviderDetail) SetIsDeleted(v bool)

SetIsDeleted sets field value

func (*ProviderDetail) SetIsVerified

func (o *ProviderDetail) SetIsVerified(v bool)

SetIsVerified sets field value

func (*ProviderDetail) SetName

func (o *ProviderDetail) SetName(v string)

SetName sets field value

func (*ProviderDetail) SetRating

func (o *ProviderDetail) SetRating(v float64)

SetRating gets a reference to the given float64 and assigns it to the Rating field.

func (*ProviderDetail) SetUpdatedAt

func (o *ProviderDetail) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*ProviderDetail) SetVerifiedAt

func (o *ProviderDetail) SetVerifiedAt(v time.Time)

SetVerifiedAt sets field value

func (*ProviderDetail) SetWebsiteUrl

func (o *ProviderDetail) SetWebsiteUrl(v string)

SetWebsiteUrl gets a reference to the given NullableString and assigns it to the WebsiteUrl field.

func (*ProviderDetail) SetWebsiteUrlNil

func (o *ProviderDetail) SetWebsiteUrlNil()

SetWebsiteUrlNil sets the value for WebsiteUrl to be an explicit nil

func (ProviderDetail) ToMap

func (o ProviderDetail) ToMap() (map[string]interface{}, error)

func (*ProviderDetail) UnmarshalJSON

func (o *ProviderDetail) UnmarshalJSON(data []byte) (err error)

func (*ProviderDetail) UnsetApiUrl

func (o *ProviderDetail) UnsetApiUrl()

UnsetApiUrl ensures that no value is present for ApiUrl, not even an explicit nil

func (*ProviderDetail) UnsetIcon

func (o *ProviderDetail) UnsetIcon()

UnsetIcon ensures that no value is present for Icon, not even an explicit nil

func (*ProviderDetail) UnsetWebsiteUrl

func (o *ProviderDetail) UnsetWebsiteUrl()

UnsetWebsiteUrl ensures that no value is present for WebsiteUrl, not even an explicit nil

type Region

type Region struct {
	Id string `json:"id"`
	// Short code identifier for the region
	Code                 string         `json:"code"`
	Name                 string         `json:"name"`
	Description          NullableString `json:"description,omitempty"`
	Countries            []Country      `json:"countries,omitempty"`
	AdditionalProperties map[string]interface{}
}

Region struct for Region

func NewRegion

func NewRegion(id string, code string, name string) *Region

NewRegion instantiates a new Region 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 NewRegionWithDefaults

func NewRegionWithDefaults() *Region

NewRegionWithDefaults instantiates a new Region 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 (*Region) GetCode

func (o *Region) GetCode() string

GetCode returns the Code field value

func (*Region) GetCodeOk

func (o *Region) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*Region) GetCountries

func (o *Region) GetCountries() []Country

GetCountries returns the Countries field value if set, zero value otherwise.

func (*Region) GetCountriesOk

func (o *Region) GetCountriesOk() ([]Country, bool)

GetCountriesOk returns a tuple with the Countries field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Region) GetDescription

func (o *Region) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Region) GetDescriptionOk

func (o *Region) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Region) GetId

func (o *Region) GetId() string

GetId returns the Id field value

func (*Region) GetIdOk

func (o *Region) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Region) GetName

func (o *Region) GetName() string

GetName returns the Name field value

func (*Region) GetNameOk

func (o *Region) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Region) HasCountries

func (o *Region) HasCountries() bool

HasCountries returns a boolean if a field has been set.

func (*Region) HasDescription

func (o *Region) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (Region) MarshalJSON

func (o Region) MarshalJSON() ([]byte, error)

func (*Region) SetCode

func (o *Region) SetCode(v string)

SetCode sets field value

func (*Region) SetCountries

func (o *Region) SetCountries(v []Country)

SetCountries gets a reference to the given []Country and assigns it to the Countries field.

func (*Region) SetDescription

func (o *Region) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*Region) SetDescriptionNil

func (o *Region) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*Region) SetId

func (o *Region) SetId(v string)

SetId sets field value

func (*Region) SetName

func (o *Region) SetName(v string)

SetName sets field value

func (Region) ToMap

func (o Region) ToMap() (map[string]interface{}, error)

func (*Region) UnmarshalJSON

func (o *Region) UnmarshalJSON(data []byte) (err error)

func (*Region) UnsetDescription

func (o *Region) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

type RegionDetail

type RegionDetail struct {
	Id string `json:"id"`
	// Short code identifier for the region
	Code                 string         `json:"code"`
	Name                 string         `json:"name"`
	Description          NullableString `json:"description,omitempty"`
	Countries            []Country      `json:"countries"`
	AdditionalProperties map[string]interface{}
}

RegionDetail struct for RegionDetail

func NewRegionDetail

func NewRegionDetail(id string, code string, name string, countries []Country) *RegionDetail

NewRegionDetail instantiates a new RegionDetail 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 NewRegionDetailWithDefaults

func NewRegionDetailWithDefaults() *RegionDetail

NewRegionDetailWithDefaults instantiates a new RegionDetail 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 (*RegionDetail) GetCode

func (o *RegionDetail) GetCode() string

GetCode returns the Code field value

func (*RegionDetail) GetCodeOk

func (o *RegionDetail) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*RegionDetail) GetCountries

func (o *RegionDetail) GetCountries() []Country

GetCountries returns the Countries field value

func (*RegionDetail) GetCountriesOk

func (o *RegionDetail) GetCountriesOk() ([]Country, bool)

GetCountriesOk returns a tuple with the Countries field value and a boolean to check if the value has been set.

func (*RegionDetail) GetDescription

func (o *RegionDetail) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RegionDetail) GetDescriptionOk

func (o *RegionDetail) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RegionDetail) GetId

func (o *RegionDetail) GetId() string

GetId returns the Id field value

func (*RegionDetail) GetIdOk

func (o *RegionDetail) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RegionDetail) GetName

func (o *RegionDetail) GetName() string

GetName returns the Name field value

func (*RegionDetail) GetNameOk

func (o *RegionDetail) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*RegionDetail) HasDescription

func (o *RegionDetail) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (RegionDetail) MarshalJSON

func (o RegionDetail) MarshalJSON() ([]byte, error)

func (*RegionDetail) SetCode

func (o *RegionDetail) SetCode(v string)

SetCode sets field value

func (*RegionDetail) SetCountries

func (o *RegionDetail) SetCountries(v []Country)

SetCountries sets field value

func (*RegionDetail) SetDescription

func (o *RegionDetail) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*RegionDetail) SetDescriptionNil

func (o *RegionDetail) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*RegionDetail) SetId

func (o *RegionDetail) SetId(v string)

SetId sets field value

func (*RegionDetail) SetName

func (o *RegionDetail) SetName(v string)

SetName sets field value

func (RegionDetail) ToMap

func (o RegionDetail) ToMap() (map[string]interface{}, error)

func (*RegionDetail) UnmarshalJSON

func (o *RegionDetail) UnmarshalJSON(data []byte) (err error)

func (*RegionDetail) UnsetDescription

func (o *RegionDetail) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

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 SetDefaultPaymentMethodRequest

type SetDefaultPaymentMethodRequest struct {
	PaymentMethod        string `json:"payment_method"`
	AdditionalProperties map[string]interface{}
}

SetDefaultPaymentMethodRequest struct for SetDefaultPaymentMethodRequest

func NewSetDefaultPaymentMethodRequest

func NewSetDefaultPaymentMethodRequest(paymentMethod string) *SetDefaultPaymentMethodRequest

NewSetDefaultPaymentMethodRequest instantiates a new SetDefaultPaymentMethodRequest 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 NewSetDefaultPaymentMethodRequestWithDefaults

func NewSetDefaultPaymentMethodRequestWithDefaults() *SetDefaultPaymentMethodRequest

NewSetDefaultPaymentMethodRequestWithDefaults instantiates a new SetDefaultPaymentMethodRequest 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 (*SetDefaultPaymentMethodRequest) GetPaymentMethod

func (o *SetDefaultPaymentMethodRequest) GetPaymentMethod() string

GetPaymentMethod returns the PaymentMethod field value

func (*SetDefaultPaymentMethodRequest) GetPaymentMethodOk

func (o *SetDefaultPaymentMethodRequest) GetPaymentMethodOk() (*string, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value and a boolean to check if the value has been set.

func (SetDefaultPaymentMethodRequest) MarshalJSON

func (o SetDefaultPaymentMethodRequest) MarshalJSON() ([]byte, error)

func (*SetDefaultPaymentMethodRequest) SetPaymentMethod

func (o *SetDefaultPaymentMethodRequest) SetPaymentMethod(v string)

SetPaymentMethod sets field value

func (SetDefaultPaymentMethodRequest) ToMap

func (o SetDefaultPaymentMethodRequest) ToMap() (map[string]interface{}, error)

func (*SetDefaultPaymentMethodRequest) UnmarshalJSON

func (o *SetDefaultPaymentMethodRequest) UnmarshalJSON(data []byte) (err error)

type SetNodeRequest

type SetNodeRequest struct {
	// The ID of the node to set
	NodeId *string `json:"node_id,omitempty"`
	// latitude coordinate for location-based node selection
	Lat *float64 `json:"lat,omitempty"`
	// longitude coordinate for location-based node selection
	Lon *float64 `json:"lon,omitempty"`
	// Maximum distance from coordinates (format: '10km', '5mi')
	MaxDistance          *string `json:"max_distance,omitempty"`
	AdditionalProperties map[string]interface{}
}

SetNodeRequest Serializer for setting a node by either ID or location.

func NewSetNodeRequest

func NewSetNodeRequest() *SetNodeRequest

NewSetNodeRequest instantiates a new SetNodeRequest 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 NewSetNodeRequestWithDefaults

func NewSetNodeRequestWithDefaults() *SetNodeRequest

NewSetNodeRequestWithDefaults instantiates a new SetNodeRequest 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 (*SetNodeRequest) GetLat

func (o *SetNodeRequest) GetLat() float64

GetLat returns the Lat field value if set, zero value otherwise.

func (*SetNodeRequest) GetLatOk

func (o *SetNodeRequest) GetLatOk() (*float64, bool)

GetLatOk returns a tuple with the Lat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SetNodeRequest) GetLon

func (o *SetNodeRequest) GetLon() float64

GetLon returns the Lon field value if set, zero value otherwise.

func (*SetNodeRequest) GetLonOk

func (o *SetNodeRequest) GetLonOk() (*float64, bool)

GetLonOk returns a tuple with the Lon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SetNodeRequest) GetMaxDistance

func (o *SetNodeRequest) GetMaxDistance() string

GetMaxDistance returns the MaxDistance field value if set, zero value otherwise.

func (*SetNodeRequest) GetMaxDistanceOk

func (o *SetNodeRequest) GetMaxDistanceOk() (*string, bool)

GetMaxDistanceOk returns a tuple with the MaxDistance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SetNodeRequest) GetNodeId

func (o *SetNodeRequest) GetNodeId() string

GetNodeId returns the NodeId field value if set, zero value otherwise.

func (*SetNodeRequest) GetNodeIdOk

func (o *SetNodeRequest) GetNodeIdOk() (*string, bool)

GetNodeIdOk returns a tuple with the NodeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SetNodeRequest) HasLat

func (o *SetNodeRequest) HasLat() bool

HasLat returns a boolean if a field has been set.

func (*SetNodeRequest) HasLon

func (o *SetNodeRequest) HasLon() bool

HasLon returns a boolean if a field has been set.

func (*SetNodeRequest) HasMaxDistance

func (o *SetNodeRequest) HasMaxDistance() bool

HasMaxDistance returns a boolean if a field has been set.

func (*SetNodeRequest) HasNodeId

func (o *SetNodeRequest) HasNodeId() bool

HasNodeId returns a boolean if a field has been set.

func (SetNodeRequest) MarshalJSON

func (o SetNodeRequest) MarshalJSON() ([]byte, error)

func (*SetNodeRequest) SetLat

func (o *SetNodeRequest) SetLat(v float64)

SetLat gets a reference to the given float64 and assigns it to the Lat field.

func (*SetNodeRequest) SetLon

func (o *SetNodeRequest) SetLon(v float64)

SetLon gets a reference to the given float64 and assigns it to the Lon field.

func (*SetNodeRequest) SetMaxDistance

func (o *SetNodeRequest) SetMaxDistance(v string)

SetMaxDistance gets a reference to the given string and assigns it to the MaxDistance field.

func (*SetNodeRequest) SetNodeId

func (o *SetNodeRequest) SetNodeId(v string)

SetNodeId gets a reference to the given string and assigns it to the NodeId field.

func (SetNodeRequest) ToMap

func (o SetNodeRequest) ToMap() (map[string]interface{}, error)

func (*SetNodeRequest) UnmarshalJSON

func (o *SetNodeRequest) UnmarshalJSON(data []byte) (err error)

type StripeAPIService

type StripeAPIService service

StripeAPIService StripeAPI service

func (*StripeAPIService) CreateStripeSetupIntent

func (a *StripeAPIService) CreateStripeSetupIntent(ctx context.Context) ApiCreateStripeSetupIntentRequest

CreateStripeSetupIntent Create a new stripe setup intent

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateStripeSetupIntentRequest

func (*StripeAPIService) CreateStripeSetupIntentExecute

func (a *StripeAPIService) CreateStripeSetupIntentExecute(r ApiCreateStripeSetupIntentRequest) (*StripeSetupIntent, *http.Response, error)

Execute executes the request

@return StripeSetupIntent

type StripeSetupIntent

type StripeSetupIntent struct {
	ClientSecret         string `json:"client_secret"`
	AdditionalProperties map[string]interface{}
}

StripeSetupIntent struct for StripeSetupIntent

func NewStripeSetupIntent

func NewStripeSetupIntent(clientSecret string) *StripeSetupIntent

NewStripeSetupIntent instantiates a new StripeSetupIntent 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 NewStripeSetupIntentWithDefaults

func NewStripeSetupIntentWithDefaults() *StripeSetupIntent

NewStripeSetupIntentWithDefaults instantiates a new StripeSetupIntent 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 (*StripeSetupIntent) GetClientSecret

func (o *StripeSetupIntent) GetClientSecret() string

GetClientSecret returns the ClientSecret field value

func (*StripeSetupIntent) GetClientSecretOk

func (o *StripeSetupIntent) GetClientSecretOk() (*string, bool)

GetClientSecretOk returns a tuple with the ClientSecret field value and a boolean to check if the value has been set.

func (StripeSetupIntent) MarshalJSON

func (o StripeSetupIntent) MarshalJSON() ([]byte, error)

func (*StripeSetupIntent) SetClientSecret

func (o *StripeSetupIntent) SetClientSecret(v string)

SetClientSecret sets field value

func (StripeSetupIntent) ToMap

func (o StripeSetupIntent) ToMap() (map[string]interface{}, error)

func (*StripeSetupIntent) UnmarshalJSON

func (o *StripeSetupIntent) UnmarshalJSON(data []byte) (err error)

type Subscription

type Subscription struct {
	Id string `json:"id"`
	// Date when the subscription was first created.The date might differ from the created date due to backdating.
	StartDate time.Time `json:"start_date"`
	// If the subscription has ended, the date the subscription ended.
	EndedAt NullableTime `json:"ended_at,omitempty"`
	// Start of the current period that the subscription has been invoiced for.
	CurrentPeriodStart time.Time `json:"current_period_start"`
	// End of the current period that the subscription has been invoiced for. At the end of this period, a new invoice will be created.
	CurrentPeriodEnd time.Time `json:"current_period_end"`
	// If the subscription has a trial, the beginning of that trial.
	TrialStart NullableTime `json:"trial_start,omitempty"`
	// If the subscription has a trial, the end of that trial.
	TrialEnd NullableTime `json:"trial_end,omitempty"`
	// A date in the future at which the subscription will automatically get canceled.
	CancelAt NullableTime `json:"cancel_at,omitempty"`
	// If the subscription has been canceled, the date of that cancellation.
	CanceledAt NullableTime        `json:"canceled_at,omitempty"`
	Status     *SubscriptionStatus `json:"status,omitempty"`
	// The subscription's description, meant to be displayable to the customer.Use this field to optionally store an explanation of the subscription.
	Description          NullableString                    `json:"description,omitempty"`
	ManagedBy            NullableManagedBy                 `json:"managed_by"`
	Amount               float64                           `json:"amount"`
	Currency             string                            `json:"currency"`
	LatestInvoice        NullableInvoice                   `json:"latest_invoice"`
	PendingUpdate        NullableSubscriptionPendingUpdate `json:"pending_update"`
	Plan                 Plan                              `json:"plan"`
	PlanPrice            PlanPrice                         `json:"plan_price"`
	CreatedAt            time.Time                         `json:"created_at"`
	AdditionalProperties map[string]interface{}
}

Subscription struct for Subscription

func NewSubscription

func NewSubscription(id string, startDate time.Time, currentPeriodStart time.Time, currentPeriodEnd time.Time, managedBy NullableManagedBy, amount float64, currency string, latestInvoice NullableInvoice, pendingUpdate NullableSubscriptionPendingUpdate, plan Plan, planPrice PlanPrice, createdAt time.Time) *Subscription

NewSubscription instantiates a new Subscription 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 NewSubscriptionWithDefaults

func NewSubscriptionWithDefaults() *Subscription

NewSubscriptionWithDefaults instantiates a new Subscription 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 (*Subscription) GetAmount

func (o *Subscription) GetAmount() float64

GetAmount returns the Amount field value

func (*Subscription) GetAmountOk

func (o *Subscription) GetAmountOk() (*float64, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*Subscription) GetCancelAt

func (o *Subscription) GetCancelAt() time.Time

GetCancelAt returns the CancelAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Subscription) GetCancelAtOk

func (o *Subscription) GetCancelAtOk() (*time.Time, bool)

GetCancelAtOk returns a tuple with the CancelAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Subscription) GetCanceledAt

func (o *Subscription) GetCanceledAt() time.Time

GetCanceledAt returns the CanceledAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Subscription) GetCanceledAtOk

func (o *Subscription) GetCanceledAtOk() (*time.Time, bool)

GetCanceledAtOk returns a tuple with the CanceledAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Subscription) GetCreatedAt

func (o *Subscription) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Subscription) GetCreatedAtOk

func (o *Subscription) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*Subscription) GetCurrency

func (o *Subscription) GetCurrency() string

GetCurrency returns the Currency field value

func (*Subscription) GetCurrencyOk

func (o *Subscription) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.

func (*Subscription) GetCurrentPeriodEnd

func (o *Subscription) GetCurrentPeriodEnd() time.Time

GetCurrentPeriodEnd returns the CurrentPeriodEnd field value

func (*Subscription) GetCurrentPeriodEndOk

func (o *Subscription) GetCurrentPeriodEndOk() (*time.Time, bool)

GetCurrentPeriodEndOk returns a tuple with the CurrentPeriodEnd field value and a boolean to check if the value has been set.

func (*Subscription) GetCurrentPeriodStart

func (o *Subscription) GetCurrentPeriodStart() time.Time

GetCurrentPeriodStart returns the CurrentPeriodStart field value

func (*Subscription) GetCurrentPeriodStartOk

func (o *Subscription) GetCurrentPeriodStartOk() (*time.Time, bool)

GetCurrentPeriodStartOk returns a tuple with the CurrentPeriodStart field value and a boolean to check if the value has been set.

func (*Subscription) GetDescription

func (o *Subscription) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Subscription) GetDescriptionOk

func (o *Subscription) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Subscription) GetEndedAt

func (o *Subscription) GetEndedAt() time.Time

GetEndedAt returns the EndedAt field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Subscription) GetEndedAtOk

func (o *Subscription) GetEndedAtOk() (*time.Time, bool)

GetEndedAtOk returns a tuple with the EndedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Subscription) GetId

func (o *Subscription) GetId() string

GetId returns the Id field value

func (*Subscription) GetIdOk

func (o *Subscription) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Subscription) GetLatestInvoice

func (o *Subscription) GetLatestInvoice() Invoice

GetLatestInvoice returns the LatestInvoice field value If the value is explicit nil, the zero value for Invoice will be returned

func (*Subscription) GetLatestInvoiceOk

func (o *Subscription) GetLatestInvoiceOk() (*Invoice, bool)

GetLatestInvoiceOk returns a tuple with the LatestInvoice field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Subscription) GetManagedBy

func (o *Subscription) GetManagedBy() ManagedBy

GetManagedBy returns the ManagedBy field value If the value is explicit nil, the zero value for ManagedBy will be returned

func (*Subscription) GetManagedByOk

func (o *Subscription) GetManagedByOk() (*ManagedBy, bool)

GetManagedByOk returns a tuple with the ManagedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Subscription) GetPendingUpdate

func (o *Subscription) GetPendingUpdate() SubscriptionPendingUpdate

GetPendingUpdate returns the PendingUpdate field value If the value is explicit nil, the zero value for SubscriptionPendingUpdate will be returned

func (*Subscription) GetPendingUpdateOk

func (o *Subscription) GetPendingUpdateOk() (*SubscriptionPendingUpdate, bool)

GetPendingUpdateOk returns a tuple with the PendingUpdate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Subscription) GetPlan

func (o *Subscription) GetPlan() Plan

GetPlan returns the Plan field value

func (*Subscription) GetPlanOk

func (o *Subscription) GetPlanOk() (*Plan, bool)

GetPlanOk returns a tuple with the Plan field value and a boolean to check if the value has been set.

func (*Subscription) GetPlanPrice

func (o *Subscription) GetPlanPrice() PlanPrice

GetPlanPrice returns the PlanPrice field value

func (*Subscription) GetPlanPriceOk

func (o *Subscription) GetPlanPriceOk() (*PlanPrice, bool)

GetPlanPriceOk returns a tuple with the PlanPrice field value and a boolean to check if the value has been set.

func (*Subscription) GetStartDate

func (o *Subscription) GetStartDate() time.Time

GetStartDate returns the StartDate field value

func (*Subscription) GetStartDateOk

func (o *Subscription) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field value and a boolean to check if the value has been set.

func (*Subscription) GetStatus

func (o *Subscription) GetStatus() SubscriptionStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*Subscription) GetStatusOk

func (o *Subscription) GetStatusOk() (*SubscriptionStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Subscription) GetTrialEnd

func (o *Subscription) GetTrialEnd() time.Time

GetTrialEnd returns the TrialEnd field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Subscription) GetTrialEndOk

func (o *Subscription) GetTrialEndOk() (*time.Time, bool)

GetTrialEndOk returns a tuple with the TrialEnd field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Subscription) GetTrialStart

func (o *Subscription) GetTrialStart() time.Time

GetTrialStart returns the TrialStart field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Subscription) GetTrialStartOk

func (o *Subscription) GetTrialStartOk() (*time.Time, bool)

GetTrialStartOk returns a tuple with the TrialStart field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Subscription) HasCancelAt

func (o *Subscription) HasCancelAt() bool

HasCancelAt returns a boolean if a field has been set.

func (*Subscription) HasCanceledAt

func (o *Subscription) HasCanceledAt() bool

HasCanceledAt returns a boolean if a field has been set.

func (*Subscription) HasDescription

func (o *Subscription) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Subscription) HasEndedAt

func (o *Subscription) HasEndedAt() bool

HasEndedAt returns a boolean if a field has been set.

func (*Subscription) HasStatus

func (o *Subscription) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Subscription) HasTrialEnd

func (o *Subscription) HasTrialEnd() bool

HasTrialEnd returns a boolean if a field has been set.

func (*Subscription) HasTrialStart

func (o *Subscription) HasTrialStart() bool

HasTrialStart returns a boolean if a field has been set.

func (Subscription) MarshalJSON

func (o Subscription) MarshalJSON() ([]byte, error)

func (*Subscription) SetAmount

func (o *Subscription) SetAmount(v float64)

SetAmount sets field value

func (*Subscription) SetCancelAt

func (o *Subscription) SetCancelAt(v time.Time)

SetCancelAt gets a reference to the given NullableTime and assigns it to the CancelAt field.

func (*Subscription) SetCancelAtNil

func (o *Subscription) SetCancelAtNil()

SetCancelAtNil sets the value for CancelAt to be an explicit nil

func (*Subscription) SetCanceledAt

func (o *Subscription) SetCanceledAt(v time.Time)

SetCanceledAt gets a reference to the given NullableTime and assigns it to the CanceledAt field.

func (*Subscription) SetCanceledAtNil

func (o *Subscription) SetCanceledAtNil()

SetCanceledAtNil sets the value for CanceledAt to be an explicit nil

func (*Subscription) SetCreatedAt

func (o *Subscription) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Subscription) SetCurrency

func (o *Subscription) SetCurrency(v string)

SetCurrency sets field value

func (*Subscription) SetCurrentPeriodEnd

func (o *Subscription) SetCurrentPeriodEnd(v time.Time)

SetCurrentPeriodEnd sets field value

func (*Subscription) SetCurrentPeriodStart

func (o *Subscription) SetCurrentPeriodStart(v time.Time)

SetCurrentPeriodStart sets field value

func (*Subscription) SetDescription

func (o *Subscription) SetDescription(v string)

SetDescription gets a reference to the given NullableString and assigns it to the Description field.

func (*Subscription) SetDescriptionNil

func (o *Subscription) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*Subscription) SetEndedAt

func (o *Subscription) SetEndedAt(v time.Time)

SetEndedAt gets a reference to the given NullableTime and assigns it to the EndedAt field.

func (*Subscription) SetEndedAtNil

func (o *Subscription) SetEndedAtNil()

SetEndedAtNil sets the value for EndedAt to be an explicit nil

func (*Subscription) SetId

func (o *Subscription) SetId(v string)

SetId sets field value

func (*Subscription) SetLatestInvoice

func (o *Subscription) SetLatestInvoice(v Invoice)

SetLatestInvoice sets field value

func (*Subscription) SetManagedBy

func (o *Subscription) SetManagedBy(v ManagedBy)

SetManagedBy sets field value

func (*Subscription) SetPendingUpdate

func (o *Subscription) SetPendingUpdate(v SubscriptionPendingUpdate)

SetPendingUpdate sets field value

func (*Subscription) SetPlan

func (o *Subscription) SetPlan(v Plan)

SetPlan sets field value

func (*Subscription) SetPlanPrice

func (o *Subscription) SetPlanPrice(v PlanPrice)

SetPlanPrice sets field value

func (*Subscription) SetStartDate

func (o *Subscription) SetStartDate(v time.Time)

SetStartDate sets field value

func (*Subscription) SetStatus

func (o *Subscription) SetStatus(v SubscriptionStatus)

SetStatus gets a reference to the given SubscriptionStatus and assigns it to the Status field.

func (*Subscription) SetTrialEnd

func (o *Subscription) SetTrialEnd(v time.Time)

SetTrialEnd gets a reference to the given NullableTime and assigns it to the TrialEnd field.

func (*Subscription) SetTrialEndNil

func (o *Subscription) SetTrialEndNil()

SetTrialEndNil sets the value for TrialEnd to be an explicit nil

func (*Subscription) SetTrialStart

func (o *Subscription) SetTrialStart(v time.Time)

SetTrialStart gets a reference to the given NullableTime and assigns it to the TrialStart field.

func (*Subscription) SetTrialStartNil

func (o *Subscription) SetTrialStartNil()

SetTrialStartNil sets the value for TrialStart to be an explicit nil

func (Subscription) ToMap

func (o Subscription) ToMap() (map[string]interface{}, error)

func (*Subscription) UnmarshalJSON

func (o *Subscription) UnmarshalJSON(data []byte) (err error)

func (*Subscription) UnsetCancelAt

func (o *Subscription) UnsetCancelAt()

UnsetCancelAt ensures that no value is present for CancelAt, not even an explicit nil

func (*Subscription) UnsetCanceledAt

func (o *Subscription) UnsetCanceledAt()

UnsetCanceledAt ensures that no value is present for CanceledAt, not even an explicit nil

func (*Subscription) UnsetDescription

func (o *Subscription) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*Subscription) UnsetEndedAt

func (o *Subscription) UnsetEndedAt()

UnsetEndedAt ensures that no value is present for EndedAt, not even an explicit nil

func (*Subscription) UnsetTrialEnd

func (o *Subscription) UnsetTrialEnd()

UnsetTrialEnd ensures that no value is present for TrialEnd, not even an explicit nil

func (*Subscription) UnsetTrialStart

func (o *Subscription) UnsetTrialStart()

UnsetTrialStart ensures that no value is present for TrialStart, not even an explicit nil

type SubscriptionChangePlanRequest

type SubscriptionChangePlanRequest struct {
	NewPlanPrice         string `json:"new_plan_price"`
	AdditionalProperties map[string]interface{}
}

SubscriptionChangePlanRequest struct for SubscriptionChangePlanRequest

func NewSubscriptionChangePlanRequest

func NewSubscriptionChangePlanRequest(newPlanPrice string) *SubscriptionChangePlanRequest

NewSubscriptionChangePlanRequest instantiates a new SubscriptionChangePlanRequest 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 NewSubscriptionChangePlanRequestWithDefaults

func NewSubscriptionChangePlanRequestWithDefaults() *SubscriptionChangePlanRequest

NewSubscriptionChangePlanRequestWithDefaults instantiates a new SubscriptionChangePlanRequest 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 (*SubscriptionChangePlanRequest) GetNewPlanPrice

func (o *SubscriptionChangePlanRequest) GetNewPlanPrice() string

GetNewPlanPrice returns the NewPlanPrice field value

func (*SubscriptionChangePlanRequest) GetNewPlanPriceOk

func (o *SubscriptionChangePlanRequest) GetNewPlanPriceOk() (*string, bool)

GetNewPlanPriceOk returns a tuple with the NewPlanPrice field value and a boolean to check if the value has been set.

func (SubscriptionChangePlanRequest) MarshalJSON

func (o SubscriptionChangePlanRequest) MarshalJSON() ([]byte, error)

func (*SubscriptionChangePlanRequest) SetNewPlanPrice

func (o *SubscriptionChangePlanRequest) SetNewPlanPrice(v string)

SetNewPlanPrice sets field value

func (SubscriptionChangePlanRequest) ToMap

func (o SubscriptionChangePlanRequest) ToMap() (map[string]interface{}, error)

func (*SubscriptionChangePlanRequest) UnmarshalJSON

func (o *SubscriptionChangePlanRequest) UnmarshalJSON(data []byte) (err error)

type SubscriptionCreationRequest

type SubscriptionCreationRequest struct {
	PlanPrice            string         `json:"plan_price"`
	PaymentMethod        NullableString `json:"payment_method,omitempty"`
	AdditionalProperties map[string]interface{}
}

SubscriptionCreationRequest struct for SubscriptionCreationRequest

func NewSubscriptionCreationRequest

func NewSubscriptionCreationRequest(planPrice string) *SubscriptionCreationRequest

NewSubscriptionCreationRequest instantiates a new SubscriptionCreationRequest 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 NewSubscriptionCreationRequestWithDefaults

func NewSubscriptionCreationRequestWithDefaults() *SubscriptionCreationRequest

NewSubscriptionCreationRequestWithDefaults instantiates a new SubscriptionCreationRequest 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 (*SubscriptionCreationRequest) GetPaymentMethod

func (o *SubscriptionCreationRequest) GetPaymentMethod() string

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise (both if not set or set to explicit null).

func (*SubscriptionCreationRequest) GetPaymentMethodOk

func (o *SubscriptionCreationRequest) GetPaymentMethodOk() (*string, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*SubscriptionCreationRequest) GetPlanPrice

func (o *SubscriptionCreationRequest) GetPlanPrice() string

GetPlanPrice returns the PlanPrice field value

func (*SubscriptionCreationRequest) GetPlanPriceOk

func (o *SubscriptionCreationRequest) GetPlanPriceOk() (*string, bool)

GetPlanPriceOk returns a tuple with the PlanPrice field value and a boolean to check if the value has been set.

func (*SubscriptionCreationRequest) HasPaymentMethod

func (o *SubscriptionCreationRequest) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (SubscriptionCreationRequest) MarshalJSON

func (o SubscriptionCreationRequest) MarshalJSON() ([]byte, error)

func (*SubscriptionCreationRequest) SetPaymentMethod

func (o *SubscriptionCreationRequest) SetPaymentMethod(v string)

SetPaymentMethod gets a reference to the given NullableString and assigns it to the PaymentMethod field.

func (*SubscriptionCreationRequest) SetPaymentMethodNil

func (o *SubscriptionCreationRequest) SetPaymentMethodNil()

SetPaymentMethodNil sets the value for PaymentMethod to be an explicit nil

func (*SubscriptionCreationRequest) SetPlanPrice

func (o *SubscriptionCreationRequest) SetPlanPrice(v string)

SetPlanPrice sets field value

func (SubscriptionCreationRequest) ToMap

func (o SubscriptionCreationRequest) ToMap() (map[string]interface{}, error)

func (*SubscriptionCreationRequest) UnmarshalJSON

func (o *SubscriptionCreationRequest) UnmarshalJSON(data []byte) (err error)

func (*SubscriptionCreationRequest) UnsetPaymentMethod

func (o *SubscriptionCreationRequest) UnsetPaymentMethod()

UnsetPaymentMethod ensures that no value is present for PaymentMethod, not even an explicit nil

type SubscriptionPendingUpdate

type SubscriptionPendingUpdate struct {
	Plan      Plan      `json:"plan"`
	PlanPrice PlanPrice `json:"plan_price"`
	Amount    float64   `json:"amount"`
	Currency  string    `json:"currency"`
	// The date when the transition will take effect.
	EffectiveAt          time.Time `json:"effective_at"`
	AdditionalProperties map[string]interface{}
}

SubscriptionPendingUpdate struct for SubscriptionPendingUpdate

func NewSubscriptionPendingUpdate

func NewSubscriptionPendingUpdate(plan Plan, planPrice PlanPrice, amount float64, currency string, effectiveAt time.Time) *SubscriptionPendingUpdate

NewSubscriptionPendingUpdate instantiates a new SubscriptionPendingUpdate 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 NewSubscriptionPendingUpdateWithDefaults

func NewSubscriptionPendingUpdateWithDefaults() *SubscriptionPendingUpdate

NewSubscriptionPendingUpdateWithDefaults instantiates a new SubscriptionPendingUpdate 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 (*SubscriptionPendingUpdate) GetAmount

func (o *SubscriptionPendingUpdate) GetAmount() float64

GetAmount returns the Amount field value

func (*SubscriptionPendingUpdate) GetAmountOk

func (o *SubscriptionPendingUpdate) GetAmountOk() (*float64, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*SubscriptionPendingUpdate) GetCurrency

func (o *SubscriptionPendingUpdate) GetCurrency() string

GetCurrency returns the Currency field value

func (*SubscriptionPendingUpdate) GetCurrencyOk

func (o *SubscriptionPendingUpdate) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.

func (*SubscriptionPendingUpdate) GetEffectiveAt

func (o *SubscriptionPendingUpdate) GetEffectiveAt() time.Time

GetEffectiveAt returns the EffectiveAt field value

func (*SubscriptionPendingUpdate) GetEffectiveAtOk

func (o *SubscriptionPendingUpdate) GetEffectiveAtOk() (*time.Time, bool)

GetEffectiveAtOk returns a tuple with the EffectiveAt field value and a boolean to check if the value has been set.

func (*SubscriptionPendingUpdate) GetPlan

func (o *SubscriptionPendingUpdate) GetPlan() Plan

GetPlan returns the Plan field value

func (*SubscriptionPendingUpdate) GetPlanOk

func (o *SubscriptionPendingUpdate) GetPlanOk() (*Plan, bool)

GetPlanOk returns a tuple with the Plan field value and a boolean to check if the value has been set.

func (*SubscriptionPendingUpdate) GetPlanPrice

func (o *SubscriptionPendingUpdate) GetPlanPrice() PlanPrice

GetPlanPrice returns the PlanPrice field value

func (*SubscriptionPendingUpdate) GetPlanPriceOk

func (o *SubscriptionPendingUpdate) GetPlanPriceOk() (*PlanPrice, bool)

GetPlanPriceOk returns a tuple with the PlanPrice field value and a boolean to check if the value has been set.

func (SubscriptionPendingUpdate) MarshalJSON

func (o SubscriptionPendingUpdate) MarshalJSON() ([]byte, error)

func (*SubscriptionPendingUpdate) SetAmount

func (o *SubscriptionPendingUpdate) SetAmount(v float64)

SetAmount sets field value

func (*SubscriptionPendingUpdate) SetCurrency

func (o *SubscriptionPendingUpdate) SetCurrency(v string)

SetCurrency sets field value

func (*SubscriptionPendingUpdate) SetEffectiveAt

func (o *SubscriptionPendingUpdate) SetEffectiveAt(v time.Time)

SetEffectiveAt sets field value

func (*SubscriptionPendingUpdate) SetPlan

func (o *SubscriptionPendingUpdate) SetPlan(v Plan)

SetPlan sets field value

func (*SubscriptionPendingUpdate) SetPlanPrice

func (o *SubscriptionPendingUpdate) SetPlanPrice(v PlanPrice)

SetPlanPrice sets field value

func (SubscriptionPendingUpdate) ToMap

func (o SubscriptionPendingUpdate) ToMap() (map[string]interface{}, error)

func (*SubscriptionPendingUpdate) UnmarshalJSON

func (o *SubscriptionPendingUpdate) UnmarshalJSON(data []byte) (err error)

type SubscriptionStatus

type SubscriptionStatus string

SubscriptionStatus * `incomplete` - Incomplete * `incomplete_expired` - Incomplete expired * `trialing` - Trialing * `active` - Active * `past_due` - Past due * `canceled` - Canceled * `unpaid` - Unpaid

const (
	SUBSCRIPTIONSTATUS_INCOMPLETE         SubscriptionStatus = "incomplete"
	SUBSCRIPTIONSTATUS_INCOMPLETE_EXPIRED SubscriptionStatus = "incomplete_expired"
	SUBSCRIPTIONSTATUS_TRIALING           SubscriptionStatus = "trialing"
	SUBSCRIPTIONSTATUS_ACTIVE             SubscriptionStatus = "active"
	SUBSCRIPTIONSTATUS_PAST_DUE           SubscriptionStatus = "past_due"
	SUBSCRIPTIONSTATUS_CANCELED           SubscriptionStatus = "canceled"
	SUBSCRIPTIONSTATUS_UNPAID             SubscriptionStatus = "unpaid"
)

List of SubscriptionStatus

func NewSubscriptionStatusFromValue

func NewSubscriptionStatusFromValue(v string) (*SubscriptionStatus, error)

NewSubscriptionStatusFromValue returns a pointer to a valid SubscriptionStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (SubscriptionStatus) IsValid

func (v SubscriptionStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (SubscriptionStatus) Ptr

Ptr returns reference to SubscriptionStatus value

func (*SubscriptionStatus) UnmarshalJSON

func (v *SubscriptionStatus) UnmarshalJSON(src []byte) error

type SummaryPeriod

type SummaryPeriod struct {
	Period               Period      `json:"period"`
	Data                 []DataPoint `json:"data"`
	Total                int64       `json:"total"`
	AdditionalProperties map[string]interface{}
}

SummaryPeriod Serializer for a period's summary data.

func NewSummaryPeriod

func NewSummaryPeriod(period Period, data []DataPoint, total int64) *SummaryPeriod

NewSummaryPeriod instantiates a new SummaryPeriod 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 NewSummaryPeriodWithDefaults

func NewSummaryPeriodWithDefaults() *SummaryPeriod

NewSummaryPeriodWithDefaults instantiates a new SummaryPeriod 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 (*SummaryPeriod) GetData

func (o *SummaryPeriod) GetData() []DataPoint

GetData returns the Data field value

func (*SummaryPeriod) GetDataOk

func (o *SummaryPeriod) GetDataOk() ([]DataPoint, bool)

GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.

func (*SummaryPeriod) GetPeriod

func (o *SummaryPeriod) GetPeriod() Period

GetPeriod returns the Period field value

func (*SummaryPeriod) GetPeriodOk

func (o *SummaryPeriod) GetPeriodOk() (*Period, bool)

GetPeriodOk returns a tuple with the Period field value and a boolean to check if the value has been set.

func (*SummaryPeriod) GetTotal

func (o *SummaryPeriod) GetTotal() int64

GetTotal returns the Total field value

func (*SummaryPeriod) GetTotalOk

func (o *SummaryPeriod) GetTotalOk() (*int64, bool)

GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.

func (SummaryPeriod) MarshalJSON

func (o SummaryPeriod) MarshalJSON() ([]byte, error)

func (*SummaryPeriod) SetData

func (o *SummaryPeriod) SetData(v []DataPoint)

SetData sets field value

func (*SummaryPeriod) SetPeriod

func (o *SummaryPeriod) SetPeriod(v Period)

SetPeriod sets field value

func (*SummaryPeriod) SetTotal

func (o *SummaryPeriod) SetTotal(v int64)

SetTotal sets field value

func (SummaryPeriod) ToMap

func (o SummaryPeriod) ToMap() (map[string]interface{}, error)

func (*SummaryPeriod) UnmarshalJSON

func (o *SummaryPeriod) UnmarshalJSON(data []byte) (err error)

type Timeline

type Timeline struct {
	Events               []TimelineEvent `json:"events"`
	ProratedAmount       NullableFloat64 `json:"prorated_amount"`
	Currency             NullableString  `json:"currency"`
	AdditionalProperties map[string]interface{}
}

Timeline Serializer for the billing timeline.

func NewTimeline

func NewTimeline(events []TimelineEvent, proratedAmount NullableFloat64, currency NullableString) *Timeline

NewTimeline instantiates a new Timeline 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 NewTimelineWithDefaults

func NewTimelineWithDefaults() *Timeline

NewTimelineWithDefaults instantiates a new Timeline 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 (*Timeline) GetCurrency

func (o *Timeline) GetCurrency() string

GetCurrency returns the Currency field value If the value is explicit nil, the zero value for string will be returned

func (*Timeline) GetCurrencyOk

func (o *Timeline) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Timeline) GetEvents

func (o *Timeline) GetEvents() []TimelineEvent

GetEvents returns the Events field value

func (*Timeline) GetEventsOk

func (o *Timeline) GetEventsOk() ([]TimelineEvent, bool)

GetEventsOk returns a tuple with the Events field value and a boolean to check if the value has been set.

func (*Timeline) GetProratedAmount

func (o *Timeline) GetProratedAmount() float64

GetProratedAmount returns the ProratedAmount field value If the value is explicit nil, the zero value for float64 will be returned

func (*Timeline) GetProratedAmountOk

func (o *Timeline) GetProratedAmountOk() (*float64, bool)

GetProratedAmountOk returns a tuple with the ProratedAmount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (Timeline) MarshalJSON

func (o Timeline) MarshalJSON() ([]byte, error)

func (*Timeline) SetCurrency

func (o *Timeline) SetCurrency(v string)

SetCurrency sets field value

func (*Timeline) SetEvents

func (o *Timeline) SetEvents(v []TimelineEvent)

SetEvents sets field value

func (*Timeline) SetProratedAmount

func (o *Timeline) SetProratedAmount(v float64)

SetProratedAmount sets field value

func (Timeline) ToMap

func (o Timeline) ToMap() (map[string]interface{}, error)

func (*Timeline) UnmarshalJSON

func (o *Timeline) UnmarshalJSON(data []byte) (err error)

type TimelineEvent

type TimelineEvent struct {
	Date                 time.Time         `json:"date"`
	EventType            TimelineEventType `json:"event_type"`
	Description          string            `json:"description"`
	Amount               NullableFloat64   `json:"amount"`
	Currency             NullableString    `json:"currency"`
	AdditionalProperties map[string]interface{}
}

TimelineEvent Serializer for billing timeline events.

func NewTimelineEvent

func NewTimelineEvent(date time.Time, eventType TimelineEventType, description string, amount NullableFloat64, currency NullableString) *TimelineEvent

NewTimelineEvent instantiates a new TimelineEvent 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 NewTimelineEventWithDefaults

func NewTimelineEventWithDefaults() *TimelineEvent

NewTimelineEventWithDefaults instantiates a new TimelineEvent 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 (*TimelineEvent) GetAmount

func (o *TimelineEvent) GetAmount() float64

GetAmount returns the Amount field value If the value is explicit nil, the zero value for float64 will be returned

func (*TimelineEvent) GetAmountOk

func (o *TimelineEvent) GetAmountOk() (*float64, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimelineEvent) GetCurrency

func (o *TimelineEvent) GetCurrency() string

GetCurrency returns the Currency field value If the value is explicit nil, the zero value for string will be returned

func (*TimelineEvent) GetCurrencyOk

func (o *TimelineEvent) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimelineEvent) GetDate

func (o *TimelineEvent) GetDate() time.Time

GetDate returns the Date field value

func (*TimelineEvent) GetDateOk

func (o *TimelineEvent) GetDateOk() (*time.Time, bool)

GetDateOk returns a tuple with the Date field value and a boolean to check if the value has been set.

func (*TimelineEvent) GetDescription

func (o *TimelineEvent) GetDescription() string

GetDescription returns the Description field value

func (*TimelineEvent) GetDescriptionOk

func (o *TimelineEvent) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*TimelineEvent) GetEventType

func (o *TimelineEvent) GetEventType() TimelineEventType

GetEventType returns the EventType field value

func (*TimelineEvent) GetEventTypeOk

func (o *TimelineEvent) GetEventTypeOk() (*TimelineEventType, bool)

GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.

func (TimelineEvent) MarshalJSON

func (o TimelineEvent) MarshalJSON() ([]byte, error)

func (*TimelineEvent) SetAmount

func (o *TimelineEvent) SetAmount(v float64)

SetAmount sets field value

func (*TimelineEvent) SetCurrency

func (o *TimelineEvent) SetCurrency(v string)

SetCurrency sets field value

func (*TimelineEvent) SetDate

func (o *TimelineEvent) SetDate(v time.Time)

SetDate sets field value

func (*TimelineEvent) SetDescription

func (o *TimelineEvent) SetDescription(v string)

SetDescription sets field value

func (*TimelineEvent) SetEventType

func (o *TimelineEvent) SetEventType(v TimelineEventType)

SetEventType sets field value

func (TimelineEvent) ToMap

func (o TimelineEvent) ToMap() (map[string]interface{}, error)

func (*TimelineEvent) UnmarshalJSON

func (o *TimelineEvent) UnmarshalJSON(data []byte) (err error)

type TimelineEventType

type TimelineEventType string

TimelineEventType * `subscription_start` - Subscription Start * `trial_start` - Trial Start * `trial_end` - Trial End * `first_charge` - First Charge * `proration` - Proration * `renewal` - Renewal

const (
	TIMELINEEVENTTYPE_SUBSCRIPTION_START TimelineEventType = "subscription_start"
	TIMELINEEVENTTYPE_TRIAL_START        TimelineEventType = "trial_start"
	TIMELINEEVENTTYPE_TRIAL_END          TimelineEventType = "trial_end"
	TIMELINEEVENTTYPE_FIRST_CHARGE       TimelineEventType = "first_charge"
	TIMELINEEVENTTYPE_PRORATION          TimelineEventType = "proration"
	TIMELINEEVENTTYPE_RENEWAL            TimelineEventType = "renewal"
)

List of TimelineEventType

func NewTimelineEventTypeFromValue

func NewTimelineEventTypeFromValue(v string) (*TimelineEventType, error)

NewTimelineEventTypeFromValue returns a pointer to a valid TimelineEventType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (TimelineEventType) IsValid

func (v TimelineEventType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (TimelineEventType) Ptr

Ptr returns reference to TimelineEventType value

func (*TimelineEventType) UnmarshalJSON

func (v *TimelineEventType) UnmarshalJSON(src []byte) error

type TopDevices

type TopDevices struct {
	Limit                int64        `json:"limit"`
	Period               Period       `json:"period"`
	Devices              []DeviceData `json:"devices"`
	AdditionalProperties map[string]interface{}
}

TopDevices Serializer for top devices data.

func NewTopDevices

func NewTopDevices(limit int64, period Period, devices []DeviceData) *TopDevices

NewTopDevices instantiates a new TopDevices 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 NewTopDevicesWithDefaults

func NewTopDevicesWithDefaults() *TopDevices

NewTopDevicesWithDefaults instantiates a new TopDevices 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 (*TopDevices) GetDevices

func (o *TopDevices) GetDevices() []DeviceData

GetDevices returns the Devices field value

func (*TopDevices) GetDevicesOk

func (o *TopDevices) GetDevicesOk() ([]DeviceData, bool)

GetDevicesOk returns a tuple with the Devices field value and a boolean to check if the value has been set.

func (*TopDevices) GetLimit

func (o *TopDevices) GetLimit() int64

GetLimit returns the Limit field value

func (*TopDevices) GetLimitOk

func (o *TopDevices) GetLimitOk() (*int64, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.

func (*TopDevices) GetPeriod

func (o *TopDevices) GetPeriod() Period

GetPeriod returns the Period field value

func (*TopDevices) GetPeriodOk

func (o *TopDevices) GetPeriodOk() (*Period, bool)

GetPeriodOk returns a tuple with the Period field value and a boolean to check if the value has been set.

func (TopDevices) MarshalJSON

func (o TopDevices) MarshalJSON() ([]byte, error)

func (*TopDevices) SetDevices

func (o *TopDevices) SetDevices(v []DeviceData)

SetDevices sets field value

func (*TopDevices) SetLimit

func (o *TopDevices) SetLimit(v int64)

SetLimit sets field value

func (*TopDevices) SetPeriod

func (o *TopDevices) SetPeriod(v Period)

SetPeriod sets field value

func (TopDevices) ToMap

func (o TopDevices) ToMap() (map[string]interface{}, error)

func (*TopDevices) UnmarshalJSON

func (o *TopDevices) UnmarshalJSON(data []byte) (err error)

type TransactionType

type TransactionType string

TransactionType * `credit` - Credit * `debit` - Debit

const (
	TRANSACTIONTYPE_CREDIT TransactionType = "credit"
	TRANSACTIONTYPE_DEBIT  TransactionType = "debit"
)

List of TransactionType

func NewTransactionTypeFromValue

func NewTransactionTypeFromValue(v string) (*TransactionType, error)

NewTransactionTypeFromValue returns a pointer to a valid TransactionType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (TransactionType) IsValid

func (v TransactionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (TransactionType) Ptr

Ptr returns reference to TransactionType value

func (*TransactionType) UnmarshalJSON

func (v *TransactionType) UnmarshalJSON(src []byte) error

type Type

type Type string

Type * `card` - Card * `bank_account` - Bank Account * `paypal` - PayPal * `apple_pay` - Apple Pay * `google_pay` - Google Pay * `stripe` - Stripe * `braintree` - Braintree * `square` - Square * `amazon_pay` - Amazon Pay * `venmo` - Venmo * `zelle` - Zelle * `cash_app` - Cash App * `other` - Other

const (
	TYPE_CARD         Type = "card"
	TYPE_BANK_ACCOUNT Type = "bank_account"
	TYPE_PAYPAL       Type = "paypal"
	TYPE_APPLE_PAY    Type = "apple_pay"
	TYPE_GOOGLE_PAY   Type = "google_pay"
	TYPE_STRIPE       Type = "stripe"
	TYPE_BRAINTREE    Type = "braintree"
	TYPE_SQUARE       Type = "square"
	TYPE_AMAZON_PAY   Type = "amazon_pay"
	TYPE_VENMO        Type = "venmo"
	TYPE_ZELLE        Type = "zelle"
	TYPE_CASH_APP     Type = "cash_app"
	TYPE_OTHER        Type = "other"
)

List of Type

func NewTypeFromValue

func NewTypeFromValue(v string) (*Type, error)

NewTypeFromValue returns a pointer to a valid Type for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Type) IsValid

func (v Type) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Type) Ptr

func (v Type) Ptr() *Type

Ptr returns reference to Type value

func (*Type) UnmarshalJSON

func (v *Type) UnmarshalJSON(src []byte) error

type Wallet

type Wallet struct {
	Id     string       `json:"id"`
	Name   string       `json:"name"`
	Status WalletStatus `json:"status"`
	// Currency for this wallet in ISO 4217 format
	Currency             string              `json:"currency"`
	Balance              float64             `json:"balance"`
	CreditsBalance       float64             `json:"credits_balance"`
	ConsumedBalance      float64             `json:"consumed_balance"`
	IsActive             bool                `json:"is_active"`
	CreatedAt            time.Time           `json:"created_at"`
	UpdatedAt            time.Time           `json:"updated_at"`
	RecentTransactions   []WalletTransaction `json:"recent_transactions"`
	AdditionalProperties map[string]interface{}
}

Wallet Serializer for wallet details.

func NewWallet

func NewWallet(id string, name string, status WalletStatus, currency string, balance float64, creditsBalance float64, consumedBalance float64, isActive bool, createdAt time.Time, updatedAt time.Time, recentTransactions []WalletTransaction) *Wallet

NewWallet instantiates a new Wallet 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 NewWalletWithDefaults

func NewWalletWithDefaults() *Wallet

NewWalletWithDefaults instantiates a new Wallet 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 (*Wallet) GetBalance

func (o *Wallet) GetBalance() float64

GetBalance returns the Balance field value

func (*Wallet) GetBalanceOk

func (o *Wallet) GetBalanceOk() (*float64, bool)

GetBalanceOk returns a tuple with the Balance field value and a boolean to check if the value has been set.

func (*Wallet) GetConsumedBalance

func (o *Wallet) GetConsumedBalance() float64

GetConsumedBalance returns the ConsumedBalance field value

func (*Wallet) GetConsumedBalanceOk

func (o *Wallet) GetConsumedBalanceOk() (*float64, bool)

GetConsumedBalanceOk returns a tuple with the ConsumedBalance field value and a boolean to check if the value has been set.

func (*Wallet) GetCreatedAt

func (o *Wallet) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*Wallet) GetCreatedAtOk

func (o *Wallet) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*Wallet) GetCreditsBalance

func (o *Wallet) GetCreditsBalance() float64

GetCreditsBalance returns the CreditsBalance field value

func (*Wallet) GetCreditsBalanceOk

func (o *Wallet) GetCreditsBalanceOk() (*float64, bool)

GetCreditsBalanceOk returns a tuple with the CreditsBalance field value and a boolean to check if the value has been set.

func (*Wallet) GetCurrency

func (o *Wallet) GetCurrency() string

GetCurrency returns the Currency field value

func (*Wallet) GetCurrencyOk

func (o *Wallet) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.

func (*Wallet) GetId

func (o *Wallet) GetId() string

GetId returns the Id field value

func (*Wallet) GetIdOk

func (o *Wallet) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Wallet) GetIsActive

func (o *Wallet) GetIsActive() bool

GetIsActive returns the IsActive field value

func (*Wallet) GetIsActiveOk

func (o *Wallet) GetIsActiveOk() (*bool, bool)

GetIsActiveOk returns a tuple with the IsActive field value and a boolean to check if the value has been set.

func (*Wallet) GetName

func (o *Wallet) GetName() string

GetName returns the Name field value

func (*Wallet) GetNameOk

func (o *Wallet) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*Wallet) GetRecentTransactions

func (o *Wallet) GetRecentTransactions() []WalletTransaction

GetRecentTransactions returns the RecentTransactions field value

func (*Wallet) GetRecentTransactionsOk

func (o *Wallet) GetRecentTransactionsOk() ([]WalletTransaction, bool)

GetRecentTransactionsOk returns a tuple with the RecentTransactions field value and a boolean to check if the value has been set.

func (*Wallet) GetStatus

func (o *Wallet) GetStatus() WalletStatus

GetStatus returns the Status field value

func (*Wallet) GetStatusOk

func (o *Wallet) GetStatusOk() (*WalletStatus, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*Wallet) GetUpdatedAt

func (o *Wallet) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*Wallet) GetUpdatedAtOk

func (o *Wallet) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (Wallet) MarshalJSON

func (o Wallet) MarshalJSON() ([]byte, error)

func (*Wallet) SetBalance

func (o *Wallet) SetBalance(v float64)

SetBalance sets field value

func (*Wallet) SetConsumedBalance

func (o *Wallet) SetConsumedBalance(v float64)

SetConsumedBalance sets field value

func (*Wallet) SetCreatedAt

func (o *Wallet) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Wallet) SetCreditsBalance

func (o *Wallet) SetCreditsBalance(v float64)

SetCreditsBalance sets field value

func (*Wallet) SetCurrency

func (o *Wallet) SetCurrency(v string)

SetCurrency sets field value

func (*Wallet) SetId

func (o *Wallet) SetId(v string)

SetId sets field value

func (*Wallet) SetIsActive

func (o *Wallet) SetIsActive(v bool)

SetIsActive sets field value

func (*Wallet) SetName

func (o *Wallet) SetName(v string)

SetName sets field value

func (*Wallet) SetRecentTransactions

func (o *Wallet) SetRecentTransactions(v []WalletTransaction)

SetRecentTransactions sets field value

func (*Wallet) SetStatus

func (o *Wallet) SetStatus(v WalletStatus)

SetStatus sets field value

func (*Wallet) SetUpdatedAt

func (o *Wallet) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (Wallet) ToMap

func (o Wallet) ToMap() (map[string]interface{}, error)

func (*Wallet) UnmarshalJSON

func (o *Wallet) UnmarshalJSON(data []byte) (err error)

type WalletStatus

type WalletStatus string

WalletStatus * `_wallet_dummy` - Wallet Dummy * `pending` - Pending * `active` - Active * `suspended` - Suspended * `canceled` - Canceled

const (
	WALLETSTATUS_WALLET_DUMMY WalletStatus = "_wallet_dummy"
	WALLETSTATUS_PENDING      WalletStatus = "pending"
	WALLETSTATUS_ACTIVE       WalletStatus = "active"
	WALLETSTATUS_SUSPENDED    WalletStatus = "suspended"
	WALLETSTATUS_CANCELED     WalletStatus = "canceled"
)

List of WalletStatus

func NewWalletStatusFromValue

func NewWalletStatusFromValue(v string) (*WalletStatus, error)

NewWalletStatusFromValue returns a pointer to a valid WalletStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (WalletStatus) IsValid

func (v WalletStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (WalletStatus) Ptr

func (v WalletStatus) Ptr() *WalletStatus

Ptr returns reference to WalletStatus value

func (*WalletStatus) UnmarshalJSON

func (v *WalletStatus) UnmarshalJSON(src []byte) error

type WalletTransaction

type WalletTransaction struct {
	Id              string          `json:"id"`
	TransactionType TransactionType `json:"transaction_type"`
	// Transaction amount in credits
	Credits float64 `json:"credits"`
	// Return the amount in the specified currency.
	Amount float32 `json:"amount"`
	// Currency of the transaction amount
	Currency             string    `json:"currency"`
	Description          string    `json:"description"`
	CreatedAt            time.Time `json:"created_at"`
	AdditionalProperties map[string]interface{}
}

WalletTransaction Serializer for wallet transactions.

func NewWalletTransaction

func NewWalletTransaction(id string, transactionType TransactionType, credits float64, amount float32, currency string, description string, createdAt time.Time) *WalletTransaction

NewWalletTransaction instantiates a new WalletTransaction 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 NewWalletTransactionWithDefaults

func NewWalletTransactionWithDefaults() *WalletTransaction

NewWalletTransactionWithDefaults instantiates a new WalletTransaction 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 (*WalletTransaction) GetAmount

func (o *WalletTransaction) GetAmount() float32

GetAmount returns the Amount field value

func (*WalletTransaction) GetAmountOk

func (o *WalletTransaction) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*WalletTransaction) GetCreatedAt

func (o *WalletTransaction) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*WalletTransaction) GetCreatedAtOk

func (o *WalletTransaction) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*WalletTransaction) GetCredits

func (o *WalletTransaction) GetCredits() float64

GetCredits returns the Credits field value

func (*WalletTransaction) GetCreditsOk

func (o *WalletTransaction) GetCreditsOk() (*float64, bool)

GetCreditsOk returns a tuple with the Credits field value and a boolean to check if the value has been set.

func (*WalletTransaction) GetCurrency

func (o *WalletTransaction) GetCurrency() string

GetCurrency returns the Currency field value

func (*WalletTransaction) GetCurrencyOk

func (o *WalletTransaction) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.

func (*WalletTransaction) GetDescription

func (o *WalletTransaction) GetDescription() string

GetDescription returns the Description field value

func (*WalletTransaction) GetDescriptionOk

func (o *WalletTransaction) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*WalletTransaction) GetId

func (o *WalletTransaction) GetId() string

GetId returns the Id field value

func (*WalletTransaction) GetIdOk

func (o *WalletTransaction) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*WalletTransaction) GetTransactionType

func (o *WalletTransaction) GetTransactionType() TransactionType

GetTransactionType returns the TransactionType field value

func (*WalletTransaction) GetTransactionTypeOk

func (o *WalletTransaction) GetTransactionTypeOk() (*TransactionType, bool)

GetTransactionTypeOk returns a tuple with the TransactionType field value and a boolean to check if the value has been set.

func (WalletTransaction) MarshalJSON

func (o WalletTransaction) MarshalJSON() ([]byte, error)

func (*WalletTransaction) SetAmount

func (o *WalletTransaction) SetAmount(v float32)

SetAmount sets field value

func (*WalletTransaction) SetCreatedAt

func (o *WalletTransaction) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*WalletTransaction) SetCredits

func (o *WalletTransaction) SetCredits(v float64)

SetCredits sets field value

func (*WalletTransaction) SetCurrency

func (o *WalletTransaction) SetCurrency(v string)

SetCurrency sets field value

func (*WalletTransaction) SetDescription

func (o *WalletTransaction) SetDescription(v string)

SetDescription sets field value

func (*WalletTransaction) SetId

func (o *WalletTransaction) SetId(v string)

SetId sets field value

func (*WalletTransaction) SetTransactionType

func (o *WalletTransaction) SetTransactionType(v TransactionType)

SetTransactionType sets field value

func (WalletTransaction) ToMap

func (o WalletTransaction) ToMap() (map[string]interface{}, error)

func (*WalletTransaction) UnmarshalJSON

func (o *WalletTransaction) UnmarshalJSON(data []byte) (err error)

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL