Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ASN
- func (o *ASN) GetAsn() int64
- func (o *ASN) GetAsnOk() (*int64, bool)
- func (o *ASN) GetCountry() Country
- func (o *ASN) GetCountryOk() (*Country, bool)
- func (o *ASN) GetDomain() string
- func (o *ASN) GetDomainOk() (*string, bool)
- func (o *ASN) GetName() string
- func (o *ASN) GetNameOk() (*string, bool)
- func (o *ASN) HasDomain() bool
- func (o *ASN) HasName() bool
- func (o ASN) MarshalJSON() ([]byte, error)
- func (o *ASN) SetAsn(v int64)
- func (o *ASN) SetCountry(v Country)
- func (o *ASN) SetDomain(v string)
- func (o *ASN) SetDomainNil()
- func (o *ASN) SetName(v string)
- func (o *ASN) SetNameNil()
- func (o ASN) ToMap() (map[string]interface{}, error)
- func (o *ASN) UnmarshalJSON(data []byte) (err error)
- func (o *ASN) UnsetDomain()
- func (o *ASN) UnsetName()
- type ASNRequest
- func (o *ASNRequest) GetAsn() int64
- func (o *ASNRequest) GetAsnOk() (*int64, bool)
- func (o *ASNRequest) GetCountry() CountryRequest
- func (o *ASNRequest) GetCountryOk() (*CountryRequest, bool)
- func (o *ASNRequest) GetDomain() string
- func (o *ASNRequest) GetDomainOk() (*string, bool)
- func (o *ASNRequest) GetName() string
- func (o *ASNRequest) GetNameOk() (*string, bool)
- func (o *ASNRequest) HasDomain() bool
- func (o *ASNRequest) HasName() bool
- func (o ASNRequest) MarshalJSON() ([]byte, error)
- func (o *ASNRequest) SetAsn(v int64)
- func (o *ASNRequest) SetCountry(v CountryRequest)
- func (o *ASNRequest) SetDomain(v string)
- func (o *ASNRequest) SetDomainNil()
- func (o *ASNRequest) SetName(v string)
- func (o *ASNRequest) SetNameNil()
- func (o ASNRequest) ToMap() (map[string]interface{}, error)
- func (o *ASNRequest) UnmarshalJSON(data []byte) (err error)
- func (o *ASNRequest) UnsetDomain()
- func (o *ASNRequest) UnsetName()
- type Account
- func (o *Account) GetCountry() Country
- func (o *Account) GetCountryOk() (*Country, bool)
- func (o *Account) GetCreatedAt() time.Time
- func (o *Account) GetCreatedAtOk() (*time.Time, bool)
- func (o *Account) GetId() string
- func (o *Account) GetIdOk() (*string, bool)
- func (o *Account) GetMaskedNumber() string
- func (o *Account) GetMaskedNumberOk() (*string, bool)
- func (o *Account) GetNumber() string
- func (o *Account) GetNumberOk() (*string, bool)
- func (o *Account) GetPhotoUrl() string
- func (o *Account) GetPhotoUrlOk() (*string, bool)
- func (o *Account) GetStatus() AccountStatus
- func (o *Account) GetStatusOk() (*AccountStatus, bool)
- func (o *Account) HasStatus() bool
- func (o Account) MarshalJSON() ([]byte, error)
- func (o *Account) SetCountry(v Country)
- func (o *Account) SetCreatedAt(v time.Time)
- func (o *Account) SetId(v string)
- func (o *Account) SetMaskedNumber(v string)
- func (o *Account) SetNumber(v string)
- func (o *Account) SetPhotoUrl(v string)
- func (o *Account) SetStatus(v AccountStatus)
- func (o Account) ToMap() (map[string]interface{}, error)
- func (o *Account) UnmarshalJSON(data []byte) (err error)
- type AccountAPIService
- func (a *AccountAPIService) ApproveDeviceCode(ctx context.Context, code string) ApiApproveDeviceCodeRequest
- func (a *AccountAPIService) ApproveDeviceCodeExecute(r ApiApproveDeviceCodeRequest) (*http.Response, error)
- func (a *AccountAPIService) CreateAccount(ctx context.Context) ApiCreateAccountRequest
- func (a *AccountAPIService) CreateAccountExecute(r ApiCreateAccountRequest) (*Account, *http.Response, error)
- func (a *AccountAPIService) CreateDeviceCode(ctx context.Context) ApiCreateDeviceCodeRequest
- func (a *AccountAPIService) CreateDeviceCodeExecute(r ApiCreateDeviceCodeRequest) (*DeviceCode, *http.Response, error)
- func (a *AccountAPIService) DeleteCurrentAccount(ctx context.Context) ApiDeleteCurrentAccountRequest
- func (a *AccountAPIService) DeleteCurrentAccountExecute(r ApiDeleteCurrentAccountRequest) (*http.Response, error)
- func (a *AccountAPIService) GetAccountTokenPair(ctx context.Context) ApiGetAccountTokenPairRequest
- func (a *AccountAPIService) GetAccountTokenPairExecute(r ApiGetAccountTokenPairRequest) (*AccountTokenPair, *http.Response, error)
- func (a *AccountAPIService) GetCurrentAccount(ctx context.Context) ApiGetCurrentAccountRequest
- func (a *AccountAPIService) GetCurrentAccountBillingUsage(ctx context.Context) ApiGetCurrentAccountBillingUsageRequest
- func (a *AccountAPIService) GetCurrentAccountBillingUsageExecute(r ApiGetCurrentAccountBillingUsageRequest) (*BillingUsage, *http.Response, error)
- func (a *AccountAPIService) GetCurrentAccountExecute(r ApiGetCurrentAccountRequest) (*Account, *http.Response, error)
- func (a *AccountAPIService) GetDeviceCode(ctx context.Context, code string) ApiGetDeviceCodeRequest
- func (a *AccountAPIService) GetDeviceCodeExecute(r ApiGetDeviceCodeRequest) (*DeviceCode, *http.Response, error)
- func (a *AccountAPIService) RefreshAccountToken(ctx context.Context) ApiRefreshAccountTokenRequest
- func (a *AccountAPIService) RefreshAccountTokenExecute(r ApiRefreshAccountTokenRequest) (*AccountTokenRefresh, *http.Response, error)
- type AccountStatus
- type AccountStatusEnum
- type AccountTokenPair
- func (o *AccountTokenPair) GetAccess() string
- func (o *AccountTokenPair) GetAccessOk() (*string, bool)
- func (o *AccountTokenPair) GetRefresh() string
- func (o *AccountTokenPair) GetRefreshOk() (*string, bool)
- func (o AccountTokenPair) MarshalJSON() ([]byte, error)
- func (o *AccountTokenPair) SetAccess(v string)
- func (o *AccountTokenPair) SetRefresh(v string)
- func (o AccountTokenPair) ToMap() (map[string]interface{}, error)
- func (o *AccountTokenPair) UnmarshalJSON(data []byte) (err error)
- type AccountTokenPairRequest
- func (o *AccountTokenPairRequest) GetNumber() string
- func (o *AccountTokenPairRequest) GetNumberOk() (*string, bool)
- func (o AccountTokenPairRequest) MarshalJSON() ([]byte, error)
- func (o *AccountTokenPairRequest) SetNumber(v string)
- func (o AccountTokenPairRequest) ToMap() (map[string]interface{}, error)
- func (o *AccountTokenPairRequest) UnmarshalJSON(data []byte) (err error)
- type AccountTokenRefresh
- func (o *AccountTokenRefresh) GetAccess() string
- func (o *AccountTokenRefresh) GetAccessOk() (*string, bool)
- func (o *AccountTokenRefresh) GetRefresh() string
- func (o *AccountTokenRefresh) GetRefreshOk() (*string, bool)
- func (o *AccountTokenRefresh) HasRefresh() bool
- func (o AccountTokenRefresh) MarshalJSON() ([]byte, error)
- func (o *AccountTokenRefresh) SetAccess(v string)
- func (o *AccountTokenRefresh) SetRefresh(v string)
- func (o AccountTokenRefresh) ToMap() (map[string]interface{}, error)
- func (o *AccountTokenRefresh) UnmarshalJSON(data []byte) (err error)
- type AccountTokenRefreshRequest
- func (o *AccountTokenRefreshRequest) GetRefresh() string
- func (o *AccountTokenRefreshRequest) GetRefreshOk() (*string, bool)
- func (o *AccountTokenRefreshRequest) HasRefresh() bool
- func (o AccountTokenRefreshRequest) MarshalJSON() ([]byte, error)
- func (o *AccountTokenRefreshRequest) SetRefresh(v string)
- func (o AccountTokenRefreshRequest) ToMap() (map[string]interface{}, error)
- func (o *AccountTokenRefreshRequest) UnmarshalJSON(data []byte) (err error)
- type ApiApproveDeviceCodeRequest
- type ApiCancelSubscriptionRequest
- type ApiChangeSubscriptionPlanRequest
- type ApiCompleteCloudpaymentsPaymentMethodThreeDsRequest
- type ApiCreateAccountRequest
- type ApiCreateCloudpaymentsPaymentMethodRequest
- type ApiCreateDeviceCodeRequest
- type ApiCreateDeviceRequest
- type ApiCreateNodeConditionRequest
- type ApiCreateNodeDataUsageReportRequest
- type ApiCreateNodeRequest
- type ApiCreateStripeSetupIntentRequest
- type ApiDeleteCurrentAccountRequest
- type ApiDeleteDeviceRequest
- type ApiDeleteNodeRequest
- type ApiDeletePaymentMethodRequest
- type ApiGetAccountTokenPairRequest
- type ApiGetBillingAccountRequest
- type ApiGetBillingOptionsRequest
- type ApiGetCloudpaymentsPaymentMethodRequest
- type ApiGetCountriesRequest
- type ApiGetCountryRequest
- type ApiGetCurrenciesRequest
- type ApiGetCurrentAccountBillingUsageRequest
- func (r ApiGetCurrentAccountBillingUsageRequest) Cursor(cursor string) ApiGetCurrentAccountBillingUsageRequest
- func (r ApiGetCurrentAccountBillingUsageRequest) Execute() (*BillingUsage, *http.Response, error)
- func (r ApiGetCurrentAccountBillingUsageRequest) Limit(limit int32) ApiGetCurrentAccountBillingUsageRequest
- type ApiGetCurrentAccountRequest
- type ApiGetCurrentSubscriptionRequest
- type ApiGetCurrentWalletRequest
- type ApiGetDashboardAnalyticsRequest
- type ApiGetDeviceAnalyticsRequest
- func (r ApiGetDeviceAnalyticsRequest) ComparePrevious(comparePrevious bool) ApiGetDeviceAnalyticsRequest
- func (r ApiGetDeviceAnalyticsRequest) EndDate(endDate string) ApiGetDeviceAnalyticsRequest
- func (r ApiGetDeviceAnalyticsRequest) Execute() (*DeviceAnalytics, *http.Response, error)
- func (r ApiGetDeviceAnalyticsRequest) StartDate(startDate string) ApiGetDeviceAnalyticsRequest
- type ApiGetDeviceCodeRequest
- type ApiGetDeviceNodeRequest
- type ApiGetDeviceRequest
- type ApiGetDevicesRequest
- type ApiGetEntitlementRequest
- type ApiGetEntitlementsRequest
- type ApiGetLocationRequest
- type ApiGetLocationsRequest
- func (r ApiGetLocationsRequest) Country(country string) ApiGetLocationsRequest
- func (r ApiGetLocationsRequest) Cursor(cursor string) ApiGetLocationsRequest
- func (r ApiGetLocationsRequest) Execute() (*PaginatedLocationList, *http.Response, error)
- func (r ApiGetLocationsRequest) Limit(limit int32) ApiGetLocationsRequest
- func (r ApiGetLocationsRequest) Name(name string) ApiGetLocationsRequest
- func (r ApiGetLocationsRequest) Q(q string) ApiGetLocationsRequest
- type ApiGetNodeConditionsRequest
- type ApiGetNodeDevicesRequest
- type ApiGetNodeRequest
- type ApiGetNodesRequest
- func (r ApiGetNodesRequest) Countries(countries []string) ApiGetNodesRequest
- func (r ApiGetNodesRequest) Cursor(cursor string) ApiGetNodesRequest
- func (r ApiGetNodesRequest) Distance(distance string) ApiGetNodesRequest
- func (r ApiGetNodesRequest) Execute() (*PaginatedNodeList, *http.Response, error)
- func (r ApiGetNodesRequest) IsExitNode(isExitNode bool) ApiGetNodesRequest
- func (r ApiGetNodesRequest) Lat(lat float64) ApiGetNodesRequest
- func (r ApiGetNodesRequest) Limit(limit int32) ApiGetNodesRequest
- func (r ApiGetNodesRequest) Lon(lon float64) ApiGetNodesRequest
- func (r ApiGetNodesRequest) OrderByDistance(orderByDistance bool) ApiGetNodesRequest
- func (r ApiGetNodesRequest) Q(q string) ApiGetNodesRequest
- func (r ApiGetNodesRequest) Status(status string) ApiGetNodesRequest
- func (r ApiGetNodesRequest) Tags(tags string) ApiGetNodesRequest
- func (r ApiGetNodesRequest) Types(types []string) ApiGetNodesRequest
- type ApiGetPaymentMethodRequest
- type ApiGetPaymentMethodsRequest
- type ApiGetPlanBySlugRequest
- type ApiGetPlanTimelineRequest
- type ApiGetPlansRequest
- type ApiGetProviderRequest
- type ApiGetProvidersRequest
- func (r ApiGetProvidersRequest) Cursor(cursor string) ApiGetProvidersRequest
- func (r ApiGetProvidersRequest) Execute() (*PaginatedProviderList, *http.Response, error)
- func (r ApiGetProvidersRequest) Limit(limit int32) ApiGetProvidersRequest
- func (r ApiGetProvidersRequest) Q(q string) ApiGetProvidersRequest
- func (r ApiGetProvidersRequest) Rating(rating float32) ApiGetProvidersRequest
- func (r ApiGetProvidersRequest) Sort(sort string) ApiGetProvidersRequest
- func (r ApiGetProvidersRequest) VerifiedAt(verifiedAt time.Time) ApiGetProvidersRequest
- type ApiGetRegionRequest
- type ApiGetRegionsRequest
- type ApiGetSubscriptionRequest
- type ApiGetSubscriptionsRequest
- func (r ApiGetSubscriptionsRequest) Cursor(cursor string) ApiGetSubscriptionsRequest
- func (r ApiGetSubscriptionsRequest) Execute() (*PaginatedSubscriptionList, *http.Response, error)
- func (r ApiGetSubscriptionsRequest) Limit(limit int32) ApiGetSubscriptionsRequest
- func (r ApiGetSubscriptionsRequest) ManagedBy(managedBy []*string) ApiGetSubscriptionsRequest
- func (r ApiGetSubscriptionsRequest) Status(status []string) ApiGetSubscriptionsRequest
- type ApiGetWalletRequest
- type ApiGetWalletTransactionRequest
- type ApiGetWalletTransactionsRequest
- type ApiGetWalletsRequest
- type ApiPartialUpdateDeviceRequest
- type ApiPartialUpdateNodeRequest
- type ApiReactivateSubscriptionRequest
- type ApiRefreshAccountTokenRequest
- type ApiSetDefaultPaymentMethodRequest
- type ApiSetDeviceNodeRequest
- type ApiSubscribeToPlanRequest
- type ApiUpdateDeviceRequest
- type ApiUpdateNodeRequest
- type BasicAuth
- type BillingAPIService
- func (a *BillingAPIService) CancelSubscription(ctx context.Context, subscriptionId string) ApiCancelSubscriptionRequest
- func (a *BillingAPIService) CancelSubscriptionExecute(r ApiCancelSubscriptionRequest) (*Subscription, *http.Response, error)
- func (a *BillingAPIService) ChangeSubscriptionPlan(ctx context.Context, subscriptionId string) ApiChangeSubscriptionPlanRequest
- func (a *BillingAPIService) ChangeSubscriptionPlanExecute(r ApiChangeSubscriptionPlanRequest) (*Subscription, *http.Response, error)
- func (a *BillingAPIService) DeletePaymentMethod(ctx context.Context, paymentMethodId string) ApiDeletePaymentMethodRequest
- func (a *BillingAPIService) DeletePaymentMethodExecute(r ApiDeletePaymentMethodRequest) (*http.Response, error)
- func (a *BillingAPIService) GetBillingAccount(ctx context.Context) ApiGetBillingAccountRequest
- func (a *BillingAPIService) GetBillingAccountExecute(r ApiGetBillingAccountRequest) (*BillingAccount, *http.Response, error)
- func (a *BillingAPIService) GetBillingOptions(ctx context.Context) ApiGetBillingOptionsRequest
- func (a *BillingAPIService) GetBillingOptionsExecute(r ApiGetBillingOptionsRequest) (*BillingOptions, *http.Response, error)
- func (a *BillingAPIService) GetCurrencies(ctx context.Context) ApiGetCurrenciesRequest
- func (a *BillingAPIService) GetCurrenciesExecute(r ApiGetCurrenciesRequest) ([]Currency, *http.Response, error)
- func (a *BillingAPIService) GetCurrentSubscription(ctx context.Context) ApiGetCurrentSubscriptionRequest
- func (a *BillingAPIService) GetCurrentSubscriptionExecute(r ApiGetCurrentSubscriptionRequest) (*Subscription, *http.Response, error)
- func (a *BillingAPIService) GetCurrentWallet(ctx context.Context) ApiGetCurrentWalletRequest
- func (a *BillingAPIService) GetCurrentWalletExecute(r ApiGetCurrentWalletRequest) (*Wallet, *http.Response, error)
- func (a *BillingAPIService) GetEntitlement(ctx context.Context, entitlementId string) ApiGetEntitlementRequest
- func (a *BillingAPIService) GetEntitlementExecute(r ApiGetEntitlementRequest) (*Entitlement, *http.Response, error)
- func (a *BillingAPIService) GetEntitlements(ctx context.Context) ApiGetEntitlementsRequest
- func (a *BillingAPIService) GetEntitlementsExecute(r ApiGetEntitlementsRequest) ([]Entitlement, *http.Response, error)
- func (a *BillingAPIService) GetPaymentMethod(ctx context.Context, paymentMethodId string) ApiGetPaymentMethodRequest
- func (a *BillingAPIService) GetPaymentMethodExecute(r ApiGetPaymentMethodRequest) (*PaymentMethod, *http.Response, error)
- func (a *BillingAPIService) GetPaymentMethods(ctx context.Context) ApiGetPaymentMethodsRequest
- func (a *BillingAPIService) GetPaymentMethodsExecute(r ApiGetPaymentMethodsRequest) (*PaginatedPaymentMethodList, *http.Response, error)
- func (a *BillingAPIService) GetPlanBySlug(ctx context.Context, slug string) ApiGetPlanBySlugRequest
- func (a *BillingAPIService) GetPlanBySlugExecute(r ApiGetPlanBySlugRequest) (*Plan, *http.Response, error)
- func (a *BillingAPIService) GetPlanTimeline(ctx context.Context) ApiGetPlanTimelineRequest
- func (a *BillingAPIService) GetPlanTimelineExecute(r ApiGetPlanTimelineRequest) (*Timeline, *http.Response, error)
- func (a *BillingAPIService) GetPlans(ctx context.Context) ApiGetPlansRequest
- func (a *BillingAPIService) GetPlansExecute(r ApiGetPlansRequest) ([]Plan, *http.Response, error)
- func (a *BillingAPIService) GetSubscription(ctx context.Context, subscriptionId string) ApiGetSubscriptionRequest
- func (a *BillingAPIService) GetSubscriptionExecute(r ApiGetSubscriptionRequest) (*Subscription, *http.Response, error)
- func (a *BillingAPIService) GetSubscriptions(ctx context.Context) ApiGetSubscriptionsRequest
- func (a *BillingAPIService) GetSubscriptionsExecute(r ApiGetSubscriptionsRequest) (*PaginatedSubscriptionList, *http.Response, error)
- func (a *BillingAPIService) GetWallet(ctx context.Context, walletId string) ApiGetWalletRequest
- func (a *BillingAPIService) GetWalletExecute(r ApiGetWalletRequest) (*Wallet, *http.Response, error)
- func (a *BillingAPIService) GetWalletTransaction(ctx context.Context, transactionId string) ApiGetWalletTransactionRequest
- func (a *BillingAPIService) GetWalletTransactionExecute(r ApiGetWalletTransactionRequest) (*WalletTransaction, *http.Response, error)
- func (a *BillingAPIService) GetWalletTransactions(ctx context.Context) ApiGetWalletTransactionsRequest
- func (a *BillingAPIService) GetWalletTransactionsExecute(r ApiGetWalletTransactionsRequest) (*PaginatedWalletTransactionList, *http.Response, error)
- func (a *BillingAPIService) GetWallets(ctx context.Context) ApiGetWalletsRequest
- func (a *BillingAPIService) GetWalletsExecute(r ApiGetWalletsRequest) (*PaginatedWalletList, *http.Response, error)
- func (a *BillingAPIService) ReactivateSubscription(ctx context.Context, subscriptionId string) ApiReactivateSubscriptionRequest
- func (a *BillingAPIService) ReactivateSubscriptionExecute(r ApiReactivateSubscriptionRequest) (*Subscription, *http.Response, error)
- func (a *BillingAPIService) SetDefaultPaymentMethod(ctx context.Context) ApiSetDefaultPaymentMethodRequest
- func (a *BillingAPIService) SetDefaultPaymentMethodExecute(r ApiSetDefaultPaymentMethodRequest) (*BillingAccount, *http.Response, error)
- func (a *BillingAPIService) SubscribeToPlan(ctx context.Context) ApiSubscribeToPlanRequest
- func (a *BillingAPIService) SubscribeToPlanExecute(r ApiSubscribeToPlanRequest) (*Subscription, *http.Response, error)
- type BillingAccount
- func (o *BillingAccount) GetAddress() string
- func (o *BillingAccount) GetAddressOk() (*string, bool)
- func (o *BillingAccount) GetCity() string
- func (o *BillingAccount) GetCityOk() (*string, bool)
- func (o *BillingAccount) GetCompany() string
- func (o *BillingAccount) GetCompanyOk() (*string, bool)
- func (o *BillingAccount) GetCountry() string
- func (o *BillingAccount) GetCountryOk() (*string, bool)
- func (o *BillingAccount) GetCreatedAt() time.Time
- func (o *BillingAccount) GetCreatedAtOk() (*time.Time, bool)
- func (o *BillingAccount) GetCurrency() string
- func (o *BillingAccount) GetCurrencyOk() (*string, bool)
- func (o *BillingAccount) GetCurrentSubscription() Subscription
- func (o *BillingAccount) GetCurrentSubscriptionOk() (*Subscription, bool)
- func (o *BillingAccount) GetDefaultPaymentMethod() PaymentMethod
- func (o *BillingAccount) GetDefaultPaymentMethodOk() (*PaymentMethod, bool)
- func (o *BillingAccount) GetEmail() string
- func (o *BillingAccount) GetEmailOk() (*string, bool)
- func (o *BillingAccount) GetFullName() string
- func (o *BillingAccount) GetFullNameOk() (*string, bool)
- func (o *BillingAccount) GetId() string
- func (o *BillingAccount) GetIdOk() (*string, bool)
- func (o *BillingAccount) GetLanguage() string
- func (o *BillingAccount) GetLanguageOk() (*string, bool)
- func (o *BillingAccount) GetPhone() string
- func (o *BillingAccount) GetPhoneOk() (*string, bool)
- func (o *BillingAccount) GetPostalCode() string
- func (o *BillingAccount) GetPostalCodeOk() (*string, bool)
- func (o *BillingAccount) GetState() string
- func (o *BillingAccount) GetStateOk() (*string, bool)
- func (o *BillingAccount) GetStatus() AccountStatus
- func (o *BillingAccount) GetStatusOk() (*AccountStatus, bool)
- func (o *BillingAccount) HasAddress() bool
- func (o *BillingAccount) HasCity() bool
- func (o *BillingAccount) HasCompany() bool
- func (o *BillingAccount) HasCountry() bool
- func (o *BillingAccount) HasCurrency() bool
- func (o *BillingAccount) HasEmail() bool
- func (o *BillingAccount) HasFullName() bool
- func (o *BillingAccount) HasLanguage() bool
- func (o *BillingAccount) HasPhone() bool
- func (o *BillingAccount) HasPostalCode() bool
- func (o *BillingAccount) HasState() bool
- func (o *BillingAccount) HasStatus() bool
- func (o BillingAccount) MarshalJSON() ([]byte, error)
- func (o *BillingAccount) SetAddress(v string)
- func (o *BillingAccount) SetAddressNil()
- func (o *BillingAccount) SetCity(v string)
- func (o *BillingAccount) SetCityNil()
- func (o *BillingAccount) SetCompany(v string)
- func (o *BillingAccount) SetCompanyNil()
- func (o *BillingAccount) SetCountry(v string)
- func (o *BillingAccount) SetCountryNil()
- func (o *BillingAccount) SetCreatedAt(v time.Time)
- func (o *BillingAccount) SetCurrency(v string)
- func (o *BillingAccount) SetCurrentSubscription(v Subscription)
- func (o *BillingAccount) SetDefaultPaymentMethod(v PaymentMethod)
- func (o *BillingAccount) SetEmail(v string)
- func (o *BillingAccount) SetEmailNil()
- func (o *BillingAccount) SetFullName(v string)
- func (o *BillingAccount) SetFullNameNil()
- func (o *BillingAccount) SetId(v string)
- func (o *BillingAccount) SetLanguage(v string)
- func (o *BillingAccount) SetPhone(v string)
- func (o *BillingAccount) SetPhoneNil()
- func (o *BillingAccount) SetPostalCode(v string)
- func (o *BillingAccount) SetPostalCodeNil()
- func (o *BillingAccount) SetState(v string)
- func (o *BillingAccount) SetStateNil()
- func (o *BillingAccount) SetStatus(v AccountStatus)
- func (o BillingAccount) ToMap() (map[string]interface{}, error)
- func (o *BillingAccount) UnmarshalJSON(data []byte) (err error)
- func (o *BillingAccount) UnsetAddress()
- func (o *BillingAccount) UnsetCity()
- func (o *BillingAccount) UnsetCompany()
- func (o *BillingAccount) UnsetCountry()
- func (o *BillingAccount) UnsetEmail()
- func (o *BillingAccount) UnsetFullName()
- func (o *BillingAccount) UnsetPhone()
- func (o *BillingAccount) UnsetPostalCode()
- func (o *BillingAccount) UnsetState()
- type BillingDataQuota
- func (o *BillingDataQuota) GetCurrentUsageGb() float64
- func (o *BillingDataQuota) GetCurrentUsageGbOk() (*float64, bool)
- func (o *BillingDataQuota) GetIsUnlimited() bool
- func (o *BillingDataQuota) GetIsUnlimitedOk() (*bool, bool)
- func (o *BillingDataQuota) GetIsWithinQuota() bool
- func (o *BillingDataQuota) GetIsWithinQuotaOk() (*bool, bool)
- func (o *BillingDataQuota) GetMessage() string
- func (o *BillingDataQuota) GetMessageOk() (*string, bool)
- func (o *BillingDataQuota) GetPeriod() BillingPeriod
- func (o *BillingDataQuota) GetPeriodOk() (*BillingPeriod, bool)
- func (o *BillingDataQuota) GetQuotaGb() int64
- func (o *BillingDataQuota) GetQuotaGbOk() (*int64, bool)
- func (o *BillingDataQuota) GetUsagePercentage() float64
- func (o *BillingDataQuota) GetUsagePercentageOk() (*float64, bool)
- func (o *BillingDataQuota) GetWarningLevel() string
- func (o *BillingDataQuota) GetWarningLevelOk() (*string, bool)
- func (o BillingDataQuota) MarshalJSON() ([]byte, error)
- func (o *BillingDataQuota) SetCurrentUsageGb(v float64)
- func (o *BillingDataQuota) SetIsUnlimited(v bool)
- func (o *BillingDataQuota) SetIsWithinQuota(v bool)
- func (o *BillingDataQuota) SetMessage(v string)
- func (o *BillingDataQuota) SetPeriod(v BillingPeriod)
- func (o *BillingDataQuota) SetQuotaGb(v int64)
- func (o *BillingDataQuota) SetUsagePercentage(v float64)
- func (o *BillingDataQuota) SetWarningLevel(v string)
- func (o BillingDataQuota) ToMap() (map[string]interface{}, error)
- func (o *BillingDataQuota) UnmarshalJSON(data []byte) (err error)
- type BillingDeviceQuota
- func (o *BillingDeviceQuota) GetCurrentUsage() int64
- func (o *BillingDeviceQuota) GetCurrentUsageOk() (*int64, bool)
- func (o *BillingDeviceQuota) GetIsUnlimited() bool
- func (o *BillingDeviceQuota) GetIsUnlimitedOk() (*bool, bool)
- func (o *BillingDeviceQuota) GetIsWithinQuota() bool
- func (o *BillingDeviceQuota) GetIsWithinQuotaOk() (*bool, bool)
- func (o *BillingDeviceQuota) GetMessage() string
- func (o *BillingDeviceQuota) GetMessageOk() (*string, bool)
- func (o *BillingDeviceQuota) GetQuota() int64
- func (o *BillingDeviceQuota) GetQuotaOk() (*int64, bool)
- func (o *BillingDeviceQuota) GetUsagePercentage() float64
- func (o *BillingDeviceQuota) GetUsagePercentageOk() (*float64, bool)
- func (o BillingDeviceQuota) MarshalJSON() ([]byte, error)
- func (o *BillingDeviceQuota) SetCurrentUsage(v int64)
- func (o *BillingDeviceQuota) SetIsUnlimited(v bool)
- func (o *BillingDeviceQuota) SetIsWithinQuota(v bool)
- func (o *BillingDeviceQuota) SetMessage(v string)
- func (o *BillingDeviceQuota) SetQuota(v int64)
- func (o *BillingDeviceQuota) SetUsagePercentage(v float64)
- func (o BillingDeviceQuota) ToMap() (map[string]interface{}, error)
- func (o *BillingDeviceQuota) UnmarshalJSON(data []byte) (err error)
- type BillingOptions
- func (o *BillingOptions) GetAvailableCurrencies() []Currency
- func (o *BillingOptions) GetAvailableCurrenciesOk() ([]Currency, bool)
- func (o *BillingOptions) GetDefaultCurrency() Currency
- func (o *BillingOptions) GetDefaultCurrencyOk() (*Currency, bool)
- func (o *BillingOptions) HasAvailableCurrencies() bool
- func (o *BillingOptions) HasDefaultCurrency() bool
- func (o BillingOptions) MarshalJSON() ([]byte, error)
- func (o *BillingOptions) SetAvailableCurrencies(v []Currency)
- func (o *BillingOptions) SetDefaultCurrency(v Currency)
- func (o BillingOptions) ToMap() (map[string]interface{}, error)
- func (o *BillingOptions) UnmarshalJSON(data []byte) (err error)
- type BillingPeriod
- func (o *BillingPeriod) GetEnd() time.Time
- func (o *BillingPeriod) GetEndOk() (*time.Time, bool)
- func (o *BillingPeriod) GetStart() time.Time
- func (o *BillingPeriod) GetStartOk() (*time.Time, bool)
- func (o BillingPeriod) MarshalJSON() ([]byte, error)
- func (o *BillingPeriod) SetEnd(v time.Time)
- func (o *BillingPeriod) SetStart(v time.Time)
- func (o BillingPeriod) ToMap() (map[string]interface{}, error)
- func (o *BillingPeriod) UnmarshalJSON(data []byte) (err error)
- type BillingUsage
- func (o *BillingUsage) GetData() BillingDataQuota
- func (o *BillingUsage) GetDataOk() (*BillingDataQuota, bool)
- func (o *BillingUsage) GetDevice() BillingDeviceQuota
- func (o *BillingUsage) GetDeviceOk() (*BillingDeviceQuota, bool)
- func (o BillingUsage) MarshalJSON() ([]byte, error)
- func (o *BillingUsage) SetData(v BillingDataQuota)
- func (o *BillingUsage) SetDevice(v BillingDeviceQuota)
- func (o BillingUsage) ToMap() (map[string]interface{}, error)
- func (o *BillingUsage) UnmarshalJSON(data []byte) (err error)
- type CloudPaymentsCardDetails
- func (o *CloudPaymentsCardDetails) GetBrand() string
- func (o *CloudPaymentsCardDetails) GetBrandOk() (*string, bool)
- func (o *CloudPaymentsCardDetails) GetCountry() Country
- func (o *CloudPaymentsCardDetails) GetCountryOk() (*Country, bool)
- func (o *CloudPaymentsCardDetails) GetExpMonth() int64
- func (o *CloudPaymentsCardDetails) GetExpMonthOk() (*int64, bool)
- func (o *CloudPaymentsCardDetails) GetExpYear() int64
- func (o *CloudPaymentsCardDetails) GetExpYearOk() (*int64, bool)
- func (o *CloudPaymentsCardDetails) GetExpiresAt() time.Time
- func (o *CloudPaymentsCardDetails) GetExpiresAtOk() (*time.Time, bool)
- func (o *CloudPaymentsCardDetails) GetFirst6() string
- func (o *CloudPaymentsCardDetails) GetFirst6Ok() (*string, bool)
- func (o *CloudPaymentsCardDetails) GetLast4() string
- func (o *CloudPaymentsCardDetails) GetLast4Ok() (*string, bool)
- func (o *CloudPaymentsCardDetails) HasCountry() bool
- func (o *CloudPaymentsCardDetails) HasFirst6() bool
- func (o CloudPaymentsCardDetails) MarshalJSON() ([]byte, error)
- func (o *CloudPaymentsCardDetails) SetBrand(v string)
- func (o *CloudPaymentsCardDetails) SetCountry(v Country)
- func (o *CloudPaymentsCardDetails) SetCountryNil()
- func (o *CloudPaymentsCardDetails) SetExpMonth(v int64)
- func (o *CloudPaymentsCardDetails) SetExpYear(v int64)
- func (o *CloudPaymentsCardDetails) SetExpiresAt(v time.Time)
- func (o *CloudPaymentsCardDetails) SetFirst6(v string)
- func (o *CloudPaymentsCardDetails) SetFirst6Nil()
- func (o *CloudPaymentsCardDetails) SetLast4(v string)
- func (o CloudPaymentsCardDetails) ToMap() (map[string]interface{}, error)
- func (o *CloudPaymentsCardDetails) UnmarshalJSON(data []byte) (err error)
- func (o *CloudPaymentsCardDetails) UnsetCountry()
- func (o *CloudPaymentsCardDetails) UnsetFirst6()
- type CloudPaymentsPaymentMethod
- func (o *CloudPaymentsPaymentMethod) GetCard() CloudPaymentsCardDetails
- func (o *CloudPaymentsPaymentMethod) GetCardOk() (*CloudPaymentsCardDetails, bool)
- func (o *CloudPaymentsPaymentMethod) GetCreatedAt() time.Time
- func (o *CloudPaymentsPaymentMethod) GetCreatedAtOk() (*time.Time, bool)
- func (o *CloudPaymentsPaymentMethod) GetId() string
- func (o *CloudPaymentsPaymentMethod) GetIdOk() (*string, bool)
- func (o *CloudPaymentsPaymentMethod) GetIsExpired() bool
- func (o *CloudPaymentsPaymentMethod) GetIsExpiredOk() (*bool, bool)
- func (o *CloudPaymentsPaymentMethod) GetNeedAuthentication() bool
- func (o *CloudPaymentsPaymentMethod) GetNeedAuthenticationOk() (*bool, bool)
- func (o *CloudPaymentsPaymentMethod) GetThreeDs() CloudPaymentsThreeDSecure
- func (o *CloudPaymentsPaymentMethod) GetThreeDsOk() (*CloudPaymentsThreeDSecure, bool)
- func (o *CloudPaymentsPaymentMethod) GetType() string
- func (o *CloudPaymentsPaymentMethod) GetTypeOk() (*string, bool)
- func (o *CloudPaymentsPaymentMethod) HasType() bool
- func (o CloudPaymentsPaymentMethod) MarshalJSON() ([]byte, error)
- func (o *CloudPaymentsPaymentMethod) SetCard(v CloudPaymentsCardDetails)
- func (o *CloudPaymentsPaymentMethod) SetCreatedAt(v time.Time)
- func (o *CloudPaymentsPaymentMethod) SetId(v string)
- func (o *CloudPaymentsPaymentMethod) SetIsExpired(v bool)
- func (o *CloudPaymentsPaymentMethod) SetNeedAuthentication(v bool)
- func (o *CloudPaymentsPaymentMethod) SetThreeDs(v CloudPaymentsThreeDSecure)
- func (o *CloudPaymentsPaymentMethod) SetType(v string)
- func (o *CloudPaymentsPaymentMethod) SetTypeNil()
- func (o CloudPaymentsPaymentMethod) ToMap() (map[string]interface{}, error)
- func (o *CloudPaymentsPaymentMethod) UnmarshalJSON(data []byte) (err error)
- func (o *CloudPaymentsPaymentMethod) UnsetType()
- type CloudPaymentsPaymentMethodCreateRequest
- func (o *CloudPaymentsPaymentMethodCreateRequest) GetCryptogram() string
- func (o *CloudPaymentsPaymentMethodCreateRequest) GetCryptogramOk() (*string, bool)
- func (o CloudPaymentsPaymentMethodCreateRequest) MarshalJSON() ([]byte, error)
- func (o *CloudPaymentsPaymentMethodCreateRequest) SetCryptogram(v string)
- func (o CloudPaymentsPaymentMethodCreateRequest) ToMap() (map[string]interface{}, error)
- func (o *CloudPaymentsPaymentMethodCreateRequest) UnmarshalJSON(data []byte) (err error)
- type CloudPaymentsThreeDSecure
- func (o *CloudPaymentsThreeDSecure) GetAcsUrl() string
- func (o *CloudPaymentsThreeDSecure) GetAcsUrlOk() (*string, bool)
- func (o *CloudPaymentsThreeDSecure) GetMd() string
- func (o *CloudPaymentsThreeDSecure) GetMdOk() (*string, bool)
- func (o *CloudPaymentsThreeDSecure) GetPaReq() string
- func (o *CloudPaymentsThreeDSecure) GetPaReqOk() (*string, bool)
- func (o CloudPaymentsThreeDSecure) MarshalJSON() ([]byte, error)
- func (o *CloudPaymentsThreeDSecure) SetAcsUrl(v string)
- func (o *CloudPaymentsThreeDSecure) SetMd(v string)
- func (o *CloudPaymentsThreeDSecure) SetPaReq(v string)
- func (o CloudPaymentsThreeDSecure) ToMap() (map[string]interface{}, error)
- func (o *CloudPaymentsThreeDSecure) UnmarshalJSON(data []byte) (err error)
- type CloudPaymentsThreeDSecureCompleteRequest
- func (o *CloudPaymentsThreeDSecureCompleteRequest) GetPaRes() string
- func (o *CloudPaymentsThreeDSecureCompleteRequest) GetPaResOk() (*string, bool)
- func (o CloudPaymentsThreeDSecureCompleteRequest) MarshalJSON() ([]byte, error)
- func (o *CloudPaymentsThreeDSecureCompleteRequest) SetPaRes(v string)
- func (o CloudPaymentsThreeDSecureCompleteRequest) ToMap() (map[string]interface{}, error)
- func (o *CloudPaymentsThreeDSecureCompleteRequest) UnmarshalJSON(data []byte) (err error)
- type CloudpaymentsAPIService
- func (a *CloudpaymentsAPIService) CompleteCloudpaymentsPaymentMethodThreeDs(ctx context.Context, paymentMethodId string) ApiCompleteCloudpaymentsPaymentMethodThreeDsRequest
- func (a *CloudpaymentsAPIService) CompleteCloudpaymentsPaymentMethodThreeDsExecute(r ApiCompleteCloudpaymentsPaymentMethodThreeDsRequest) (*CloudPaymentsPaymentMethod, *http.Response, error)
- func (a *CloudpaymentsAPIService) CreateCloudpaymentsPaymentMethod(ctx context.Context) ApiCreateCloudpaymentsPaymentMethodRequest
- func (a *CloudpaymentsAPIService) CreateCloudpaymentsPaymentMethodExecute(r ApiCreateCloudpaymentsPaymentMethodRequest) (*CloudPaymentsPaymentMethod, *http.Response, error)
- func (a *CloudpaymentsAPIService) GetCloudpaymentsPaymentMethod(ctx context.Context, paymentMethodId string) ApiGetCloudpaymentsPaymentMethodRequest
- func (a *CloudpaymentsAPIService) GetCloudpaymentsPaymentMethodExecute(r ApiGetCloudpaymentsPaymentMethodRequest) (*CloudPaymentsPaymentMethod, *http.Response, error)
- type ComparisonData
- func (o *ComparisonData) GetCurrent() SummaryPeriod
- func (o *ComparisonData) GetCurrentOk() (*SummaryPeriod, bool)
- func (o *ComparisonData) GetPercentChange() float64
- func (o *ComparisonData) GetPercentChangeOk() (*float64, bool)
- func (o *ComparisonData) GetPrevious() SummaryPeriod
- func (o *ComparisonData) GetPreviousOk() (*SummaryPeriod, bool)
- func (o ComparisonData) MarshalJSON() ([]byte, error)
- func (o *ComparisonData) SetCurrent(v SummaryPeriod)
- func (o *ComparisonData) SetPercentChange(v float64)
- func (o *ComparisonData) SetPrevious(v SummaryPeriod)
- func (o ComparisonData) ToMap() (map[string]interface{}, error)
- func (o *ComparisonData) UnmarshalJSON(data []byte) (err error)
- type Condition
- type Configuration
- type ConnectionStatus
- type Country
- func (o *Country) GetAlpha3() string
- func (o *Country) GetAlpha3Ok() (*string, bool)
- func (o *Country) GetFlag() string
- func (o *Country) GetFlagOk() (*string, bool)
- func (o *Country) GetId() string
- func (o *Country) GetIdOk() (*string, bool)
- func (o *Country) GetName() string
- func (o *Country) GetNameOk() (*string, bool)
- func (o *Country) GetNumeric() string
- func (o *Country) GetNumericOk() (*string, bool)
- func (o *Country) GetOfficialName() string
- func (o *Country) GetOfficialNameOk() (*string, bool)
- func (o Country) MarshalJSON() ([]byte, error)
- func (o *Country) SetAlpha3(v string)
- func (o *Country) SetFlag(v string)
- func (o *Country) SetId(v string)
- func (o *Country) SetName(v string)
- func (o *Country) SetNumeric(v string)
- func (o *Country) SetOfficialName(v string)
- func (o Country) ToMap() (map[string]interface{}, error)
- func (o *Country) UnmarshalJSON(data []byte) (err error)
- type CountryRequest
- func (o *CountryRequest) GetAlpha3() string
- func (o *CountryRequest) GetAlpha3Ok() (*string, bool)
- func (o *CountryRequest) GetId() string
- func (o *CountryRequest) GetIdOk() (*string, bool)
- func (o *CountryRequest) GetName() string
- func (o *CountryRequest) GetNameOk() (*string, bool)
- func (o *CountryRequest) GetNumeric() string
- func (o *CountryRequest) GetNumericOk() (*string, bool)
- func (o *CountryRequest) GetOfficialName() string
- func (o *CountryRequest) GetOfficialNameOk() (*string, bool)
- func (o CountryRequest) MarshalJSON() ([]byte, error)
- func (o *CountryRequest) SetAlpha3(v string)
- func (o *CountryRequest) SetId(v string)
- func (o *CountryRequest) SetName(v string)
- func (o *CountryRequest) SetNumeric(v string)
- func (o *CountryRequest) SetOfficialName(v string)
- func (o CountryRequest) ToMap() (map[string]interface{}, error)
- func (o *CountryRequest) UnmarshalJSON(data []byte) (err error)
- type Currency
- func (o *Currency) GetCode() string
- func (o *Currency) GetCodeOk() (*string, bool)
- func (o *Currency) GetName() string
- func (o *Currency) GetNameOk() (*string, bool)
- func (o *Currency) GetSubunit() int64
- func (o *Currency) GetSubunitOk() (*int64, bool)
- func (o *Currency) GetSymbol() string
- func (o *Currency) GetSymbolOk() (*string, bool)
- func (o *Currency) HasSubunit() bool
- func (o *Currency) HasSymbol() bool
- func (o Currency) MarshalJSON() ([]byte, error)
- func (o *Currency) SetCode(v string)
- func (o *Currency) SetName(v string)
- func (o *Currency) SetSubunit(v int64)
- func (o *Currency) SetSymbol(v string)
- func (o Currency) ToMap() (map[string]interface{}, error)
- func (o *Currency) UnmarshalJSON(data []byte) (err error)
- type DashboardAnalytics
- func (o *DashboardAnalytics) GetSummary7d() ComparisonData
- func (o *DashboardAnalytics) GetSummary7dOk() (*ComparisonData, bool)
- func (o *DashboardAnalytics) GetSummary30d() ComparisonData
- func (o *DashboardAnalytics) GetSummary30dOk() (*ComparisonData, bool)
- func (o *DashboardAnalytics) GetTopDevices() TopDevices
- func (o *DashboardAnalytics) GetTopDevicesOk() (*TopDevices, bool)
- func (o DashboardAnalytics) MarshalJSON() ([]byte, error)
- func (o *DashboardAnalytics) SetSummary7d(v ComparisonData)
- func (o *DashboardAnalytics) SetSummary30d(v ComparisonData)
- func (o *DashboardAnalytics) SetTopDevices(v TopDevices)
- func (o DashboardAnalytics) ToMap() (map[string]interface{}, error)
- func (o *DashboardAnalytics) UnmarshalJSON(data []byte) (err error)
- type DataPoint
- func (o *DataPoint) GetDate() time.Time
- func (o *DataPoint) GetDateOk() (*time.Time, bool)
- func (o *DataPoint) GetRx() int64
- func (o *DataPoint) GetRxOk() (*int64, bool)
- func (o *DataPoint) GetTotal() int64
- func (o *DataPoint) GetTotalOk() (*int64, bool)
- func (o *DataPoint) GetTx() int64
- func (o *DataPoint) GetTxOk() (*int64, bool)
- func (o DataPoint) MarshalJSON() ([]byte, error)
- func (o *DataPoint) SetDate(v time.Time)
- func (o *DataPoint) SetRx(v int64)
- func (o *DataPoint) SetTotal(v int64)
- func (o *DataPoint) SetTx(v int64)
- func (o DataPoint) ToMap() (map[string]interface{}, error)
- func (o *DataPoint) UnmarshalJSON(data []byte) (err error)
- type Device
- func (o *Device) GetConnectionStatus() ConnectionStatus
- func (o *Device) GetConnectionStatusOk() (*ConnectionStatus, bool)
- func (o *Device) GetCreatedAt() time.Time
- func (o *Device) GetCreatedAtOk() (*time.Time, bool)
- func (o *Device) GetExitNodeEndpoint() string
- func (o *Device) GetExitNodeEndpointOk() (*string, bool)
- func (o *Device) GetId() string
- func (o *Device) GetIdOk() (*string, bool)
- func (o *Device) GetIpv4() string
- func (o *Device) GetIpv4Ok() (*string, bool)
- func (o *Device) GetIpv6() string
- func (o *Device) GetIpv6Ok() (*string, bool)
- func (o *Device) GetLast30daysDataUsage() DeviceDataUsage
- func (o *Device) GetLast30daysDataUsageOk() (*DeviceDataUsage, bool)
- func (o *Device) GetLastActiveAt() time.Time
- func (o *Device) GetLastActiveAtOk() (*time.Time, bool)
- func (o *Device) GetName() string
- func (o *Device) GetNameOk() (*string, bool)
- func (o *Device) GetPassword() string
- func (o *Device) GetPasswordOk() (*string, bool)
- func (o *Device) GetPsKey() string
- func (o *Device) GetPsKeyOk() (*string, bool)
- func (o *Device) GetPubKey() string
- func (o *Device) GetPubKeyOk() (*string, bool)
- func (o *Device) GetQuickConfTemplate() string
- func (o *Device) GetQuickConfTemplateOk() (*string, bool)
- func (o *Device) HasName() bool
- func (o *Device) HasPassword() bool
- func (o Device) MarshalJSON() ([]byte, error)
- func (o *Device) SetConnectionStatus(v ConnectionStatus)
- func (o *Device) SetCreatedAt(v time.Time)
- func (o *Device) SetExitNodeEndpoint(v string)
- func (o *Device) SetId(v string)
- func (o *Device) SetIpv4(v string)
- func (o *Device) SetIpv6(v string)
- func (o *Device) SetLast30daysDataUsage(v DeviceDataUsage)
- func (o *Device) SetLastActiveAt(v time.Time)
- func (o *Device) SetName(v string)
- func (o *Device) SetPassword(v string)
- func (o *Device) SetPasswordNil()
- func (o *Device) SetPsKey(v string)
- func (o *Device) SetPubKey(v string)
- func (o *Device) SetQuickConfTemplate(v string)
- func (o Device) ToMap() (map[string]interface{}, error)
- func (o *Device) UnmarshalJSON(data []byte) (err error)
- func (o *Device) UnsetPassword()
- type DeviceAPIService
- func (a *DeviceAPIService) CreateDevice(ctx context.Context) ApiCreateDeviceRequest
- func (a *DeviceAPIService) CreateDeviceExecute(r ApiCreateDeviceRequest) (*Device, *http.Response, error)
- func (a *DeviceAPIService) DeleteDevice(ctx context.Context, deviceId string) ApiDeleteDeviceRequest
- func (a *DeviceAPIService) DeleteDeviceExecute(r ApiDeleteDeviceRequest) (*http.Response, error)
- func (a *DeviceAPIService) GetDashboardAnalytics(ctx context.Context) ApiGetDashboardAnalyticsRequest
- func (a *DeviceAPIService) GetDashboardAnalyticsExecute(r ApiGetDashboardAnalyticsRequest) (*DashboardAnalytics, *http.Response, error)
- func (a *DeviceAPIService) GetDevice(ctx context.Context, deviceId string) ApiGetDeviceRequest
- func (a *DeviceAPIService) GetDeviceAnalytics(ctx context.Context, deviceId string) ApiGetDeviceAnalyticsRequest
- func (a *DeviceAPIService) GetDeviceAnalyticsExecute(r ApiGetDeviceAnalyticsRequest) (*DeviceAnalytics, *http.Response, error)
- func (a *DeviceAPIService) GetDeviceExecute(r ApiGetDeviceRequest) (*Device, *http.Response, error)
- func (a *DeviceAPIService) GetDeviceNode(ctx context.Context, deviceId string) ApiGetDeviceNodeRequest
- func (a *DeviceAPIService) GetDeviceNodeExecute(r ApiGetDeviceNodeRequest) (*Node, *http.Response, error)
- func (a *DeviceAPIService) GetDevices(ctx context.Context) ApiGetDevicesRequest
- func (a *DeviceAPIService) GetDevicesExecute(r ApiGetDevicesRequest) (*PaginatedDeviceList, *http.Response, error)
- func (a *DeviceAPIService) PartialUpdateDevice(ctx context.Context, deviceId string) ApiPartialUpdateDeviceRequest
- func (a *DeviceAPIService) PartialUpdateDeviceExecute(r ApiPartialUpdateDeviceRequest) (*Device, *http.Response, error)
- func (a *DeviceAPIService) SetDeviceNode(ctx context.Context, deviceId string) ApiSetDeviceNodeRequest
- func (a *DeviceAPIService) SetDeviceNodeExecute(r ApiSetDeviceNodeRequest) (*Node, *http.Response, error)
- func (a *DeviceAPIService) UpdateDevice(ctx context.Context, deviceId string) ApiUpdateDeviceRequest
- func (a *DeviceAPIService) UpdateDeviceExecute(r ApiUpdateDeviceRequest) (*Device, *http.Response, error)
- type DeviceAnalytics
- func (o *DeviceAnalytics) GetCurrent() SummaryPeriod
- func (o *DeviceAnalytics) GetCurrentOk() (*SummaryPeriod, bool)
- func (o *DeviceAnalytics) GetDevice() DeviceAnalyticsDevice
- func (o *DeviceAnalytics) GetDeviceOk() (*DeviceAnalyticsDevice, bool)
- func (o *DeviceAnalytics) GetPercentChange() float64
- func (o *DeviceAnalytics) GetPercentChangeOk() (*float64, bool)
- func (o *DeviceAnalytics) GetPrevious() SummaryPeriod
- func (o *DeviceAnalytics) GetPreviousOk() (*SummaryPeriod, bool)
- func (o *DeviceAnalytics) HasPercentChange() bool
- func (o *DeviceAnalytics) HasPrevious() bool
- func (o DeviceAnalytics) MarshalJSON() ([]byte, error)
- func (o *DeviceAnalytics) SetCurrent(v SummaryPeriod)
- func (o *DeviceAnalytics) SetDevice(v DeviceAnalyticsDevice)
- func (o *DeviceAnalytics) SetPercentChange(v float64)
- func (o *DeviceAnalytics) SetPrevious(v SummaryPeriod)
- func (o DeviceAnalytics) ToMap() (map[string]interface{}, error)
- func (o *DeviceAnalytics) UnmarshalJSON(data []byte) (err error)
- type DeviceAnalyticsDevice
- func (o *DeviceAnalyticsDevice) GetId() string
- func (o *DeviceAnalyticsDevice) GetIdOk() (*string, bool)
- func (o *DeviceAnalyticsDevice) GetName() string
- func (o *DeviceAnalyticsDevice) GetNameOk() (*string, bool)
- func (o DeviceAnalyticsDevice) MarshalJSON() ([]byte, error)
- func (o *DeviceAnalyticsDevice) SetId(v string)
- func (o *DeviceAnalyticsDevice) SetName(v string)
- func (o DeviceAnalyticsDevice) ToMap() (map[string]interface{}, error)
- func (o *DeviceAnalyticsDevice) UnmarshalJSON(data []byte) (err error)
- type DeviceCode
- func (o *DeviceCode) GetAccessToken() string
- func (o *DeviceCode) GetAccessTokenOk() (*string, bool)
- func (o *DeviceCode) GetApprovalUrl() string
- func (o *DeviceCode) GetApprovalUrlOk() (*string, bool)
- func (o *DeviceCode) GetCode() string
- func (o *DeviceCode) GetCodeOk() (*string, bool)
- func (o *DeviceCode) GetExpiresAt() time.Time
- func (o *DeviceCode) GetExpiresAtOk() (*time.Time, bool)
- func (o *DeviceCode) GetRefreshToken() string
- func (o *DeviceCode) GetRefreshTokenOk() (*string, bool)
- func (o *DeviceCode) GetStatus() DeviceCodeStatus
- func (o *DeviceCode) GetStatusOk() (*DeviceCodeStatus, bool)
- func (o *DeviceCode) HasStatus() bool
- func (o DeviceCode) MarshalJSON() ([]byte, error)
- func (o *DeviceCode) SetAccessToken(v string)
- func (o *DeviceCode) SetApprovalUrl(v string)
- func (o *DeviceCode) SetCode(v string)
- func (o *DeviceCode) SetExpiresAt(v time.Time)
- func (o *DeviceCode) SetRefreshToken(v string)
- func (o *DeviceCode) SetStatus(v DeviceCodeStatus)
- func (o DeviceCode) ToMap() (map[string]interface{}, error)
- func (o *DeviceCode) UnmarshalJSON(data []byte) (err error)
- type DeviceCodeApproveRequest
- func (o *DeviceCodeApproveRequest) GetCode() string
- func (o *DeviceCodeApproveRequest) GetCodeOk() (*string, bool)
- func (o DeviceCodeApproveRequest) MarshalJSON() ([]byte, error)
- func (o *DeviceCodeApproveRequest) SetCode(v string)
- func (o DeviceCodeApproveRequest) ToMap() (map[string]interface{}, error)
- func (o *DeviceCodeApproveRequest) UnmarshalJSON(data []byte) (err error)
- type DeviceCodeRequest
- func (o *DeviceCodeRequest) GetStatus() DeviceCodeStatus
- func (o *DeviceCodeRequest) GetStatusOk() (*DeviceCodeStatus, bool)
- func (o *DeviceCodeRequest) HasStatus() bool
- func (o DeviceCodeRequest) MarshalJSON() ([]byte, error)
- func (o *DeviceCodeRequest) SetStatus(v DeviceCodeStatus)
- func (o DeviceCodeRequest) ToMap() (map[string]interface{}, error)
- func (o *DeviceCodeRequest) UnmarshalJSON(data []byte) (err error)
- type DeviceCodeStatus
- type DeviceData
- func (o *DeviceData) GetData() []DataPoint
- func (o *DeviceData) GetDataOk() ([]DataPoint, bool)
- func (o *DeviceData) GetId() string
- func (o *DeviceData) GetIdOk() (*string, bool)
- func (o *DeviceData) GetName() string
- func (o *DeviceData) GetNameOk() (*string, bool)
- func (o DeviceData) MarshalJSON() ([]byte, error)
- func (o *DeviceData) SetData(v []DataPoint)
- func (o *DeviceData) SetId(v string)
- func (o *DeviceData) SetName(v string)
- func (o DeviceData) ToMap() (map[string]interface{}, error)
- func (o *DeviceData) UnmarshalJSON(data []byte) (err error)
- type DeviceDataUsage
- func (o *DeviceDataUsage) GetRx() int64
- func (o *DeviceDataUsage) GetRxOk() (*int64, bool)
- func (o *DeviceDataUsage) GetTotal() int64
- func (o *DeviceDataUsage) GetTotalOk() (*int64, bool)
- func (o *DeviceDataUsage) GetTx() int64
- func (o *DeviceDataUsage) GetTxOk() (*int64, bool)
- func (o DeviceDataUsage) MarshalJSON() ([]byte, error)
- func (o *DeviceDataUsage) SetRx(v int64)
- func (o *DeviceDataUsage) SetTotal(v int64)
- func (o *DeviceDataUsage) SetTx(v int64)
- func (o DeviceDataUsage) ToMap() (map[string]interface{}, error)
- func (o *DeviceDataUsage) UnmarshalJSON(data []byte) (err error)
- type DeviceDataUsageRequest
- func (o *DeviceDataUsageRequest) GetRx() int64
- func (o *DeviceDataUsageRequest) GetRxOk() (*int64, bool)
- func (o *DeviceDataUsageRequest) GetTotal() int64
- func (o *DeviceDataUsageRequest) GetTotalOk() (*int64, bool)
- func (o *DeviceDataUsageRequest) GetTx() int64
- func (o *DeviceDataUsageRequest) GetTxOk() (*int64, bool)
- func (o DeviceDataUsageRequest) MarshalJSON() ([]byte, error)
- func (o *DeviceDataUsageRequest) SetRx(v int64)
- func (o *DeviceDataUsageRequest) SetTotal(v int64)
- func (o *DeviceDataUsageRequest) SetTx(v int64)
- func (o DeviceDataUsageRequest) ToMap() (map[string]interface{}, error)
- func (o *DeviceDataUsageRequest) UnmarshalJSON(data []byte) (err error)
- type DeviceRequest
- func (o *DeviceRequest) GetAppBuild() string
- func (o *DeviceRequest) GetAppBuildOk() (*string, bool)
- func (o *DeviceRequest) GetAppVersion() string
- func (o *DeviceRequest) GetAppVersionOk() (*string, bool)
- func (o *DeviceRequest) GetDistro() string
- func (o *DeviceRequest) GetDistroCodename() string
- func (o *DeviceRequest) GetDistroCodenameOk() (*string, bool)
- func (o *DeviceRequest) GetDistroOk() (*string, bool)
- func (o *DeviceRequest) GetDistroVersion() string
- func (o *DeviceRequest) GetDistroVersionOk() (*string, bool)
- func (o *DeviceRequest) GetExternalKey() string
- func (o *DeviceRequest) GetExternalKeyOk() (*string, bool)
- func (o *DeviceRequest) GetName() string
- func (o *DeviceRequest) GetNameOk() (*string, bool)
- func (o *DeviceRequest) GetOs() string
- func (o *DeviceRequest) GetOsArch() string
- func (o *DeviceRequest) GetOsArchOk() (*string, bool)
- func (o *DeviceRequest) GetOsOk() (*string, bool)
- func (o *DeviceRequest) GetOsVersion() string
- func (o *DeviceRequest) GetOsVersionOk() (*string, bool)
- func (o *DeviceRequest) GetPassword() string
- func (o *DeviceRequest) GetPasswordOk() (*string, bool)
- func (o *DeviceRequest) GetPubKey() string
- func (o *DeviceRequest) GetPubKeyOk() (*string, bool)
- func (o *DeviceRequest) GetRawPassword() string
- func (o *DeviceRequest) GetRawPasswordOk() (*string, bool)
- func (o *DeviceRequest) HasAppBuild() bool
- func (o *DeviceRequest) HasAppVersion() bool
- func (o *DeviceRequest) HasDistro() bool
- func (o *DeviceRequest) HasDistroCodename() bool
- func (o *DeviceRequest) HasDistroVersion() bool
- func (o *DeviceRequest) HasExternalKey() bool
- func (o *DeviceRequest) HasName() bool
- func (o *DeviceRequest) HasOs() bool
- func (o *DeviceRequest) HasOsArch() bool
- func (o *DeviceRequest) HasOsVersion() bool
- func (o *DeviceRequest) HasPassword() bool
- func (o *DeviceRequest) HasRawPassword() bool
- func (o DeviceRequest) MarshalJSON() ([]byte, error)
- func (o *DeviceRequest) SetAppBuild(v string)
- func (o *DeviceRequest) SetAppBuildNil()
- func (o *DeviceRequest) SetAppVersion(v string)
- func (o *DeviceRequest) SetAppVersionNil()
- func (o *DeviceRequest) SetDistro(v string)
- func (o *DeviceRequest) SetDistroCodename(v string)
- func (o *DeviceRequest) SetDistroCodenameNil()
- func (o *DeviceRequest) SetDistroNil()
- func (o *DeviceRequest) SetDistroVersion(v string)
- func (o *DeviceRequest) SetDistroVersionNil()
- func (o *DeviceRequest) SetExternalKey(v string)
- func (o *DeviceRequest) SetExternalKeyNil()
- func (o *DeviceRequest) SetName(v string)
- func (o *DeviceRequest) SetOs(v string)
- func (o *DeviceRequest) SetOsArch(v string)
- func (o *DeviceRequest) SetOsArchNil()
- func (o *DeviceRequest) SetOsNil()
- func (o *DeviceRequest) SetOsVersion(v string)
- func (o *DeviceRequest) SetOsVersionNil()
- func (o *DeviceRequest) SetPassword(v string)
- func (o *DeviceRequest) SetPasswordNil()
- func (o *DeviceRequest) SetPubKey(v string)
- func (o *DeviceRequest) SetRawPassword(v string)
- func (o DeviceRequest) ToMap() (map[string]interface{}, error)
- func (o *DeviceRequest) UnmarshalJSON(data []byte) (err error)
- func (o *DeviceRequest) UnsetAppBuild()
- func (o *DeviceRequest) UnsetAppVersion()
- func (o *DeviceRequest) UnsetDistro()
- func (o *DeviceRequest) UnsetDistroCodename()
- func (o *DeviceRequest) UnsetDistroVersion()
- func (o *DeviceRequest) UnsetExternalKey()
- func (o *DeviceRequest) UnsetOs()
- func (o *DeviceRequest) UnsetOsArch()
- func (o *DeviceRequest) UnsetOsVersion()
- func (o *DeviceRequest) UnsetPassword()
- type Entitlement
- func (o *Entitlement) GetExpiresAt() time.Time
- func (o *Entitlement) GetExpiresAtOk() (*time.Time, bool)
- func (o *Entitlement) GetId() string
- func (o *Entitlement) GetIdOk() (*string, bool)
- func (o *Entitlement) GetIsActive() bool
- func (o *Entitlement) GetIsActiveOk() (*bool, bool)
- func (o *Entitlement) GetLookupKey() string
- func (o *Entitlement) GetLookupKeyOk() (*string, bool)
- func (o *Entitlement) GetMetadata() map[string]string
- func (o *Entitlement) GetMetadataOk() (*map[string]string, bool)
- func (o Entitlement) MarshalJSON() ([]byte, error)
- func (o *Entitlement) SetExpiresAt(v time.Time)
- func (o *Entitlement) SetId(v string)
- func (o *Entitlement) SetIsActive(v bool)
- func (o *Entitlement) SetLookupKey(v string)
- func (o *Entitlement) SetMetadata(v map[string]string)
- func (o Entitlement) ToMap() (map[string]interface{}, error)
- func (o *Entitlement) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type GeoAPIService
- func (a *GeoAPIService) GetCountries(ctx context.Context) ApiGetCountriesRequest
- func (a *GeoAPIService) GetCountriesExecute(r ApiGetCountriesRequest) ([]Country, *http.Response, error)
- func (a *GeoAPIService) GetCountry(ctx context.Context, countryId string) ApiGetCountryRequest
- func (a *GeoAPIService) GetCountryExecute(r ApiGetCountryRequest) (*Country, *http.Response, error)
- func (a *GeoAPIService) GetLocation(ctx context.Context, placeId string) ApiGetLocationRequest
- func (a *GeoAPIService) GetLocationExecute(r ApiGetLocationRequest) (*Location, *http.Response, error)
- func (a *GeoAPIService) GetLocations(ctx context.Context) ApiGetLocationsRequest
- func (a *GeoAPIService) GetLocationsExecute(r ApiGetLocationsRequest) (*PaginatedLocationList, *http.Response, error)
- func (a *GeoAPIService) GetRegion(ctx context.Context, regionId string) ApiGetRegionRequest
- func (a *GeoAPIService) GetRegionExecute(r ApiGetRegionRequest) (*RegionDetail, *http.Response, error)
- func (a *GeoAPIService) GetRegions(ctx context.Context) ApiGetRegionsRequest
- func (a *GeoAPIService) GetRegionsExecute(r ApiGetRegionsRequest) ([]Region, *http.Response, error)
- type IPInfo
- func (o *IPInfo) GetAsn() ASN
- func (o *IPInfo) GetAsnOk() (*ASN, bool)
- func (o *IPInfo) GetCountry() Country
- func (o *IPInfo) GetCountryOk() (*Country, bool)
- func (o *IPInfo) GetIp() string
- func (o *IPInfo) GetIpOk() (*string, bool)
- func (o *IPInfo) GetLat() float64
- func (o *IPInfo) GetLatOk() (*float64, bool)
- func (o *IPInfo) GetLocation() Location
- func (o *IPInfo) GetLocationOk() (*Location, bool)
- func (o *IPInfo) GetLon() float64
- func (o *IPInfo) GetLonOk() (*float64, bool)
- func (o *IPInfo) HasAsn() bool
- func (o *IPInfo) HasCountry() bool
- func (o *IPInfo) HasLat() bool
- func (o *IPInfo) HasLocation() bool
- func (o *IPInfo) HasLon() bool
- func (o IPInfo) MarshalJSON() ([]byte, error)
- func (o *IPInfo) SetAsn(v ASN)
- func (o *IPInfo) SetAsnNil()
- func (o *IPInfo) SetCountry(v Country)
- func (o *IPInfo) SetCountryNil()
- func (o *IPInfo) SetIp(v string)
- func (o *IPInfo) SetLat(v float64)
- func (o *IPInfo) SetLatNil()
- func (o *IPInfo) SetLocation(v Location)
- func (o *IPInfo) SetLocationNil()
- func (o *IPInfo) SetLon(v float64)
- func (o *IPInfo) SetLonNil()
- func (o IPInfo) ToMap() (map[string]interface{}, error)
- func (o *IPInfo) UnmarshalJSON(data []byte) (err error)
- func (o *IPInfo) UnsetAsn()
- func (o *IPInfo) UnsetCountry()
- func (o *IPInfo) UnsetLat()
- func (o *IPInfo) UnsetLocation()
- func (o *IPInfo) UnsetLon()
- type IPInfoRequest
- func (o *IPInfoRequest) GetAsn() ASNRequest
- func (o *IPInfoRequest) GetAsnOk() (*ASNRequest, bool)
- func (o *IPInfoRequest) GetCountry() CountryRequest
- func (o *IPInfoRequest) GetCountryOk() (*CountryRequest, bool)
- func (o *IPInfoRequest) GetIp() string
- func (o *IPInfoRequest) GetIpOk() (*string, bool)
- func (o *IPInfoRequest) GetLat() float64
- func (o *IPInfoRequest) GetLatOk() (*float64, bool)
- func (o *IPInfoRequest) GetLocation() LocationRequest
- func (o *IPInfoRequest) GetLocationOk() (*LocationRequest, bool)
- func (o *IPInfoRequest) GetLon() float64
- func (o *IPInfoRequest) GetLonOk() (*float64, bool)
- func (o *IPInfoRequest) HasAsn() bool
- func (o *IPInfoRequest) HasCountry() bool
- func (o *IPInfoRequest) HasLat() bool
- func (o *IPInfoRequest) HasLocation() bool
- func (o *IPInfoRequest) HasLon() bool
- func (o IPInfoRequest) MarshalJSON() ([]byte, error)
- func (o *IPInfoRequest) SetAsn(v ASNRequest)
- func (o *IPInfoRequest) SetAsnNil()
- func (o *IPInfoRequest) SetCountry(v CountryRequest)
- func (o *IPInfoRequest) SetCountryNil()
- func (o *IPInfoRequest) SetIp(v string)
- func (o *IPInfoRequest) SetLat(v float64)
- func (o *IPInfoRequest) SetLatNil()
- func (o *IPInfoRequest) SetLocation(v LocationRequest)
- func (o *IPInfoRequest) SetLocationNil()
- func (o *IPInfoRequest) SetLon(v float64)
- func (o *IPInfoRequest) SetLonNil()
- func (o IPInfoRequest) ToMap() (map[string]interface{}, error)
- func (o *IPInfoRequest) UnmarshalJSON(data []byte) (err error)
- func (o *IPInfoRequest) UnsetAsn()
- func (o *IPInfoRequest) UnsetCountry()
- func (o *IPInfoRequest) UnsetLat()
- func (o *IPInfoRequest) UnsetLocation()
- func (o *IPInfoRequest) UnsetLon()
- type Interval
- type Invoice
- func (o *Invoice) GetCurrency() string
- func (o *Invoice) GetCurrencyOk() (*string, bool)
- func (o *Invoice) GetDescription() string
- func (o *Invoice) GetDescriptionOk() (*string, bool)
- func (o *Invoice) GetDueAt() time.Time
- func (o *Invoice) GetDueAtOk() (*time.Time, bool)
- func (o *Invoice) GetEffectiveAt() time.Time
- func (o *Invoice) GetEffectiveAtOk() (*time.Time, bool)
- func (o *Invoice) GetId() string
- func (o *Invoice) GetIdOk() (*string, bool)
- func (o *Invoice) GetIssuedAt() time.Time
- func (o *Invoice) GetIssuedAtOk() (*time.Time, bool)
- func (o *Invoice) GetLines() []InvoiceLine
- func (o *Invoice) GetLinesOk() ([]InvoiceLine, bool)
- func (o *Invoice) GetNumber() string
- func (o *Invoice) GetNumberOk() (*string, bool)
- func (o *Invoice) GetPdf() string
- func (o *Invoice) GetPdfOk() (*string, bool)
- func (o *Invoice) GetStatus() InvoiceStatus
- func (o *Invoice) GetStatusOk() (*InvoiceStatus, bool)
- func (o *Invoice) GetSubscription() string
- func (o *Invoice) GetSubscriptionOk() (*string, bool)
- func (o *Invoice) GetTotal() InvoiceTotalDetails
- func (o *Invoice) GetTotalOk() (*InvoiceTotalDetails, bool)
- func (o *Invoice) HasDescription() bool
- func (o *Invoice) HasPdf() bool
- func (o *Invoice) HasStatus() bool
- func (o *Invoice) HasSubscription() bool
- func (o Invoice) MarshalJSON() ([]byte, error)
- func (o *Invoice) SetCurrency(v string)
- func (o *Invoice) SetDescription(v string)
- func (o *Invoice) SetDescriptionNil()
- func (o *Invoice) SetDueAt(v time.Time)
- func (o *Invoice) SetEffectiveAt(v time.Time)
- func (o *Invoice) SetId(v string)
- func (o *Invoice) SetIssuedAt(v time.Time)
- func (o *Invoice) SetLines(v []InvoiceLine)
- func (o *Invoice) SetNumber(v string)
- func (o *Invoice) SetPdf(v string)
- func (o *Invoice) SetPdfNil()
- func (o *Invoice) SetStatus(v InvoiceStatus)
- func (o *Invoice) SetSubscription(v string)
- func (o *Invoice) SetSubscriptionNil()
- func (o *Invoice) SetTotal(v InvoiceTotalDetails)
- func (o Invoice) ToMap() (map[string]interface{}, error)
- func (o *Invoice) UnmarshalJSON(data []byte) (err error)
- func (o *Invoice) UnsetDescription()
- func (o *Invoice) UnsetPdf()
- func (o *Invoice) UnsetSubscription()
- type InvoiceLine
- func (o *InvoiceLine) GetAmount() float64
- func (o *InvoiceLine) GetAmountOk() (*float64, bool)
- func (o *InvoiceLine) GetCreatedAt() time.Time
- func (o *InvoiceLine) GetCreatedAtOk() (*time.Time, bool)
- func (o *InvoiceLine) GetCurrency() string
- func (o *InvoiceLine) GetCurrencyOk() (*string, bool)
- func (o *InvoiceLine) GetDescription() string
- func (o *InvoiceLine) GetDescriptionOk() (*string, bool)
- func (o *InvoiceLine) GetDiscountAmount() float64
- func (o *InvoiceLine) GetDiscountAmountOk() (*float64, bool)
- func (o *InvoiceLine) GetId() string
- func (o *InvoiceLine) GetIdOk() (*string, bool)
- func (o *InvoiceLine) GetQuantity() int64
- func (o *InvoiceLine) GetQuantityOk() (*int64, bool)
- func (o *InvoiceLine) GetTaxAmount() float64
- func (o *InvoiceLine) GetTaxAmountOk() (*float64, bool)
- func (o *InvoiceLine) GetUnitAmount() float64
- func (o *InvoiceLine) GetUnitAmountOk() (*float64, bool)
- func (o *InvoiceLine) HasQuantity() bool
- func (o InvoiceLine) MarshalJSON() ([]byte, error)
- func (o *InvoiceLine) SetAmount(v float64)
- func (o *InvoiceLine) SetCreatedAt(v time.Time)
- func (o *InvoiceLine) SetCurrency(v string)
- func (o *InvoiceLine) SetDescription(v string)
- func (o *InvoiceLine) SetDiscountAmount(v float64)
- func (o *InvoiceLine) SetId(v string)
- func (o *InvoiceLine) SetQuantity(v int64)
- func (o *InvoiceLine) SetTaxAmount(v float64)
- func (o *InvoiceLine) SetUnitAmount(v float64)
- func (o InvoiceLine) ToMap() (map[string]interface{}, error)
- func (o *InvoiceLine) UnmarshalJSON(data []byte) (err error)
- type InvoiceStatus
- type InvoiceTotalDetails
- func (o *InvoiceTotalDetails) GetDiscountAmount() float64
- func (o *InvoiceTotalDetails) GetDiscountAmountOk() (*float64, bool)
- func (o *InvoiceTotalDetails) GetDueAmount() float64
- func (o *InvoiceTotalDetails) GetDueAmountOk() (*float64, bool)
- func (o *InvoiceTotalDetails) GetPaidAmount() float64
- func (o *InvoiceTotalDetails) GetPaidAmountOk() (*float64, bool)
- func (o *InvoiceTotalDetails) GetPaidWithWalletAmount() float64
- func (o *InvoiceTotalDetails) GetPaidWithWalletAmountOk() (*float64, bool)
- func (o *InvoiceTotalDetails) GetShippingAmount() float64
- func (o *InvoiceTotalDetails) GetShippingAmountOk() (*float64, bool)
- func (o *InvoiceTotalDetails) GetSubtotalAmount() float64
- func (o *InvoiceTotalDetails) GetSubtotalAmountOk() (*float64, bool)
- func (o *InvoiceTotalDetails) GetTaxAmount() float64
- func (o *InvoiceTotalDetails) GetTaxAmountOk() (*float64, bool)
- func (o *InvoiceTotalDetails) GetTotalAmount() float64
- func (o *InvoiceTotalDetails) GetTotalAmountOk() (*float64, bool)
- func (o InvoiceTotalDetails) MarshalJSON() ([]byte, error)
- func (o *InvoiceTotalDetails) SetDiscountAmount(v float64)
- func (o *InvoiceTotalDetails) SetDueAmount(v float64)
- func (o *InvoiceTotalDetails) SetPaidAmount(v float64)
- func (o *InvoiceTotalDetails) SetPaidWithWalletAmount(v float64)
- func (o *InvoiceTotalDetails) SetShippingAmount(v float64)
- func (o *InvoiceTotalDetails) SetSubtotalAmount(v float64)
- func (o *InvoiceTotalDetails) SetTaxAmount(v float64)
- func (o *InvoiceTotalDetails) SetTotalAmount(v float64)
- func (o InvoiceTotalDetails) ToMap() (map[string]interface{}, error)
- func (o *InvoiceTotalDetails) UnmarshalJSON(data []byte) (err error)
- type Location
- func (o *Location) GetCountry() Country
- func (o *Location) GetCountryOk() (*Country, bool)
- func (o *Location) GetId() string
- func (o *Location) GetIdOk() (*string, bool)
- func (o *Location) GetLat() float64
- func (o *Location) GetLatOk() (*float64, bool)
- func (o *Location) GetLon() float64
- func (o *Location) GetLonOk() (*float64, bool)
- func (o *Location) GetName() string
- func (o *Location) GetNameAscii() string
- func (o *Location) GetNameAsciiOk() (*string, bool)
- func (o *Location) GetNameOk() (*string, bool)
- func (o *Location) GetRegion() LocationRegion
- func (o *Location) GetRegionOk() (*LocationRegion, bool)
- func (o *Location) HasLat() bool
- func (o *Location) HasLon() bool
- func (o *Location) HasNameAscii() bool
- func (o Location) MarshalJSON() ([]byte, error)
- func (o *Location) SetCountry(v Country)
- func (o *Location) SetId(v string)
- func (o *Location) SetLat(v float64)
- func (o *Location) SetLatNil()
- func (o *Location) SetLon(v float64)
- func (o *Location) SetLonNil()
- func (o *Location) SetName(v string)
- func (o *Location) SetNameAscii(v string)
- func (o *Location) SetNameAsciiNil()
- func (o *Location) SetRegion(v LocationRegion)
- func (o Location) ToMap() (map[string]interface{}, error)
- func (o *Location) UnmarshalJSON(data []byte) (err error)
- func (o *Location) UnsetLat()
- func (o *Location) UnsetLon()
- func (o *Location) UnsetNameAscii()
- type LocationRegion
- func (o *LocationRegion) GetId() string
- func (o *LocationRegion) GetIdOk() (*string, bool)
- func (o *LocationRegion) GetName() string
- func (o *LocationRegion) GetNameOk() (*string, bool)
- func (o LocationRegion) MarshalJSON() ([]byte, error)
- func (o *LocationRegion) SetId(v string)
- func (o *LocationRegion) SetName(v string)
- func (o LocationRegion) ToMap() (map[string]interface{}, error)
- func (o *LocationRegion) UnmarshalJSON(data []byte) (err error)
- type LocationRegionRequest
- func (o *LocationRegionRequest) GetId() string
- func (o *LocationRegionRequest) GetIdOk() (*string, bool)
- func (o *LocationRegionRequest) GetName() string
- func (o *LocationRegionRequest) GetNameOk() (*string, bool)
- func (o LocationRegionRequest) MarshalJSON() ([]byte, error)
- func (o *LocationRegionRequest) SetId(v string)
- func (o *LocationRegionRequest) SetName(v string)
- func (o LocationRegionRequest) ToMap() (map[string]interface{}, error)
- func (o *LocationRegionRequest) UnmarshalJSON(data []byte) (err error)
- type LocationRequest
- func (o *LocationRequest) GetCountry() CountryRequest
- func (o *LocationRequest) GetCountryOk() (*CountryRequest, bool)
- func (o *LocationRequest) GetId() string
- func (o *LocationRequest) GetIdOk() (*string, bool)
- func (o *LocationRequest) GetLat() float64
- func (o *LocationRequest) GetLatOk() (*float64, bool)
- func (o *LocationRequest) GetLon() float64
- func (o *LocationRequest) GetLonOk() (*float64, bool)
- func (o *LocationRequest) GetName() string
- func (o *LocationRequest) GetNameAscii() string
- func (o *LocationRequest) GetNameAsciiOk() (*string, bool)
- func (o *LocationRequest) GetNameOk() (*string, bool)
- func (o *LocationRequest) GetRegion() LocationRegionRequest
- func (o *LocationRequest) GetRegionOk() (*LocationRegionRequest, bool)
- func (o *LocationRequest) HasLat() bool
- func (o *LocationRequest) HasLon() bool
- func (o *LocationRequest) HasNameAscii() bool
- func (o LocationRequest) MarshalJSON() ([]byte, error)
- func (o *LocationRequest) SetCountry(v CountryRequest)
- func (o *LocationRequest) SetId(v string)
- func (o *LocationRequest) SetLat(v float64)
- func (o *LocationRequest) SetLatNil()
- func (o *LocationRequest) SetLon(v float64)
- func (o *LocationRequest) SetLonNil()
- func (o *LocationRequest) SetName(v string)
- func (o *LocationRequest) SetNameAscii(v string)
- func (o *LocationRequest) SetNameAsciiNil()
- func (o *LocationRequest) SetRegion(v LocationRegionRequest)
- func (o LocationRequest) ToMap() (map[string]interface{}, error)
- func (o *LocationRequest) UnmarshalJSON(data []byte) (err error)
- func (o *LocationRequest) UnsetLat()
- func (o *LocationRequest) UnsetLon()
- func (o *LocationRequest) UnsetNameAscii()
- type ManagedBy
- type MappedNullable
- type Node
- func (o *Node) GetAppBuild() string
- func (o *Node) GetAppBuildOk() (*string, bool)
- func (o *Node) GetAppVersion() string
- func (o *Node) GetAppVersionOk() (*string, bool)
- func (o *Node) GetConditions() []NodeCondition
- func (o *Node) GetConditionsOk() ([]NodeCondition, bool)
- func (o *Node) GetDistro() string
- func (o *Node) GetDistroCodename() string
- func (o *Node) GetDistroCodenameOk() (*string, bool)
- func (o *Node) GetDistroOk() (*string, bool)
- func (o *Node) GetDistroVersion() string
- func (o *Node) GetDistroVersionOk() (*string, bool)
- func (o *Node) GetHostname() string
- func (o *Node) GetHostnameOk() (*string, bool)
- func (o *Node) GetHttpsProxyPorts() []string
- func (o *Node) GetHttpsProxyPortsOk() ([]string, bool)
- func (o *Node) GetId() string
- func (o *Node) GetIdOk() (*string, bool)
- func (o *Node) GetIpAddresses() []string
- func (o *Node) GetIpAddressesOk() ([]string, bool)
- func (o *Node) GetIpDetails() []IPInfo
- func (o *Node) GetIpDetailsOk() ([]IPInfo, bool)
- func (o *Node) GetIsExitNode() bool
- func (o *Node) GetIsExitNodeOk() (*bool, bool)
- func (o *Node) GetIsPublic() bool
- func (o *Node) GetIsPublicOk() (*bool, bool)
- func (o *Node) GetLastActiveAt() time.Time
- func (o *Node) GetLastActiveAtOk() (*time.Time, bool)
- func (o *Node) GetOs() string
- func (o *Node) GetOsArch() string
- func (o *Node) GetOsArchOk() (*string, bool)
- func (o *Node) GetOsOk() (*string, bool)
- func (o *Node) GetOsVersion() string
- func (o *Node) GetOsVersionOk() (*string, bool)
- func (o *Node) GetPorts() []string
- func (o *Node) GetPortsOk() ([]string, bool)
- func (o *Node) GetPubKey() string
- func (o *Node) GetPubKeyOk() (*string, bool)
- func (o *Node) GetSsBridgePorts() []string
- func (o *Node) GetSsBridgePortsOk() ([]string, bool)
- func (o *Node) GetStatus() NodeStatus
- func (o *Node) GetStatusOk() (*NodeStatus, bool)
- func (o *Node) GetSubnets() []string
- func (o *Node) GetSubnetsOk() ([]string, bool)
- func (o *Node) GetTags() []string
- func (o *Node) GetTagsOk() ([]string, bool)
- func (o *Node) HasAppBuild() bool
- func (o *Node) HasAppVersion() bool
- func (o *Node) HasDistro() bool
- func (o *Node) HasDistroCodename() bool
- func (o *Node) HasDistroVersion() bool
- func (o *Node) HasHttpsProxyPorts() bool
- func (o *Node) HasIsPublic() bool
- func (o *Node) HasOs() bool
- func (o *Node) HasOsArch() bool
- func (o *Node) HasOsVersion() bool
- func (o *Node) HasSsBridgePorts() bool
- func (o *Node) HasStatus() bool
- func (o *Node) HasSubnets() bool
- func (o Node) MarshalJSON() ([]byte, error)
- func (o *Node) SetAppBuild(v string)
- func (o *Node) SetAppBuildNil()
- func (o *Node) SetAppVersion(v string)
- func (o *Node) SetAppVersionNil()
- func (o *Node) SetConditions(v []NodeCondition)
- func (o *Node) SetDistro(v string)
- func (o *Node) SetDistroCodename(v string)
- func (o *Node) SetDistroCodenameNil()
- func (o *Node) SetDistroNil()
- func (o *Node) SetDistroVersion(v string)
- func (o *Node) SetDistroVersionNil()
- func (o *Node) SetHostname(v string)
- func (o *Node) SetHttpsProxyPorts(v []string)
- func (o *Node) SetId(v string)
- func (o *Node) SetIpAddresses(v []string)
- func (o *Node) SetIpDetails(v []IPInfo)
- func (o *Node) SetIsExitNode(v bool)
- func (o *Node) SetIsPublic(v bool)
- func (o *Node) SetLastActiveAt(v time.Time)
- func (o *Node) SetOs(v string)
- func (o *Node) SetOsArch(v string)
- func (o *Node) SetOsArchNil()
- func (o *Node) SetOsNil()
- func (o *Node) SetOsVersion(v string)
- func (o *Node) SetOsVersionNil()
- func (o *Node) SetPorts(v []string)
- func (o *Node) SetPubKey(v string)
- func (o *Node) SetSsBridgePorts(v []string)
- func (o *Node) SetStatus(v NodeStatus)
- func (o *Node) SetSubnets(v []string)
- func (o *Node) SetTags(v []string)
- func (o Node) ToMap() (map[string]interface{}, error)
- func (o *Node) UnmarshalJSON(data []byte) (err error)
- func (o *Node) UnsetAppBuild()
- func (o *Node) UnsetAppVersion()
- func (o *Node) UnsetDistro()
- func (o *Node) UnsetDistroCodename()
- func (o *Node) UnsetDistroVersion()
- func (o *Node) UnsetOs()
- func (o *Node) UnsetOsArch()
- func (o *Node) UnsetOsVersion()
- type NodeAPIService
- func (a *NodeAPIService) CreateNode(ctx context.Context) ApiCreateNodeRequest
- func (a *NodeAPIService) CreateNodeCondition(ctx context.Context, nodeId string) ApiCreateNodeConditionRequest
- func (a *NodeAPIService) CreateNodeConditionExecute(r ApiCreateNodeConditionRequest) (*http.Response, error)
- func (a *NodeAPIService) CreateNodeDataUsageReport(ctx context.Context, nodeId string) ApiCreateNodeDataUsageReportRequest
- func (a *NodeAPIService) CreateNodeDataUsageReportExecute(r ApiCreateNodeDataUsageReportRequest) (*http.Response, error)
- func (a *NodeAPIService) CreateNodeExecute(r ApiCreateNodeRequest) (*Node, *http.Response, error)
- func (a *NodeAPIService) DeleteNode(ctx context.Context, nodeId string) ApiDeleteNodeRequest
- func (a *NodeAPIService) DeleteNodeExecute(r ApiDeleteNodeRequest) (*http.Response, error)
- func (a *NodeAPIService) GetNode(ctx context.Context, nodeId string) ApiGetNodeRequest
- func (a *NodeAPIService) GetNodeConditions(ctx context.Context, nodeId string) ApiGetNodeConditionsRequest
- func (a *NodeAPIService) GetNodeConditionsExecute(r ApiGetNodeConditionsRequest) ([]NodeCondition, *http.Response, error)
- func (a *NodeAPIService) GetNodeDevices(ctx context.Context, nodeId string) ApiGetNodeDevicesRequest
- func (a *NodeAPIService) GetNodeDevicesExecute(r ApiGetNodeDevicesRequest) ([]NodeDevice, *http.Response, error)
- func (a *NodeAPIService) GetNodeExecute(r ApiGetNodeRequest) (*Node, *http.Response, error)
- func (a *NodeAPIService) GetNodes(ctx context.Context) ApiGetNodesRequest
- func (a *NodeAPIService) GetNodesExecute(r ApiGetNodesRequest) (*PaginatedNodeList, *http.Response, error)
- func (a *NodeAPIService) PartialUpdateNode(ctx context.Context, nodeId string) ApiPartialUpdateNodeRequest
- func (a *NodeAPIService) PartialUpdateNodeExecute(r ApiPartialUpdateNodeRequest) (*Node, *http.Response, error)
- func (a *NodeAPIService) UpdateNode(ctx context.Context, nodeId string) ApiUpdateNodeRequest
- func (a *NodeAPIService) UpdateNodeExecute(r ApiUpdateNodeRequest) (*Node, *http.Response, error)
- type NodeCondition
- func (o *NodeCondition) GetCondition() Condition
- func (o *NodeCondition) GetConditionOk() (*Condition, bool)
- func (o *NodeCondition) GetLastHeartbeatAt() time.Time
- func (o *NodeCondition) GetLastHeartbeatAtOk() (*time.Time, bool)
- func (o *NodeCondition) GetLastTransitionAt() time.Time
- func (o *NodeCondition) GetLastTransitionAtOk() (*time.Time, bool)
- func (o *NodeCondition) GetMessage() string
- func (o *NodeCondition) GetMessageOk() (*string, bool)
- func (o *NodeCondition) GetStatus() bool
- func (o *NodeCondition) GetStatusOk() (*bool, bool)
- func (o *NodeCondition) HasMessage() bool
- func (o NodeCondition) MarshalJSON() ([]byte, error)
- func (o *NodeCondition) SetCondition(v Condition)
- func (o *NodeCondition) SetLastHeartbeatAt(v time.Time)
- func (o *NodeCondition) SetLastTransitionAt(v time.Time)
- func (o *NodeCondition) SetMessage(v string)
- func (o *NodeCondition) SetMessageNil()
- func (o *NodeCondition) SetStatus(v bool)
- func (o NodeCondition) ToMap() (map[string]interface{}, error)
- func (o *NodeCondition) UnmarshalJSON(data []byte) (err error)
- func (o *NodeCondition) UnsetMessage()
- type NodeConditionRequest
- func (o *NodeConditionRequest) GetCondition() Condition
- func (o *NodeConditionRequest) GetConditionOk() (*Condition, bool)
- func (o *NodeConditionRequest) GetMessage() string
- func (o *NodeConditionRequest) GetMessageOk() (*string, bool)
- func (o *NodeConditionRequest) GetStatus() bool
- func (o *NodeConditionRequest) GetStatusOk() (*bool, bool)
- func (o *NodeConditionRequest) HasMessage() bool
- func (o NodeConditionRequest) MarshalJSON() ([]byte, error)
- func (o *NodeConditionRequest) SetCondition(v Condition)
- func (o *NodeConditionRequest) SetMessage(v string)
- func (o *NodeConditionRequest) SetMessageNil()
- func (o *NodeConditionRequest) SetStatus(v bool)
- func (o NodeConditionRequest) ToMap() (map[string]interface{}, error)
- func (o *NodeConditionRequest) UnmarshalJSON(data []byte) (err error)
- func (o *NodeConditionRequest) UnsetMessage()
- type NodeConditionType
- type NodeConditionsRequest
- func (o *NodeConditionsRequest) GetItems() []NodeConditionRequest
- func (o *NodeConditionsRequest) GetItemsOk() ([]NodeConditionRequest, bool)
- func (o NodeConditionsRequest) MarshalJSON() ([]byte, error)
- func (o *NodeConditionsRequest) SetItems(v []NodeConditionRequest)
- func (o NodeConditionsRequest) ToMap() (map[string]interface{}, error)
- func (o *NodeConditionsRequest) UnmarshalJSON(data []byte) (err error)
- type NodeDataUsageItemRequest
- func (o *NodeDataUsageItemRequest) GetId() string
- func (o *NodeDataUsageItemRequest) GetIdOk() (*string, bool)
- func (o *NodeDataUsageItemRequest) GetProto() string
- func (o *NodeDataUsageItemRequest) GetProtoOk() (*string, bool)
- func (o *NodeDataUsageItemRequest) GetRx() int64
- func (o *NodeDataUsageItemRequest) GetRxOk() (*int64, bool)
- func (o *NodeDataUsageItemRequest) GetTx() int64
- func (o *NodeDataUsageItemRequest) GetTxOk() (*int64, bool)
- func (o *NodeDataUsageItemRequest) HasRx() bool
- func (o *NodeDataUsageItemRequest) HasTx() bool
- func (o NodeDataUsageItemRequest) MarshalJSON() ([]byte, error)
- func (o *NodeDataUsageItemRequest) SetId(v string)
- func (o *NodeDataUsageItemRequest) SetProto(v string)
- func (o *NodeDataUsageItemRequest) SetRx(v int64)
- func (o *NodeDataUsageItemRequest) SetTx(v int64)
- func (o NodeDataUsageItemRequest) ToMap() (map[string]interface{}, error)
- func (o *NodeDataUsageItemRequest) UnmarshalJSON(data []byte) (err error)
- type NodeDataUsageReportRequest
- func (o *NodeDataUsageReportRequest) GetItems() []NodeDataUsageItemRequest
- func (o *NodeDataUsageReportRequest) GetItemsOk() ([]NodeDataUsageItemRequest, bool)
- func (o *NodeDataUsageReportRequest) GetTimestamp() time.Time
- func (o *NodeDataUsageReportRequest) GetTimestampOk() (*time.Time, bool)
- func (o NodeDataUsageReportRequest) MarshalJSON() ([]byte, error)
- func (o *NodeDataUsageReportRequest) SetItems(v []NodeDataUsageItemRequest)
- func (o *NodeDataUsageReportRequest) SetTimestamp(v time.Time)
- func (o NodeDataUsageReportRequest) ToMap() (map[string]interface{}, error)
- func (o *NodeDataUsageReportRequest) UnmarshalJSON(data []byte) (err error)
- type NodeDevice
- func (o *NodeDevice) GetIpv4() string
- func (o *NodeDevice) GetIpv4Ok() (*string, bool)
- func (o *NodeDevice) GetIpv6() string
- func (o *NodeDevice) GetIpv6Ok() (*string, bool)
- func (o *NodeDevice) GetPsKey() string
- func (o *NodeDevice) GetPsKeyOk() (*string, bool)
- func (o *NodeDevice) GetPubKey() string
- func (o *NodeDevice) GetPubKeyOk() (*string, bool)
- func (o NodeDevice) MarshalJSON() ([]byte, error)
- func (o *NodeDevice) SetIpv4(v string)
- func (o *NodeDevice) SetIpv6(v string)
- func (o *NodeDevice) SetPsKey(v string)
- func (o *NodeDevice) SetPubKey(v string)
- func (o NodeDevice) ToMap() (map[string]interface{}, error)
- func (o *NodeDevice) UnmarshalJSON(data []byte) (err error)
- type NodeRequest
- func (o *NodeRequest) GetAppBuild() string
- func (o *NodeRequest) GetAppBuildOk() (*string, bool)
- func (o *NodeRequest) GetAppVersion() string
- func (o *NodeRequest) GetAppVersionOk() (*string, bool)
- func (o *NodeRequest) GetDistro() string
- func (o *NodeRequest) GetDistroCodename() string
- func (o *NodeRequest) GetDistroCodenameOk() (*string, bool)
- func (o *NodeRequest) GetDistroOk() (*string, bool)
- func (o *NodeRequest) GetDistroVersion() string
- func (o *NodeRequest) GetDistroVersionOk() (*string, bool)
- func (o *NodeRequest) GetHostname() string
- func (o *NodeRequest) GetHostnameOk() (*string, bool)
- func (o *NodeRequest) GetHttpsProxyPorts() []string
- func (o *NodeRequest) GetHttpsProxyPortsOk() ([]string, bool)
- func (o *NodeRequest) GetIpAddresses() []string
- func (o *NodeRequest) GetIpAddressesOk() ([]string, bool)
- func (o *NodeRequest) GetIsPublic() bool
- func (o *NodeRequest) GetIsPublicOk() (*bool, bool)
- func (o *NodeRequest) GetOs() string
- func (o *NodeRequest) GetOsArch() string
- func (o *NodeRequest) GetOsArchOk() (*string, bool)
- func (o *NodeRequest) GetOsOk() (*string, bool)
- func (o *NodeRequest) GetOsVersion() string
- func (o *NodeRequest) GetOsVersionOk() (*string, bool)
- func (o *NodeRequest) GetPorts() []string
- func (o *NodeRequest) GetPortsOk() ([]string, bool)
- func (o *NodeRequest) GetPubKey() string
- func (o *NodeRequest) GetPubKeyOk() (*string, bool)
- func (o *NodeRequest) GetSsBridgePorts() []string
- func (o *NodeRequest) GetSsBridgePortsOk() ([]string, bool)
- func (o *NodeRequest) GetStatus() NodeStatus
- func (o *NodeRequest) GetStatusOk() (*NodeStatus, bool)
- func (o *NodeRequest) GetSubnets() []string
- func (o *NodeRequest) GetSubnetsOk() ([]string, bool)
- func (o *NodeRequest) GetTags() []string
- func (o *NodeRequest) GetTagsOk() ([]string, bool)
- func (o *NodeRequest) HasAppBuild() bool
- func (o *NodeRequest) HasAppVersion() bool
- func (o *NodeRequest) HasDistro() bool
- func (o *NodeRequest) HasDistroCodename() bool
- func (o *NodeRequest) HasDistroVersion() bool
- func (o *NodeRequest) HasHttpsProxyPorts() bool
- func (o *NodeRequest) HasIsPublic() bool
- func (o *NodeRequest) HasOs() bool
- func (o *NodeRequest) HasOsArch() bool
- func (o *NodeRequest) HasOsVersion() bool
- func (o *NodeRequest) HasSsBridgePorts() bool
- func (o *NodeRequest) HasStatus() bool
- func (o *NodeRequest) HasSubnets() bool
- func (o NodeRequest) MarshalJSON() ([]byte, error)
- func (o *NodeRequest) SetAppBuild(v string)
- func (o *NodeRequest) SetAppBuildNil()
- func (o *NodeRequest) SetAppVersion(v string)
- func (o *NodeRequest) SetAppVersionNil()
- func (o *NodeRequest) SetDistro(v string)
- func (o *NodeRequest) SetDistroCodename(v string)
- func (o *NodeRequest) SetDistroCodenameNil()
- func (o *NodeRequest) SetDistroNil()
- func (o *NodeRequest) SetDistroVersion(v string)
- func (o *NodeRequest) SetDistroVersionNil()
- func (o *NodeRequest) SetHostname(v string)
- func (o *NodeRequest) SetHttpsProxyPorts(v []string)
- func (o *NodeRequest) SetIpAddresses(v []string)
- func (o *NodeRequest) SetIsPublic(v bool)
- func (o *NodeRequest) SetOs(v string)
- func (o *NodeRequest) SetOsArch(v string)
- func (o *NodeRequest) SetOsArchNil()
- func (o *NodeRequest) SetOsNil()
- func (o *NodeRequest) SetOsVersion(v string)
- func (o *NodeRequest) SetOsVersionNil()
- func (o *NodeRequest) SetPorts(v []string)
- func (o *NodeRequest) SetPubKey(v string)
- func (o *NodeRequest) SetSsBridgePorts(v []string)
- func (o *NodeRequest) SetStatus(v NodeStatus)
- func (o *NodeRequest) SetSubnets(v []string)
- func (o *NodeRequest) SetTags(v []string)
- func (o NodeRequest) ToMap() (map[string]interface{}, error)
- func (o *NodeRequest) UnmarshalJSON(data []byte) (err error)
- func (o *NodeRequest) UnsetAppBuild()
- func (o *NodeRequest) UnsetAppVersion()
- func (o *NodeRequest) UnsetDistro()
- func (o *NodeRequest) UnsetDistroCodename()
- func (o *NodeRequest) UnsetDistroVersion()
- func (o *NodeRequest) UnsetOs()
- func (o *NodeRequest) UnsetOsArch()
- func (o *NodeRequest) UnsetOsVersion()
- type NodeStatus
- type Null
- type NullableASN
- type NullableASNRequest
- type NullableAccount
- type NullableAccountStatus
- func (v NullableAccountStatus) Get() *AccountStatus
- func (v NullableAccountStatus) IsSet() bool
- func (v NullableAccountStatus) MarshalJSON() ([]byte, error)
- func (v *NullableAccountStatus) Set(val *AccountStatus)
- func (v *NullableAccountStatus) UnmarshalJSON(src []byte) error
- func (v *NullableAccountStatus) Unset()
- type NullableAccountStatusEnum
- func (v NullableAccountStatusEnum) Get() *AccountStatusEnum
- func (v NullableAccountStatusEnum) IsSet() bool
- func (v NullableAccountStatusEnum) MarshalJSON() ([]byte, error)
- func (v *NullableAccountStatusEnum) Set(val *AccountStatusEnum)
- func (v *NullableAccountStatusEnum) UnmarshalJSON(src []byte) error
- func (v *NullableAccountStatusEnum) Unset()
- type NullableAccountTokenPair
- func (v NullableAccountTokenPair) Get() *AccountTokenPair
- func (v NullableAccountTokenPair) IsSet() bool
- func (v NullableAccountTokenPair) MarshalJSON() ([]byte, error)
- func (v *NullableAccountTokenPair) Set(val *AccountTokenPair)
- func (v *NullableAccountTokenPair) UnmarshalJSON(src []byte) error
- func (v *NullableAccountTokenPair) Unset()
- type NullableAccountTokenPairRequest
- func (v NullableAccountTokenPairRequest) Get() *AccountTokenPairRequest
- func (v NullableAccountTokenPairRequest) IsSet() bool
- func (v NullableAccountTokenPairRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAccountTokenPairRequest) Set(val *AccountTokenPairRequest)
- func (v *NullableAccountTokenPairRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAccountTokenPairRequest) Unset()
- type NullableAccountTokenRefresh
- func (v NullableAccountTokenRefresh) Get() *AccountTokenRefresh
- func (v NullableAccountTokenRefresh) IsSet() bool
- func (v NullableAccountTokenRefresh) MarshalJSON() ([]byte, error)
- func (v *NullableAccountTokenRefresh) Set(val *AccountTokenRefresh)
- func (v *NullableAccountTokenRefresh) UnmarshalJSON(src []byte) error
- func (v *NullableAccountTokenRefresh) Unset()
- type NullableAccountTokenRefreshRequest
- func (v NullableAccountTokenRefreshRequest) Get() *AccountTokenRefreshRequest
- func (v NullableAccountTokenRefreshRequest) IsSet() bool
- func (v NullableAccountTokenRefreshRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAccountTokenRefreshRequest) Set(val *AccountTokenRefreshRequest)
- func (v *NullableAccountTokenRefreshRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAccountTokenRefreshRequest) Unset()
- type NullableBillingAccount
- func (v NullableBillingAccount) Get() *BillingAccount
- func (v NullableBillingAccount) IsSet() bool
- func (v NullableBillingAccount) MarshalJSON() ([]byte, error)
- func (v *NullableBillingAccount) Set(val *BillingAccount)
- func (v *NullableBillingAccount) UnmarshalJSON(src []byte) error
- func (v *NullableBillingAccount) Unset()
- type NullableBillingDataQuota
- func (v NullableBillingDataQuota) Get() *BillingDataQuota
- func (v NullableBillingDataQuota) IsSet() bool
- func (v NullableBillingDataQuota) MarshalJSON() ([]byte, error)
- func (v *NullableBillingDataQuota) Set(val *BillingDataQuota)
- func (v *NullableBillingDataQuota) UnmarshalJSON(src []byte) error
- func (v *NullableBillingDataQuota) Unset()
- type NullableBillingDeviceQuota
- func (v NullableBillingDeviceQuota) Get() *BillingDeviceQuota
- func (v NullableBillingDeviceQuota) IsSet() bool
- func (v NullableBillingDeviceQuota) MarshalJSON() ([]byte, error)
- func (v *NullableBillingDeviceQuota) Set(val *BillingDeviceQuota)
- func (v *NullableBillingDeviceQuota) UnmarshalJSON(src []byte) error
- func (v *NullableBillingDeviceQuota) Unset()
- type NullableBillingOptions
- func (v NullableBillingOptions) Get() *BillingOptions
- func (v NullableBillingOptions) IsSet() bool
- func (v NullableBillingOptions) MarshalJSON() ([]byte, error)
- func (v *NullableBillingOptions) Set(val *BillingOptions)
- func (v *NullableBillingOptions) UnmarshalJSON(src []byte) error
- func (v *NullableBillingOptions) Unset()
- type NullableBillingPeriod
- func (v NullableBillingPeriod) Get() *BillingPeriod
- func (v NullableBillingPeriod) IsSet() bool
- func (v NullableBillingPeriod) MarshalJSON() ([]byte, error)
- func (v *NullableBillingPeriod) Set(val *BillingPeriod)
- func (v *NullableBillingPeriod) UnmarshalJSON(src []byte) error
- func (v *NullableBillingPeriod) Unset()
- type NullableBillingUsage
- func (v NullableBillingUsage) Get() *BillingUsage
- func (v NullableBillingUsage) IsSet() bool
- func (v NullableBillingUsage) MarshalJSON() ([]byte, error)
- func (v *NullableBillingUsage) Set(val *BillingUsage)
- func (v *NullableBillingUsage) UnmarshalJSON(src []byte) error
- func (v *NullableBillingUsage) Unset()
- type NullableBool
- type NullableCloudPaymentsCardDetails
- func (v NullableCloudPaymentsCardDetails) Get() *CloudPaymentsCardDetails
- func (v NullableCloudPaymentsCardDetails) IsSet() bool
- func (v NullableCloudPaymentsCardDetails) MarshalJSON() ([]byte, error)
- func (v *NullableCloudPaymentsCardDetails) Set(val *CloudPaymentsCardDetails)
- func (v *NullableCloudPaymentsCardDetails) UnmarshalJSON(src []byte) error
- func (v *NullableCloudPaymentsCardDetails) Unset()
- type NullableCloudPaymentsPaymentMethod
- func (v NullableCloudPaymentsPaymentMethod) Get() *CloudPaymentsPaymentMethod
- func (v NullableCloudPaymentsPaymentMethod) IsSet() bool
- func (v NullableCloudPaymentsPaymentMethod) MarshalJSON() ([]byte, error)
- func (v *NullableCloudPaymentsPaymentMethod) Set(val *CloudPaymentsPaymentMethod)
- func (v *NullableCloudPaymentsPaymentMethod) UnmarshalJSON(src []byte) error
- func (v *NullableCloudPaymentsPaymentMethod) Unset()
- type NullableCloudPaymentsPaymentMethodCreateRequest
- func (v NullableCloudPaymentsPaymentMethodCreateRequest) Get() *CloudPaymentsPaymentMethodCreateRequest
- func (v NullableCloudPaymentsPaymentMethodCreateRequest) IsSet() bool
- func (v NullableCloudPaymentsPaymentMethodCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCloudPaymentsPaymentMethodCreateRequest) Set(val *CloudPaymentsPaymentMethodCreateRequest)
- func (v *NullableCloudPaymentsPaymentMethodCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCloudPaymentsPaymentMethodCreateRequest) Unset()
- type NullableCloudPaymentsThreeDSecure
- func (v NullableCloudPaymentsThreeDSecure) Get() *CloudPaymentsThreeDSecure
- func (v NullableCloudPaymentsThreeDSecure) IsSet() bool
- func (v NullableCloudPaymentsThreeDSecure) MarshalJSON() ([]byte, error)
- func (v *NullableCloudPaymentsThreeDSecure) Set(val *CloudPaymentsThreeDSecure)
- func (v *NullableCloudPaymentsThreeDSecure) UnmarshalJSON(src []byte) error
- func (v *NullableCloudPaymentsThreeDSecure) Unset()
- type NullableCloudPaymentsThreeDSecureCompleteRequest
- func (v NullableCloudPaymentsThreeDSecureCompleteRequest) Get() *CloudPaymentsThreeDSecureCompleteRequest
- func (v NullableCloudPaymentsThreeDSecureCompleteRequest) IsSet() bool
- func (v NullableCloudPaymentsThreeDSecureCompleteRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCloudPaymentsThreeDSecureCompleteRequest) Set(val *CloudPaymentsThreeDSecureCompleteRequest)
- func (v *NullableCloudPaymentsThreeDSecureCompleteRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCloudPaymentsThreeDSecureCompleteRequest) Unset()
- type NullableComparisonData
- func (v NullableComparisonData) Get() *ComparisonData
- func (v NullableComparisonData) IsSet() bool
- func (v NullableComparisonData) MarshalJSON() ([]byte, error)
- func (v *NullableComparisonData) Set(val *ComparisonData)
- func (v *NullableComparisonData) UnmarshalJSON(src []byte) error
- func (v *NullableComparisonData) Unset()
- type NullableCondition
- type NullableConnectionStatus
- func (v NullableConnectionStatus) Get() *ConnectionStatus
- func (v NullableConnectionStatus) IsSet() bool
- func (v NullableConnectionStatus) MarshalJSON() ([]byte, error)
- func (v *NullableConnectionStatus) Set(val *ConnectionStatus)
- func (v *NullableConnectionStatus) UnmarshalJSON(src []byte) error
- func (v *NullableConnectionStatus) Unset()
- type NullableCountry
- type NullableCountryRequest
- func (v NullableCountryRequest) Get() *CountryRequest
- func (v NullableCountryRequest) IsSet() bool
- func (v NullableCountryRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCountryRequest) Set(val *CountryRequest)
- func (v *NullableCountryRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCountryRequest) Unset()
- type NullableCurrency
- type NullableDashboardAnalytics
- func (v NullableDashboardAnalytics) Get() *DashboardAnalytics
- func (v NullableDashboardAnalytics) IsSet() bool
- func (v NullableDashboardAnalytics) MarshalJSON() ([]byte, error)
- func (v *NullableDashboardAnalytics) Set(val *DashboardAnalytics)
- func (v *NullableDashboardAnalytics) UnmarshalJSON(src []byte) error
- func (v *NullableDashboardAnalytics) Unset()
- type NullableDataPoint
- type NullableDevice
- type NullableDeviceAnalytics
- func (v NullableDeviceAnalytics) Get() *DeviceAnalytics
- func (v NullableDeviceAnalytics) IsSet() bool
- func (v NullableDeviceAnalytics) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceAnalytics) Set(val *DeviceAnalytics)
- func (v *NullableDeviceAnalytics) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceAnalytics) Unset()
- type NullableDeviceAnalyticsDevice
- func (v NullableDeviceAnalyticsDevice) Get() *DeviceAnalyticsDevice
- func (v NullableDeviceAnalyticsDevice) IsSet() bool
- func (v NullableDeviceAnalyticsDevice) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceAnalyticsDevice) Set(val *DeviceAnalyticsDevice)
- func (v *NullableDeviceAnalyticsDevice) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceAnalyticsDevice) Unset()
- type NullableDeviceCode
- type NullableDeviceCodeApproveRequest
- func (v NullableDeviceCodeApproveRequest) Get() *DeviceCodeApproveRequest
- func (v NullableDeviceCodeApproveRequest) IsSet() bool
- func (v NullableDeviceCodeApproveRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceCodeApproveRequest) Set(val *DeviceCodeApproveRequest)
- func (v *NullableDeviceCodeApproveRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceCodeApproveRequest) Unset()
- type NullableDeviceCodeRequest
- func (v NullableDeviceCodeRequest) Get() *DeviceCodeRequest
- func (v NullableDeviceCodeRequest) IsSet() bool
- func (v NullableDeviceCodeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceCodeRequest) Set(val *DeviceCodeRequest)
- func (v *NullableDeviceCodeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceCodeRequest) Unset()
- type NullableDeviceCodeStatus
- func (v NullableDeviceCodeStatus) Get() *DeviceCodeStatus
- func (v NullableDeviceCodeStatus) IsSet() bool
- func (v NullableDeviceCodeStatus) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceCodeStatus) Set(val *DeviceCodeStatus)
- func (v *NullableDeviceCodeStatus) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceCodeStatus) Unset()
- type NullableDeviceData
- type NullableDeviceDataUsage
- func (v NullableDeviceDataUsage) Get() *DeviceDataUsage
- func (v NullableDeviceDataUsage) IsSet() bool
- func (v NullableDeviceDataUsage) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceDataUsage) Set(val *DeviceDataUsage)
- func (v *NullableDeviceDataUsage) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceDataUsage) Unset()
- type NullableDeviceDataUsageRequest
- func (v NullableDeviceDataUsageRequest) Get() *DeviceDataUsageRequest
- func (v NullableDeviceDataUsageRequest) IsSet() bool
- func (v NullableDeviceDataUsageRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceDataUsageRequest) Set(val *DeviceDataUsageRequest)
- func (v *NullableDeviceDataUsageRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceDataUsageRequest) Unset()
- type NullableDeviceRequest
- func (v NullableDeviceRequest) Get() *DeviceRequest
- func (v NullableDeviceRequest) IsSet() bool
- func (v NullableDeviceRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceRequest) Set(val *DeviceRequest)
- func (v *NullableDeviceRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceRequest) Unset()
- type NullableEntitlement
- func (v NullableEntitlement) Get() *Entitlement
- func (v NullableEntitlement) IsSet() bool
- func (v NullableEntitlement) MarshalJSON() ([]byte, error)
- func (v *NullableEntitlement) Set(val *Entitlement)
- func (v *NullableEntitlement) UnmarshalJSON(src []byte) error
- func (v *NullableEntitlement) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableIPInfo
- type NullableIPInfoRequest
- func (v NullableIPInfoRequest) Get() *IPInfoRequest
- func (v NullableIPInfoRequest) IsSet() bool
- func (v NullableIPInfoRequest) MarshalJSON() ([]byte, error)
- func (v *NullableIPInfoRequest) Set(val *IPInfoRequest)
- func (v *NullableIPInfoRequest) UnmarshalJSON(src []byte) error
- func (v *NullableIPInfoRequest) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableInterval
- type NullableInvoice
- type NullableInvoiceLine
- func (v NullableInvoiceLine) Get() *InvoiceLine
- func (v NullableInvoiceLine) IsSet() bool
- func (v NullableInvoiceLine) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceLine) Set(val *InvoiceLine)
- func (v *NullableInvoiceLine) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceLine) Unset()
- type NullableInvoiceStatus
- func (v NullableInvoiceStatus) Get() *InvoiceStatus
- func (v NullableInvoiceStatus) IsSet() bool
- func (v NullableInvoiceStatus) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceStatus) Set(val *InvoiceStatus)
- func (v *NullableInvoiceStatus) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceStatus) Unset()
- type NullableInvoiceTotalDetails
- func (v NullableInvoiceTotalDetails) Get() *InvoiceTotalDetails
- func (v NullableInvoiceTotalDetails) IsSet() bool
- func (v NullableInvoiceTotalDetails) MarshalJSON() ([]byte, error)
- func (v *NullableInvoiceTotalDetails) Set(val *InvoiceTotalDetails)
- func (v *NullableInvoiceTotalDetails) UnmarshalJSON(src []byte) error
- func (v *NullableInvoiceTotalDetails) Unset()
- type NullableLocation
- type NullableLocationRegion
- func (v NullableLocationRegion) Get() *LocationRegion
- func (v NullableLocationRegion) IsSet() bool
- func (v NullableLocationRegion) MarshalJSON() ([]byte, error)
- func (v *NullableLocationRegion) Set(val *LocationRegion)
- func (v *NullableLocationRegion) UnmarshalJSON(src []byte) error
- func (v *NullableLocationRegion) Unset()
- type NullableLocationRegionRequest
- func (v NullableLocationRegionRequest) Get() *LocationRegionRequest
- func (v NullableLocationRegionRequest) IsSet() bool
- func (v NullableLocationRegionRequest) MarshalJSON() ([]byte, error)
- func (v *NullableLocationRegionRequest) Set(val *LocationRegionRequest)
- func (v *NullableLocationRegionRequest) UnmarshalJSON(src []byte) error
- func (v *NullableLocationRegionRequest) Unset()
- type NullableLocationRequest
- func (v NullableLocationRequest) Get() *LocationRequest
- func (v NullableLocationRequest) IsSet() bool
- func (v NullableLocationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableLocationRequest) Set(val *LocationRequest)
- func (v *NullableLocationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableLocationRequest) Unset()
- type NullableManagedBy
- type NullableNode
- type NullableNodeCondition
- func (v NullableNodeCondition) Get() *NodeCondition
- func (v NullableNodeCondition) IsSet() bool
- func (v NullableNodeCondition) MarshalJSON() ([]byte, error)
- func (v *NullableNodeCondition) Set(val *NodeCondition)
- func (v *NullableNodeCondition) UnmarshalJSON(src []byte) error
- func (v *NullableNodeCondition) Unset()
- type NullableNodeConditionRequest
- func (v NullableNodeConditionRequest) Get() *NodeConditionRequest
- func (v NullableNodeConditionRequest) IsSet() bool
- func (v NullableNodeConditionRequest) MarshalJSON() ([]byte, error)
- func (v *NullableNodeConditionRequest) Set(val *NodeConditionRequest)
- func (v *NullableNodeConditionRequest) UnmarshalJSON(src []byte) error
- func (v *NullableNodeConditionRequest) Unset()
- type NullableNodeConditionType
- func (v NullableNodeConditionType) Get() *NodeConditionType
- func (v NullableNodeConditionType) IsSet() bool
- func (v NullableNodeConditionType) MarshalJSON() ([]byte, error)
- func (v *NullableNodeConditionType) Set(val *NodeConditionType)
- func (v *NullableNodeConditionType) UnmarshalJSON(src []byte) error
- func (v *NullableNodeConditionType) Unset()
- type NullableNodeConditionsRequest
- func (v NullableNodeConditionsRequest) Get() *NodeConditionsRequest
- func (v NullableNodeConditionsRequest) IsSet() bool
- func (v NullableNodeConditionsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableNodeConditionsRequest) Set(val *NodeConditionsRequest)
- func (v *NullableNodeConditionsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableNodeConditionsRequest) Unset()
- type NullableNodeDataUsageItemRequest
- func (v NullableNodeDataUsageItemRequest) Get() *NodeDataUsageItemRequest
- func (v NullableNodeDataUsageItemRequest) IsSet() bool
- func (v NullableNodeDataUsageItemRequest) MarshalJSON() ([]byte, error)
- func (v *NullableNodeDataUsageItemRequest) Set(val *NodeDataUsageItemRequest)
- func (v *NullableNodeDataUsageItemRequest) UnmarshalJSON(src []byte) error
- func (v *NullableNodeDataUsageItemRequest) Unset()
- type NullableNodeDataUsageReportRequest
- func (v NullableNodeDataUsageReportRequest) Get() *NodeDataUsageReportRequest
- func (v NullableNodeDataUsageReportRequest) IsSet() bool
- func (v NullableNodeDataUsageReportRequest) MarshalJSON() ([]byte, error)
- func (v *NullableNodeDataUsageReportRequest) Set(val *NodeDataUsageReportRequest)
- func (v *NullableNodeDataUsageReportRequest) UnmarshalJSON(src []byte) error
- func (v *NullableNodeDataUsageReportRequest) Unset()
- type NullableNodeDevice
- type NullableNodeRequest
- func (v NullableNodeRequest) Get() *NodeRequest
- func (v NullableNodeRequest) IsSet() bool
- func (v NullableNodeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableNodeRequest) Set(val *NodeRequest)
- func (v *NullableNodeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableNodeRequest) Unset()
- type NullableNodeStatus
- type NullableNull
- type NullablePaginatedAccountList
- func (v NullablePaginatedAccountList) Get() *PaginatedAccountList
- func (v NullablePaginatedAccountList) IsSet() bool
- func (v NullablePaginatedAccountList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedAccountList) Set(val *PaginatedAccountList)
- func (v *NullablePaginatedAccountList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedAccountList) Unset()
- type NullablePaginatedDeviceList
- func (v NullablePaginatedDeviceList) Get() *PaginatedDeviceList
- func (v NullablePaginatedDeviceList) IsSet() bool
- func (v NullablePaginatedDeviceList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedDeviceList) Set(val *PaginatedDeviceList)
- func (v *NullablePaginatedDeviceList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedDeviceList) Unset()
- type NullablePaginatedLocationList
- func (v NullablePaginatedLocationList) Get() *PaginatedLocationList
- func (v NullablePaginatedLocationList) IsSet() bool
- func (v NullablePaginatedLocationList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedLocationList) Set(val *PaginatedLocationList)
- func (v *NullablePaginatedLocationList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedLocationList) Unset()
- type NullablePaginatedNodeList
- func (v NullablePaginatedNodeList) Get() *PaginatedNodeList
- func (v NullablePaginatedNodeList) IsSet() bool
- func (v NullablePaginatedNodeList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedNodeList) Set(val *PaginatedNodeList)
- func (v *NullablePaginatedNodeList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedNodeList) Unset()
- type NullablePaginatedPaymentMethodList
- func (v NullablePaginatedPaymentMethodList) Get() *PaginatedPaymentMethodList
- func (v NullablePaginatedPaymentMethodList) IsSet() bool
- func (v NullablePaginatedPaymentMethodList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedPaymentMethodList) Set(val *PaginatedPaymentMethodList)
- func (v *NullablePaginatedPaymentMethodList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedPaymentMethodList) Unset()
- type NullablePaginatedProviderList
- func (v NullablePaginatedProviderList) Get() *PaginatedProviderList
- func (v NullablePaginatedProviderList) IsSet() bool
- func (v NullablePaginatedProviderList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedProviderList) Set(val *PaginatedProviderList)
- func (v *NullablePaginatedProviderList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedProviderList) Unset()
- type NullablePaginatedSubscriptionList
- func (v NullablePaginatedSubscriptionList) Get() *PaginatedSubscriptionList
- func (v NullablePaginatedSubscriptionList) IsSet() bool
- func (v NullablePaginatedSubscriptionList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedSubscriptionList) Set(val *PaginatedSubscriptionList)
- func (v *NullablePaginatedSubscriptionList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedSubscriptionList) Unset()
- type NullablePaginatedWalletList
- func (v NullablePaginatedWalletList) Get() *PaginatedWalletList
- func (v NullablePaginatedWalletList) IsSet() bool
- func (v NullablePaginatedWalletList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedWalletList) Set(val *PaginatedWalletList)
- func (v *NullablePaginatedWalletList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedWalletList) Unset()
- type NullablePaginatedWalletTransactionList
- func (v NullablePaginatedWalletTransactionList) Get() *PaginatedWalletTransactionList
- func (v NullablePaginatedWalletTransactionList) IsSet() bool
- func (v NullablePaginatedWalletTransactionList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedWalletTransactionList) Set(val *PaginatedWalletTransactionList)
- func (v *NullablePaginatedWalletTransactionList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedWalletTransactionList) Unset()
- type NullablePatchedDeviceRequest
- func (v NullablePatchedDeviceRequest) Get() *PatchedDeviceRequest
- func (v NullablePatchedDeviceRequest) IsSet() bool
- func (v NullablePatchedDeviceRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePatchedDeviceRequest) Set(val *PatchedDeviceRequest)
- func (v *NullablePatchedDeviceRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePatchedDeviceRequest) Unset()
- type NullablePatchedNodeRequest
- func (v NullablePatchedNodeRequest) Get() *PatchedNodeRequest
- func (v NullablePatchedNodeRequest) IsSet() bool
- func (v NullablePatchedNodeRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePatchedNodeRequest) Set(val *PatchedNodeRequest)
- func (v *NullablePatchedNodeRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePatchedNodeRequest) Unset()
- type NullablePaymentMethod
- func (v NullablePaymentMethod) Get() *PaymentMethod
- func (v NullablePaymentMethod) IsSet() bool
- func (v NullablePaymentMethod) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentMethod) Set(val *PaymentMethod)
- func (v *NullablePaymentMethod) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentMethod) Unset()
- type NullablePaymentMethodCard
- func (v NullablePaymentMethodCard) Get() *PaymentMethodCard
- func (v NullablePaymentMethodCard) IsSet() bool
- func (v NullablePaymentMethodCard) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentMethodCard) Set(val *PaymentMethodCard)
- func (v *NullablePaymentMethodCard) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentMethodCard) Unset()
- type NullablePeriod
- type NullablePlan
- type NullablePlanPrice
- type NullablePriceDiffInfo
- func (v NullablePriceDiffInfo) Get() *PriceDiffInfo
- func (v NullablePriceDiffInfo) IsSet() bool
- func (v NullablePriceDiffInfo) MarshalJSON() ([]byte, error)
- func (v *NullablePriceDiffInfo) Set(val *PriceDiffInfo)
- func (v *NullablePriceDiffInfo) UnmarshalJSON(src []byte) error
- func (v *NullablePriceDiffInfo) Unset()
- type NullableProvider
- type NullableProviderDetail
- func (v NullableProviderDetail) Get() *ProviderDetail
- func (v NullableProviderDetail) IsSet() bool
- func (v NullableProviderDetail) MarshalJSON() ([]byte, error)
- func (v *NullableProviderDetail) Set(val *ProviderDetail)
- func (v *NullableProviderDetail) UnmarshalJSON(src []byte) error
- func (v *NullableProviderDetail) Unset()
- type NullableRegion
- type NullableRegionDetail
- func (v NullableRegionDetail) Get() *RegionDetail
- func (v NullableRegionDetail) IsSet() bool
- func (v NullableRegionDetail) MarshalJSON() ([]byte, error)
- func (v *NullableRegionDetail) Set(val *RegionDetail)
- func (v *NullableRegionDetail) UnmarshalJSON(src []byte) error
- func (v *NullableRegionDetail) Unset()
- type NullableSetDefaultPaymentMethodRequest
- func (v NullableSetDefaultPaymentMethodRequest) Get() *SetDefaultPaymentMethodRequest
- func (v NullableSetDefaultPaymentMethodRequest) IsSet() bool
- func (v NullableSetDefaultPaymentMethodRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSetDefaultPaymentMethodRequest) Set(val *SetDefaultPaymentMethodRequest)
- func (v *NullableSetDefaultPaymentMethodRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSetDefaultPaymentMethodRequest) Unset()
- type NullableSetNodeRequest
- func (v NullableSetNodeRequest) Get() *SetNodeRequest
- func (v NullableSetNodeRequest) IsSet() bool
- func (v NullableSetNodeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSetNodeRequest) Set(val *SetNodeRequest)
- func (v *NullableSetNodeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSetNodeRequest) Unset()
- type NullableString
- type NullableStripeSetupIntent
- func (v NullableStripeSetupIntent) Get() *StripeSetupIntent
- func (v NullableStripeSetupIntent) IsSet() bool
- func (v NullableStripeSetupIntent) MarshalJSON() ([]byte, error)
- func (v *NullableStripeSetupIntent) Set(val *StripeSetupIntent)
- func (v *NullableStripeSetupIntent) UnmarshalJSON(src []byte) error
- func (v *NullableStripeSetupIntent) Unset()
- type NullableSubscription
- func (v NullableSubscription) Get() *Subscription
- func (v NullableSubscription) IsSet() bool
- func (v NullableSubscription) MarshalJSON() ([]byte, error)
- func (v *NullableSubscription) Set(val *Subscription)
- func (v *NullableSubscription) UnmarshalJSON(src []byte) error
- func (v *NullableSubscription) Unset()
- type NullableSubscriptionChangePlanRequest
- func (v NullableSubscriptionChangePlanRequest) Get() *SubscriptionChangePlanRequest
- func (v NullableSubscriptionChangePlanRequest) IsSet() bool
- func (v NullableSubscriptionChangePlanRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSubscriptionChangePlanRequest) Set(val *SubscriptionChangePlanRequest)
- func (v *NullableSubscriptionChangePlanRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSubscriptionChangePlanRequest) Unset()
- type NullableSubscriptionCreationRequest
- func (v NullableSubscriptionCreationRequest) Get() *SubscriptionCreationRequest
- func (v NullableSubscriptionCreationRequest) IsSet() bool
- func (v NullableSubscriptionCreationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSubscriptionCreationRequest) Set(val *SubscriptionCreationRequest)
- func (v *NullableSubscriptionCreationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSubscriptionCreationRequest) Unset()
- type NullableSubscriptionPendingUpdate
- func (v NullableSubscriptionPendingUpdate) Get() *SubscriptionPendingUpdate
- func (v NullableSubscriptionPendingUpdate) IsSet() bool
- func (v NullableSubscriptionPendingUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableSubscriptionPendingUpdate) Set(val *SubscriptionPendingUpdate)
- func (v *NullableSubscriptionPendingUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableSubscriptionPendingUpdate) Unset()
- type NullableSubscriptionStatus
- func (v NullableSubscriptionStatus) Get() *SubscriptionStatus
- func (v NullableSubscriptionStatus) IsSet() bool
- func (v NullableSubscriptionStatus) MarshalJSON() ([]byte, error)
- func (v *NullableSubscriptionStatus) Set(val *SubscriptionStatus)
- func (v *NullableSubscriptionStatus) UnmarshalJSON(src []byte) error
- func (v *NullableSubscriptionStatus) Unset()
- type NullableSummaryPeriod
- func (v NullableSummaryPeriod) Get() *SummaryPeriod
- func (v NullableSummaryPeriod) IsSet() bool
- func (v NullableSummaryPeriod) MarshalJSON() ([]byte, error)
- func (v *NullableSummaryPeriod) Set(val *SummaryPeriod)
- func (v *NullableSummaryPeriod) UnmarshalJSON(src []byte) error
- func (v *NullableSummaryPeriod) Unset()
- type NullableTime
- type NullableTimeline
- type NullableTimelineEvent
- func (v NullableTimelineEvent) Get() *TimelineEvent
- func (v NullableTimelineEvent) IsSet() bool
- func (v NullableTimelineEvent) MarshalJSON() ([]byte, error)
- func (v *NullableTimelineEvent) Set(val *TimelineEvent)
- func (v *NullableTimelineEvent) UnmarshalJSON(src []byte) error
- func (v *NullableTimelineEvent) Unset()
- type NullableTimelineEventType
- func (v NullableTimelineEventType) Get() *TimelineEventType
- func (v NullableTimelineEventType) IsSet() bool
- func (v NullableTimelineEventType) MarshalJSON() ([]byte, error)
- func (v *NullableTimelineEventType) Set(val *TimelineEventType)
- func (v *NullableTimelineEventType) UnmarshalJSON(src []byte) error
- func (v *NullableTimelineEventType) Unset()
- type NullableTopDevices
- type NullableTransactionType
- func (v NullableTransactionType) Get() *TransactionType
- func (v NullableTransactionType) IsSet() bool
- func (v NullableTransactionType) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionType) Set(val *TransactionType)
- func (v *NullableTransactionType) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionType) Unset()
- type NullableType
- type NullableWallet
- type NullableWalletStatus
- func (v NullableWalletStatus) Get() *WalletStatus
- func (v NullableWalletStatus) IsSet() bool
- func (v NullableWalletStatus) MarshalJSON() ([]byte, error)
- func (v *NullableWalletStatus) Set(val *WalletStatus)
- func (v *NullableWalletStatus) UnmarshalJSON(src []byte) error
- func (v *NullableWalletStatus) Unset()
- type NullableWalletTransaction
- func (v NullableWalletTransaction) Get() *WalletTransaction
- func (v NullableWalletTransaction) IsSet() bool
- func (v NullableWalletTransaction) MarshalJSON() ([]byte, error)
- func (v *NullableWalletTransaction) Set(val *WalletTransaction)
- func (v *NullableWalletTransaction) UnmarshalJSON(src []byte) error
- func (v *NullableWalletTransaction) Unset()
- type PaginatedAccountList
- func (o *PaginatedAccountList) GetCount() int32
- func (o *PaginatedAccountList) GetCountOk() (*int32, bool)
- func (o *PaginatedAccountList) GetNext() string
- func (o *PaginatedAccountList) GetNextOk() (*string, bool)
- func (o *PaginatedAccountList) GetPrevious() string
- func (o *PaginatedAccountList) GetPreviousOk() (*string, bool)
- func (o *PaginatedAccountList) GetResults() []Account
- func (o *PaginatedAccountList) GetResultsOk() ([]Account, bool)
- func (o *PaginatedAccountList) HasCount() bool
- func (o *PaginatedAccountList) HasNext() bool
- func (o *PaginatedAccountList) HasPrevious() bool
- func (o PaginatedAccountList) MarshalJSON() ([]byte, error)
- func (o *PaginatedAccountList) SetCount(v int32)
- func (o *PaginatedAccountList) SetNext(v string)
- func (o *PaginatedAccountList) SetNextNil()
- func (o *PaginatedAccountList) SetPrevious(v string)
- func (o *PaginatedAccountList) SetPreviousNil()
- func (o *PaginatedAccountList) SetResults(v []Account)
- func (o PaginatedAccountList) ToMap() (map[string]interface{}, error)
- func (o *PaginatedAccountList) UnmarshalJSON(data []byte) (err error)
- func (o *PaginatedAccountList) UnsetNext()
- func (o *PaginatedAccountList) UnsetPrevious()
- type PaginatedDeviceList
- func (o *PaginatedDeviceList) GetCount() int32
- func (o *PaginatedDeviceList) GetCountOk() (*int32, bool)
- func (o *PaginatedDeviceList) GetNext() string
- func (o *PaginatedDeviceList) GetNextOk() (*string, bool)
- func (o *PaginatedDeviceList) GetPrevious() string
- func (o *PaginatedDeviceList) GetPreviousOk() (*string, bool)
- func (o *PaginatedDeviceList) GetResults() []Device
- func (o *PaginatedDeviceList) GetResultsOk() ([]Device, bool)
- func (o *PaginatedDeviceList) HasCount() bool
- func (o *PaginatedDeviceList) HasNext() bool
- func (o *PaginatedDeviceList) HasPrevious() bool
- func (o PaginatedDeviceList) MarshalJSON() ([]byte, error)
- func (o *PaginatedDeviceList) SetCount(v int32)
- func (o *PaginatedDeviceList) SetNext(v string)
- func (o *PaginatedDeviceList) SetNextNil()
- func (o *PaginatedDeviceList) SetPrevious(v string)
- func (o *PaginatedDeviceList) SetPreviousNil()
- func (o *PaginatedDeviceList) SetResults(v []Device)
- func (o PaginatedDeviceList) ToMap() (map[string]interface{}, error)
- func (o *PaginatedDeviceList) UnmarshalJSON(data []byte) (err error)
- func (o *PaginatedDeviceList) UnsetNext()
- func (o *PaginatedDeviceList) UnsetPrevious()
- type PaginatedLocationList
- func (o *PaginatedLocationList) GetCount() int32
- func (o *PaginatedLocationList) GetCountOk() (*int32, bool)
- func (o *PaginatedLocationList) GetNext() string
- func (o *PaginatedLocationList) GetNextOk() (*string, bool)
- func (o *PaginatedLocationList) GetPrevious() string
- func (o *PaginatedLocationList) GetPreviousOk() (*string, bool)
- func (o *PaginatedLocationList) GetResults() []Location
- func (o *PaginatedLocationList) GetResultsOk() ([]Location, bool)
- func (o *PaginatedLocationList) HasCount() bool
- func (o *PaginatedLocationList) HasNext() bool
- func (o *PaginatedLocationList) HasPrevious() bool
- func (o PaginatedLocationList) MarshalJSON() ([]byte, error)
- func (o *PaginatedLocationList) SetCount(v int32)
- func (o *PaginatedLocationList) SetNext(v string)
- func (o *PaginatedLocationList) SetNextNil()
- func (o *PaginatedLocationList) SetPrevious(v string)
- func (o *PaginatedLocationList) SetPreviousNil()
- func (o *PaginatedLocationList) SetResults(v []Location)
- func (o PaginatedLocationList) ToMap() (map[string]interface{}, error)
- func (o *PaginatedLocationList) UnmarshalJSON(data []byte) (err error)
- func (o *PaginatedLocationList) UnsetNext()
- func (o *PaginatedLocationList) UnsetPrevious()
- type PaginatedNodeList
- func (o *PaginatedNodeList) GetCount() int32
- func (o *PaginatedNodeList) GetCountOk() (*int32, bool)
- func (o *PaginatedNodeList) GetNext() string
- func (o *PaginatedNodeList) GetNextOk() (*string, bool)
- func (o *PaginatedNodeList) GetPrevious() string
- func (o *PaginatedNodeList) GetPreviousOk() (*string, bool)
- func (o *PaginatedNodeList) GetResults() []Node
- func (o *PaginatedNodeList) GetResultsOk() ([]Node, bool)
- func (o *PaginatedNodeList) HasCount() bool
- func (o *PaginatedNodeList) HasNext() bool
- func (o *PaginatedNodeList) HasPrevious() bool
- func (o PaginatedNodeList) MarshalJSON() ([]byte, error)
- func (o *PaginatedNodeList) SetCount(v int32)
- func (o *PaginatedNodeList) SetNext(v string)
- func (o *PaginatedNodeList) SetNextNil()
- func (o *PaginatedNodeList) SetPrevious(v string)
- func (o *PaginatedNodeList) SetPreviousNil()
- func (o *PaginatedNodeList) SetResults(v []Node)
- func (o PaginatedNodeList) ToMap() (map[string]interface{}, error)
- func (o *PaginatedNodeList) UnmarshalJSON(data []byte) (err error)
- func (o *PaginatedNodeList) UnsetNext()
- func (o *PaginatedNodeList) UnsetPrevious()
- type PaginatedPaymentMethodList
- func (o *PaginatedPaymentMethodList) GetCount() int32
- func (o *PaginatedPaymentMethodList) GetCountOk() (*int32, bool)
- func (o *PaginatedPaymentMethodList) GetNext() string
- func (o *PaginatedPaymentMethodList) GetNextOk() (*string, bool)
- func (o *PaginatedPaymentMethodList) GetPrevious() string
- func (o *PaginatedPaymentMethodList) GetPreviousOk() (*string, bool)
- func (o *PaginatedPaymentMethodList) GetResults() []PaymentMethod
- func (o *PaginatedPaymentMethodList) GetResultsOk() ([]PaymentMethod, bool)
- func (o *PaginatedPaymentMethodList) HasCount() bool
- func (o *PaginatedPaymentMethodList) HasNext() bool
- func (o *PaginatedPaymentMethodList) HasPrevious() bool
- func (o PaginatedPaymentMethodList) MarshalJSON() ([]byte, error)
- func (o *PaginatedPaymentMethodList) SetCount(v int32)
- func (o *PaginatedPaymentMethodList) SetNext(v string)
- func (o *PaginatedPaymentMethodList) SetNextNil()
- func (o *PaginatedPaymentMethodList) SetPrevious(v string)
- func (o *PaginatedPaymentMethodList) SetPreviousNil()
- func (o *PaginatedPaymentMethodList) SetResults(v []PaymentMethod)
- func (o PaginatedPaymentMethodList) ToMap() (map[string]interface{}, error)
- func (o *PaginatedPaymentMethodList) UnmarshalJSON(data []byte) (err error)
- func (o *PaginatedPaymentMethodList) UnsetNext()
- func (o *PaginatedPaymentMethodList) UnsetPrevious()
- type PaginatedProviderList
- func (o *PaginatedProviderList) GetCount() int32
- func (o *PaginatedProviderList) GetCountOk() (*int32, bool)
- func (o *PaginatedProviderList) GetNext() string
- func (o *PaginatedProviderList) GetNextOk() (*string, bool)
- func (o *PaginatedProviderList) GetPrevious() string
- func (o *PaginatedProviderList) GetPreviousOk() (*string, bool)
- func (o *PaginatedProviderList) GetResults() []Provider
- func (o *PaginatedProviderList) GetResultsOk() ([]Provider, bool)
- func (o *PaginatedProviderList) HasCount() bool
- func (o *PaginatedProviderList) HasNext() bool
- func (o *PaginatedProviderList) HasPrevious() bool
- func (o PaginatedProviderList) MarshalJSON() ([]byte, error)
- func (o *PaginatedProviderList) SetCount(v int32)
- func (o *PaginatedProviderList) SetNext(v string)
- func (o *PaginatedProviderList) SetNextNil()
- func (o *PaginatedProviderList) SetPrevious(v string)
- func (o *PaginatedProviderList) SetPreviousNil()
- func (o *PaginatedProviderList) SetResults(v []Provider)
- func (o PaginatedProviderList) ToMap() (map[string]interface{}, error)
- func (o *PaginatedProviderList) UnmarshalJSON(data []byte) (err error)
- func (o *PaginatedProviderList) UnsetNext()
- func (o *PaginatedProviderList) UnsetPrevious()
- type PaginatedSubscriptionList
- func (o *PaginatedSubscriptionList) GetCount() int32
- func (o *PaginatedSubscriptionList) GetCountOk() (*int32, bool)
- func (o *PaginatedSubscriptionList) GetNext() string
- func (o *PaginatedSubscriptionList) GetNextOk() (*string, bool)
- func (o *PaginatedSubscriptionList) GetPrevious() string
- func (o *PaginatedSubscriptionList) GetPreviousOk() (*string, bool)
- func (o *PaginatedSubscriptionList) GetResults() []Subscription
- func (o *PaginatedSubscriptionList) GetResultsOk() ([]Subscription, bool)
- func (o *PaginatedSubscriptionList) HasCount() bool
- func (o *PaginatedSubscriptionList) HasNext() bool
- func (o *PaginatedSubscriptionList) HasPrevious() bool
- func (o PaginatedSubscriptionList) MarshalJSON() ([]byte, error)
- func (o *PaginatedSubscriptionList) SetCount(v int32)
- func (o *PaginatedSubscriptionList) SetNext(v string)
- func (o *PaginatedSubscriptionList) SetNextNil()
- func (o *PaginatedSubscriptionList) SetPrevious(v string)
- func (o *PaginatedSubscriptionList) SetPreviousNil()
- func (o *PaginatedSubscriptionList) SetResults(v []Subscription)
- func (o PaginatedSubscriptionList) ToMap() (map[string]interface{}, error)
- func (o *PaginatedSubscriptionList) UnmarshalJSON(data []byte) (err error)
- func (o *PaginatedSubscriptionList) UnsetNext()
- func (o *PaginatedSubscriptionList) UnsetPrevious()
- type PaginatedWalletList
- func (o *PaginatedWalletList) GetCount() int32
- func (o *PaginatedWalletList) GetCountOk() (*int32, bool)
- func (o *PaginatedWalletList) GetNext() string
- func (o *PaginatedWalletList) GetNextOk() (*string, bool)
- func (o *PaginatedWalletList) GetPrevious() string
- func (o *PaginatedWalletList) GetPreviousOk() (*string, bool)
- func (o *PaginatedWalletList) GetResults() []Wallet
- func (o *PaginatedWalletList) GetResultsOk() ([]Wallet, bool)
- func (o *PaginatedWalletList) HasCount() bool
- func (o *PaginatedWalletList) HasNext() bool
- func (o *PaginatedWalletList) HasPrevious() bool
- func (o PaginatedWalletList) MarshalJSON() ([]byte, error)
- func (o *PaginatedWalletList) SetCount(v int32)
- func (o *PaginatedWalletList) SetNext(v string)
- func (o *PaginatedWalletList) SetNextNil()
- func (o *PaginatedWalletList) SetPrevious(v string)
- func (o *PaginatedWalletList) SetPreviousNil()
- func (o *PaginatedWalletList) SetResults(v []Wallet)
- func (o PaginatedWalletList) ToMap() (map[string]interface{}, error)
- func (o *PaginatedWalletList) UnmarshalJSON(data []byte) (err error)
- func (o *PaginatedWalletList) UnsetNext()
- func (o *PaginatedWalletList) UnsetPrevious()
- type PaginatedWalletTransactionList
- func (o *PaginatedWalletTransactionList) GetCount() int32
- func (o *PaginatedWalletTransactionList) GetCountOk() (*int32, bool)
- func (o *PaginatedWalletTransactionList) GetNext() string
- func (o *PaginatedWalletTransactionList) GetNextOk() (*string, bool)
- func (o *PaginatedWalletTransactionList) GetPrevious() string
- func (o *PaginatedWalletTransactionList) GetPreviousOk() (*string, bool)
- func (o *PaginatedWalletTransactionList) GetResults() []WalletTransaction
- func (o *PaginatedWalletTransactionList) GetResultsOk() ([]WalletTransaction, bool)
- func (o *PaginatedWalletTransactionList) HasCount() bool
- func (o *PaginatedWalletTransactionList) HasNext() bool
- func (o *PaginatedWalletTransactionList) HasPrevious() bool
- func (o PaginatedWalletTransactionList) MarshalJSON() ([]byte, error)
- func (o *PaginatedWalletTransactionList) SetCount(v int32)
- func (o *PaginatedWalletTransactionList) SetNext(v string)
- func (o *PaginatedWalletTransactionList) SetNextNil()
- func (o *PaginatedWalletTransactionList) SetPrevious(v string)
- func (o *PaginatedWalletTransactionList) SetPreviousNil()
- func (o *PaginatedWalletTransactionList) SetResults(v []WalletTransaction)
- func (o PaginatedWalletTransactionList) ToMap() (map[string]interface{}, error)
- func (o *PaginatedWalletTransactionList) UnmarshalJSON(data []byte) (err error)
- func (o *PaginatedWalletTransactionList) UnsetNext()
- func (o *PaginatedWalletTransactionList) UnsetPrevious()
- type PatchedDeviceRequest
- func (o *PatchedDeviceRequest) GetAppBuild() string
- func (o *PatchedDeviceRequest) GetAppBuildOk() (*string, bool)
- func (o *PatchedDeviceRequest) GetAppVersion() string
- func (o *PatchedDeviceRequest) GetAppVersionOk() (*string, bool)
- func (o *PatchedDeviceRequest) GetDistro() string
- func (o *PatchedDeviceRequest) GetDistroCodename() string
- func (o *PatchedDeviceRequest) GetDistroCodenameOk() (*string, bool)
- func (o *PatchedDeviceRequest) GetDistroOk() (*string, bool)
- func (o *PatchedDeviceRequest) GetDistroVersion() string
- func (o *PatchedDeviceRequest) GetDistroVersionOk() (*string, bool)
- func (o *PatchedDeviceRequest) GetExternalKey() string
- func (o *PatchedDeviceRequest) GetExternalKeyOk() (*string, bool)
- func (o *PatchedDeviceRequest) GetName() string
- func (o *PatchedDeviceRequest) GetNameOk() (*string, bool)
- func (o *PatchedDeviceRequest) GetOs() string
- func (o *PatchedDeviceRequest) GetOsArch() string
- func (o *PatchedDeviceRequest) GetOsArchOk() (*string, bool)
- func (o *PatchedDeviceRequest) GetOsOk() (*string, bool)
- func (o *PatchedDeviceRequest) GetOsVersion() string
- func (o *PatchedDeviceRequest) GetOsVersionOk() (*string, bool)
- func (o *PatchedDeviceRequest) GetPassword() string
- func (o *PatchedDeviceRequest) GetPasswordOk() (*string, bool)
- func (o *PatchedDeviceRequest) GetPubKey() string
- func (o *PatchedDeviceRequest) GetPubKeyOk() (*string, bool)
- func (o *PatchedDeviceRequest) GetRawPassword() string
- func (o *PatchedDeviceRequest) GetRawPasswordOk() (*string, bool)
- func (o *PatchedDeviceRequest) HasAppBuild() bool
- func (o *PatchedDeviceRequest) HasAppVersion() bool
- func (o *PatchedDeviceRequest) HasDistro() bool
- func (o *PatchedDeviceRequest) HasDistroCodename() bool
- func (o *PatchedDeviceRequest) HasDistroVersion() bool
- func (o *PatchedDeviceRequest) HasExternalKey() bool
- func (o *PatchedDeviceRequest) HasName() bool
- func (o *PatchedDeviceRequest) HasOs() bool
- func (o *PatchedDeviceRequest) HasOsArch() bool
- func (o *PatchedDeviceRequest) HasOsVersion() bool
- func (o *PatchedDeviceRequest) HasPassword() bool
- func (o *PatchedDeviceRequest) HasPubKey() bool
- func (o *PatchedDeviceRequest) HasRawPassword() bool
- func (o PatchedDeviceRequest) MarshalJSON() ([]byte, error)
- func (o *PatchedDeviceRequest) SetAppBuild(v string)
- func (o *PatchedDeviceRequest) SetAppBuildNil()
- func (o *PatchedDeviceRequest) SetAppVersion(v string)
- func (o *PatchedDeviceRequest) SetAppVersionNil()
- func (o *PatchedDeviceRequest) SetDistro(v string)
- func (o *PatchedDeviceRequest) SetDistroCodename(v string)
- func (o *PatchedDeviceRequest) SetDistroCodenameNil()
- func (o *PatchedDeviceRequest) SetDistroNil()
- func (o *PatchedDeviceRequest) SetDistroVersion(v string)
- func (o *PatchedDeviceRequest) SetDistroVersionNil()
- func (o *PatchedDeviceRequest) SetExternalKey(v string)
- func (o *PatchedDeviceRequest) SetExternalKeyNil()
- func (o *PatchedDeviceRequest) SetName(v string)
- func (o *PatchedDeviceRequest) SetOs(v string)
- func (o *PatchedDeviceRequest) SetOsArch(v string)
- func (o *PatchedDeviceRequest) SetOsArchNil()
- func (o *PatchedDeviceRequest) SetOsNil()
- func (o *PatchedDeviceRequest) SetOsVersion(v string)
- func (o *PatchedDeviceRequest) SetOsVersionNil()
- func (o *PatchedDeviceRequest) SetPassword(v string)
- func (o *PatchedDeviceRequest) SetPasswordNil()
- func (o *PatchedDeviceRequest) SetPubKey(v string)
- func (o *PatchedDeviceRequest) SetRawPassword(v string)
- func (o PatchedDeviceRequest) ToMap() (map[string]interface{}, error)
- func (o *PatchedDeviceRequest) UnmarshalJSON(data []byte) (err error)
- func (o *PatchedDeviceRequest) UnsetAppBuild()
- func (o *PatchedDeviceRequest) UnsetAppVersion()
- func (o *PatchedDeviceRequest) UnsetDistro()
- func (o *PatchedDeviceRequest) UnsetDistroCodename()
- func (o *PatchedDeviceRequest) UnsetDistroVersion()
- func (o *PatchedDeviceRequest) UnsetExternalKey()
- func (o *PatchedDeviceRequest) UnsetOs()
- func (o *PatchedDeviceRequest) UnsetOsArch()
- func (o *PatchedDeviceRequest) UnsetOsVersion()
- func (o *PatchedDeviceRequest) UnsetPassword()
- type PatchedNodeRequest
- func (o *PatchedNodeRequest) GetAppBuild() string
- func (o *PatchedNodeRequest) GetAppBuildOk() (*string, bool)
- func (o *PatchedNodeRequest) GetAppVersion() string
- func (o *PatchedNodeRequest) GetAppVersionOk() (*string, bool)
- func (o *PatchedNodeRequest) GetDistro() string
- func (o *PatchedNodeRequest) GetDistroCodename() string
- func (o *PatchedNodeRequest) GetDistroCodenameOk() (*string, bool)
- func (o *PatchedNodeRequest) GetDistroOk() (*string, bool)
- func (o *PatchedNodeRequest) GetDistroVersion() string
- func (o *PatchedNodeRequest) GetDistroVersionOk() (*string, bool)
- func (o *PatchedNodeRequest) GetHostname() string
- func (o *PatchedNodeRequest) GetHostnameOk() (*string, bool)
- func (o *PatchedNodeRequest) GetHttpsProxyPorts() []string
- func (o *PatchedNodeRequest) GetHttpsProxyPortsOk() ([]string, bool)
- func (o *PatchedNodeRequest) GetIpAddresses() []string
- func (o *PatchedNodeRequest) GetIpAddressesOk() ([]string, bool)
- func (o *PatchedNodeRequest) GetIsPublic() bool
- func (o *PatchedNodeRequest) GetIsPublicOk() (*bool, bool)
- func (o *PatchedNodeRequest) GetOs() string
- func (o *PatchedNodeRequest) GetOsArch() string
- func (o *PatchedNodeRequest) GetOsArchOk() (*string, bool)
- func (o *PatchedNodeRequest) GetOsOk() (*string, bool)
- func (o *PatchedNodeRequest) GetOsVersion() string
- func (o *PatchedNodeRequest) GetOsVersionOk() (*string, bool)
- func (o *PatchedNodeRequest) GetPorts() []string
- func (o *PatchedNodeRequest) GetPortsOk() ([]string, bool)
- func (o *PatchedNodeRequest) GetPubKey() string
- func (o *PatchedNodeRequest) GetPubKeyOk() (*string, bool)
- func (o *PatchedNodeRequest) GetSsBridgePorts() []string
- func (o *PatchedNodeRequest) GetSsBridgePortsOk() ([]string, bool)
- func (o *PatchedNodeRequest) GetStatus() NodeStatus
- func (o *PatchedNodeRequest) GetStatusOk() (*NodeStatus, bool)
- func (o *PatchedNodeRequest) GetSubnets() []string
- func (o *PatchedNodeRequest) GetSubnetsOk() ([]string, bool)
- func (o *PatchedNodeRequest) GetTags() []string
- func (o *PatchedNodeRequest) GetTagsOk() ([]string, bool)
- func (o *PatchedNodeRequest) HasAppBuild() bool
- func (o *PatchedNodeRequest) HasAppVersion() bool
- func (o *PatchedNodeRequest) HasDistro() bool
- func (o *PatchedNodeRequest) HasDistroCodename() bool
- func (o *PatchedNodeRequest) HasDistroVersion() bool
- func (o *PatchedNodeRequest) HasHostname() bool
- func (o *PatchedNodeRequest) HasHttpsProxyPorts() bool
- func (o *PatchedNodeRequest) HasIpAddresses() bool
- func (o *PatchedNodeRequest) HasIsPublic() bool
- func (o *PatchedNodeRequest) HasOs() bool
- func (o *PatchedNodeRequest) HasOsArch() bool
- func (o *PatchedNodeRequest) HasOsVersion() bool
- func (o *PatchedNodeRequest) HasPorts() bool
- func (o *PatchedNodeRequest) HasPubKey() bool
- func (o *PatchedNodeRequest) HasSsBridgePorts() bool
- func (o *PatchedNodeRequest) HasStatus() bool
- func (o *PatchedNodeRequest) HasSubnets() bool
- func (o *PatchedNodeRequest) HasTags() bool
- func (o PatchedNodeRequest) MarshalJSON() ([]byte, error)
- func (o *PatchedNodeRequest) SetAppBuild(v string)
- func (o *PatchedNodeRequest) SetAppBuildNil()
- func (o *PatchedNodeRequest) SetAppVersion(v string)
- func (o *PatchedNodeRequest) SetAppVersionNil()
- func (o *PatchedNodeRequest) SetDistro(v string)
- func (o *PatchedNodeRequest) SetDistroCodename(v string)
- func (o *PatchedNodeRequest) SetDistroCodenameNil()
- func (o *PatchedNodeRequest) SetDistroNil()
- func (o *PatchedNodeRequest) SetDistroVersion(v string)
- func (o *PatchedNodeRequest) SetDistroVersionNil()
- func (o *PatchedNodeRequest) SetHostname(v string)
- func (o *PatchedNodeRequest) SetHttpsProxyPorts(v []string)
- func (o *PatchedNodeRequest) SetIpAddresses(v []string)
- func (o *PatchedNodeRequest) SetIsPublic(v bool)
- func (o *PatchedNodeRequest) SetOs(v string)
- func (o *PatchedNodeRequest) SetOsArch(v string)
- func (o *PatchedNodeRequest) SetOsArchNil()
- func (o *PatchedNodeRequest) SetOsNil()
- func (o *PatchedNodeRequest) SetOsVersion(v string)
- func (o *PatchedNodeRequest) SetOsVersionNil()
- func (o *PatchedNodeRequest) SetPorts(v []string)
- func (o *PatchedNodeRequest) SetPubKey(v string)
- func (o *PatchedNodeRequest) SetSsBridgePorts(v []string)
- func (o *PatchedNodeRequest) SetStatus(v NodeStatus)
- func (o *PatchedNodeRequest) SetSubnets(v []string)
- func (o *PatchedNodeRequest) SetTags(v []string)
- func (o PatchedNodeRequest) ToMap() (map[string]interface{}, error)
- func (o *PatchedNodeRequest) UnmarshalJSON(data []byte) (err error)
- func (o *PatchedNodeRequest) UnsetAppBuild()
- func (o *PatchedNodeRequest) UnsetAppVersion()
- func (o *PatchedNodeRequest) UnsetDistro()
- func (o *PatchedNodeRequest) UnsetDistroCodename()
- func (o *PatchedNodeRequest) UnsetDistroVersion()
- func (o *PatchedNodeRequest) UnsetOs()
- func (o *PatchedNodeRequest) UnsetOsArch()
- func (o *PatchedNodeRequest) UnsetOsVersion()
- type PaymentMethod
- func (o *PaymentMethod) GetCard() PaymentMethodCard
- func (o *PaymentMethod) GetCardOk() (*PaymentMethodCard, bool)
- func (o *PaymentMethod) GetCreatedAt() time.Time
- func (o *PaymentMethod) GetCreatedAtOk() (*time.Time, bool)
- func (o *PaymentMethod) GetId() string
- func (o *PaymentMethod) GetIdOk() (*string, bool)
- func (o *PaymentMethod) GetProvider() string
- func (o *PaymentMethod) GetProviderOk() (*string, bool)
- func (o *PaymentMethod) GetType() Type
- func (o *PaymentMethod) GetTypeOk() (*Type, bool)
- func (o PaymentMethod) MarshalJSON() ([]byte, error)
- func (o *PaymentMethod) SetCard(v PaymentMethodCard)
- func (o *PaymentMethod) SetCreatedAt(v time.Time)
- func (o *PaymentMethod) SetId(v string)
- func (o *PaymentMethod) SetProvider(v string)
- func (o *PaymentMethod) SetType(v Type)
- func (o PaymentMethod) ToMap() (map[string]interface{}, error)
- func (o *PaymentMethod) UnmarshalJSON(data []byte) (err error)
- type PaymentMethodCard
- func (o *PaymentMethodCard) GetBrand() string
- func (o *PaymentMethodCard) GetBrandOk() (*string, bool)
- func (o *PaymentMethodCard) GetCountry() Country
- func (o *PaymentMethodCard) GetCountryOk() (*Country, bool)
- func (o *PaymentMethodCard) GetExpMonth() int64
- func (o *PaymentMethodCard) GetExpMonthOk() (*int64, bool)
- func (o *PaymentMethodCard) GetExpYear() int64
- func (o *PaymentMethodCard) GetExpYearOk() (*int64, bool)
- func (o *PaymentMethodCard) GetExpiresAt() time.Time
- func (o *PaymentMethodCard) GetExpiresAtOk() (*time.Time, bool)
- func (o *PaymentMethodCard) GetFirst6() string
- func (o *PaymentMethodCard) GetFirst6Ok() (*string, bool)
- func (o *PaymentMethodCard) GetLast4() string
- func (o *PaymentMethodCard) GetLast4Ok() (*string, bool)
- func (o PaymentMethodCard) MarshalJSON() ([]byte, error)
- func (o *PaymentMethodCard) SetBrand(v string)
- func (o *PaymentMethodCard) SetCountry(v Country)
- func (o *PaymentMethodCard) SetExpMonth(v int64)
- func (o *PaymentMethodCard) SetExpYear(v int64)
- func (o *PaymentMethodCard) SetExpiresAt(v time.Time)
- func (o *PaymentMethodCard) SetFirst6(v string)
- func (o *PaymentMethodCard) SetLast4(v string)
- func (o PaymentMethodCard) ToMap() (map[string]interface{}, error)
- func (o *PaymentMethodCard) UnmarshalJSON(data []byte) (err error)
- type Period
- func (o *Period) GetEnd() time.Time
- func (o *Period) GetEndOk() (*time.Time, bool)
- func (o *Period) GetStart() time.Time
- func (o *Period) GetStartOk() (*time.Time, bool)
- func (o Period) MarshalJSON() ([]byte, error)
- func (o *Period) SetEnd(v time.Time)
- func (o *Period) SetStart(v time.Time)
- func (o Period) ToMap() (map[string]interface{}, error)
- func (o *Period) UnmarshalJSON(data []byte) (err error)
- type Plan
- func (o *Plan) GetCurrencies() string
- func (o *Plan) GetCurrenciesOk() (*string, bool)
- func (o *Plan) GetDescription() string
- func (o *Plan) GetDescriptionOk() (*string, bool)
- func (o *Plan) GetId() string
- func (o *Plan) GetIdOk() (*string, bool)
- func (o *Plan) GetIsMostPopular() bool
- func (o *Plan) GetIsMostPopularOk() (*bool, bool)
- func (o *Plan) GetName() string
- func (o *Plan) GetNameOk() (*string, bool)
- func (o *Plan) GetPrices() []PlanPrice
- func (o *Plan) GetPricesOk() ([]PlanPrice, bool)
- func (o *Plan) GetSlug() string
- func (o *Plan) GetSlugOk() (*string, bool)
- func (o *Plan) HasDescription() bool
- func (o *Plan) HasIsMostPopular() bool
- func (o Plan) MarshalJSON() ([]byte, error)
- func (o *Plan) SetCurrencies(v string)
- func (o *Plan) SetDescription(v string)
- func (o *Plan) SetDescriptionNil()
- func (o *Plan) SetId(v string)
- func (o *Plan) SetIsMostPopular(v bool)
- func (o *Plan) SetName(v string)
- func (o *Plan) SetPrices(v []PlanPrice)
- func (o *Plan) SetSlug(v string)
- func (o Plan) ToMap() (map[string]interface{}, error)
- func (o *Plan) UnmarshalJSON(data []byte) (err error)
- func (o *Plan) UnsetDescription()
- type PlanPrice
- func (o *PlanPrice) GetAmount() float64
- func (o *PlanPrice) GetAmountOk() (*float64, bool)
- func (o *PlanPrice) GetCurrency() string
- func (o *PlanPrice) GetCurrencyOk() (*string, bool)
- func (o *PlanPrice) GetId() string
- func (o *PlanPrice) GetIdOk() (*string, bool)
- func (o *PlanPrice) GetInterval() Interval
- func (o *PlanPrice) GetIntervalOk() (*Interval, bool)
- func (o *PlanPrice) GetIsEligibleForTrial() bool
- func (o *PlanPrice) GetIsEligibleForTrialOk() (*bool, bool)
- func (o *PlanPrice) GetIsMostPopular() bool
- func (o *PlanPrice) GetIsMostPopularOk() (*bool, bool)
- func (o *PlanPrice) GetPriceDiffInfo() PriceDiffInfo
- func (o *PlanPrice) GetPriceDiffInfoOk() (*PriceDiffInfo, bool)
- func (o *PlanPrice) GetTrialDays() int64
- func (o *PlanPrice) GetTrialDaysOk() (*int64, bool)
- func (o *PlanPrice) HasInterval() bool
- func (o *PlanPrice) HasIsMostPopular() bool
- func (o *PlanPrice) HasTrialDays() bool
- func (o PlanPrice) MarshalJSON() ([]byte, error)
- func (o *PlanPrice) SetAmount(v float64)
- func (o *PlanPrice) SetCurrency(v string)
- func (o *PlanPrice) SetId(v string)
- func (o *PlanPrice) SetInterval(v Interval)
- func (o *PlanPrice) SetIsEligibleForTrial(v bool)
- func (o *PlanPrice) SetIsMostPopular(v bool)
- func (o *PlanPrice) SetPriceDiffInfo(v PriceDiffInfo)
- func (o *PlanPrice) SetTrialDays(v int64)
- func (o *PlanPrice) SetTrialDaysNil()
- func (o PlanPrice) ToMap() (map[string]interface{}, error)
- func (o *PlanPrice) UnmarshalJSON(data []byte) (err error)
- func (o *PlanPrice) UnsetTrialDays()
- type PriceDiffInfo
- func (o *PriceDiffInfo) GetAmount() float64
- func (o *PriceDiffInfo) GetAmountOk() (*float64, bool)
- func (o *PriceDiffInfo) GetCurrency() string
- func (o *PriceDiffInfo) GetCurrencyOk() (*string, bool)
- func (o *PriceDiffInfo) GetDiscount() int64
- func (o *PriceDiffInfo) GetDiscountOk() (*int64, bool)
- func (o *PriceDiffInfo) GetInterval() string
- func (o *PriceDiffInfo) GetIntervalOk() (*string, bool)
- func (o *PriceDiffInfo) GetSaveAmount() float64
- func (o *PriceDiffInfo) GetSaveAmountOk() (*float64, bool)
- func (o *PriceDiffInfo) GetSaveAmountTotal() int64
- func (o *PriceDiffInfo) GetSaveAmountTotalOk() (*int64, bool)
- func (o PriceDiffInfo) MarshalJSON() ([]byte, error)
- func (o *PriceDiffInfo) SetAmount(v float64)
- func (o *PriceDiffInfo) SetCurrency(v string)
- func (o *PriceDiffInfo) SetDiscount(v int64)
- func (o *PriceDiffInfo) SetInterval(v string)
- func (o *PriceDiffInfo) SetSaveAmount(v float64)
- func (o *PriceDiffInfo) SetSaveAmountTotal(v int64)
- func (o PriceDiffInfo) ToMap() (map[string]interface{}, error)
- func (o *PriceDiffInfo) UnmarshalJSON(data []byte) (err error)
- type Provider
- func (o *Provider) GetApiUrl() string
- func (o *Provider) GetApiUrlOk() (*string, bool)
- func (o *Provider) GetCreatedAt() time.Time
- func (o *Provider) GetCreatedAtOk() (*time.Time, bool)
- func (o *Provider) GetDescription() string
- func (o *Provider) GetDescriptionOk() (*string, bool)
- func (o *Provider) GetIcon() string
- func (o *Provider) GetIconOk() (*string, bool)
- func (o *Provider) GetId() string
- func (o *Provider) GetIdOk() (*string, bool)
- func (o *Provider) GetIsDeleted() bool
- func (o *Provider) GetIsDeletedOk() (*bool, bool)
- func (o *Provider) GetIsVerified() bool
- func (o *Provider) GetIsVerifiedOk() (*bool, bool)
- func (o *Provider) GetName() string
- func (o *Provider) GetNameOk() (*string, bool)
- func (o *Provider) GetRating() float64
- func (o *Provider) GetRatingOk() (*float64, bool)
- func (o *Provider) GetUpdatedAt() time.Time
- func (o *Provider) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Provider) GetWebsiteUrl() string
- func (o *Provider) GetWebsiteUrlOk() (*string, bool)
- func (o *Provider) HasApiUrl() bool
- func (o *Provider) HasDescription() bool
- func (o *Provider) HasIcon() bool
- func (o *Provider) HasRating() bool
- func (o *Provider) HasWebsiteUrl() bool
- func (o Provider) MarshalJSON() ([]byte, error)
- func (o *Provider) SetApiUrl(v string)
- func (o *Provider) SetApiUrlNil()
- func (o *Provider) SetCreatedAt(v time.Time)
- func (o *Provider) SetDescription(v string)
- func (o *Provider) SetIcon(v string)
- func (o *Provider) SetIconNil()
- func (o *Provider) SetId(v string)
- func (o *Provider) SetIsDeleted(v bool)
- func (o *Provider) SetIsVerified(v bool)
- func (o *Provider) SetName(v string)
- func (o *Provider) SetRating(v float64)
- func (o *Provider) SetUpdatedAt(v time.Time)
- func (o *Provider) SetWebsiteUrl(v string)
- func (o *Provider) SetWebsiteUrlNil()
- func (o Provider) ToMap() (map[string]interface{}, error)
- func (o *Provider) UnmarshalJSON(data []byte) (err error)
- func (o *Provider) UnsetApiUrl()
- func (o *Provider) UnsetIcon()
- func (o *Provider) UnsetWebsiteUrl()
- type ProviderAPIService
- func (a *ProviderAPIService) GetProvider(ctx context.Context, providerId string) ApiGetProviderRequest
- func (a *ProviderAPIService) GetProviderExecute(r ApiGetProviderRequest) (*ProviderDetail, *http.Response, error)
- func (a *ProviderAPIService) GetProviders(ctx context.Context) ApiGetProvidersRequest
- func (a *ProviderAPIService) GetProvidersExecute(r ApiGetProvidersRequest) (*PaginatedProviderList, *http.Response, error)
- type ProviderDetail
- func (o *ProviderDetail) GetApiUrl() string
- func (o *ProviderDetail) GetApiUrlOk() (*string, bool)
- func (o *ProviderDetail) GetCreatedAt() time.Time
- func (o *ProviderDetail) GetCreatedAtOk() (*time.Time, bool)
- func (o *ProviderDetail) GetDescription() string
- func (o *ProviderDetail) GetDescriptionOk() (*string, bool)
- func (o *ProviderDetail) GetIcon() string
- func (o *ProviderDetail) GetIconOk() (*string, bool)
- func (o *ProviderDetail) GetId() string
- func (o *ProviderDetail) GetIdOk() (*string, bool)
- func (o *ProviderDetail) GetIsDeleted() bool
- func (o *ProviderDetail) GetIsDeletedOk() (*bool, bool)
- func (o *ProviderDetail) GetIsVerified() bool
- func (o *ProviderDetail) GetIsVerifiedOk() (*bool, bool)
- func (o *ProviderDetail) GetName() string
- func (o *ProviderDetail) GetNameOk() (*string, bool)
- func (o *ProviderDetail) GetRating() float64
- func (o *ProviderDetail) GetRatingOk() (*float64, bool)
- func (o *ProviderDetail) GetUpdatedAt() time.Time
- func (o *ProviderDetail) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ProviderDetail) GetVerifiedAt() time.Time
- func (o *ProviderDetail) GetVerifiedAtOk() (*time.Time, bool)
- func (o *ProviderDetail) GetWebsiteUrl() string
- func (o *ProviderDetail) GetWebsiteUrlOk() (*string, bool)
- func (o *ProviderDetail) HasApiUrl() bool
- func (o *ProviderDetail) HasDescription() bool
- func (o *ProviderDetail) HasIcon() bool
- func (o *ProviderDetail) HasRating() bool
- func (o *ProviderDetail) HasWebsiteUrl() bool
- func (o ProviderDetail) MarshalJSON() ([]byte, error)
- func (o *ProviderDetail) SetApiUrl(v string)
- func (o *ProviderDetail) SetApiUrlNil()
- func (o *ProviderDetail) SetCreatedAt(v time.Time)
- func (o *ProviderDetail) SetDescription(v string)
- func (o *ProviderDetail) SetIcon(v string)
- func (o *ProviderDetail) SetIconNil()
- func (o *ProviderDetail) SetId(v string)
- func (o *ProviderDetail) SetIsDeleted(v bool)
- func (o *ProviderDetail) SetIsVerified(v bool)
- func (o *ProviderDetail) SetName(v string)
- func (o *ProviderDetail) SetRating(v float64)
- func (o *ProviderDetail) SetUpdatedAt(v time.Time)
- func (o *ProviderDetail) SetVerifiedAt(v time.Time)
- func (o *ProviderDetail) SetWebsiteUrl(v string)
- func (o *ProviderDetail) SetWebsiteUrlNil()
- func (o ProviderDetail) ToMap() (map[string]interface{}, error)
- func (o *ProviderDetail) UnmarshalJSON(data []byte) (err error)
- func (o *ProviderDetail) UnsetApiUrl()
- func (o *ProviderDetail) UnsetIcon()
- func (o *ProviderDetail) UnsetWebsiteUrl()
- type Region
- func (o *Region) GetCode() string
- func (o *Region) GetCodeOk() (*string, bool)
- func (o *Region) GetCountries() []Country
- func (o *Region) GetCountriesOk() ([]Country, bool)
- func (o *Region) GetDescription() string
- func (o *Region) GetDescriptionOk() (*string, bool)
- func (o *Region) GetId() string
- func (o *Region) GetIdOk() (*string, bool)
- func (o *Region) GetName() string
- func (o *Region) GetNameOk() (*string, bool)
- func (o *Region) HasCountries() bool
- func (o *Region) HasDescription() bool
- func (o Region) MarshalJSON() ([]byte, error)
- func (o *Region) SetCode(v string)
- func (o *Region) SetCountries(v []Country)
- func (o *Region) SetDescription(v string)
- func (o *Region) SetDescriptionNil()
- func (o *Region) SetId(v string)
- func (o *Region) SetName(v string)
- func (o Region) ToMap() (map[string]interface{}, error)
- func (o *Region) UnmarshalJSON(data []byte) (err error)
- func (o *Region) UnsetDescription()
- type RegionDetail
- func (o *RegionDetail) GetCode() string
- func (o *RegionDetail) GetCodeOk() (*string, bool)
- func (o *RegionDetail) GetCountries() []Country
- func (o *RegionDetail) GetCountriesOk() ([]Country, bool)
- func (o *RegionDetail) GetDescription() string
- func (o *RegionDetail) GetDescriptionOk() (*string, bool)
- func (o *RegionDetail) GetId() string
- func (o *RegionDetail) GetIdOk() (*string, bool)
- func (o *RegionDetail) GetName() string
- func (o *RegionDetail) GetNameOk() (*string, bool)
- func (o *RegionDetail) HasDescription() bool
- func (o RegionDetail) MarshalJSON() ([]byte, error)
- func (o *RegionDetail) SetCode(v string)
- func (o *RegionDetail) SetCountries(v []Country)
- func (o *RegionDetail) SetDescription(v string)
- func (o *RegionDetail) SetDescriptionNil()
- func (o *RegionDetail) SetId(v string)
- func (o *RegionDetail) SetName(v string)
- func (o RegionDetail) ToMap() (map[string]interface{}, error)
- func (o *RegionDetail) UnmarshalJSON(data []byte) (err error)
- func (o *RegionDetail) UnsetDescription()
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SetDefaultPaymentMethodRequest
- func (o *SetDefaultPaymentMethodRequest) GetPaymentMethod() string
- func (o *SetDefaultPaymentMethodRequest) GetPaymentMethodOk() (*string, bool)
- func (o SetDefaultPaymentMethodRequest) MarshalJSON() ([]byte, error)
- func (o *SetDefaultPaymentMethodRequest) SetPaymentMethod(v string)
- func (o SetDefaultPaymentMethodRequest) ToMap() (map[string]interface{}, error)
- func (o *SetDefaultPaymentMethodRequest) UnmarshalJSON(data []byte) (err error)
- type SetNodeRequest
- func (o *SetNodeRequest) GetLat() float64
- func (o *SetNodeRequest) GetLatOk() (*float64, bool)
- func (o *SetNodeRequest) GetLon() float64
- func (o *SetNodeRequest) GetLonOk() (*float64, bool)
- func (o *SetNodeRequest) GetMaxDistance() string
- func (o *SetNodeRequest) GetMaxDistanceOk() (*string, bool)
- func (o *SetNodeRequest) GetNodeId() string
- func (o *SetNodeRequest) GetNodeIdOk() (*string, bool)
- func (o *SetNodeRequest) HasLat() bool
- func (o *SetNodeRequest) HasLon() bool
- func (o *SetNodeRequest) HasMaxDistance() bool
- func (o *SetNodeRequest) HasNodeId() bool
- func (o SetNodeRequest) MarshalJSON() ([]byte, error)
- func (o *SetNodeRequest) SetLat(v float64)
- func (o *SetNodeRequest) SetLon(v float64)
- func (o *SetNodeRequest) SetMaxDistance(v string)
- func (o *SetNodeRequest) SetNodeId(v string)
- func (o SetNodeRequest) ToMap() (map[string]interface{}, error)
- func (o *SetNodeRequest) UnmarshalJSON(data []byte) (err error)
- type StripeAPIService
- type StripeSetupIntent
- func (o *StripeSetupIntent) GetClientSecret() string
- func (o *StripeSetupIntent) GetClientSecretOk() (*string, bool)
- func (o StripeSetupIntent) MarshalJSON() ([]byte, error)
- func (o *StripeSetupIntent) SetClientSecret(v string)
- func (o StripeSetupIntent) ToMap() (map[string]interface{}, error)
- func (o *StripeSetupIntent) UnmarshalJSON(data []byte) (err error)
- type Subscription
- func (o *Subscription) GetAmount() float64
- func (o *Subscription) GetAmountOk() (*float64, bool)
- func (o *Subscription) GetCancelAt() time.Time
- func (o *Subscription) GetCancelAtOk() (*time.Time, bool)
- func (o *Subscription) GetCanceledAt() time.Time
- func (o *Subscription) GetCanceledAtOk() (*time.Time, bool)
- func (o *Subscription) GetCreatedAt() time.Time
- func (o *Subscription) GetCreatedAtOk() (*time.Time, bool)
- func (o *Subscription) GetCurrency() string
- func (o *Subscription) GetCurrencyOk() (*string, bool)
- func (o *Subscription) GetCurrentPeriodEnd() time.Time
- func (o *Subscription) GetCurrentPeriodEndOk() (*time.Time, bool)
- func (o *Subscription) GetCurrentPeriodStart() time.Time
- func (o *Subscription) GetCurrentPeriodStartOk() (*time.Time, bool)
- func (o *Subscription) GetDescription() string
- func (o *Subscription) GetDescriptionOk() (*string, bool)
- func (o *Subscription) GetEndedAt() time.Time
- func (o *Subscription) GetEndedAtOk() (*time.Time, bool)
- func (o *Subscription) GetId() string
- func (o *Subscription) GetIdOk() (*string, bool)
- func (o *Subscription) GetLatestInvoice() Invoice
- func (o *Subscription) GetLatestInvoiceOk() (*Invoice, bool)
- func (o *Subscription) GetManagedBy() ManagedBy
- func (o *Subscription) GetManagedByOk() (*ManagedBy, bool)
- func (o *Subscription) GetPendingUpdate() SubscriptionPendingUpdate
- func (o *Subscription) GetPendingUpdateOk() (*SubscriptionPendingUpdate, bool)
- func (o *Subscription) GetPlan() Plan
- func (o *Subscription) GetPlanOk() (*Plan, bool)
- func (o *Subscription) GetPlanPrice() PlanPrice
- func (o *Subscription) GetPlanPriceOk() (*PlanPrice, bool)
- func (o *Subscription) GetStartDate() time.Time
- func (o *Subscription) GetStartDateOk() (*time.Time, bool)
- func (o *Subscription) GetStatus() SubscriptionStatus
- func (o *Subscription) GetStatusOk() (*SubscriptionStatus, bool)
- func (o *Subscription) GetTrialEnd() time.Time
- func (o *Subscription) GetTrialEndOk() (*time.Time, bool)
- func (o *Subscription) GetTrialStart() time.Time
- func (o *Subscription) GetTrialStartOk() (*time.Time, bool)
- func (o *Subscription) HasCancelAt() bool
- func (o *Subscription) HasCanceledAt() bool
- func (o *Subscription) HasDescription() bool
- func (o *Subscription) HasEndedAt() bool
- func (o *Subscription) HasStatus() bool
- func (o *Subscription) HasTrialEnd() bool
- func (o *Subscription) HasTrialStart() bool
- func (o Subscription) MarshalJSON() ([]byte, error)
- func (o *Subscription) SetAmount(v float64)
- func (o *Subscription) SetCancelAt(v time.Time)
- func (o *Subscription) SetCancelAtNil()
- func (o *Subscription) SetCanceledAt(v time.Time)
- func (o *Subscription) SetCanceledAtNil()
- func (o *Subscription) SetCreatedAt(v time.Time)
- func (o *Subscription) SetCurrency(v string)
- func (o *Subscription) SetCurrentPeriodEnd(v time.Time)
- func (o *Subscription) SetCurrentPeriodStart(v time.Time)
- func (o *Subscription) SetDescription(v string)
- func (o *Subscription) SetDescriptionNil()
- func (o *Subscription) SetEndedAt(v time.Time)
- func (o *Subscription) SetEndedAtNil()
- func (o *Subscription) SetId(v string)
- func (o *Subscription) SetLatestInvoice(v Invoice)
- func (o *Subscription) SetManagedBy(v ManagedBy)
- func (o *Subscription) SetPendingUpdate(v SubscriptionPendingUpdate)
- func (o *Subscription) SetPlan(v Plan)
- func (o *Subscription) SetPlanPrice(v PlanPrice)
- func (o *Subscription) SetStartDate(v time.Time)
- func (o *Subscription) SetStatus(v SubscriptionStatus)
- func (o *Subscription) SetTrialEnd(v time.Time)
- func (o *Subscription) SetTrialEndNil()
- func (o *Subscription) SetTrialStart(v time.Time)
- func (o *Subscription) SetTrialStartNil()
- func (o Subscription) ToMap() (map[string]interface{}, error)
- func (o *Subscription) UnmarshalJSON(data []byte) (err error)
- func (o *Subscription) UnsetCancelAt()
- func (o *Subscription) UnsetCanceledAt()
- func (o *Subscription) UnsetDescription()
- func (o *Subscription) UnsetEndedAt()
- func (o *Subscription) UnsetTrialEnd()
- func (o *Subscription) UnsetTrialStart()
- type SubscriptionChangePlanRequest
- func (o *SubscriptionChangePlanRequest) GetNewPlanPrice() string
- func (o *SubscriptionChangePlanRequest) GetNewPlanPriceOk() (*string, bool)
- func (o SubscriptionChangePlanRequest) MarshalJSON() ([]byte, error)
- func (o *SubscriptionChangePlanRequest) SetNewPlanPrice(v string)
- func (o SubscriptionChangePlanRequest) ToMap() (map[string]interface{}, error)
- func (o *SubscriptionChangePlanRequest) UnmarshalJSON(data []byte) (err error)
- type SubscriptionCreationRequest
- func (o *SubscriptionCreationRequest) GetPaymentMethod() string
- func (o *SubscriptionCreationRequest) GetPaymentMethodOk() (*string, bool)
- func (o *SubscriptionCreationRequest) GetPlanPrice() string
- func (o *SubscriptionCreationRequest) GetPlanPriceOk() (*string, bool)
- func (o *SubscriptionCreationRequest) HasPaymentMethod() bool
- func (o SubscriptionCreationRequest) MarshalJSON() ([]byte, error)
- func (o *SubscriptionCreationRequest) SetPaymentMethod(v string)
- func (o *SubscriptionCreationRequest) SetPaymentMethodNil()
- func (o *SubscriptionCreationRequest) SetPlanPrice(v string)
- func (o SubscriptionCreationRequest) ToMap() (map[string]interface{}, error)
- func (o *SubscriptionCreationRequest) UnmarshalJSON(data []byte) (err error)
- func (o *SubscriptionCreationRequest) UnsetPaymentMethod()
- type SubscriptionPendingUpdate
- func (o *SubscriptionPendingUpdate) GetAmount() float64
- func (o *SubscriptionPendingUpdate) GetAmountOk() (*float64, bool)
- func (o *SubscriptionPendingUpdate) GetCurrency() string
- func (o *SubscriptionPendingUpdate) GetCurrencyOk() (*string, bool)
- func (o *SubscriptionPendingUpdate) GetEffectiveAt() time.Time
- func (o *SubscriptionPendingUpdate) GetEffectiveAtOk() (*time.Time, bool)
- func (o *SubscriptionPendingUpdate) GetPlan() Plan
- func (o *SubscriptionPendingUpdate) GetPlanOk() (*Plan, bool)
- func (o *SubscriptionPendingUpdate) GetPlanPrice() PlanPrice
- func (o *SubscriptionPendingUpdate) GetPlanPriceOk() (*PlanPrice, bool)
- func (o SubscriptionPendingUpdate) MarshalJSON() ([]byte, error)
- func (o *SubscriptionPendingUpdate) SetAmount(v float64)
- func (o *SubscriptionPendingUpdate) SetCurrency(v string)
- func (o *SubscriptionPendingUpdate) SetEffectiveAt(v time.Time)
- func (o *SubscriptionPendingUpdate) SetPlan(v Plan)
- func (o *SubscriptionPendingUpdate) SetPlanPrice(v PlanPrice)
- func (o SubscriptionPendingUpdate) ToMap() (map[string]interface{}, error)
- func (o *SubscriptionPendingUpdate) UnmarshalJSON(data []byte) (err error)
- type SubscriptionStatus
- type SummaryPeriod
- func (o *SummaryPeriod) GetData() []DataPoint
- func (o *SummaryPeriod) GetDataOk() ([]DataPoint, bool)
- func (o *SummaryPeriod) GetPeriod() Period
- func (o *SummaryPeriod) GetPeriodOk() (*Period, bool)
- func (o *SummaryPeriod) GetTotal() int64
- func (o *SummaryPeriod) GetTotalOk() (*int64, bool)
- func (o SummaryPeriod) MarshalJSON() ([]byte, error)
- func (o *SummaryPeriod) SetData(v []DataPoint)
- func (o *SummaryPeriod) SetPeriod(v Period)
- func (o *SummaryPeriod) SetTotal(v int64)
- func (o SummaryPeriod) ToMap() (map[string]interface{}, error)
- func (o *SummaryPeriod) UnmarshalJSON(data []byte) (err error)
- type Timeline
- func (o *Timeline) GetCurrency() string
- func (o *Timeline) GetCurrencyOk() (*string, bool)
- func (o *Timeline) GetEvents() []TimelineEvent
- func (o *Timeline) GetEventsOk() ([]TimelineEvent, bool)
- func (o *Timeline) GetProratedAmount() float64
- func (o *Timeline) GetProratedAmountOk() (*float64, bool)
- func (o Timeline) MarshalJSON() ([]byte, error)
- func (o *Timeline) SetCurrency(v string)
- func (o *Timeline) SetEvents(v []TimelineEvent)
- func (o *Timeline) SetProratedAmount(v float64)
- func (o Timeline) ToMap() (map[string]interface{}, error)
- func (o *Timeline) UnmarshalJSON(data []byte) (err error)
- type TimelineEvent
- func (o *TimelineEvent) GetAmount() float64
- func (o *TimelineEvent) GetAmountOk() (*float64, bool)
- func (o *TimelineEvent) GetCurrency() string
- func (o *TimelineEvent) GetCurrencyOk() (*string, bool)
- func (o *TimelineEvent) GetDate() time.Time
- func (o *TimelineEvent) GetDateOk() (*time.Time, bool)
- func (o *TimelineEvent) GetDescription() string
- func (o *TimelineEvent) GetDescriptionOk() (*string, bool)
- func (o *TimelineEvent) GetEventType() TimelineEventType
- func (o *TimelineEvent) GetEventTypeOk() (*TimelineEventType, bool)
- func (o TimelineEvent) MarshalJSON() ([]byte, error)
- func (o *TimelineEvent) SetAmount(v float64)
- func (o *TimelineEvent) SetCurrency(v string)
- func (o *TimelineEvent) SetDate(v time.Time)
- func (o *TimelineEvent) SetDescription(v string)
- func (o *TimelineEvent) SetEventType(v TimelineEventType)
- func (o TimelineEvent) ToMap() (map[string]interface{}, error)
- func (o *TimelineEvent) UnmarshalJSON(data []byte) (err error)
- type TimelineEventType
- type TopDevices
- func (o *TopDevices) GetDevices() []DeviceData
- func (o *TopDevices) GetDevicesOk() ([]DeviceData, bool)
- func (o *TopDevices) GetLimit() int64
- func (o *TopDevices) GetLimitOk() (*int64, bool)
- func (o *TopDevices) GetPeriod() Period
- func (o *TopDevices) GetPeriodOk() (*Period, bool)
- func (o TopDevices) MarshalJSON() ([]byte, error)
- func (o *TopDevices) SetDevices(v []DeviceData)
- func (o *TopDevices) SetLimit(v int64)
- func (o *TopDevices) SetPeriod(v Period)
- func (o TopDevices) ToMap() (map[string]interface{}, error)
- func (o *TopDevices) UnmarshalJSON(data []byte) (err error)
- type TransactionType
- type Type
- type Wallet
- func (o *Wallet) GetBalance() float64
- func (o *Wallet) GetBalanceOk() (*float64, bool)
- func (o *Wallet) GetConsumedBalance() float64
- func (o *Wallet) GetConsumedBalanceOk() (*float64, bool)
- func (o *Wallet) GetCreatedAt() time.Time
- func (o *Wallet) GetCreatedAtOk() (*time.Time, bool)
- func (o *Wallet) GetCreditsBalance() float64
- func (o *Wallet) GetCreditsBalanceOk() (*float64, bool)
- func (o *Wallet) GetCurrency() string
- func (o *Wallet) GetCurrencyOk() (*string, bool)
- func (o *Wallet) GetId() string
- func (o *Wallet) GetIdOk() (*string, bool)
- func (o *Wallet) GetIsActive() bool
- func (o *Wallet) GetIsActiveOk() (*bool, bool)
- func (o *Wallet) GetName() string
- func (o *Wallet) GetNameOk() (*string, bool)
- func (o *Wallet) GetRecentTransactions() []WalletTransaction
- func (o *Wallet) GetRecentTransactionsOk() ([]WalletTransaction, bool)
- func (o *Wallet) GetStatus() WalletStatus
- func (o *Wallet) GetStatusOk() (*WalletStatus, bool)
- func (o *Wallet) GetUpdatedAt() time.Time
- func (o *Wallet) GetUpdatedAtOk() (*time.Time, bool)
- func (o Wallet) MarshalJSON() ([]byte, error)
- func (o *Wallet) SetBalance(v float64)
- func (o *Wallet) SetConsumedBalance(v float64)
- func (o *Wallet) SetCreatedAt(v time.Time)
- func (o *Wallet) SetCreditsBalance(v float64)
- func (o *Wallet) SetCurrency(v string)
- func (o *Wallet) SetId(v string)
- func (o *Wallet) SetIsActive(v bool)
- func (o *Wallet) SetName(v string)
- func (o *Wallet) SetRecentTransactions(v []WalletTransaction)
- func (o *Wallet) SetStatus(v WalletStatus)
- func (o *Wallet) SetUpdatedAt(v time.Time)
- func (o Wallet) ToMap() (map[string]interface{}, error)
- func (o *Wallet) UnmarshalJSON(data []byte) (err error)
- type WalletStatus
- type WalletTransaction
- func (o *WalletTransaction) GetAmount() float32
- func (o *WalletTransaction) GetAmountOk() (*float32, bool)
- func (o *WalletTransaction) GetCreatedAt() time.Time
- func (o *WalletTransaction) GetCreatedAtOk() (*time.Time, bool)
- func (o *WalletTransaction) GetCredits() float64
- func (o *WalletTransaction) GetCreditsOk() (*float64, bool)
- func (o *WalletTransaction) GetCurrency() string
- func (o *WalletTransaction) GetCurrencyOk() (*string, bool)
- func (o *WalletTransaction) GetDescription() string
- func (o *WalletTransaction) GetDescriptionOk() (*string, bool)
- func (o *WalletTransaction) GetId() string
- func (o *WalletTransaction) GetIdOk() (*string, bool)
- func (o *WalletTransaction) GetTransactionType() TransactionType
- func (o *WalletTransaction) GetTransactionTypeOk() (*TransactionType, bool)
- func (o WalletTransaction) MarshalJSON() ([]byte, error)
- func (o *WalletTransaction) SetAmount(v float32)
- func (o *WalletTransaction) SetCreatedAt(v time.Time)
- func (o *WalletTransaction) SetCredits(v float64)
- func (o *WalletTransaction) SetCurrency(v string)
- func (o *WalletTransaction) SetDescription(v string)
- func (o *WalletTransaction) SetId(v string)
- func (o *WalletTransaction) SetTransactionType(v TransactionType)
- func (o WalletTransaction) ToMap() (map[string]interface{}, error)
- func (o *WalletTransaction) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
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") )
var AllowedAccountStatusEnumEnumValues = []AccountStatusEnum{
"pending",
"active",
"suspended",
"canceled",
}
All allowed values of AccountStatusEnum enum
var AllowedAccountStatusEnumValues = []AccountStatus{
"pending",
"active",
"suspended",
"canceled",
}
All allowed values of AccountStatus enum
var AllowedConditionEnumValues = []Condition{
"ready",
"disk_pressure",
"memory_pressure",
"pid_pressure",
"cpu_pressure",
"network_pressure",
"network_unavailable",
}
All allowed values of Condition enum
var AllowedConnectionStatusEnumValues = []ConnectionStatus{
"never_connected",
"inactive",
"offline",
"active",
"online",
}
All allowed values of ConnectionStatus enum
var AllowedDeviceCodeStatusEnumValues = []DeviceCodeStatus{
"waiting",
"approved",
"expired",
}
All allowed values of DeviceCodeStatus enum
var AllowedIntervalEnumValues = []Interval{
"week",
"biweek",
"month",
"quarter",
"biannual",
"annual",
}
All allowed values of Interval enum
var AllowedInvoiceStatusEnumValues = []InvoiceStatus{
"draft",
"open",
"paid",
"void",
"uncollectible",
}
All allowed values of InvoiceStatus enum
var AllowedManagedByEnumValues = []ManagedBy{
"apple",
"google",
"stripe",
"unknown",
}
All allowed values of ManagedBy enum
var AllowedNodeConditionTypeEnumValues = []NodeConditionType{
"ready",
"disk_pressure",
"memory_pressure",
"pid_pressure",
"cpu_pressure",
"network_pressure",
"network_unavailable",
}
All allowed values of NodeConditionType enum
var AllowedNodeStatusEnumValues = []NodeStatus{
"pending",
"active",
"drained",
"inactive",
}
All allowed values of NodeStatus enum
var AllowedNullEnumValues = []Null{}
All allowed values of Null enum
var AllowedSubscriptionStatusEnumValues = []SubscriptionStatus{
"incomplete",
"incomplete_expired",
"trialing",
"active",
"past_due",
"canceled",
"unpaid",
}
All allowed values of SubscriptionStatus enum
var AllowedTimelineEventTypeEnumValues = []TimelineEventType{
"subscription_start",
"trial_start",
"trial_end",
"first_charge",
"proration",
"renewal",
}
All allowed values of TimelineEventType enum
var AllowedTransactionTypeEnumValues = []TransactionType{
"credit",
"debit",
}
All allowed values of TransactionType enum
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
var AllowedWalletStatusEnumValues = []WalletStatus{
"_wallet_dummy",
"pending",
"active",
"suspended",
"canceled",
}
All allowed values of WalletStatus enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float 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 ¶
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 ¶
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) GetAsnOk ¶
GetAsnOk returns a tuple with the Asn field value and a boolean to check if the value has been set.
func (*ASN) GetCountry ¶
GetCountry returns the Country field value
func (*ASN) GetCountryOk ¶
GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set.
func (*ASN) GetDomain ¶
GetDomain returns the Domain field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ASN) GetDomainOk ¶
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 ¶
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ASN) GetNameOk ¶
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) MarshalJSON ¶
func (*ASN) SetDomain ¶
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 ¶
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) UnmarshalJSON ¶
func (*ASN) UnsetDomain ¶
func (o *ASN) UnsetDomain()
UnsetDomain ensures that no value is present for Domain, 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) 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) 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 ¶
GetCountry returns the Country field value
func (*Account) GetCountryOk ¶
GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set.
func (*Account) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Account) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Account) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Account) GetMaskedNumber ¶
GetMaskedNumber returns the MaskedNumber field value
func (*Account) GetMaskedNumberOk ¶
GetMaskedNumberOk returns a tuple with the MaskedNumber field value and a boolean to check if the value has been set.
func (*Account) GetNumberOk ¶
GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.
func (*Account) GetPhotoUrl ¶
GetPhotoUrl returns the PhotoUrl field value
func (*Account) GetPhotoUrlOk ¶
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) MarshalJSON ¶
func (*Account) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Account) SetMaskedNumber ¶
SetMaskedNumber 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) UnmarshalJSON ¶
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 ¶
func (a *AccountAPIService) CreateAccount(ctx context.Context) ApiCreateAccountRequest
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 ¶
func (a *AccountAPIService) CreateDeviceCode(ctx context.Context) ApiCreateDeviceCodeRequest
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 ¶
func (a *AccountAPIService) GetCurrentAccount(ctx context.Context) ApiGetCurrentAccountRequest
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 ¶
func (a *AccountAPIService) RefreshAccountTokenExecute(r ApiRefreshAccountTokenRequest) (*AccountTokenRefresh, *http.Response, error)
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 ¶
func (v AccountStatusEnum) Ptr() *AccountStatusEnum
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
}
type ApiCancelSubscriptionRequest ¶
type ApiCancelSubscriptionRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiCancelSubscriptionRequest) Execute ¶
func (r ApiCancelSubscriptionRequest) Execute() (*Subscription, *http.Response, error)
type ApiChangeSubscriptionPlanRequest ¶
type ApiChangeSubscriptionPlanRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiChangeSubscriptionPlanRequest) Execute ¶
func (r ApiChangeSubscriptionPlanRequest) Execute() (*Subscription, *http.Response, error)
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 ¶
func (r ApiCompleteCloudpaymentsPaymentMethodThreeDsRequest) Execute() (*CloudPaymentsPaymentMethod, *http.Response, error)
type ApiCreateAccountRequest ¶
type ApiCreateAccountRequest struct {
ApiService *AccountAPIService
// contains filtered or unexported fields
}
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 ¶
func (r ApiCreateCloudpaymentsPaymentMethodRequest) Execute() (*CloudPaymentsPaymentMethod, *http.Response, error)
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 ¶
func (r ApiCreateDeviceCodeRequest) Execute() (*DeviceCode, *http.Response, error)
type ApiCreateDeviceRequest ¶
type ApiCreateDeviceRequest struct {
ApiService *DeviceAPIService
// contains filtered or unexported fields
}
func (ApiCreateDeviceRequest) DeviceRequest ¶
func (r ApiCreateDeviceRequest) DeviceRequest(deviceRequest DeviceRequest) ApiCreateDeviceRequest
type ApiCreateNodeConditionRequest ¶
type ApiCreateNodeConditionRequest struct {
ApiService *NodeAPIService
// contains filtered or unexported fields
}
func (ApiCreateNodeConditionRequest) Execute ¶
func (r ApiCreateNodeConditionRequest) Execute() (*http.Response, error)
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 (r ApiCreateNodeDataUsageReportRequest) Execute() (*http.Response, error)
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 ¶
func (r ApiCreateStripeSetupIntentRequest) Execute() (*StripeSetupIntent, *http.Response, error)
type ApiDeleteCurrentAccountRequest ¶
type ApiDeleteCurrentAccountRequest struct {
ApiService *AccountAPIService
// contains filtered or unexported fields
}
func (ApiDeleteCurrentAccountRequest) Execute ¶
func (r ApiDeleteCurrentAccountRequest) Execute() (*http.Response, error)
func (ApiDeleteCurrentAccountRequest) Last4 ¶
func (r ApiDeleteCurrentAccountRequest) Last4(last4 string) ApiDeleteCurrentAccountRequest
Last 4 digits of the account number
type ApiDeleteDeviceRequest ¶
type ApiDeleteDeviceRequest struct {
ApiService *DeviceAPIService
// contains filtered or unexported fields
}
type ApiDeleteNodeRequest ¶
type ApiDeleteNodeRequest struct {
ApiService *NodeAPIService
// contains filtered or unexported fields
}
type ApiDeletePaymentMethodRequest ¶
type ApiDeletePaymentMethodRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
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 ¶
func (r ApiGetAccountTokenPairRequest) Execute() (*AccountTokenPair, *http.Response, error)
type ApiGetBillingAccountRequest ¶
type ApiGetBillingAccountRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiGetBillingAccountRequest) Cursor ¶
func (r ApiGetBillingAccountRequest) Cursor(cursor string) ApiGetBillingAccountRequest
The pagination cursor value.
func (ApiGetBillingAccountRequest) Execute ¶
func (r ApiGetBillingAccountRequest) Execute() (*BillingAccount, *http.Response, error)
func (ApiGetBillingAccountRequest) Limit ¶
func (r ApiGetBillingAccountRequest) Limit(limit int32) ApiGetBillingAccountRequest
Number of results to return per page.
type ApiGetBillingOptionsRequest ¶
type ApiGetBillingOptionsRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiGetBillingOptionsRequest) Execute ¶
func (r ApiGetBillingOptionsRequest) Execute() (*BillingOptions, *http.Response, error)
type ApiGetCloudpaymentsPaymentMethodRequest ¶
type ApiGetCloudpaymentsPaymentMethodRequest struct {
ApiService *CloudpaymentsAPIService
// contains filtered or unexported fields
}
func (ApiGetCloudpaymentsPaymentMethodRequest) Execute ¶
func (r ApiGetCloudpaymentsPaymentMethodRequest) Execute() (*CloudPaymentsPaymentMethod, *http.Response, error)
type ApiGetCountriesRequest ¶
type ApiGetCountriesRequest struct {
ApiService *GeoAPIService
// contains filtered or unexported fields
}
type ApiGetCountryRequest ¶
type ApiGetCountryRequest struct {
ApiService *GeoAPIService
// contains filtered or unexported fields
}
type ApiGetCurrenciesRequest ¶
type ApiGetCurrenciesRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
type ApiGetCurrentAccountBillingUsageRequest ¶
type ApiGetCurrentAccountBillingUsageRequest struct {
ApiService *AccountAPIService
// contains filtered or unexported fields
}
func (ApiGetCurrentAccountBillingUsageRequest) Cursor ¶
func (r ApiGetCurrentAccountBillingUsageRequest) Cursor(cursor string) ApiGetCurrentAccountBillingUsageRequest
The pagination cursor value.
func (ApiGetCurrentAccountBillingUsageRequest) Execute ¶
func (r ApiGetCurrentAccountBillingUsageRequest) Execute() (*BillingUsage, *http.Response, error)
func (ApiGetCurrentAccountBillingUsageRequest) Limit ¶
func (r ApiGetCurrentAccountBillingUsageRequest) Limit(limit int32) ApiGetCurrentAccountBillingUsageRequest
Number of results to return per page.
type ApiGetCurrentAccountRequest ¶
type ApiGetCurrentAccountRequest struct {
ApiService *AccountAPIService
// contains filtered or unexported fields
}
func (ApiGetCurrentAccountRequest) Cursor ¶
func (r ApiGetCurrentAccountRequest) Cursor(cursor string) ApiGetCurrentAccountRequest
The pagination cursor value.
func (ApiGetCurrentAccountRequest) Execute ¶
func (r ApiGetCurrentAccountRequest) Execute() (*Account, *http.Response, error)
func (ApiGetCurrentAccountRequest) Limit ¶
func (r ApiGetCurrentAccountRequest) Limit(limit int32) ApiGetCurrentAccountRequest
Number of results to return per page.
type ApiGetCurrentSubscriptionRequest ¶
type ApiGetCurrentSubscriptionRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiGetCurrentSubscriptionRequest) Cursor ¶
func (r ApiGetCurrentSubscriptionRequest) Cursor(cursor string) ApiGetCurrentSubscriptionRequest
The pagination cursor value.
func (ApiGetCurrentSubscriptionRequest) Execute ¶
func (r ApiGetCurrentSubscriptionRequest) Execute() (*Subscription, *http.Response, error)
func (ApiGetCurrentSubscriptionRequest) Limit ¶
func (r ApiGetCurrentSubscriptionRequest) Limit(limit int32) ApiGetCurrentSubscriptionRequest
Number of results to return per page.
type ApiGetCurrentWalletRequest ¶
type ApiGetCurrentWalletRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiGetCurrentWalletRequest) Cursor ¶
func (r ApiGetCurrentWalletRequest) Cursor(cursor string) ApiGetCurrentWalletRequest
The pagination cursor value.
func (ApiGetCurrentWalletRequest) Execute ¶
func (r ApiGetCurrentWalletRequest) Execute() (*Wallet, *http.Response, error)
func (ApiGetCurrentWalletRequest) Limit ¶
func (r ApiGetCurrentWalletRequest) Limit(limit int32) ApiGetCurrentWalletRequest
Number of results to return per page.
type ApiGetDashboardAnalyticsRequest ¶
type ApiGetDashboardAnalyticsRequest struct {
ApiService *DeviceAPIService
// contains filtered or unexported fields
}
func (ApiGetDashboardAnalyticsRequest) Execute ¶
func (r ApiGetDashboardAnalyticsRequest) Execute() (*DashboardAnalytics, *http.Response, error)
func (ApiGetDashboardAnalyticsRequest) Top ¶
func (r ApiGetDashboardAnalyticsRequest) Top(top int32) ApiGetDashboardAnalyticsRequest
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 ¶
func (r ApiGetDeviceAnalyticsRequest) EndDate(endDate string) ApiGetDeviceAnalyticsRequest
End date in ISO format (default: current date and time)
func (ApiGetDeviceAnalyticsRequest) Execute ¶
func (r ApiGetDeviceAnalyticsRequest) Execute() (*DeviceAnalytics, *http.Response, error)
func (ApiGetDeviceAnalyticsRequest) StartDate ¶
func (r ApiGetDeviceAnalyticsRequest) StartDate(startDate string) ApiGetDeviceAnalyticsRequest
Start date in ISO format (default: 7 days ago)
type ApiGetDeviceCodeRequest ¶
type ApiGetDeviceCodeRequest struct {
ApiService *AccountAPIService
// contains filtered or unexported fields
}
func (ApiGetDeviceCodeRequest) Execute ¶
func (r ApiGetDeviceCodeRequest) Execute() (*DeviceCode, *http.Response, error)
type ApiGetDeviceNodeRequest ¶
type ApiGetDeviceNodeRequest struct {
ApiService *DeviceAPIService
// contains filtered or unexported fields
}
type ApiGetDeviceRequest ¶
type ApiGetDeviceRequest struct {
ApiService *DeviceAPIService
// contains filtered or unexported fields
}
type ApiGetDevicesRequest ¶
type ApiGetDevicesRequest struct {
ApiService *DeviceAPIService
// contains filtered or unexported fields
}
func (ApiGetDevicesRequest) Cursor ¶
func (r ApiGetDevicesRequest) Cursor(cursor string) ApiGetDevicesRequest
The pagination cursor value.
func (ApiGetDevicesRequest) Execute ¶
func (r ApiGetDevicesRequest) Execute() (*PaginatedDeviceList, *http.Response, error)
func (ApiGetDevicesRequest) Limit ¶
func (r ApiGetDevicesRequest) Limit(limit int32) ApiGetDevicesRequest
Number of results to return per page.
type ApiGetEntitlementRequest ¶
type ApiGetEntitlementRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiGetEntitlementRequest) Execute ¶
func (r ApiGetEntitlementRequest) Execute() (*Entitlement, *http.Response, error)
type ApiGetEntitlementsRequest ¶
type ApiGetEntitlementsRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiGetEntitlementsRequest) Execute ¶
func (r ApiGetEntitlementsRequest) Execute() ([]Entitlement, *http.Response, error)
func (ApiGetEntitlementsRequest) LookupKey ¶
func (r ApiGetEntitlementsRequest) LookupKey(lookupKey string) ApiGetEntitlementsRequest
Filter entitlements by lookup key
type ApiGetLocationRequest ¶
type ApiGetLocationRequest struct {
ApiService *GeoAPIService
// contains filtered or unexported fields
}
type ApiGetLocationsRequest ¶
type ApiGetLocationsRequest struct {
ApiService *GeoAPIService
// contains filtered or unexported fields
}
func (ApiGetLocationsRequest) Country ¶
func (r ApiGetLocationsRequest) Country(country string) ApiGetLocationsRequest
func (ApiGetLocationsRequest) Cursor ¶
func (r ApiGetLocationsRequest) Cursor(cursor string) ApiGetLocationsRequest
The pagination cursor value.
func (ApiGetLocationsRequest) Execute ¶
func (r ApiGetLocationsRequest) Execute() (*PaginatedLocationList, *http.Response, error)
func (ApiGetLocationsRequest) Limit ¶
func (r ApiGetLocationsRequest) Limit(limit int32) ApiGetLocationsRequest
Number of results to return per page.
func (ApiGetLocationsRequest) Name ¶
func (r ApiGetLocationsRequest) Name(name string) ApiGetLocationsRequest
func (ApiGetLocationsRequest) Q ¶
func (r ApiGetLocationsRequest) Q(q string) ApiGetLocationsRequest
Search
type ApiGetNodeConditionsRequest ¶
type ApiGetNodeConditionsRequest struct {
ApiService *NodeAPIService
// contains filtered or unexported fields
}
func (ApiGetNodeConditionsRequest) Execute ¶
func (r ApiGetNodeConditionsRequest) Execute() ([]NodeCondition, *http.Response, error)
func (ApiGetNodeConditionsRequest) Status ¶
func (r ApiGetNodeConditionsRequest) Status(status bool) ApiGetNodeConditionsRequest
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 ¶
func (r ApiGetNodeDevicesRequest) Execute() ([]NodeDevice, *http.Response, error)
type ApiGetNodeRequest ¶
type ApiGetNodeRequest struct {
ApiService *NodeAPIService
// contains filtered or unexported fields
}
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 (r ApiGetNodesRequest) Execute() (*PaginatedNodeList, *http.Response, error)
func (ApiGetNodesRequest) IsExitNode ¶
func (r ApiGetNodesRequest) IsExitNode(isExitNode bool) ApiGetNodesRequest
Filter by exit node status
func (ApiGetNodesRequest) Lat ¶
func (r ApiGetNodesRequest) Lat(lat float64) ApiGetNodesRequest
Latitude for location search
func (ApiGetNodesRequest) Limit ¶
func (r ApiGetNodesRequest) Limit(limit int32) ApiGetNodesRequest
Number of results to return per page.
func (ApiGetNodesRequest) Lon ¶
func (r ApiGetNodesRequest) Lon(lon float64) ApiGetNodesRequest
Longitude for location search
func (ApiGetNodesRequest) OrderByDistance ¶
func (r ApiGetNodesRequest) OrderByDistance(orderByDistance bool) ApiGetNodesRequest
Order by distance
func (ApiGetNodesRequest) Q ¶
func (r ApiGetNodesRequest) Q(q string) ApiGetNodesRequest
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 ¶
func (r ApiGetNodesRequest) Tags(tags string) ApiGetNodesRequest
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 ¶
func (r ApiGetPaymentMethodRequest) Execute() (*PaymentMethod, *http.Response, error)
type ApiGetPaymentMethodsRequest ¶
type ApiGetPaymentMethodsRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiGetPaymentMethodsRequest) Cursor ¶
func (r ApiGetPaymentMethodsRequest) Cursor(cursor string) ApiGetPaymentMethodsRequest
The pagination cursor value.
func (ApiGetPaymentMethodsRequest) Execute ¶
func (r ApiGetPaymentMethodsRequest) Execute() (*PaginatedPaymentMethodList, *http.Response, error)
func (ApiGetPaymentMethodsRequest) Limit ¶
func (r ApiGetPaymentMethodsRequest) Limit(limit int32) ApiGetPaymentMethodsRequest
Number of results to return per page.
type ApiGetPlanBySlugRequest ¶
type ApiGetPlanBySlugRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
type ApiGetPlanTimelineRequest ¶
type ApiGetPlanTimelineRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiGetPlanTimelineRequest) Execute ¶
func (r ApiGetPlanTimelineRequest) Execute() (*Timeline, *http.Response, error)
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
type ApiGetProviderRequest ¶
type ApiGetProviderRequest struct {
ApiService *ProviderAPIService
// contains filtered or unexported fields
}
func (ApiGetProviderRequest) Execute ¶
func (r ApiGetProviderRequest) Execute() (*ProviderDetail, *http.Response, error)
type ApiGetProvidersRequest ¶
type ApiGetProvidersRequest struct {
ApiService *ProviderAPIService
// contains filtered or unexported fields
}
func (ApiGetProvidersRequest) Cursor ¶
func (r ApiGetProvidersRequest) Cursor(cursor string) ApiGetProvidersRequest
The pagination cursor value.
func (ApiGetProvidersRequest) Execute ¶
func (r ApiGetProvidersRequest) Execute() (*PaginatedProviderList, *http.Response, error)
func (ApiGetProvidersRequest) Limit ¶
func (r ApiGetProvidersRequest) Limit(limit int32) ApiGetProvidersRequest
Number of results to return per page.
func (ApiGetProvidersRequest) Q ¶
func (r ApiGetProvidersRequest) Q(q string) ApiGetProvidersRequest
A search term.
func (ApiGetProvidersRequest) Rating ¶
func (r ApiGetProvidersRequest) Rating(rating float32) ApiGetProvidersRequest
func (ApiGetProvidersRequest) Sort ¶
func (r ApiGetProvidersRequest) Sort(sort string) ApiGetProvidersRequest
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 ¶
func (r ApiGetRegionRequest) Execute() (*RegionDetail, *http.Response, error)
type ApiGetRegionsRequest ¶
type ApiGetRegionsRequest struct {
ApiService *GeoAPIService
// contains filtered or unexported fields
}
func (ApiGetRegionsRequest) Code ¶
func (r ApiGetRegionsRequest) Code(code string) ApiGetRegionsRequest
func (ApiGetRegionsRequest) Country ¶
func (r ApiGetRegionsRequest) Country(country string) ApiGetRegionsRequest
func (ApiGetRegionsRequest) Execute ¶
func (r ApiGetRegionsRequest) Execute() ([]Region, *http.Response, error)
func (ApiGetRegionsRequest) Name ¶
func (r ApiGetRegionsRequest) Name(name string) ApiGetRegionsRequest
type ApiGetSubscriptionRequest ¶
type ApiGetSubscriptionRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiGetSubscriptionRequest) Execute ¶
func (r ApiGetSubscriptionRequest) Execute() (*Subscription, *http.Response, error)
type ApiGetSubscriptionsRequest ¶
type ApiGetSubscriptionsRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiGetSubscriptionsRequest) Cursor ¶
func (r ApiGetSubscriptionsRequest) Cursor(cursor string) ApiGetSubscriptionsRequest
The pagination cursor value.
func (ApiGetSubscriptionsRequest) Execute ¶
func (r ApiGetSubscriptionsRequest) Execute() (*PaginatedSubscriptionList, *http.Response, error)
func (ApiGetSubscriptionsRequest) Limit ¶
func (r ApiGetSubscriptionsRequest) Limit(limit int32) ApiGetSubscriptionsRequest
Number of results to return per page.
func (ApiGetSubscriptionsRequest) ManagedBy ¶
func (r ApiGetSubscriptionsRequest) ManagedBy(managedBy []*string) ApiGetSubscriptionsRequest
* `apple` - Apple * `google` - Google * `stripe` - Stripe * `unknown` - Unknown
func (ApiGetSubscriptionsRequest) Status ¶
func (r ApiGetSubscriptionsRequest) Status(status []string) ApiGetSubscriptionsRequest
* `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
}
type ApiGetWalletTransactionRequest ¶
type ApiGetWalletTransactionRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiGetWalletTransactionRequest) Execute ¶
func (r ApiGetWalletTransactionRequest) Execute() (*WalletTransaction, *http.Response, error)
type ApiGetWalletTransactionsRequest ¶
type ApiGetWalletTransactionsRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiGetWalletTransactionsRequest) Cursor ¶
func (r ApiGetWalletTransactionsRequest) Cursor(cursor string) ApiGetWalletTransactionsRequest
The pagination cursor value.
func (ApiGetWalletTransactionsRequest) Execute ¶
func (r ApiGetWalletTransactionsRequest) Execute() (*PaginatedWalletTransactionList, *http.Response, error)
func (ApiGetWalletTransactionsRequest) Limit ¶
func (r ApiGetWalletTransactionsRequest) Limit(limit int32) ApiGetWalletTransactionsRequest
Number of results to return per page.
type ApiGetWalletsRequest ¶
type ApiGetWalletsRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiGetWalletsRequest) Cursor ¶
func (r ApiGetWalletsRequest) Cursor(cursor string) ApiGetWalletsRequest
The pagination cursor value.
func (ApiGetWalletsRequest) Execute ¶
func (r ApiGetWalletsRequest) Execute() (*PaginatedWalletList, *http.Response, error)
func (ApiGetWalletsRequest) Limit ¶
func (r ApiGetWalletsRequest) Limit(limit int32) ApiGetWalletsRequest
Number of results to return per page.
type ApiPartialUpdateDeviceRequest ¶
type ApiPartialUpdateDeviceRequest struct {
ApiService *DeviceAPIService
// contains filtered or unexported fields
}
func (ApiPartialUpdateDeviceRequest) Execute ¶
func (r ApiPartialUpdateDeviceRequest) Execute() (*Device, *http.Response, error)
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 (r ApiPartialUpdateNodeRequest) Execute() (*Node, *http.Response, error)
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 ¶
func (r ApiReactivateSubscriptionRequest) Execute() (*Subscription, *http.Response, error)
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 ¶
func (r ApiRefreshAccountTokenRequest) Execute() (*AccountTokenRefresh, *http.Response, error)
type ApiSetDefaultPaymentMethodRequest ¶
type ApiSetDefaultPaymentMethodRequest struct {
ApiService *BillingAPIService
// contains filtered or unexported fields
}
func (ApiSetDefaultPaymentMethodRequest) Execute ¶
func (r ApiSetDefaultPaymentMethodRequest) Execute() (*BillingAccount, *http.Response, error)
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 (r ApiSubscribeToPlanRequest) Execute() (*Subscription, *http.Response, error)
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
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 ¶
func (a *BillingAPIService) GetBillingAccount(ctx context.Context) ApiGetBillingAccountRequest
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 ¶
func (a *BillingAPIService) GetBillingOptions(ctx context.Context) ApiGetBillingOptionsRequest
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 ¶
func (a *BillingAPIService) GetCurrencies(ctx context.Context) ApiGetCurrenciesRequest
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 ¶
func (a *BillingAPIService) GetCurrentWallet(ctx context.Context) ApiGetCurrentWalletRequest
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 ¶
func (a *BillingAPIService) GetEntitlements(ctx context.Context) ApiGetEntitlementsRequest
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 ¶
func (a *BillingAPIService) GetPaymentMethods(ctx context.Context) ApiGetPaymentMethodsRequest
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 ¶
func (a *BillingAPIService) GetPaymentMethodsExecute(r ApiGetPaymentMethodsRequest) (*PaginatedPaymentMethodList, *http.Response, error)
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 ¶
func (a *BillingAPIService) GetPlanTimeline(ctx context.Context) ApiGetPlanTimelineRequest
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 ¶
func (a *BillingAPIService) GetPlans(ctx context.Context) ApiGetPlansRequest
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 ¶
func (a *BillingAPIService) GetSubscriptions(ctx context.Context) ApiGetSubscriptionsRequest
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 ¶
func (a *BillingAPIService) GetSubscriptionsExecute(r ApiGetSubscriptionsRequest) (*PaginatedSubscriptionList, *http.Response, error)
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 ¶
func (a *BillingAPIService) GetWalletTransactionsExecute(r ApiGetWalletTransactionsRequest) (*PaginatedWalletTransactionList, *http.Response, error)
Execute executes the request
@return PaginatedWalletTransactionList
func (*BillingAPIService) GetWallets ¶
func (a *BillingAPIService) GetWallets(ctx context.Context) ApiGetWalletsRequest
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 ¶
func (a *BillingAPIService) GetWalletsExecute(r ApiGetWalletsRequest) (*PaginatedWalletList, *http.Response, error)
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 ¶
func (a *BillingAPIService) SubscribeToPlan(ctx context.Context) ApiSubscribeToPlanRequest
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) 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) 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 ¶
func (o *CloudPaymentsPaymentMethod) GetCard() CloudPaymentsCardDetails
GetCard returns the Card field value
func (*CloudPaymentsPaymentMethod) GetCardOk ¶
func (o *CloudPaymentsPaymentMethod) GetCardOk() (*CloudPaymentsCardDetails, bool)
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 ¶
func (o *CloudPaymentsPaymentMethod) GetId() string
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 ¶
func (o *CloudPaymentsPaymentMethod) GetThreeDs() CloudPaymentsThreeDSecure
GetThreeDs returns the ThreeDs field value
func (*CloudPaymentsPaymentMethod) GetThreeDsOk ¶
func (o *CloudPaymentsPaymentMethod) GetThreeDsOk() (*CloudPaymentsThreeDSecure, bool)
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 ¶
func (o *CloudPaymentsPaymentMethod) SetCard(v CloudPaymentsCardDetails)
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 ¶
func (o *CloudPaymentsPaymentMethod) SetThreeDs(v CloudPaymentsThreeDSecure)
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 ¶
func (o *CloudPaymentsPaymentMethodCreateRequest) GetCryptogram() string
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 ¶
func (o *CloudPaymentsThreeDSecureCompleteRequest) GetPaRes() string
GetPaRes returns the PaRes field value
func (*CloudPaymentsThreeDSecureCompleteRequest) GetPaResOk ¶
func (o *CloudPaymentsThreeDSecureCompleteRequest) GetPaResOk() (*string, bool)
GetPaResOk returns a tuple with the PaRes field value and a boolean to check if the value has been set.
func (CloudPaymentsThreeDSecureCompleteRequest) MarshalJSON ¶
func (o CloudPaymentsThreeDSecureCompleteRequest) MarshalJSON() ([]byte, error)
func (*CloudPaymentsThreeDSecureCompleteRequest) SetPaRes ¶
func (o *CloudPaymentsThreeDSecureCompleteRequest) SetPaRes(v string)
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 ¶
func (a *CloudpaymentsAPIService) CompleteCloudpaymentsPaymentMethodThreeDsExecute(r ApiCompleteCloudpaymentsPaymentMethodThreeDsRequest) (*CloudPaymentsPaymentMethod, *http.Response, error)
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 ¶
func (a *CloudpaymentsAPIService) CreateCloudpaymentsPaymentMethodExecute(r ApiCreateCloudpaymentsPaymentMethodRequest) (*CloudPaymentsPaymentMethod, *http.Response, error)
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 ¶
func (a *CloudpaymentsAPIService) GetCloudpaymentsPaymentMethodExecute(r ApiGetCloudpaymentsPaymentMethodRequest) (*CloudPaymentsPaymentMethod, *http.Response, error)
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 ¶
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) UnmarshalJSON ¶
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) ServerURLWithContext ¶
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 ¶
func (v ConnectionStatus) Ptr() *ConnectionStatus
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) GetAlpha3Ok ¶
GetAlpha3Ok returns a tuple with the Alpha3 field value and a boolean to check if the value has been set.
func (*Country) GetFlagOk ¶
GetFlagOk returns a tuple with the Flag field value and a boolean to check if the value has been set.
func (*Country) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Country) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Country) GetNumeric ¶
GetNumeric returns the Numeric field value
func (*Country) GetNumericOk ¶
GetNumericOk returns a tuple with the Numeric field value and a boolean to check if the value has been set.
func (*Country) GetOfficialName ¶
GetOfficialName returns the OfficialName field value
func (*Country) GetOfficialNameOk ¶
GetOfficialNameOk returns a tuple with the OfficialName field value and a boolean to check if the value has been set.
func (Country) MarshalJSON ¶
func (*Country) SetOfficialName ¶
SetOfficialName sets field value
func (*Country) UnmarshalJSON ¶
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) 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 ¶
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) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*Currency) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Currency) GetSubunit ¶
GetSubunit returns the Subunit field value if set, zero value otherwise.
func (*Currency) GetSubunitOk ¶
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) GetSymbolOk ¶
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 ¶
HasSubunit returns a boolean if a field has been set.
func (Currency) MarshalJSON ¶
func (*Currency) SetSubunit ¶
SetSubunit gets a reference to the given int64 and assigns it to the Subunit field.
func (*Currency) SetSymbol ¶
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*Currency) UnmarshalJSON ¶
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 ¶
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) GetDateOk ¶
GetDateOk returns a tuple with the Date field value and a boolean to check if the value has been set.
func (*DataPoint) GetRxOk ¶
GetRxOk returns a tuple with the Rx field value and a boolean to check if the value has been set.
func (*DataPoint) GetTotalOk ¶
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (*DataPoint) GetTxOk ¶
GetTxOk returns a tuple with the Tx field value and a boolean to check if the value has been set.
func (DataPoint) MarshalJSON ¶
func (*DataPoint) UnmarshalJSON ¶
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 ¶
GetCreatedAt returns the CreatedAt field value
func (*Device) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Device) GetExitNodeEndpoint ¶
GetExitNodeEndpoint returns the ExitNodeEndpoint field value
func (*Device) GetExitNodeEndpointOk ¶
GetExitNodeEndpointOk returns a tuple with the ExitNodeEndpoint field value and a boolean to check if the value has been set.
func (*Device) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Device) GetIpv4Ok ¶
GetIpv4Ok returns a tuple with the Ipv4 field value and a boolean to check if the value has been set.
func (*Device) GetIpv6Ok ¶
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 ¶
GetLastActiveAt returns the LastActiveAt field value
func (*Device) GetLastActiveAtOk ¶
GetLastActiveAtOk returns a tuple with the LastActiveAt field value and a boolean to check if the value has been set.
func (*Device) GetNameOk ¶
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 ¶
GetPassword returns the Password field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Device) GetPasswordOk ¶
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) GetPsKeyOk ¶
GetPsKeyOk returns a tuple with the PsKey field value and a boolean to check if the value has been set.
func (*Device) GetPubKeyOk ¶
GetPubKeyOk returns a tuple with the PubKey field value and a boolean to check if the value has been set.
func (*Device) GetQuickConfTemplate ¶
GetQuickConfTemplate returns the QuickConfTemplate field value
func (*Device) GetQuickConfTemplateOk ¶
GetQuickConfTemplateOk returns a tuple with the QuickConfTemplate field value and a boolean to check if the value has been set.
func (*Device) HasPassword ¶
HasPassword returns a boolean if a field has been set.
func (Device) MarshalJSON ¶
func (*Device) SetConnectionStatus ¶
func (o *Device) SetConnectionStatus(v ConnectionStatus)
SetConnectionStatus sets field value
func (*Device) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Device) SetExitNodeEndpoint ¶
SetExitNodeEndpoint sets field value
func (*Device) SetLast30daysDataUsage ¶
func (o *Device) SetLast30daysDataUsage(v DeviceDataUsage)
SetLast30daysDataUsage sets field value
func (*Device) SetLastActiveAt ¶
SetLastActiveAt sets field value
func (*Device) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Device) SetPassword ¶
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) SetQuickConfTemplate ¶
SetQuickConfTemplate sets field value
func (*Device) UnmarshalJSON ¶
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 ¶
func (a *DeviceAPIService) CreateDevice(ctx context.Context) ApiCreateDeviceRequest
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 ¶
func (a *DeviceAPIService) GetDevices(ctx context.Context) ApiGetDevicesRequest
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 ¶
func (a *DeviceAPIService) GetDevicesExecute(r ApiGetDevicesRequest) (*PaginatedDeviceList, *http.Response, error)
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) 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 ¶
func (v DeviceCodeStatus) Ptr() *DeviceCodeStatus
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) 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) 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) SetTotal ¶
func (o *DeviceDataUsage) SetTotal(v int64)
SetTotal 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) 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) 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 ¶
func (a *GeoAPIService) GetLocationsExecute(r ApiGetLocationsRequest) (*PaginatedLocationList, *http.Response, error)
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 ¶
func (a *GeoAPIService) GetRegions(ctx context.Context) ApiGetRegionsRequest
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 ¶
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 ¶
GetAsn returns the Asn field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IPInfo) GetAsnOk ¶
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 ¶
GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IPInfo) GetCountryOk ¶
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) GetIpOk ¶
GetIpOk returns a tuple with the Ip field value and a boolean to check if the value has been set.
func (*IPInfo) GetLat ¶
GetLat returns the Lat field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IPInfo) GetLatOk ¶
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 ¶
GetLocation returns the Location field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IPInfo) GetLocationOk ¶
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 ¶
GetLon returns the Lon field value if set, zero value otherwise (both if not set or set to explicit null).
func (*IPInfo) GetLonOk ¶
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) HasCountry ¶
HasCountry returns a boolean if a field has been set.
func (*IPInfo) HasLocation ¶
HasLocation returns a boolean if a field has been set.
func (IPInfo) MarshalJSON ¶
func (*IPInfo) SetAsn ¶
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 ¶
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) SetLat ¶
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 ¶
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 ¶
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) UnmarshalJSON ¶
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
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) 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 ¶
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) UnmarshalJSON ¶
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 ¶
GetCurrency returns the Currency field value
func (*Invoice) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*Invoice) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Invoice) GetDescriptionOk ¶
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) GetDueAtOk ¶
GetDueAtOk returns a tuple with the DueAt field value and a boolean to check if the value has been set.
func (*Invoice) GetEffectiveAt ¶
GetEffectiveAt returns the EffectiveAt field value
func (*Invoice) GetEffectiveAtOk ¶
GetEffectiveAtOk returns a tuple with the EffectiveAt field value and a boolean to check if the value has been set.
func (*Invoice) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Invoice) GetIssuedAt ¶
GetIssuedAt returns the IssuedAt field value
func (*Invoice) GetIssuedAtOk ¶
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) GetNumberOk ¶
GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.
func (*Invoice) GetPdf ¶
GetPdf returns the Pdf field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Invoice) GetPdfOk ¶
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 ¶
GetSubscription returns the Subscription field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Invoice) GetSubscriptionOk ¶
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 ¶
HasDescription returns a boolean if a field has been set.
func (*Invoice) HasSubscription ¶
HasSubscription returns a boolean if a field has been set.
func (Invoice) MarshalJSON ¶
func (*Invoice) SetDescription ¶
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) SetEffectiveAt ¶
SetEffectiveAt sets field value
func (*Invoice) SetIssuedAt ¶
SetIssuedAt sets field value
func (*Invoice) SetPdf ¶
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 ¶
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) UnmarshalJSON ¶
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) 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) 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 ¶
GetCountry returns the Country field value
func (*Location) GetCountryOk ¶
GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set.
func (*Location) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Location) GetLat ¶
GetLat returns the Lat field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Location) GetLatOk ¶
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 ¶
GetLon returns the Lon field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Location) GetLonOk ¶
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) GetNameAscii ¶
GetNameAscii returns the NameAscii field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Location) GetNameAsciiOk ¶
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 ¶
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) HasNameAscii ¶
HasNameAscii returns a boolean if a field has been set.
func (Location) MarshalJSON ¶
func (*Location) SetLat ¶
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 ¶
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) SetNameAscii ¶
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) UnmarshalJSON ¶
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) 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) 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 ¶
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) UnmarshalJSON ¶
type MappedNullable ¶
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 ¶
GetAppBuild returns the AppBuild field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetAppBuildOk ¶
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 ¶
GetAppVersion returns the AppVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetAppVersionOk ¶
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 ¶
GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetDistroCodename ¶
GetDistroCodename returns the DistroCodename field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetDistroCodenameOk ¶
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 ¶
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 ¶
GetDistroVersion returns the DistroVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetDistroVersionOk ¶
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 ¶
GetHostname returns the Hostname field value
func (*Node) GetHostnameOk ¶
GetHostnameOk returns a tuple with the Hostname field value and a boolean to check if the value has been set.
func (*Node) GetHttpsProxyPorts ¶
GetHttpsProxyPorts returns the HttpsProxyPorts field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetHttpsProxyPortsOk ¶
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Node) GetIpAddresses ¶
GetIpAddresses returns the IpAddresses field value
func (*Node) GetIpAddressesOk ¶
GetIpAddressesOk returns a tuple with the IpAddresses field value and a boolean to check if the value has been set.
func (*Node) GetIpDetails ¶
GetIpDetails returns the IpDetails field value
func (*Node) GetIpDetailsOk ¶
GetIpDetailsOk returns a tuple with the IpDetails field value and a boolean to check if the value has been set.
func (*Node) GetIsExitNode ¶
GetIsExitNode returns the IsExitNode field value
func (*Node) GetIsExitNodeOk ¶
GetIsExitNodeOk returns a tuple with the IsExitNode field value and a boolean to check if the value has been set.
func (*Node) GetIsPublic ¶
GetIsPublic returns the IsPublic field value if set, zero value otherwise.
func (*Node) GetIsPublicOk ¶
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 ¶
GetLastActiveAt returns the LastActiveAt field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Node) GetLastActiveAtOk ¶
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 ¶
GetOs returns the Os field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetOsArch ¶
GetOsArch returns the OsArch field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetOsArchOk ¶
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 ¶
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 ¶
GetOsVersion returns the OsVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetOsVersionOk ¶
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) GetPortsOk ¶
GetPortsOk returns a tuple with the Ports field value and a boolean to check if the value has been set.
func (*Node) GetPubKeyOk ¶
GetPubKeyOk returns a tuple with the PubKey field value and a boolean to check if the value has been set.
func (*Node) GetSsBridgePorts ¶
GetSsBridgePorts returns the SsBridgePorts field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetSsBridgePortsOk ¶
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 ¶
GetSubnets returns the Subnets field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Node) GetSubnetsOk ¶
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) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.
func (*Node) HasAppBuild ¶
HasAppBuild returns a boolean if a field has been set.
func (*Node) HasAppVersion ¶
HasAppVersion returns a boolean if a field has been set.
func (*Node) HasDistroCodename ¶
HasDistroCodename returns a boolean if a field has been set.
func (*Node) HasDistroVersion ¶
HasDistroVersion returns a boolean if a field has been set.
func (*Node) HasHttpsProxyPorts ¶
HasHttpsProxyPorts returns a boolean if a field has been set.
func (*Node) HasIsPublic ¶
HasIsPublic returns a boolean if a field has been set.
func (*Node) HasOsVersion ¶
HasOsVersion returns a boolean if a field has been set.
func (*Node) HasSsBridgePorts ¶
HasSsBridgePorts returns a boolean if a field has been set.
func (*Node) HasSubnets ¶
HasSubnets returns a boolean if a field has been set.
func (Node) MarshalJSON ¶
func (*Node) SetAppBuild ¶
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 ¶
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 ¶
SetDistro gets a reference to the given NullableString and assigns it to the Distro field.
func (*Node) SetDistroCodename ¶
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 ¶
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) SetHttpsProxyPorts ¶
SetHttpsProxyPorts gets a reference to the given []string and assigns it to the HttpsProxyPorts field.
func (*Node) SetIpAddresses ¶
SetIpAddresses sets field value
func (*Node) SetIsPublic ¶
SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field.
func (*Node) SetLastActiveAt ¶
SetLastActiveAt sets field value
func (*Node) SetOs ¶
SetOs gets a reference to the given NullableString and assigns it to the Os field.
func (*Node) SetOsArch ¶
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 ¶
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) SetSsBridgePorts ¶
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 ¶
SetSubnets gets a reference to the given []string and assigns it to the Subnets field.
func (*Node) UnmarshalJSON ¶
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 ¶
func (a *NodeAPIService) CreateNode(ctx context.Context) ApiCreateNodeRequest
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 ¶
func (a *NodeAPIService) GetNodes(ctx context.Context) ApiGetNodesRequest
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 ¶
func (a *NodeAPIService) GetNodesExecute(r ApiGetNodesRequest) (*PaginatedNodeList, *http.Response, error)
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 ¶
func (v NodeConditionType) Ptr() *NodeConditionType
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 ¶
func (o *NodeConditionsRequest) GetItems() []NodeConditionRequest
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 ¶
func (o *NodeConditionsRequest) SetItems(v []NodeConditionRequest)
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 ¶
func (o *NodeDataUsageReportRequest) GetItems() []NodeDataUsageItemRequest
GetItems returns the Items field value
func (*NodeDataUsageReportRequest) GetItemsOk ¶
func (o *NodeDataUsageReportRequest) GetItemsOk() ([]NodeDataUsageItemRequest, bool)
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 ¶
func (o *NodeDataUsageReportRequest) SetItems(v []NodeDataUsageItemRequest)
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) 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) 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) 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 ¶
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) UnmarshalJSON ¶
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 (v NullableAccountStatus) Get() *AccountStatus
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 (v NullableAccountStatusEnum) Get() *AccountStatusEnum
func (NullableAccountStatusEnum) IsSet ¶
func (v NullableAccountStatusEnum) IsSet() bool
func (NullableAccountStatusEnum) MarshalJSON ¶
func (v NullableAccountStatusEnum) MarshalJSON() ([]byte, error)
func (*NullableAccountStatusEnum) Set ¶
func (v *NullableAccountStatusEnum) Set(val *AccountStatusEnum)
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 (v NullableAccountTokenPair) Get() *AccountTokenPair
func (NullableAccountTokenPair) IsSet ¶
func (v NullableAccountTokenPair) IsSet() bool
func (NullableAccountTokenPair) MarshalJSON ¶
func (v NullableAccountTokenPair) MarshalJSON() ([]byte, error)
func (*NullableAccountTokenPair) Set ¶
func (v *NullableAccountTokenPair) Set(val *AccountTokenPair)
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 NewNullableAccountTokenPairRequest ¶
func NewNullableAccountTokenPairRequest(val *AccountTokenPairRequest) *NullableAccountTokenPairRequest
func (NullableAccountTokenPairRequest) Get ¶
func (v NullableAccountTokenPairRequest) Get() *AccountTokenPairRequest
func (NullableAccountTokenPairRequest) IsSet ¶
func (v NullableAccountTokenPairRequest) IsSet() bool
func (NullableAccountTokenPairRequest) MarshalJSON ¶
func (v NullableAccountTokenPairRequest) MarshalJSON() ([]byte, error)
func (*NullableAccountTokenPairRequest) Set ¶
func (v *NullableAccountTokenPairRequest) Set(val *AccountTokenPairRequest)
func (*NullableAccountTokenPairRequest) UnmarshalJSON ¶
func (v *NullableAccountTokenPairRequest) UnmarshalJSON(src []byte) error
func (*NullableAccountTokenPairRequest) Unset ¶
func (v *NullableAccountTokenPairRequest) Unset()
type NullableAccountTokenRefresh ¶
type NullableAccountTokenRefresh struct {
// contains filtered or unexported fields
}
func NewNullableAccountTokenRefresh ¶
func NewNullableAccountTokenRefresh(val *AccountTokenRefresh) *NullableAccountTokenRefresh
func (NullableAccountTokenRefresh) Get ¶
func (v NullableAccountTokenRefresh) Get() *AccountTokenRefresh
func (NullableAccountTokenRefresh) IsSet ¶
func (v NullableAccountTokenRefresh) IsSet() bool
func (NullableAccountTokenRefresh) MarshalJSON ¶
func (v NullableAccountTokenRefresh) MarshalJSON() ([]byte, error)
func (*NullableAccountTokenRefresh) Set ¶
func (v *NullableAccountTokenRefresh) Set(val *AccountTokenRefresh)
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 NewNullableAccountTokenRefreshRequest ¶
func NewNullableAccountTokenRefreshRequest(val *AccountTokenRefreshRequest) *NullableAccountTokenRefreshRequest
func (NullableAccountTokenRefreshRequest) Get ¶
func (v NullableAccountTokenRefreshRequest) Get() *AccountTokenRefreshRequest
func (NullableAccountTokenRefreshRequest) IsSet ¶
func (v NullableAccountTokenRefreshRequest) IsSet() bool
func (NullableAccountTokenRefreshRequest) MarshalJSON ¶
func (v NullableAccountTokenRefreshRequest) MarshalJSON() ([]byte, error)
func (*NullableAccountTokenRefreshRequest) Set ¶
func (v *NullableAccountTokenRefreshRequest) Set(val *AccountTokenRefreshRequest)
func (*NullableAccountTokenRefreshRequest) UnmarshalJSON ¶
func (v *NullableAccountTokenRefreshRequest) UnmarshalJSON(src []byte) error
func (*NullableAccountTokenRefreshRequest) Unset ¶
func (v *NullableAccountTokenRefreshRequest) Unset()
type NullableBillingAccount ¶
type NullableBillingAccount struct {
// contains filtered or unexported fields
}
func NewNullableBillingAccount ¶
func NewNullableBillingAccount(val *BillingAccount) *NullableBillingAccount
func (NullableBillingAccount) Get ¶
func (v NullableBillingAccount) Get() *BillingAccount
func (NullableBillingAccount) IsSet ¶
func (v NullableBillingAccount) IsSet() bool
func (NullableBillingAccount) MarshalJSON ¶
func (v NullableBillingAccount) MarshalJSON() ([]byte, error)
func (*NullableBillingAccount) Set ¶
func (v *NullableBillingAccount) Set(val *BillingAccount)
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 (v NullableBillingDataQuota) Get() *BillingDataQuota
func (NullableBillingDataQuota) IsSet ¶
func (v NullableBillingDataQuota) IsSet() bool
func (NullableBillingDataQuota) MarshalJSON ¶
func (v NullableBillingDataQuota) MarshalJSON() ([]byte, error)
func (*NullableBillingDataQuota) Set ¶
func (v *NullableBillingDataQuota) Set(val *BillingDataQuota)
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 (v NullableBillingDeviceQuota) Get() *BillingDeviceQuota
func (NullableBillingDeviceQuota) IsSet ¶
func (v NullableBillingDeviceQuota) IsSet() bool
func (NullableBillingDeviceQuota) MarshalJSON ¶
func (v NullableBillingDeviceQuota) MarshalJSON() ([]byte, error)
func (*NullableBillingDeviceQuota) Set ¶
func (v *NullableBillingDeviceQuota) Set(val *BillingDeviceQuota)
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 (v NullableBillingOptions) Get() *BillingOptions
func (NullableBillingOptions) IsSet ¶
func (v NullableBillingOptions) IsSet() bool
func (NullableBillingOptions) MarshalJSON ¶
func (v NullableBillingOptions) MarshalJSON() ([]byte, error)
func (*NullableBillingOptions) Set ¶
func (v *NullableBillingOptions) Set(val *BillingOptions)
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 (v NullableBillingPeriod) Get() *BillingPeriod
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 (v NullableBillingUsage) Get() *BillingUsage
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 NewNullableCloudPaymentsCardDetails ¶
func NewNullableCloudPaymentsCardDetails(val *CloudPaymentsCardDetails) *NullableCloudPaymentsCardDetails
func (NullableCloudPaymentsCardDetails) Get ¶
func (v NullableCloudPaymentsCardDetails) Get() *CloudPaymentsCardDetails
func (NullableCloudPaymentsCardDetails) IsSet ¶
func (v NullableCloudPaymentsCardDetails) IsSet() bool
func (NullableCloudPaymentsCardDetails) MarshalJSON ¶
func (v NullableCloudPaymentsCardDetails) MarshalJSON() ([]byte, error)
func (*NullableCloudPaymentsCardDetails) Set ¶
func (v *NullableCloudPaymentsCardDetails) Set(val *CloudPaymentsCardDetails)
func (*NullableCloudPaymentsCardDetails) UnmarshalJSON ¶
func (v *NullableCloudPaymentsCardDetails) UnmarshalJSON(src []byte) error
func (*NullableCloudPaymentsCardDetails) Unset ¶
func (v *NullableCloudPaymentsCardDetails) Unset()
type NullableCloudPaymentsPaymentMethod ¶
type NullableCloudPaymentsPaymentMethod struct {
// contains filtered or unexported fields
}
func NewNullableCloudPaymentsPaymentMethod ¶
func NewNullableCloudPaymentsPaymentMethod(val *CloudPaymentsPaymentMethod) *NullableCloudPaymentsPaymentMethod
func (NullableCloudPaymentsPaymentMethod) Get ¶
func (v NullableCloudPaymentsPaymentMethod) Get() *CloudPaymentsPaymentMethod
func (NullableCloudPaymentsPaymentMethod) IsSet ¶
func (v NullableCloudPaymentsPaymentMethod) IsSet() bool
func (NullableCloudPaymentsPaymentMethod) MarshalJSON ¶
func (v NullableCloudPaymentsPaymentMethod) MarshalJSON() ([]byte, error)
func (*NullableCloudPaymentsPaymentMethod) Set ¶
func (v *NullableCloudPaymentsPaymentMethod) Set(val *CloudPaymentsPaymentMethod)
func (*NullableCloudPaymentsPaymentMethod) UnmarshalJSON ¶
func (v *NullableCloudPaymentsPaymentMethod) UnmarshalJSON(src []byte) error
func (*NullableCloudPaymentsPaymentMethod) Unset ¶
func (v *NullableCloudPaymentsPaymentMethod) Unset()
type NullableCloudPaymentsPaymentMethodCreateRequest ¶
type NullableCloudPaymentsPaymentMethodCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableCloudPaymentsPaymentMethodCreateRequest ¶
func NewNullableCloudPaymentsPaymentMethodCreateRequest(val *CloudPaymentsPaymentMethodCreateRequest) *NullableCloudPaymentsPaymentMethodCreateRequest
func (NullableCloudPaymentsPaymentMethodCreateRequest) IsSet ¶
func (v NullableCloudPaymentsPaymentMethodCreateRequest) IsSet() bool
func (NullableCloudPaymentsPaymentMethodCreateRequest) MarshalJSON ¶
func (v NullableCloudPaymentsPaymentMethodCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableCloudPaymentsPaymentMethodCreateRequest) UnmarshalJSON ¶
func (v *NullableCloudPaymentsPaymentMethodCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableCloudPaymentsPaymentMethodCreateRequest) Unset ¶
func (v *NullableCloudPaymentsPaymentMethodCreateRequest) Unset()
type NullableCloudPaymentsThreeDSecure ¶
type NullableCloudPaymentsThreeDSecure struct {
// contains filtered or unexported fields
}
func NewNullableCloudPaymentsThreeDSecure ¶
func NewNullableCloudPaymentsThreeDSecure(val *CloudPaymentsThreeDSecure) *NullableCloudPaymentsThreeDSecure
func (NullableCloudPaymentsThreeDSecure) Get ¶
func (v NullableCloudPaymentsThreeDSecure) Get() *CloudPaymentsThreeDSecure
func (NullableCloudPaymentsThreeDSecure) IsSet ¶
func (v NullableCloudPaymentsThreeDSecure) IsSet() bool
func (NullableCloudPaymentsThreeDSecure) MarshalJSON ¶
func (v NullableCloudPaymentsThreeDSecure) MarshalJSON() ([]byte, error)
func (*NullableCloudPaymentsThreeDSecure) Set ¶
func (v *NullableCloudPaymentsThreeDSecure) Set(val *CloudPaymentsThreeDSecure)
func (*NullableCloudPaymentsThreeDSecure) UnmarshalJSON ¶
func (v *NullableCloudPaymentsThreeDSecure) UnmarshalJSON(src []byte) error
func (*NullableCloudPaymentsThreeDSecure) Unset ¶
func (v *NullableCloudPaymentsThreeDSecure) Unset()
type NullableCloudPaymentsThreeDSecureCompleteRequest ¶
type NullableCloudPaymentsThreeDSecureCompleteRequest struct {
// contains filtered or unexported fields
}
func NewNullableCloudPaymentsThreeDSecureCompleteRequest ¶
func NewNullableCloudPaymentsThreeDSecureCompleteRequest(val *CloudPaymentsThreeDSecureCompleteRequest) *NullableCloudPaymentsThreeDSecureCompleteRequest
func (NullableCloudPaymentsThreeDSecureCompleteRequest) IsSet ¶
func (v NullableCloudPaymentsThreeDSecureCompleteRequest) IsSet() bool
func (NullableCloudPaymentsThreeDSecureCompleteRequest) MarshalJSON ¶
func (v NullableCloudPaymentsThreeDSecureCompleteRequest) MarshalJSON() ([]byte, error)
func (*NullableCloudPaymentsThreeDSecureCompleteRequest) UnmarshalJSON ¶
func (v *NullableCloudPaymentsThreeDSecureCompleteRequest) UnmarshalJSON(src []byte) error
func (*NullableCloudPaymentsThreeDSecureCompleteRequest) Unset ¶
func (v *NullableCloudPaymentsThreeDSecureCompleteRequest) Unset()
type NullableComparisonData ¶
type NullableComparisonData struct {
// contains filtered or unexported fields
}
func NewNullableComparisonData ¶
func NewNullableComparisonData(val *ComparisonData) *NullableComparisonData
func (NullableComparisonData) Get ¶
func (v NullableComparisonData) Get() *ComparisonData
func (NullableComparisonData) IsSet ¶
func (v NullableComparisonData) IsSet() bool
func (NullableComparisonData) MarshalJSON ¶
func (v NullableComparisonData) MarshalJSON() ([]byte, error)
func (*NullableComparisonData) Set ¶
func (v *NullableComparisonData) Set(val *ComparisonData)
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 (v NullableConnectionStatus) Get() *ConnectionStatus
func (NullableConnectionStatus) IsSet ¶
func (v NullableConnectionStatus) IsSet() bool
func (NullableConnectionStatus) MarshalJSON ¶
func (v NullableConnectionStatus) MarshalJSON() ([]byte, error)
func (*NullableConnectionStatus) Set ¶
func (v *NullableConnectionStatus) Set(val *ConnectionStatus)
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 (v NullableCountryRequest) Get() *CountryRequest
func (NullableCountryRequest) IsSet ¶
func (v NullableCountryRequest) IsSet() bool
func (NullableCountryRequest) MarshalJSON ¶
func (v NullableCountryRequest) MarshalJSON() ([]byte, error)
func (*NullableCountryRequest) Set ¶
func (v *NullableCountryRequest) Set(val *CountryRequest)
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 (v NullableDashboardAnalytics) Get() *DashboardAnalytics
func (NullableDashboardAnalytics) IsSet ¶
func (v NullableDashboardAnalytics) IsSet() bool
func (NullableDashboardAnalytics) MarshalJSON ¶
func (v NullableDashboardAnalytics) MarshalJSON() ([]byte, error)
func (*NullableDashboardAnalytics) Set ¶
func (v *NullableDashboardAnalytics) Set(val *DashboardAnalytics)
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 (v NullableDeviceAnalytics) Get() *DeviceAnalytics
func (NullableDeviceAnalytics) IsSet ¶
func (v NullableDeviceAnalytics) IsSet() bool
func (NullableDeviceAnalytics) MarshalJSON ¶
func (v NullableDeviceAnalytics) MarshalJSON() ([]byte, error)
func (*NullableDeviceAnalytics) Set ¶
func (v *NullableDeviceAnalytics) Set(val *DeviceAnalytics)
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 NewNullableDeviceAnalyticsDevice ¶
func NewNullableDeviceAnalyticsDevice(val *DeviceAnalyticsDevice) *NullableDeviceAnalyticsDevice
func (NullableDeviceAnalyticsDevice) Get ¶
func (v NullableDeviceAnalyticsDevice) Get() *DeviceAnalyticsDevice
func (NullableDeviceAnalyticsDevice) IsSet ¶
func (v NullableDeviceAnalyticsDevice) IsSet() bool
func (NullableDeviceAnalyticsDevice) MarshalJSON ¶
func (v NullableDeviceAnalyticsDevice) MarshalJSON() ([]byte, error)
func (*NullableDeviceAnalyticsDevice) Set ¶
func (v *NullableDeviceAnalyticsDevice) Set(val *DeviceAnalyticsDevice)
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 NewNullableDeviceCodeApproveRequest ¶
func NewNullableDeviceCodeApproveRequest(val *DeviceCodeApproveRequest) *NullableDeviceCodeApproveRequest
func (NullableDeviceCodeApproveRequest) Get ¶
func (v NullableDeviceCodeApproveRequest) Get() *DeviceCodeApproveRequest
func (NullableDeviceCodeApproveRequest) IsSet ¶
func (v NullableDeviceCodeApproveRequest) IsSet() bool
func (NullableDeviceCodeApproveRequest) MarshalJSON ¶
func (v NullableDeviceCodeApproveRequest) MarshalJSON() ([]byte, error)
func (*NullableDeviceCodeApproveRequest) Set ¶
func (v *NullableDeviceCodeApproveRequest) Set(val *DeviceCodeApproveRequest)
func (*NullableDeviceCodeApproveRequest) UnmarshalJSON ¶
func (v *NullableDeviceCodeApproveRequest) UnmarshalJSON(src []byte) error
func (*NullableDeviceCodeApproveRequest) Unset ¶
func (v *NullableDeviceCodeApproveRequest) Unset()
type NullableDeviceCodeRequest ¶
type NullableDeviceCodeRequest struct {
// contains filtered or unexported fields
}
func NewNullableDeviceCodeRequest ¶
func NewNullableDeviceCodeRequest(val *DeviceCodeRequest) *NullableDeviceCodeRequest
func (NullableDeviceCodeRequest) Get ¶
func (v NullableDeviceCodeRequest) Get() *DeviceCodeRequest
func (NullableDeviceCodeRequest) IsSet ¶
func (v NullableDeviceCodeRequest) IsSet() bool
func (NullableDeviceCodeRequest) MarshalJSON ¶
func (v NullableDeviceCodeRequest) MarshalJSON() ([]byte, error)
func (*NullableDeviceCodeRequest) Set ¶
func (v *NullableDeviceCodeRequest) Set(val *DeviceCodeRequest)
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 (v NullableDeviceCodeStatus) Get() *DeviceCodeStatus
func (NullableDeviceCodeStatus) IsSet ¶
func (v NullableDeviceCodeStatus) IsSet() bool
func (NullableDeviceCodeStatus) MarshalJSON ¶
func (v NullableDeviceCodeStatus) MarshalJSON() ([]byte, error)
func (*NullableDeviceCodeStatus) Set ¶
func (v *NullableDeviceCodeStatus) Set(val *DeviceCodeStatus)
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 (v NullableDeviceDataUsage) Get() *DeviceDataUsage
func (NullableDeviceDataUsage) IsSet ¶
func (v NullableDeviceDataUsage) IsSet() bool
func (NullableDeviceDataUsage) MarshalJSON ¶
func (v NullableDeviceDataUsage) MarshalJSON() ([]byte, error)
func (*NullableDeviceDataUsage) Set ¶
func (v *NullableDeviceDataUsage) Set(val *DeviceDataUsage)
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 NewNullableDeviceDataUsageRequest ¶
func NewNullableDeviceDataUsageRequest(val *DeviceDataUsageRequest) *NullableDeviceDataUsageRequest
func (NullableDeviceDataUsageRequest) Get ¶
func (v NullableDeviceDataUsageRequest) Get() *DeviceDataUsageRequest
func (NullableDeviceDataUsageRequest) IsSet ¶
func (v NullableDeviceDataUsageRequest) IsSet() bool
func (NullableDeviceDataUsageRequest) MarshalJSON ¶
func (v NullableDeviceDataUsageRequest) MarshalJSON() ([]byte, error)
func (*NullableDeviceDataUsageRequest) Set ¶
func (v *NullableDeviceDataUsageRequest) Set(val *DeviceDataUsageRequest)
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 (v NullableDeviceRequest) Get() *DeviceRequest
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 (v NullableEntitlement) Get() *Entitlement
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 (v NullableIPInfoRequest) Get() *IPInfoRequest
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 (v NullableInvoiceLine) Get() *InvoiceLine
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 (v NullableInvoiceStatus) Get() *InvoiceStatus
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 (v NullableInvoiceTotalDetails) Get() *InvoiceTotalDetails
func (NullableInvoiceTotalDetails) IsSet ¶
func (v NullableInvoiceTotalDetails) IsSet() bool
func (NullableInvoiceTotalDetails) MarshalJSON ¶
func (v NullableInvoiceTotalDetails) MarshalJSON() ([]byte, error)
func (*NullableInvoiceTotalDetails) Set ¶
func (v *NullableInvoiceTotalDetails) Set(val *InvoiceTotalDetails)
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 (v NullableLocationRegion) Get() *LocationRegion
func (NullableLocationRegion) IsSet ¶
func (v NullableLocationRegion) IsSet() bool
func (NullableLocationRegion) MarshalJSON ¶
func (v NullableLocationRegion) MarshalJSON() ([]byte, error)
func (*NullableLocationRegion) Set ¶
func (v *NullableLocationRegion) Set(val *LocationRegion)
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 NewNullableLocationRegionRequest ¶
func NewNullableLocationRegionRequest(val *LocationRegionRequest) *NullableLocationRegionRequest
func (NullableLocationRegionRequest) Get ¶
func (v NullableLocationRegionRequest) Get() *LocationRegionRequest
func (NullableLocationRegionRequest) IsSet ¶
func (v NullableLocationRegionRequest) IsSet() bool
func (NullableLocationRegionRequest) MarshalJSON ¶
func (v NullableLocationRegionRequest) MarshalJSON() ([]byte, error)
func (*NullableLocationRegionRequest) Set ¶
func (v *NullableLocationRegionRequest) Set(val *LocationRegionRequest)
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 (v NullableLocationRequest) Get() *LocationRequest
func (NullableLocationRequest) IsSet ¶
func (v NullableLocationRequest) IsSet() bool
func (NullableLocationRequest) MarshalJSON ¶
func (v NullableLocationRequest) MarshalJSON() ([]byte, error)
func (*NullableLocationRequest) Set ¶
func (v *NullableLocationRequest) Set(val *LocationRequest)
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 (v NullableNodeCondition) Get() *NodeCondition
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 (v NullableNodeConditionRequest) Get() *NodeConditionRequest
func (NullableNodeConditionRequest) IsSet ¶
func (v NullableNodeConditionRequest) IsSet() bool
func (NullableNodeConditionRequest) MarshalJSON ¶
func (v NullableNodeConditionRequest) MarshalJSON() ([]byte, error)
func (*NullableNodeConditionRequest) Set ¶
func (v *NullableNodeConditionRequest) Set(val *NodeConditionRequest)
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 (v NullableNodeConditionType) Get() *NodeConditionType
func (NullableNodeConditionType) IsSet ¶
func (v NullableNodeConditionType) IsSet() bool
func (NullableNodeConditionType) MarshalJSON ¶
func (v NullableNodeConditionType) MarshalJSON() ([]byte, error)
func (*NullableNodeConditionType) Set ¶
func (v *NullableNodeConditionType) Set(val *NodeConditionType)
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 NewNullableNodeConditionsRequest ¶
func NewNullableNodeConditionsRequest(val *NodeConditionsRequest) *NullableNodeConditionsRequest
func (NullableNodeConditionsRequest) Get ¶
func (v NullableNodeConditionsRequest) Get() *NodeConditionsRequest
func (NullableNodeConditionsRequest) IsSet ¶
func (v NullableNodeConditionsRequest) IsSet() bool
func (NullableNodeConditionsRequest) MarshalJSON ¶
func (v NullableNodeConditionsRequest) MarshalJSON() ([]byte, error)
func (*NullableNodeConditionsRequest) Set ¶
func (v *NullableNodeConditionsRequest) Set(val *NodeConditionsRequest)
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 NewNullableNodeDataUsageItemRequest ¶
func NewNullableNodeDataUsageItemRequest(val *NodeDataUsageItemRequest) *NullableNodeDataUsageItemRequest
func (NullableNodeDataUsageItemRequest) Get ¶
func (v NullableNodeDataUsageItemRequest) Get() *NodeDataUsageItemRequest
func (NullableNodeDataUsageItemRequest) IsSet ¶
func (v NullableNodeDataUsageItemRequest) IsSet() bool
func (NullableNodeDataUsageItemRequest) MarshalJSON ¶
func (v NullableNodeDataUsageItemRequest) MarshalJSON() ([]byte, error)
func (*NullableNodeDataUsageItemRequest) Set ¶
func (v *NullableNodeDataUsageItemRequest) Set(val *NodeDataUsageItemRequest)
func (*NullableNodeDataUsageItemRequest) UnmarshalJSON ¶
func (v *NullableNodeDataUsageItemRequest) UnmarshalJSON(src []byte) error
func (*NullableNodeDataUsageItemRequest) Unset ¶
func (v *NullableNodeDataUsageItemRequest) Unset()
type NullableNodeDataUsageReportRequest ¶
type NullableNodeDataUsageReportRequest struct {
// contains filtered or unexported fields
}
func NewNullableNodeDataUsageReportRequest ¶
func NewNullableNodeDataUsageReportRequest(val *NodeDataUsageReportRequest) *NullableNodeDataUsageReportRequest
func (NullableNodeDataUsageReportRequest) Get ¶
func (v NullableNodeDataUsageReportRequest) Get() *NodeDataUsageReportRequest
func (NullableNodeDataUsageReportRequest) IsSet ¶
func (v NullableNodeDataUsageReportRequest) IsSet() bool
func (NullableNodeDataUsageReportRequest) MarshalJSON ¶
func (v NullableNodeDataUsageReportRequest) MarshalJSON() ([]byte, error)
func (*NullableNodeDataUsageReportRequest) Set ¶
func (v *NullableNodeDataUsageReportRequest) Set(val *NodeDataUsageReportRequest)
func (*NullableNodeDataUsageReportRequest) UnmarshalJSON ¶
func (v *NullableNodeDataUsageReportRequest) UnmarshalJSON(src []byte) error
func (*NullableNodeDataUsageReportRequest) Unset ¶
func (v *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 (v NullableNodeRequest) Get() *NodeRequest
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 (v NullablePaginatedAccountList) Get() *PaginatedAccountList
func (NullablePaginatedAccountList) IsSet ¶
func (v NullablePaginatedAccountList) IsSet() bool
func (NullablePaginatedAccountList) MarshalJSON ¶
func (v NullablePaginatedAccountList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedAccountList) Set ¶
func (v *NullablePaginatedAccountList) Set(val *PaginatedAccountList)
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 (v NullablePaginatedDeviceList) Get() *PaginatedDeviceList
func (NullablePaginatedDeviceList) IsSet ¶
func (v NullablePaginatedDeviceList) IsSet() bool
func (NullablePaginatedDeviceList) MarshalJSON ¶
func (v NullablePaginatedDeviceList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedDeviceList) Set ¶
func (v *NullablePaginatedDeviceList) Set(val *PaginatedDeviceList)
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 NewNullablePaginatedLocationList ¶
func NewNullablePaginatedLocationList(val *PaginatedLocationList) *NullablePaginatedLocationList
func (NullablePaginatedLocationList) Get ¶
func (v NullablePaginatedLocationList) Get() *PaginatedLocationList
func (NullablePaginatedLocationList) IsSet ¶
func (v NullablePaginatedLocationList) IsSet() bool
func (NullablePaginatedLocationList) MarshalJSON ¶
func (v NullablePaginatedLocationList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedLocationList) Set ¶
func (v *NullablePaginatedLocationList) Set(val *PaginatedLocationList)
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 (v NullablePaginatedNodeList) Get() *PaginatedNodeList
func (NullablePaginatedNodeList) IsSet ¶
func (v NullablePaginatedNodeList) IsSet() bool
func (NullablePaginatedNodeList) MarshalJSON ¶
func (v NullablePaginatedNodeList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedNodeList) Set ¶
func (v *NullablePaginatedNodeList) Set(val *PaginatedNodeList)
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 NewNullablePaginatedPaymentMethodList ¶
func NewNullablePaginatedPaymentMethodList(val *PaginatedPaymentMethodList) *NullablePaginatedPaymentMethodList
func (NullablePaginatedPaymentMethodList) Get ¶
func (v NullablePaginatedPaymentMethodList) Get() *PaginatedPaymentMethodList
func (NullablePaginatedPaymentMethodList) IsSet ¶
func (v NullablePaginatedPaymentMethodList) IsSet() bool
func (NullablePaginatedPaymentMethodList) MarshalJSON ¶
func (v NullablePaginatedPaymentMethodList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedPaymentMethodList) Set ¶
func (v *NullablePaginatedPaymentMethodList) Set(val *PaginatedPaymentMethodList)
func (*NullablePaginatedPaymentMethodList) UnmarshalJSON ¶
func (v *NullablePaginatedPaymentMethodList) UnmarshalJSON(src []byte) error
func (*NullablePaginatedPaymentMethodList) Unset ¶
func (v *NullablePaginatedPaymentMethodList) Unset()
type NullablePaginatedProviderList ¶
type NullablePaginatedProviderList struct {
// contains filtered or unexported fields
}
func NewNullablePaginatedProviderList ¶
func NewNullablePaginatedProviderList(val *PaginatedProviderList) *NullablePaginatedProviderList
func (NullablePaginatedProviderList) Get ¶
func (v NullablePaginatedProviderList) Get() *PaginatedProviderList
func (NullablePaginatedProviderList) IsSet ¶
func (v NullablePaginatedProviderList) IsSet() bool
func (NullablePaginatedProviderList) MarshalJSON ¶
func (v NullablePaginatedProviderList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedProviderList) Set ¶
func (v *NullablePaginatedProviderList) Set(val *PaginatedProviderList)
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 NewNullablePaginatedSubscriptionList ¶
func NewNullablePaginatedSubscriptionList(val *PaginatedSubscriptionList) *NullablePaginatedSubscriptionList
func (NullablePaginatedSubscriptionList) Get ¶
func (v NullablePaginatedSubscriptionList) Get() *PaginatedSubscriptionList
func (NullablePaginatedSubscriptionList) IsSet ¶
func (v NullablePaginatedSubscriptionList) IsSet() bool
func (NullablePaginatedSubscriptionList) MarshalJSON ¶
func (v NullablePaginatedSubscriptionList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedSubscriptionList) Set ¶
func (v *NullablePaginatedSubscriptionList) Set(val *PaginatedSubscriptionList)
func (*NullablePaginatedSubscriptionList) UnmarshalJSON ¶
func (v *NullablePaginatedSubscriptionList) UnmarshalJSON(src []byte) error
func (*NullablePaginatedSubscriptionList) Unset ¶
func (v *NullablePaginatedSubscriptionList) Unset()
type NullablePaginatedWalletList ¶
type NullablePaginatedWalletList struct {
// contains filtered or unexported fields
}
func NewNullablePaginatedWalletList ¶
func NewNullablePaginatedWalletList(val *PaginatedWalletList) *NullablePaginatedWalletList
func (NullablePaginatedWalletList) Get ¶
func (v NullablePaginatedWalletList) Get() *PaginatedWalletList
func (NullablePaginatedWalletList) IsSet ¶
func (v NullablePaginatedWalletList) IsSet() bool
func (NullablePaginatedWalletList) MarshalJSON ¶
func (v NullablePaginatedWalletList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedWalletList) Set ¶
func (v *NullablePaginatedWalletList) Set(val *PaginatedWalletList)
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 NewNullablePaginatedWalletTransactionList ¶
func NewNullablePaginatedWalletTransactionList(val *PaginatedWalletTransactionList) *NullablePaginatedWalletTransactionList
func (NullablePaginatedWalletTransactionList) Get ¶
func (v NullablePaginatedWalletTransactionList) Get() *PaginatedWalletTransactionList
func (NullablePaginatedWalletTransactionList) IsSet ¶
func (v NullablePaginatedWalletTransactionList) IsSet() bool
func (NullablePaginatedWalletTransactionList) MarshalJSON ¶
func (v NullablePaginatedWalletTransactionList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedWalletTransactionList) Set ¶
func (v *NullablePaginatedWalletTransactionList) Set(val *PaginatedWalletTransactionList)
func (*NullablePaginatedWalletTransactionList) UnmarshalJSON ¶
func (v *NullablePaginatedWalletTransactionList) UnmarshalJSON(src []byte) error
func (*NullablePaginatedWalletTransactionList) Unset ¶
func (v *NullablePaginatedWalletTransactionList) Unset()
type NullablePatchedDeviceRequest ¶
type NullablePatchedDeviceRequest struct {
// contains filtered or unexported fields
}
func NewNullablePatchedDeviceRequest ¶
func NewNullablePatchedDeviceRequest(val *PatchedDeviceRequest) *NullablePatchedDeviceRequest
func (NullablePatchedDeviceRequest) Get ¶
func (v NullablePatchedDeviceRequest) Get() *PatchedDeviceRequest
func (NullablePatchedDeviceRequest) IsSet ¶
func (v NullablePatchedDeviceRequest) IsSet() bool
func (NullablePatchedDeviceRequest) MarshalJSON ¶
func (v NullablePatchedDeviceRequest) MarshalJSON() ([]byte, error)
func (*NullablePatchedDeviceRequest) Set ¶
func (v *NullablePatchedDeviceRequest) Set(val *PatchedDeviceRequest)
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 (v NullablePatchedNodeRequest) Get() *PatchedNodeRequest
func (NullablePatchedNodeRequest) IsSet ¶
func (v NullablePatchedNodeRequest) IsSet() bool
func (NullablePatchedNodeRequest) MarshalJSON ¶
func (v NullablePatchedNodeRequest) MarshalJSON() ([]byte, error)
func (*NullablePatchedNodeRequest) Set ¶
func (v *NullablePatchedNodeRequest) Set(val *PatchedNodeRequest)
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 (v NullablePaymentMethod) Get() *PaymentMethod
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 (v NullablePaymentMethodCard) Get() *PaymentMethodCard
func (NullablePaymentMethodCard) IsSet ¶
func (v NullablePaymentMethodCard) IsSet() bool
func (NullablePaymentMethodCard) MarshalJSON ¶
func (v NullablePaymentMethodCard) MarshalJSON() ([]byte, error)
func (*NullablePaymentMethodCard) Set ¶
func (v *NullablePaymentMethodCard) Set(val *PaymentMethodCard)
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 (v NullablePriceDiffInfo) Get() *PriceDiffInfo
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 (v NullableProviderDetail) Get() *ProviderDetail
func (NullableProviderDetail) IsSet ¶
func (v NullableProviderDetail) IsSet() bool
func (NullableProviderDetail) MarshalJSON ¶
func (v NullableProviderDetail) MarshalJSON() ([]byte, error)
func (*NullableProviderDetail) Set ¶
func (v *NullableProviderDetail) Set(val *ProviderDetail)
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 (v NullableRegionDetail) Get() *RegionDetail
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 NewNullableSetDefaultPaymentMethodRequest ¶
func NewNullableSetDefaultPaymentMethodRequest(val *SetDefaultPaymentMethodRequest) *NullableSetDefaultPaymentMethodRequest
func (NullableSetDefaultPaymentMethodRequest) Get ¶
func (v NullableSetDefaultPaymentMethodRequest) Get() *SetDefaultPaymentMethodRequest
func (NullableSetDefaultPaymentMethodRequest) IsSet ¶
func (v NullableSetDefaultPaymentMethodRequest) IsSet() bool
func (NullableSetDefaultPaymentMethodRequest) MarshalJSON ¶
func (v NullableSetDefaultPaymentMethodRequest) MarshalJSON() ([]byte, error)
func (*NullableSetDefaultPaymentMethodRequest) Set ¶
func (v *NullableSetDefaultPaymentMethodRequest) Set(val *SetDefaultPaymentMethodRequest)
func (*NullableSetDefaultPaymentMethodRequest) UnmarshalJSON ¶
func (v *NullableSetDefaultPaymentMethodRequest) UnmarshalJSON(src []byte) error
func (*NullableSetDefaultPaymentMethodRequest) Unset ¶
func (v *NullableSetDefaultPaymentMethodRequest) Unset()
type NullableSetNodeRequest ¶
type NullableSetNodeRequest struct {
// contains filtered or unexported fields
}
func NewNullableSetNodeRequest ¶
func NewNullableSetNodeRequest(val *SetNodeRequest) *NullableSetNodeRequest
func (NullableSetNodeRequest) Get ¶
func (v NullableSetNodeRequest) Get() *SetNodeRequest
func (NullableSetNodeRequest) IsSet ¶
func (v NullableSetNodeRequest) IsSet() bool
func (NullableSetNodeRequest) MarshalJSON ¶
func (v NullableSetNodeRequest) MarshalJSON() ([]byte, error)
func (*NullableSetNodeRequest) Set ¶
func (v *NullableSetNodeRequest) Set(val *SetNodeRequest)
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 (v NullableStripeSetupIntent) Get() *StripeSetupIntent
func (NullableStripeSetupIntent) IsSet ¶
func (v NullableStripeSetupIntent) IsSet() bool
func (NullableStripeSetupIntent) MarshalJSON ¶
func (v NullableStripeSetupIntent) MarshalJSON() ([]byte, error)
func (*NullableStripeSetupIntent) Set ¶
func (v *NullableStripeSetupIntent) Set(val *StripeSetupIntent)
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 (v NullableSubscription) Get() *Subscription
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 NewNullableSubscriptionChangePlanRequest ¶
func NewNullableSubscriptionChangePlanRequest(val *SubscriptionChangePlanRequest) *NullableSubscriptionChangePlanRequest
func (NullableSubscriptionChangePlanRequest) Get ¶
func (v NullableSubscriptionChangePlanRequest) Get() *SubscriptionChangePlanRequest
func (NullableSubscriptionChangePlanRequest) IsSet ¶
func (v NullableSubscriptionChangePlanRequest) IsSet() bool
func (NullableSubscriptionChangePlanRequest) MarshalJSON ¶
func (v NullableSubscriptionChangePlanRequest) MarshalJSON() ([]byte, error)
func (*NullableSubscriptionChangePlanRequest) Set ¶
func (v *NullableSubscriptionChangePlanRequest) Set(val *SubscriptionChangePlanRequest)
func (*NullableSubscriptionChangePlanRequest) UnmarshalJSON ¶
func (v *NullableSubscriptionChangePlanRequest) UnmarshalJSON(src []byte) error
func (*NullableSubscriptionChangePlanRequest) Unset ¶
func (v *NullableSubscriptionChangePlanRequest) Unset()
type NullableSubscriptionCreationRequest ¶
type NullableSubscriptionCreationRequest struct {
// contains filtered or unexported fields
}
func NewNullableSubscriptionCreationRequest ¶
func NewNullableSubscriptionCreationRequest(val *SubscriptionCreationRequest) *NullableSubscriptionCreationRequest
func (NullableSubscriptionCreationRequest) Get ¶
func (v NullableSubscriptionCreationRequest) Get() *SubscriptionCreationRequest
func (NullableSubscriptionCreationRequest) IsSet ¶
func (v NullableSubscriptionCreationRequest) IsSet() bool
func (NullableSubscriptionCreationRequest) MarshalJSON ¶
func (v NullableSubscriptionCreationRequest) MarshalJSON() ([]byte, error)
func (*NullableSubscriptionCreationRequest) Set ¶
func (v *NullableSubscriptionCreationRequest) Set(val *SubscriptionCreationRequest)
func (*NullableSubscriptionCreationRequest) UnmarshalJSON ¶
func (v *NullableSubscriptionCreationRequest) UnmarshalJSON(src []byte) error
func (*NullableSubscriptionCreationRequest) Unset ¶
func (v *NullableSubscriptionCreationRequest) Unset()
type NullableSubscriptionPendingUpdate ¶
type NullableSubscriptionPendingUpdate struct {
// contains filtered or unexported fields
}
func NewNullableSubscriptionPendingUpdate ¶
func NewNullableSubscriptionPendingUpdate(val *SubscriptionPendingUpdate) *NullableSubscriptionPendingUpdate
func (NullableSubscriptionPendingUpdate) Get ¶
func (v NullableSubscriptionPendingUpdate) Get() *SubscriptionPendingUpdate
func (NullableSubscriptionPendingUpdate) IsSet ¶
func (v NullableSubscriptionPendingUpdate) IsSet() bool
func (NullableSubscriptionPendingUpdate) MarshalJSON ¶
func (v NullableSubscriptionPendingUpdate) MarshalJSON() ([]byte, error)
func (*NullableSubscriptionPendingUpdate) Set ¶
func (v *NullableSubscriptionPendingUpdate) Set(val *SubscriptionPendingUpdate)
func (*NullableSubscriptionPendingUpdate) UnmarshalJSON ¶
func (v *NullableSubscriptionPendingUpdate) UnmarshalJSON(src []byte) error
func (*NullableSubscriptionPendingUpdate) Unset ¶
func (v *NullableSubscriptionPendingUpdate) Unset()
type NullableSubscriptionStatus ¶
type NullableSubscriptionStatus struct {
// contains filtered or unexported fields
}
func NewNullableSubscriptionStatus ¶
func NewNullableSubscriptionStatus(val *SubscriptionStatus) *NullableSubscriptionStatus
func (NullableSubscriptionStatus) Get ¶
func (v NullableSubscriptionStatus) Get() *SubscriptionStatus
func (NullableSubscriptionStatus) IsSet ¶
func (v NullableSubscriptionStatus) IsSet() bool
func (NullableSubscriptionStatus) MarshalJSON ¶
func (v NullableSubscriptionStatus) MarshalJSON() ([]byte, error)
func (*NullableSubscriptionStatus) Set ¶
func (v *NullableSubscriptionStatus) Set(val *SubscriptionStatus)
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 (v NullableSummaryPeriod) Get() *SummaryPeriod
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 (v NullableTimelineEvent) Get() *TimelineEvent
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 (v NullableTimelineEventType) Get() *TimelineEventType
func (NullableTimelineEventType) IsSet ¶
func (v NullableTimelineEventType) IsSet() bool
func (NullableTimelineEventType) MarshalJSON ¶
func (v NullableTimelineEventType) MarshalJSON() ([]byte, error)
func (*NullableTimelineEventType) Set ¶
func (v *NullableTimelineEventType) Set(val *TimelineEventType)
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 (v NullableTransactionType) Get() *TransactionType
func (NullableTransactionType) IsSet ¶
func (v NullableTransactionType) IsSet() bool
func (NullableTransactionType) MarshalJSON ¶
func (v NullableTransactionType) MarshalJSON() ([]byte, error)
func (*NullableTransactionType) Set ¶
func (v *NullableTransactionType) Set(val *TransactionType)
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 (v NullableWalletStatus) Get() *WalletStatus
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 (v NullableWalletTransaction) Get() *WalletTransaction
func (NullableWalletTransaction) IsSet ¶
func (v NullableWalletTransaction) IsSet() bool
func (NullableWalletTransaction) MarshalJSON ¶
func (v NullableWalletTransaction) MarshalJSON() ([]byte, error)
func (*NullableWalletTransaction) Set ¶
func (v *NullableWalletTransaction) Set(val *WalletTransaction)
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 ¶
func (o *PaginatedWalletTransactionList) GetNext() string
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 ¶
func (o *PaginatedWalletTransactionList) GetResults() []WalletTransaction
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 ¶
func (o *PaginatedWalletTransactionList) SetResults(v []WalletTransaction)
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) SetProvider ¶
func (o *PaymentMethod) SetProvider(v string)
SetProvider 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 ¶
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) GetEndOk ¶
GetEndOk returns a tuple with the End field value and a boolean to check if the value has been set.
func (*Period) GetStartOk ¶
GetStartOk returns a tuple with the Start field value and a boolean to check if the value has been set.
func (Period) MarshalJSON ¶
func (*Period) UnmarshalJSON ¶
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 ¶
GetCurrencies returns the Currencies field value If the value is explicit nil, the zero value for string will be returned
func (*Plan) GetCurrenciesOk ¶
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 ¶
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Plan) GetDescriptionOk ¶
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Plan) GetIsMostPopular ¶
GetIsMostPopular returns the IsMostPopular field value if set, zero value otherwise.
func (*Plan) GetIsMostPopularOk ¶
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) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Plan) GetPrices ¶
GetPrices returns the Prices field value If the value is explicit nil, the zero value for []PlanPrice will be returned
func (*Plan) GetPricesOk ¶
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) GetSlugOk ¶
GetSlugOk returns a tuple with the Slug field value and a boolean to check if the value has been set.
func (*Plan) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Plan) HasIsMostPopular ¶
HasIsMostPopular returns a boolean if a field has been set.
func (Plan) MarshalJSON ¶
func (*Plan) SetDescription ¶
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) SetIsMostPopular ¶
SetIsMostPopular gets a reference to the given bool and assigns it to the IsMostPopular field.
func (*Plan) UnmarshalJSON ¶
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) GetAmountOk ¶
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*PlanPrice) GetCurrency ¶
GetCurrency returns the Currency field value
func (*PlanPrice) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*PlanPrice) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*PlanPrice) GetInterval ¶
GetInterval returns the Interval field value if set, zero value otherwise.
func (*PlanPrice) GetIntervalOk ¶
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 ¶
GetIsEligibleForTrial returns the IsEligibleForTrial field value
func (*PlanPrice) GetIsEligibleForTrialOk ¶
GetIsEligibleForTrialOk returns a tuple with the IsEligibleForTrial field value and a boolean to check if the value has been set.
func (*PlanPrice) GetIsMostPopular ¶
GetIsMostPopular returns the IsMostPopular field value if set, zero value otherwise.
func (*PlanPrice) GetIsMostPopularOk ¶
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 ¶
GetTrialDays returns the TrialDays field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PlanPrice) GetTrialDaysOk ¶
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 ¶
HasInterval returns a boolean if a field has been set.
func (*PlanPrice) HasIsMostPopular ¶
HasIsMostPopular returns a boolean if a field has been set.
func (*PlanPrice) HasTrialDays ¶
HasTrialDays returns a boolean if a field has been set.
func (PlanPrice) MarshalJSON ¶
func (*PlanPrice) SetCurrency ¶
SetCurrency sets field value
func (*PlanPrice) SetInterval ¶
SetInterval gets a reference to the given Interval and assigns it to the Interval field.
func (*PlanPrice) SetIsEligibleForTrial ¶
SetIsEligibleForTrial sets field value
func (*PlanPrice) SetIsMostPopular ¶
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 ¶
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) UnmarshalJSON ¶
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 ¶
GetApiUrl returns the ApiUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Provider) GetApiUrlOk ¶
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 ¶
GetCreatedAt returns the CreatedAt field value
func (*Provider) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Provider) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Provider) GetDescriptionOk ¶
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 ¶
GetIcon returns the Icon field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Provider) GetIconOk ¶
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Provider) GetIsDeleted ¶
GetIsDeleted returns the IsDeleted field value
func (*Provider) GetIsDeletedOk ¶
GetIsDeletedOk returns a tuple with the IsDeleted field value and a boolean to check if the value has been set.
func (*Provider) GetIsVerified ¶
GetIsVerified returns the IsVerified field value
func (*Provider) GetIsVerifiedOk ¶
GetIsVerifiedOk returns a tuple with the IsVerified field value and a boolean to check if the value has been set.
func (*Provider) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Provider) GetRatingOk ¶
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 ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Provider) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Provider) GetWebsiteUrl ¶
GetWebsiteUrl returns the WebsiteUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Provider) GetWebsiteUrlOk ¶
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) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Provider) HasWebsiteUrl ¶
HasWebsiteUrl returns a boolean if a field has been set.
func (Provider) MarshalJSON ¶
func (*Provider) SetApiUrl ¶
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 ¶
SetCreatedAt sets field value
func (*Provider) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Provider) SetIcon ¶
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) SetIsDeleted ¶
SetIsDeleted sets field value
func (*Provider) SetIsVerified ¶
SetIsVerified sets field value
func (*Provider) SetRating ¶
SetRating gets a reference to the given float64 and assigns it to the Rating field.
func (*Provider) SetUpdatedAt ¶
SetUpdatedAt sets field value
func (*Provider) SetWebsiteUrl ¶
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) UnmarshalJSON ¶
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 ¶
func (a *ProviderAPIService) GetProviderExecute(r ApiGetProviderRequest) (*ProviderDetail, *http.Response, error)
Execute executes the request
@return ProviderDetail
func (*ProviderAPIService) GetProviders ¶
func (a *ProviderAPIService) GetProviders(ctx context.Context) ApiGetProvidersRequest
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 ¶
func (a *ProviderAPIService) GetProvidersExecute(r ApiGetProvidersRequest) (*PaginatedProviderList, *http.Response, error)
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) 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 ¶
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) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*Region) GetCountries ¶
GetCountries returns the Countries field value if set, zero value otherwise.
func (*Region) GetCountriesOk ¶
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 ¶
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Region) GetDescriptionOk ¶
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Region) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Region) HasCountries ¶
HasCountries returns a boolean if a field has been set.
func (*Region) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Region) MarshalJSON ¶
func (*Region) SetCountries ¶
SetCountries gets a reference to the given []Country and assigns it to the Countries field.
func (*Region) SetDescription ¶
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) UnmarshalJSON ¶
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) 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) 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) 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
type ServerVariable ¶
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) 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) 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) 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 ¶
func (v SubscriptionStatus) Ptr() *SubscriptionStatus
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 ¶
GetCurrency returns the Currency field value If the value is explicit nil, the zero value for string will be returned
func (*Timeline) GetCurrencyOk ¶
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 ¶
GetProratedAmount returns the ProratedAmount field value If the value is explicit nil, the zero value for float64 will be returned
func (*Timeline) GetProratedAmountOk ¶
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 (*Timeline) SetCurrency ¶
SetCurrency sets field value
func (*Timeline) SetEvents ¶
func (o *Timeline) SetEvents(v []TimelineEvent)
SetEvents sets field value
func (*Timeline) SetProratedAmount ¶
SetProratedAmount sets field value
func (*Timeline) UnmarshalJSON ¶
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 ¶
func (v TimelineEventType) Ptr() *TimelineEventType
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) 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 ¶
func (v TransactionType) Ptr() *TransactionType
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 ¶
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) UnmarshalJSON ¶
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 ¶
GetBalance returns the Balance field value
func (*Wallet) GetBalanceOk ¶
GetBalanceOk returns a tuple with the Balance field value and a boolean to check if the value has been set.
func (*Wallet) GetConsumedBalance ¶
GetConsumedBalance returns the ConsumedBalance field value
func (*Wallet) GetConsumedBalanceOk ¶
GetConsumedBalanceOk returns a tuple with the ConsumedBalance field value and a boolean to check if the value has been set.
func (*Wallet) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Wallet) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Wallet) GetCreditsBalance ¶
GetCreditsBalance returns the CreditsBalance field value
func (*Wallet) GetCreditsBalanceOk ¶
GetCreditsBalanceOk returns a tuple with the CreditsBalance field value and a boolean to check if the value has been set.
func (*Wallet) GetCurrency ¶
GetCurrency returns the Currency field value
func (*Wallet) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*Wallet) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Wallet) GetIsActive ¶
GetIsActive returns the IsActive field value
func (*Wallet) GetIsActiveOk ¶
GetIsActiveOk returns a tuple with the IsActive field value and a boolean to check if the value has been set.
func (*Wallet) GetNameOk ¶
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 ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Wallet) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (Wallet) MarshalJSON ¶
func (*Wallet) SetConsumedBalance ¶
SetConsumedBalance sets field value
func (*Wallet) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Wallet) SetCreditsBalance ¶
SetCreditsBalance sets field value
func (*Wallet) SetRecentTransactions ¶
func (o *Wallet) SetRecentTransactions(v []WalletTransaction)
SetRecentTransactions sets field value
func (*Wallet) SetUpdatedAt ¶
SetUpdatedAt sets field value
func (*Wallet) UnmarshalJSON ¶
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
¶
- api_account.go
- api_billing.go
- api_cloudpayments.go
- api_device.go
- api_geo.go
- api_node.go
- api_provider.go
- api_stripe.go
- client.go
- configuration.go
- model_account.go
- model_account_status.go
- model_account_status_enum.go
- model_account_token_pair.go
- model_account_token_pair_request.go
- model_account_token_refresh.go
- model_account_token_refresh_request.go
- model_asn.go
- model_asn_request.go
- model_billing_account.go
- model_billing_data_quota.go
- model_billing_device_quota.go
- model_billing_options.go
- model_billing_period.go
- model_billing_usage.go
- model_cloud_payments_card_details.go
- model_cloud_payments_payment_method.go
- model_cloud_payments_payment_method_create_request.go
- model_cloud_payments_three_d_secure.go
- model_cloud_payments_three_d_secure_complete_request.go
- model_comparison_data.go
- model_condition.go
- model_connection_status.go
- model_country.go
- model_country_request.go
- model_currency.go
- model_dashboard_analytics.go
- model_data_point.go
- model_device.go
- model_device_analytics.go
- model_device_analytics_device.go
- model_device_code.go
- model_device_code_approve_request.go
- model_device_code_request.go
- model_device_code_status.go
- model_device_data.go
- model_device_data_usage.go
- model_device_data_usage_request.go
- model_device_request.go
- model_entitlement.go
- model_interval.go
- model_invoice.go
- model_invoice_line.go
- model_invoice_status.go
- model_invoice_total_details.go
- model_ip_info.go
- model_ip_info_request.go
- model_location.go
- model_location_region.go
- model_location_region_request.go
- model_location_request.go
- model_managed_by.go
- model_node.go
- model_node_condition.go
- model_node_condition_request.go
- model_node_condition_type.go
- model_node_conditions_request.go
- model_node_data_usage_item_request.go
- model_node_data_usage_report_request.go
- model_node_device.go
- model_node_request.go
- model_node_status.go
- model_null.go
- model_paginated_account_list.go
- model_paginated_device_list.go
- model_paginated_location_list.go
- model_paginated_node_list.go
- model_paginated_payment_method_list.go
- model_paginated_provider_list.go
- model_paginated_subscription_list.go
- model_paginated_wallet_list.go
- model_paginated_wallet_transaction_list.go
- model_patched_device_request.go
- model_patched_node_request.go
- model_payment_method.go
- model_payment_method_card.go
- model_period.go
- model_plan.go
- model_plan_price.go
- model_price_diff_info.go
- model_provider.go
- model_provider_detail.go
- model_region.go
- model_region_detail.go
- model_set_default_payment_method_request.go
- model_set_node_request.go
- model_stripe_setup_intent.go
- model_subscription.go
- model_subscription_change_plan_request.go
- model_subscription_creation_request.go
- model_subscription_pending_update.go
- model_subscription_status.go
- model_summary_period.go
- model_timeline.go
- model_timeline_event.go
- model_timeline_event_type.go
- model_top_devices.go
- model_transaction_type.go
- model_type.go
- model_wallet.go
- model_wallet_status.go
- model_wallet_transaction.go
- response.go
- utils.go