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 ApiCheckIntegrationRequest
- type ApiConnectStripeRequest
- type ApiCreateCustomerRequest
- type ApiCreateCustomerTokenRequest
- type ApiCreateLicenseRequest
- type ApiCreateLicenseTokenRequest
- type ApiCreateMachineTokenRequest
- type ApiCreatePolicyRequest
- type ApiCreatePortalLinkRequest
- type ApiCreateProductRequest
- type ApiCreateReleaseRequest
- type ApiCreateStripeMappingRequest
- type ApiDeactivateMachineRequest
- type ApiDeleteCustomerRequest
- type ApiDeleteLicenseRequest
- type ApiDeletePolicyRequest
- type ApiDeleteProductLogoRequest
- type ApiDeleteProductRequest
- type ApiDeleteReleaseRequest
- type ApiDeleteStripeMappingRequest
- type ApiDisconnectIntegrationRequest
- type ApiGetCustomerRequest
- type ApiGetLicenseRequest
- type ApiGetLicenseStatsRequest
- type ApiGetMachineRequest
- type ApiGetPolicyRequest
- type ApiGetPortalRequest
- type ApiGetProductRequest
- type ApiGetProductStatsRequest
- type ApiGetReleaseRequest
- type ApiGetSigningKeyRequest
- type ApiGetStripeIntegrationRequest
- type ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) CreatedFrom(createdFrom time.Time) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) CreatedTo(createdTo time.Time) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) Currency(currency string) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) Execute() (*LicenseList, *http.Response, error)
- func (r ApiListCustomerLicensesRequest) ExpiresFrom(expiresFrom time.Time) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) ExpiresTo(expiresTo time.Time) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) HasPrice(hasPrice string) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) Key(key string) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) LastActivatedFrom(lastActivatedFrom time.Time) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) LastActivatedTo(lastActivatedTo time.Time) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) MachineVersion(machineVersion string) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) NeverActivated(neverActivated string) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) NeverExpires(neverExpires string) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) Page(page int32) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) PageSize(pageSize int32) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) PolicyId(policyId string) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) Price(price float32) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) PriceMax(priceMax float32) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) PriceMin(priceMin float32) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) Search(search string) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) Sort(sort string) ApiListCustomerLicensesRequest
- func (r ApiListCustomerLicensesRequest) Status(status LicenseStatus) ApiListCustomerLicensesRequest
- type ApiListCustomersRequest
- func (r ApiListCustomersRequest) Email(email string) ApiListCustomersRequest
- func (r ApiListCustomersRequest) Execute() (*CustomerList, *http.Response, error)
- func (r ApiListCustomersRequest) Page(page int32) ApiListCustomersRequest
- func (r ApiListCustomersRequest) PageSize(pageSize int32) ApiListCustomersRequest
- func (r ApiListCustomersRequest) Search(search string) ApiListCustomersRequest
- func (r ApiListCustomersRequest) Sort(sort string) ApiListCustomersRequest
- type ApiListLicenseEventsRequest
- func (r ApiListLicenseEventsRequest) Execute() (*EventList, *http.Response, error)
- func (r ApiListLicenseEventsRequest) MachineId(machineId string) ApiListLicenseEventsRequest
- func (r ApiListLicenseEventsRequest) Page(page int32) ApiListLicenseEventsRequest
- func (r ApiListLicenseEventsRequest) PageSize(pageSize int32) ApiListLicenseEventsRequest
- func (r ApiListLicenseEventsRequest) Sort(sort string) ApiListLicenseEventsRequest
- func (r ApiListLicenseEventsRequest) Type_(type_ ListPolicyEventsTypeParameter) ApiListLicenseEventsRequest
- type ApiListLicensesRequest
- func (r ApiListLicensesRequest) CreatedFrom(createdFrom time.Time) ApiListLicensesRequest
- func (r ApiListLicensesRequest) CreatedTo(createdTo time.Time) ApiListLicensesRequest
- func (r ApiListLicensesRequest) Currency(currency string) ApiListLicensesRequest
- func (r ApiListLicensesRequest) CustomerId(customerId string) ApiListLicensesRequest
- func (r ApiListLicensesRequest) Execute() (*LicenseList, *http.Response, error)
- func (r ApiListLicensesRequest) ExpiresFrom(expiresFrom time.Time) ApiListLicensesRequest
- func (r ApiListLicensesRequest) ExpiresTo(expiresTo time.Time) ApiListLicensesRequest
- func (r ApiListLicensesRequest) HasPrice(hasPrice string) ApiListLicensesRequest
- func (r ApiListLicensesRequest) Key(key string) ApiListLicensesRequest
- func (r ApiListLicensesRequest) LastActivatedFrom(lastActivatedFrom time.Time) ApiListLicensesRequest
- func (r ApiListLicensesRequest) LastActivatedTo(lastActivatedTo time.Time) ApiListLicensesRequest
- func (r ApiListLicensesRequest) MachineVersion(machineVersion string) ApiListLicensesRequest
- func (r ApiListLicensesRequest) NeverActivated(neverActivated string) ApiListLicensesRequest
- func (r ApiListLicensesRequest) NeverExpires(neverExpires string) ApiListLicensesRequest
- func (r ApiListLicensesRequest) Page(page int32) ApiListLicensesRequest
- func (r ApiListLicensesRequest) PageSize(pageSize int32) ApiListLicensesRequest
- func (r ApiListLicensesRequest) PolicyId(policyId string) ApiListLicensesRequest
- func (r ApiListLicensesRequest) Price(price float32) ApiListLicensesRequest
- func (r ApiListLicensesRequest) PriceMax(priceMax float32) ApiListLicensesRequest
- func (r ApiListLicensesRequest) PriceMin(priceMin float32) ApiListLicensesRequest
- func (r ApiListLicensesRequest) Search(search string) ApiListLicensesRequest
- func (r ApiListLicensesRequest) Sort(sort string) ApiListLicensesRequest
- func (r ApiListLicensesRequest) Status(status LicenseStatus) ApiListLicensesRequest
- type ApiListMachinesRequest
- func (r ApiListMachinesRequest) Execute() (*MachineList, *http.Response, error)
- func (r ApiListMachinesRequest) Fingerprint(fingerprint string) ApiListMachinesRequest
- func (r ApiListMachinesRequest) Page(page int32) ApiListMachinesRequest
- func (r ApiListMachinesRequest) PageSize(pageSize int32) ApiListMachinesRequest
- func (r ApiListMachinesRequest) Search(search string) ApiListMachinesRequest
- func (r ApiListMachinesRequest) Sort(sort string) ApiListMachinesRequest
- func (r ApiListMachinesRequest) Status(status string) ApiListMachinesRequest
- type ApiListPoliciesRequest
- func (r ApiListPoliciesRequest) Execute() (*PolicyList, *http.Response, error)
- func (r ApiListPoliciesRequest) IsDefault(isDefault string) ApiListPoliciesRequest
- func (r ApiListPoliciesRequest) LicenseCount(licenseCount int32) ApiListPoliciesRequest
- func (r ApiListPoliciesRequest) LicenseCountMax(licenseCountMax int32) ApiListPoliciesRequest
- func (r ApiListPoliciesRequest) LicenseCountMin(licenseCountMin int32) ApiListPoliciesRequest
- func (r ApiListPoliciesRequest) Page(page int32) ApiListPoliciesRequest
- func (r ApiListPoliciesRequest) PageSize(pageSize int32) ApiListPoliciesRequest
- func (r ApiListPoliciesRequest) Search(search string) ApiListPoliciesRequest
- func (r ApiListPoliciesRequest) Slug(slug string) ApiListPoliciesRequest
- func (r ApiListPoliciesRequest) Sort(sort string) ApiListPoliciesRequest
- type ApiListPolicyEventsRequest
- func (r ApiListPolicyEventsRequest) Execute() (*EventList, *http.Response, error)
- func (r ApiListPolicyEventsRequest) Page(page int32) ApiListPolicyEventsRequest
- func (r ApiListPolicyEventsRequest) PageSize(pageSize int32) ApiListPolicyEventsRequest
- func (r ApiListPolicyEventsRequest) Sort(sort string) ApiListPolicyEventsRequest
- func (r ApiListPolicyEventsRequest) Type_(type_ ListPolicyEventsTypeParameter) ApiListPolicyEventsRequest
- type ApiListProductsRequest
- func (r ApiListProductsRequest) Execute() (*ProductList, *http.Response, error)
- func (r ApiListProductsRequest) IsTest(isTest string) ApiListProductsRequest
- func (r ApiListProductsRequest) Page(page int32) ApiListProductsRequest
- func (r ApiListProductsRequest) PageSize(pageSize int32) ApiListProductsRequest
- func (r ApiListProductsRequest) Search(search string) ApiListProductsRequest
- func (r ApiListProductsRequest) Slug(slug string) ApiListProductsRequest
- func (r ApiListProductsRequest) Sort(sort string) ApiListProductsRequest
- type ApiListReleasesRequest
- func (r ApiListReleasesRequest) ActiveMachineCount(activeMachineCount int32) ApiListReleasesRequest
- func (r ApiListReleasesRequest) ActiveMachineCountMax(activeMachineCountMax int32) ApiListReleasesRequest
- func (r ApiListReleasesRequest) ActiveMachineCountMin(activeMachineCountMin int32) ApiListReleasesRequest
- func (r ApiListReleasesRequest) Execute() (*ReleaseList, *http.Response, error)
- func (r ApiListReleasesRequest) Page(page int32) ApiListReleasesRequest
- func (r ApiListReleasesRequest) PageSize(pageSize int32) ApiListReleasesRequest
- func (r ApiListReleasesRequest) ReleasedFrom(releasedFrom time.Time) ApiListReleasesRequest
- func (r ApiListReleasesRequest) ReleasedTo(releasedTo time.Time) ApiListReleasesRequest
- func (r ApiListReleasesRequest) Search(search string) ApiListReleasesRequest
- func (r ApiListReleasesRequest) Sort(sort string) ApiListReleasesRequest
- type ApiListStripePricesRequest
- type ApiRequestPortalLinkRequest
- type ApiResetProductRequest
- type ApiSendLicenseKeysRequest
- type ApiSendPortalLinkRequest
- type ApiUpdateCustomerRequest
- type ApiUpdateLicenseRequest
- type ApiUpdatePolicyRequest
- type ApiUpdateProductRequest
- type ApiUpdateReleaseRequest
- type ApiUpdateStripeMappingRequest
- type ApiUploadProductLogoRequest
- type ApiValidateKeyRequest
- type BasicAuth
- type Configuration
- type ConnectStripe
- func (o *ConnectStripe) GetApiKey() string
- func (o *ConnectStripe) GetApiKeyOk() (*string, bool)
- func (o ConnectStripe) MarshalJSON() ([]byte, error)
- func (o *ConnectStripe) SetApiKey(v string)
- func (o ConnectStripe) ToMap() (map[string]interface{}, error)
- func (o *ConnectStripe) UnmarshalJSON(data []byte) (err error)
- type CreateCustomer
- func (o *CreateCustomer) GetEmail() string
- func (o *CreateCustomer) GetEmailOk() (*string, bool)
- func (o *CreateCustomer) GetName() string
- func (o *CreateCustomer) GetNameOk() (*string, bool)
- func (o *CreateCustomer) HasName() bool
- func (o CreateCustomer) MarshalJSON() ([]byte, error)
- func (o *CreateCustomer) SetEmail(v string)
- func (o *CreateCustomer) SetName(v string)
- func (o *CreateCustomer) SetNameNil()
- func (o CreateCustomer) ToMap() (map[string]interface{}, error)
- func (o *CreateCustomer) UnmarshalJSON(data []byte) (err error)
- func (o *CreateCustomer) UnsetName()
- type CreateIntegrationMapping
- func (o *CreateIntegrationMapping) GetPolicyId() string
- func (o *CreateIntegrationMapping) GetPolicyIdOk() (*string, bool)
- func (o *CreateIntegrationMapping) GetStripePriceId() string
- func (o *CreateIntegrationMapping) GetStripePriceIdOk() (*string, bool)
- func (o CreateIntegrationMapping) MarshalJSON() ([]byte, error)
- func (o *CreateIntegrationMapping) SetPolicyId(v string)
- func (o *CreateIntegrationMapping) SetStripePriceId(v string)
- func (o CreateIntegrationMapping) ToMap() (map[string]interface{}, error)
- func (o *CreateIntegrationMapping) UnmarshalJSON(data []byte) (err error)
- type CreateLicense
- func (o *CreateLicense) GetEmail() string
- func (o *CreateLicense) GetEmailOk() (*string, bool)
- func (o *CreateLicense) GetExpiresAt() time.Time
- func (o *CreateLicense) GetExpiresAtOk() (*time.Time, bool)
- func (o *CreateLicense) GetKey() string
- func (o *CreateLicense) GetKeyOk() (*string, bool)
- func (o *CreateLicense) GetMaxMachines() int32
- func (o *CreateLicense) GetMaxMachinesOk() (*int32, bool)
- func (o *CreateLicense) GetMaxOfflineDurationSeconds() int32
- func (o *CreateLicense) GetMaxOfflineDurationSecondsOk() (*int32, bool)
- func (o *CreateLicense) GetMaxVersion() LicenseMaxVersionInput
- func (o *CreateLicense) GetMaxVersionOk() (*LicenseMaxVersionInput, bool)
- func (o *CreateLicense) GetMeta() map[string]*interface{}
- func (o *CreateLicense) GetMetaOk() (map[string]*interface{}, bool)
- func (o *CreateLicense) GetPolicyId() string
- func (o *CreateLicense) GetPolicyIdOk() (*string, bool)
- func (o *CreateLicense) GetPrice() PriceInput
- func (o *CreateLicense) GetPriceOk() (*PriceInput, bool)
- func (o *CreateLicense) GetSendKey() bool
- func (o *CreateLicense) GetSendKeyOk() (*bool, bool)
- func (o *CreateLicense) HasExpiresAt() bool
- func (o *CreateLicense) HasKey() bool
- func (o *CreateLicense) HasMaxMachines() bool
- func (o *CreateLicense) HasMaxOfflineDurationSeconds() bool
- func (o *CreateLicense) HasMaxVersion() bool
- func (o *CreateLicense) HasMeta() bool
- func (o *CreateLicense) HasPolicyId() bool
- func (o *CreateLicense) HasPrice() bool
- func (o *CreateLicense) HasSendKey() bool
- func (o CreateLicense) MarshalJSON() ([]byte, error)
- func (o *CreateLicense) SetEmail(v string)
- func (o *CreateLicense) SetExpiresAt(v time.Time)
- func (o *CreateLicense) SetExpiresAtNil()
- func (o *CreateLicense) SetKey(v string)
- func (o *CreateLicense) SetMaxMachines(v int32)
- func (o *CreateLicense) SetMaxMachinesNil()
- func (o *CreateLicense) SetMaxOfflineDurationSeconds(v int32)
- func (o *CreateLicense) SetMaxVersion(v LicenseMaxVersionInput)
- func (o *CreateLicense) SetMeta(v map[string]*interface{})
- func (o *CreateLicense) SetPolicyId(v string)
- func (o *CreateLicense) SetPrice(v PriceInput)
- func (o *CreateLicense) SetPriceNil()
- func (o *CreateLicense) SetSendKey(v bool)
- func (o CreateLicense) ToMap() (map[string]interface{}, error)
- func (o *CreateLicense) UnmarshalJSON(data []byte) (err error)
- func (o *CreateLicense) UnsetExpiresAt()
- func (o *CreateLicense) UnsetMaxMachines()
- func (o *CreateLicense) UnsetPrice()
- type CreatePolicy
- func (o *CreatePolicy) GetDuration() PolicySettingsDuration
- func (o *CreatePolicy) GetDurationOk() (*PolicySettingsDuration, bool)
- func (o *CreatePolicy) GetIsDefault() bool
- func (o *CreatePolicy) GetIsDefaultOk() (*bool, bool)
- func (o *CreatePolicy) GetMaxMachines() int32
- func (o *CreatePolicy) GetMaxMachinesOk() (*int32, bool)
- func (o *CreatePolicy) GetMaxOfflineDurationSeconds() int32
- func (o *CreatePolicy) GetMaxOfflineDurationSecondsOk() (*int32, bool)
- func (o *CreatePolicy) GetMaxVersion() PolicySettingsMaxVersion
- func (o *CreatePolicy) GetMaxVersionOk() (*PolicySettingsMaxVersion, bool)
- func (o *CreatePolicy) GetName() string
- func (o *CreatePolicy) GetNameOk() (*string, bool)
- func (o *CreatePolicy) GetSlug() string
- func (o *CreatePolicy) GetSlugOk() (*string, bool)
- func (o *CreatePolicy) HasDuration() bool
- func (o *CreatePolicy) HasIsDefault() bool
- func (o *CreatePolicy) HasMaxMachines() bool
- func (o *CreatePolicy) HasMaxOfflineDurationSeconds() bool
- func (o *CreatePolicy) HasMaxVersion() bool
- func (o *CreatePolicy) HasSlug() bool
- func (o CreatePolicy) MarshalJSON() ([]byte, error)
- func (o *CreatePolicy) SetDuration(v PolicySettingsDuration)
- func (o *CreatePolicy) SetDurationNil()
- func (o *CreatePolicy) SetIsDefault(v bool)
- func (o *CreatePolicy) SetMaxMachines(v int32)
- func (o *CreatePolicy) SetMaxMachinesNil()
- func (o *CreatePolicy) SetMaxOfflineDurationSeconds(v int32)
- func (o *CreatePolicy) SetMaxVersion(v PolicySettingsMaxVersion)
- func (o *CreatePolicy) SetMaxVersionNil()
- func (o *CreatePolicy) SetName(v string)
- func (o *CreatePolicy) SetSlug(v string)
- func (o CreatePolicy) ToMap() (map[string]interface{}, error)
- func (o *CreatePolicy) UnmarshalJSON(data []byte) (err error)
- func (o *CreatePolicy) UnsetDuration()
- func (o *CreatePolicy) UnsetMaxMachines()
- func (o *CreatePolicy) UnsetMaxVersion()
- type CreatePortalLink
- func (o *CreatePortalLink) GetExpiresInSeconds() int32
- func (o *CreatePortalLink) GetExpiresInSecondsOk() (*int32, bool)
- func (o CreatePortalLink) MarshalJSON() ([]byte, error)
- func (o *CreatePortalLink) SetExpiresInSeconds(v int32)
- func (o CreatePortalLink) ToMap() (map[string]interface{}, error)
- func (o *CreatePortalLink) UnmarshalJSON(data []byte) (err error)
- type CreateProduct
- func (o *CreateProduct) GetName() string
- func (o *CreateProduct) GetNameOk() (*string, bool)
- func (o *CreateProduct) GetSlug() string
- func (o *CreateProduct) GetSlugOk() (*string, bool)
- func (o *CreateProduct) HasSlug() bool
- func (o CreateProduct) MarshalJSON() ([]byte, error)
- func (o *CreateProduct) SetName(v string)
- func (o *CreateProduct) SetSlug(v string)
- func (o CreateProduct) ToMap() (map[string]interface{}, error)
- func (o *CreateProduct) UnmarshalJSON(data []byte) (err error)
- type CreateProductWithPolicy
- func (o *CreateProductWithPolicy) GetDefaultPolicy() PolicySettings
- func (o *CreateProductWithPolicy) GetDefaultPolicyOk() (*PolicySettings, bool)
- func (o *CreateProductWithPolicy) GetIsTestFromProductId() string
- func (o *CreateProductWithPolicy) GetIsTestFromProductIdOk() (*string, bool)
- func (o *CreateProductWithPolicy) GetName() string
- func (o *CreateProductWithPolicy) GetNameOk() (*string, bool)
- func (o *CreateProductWithPolicy) GetSlug() string
- func (o *CreateProductWithPolicy) GetSlugOk() (*string, bool)
- func (o *CreateProductWithPolicy) HasDefaultPolicy() bool
- func (o *CreateProductWithPolicy) HasIsTestFromProductId() bool
- func (o *CreateProductWithPolicy) HasSlug() bool
- func (o CreateProductWithPolicy) MarshalJSON() ([]byte, error)
- func (o *CreateProductWithPolicy) SetDefaultPolicy(v PolicySettings)
- func (o *CreateProductWithPolicy) SetIsTestFromProductId(v string)
- func (o *CreateProductWithPolicy) SetName(v string)
- func (o *CreateProductWithPolicy) SetSlug(v string)
- func (o CreateProductWithPolicy) ToMap() (map[string]interface{}, error)
- func (o *CreateProductWithPolicy) UnmarshalJSON(data []byte) (err error)
- type CreateRelease
- func (o *CreateRelease) GetReleasedAt() time.Time
- func (o *CreateRelease) GetReleasedAtOk() (*time.Time, bool)
- func (o *CreateRelease) GetVersion() string
- func (o *CreateRelease) GetVersionOk() (*string, bool)
- func (o *CreateRelease) HasReleasedAt() bool
- func (o CreateRelease) MarshalJSON() ([]byte, error)
- func (o *CreateRelease) SetReleasedAt(v time.Time)
- func (o *CreateRelease) SetVersion(v string)
- func (o CreateRelease) ToMap() (map[string]interface{}, error)
- func (o *CreateRelease) UnmarshalJSON(data []byte) (err error)
- type CreateToken
- func (o *CreateToken) GetExpiresInSeconds() int32
- func (o *CreateToken) GetExpiresInSecondsOk() (*int32, bool)
- func (o *CreateToken) GetScope() []string
- func (o *CreateToken) GetScopeOk() ([]string, bool)
- func (o *CreateToken) HasExpiresInSeconds() bool
- func (o CreateToken) MarshalJSON() ([]byte, error)
- func (o *CreateToken) SetExpiresInSeconds(v int32)
- func (o *CreateToken) SetScope(v []string)
- func (o CreateToken) ToMap() (map[string]interface{}, error)
- func (o *CreateToken) UnmarshalJSON(data []byte) (err error)
- type Customer
- func (o *Customer) GetCreatedAt() time.Time
- func (o *Customer) GetCreatedAtOk() (*time.Time, bool)
- func (o *Customer) GetEmail() string
- func (o *Customer) GetEmailOk() (*string, bool)
- func (o *Customer) GetId() string
- func (o *Customer) GetIdOk() (*string, bool)
- func (o *Customer) GetLicenseCount() int32
- func (o *Customer) GetLicenseCountOk() (*int32, bool)
- func (o *Customer) GetName() string
- func (o *Customer) GetNameOk() (*string, bool)
- func (o *Customer) GetProductId() string
- func (o *Customer) GetProductIdOk() (*string, bool)
- func (o *Customer) GetStripeCustomerId() string
- func (o *Customer) GetStripeCustomerIdOk() (*string, bool)
- func (o Customer) MarshalJSON() ([]byte, error)
- func (o *Customer) SetCreatedAt(v time.Time)
- func (o *Customer) SetEmail(v string)
- func (o *Customer) SetId(v string)
- func (o *Customer) SetLicenseCount(v int32)
- func (o *Customer) SetName(v string)
- func (o *Customer) SetProductId(v string)
- func (o *Customer) SetStripeCustomerId(v string)
- func (o Customer) ToMap() (map[string]interface{}, error)
- func (o *Customer) UnmarshalJSON(data []byte) (err error)
- type CustomerList
- func (o *CustomerList) GetData() []Customer
- func (o *CustomerList) GetDataOk() ([]Customer, bool)
- func (o *CustomerList) GetPagination() Pagination
- func (o *CustomerList) GetPaginationOk() (*Pagination, bool)
- func (o CustomerList) MarshalJSON() ([]byte, error)
- func (o *CustomerList) SetData(v []Customer)
- func (o *CustomerList) SetPagination(v Pagination)
- func (o CustomerList) ToMap() (map[string]interface{}, error)
- func (o *CustomerList) UnmarshalJSON(data []byte) (err error)
- type CustomersAPIService
- func (a *CustomersAPIService) CreateCustomer(ctx context.Context, productId string) ApiCreateCustomerRequest
- func (a *CustomersAPIService) CreateCustomerExecute(r ApiCreateCustomerRequest) (*Customer, *http.Response, error)
- func (a *CustomersAPIService) DeleteCustomer(ctx context.Context, id string) ApiDeleteCustomerRequest
- func (a *CustomersAPIService) DeleteCustomerExecute(r ApiDeleteCustomerRequest) (*http.Response, error)
- func (a *CustomersAPIService) GetCustomer(ctx context.Context, id string) ApiGetCustomerRequest
- func (a *CustomersAPIService) GetCustomerExecute(r ApiGetCustomerRequest) (*Customer, *http.Response, error)
- func (a *CustomersAPIService) ListCustomers(ctx context.Context, productId string) ApiListCustomersRequest
- func (a *CustomersAPIService) ListCustomersExecute(r ApiListCustomersRequest) (*CustomerList, *http.Response, error)
- func (a *CustomersAPIService) UpdateCustomer(ctx context.Context, id string) ApiUpdateCustomerRequest
- func (a *CustomersAPIService) UpdateCustomerExecute(r ApiUpdateCustomerRequest) (*Customer, *http.Response, error)
- type Error
- type ErrorError
- func (o *ErrorError) GetCode() string
- func (o *ErrorError) GetCodeOk() (*string, bool)
- func (o *ErrorError) GetIssues() []ErrorErrorIssuesInner
- func (o *ErrorError) GetIssuesOk() ([]ErrorErrorIssuesInner, bool)
- func (o *ErrorError) GetMessage() string
- func (o *ErrorError) GetMessageOk() (*string, bool)
- func (o *ErrorError) HasIssues() bool
- func (o ErrorError) MarshalJSON() ([]byte, error)
- func (o *ErrorError) SetCode(v string)
- func (o *ErrorError) SetIssues(v []ErrorErrorIssuesInner)
- func (o *ErrorError) SetMessage(v string)
- func (o ErrorError) ToMap() (map[string]interface{}, error)
- func (o *ErrorError) UnmarshalJSON(data []byte) (err error)
- type ErrorErrorIssuesInner
- func (o *ErrorErrorIssuesInner) GetMessage() string
- func (o *ErrorErrorIssuesInner) GetMessageOk() (*string, bool)
- func (o *ErrorErrorIssuesInner) GetPath() []ErrorErrorIssuesInnerPathInner
- func (o *ErrorErrorIssuesInner) GetPathOk() ([]ErrorErrorIssuesInnerPathInner, bool)
- func (o ErrorErrorIssuesInner) MarshalJSON() ([]byte, error)
- func (o *ErrorErrorIssuesInner) SetMessage(v string)
- func (o *ErrorErrorIssuesInner) SetPath(v []ErrorErrorIssuesInnerPathInner)
- func (o ErrorErrorIssuesInner) ToMap() (map[string]interface{}, error)
- func (o *ErrorErrorIssuesInner) UnmarshalJSON(data []byte) (err error)
- type ErrorErrorIssuesInnerPathInner
- type Event
- func (o *Event) GetActor() EventActor
- func (o *Event) GetActorOk() (*EventActor, bool)
- func (o *Event) GetCreatedAt() time.Time
- func (o *Event) GetCreatedAtOk() (*time.Time, bool)
- func (o *Event) GetId() string
- func (o *Event) GetIdOk() (*string, bool)
- func (o *Event) GetLicenseId() string
- func (o *Event) GetLicenseIdOk() (*string, bool)
- func (o *Event) GetMachine() EventMachine
- func (o *Event) GetMachineId() string
- func (o *Event) GetMachineIdOk() (*string, bool)
- func (o *Event) GetMachineOk() (*EventMachine, bool)
- func (o *Event) GetPayload() map[string]*interface{}
- func (o *Event) GetPayloadOk() (map[string]*interface{}, bool)
- func (o *Event) GetPolicyId() string
- func (o *Event) GetPolicyIdOk() (*string, bool)
- func (o *Event) GetType() EventType
- func (o *Event) GetTypeOk() (*EventType, bool)
- func (o Event) MarshalJSON() ([]byte, error)
- func (o *Event) SetActor(v EventActor)
- func (o *Event) SetCreatedAt(v time.Time)
- func (o *Event) SetId(v string)
- func (o *Event) SetLicenseId(v string)
- func (o *Event) SetMachine(v EventMachine)
- func (o *Event) SetMachineId(v string)
- func (o *Event) SetPayload(v map[string]*interface{})
- func (o *Event) SetPolicyId(v string)
- func (o *Event) SetType(v EventType)
- func (o Event) ToMap() (map[string]interface{}, error)
- func (o *Event) UnmarshalJSON(data []byte) (err error)
- type EventActor
- func EventActorOneOf1AsEventActor(v *EventActorOneOf1) EventActor
- func EventActorOneOf2AsEventActor(v *EventActorOneOf2) EventActor
- func EventActorOneOf3AsEventActor(v *EventActorOneOf3) EventActor
- func EventActorOneOf4AsEventActor(v *EventActorOneOf4) EventActor
- func EventActorOneOfAsEventActor(v *EventActorOneOf) EventActor
- type EventActorOneOf
- func (o *EventActorOneOf) GetEmail() string
- func (o *EventActorOneOf) GetEmailOk() (*string, bool)
- func (o *EventActorOneOf) GetId() string
- func (o *EventActorOneOf) GetIdOk() (*string, bool)
- func (o *EventActorOneOf) GetImage() string
- func (o *EventActorOneOf) GetImageOk() (*string, bool)
- func (o *EventActorOneOf) GetName() string
- func (o *EventActorOneOf) GetNameOk() (*string, bool)
- func (o *EventActorOneOf) GetType() string
- func (o *EventActorOneOf) GetTypeOk() (*string, bool)
- func (o EventActorOneOf) MarshalJSON() ([]byte, error)
- func (o *EventActorOneOf) SetEmail(v string)
- func (o *EventActorOneOf) SetId(v string)
- func (o *EventActorOneOf) SetImage(v string)
- func (o *EventActorOneOf) SetName(v string)
- func (o *EventActorOneOf) SetType(v string)
- func (o EventActorOneOf) ToMap() (map[string]interface{}, error)
- func (o *EventActorOneOf) UnmarshalJSON(data []byte) (err error)
- type EventActorOneOf1
- func (o *EventActorOneOf1) GetId() string
- func (o *EventActorOneOf1) GetIdOk() (*string, bool)
- func (o *EventActorOneOf1) GetName() string
- func (o *EventActorOneOf1) GetNameOk() (*string, bool)
- func (o *EventActorOneOf1) GetStart() string
- func (o *EventActorOneOf1) GetStartOk() (*string, bool)
- func (o *EventActorOneOf1) GetType() string
- func (o *EventActorOneOf1) GetTypeOk() (*string, bool)
- func (o EventActorOneOf1) MarshalJSON() ([]byte, error)
- func (o *EventActorOneOf1) SetId(v string)
- func (o *EventActorOneOf1) SetName(v string)
- func (o *EventActorOneOf1) SetStart(v string)
- func (o *EventActorOneOf1) SetType(v string)
- func (o EventActorOneOf1) ToMap() (map[string]interface{}, error)
- func (o *EventActorOneOf1) UnmarshalJSON(data []byte) (err error)
- type EventActorOneOf2
- func (o *EventActorOneOf2) GetSubjectId() string
- func (o *EventActorOneOf2) GetSubjectIdOk() (*string, bool)
- func (o *EventActorOneOf2) GetTokenType() string
- func (o *EventActorOneOf2) GetTokenTypeOk() (*string, bool)
- func (o *EventActorOneOf2) GetType() string
- func (o *EventActorOneOf2) GetTypeOk() (*string, bool)
- func (o EventActorOneOf2) MarshalJSON() ([]byte, error)
- func (o *EventActorOneOf2) SetSubjectId(v string)
- func (o *EventActorOneOf2) SetTokenType(v string)
- func (o *EventActorOneOf2) SetType(v string)
- func (o EventActorOneOf2) ToMap() (map[string]interface{}, error)
- func (o *EventActorOneOf2) UnmarshalJSON(data []byte) (err error)
- type EventActorOneOf3
- func (o *EventActorOneOf3) GetType() string
- func (o *EventActorOneOf3) GetTypeOk() (*string, bool)
- func (o EventActorOneOf3) MarshalJSON() ([]byte, error)
- func (o *EventActorOneOf3) SetType(v string)
- func (o EventActorOneOf3) ToMap() (map[string]interface{}, error)
- func (o *EventActorOneOf3) UnmarshalJSON(data []byte) (err error)
- type EventActorOneOf4
- func (o *EventActorOneOf4) GetId() string
- func (o *EventActorOneOf4) GetIdOk() (*string, bool)
- func (o *EventActorOneOf4) GetProvider() string
- func (o *EventActorOneOf4) GetProviderOk() (*string, bool)
- func (o *EventActorOneOf4) GetType() string
- func (o *EventActorOneOf4) GetTypeOk() (*string, bool)
- func (o EventActorOneOf4) MarshalJSON() ([]byte, error)
- func (o *EventActorOneOf4) SetId(v string)
- func (o *EventActorOneOf4) SetProvider(v string)
- func (o *EventActorOneOf4) SetType(v string)
- func (o EventActorOneOf4) ToMap() (map[string]interface{}, error)
- func (o *EventActorOneOf4) UnmarshalJSON(data []byte) (err error)
- type EventList
- func (o *EventList) GetData() []Event
- func (o *EventList) GetDataOk() ([]Event, bool)
- func (o *EventList) GetPagination() Pagination
- func (o *EventList) GetPaginationOk() (*Pagination, bool)
- func (o EventList) MarshalJSON() ([]byte, error)
- func (o *EventList) SetData(v []Event)
- func (o *EventList) SetPagination(v Pagination)
- func (o EventList) ToMap() (map[string]interface{}, error)
- func (o *EventList) UnmarshalJSON(data []byte) (err error)
- type EventMachine
- func (o *EventMachine) GetFingerprint() string
- func (o *EventMachine) GetFingerprintOk() (*string, bool)
- func (o *EventMachine) GetId() string
- func (o *EventMachine) GetIdOk() (*string, bool)
- func (o *EventMachine) GetName() string
- func (o *EventMachine) GetNameOk() (*string, bool)
- func (o EventMachine) MarshalJSON() ([]byte, error)
- func (o *EventMachine) SetFingerprint(v string)
- func (o *EventMachine) SetId(v string)
- func (o *EventMachine) SetName(v string)
- func (o EventMachine) ToMap() (map[string]interface{}, error)
- func (o *EventMachine) UnmarshalJSON(data []byte) (err error)
- type EventType
- type EventsAPIService
- func (a *EventsAPIService) ListLicenseEvents(ctx context.Context, id string) ApiListLicenseEventsRequest
- func (a *EventsAPIService) ListLicenseEventsExecute(r ApiListLicenseEventsRequest) (*EventList, *http.Response, error)
- func (a *EventsAPIService) ListPolicyEvents(ctx context.Context, id string) ApiListPolicyEventsRequest
- func (a *EventsAPIService) ListPolicyEventsExecute(r ApiListPolicyEventsRequest) (*EventList, *http.Response, error)
- type FixedMaxVersion
- func (o *FixedMaxVersion) GetType() string
- func (o *FixedMaxVersion) GetTypeOk() (*string, bool)
- func (o *FixedMaxVersion) GetVersion() string
- func (o *FixedMaxVersion) GetVersionOk() (*string, bool)
- func (o FixedMaxVersion) MarshalJSON() ([]byte, error)
- func (o *FixedMaxVersion) SetType(v string)
- func (o *FixedMaxVersion) SetVersion(v string)
- func (o FixedMaxVersion) ToMap() (map[string]interface{}, error)
- func (o *FixedMaxVersion) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type Integration
- func (o *Integration) GetAccountName() string
- func (o *Integration) GetAccountNameOk() (*string, bool)
- func (o *Integration) GetApiKeyHint() string
- func (o *Integration) GetApiKeyHintOk() (*string, bool)
- func (o *Integration) GetCreatedAt() time.Time
- func (o *Integration) GetCreatedAtOk() (*time.Time, bool)
- func (o *Integration) GetId() string
- func (o *Integration) GetIdOk() (*string, bool)
- func (o *Integration) GetLastCheckedAt() time.Time
- func (o *Integration) GetLastCheckedAtOk() (*time.Time, bool)
- func (o *Integration) GetLastEventAt() time.Time
- func (o *Integration) GetLastEventAtOk() (*time.Time, bool)
- func (o *Integration) GetLivemode() bool
- func (o *Integration) GetLivemodeOk() (*bool, bool)
- func (o *Integration) GetProvider() string
- func (o *Integration) GetProviderOk() (*string, bool)
- func (o *Integration) GetStatus() IntegrationStatus
- func (o *Integration) GetStatusOk() (*IntegrationStatus, bool)
- func (o *Integration) GetStatusReason() string
- func (o *Integration) GetStatusReasonOk() (*string, bool)
- func (o *Integration) GetWebhookUrl() string
- func (o *Integration) GetWebhookUrlOk() (*string, bool)
- func (o Integration) MarshalJSON() ([]byte, error)
- func (o *Integration) SetAccountName(v string)
- func (o *Integration) SetApiKeyHint(v string)
- func (o *Integration) SetCreatedAt(v time.Time)
- func (o *Integration) SetId(v string)
- func (o *Integration) SetLastCheckedAt(v time.Time)
- func (o *Integration) SetLastEventAt(v time.Time)
- func (o *Integration) SetLivemode(v bool)
- func (o *Integration) SetProvider(v string)
- func (o *Integration) SetStatus(v IntegrationStatus)
- func (o *Integration) SetStatusReason(v string)
- func (o *Integration) SetWebhookUrl(v string)
- func (o Integration) ToMap() (map[string]interface{}, error)
- func (o *Integration) UnmarshalJSON(data []byte) (err error)
- type IntegrationMapping
- func (o *IntegrationMapping) GetCreatedAt() time.Time
- func (o *IntegrationMapping) GetCreatedAtOk() (*time.Time, bool)
- func (o *IntegrationMapping) GetId() string
- func (o *IntegrationMapping) GetIdOk() (*string, bool)
- func (o *IntegrationMapping) GetIntegrationId() string
- func (o *IntegrationMapping) GetIntegrationIdOk() (*string, bool)
- func (o *IntegrationMapping) GetPolicyId() string
- func (o *IntegrationMapping) GetPolicyIdOk() (*string, bool)
- func (o *IntegrationMapping) GetPrice() Price
- func (o *IntegrationMapping) GetPriceOk() (*Price, bool)
- func (o *IntegrationMapping) GetProductId() string
- func (o *IntegrationMapping) GetProductIdOk() (*string, bool)
- func (o *IntegrationMapping) GetProductName() string
- func (o *IntegrationMapping) GetProductNameOk() (*string, bool)
- func (o *IntegrationMapping) GetStatus() string
- func (o *IntegrationMapping) GetStatusOk() (*string, bool)
- func (o *IntegrationMapping) GetStatusReason() string
- func (o *IntegrationMapping) GetStatusReasonOk() (*string, bool)
- func (o *IntegrationMapping) GetStripePriceId() string
- func (o *IntegrationMapping) GetStripePriceIdOk() (*string, bool)
- func (o *IntegrationMapping) GetStripeProductId() string
- func (o *IntegrationMapping) GetStripeProductIdOk() (*string, bool)
- func (o IntegrationMapping) MarshalJSON() ([]byte, error)
- func (o *IntegrationMapping) SetCreatedAt(v time.Time)
- func (o *IntegrationMapping) SetId(v string)
- func (o *IntegrationMapping) SetIntegrationId(v string)
- func (o *IntegrationMapping) SetPolicyId(v string)
- func (o *IntegrationMapping) SetPrice(v Price)
- func (o *IntegrationMapping) SetProductId(v string)
- func (o *IntegrationMapping) SetProductName(v string)
- func (o *IntegrationMapping) SetStatus(v string)
- func (o *IntegrationMapping) SetStatusReason(v string)
- func (o *IntegrationMapping) SetStripePriceId(v string)
- func (o *IntegrationMapping) SetStripeProductId(v string)
- func (o IntegrationMapping) ToMap() (map[string]interface{}, error)
- func (o *IntegrationMapping) UnmarshalJSON(data []byte) (err error)
- type IntegrationStatus
- type IntegrationsAPIService
- func (a *IntegrationsAPIService) CheckIntegration(ctx context.Context, id string) ApiCheckIntegrationRequest
- func (a *IntegrationsAPIService) CheckIntegrationExecute(r ApiCheckIntegrationRequest) (*Integration, *http.Response, error)
- func (a *IntegrationsAPIService) ConnectStripe(ctx context.Context, productId string) ApiConnectStripeRequest
- func (a *IntegrationsAPIService) ConnectStripeExecute(r ApiConnectStripeRequest) (*StripeIntegration, *http.Response, error)
- func (a *IntegrationsAPIService) CreateStripeMapping(ctx context.Context, productId string) ApiCreateStripeMappingRequest
- func (a *IntegrationsAPIService) CreateStripeMappingExecute(r ApiCreateStripeMappingRequest) (*IntegrationMapping, *http.Response, error)
- func (a *IntegrationsAPIService) DeleteStripeMapping(ctx context.Context, id string) ApiDeleteStripeMappingRequest
- func (a *IntegrationsAPIService) DeleteStripeMappingExecute(r ApiDeleteStripeMappingRequest) (*http.Response, error)
- func (a *IntegrationsAPIService) DisconnectIntegration(ctx context.Context, id string) ApiDisconnectIntegrationRequest
- func (a *IntegrationsAPIService) DisconnectIntegrationExecute(r ApiDisconnectIntegrationRequest) (*http.Response, error)
- func (a *IntegrationsAPIService) GetStripeIntegration(ctx context.Context, productId string) ApiGetStripeIntegrationRequest
- func (a *IntegrationsAPIService) GetStripeIntegrationExecute(r ApiGetStripeIntegrationRequest) (*StripeIntegration, *http.Response, error)
- func (a *IntegrationsAPIService) ListStripePrices(ctx context.Context, id string) ApiListStripePricesRequest
- func (a *IntegrationsAPIService) ListStripePricesExecute(r ApiListStripePricesRequest) (*ListStripePrices200Response, *http.Response, error)
- func (a *IntegrationsAPIService) UpdateStripeMapping(ctx context.Context, id string) ApiUpdateStripeMappingRequest
- func (a *IntegrationsAPIService) UpdateStripeMappingExecute(r ApiUpdateStripeMappingRequest) (*IntegrationMapping, *http.Response, error)
- type License
- func (o *License) GetActiveMachineCount() int32
- func (o *License) GetActiveMachineCountOk() (*int32, bool)
- func (o *License) GetCreatedAt() time.Time
- func (o *License) GetCreatedAtOk() (*time.Time, bool)
- func (o *License) GetCustomerId() string
- func (o *License) GetCustomerIdOk() (*string, bool)
- func (o *License) GetExpiresAt() time.Time
- func (o *License) GetExpiresAtOk() (*time.Time, bool)
- func (o *License) GetId() string
- func (o *License) GetIdOk() (*string, bool)
- func (o *License) GetKey() string
- func (o *License) GetKeyOk() (*string, bool)
- func (o *License) GetLastActivatedAt() time.Time
- func (o *License) GetLastActivatedAtOk() (*time.Time, bool)
- func (o *License) GetMaxMachines() int32
- func (o *License) GetMaxMachinesOk() (*int32, bool)
- func (o *License) GetMaxOfflineDurationSeconds() int32
- func (o *License) GetMaxOfflineDurationSecondsOk() (*int32, bool)
- func (o *License) GetMaxVersion() LicenseMaxVersion
- func (o *License) GetMaxVersionOk() (*LicenseMaxVersion, bool)
- func (o *License) GetMeta() map[string]*interface{}
- func (o *License) GetMetaOk() (map[string]*interface{}, bool)
- func (o *License) GetPolicyId() string
- func (o *License) GetPolicyIdOk() (*string, bool)
- func (o *License) GetPrice() Price
- func (o *License) GetPriceOk() (*Price, bool)
- func (o *License) GetProductId() string
- func (o *License) GetProductIdOk() (*string, bool)
- func (o *License) GetStatus() LicenseStatus
- func (o *License) GetStatusOk() (*LicenseStatus, bool)
- func (o *License) GetStripePaymentIntentId() string
- func (o *License) GetStripePaymentIntentIdOk() (*string, bool)
- func (o *License) GetUpdatedAt() time.Time
- func (o *License) GetUpdatedAtOk() (*time.Time, bool)
- func (o License) MarshalJSON() ([]byte, error)
- func (o *License) SetActiveMachineCount(v int32)
- func (o *License) SetCreatedAt(v time.Time)
- func (o *License) SetCustomerId(v string)
- func (o *License) SetExpiresAt(v time.Time)
- func (o *License) SetId(v string)
- func (o *License) SetKey(v string)
- func (o *License) SetLastActivatedAt(v time.Time)
- func (o *License) SetMaxMachines(v int32)
- func (o *License) SetMaxOfflineDurationSeconds(v int32)
- func (o *License) SetMaxVersion(v LicenseMaxVersion)
- func (o *License) SetMeta(v map[string]*interface{})
- func (o *License) SetPolicyId(v string)
- func (o *License) SetPrice(v Price)
- func (o *License) SetProductId(v string)
- func (o *License) SetStatus(v LicenseStatus)
- func (o *License) SetStripePaymentIntentId(v string)
- func (o *License) SetUpdatedAt(v time.Time)
- func (o License) ToMap() (map[string]interface{}, error)
- func (o *License) UnmarshalJSON(data []byte) (err error)
- type LicenseList
- func (o *LicenseList) GetData() []License
- func (o *LicenseList) GetDataOk() ([]License, bool)
- func (o *LicenseList) GetPagination() Pagination
- func (o *LicenseList) GetPaginationOk() (*Pagination, bool)
- func (o LicenseList) MarshalJSON() ([]byte, error)
- func (o *LicenseList) SetData(v []License)
- func (o *LicenseList) SetPagination(v Pagination)
- func (o LicenseList) ToMap() (map[string]interface{}, error)
- func (o *LicenseList) UnmarshalJSON(data []byte) (err error)
- type LicenseMaxVersion
- func (o *LicenseMaxVersion) GetLockMajorAt() time.Time
- func (o *LicenseMaxVersion) GetLockMajorAtOk() (*time.Time, bool)
- func (o *LicenseMaxVersion) GetLockMinorAt() time.Time
- func (o *LicenseMaxVersion) GetLockMinorAtOk() (*time.Time, bool)
- func (o *LicenseMaxVersion) GetVersion() string
- func (o *LicenseMaxVersion) GetVersionOk() (*string, bool)
- func (o LicenseMaxVersion) MarshalJSON() ([]byte, error)
- func (o *LicenseMaxVersion) SetLockMajorAt(v time.Time)
- func (o *LicenseMaxVersion) SetLockMinorAt(v time.Time)
- func (o *LicenseMaxVersion) SetVersion(v string)
- func (o LicenseMaxVersion) ToMap() (map[string]interface{}, error)
- func (o *LicenseMaxVersion) UnmarshalJSON(data []byte) (err error)
- type LicenseMaxVersionInput
- func (o *LicenseMaxVersionInput) GetLockMajorAt() time.Time
- func (o *LicenseMaxVersionInput) GetLockMajorAtOk() (*time.Time, bool)
- func (o *LicenseMaxVersionInput) GetLockMinorAt() time.Time
- func (o *LicenseMaxVersionInput) GetLockMinorAtOk() (*time.Time, bool)
- func (o *LicenseMaxVersionInput) GetVersion() string
- func (o *LicenseMaxVersionInput) GetVersionOk() (*string, bool)
- func (o *LicenseMaxVersionInput) HasLockMajorAt() bool
- func (o *LicenseMaxVersionInput) HasLockMinorAt() bool
- func (o *LicenseMaxVersionInput) HasVersion() bool
- func (o LicenseMaxVersionInput) MarshalJSON() ([]byte, error)
- func (o *LicenseMaxVersionInput) SetLockMajorAt(v time.Time)
- func (o *LicenseMaxVersionInput) SetLockMajorAtNil()
- func (o *LicenseMaxVersionInput) SetLockMinorAt(v time.Time)
- func (o *LicenseMaxVersionInput) SetLockMinorAtNil()
- func (o *LicenseMaxVersionInput) SetVersion(v string)
- func (o *LicenseMaxVersionInput) SetVersionNil()
- func (o LicenseMaxVersionInput) ToMap() (map[string]interface{}, error)
- func (o *LicenseMaxVersionInput) UnmarshalJSON(data []byte) (err error)
- func (o *LicenseMaxVersionInput) UnsetLockMajorAt()
- func (o *LicenseMaxVersionInput) UnsetLockMinorAt()
- func (o *LicenseMaxVersionInput) UnsetVersion()
- type LicenseStats
- func (o *LicenseStats) GetActivationsByMachine() []LicenseStatsActivationsByMachineInner
- func (o *LicenseStats) GetActivationsByMachineOk() ([]LicenseStatsActivationsByMachineInner, bool)
- func (o *LicenseStats) GetActivationsByVersion() []LicenseStatsActivationsByVersionInner
- func (o *LicenseStats) GetActivationsByVersionOk() ([]LicenseStatsActivationsByVersionInner, bool)
- func (o *LicenseStats) GetDays() []string
- func (o *LicenseStats) GetDaysOk() ([]string, bool)
- func (o *LicenseStats) GetFrom() string
- func (o *LicenseStats) GetFromOk() (*string, bool)
- func (o *LicenseStats) GetTo() string
- func (o *LicenseStats) GetToOk() (*string, bool)
- func (o LicenseStats) MarshalJSON() ([]byte, error)
- func (o *LicenseStats) SetActivationsByMachine(v []LicenseStatsActivationsByMachineInner)
- func (o *LicenseStats) SetActivationsByVersion(v []LicenseStatsActivationsByVersionInner)
- func (o *LicenseStats) SetDays(v []string)
- func (o *LicenseStats) SetFrom(v string)
- func (o *LicenseStats) SetTo(v string)
- func (o LicenseStats) ToMap() (map[string]interface{}, error)
- func (o *LicenseStats) UnmarshalJSON(data []byte) (err error)
- type LicenseStatsActivationsByMachineInner
- func (o *LicenseStatsActivationsByMachineInner) GetCounts() []int32
- func (o *LicenseStatsActivationsByMachineInner) GetCountsOk() ([]int32, bool)
- func (o *LicenseStatsActivationsByMachineInner) GetFingerprint() string
- func (o *LicenseStatsActivationsByMachineInner) GetFingerprintOk() (*string, bool)
- func (o *LicenseStatsActivationsByMachineInner) GetMachineId() string
- func (o *LicenseStatsActivationsByMachineInner) GetMachineIdOk() (*string, bool)
- func (o *LicenseStatsActivationsByMachineInner) GetName() string
- func (o *LicenseStatsActivationsByMachineInner) GetNameOk() (*string, bool)
- func (o LicenseStatsActivationsByMachineInner) MarshalJSON() ([]byte, error)
- func (o *LicenseStatsActivationsByMachineInner) SetCounts(v []int32)
- func (o *LicenseStatsActivationsByMachineInner) SetFingerprint(v string)
- func (o *LicenseStatsActivationsByMachineInner) SetMachineId(v string)
- func (o *LicenseStatsActivationsByMachineInner) SetName(v string)
- func (o LicenseStatsActivationsByMachineInner) ToMap() (map[string]interface{}, error)
- func (o *LicenseStatsActivationsByMachineInner) UnmarshalJSON(data []byte) (err error)
- type LicenseStatsActivationsByVersionInner
- func (o *LicenseStatsActivationsByVersionInner) GetCounts() []int32
- func (o *LicenseStatsActivationsByVersionInner) GetCountsOk() ([]int32, bool)
- func (o *LicenseStatsActivationsByVersionInner) GetVersion() string
- func (o *LicenseStatsActivationsByVersionInner) GetVersionOk() (*string, bool)
- func (o LicenseStatsActivationsByVersionInner) MarshalJSON() ([]byte, error)
- func (o *LicenseStatsActivationsByVersionInner) SetCounts(v []int32)
- func (o *LicenseStatsActivationsByVersionInner) SetVersion(v string)
- func (o LicenseStatsActivationsByVersionInner) ToMap() (map[string]interface{}, error)
- func (o *LicenseStatsActivationsByVersionInner) UnmarshalJSON(data []byte) (err error)
- type LicenseStatus
- type LicenseToken
- func (o *LicenseToken) GetLicense() string
- func (o *LicenseToken) GetLicenseOk() (*string, bool)
- func (o LicenseToken) MarshalJSON() ([]byte, error)
- func (o *LicenseToken) SetLicense(v string)
- func (o LicenseToken) ToMap() (map[string]interface{}, error)
- func (o *LicenseToken) UnmarshalJSON(data []byte) (err error)
- type LicensesAPIService
- func (a *LicensesAPIService) CreateLicense(ctx context.Context, productId string) ApiCreateLicenseRequest
- func (a *LicensesAPIService) CreateLicenseExecute(r ApiCreateLicenseRequest) (*License, *http.Response, error)
- func (a *LicensesAPIService) DeleteLicense(ctx context.Context, id string) ApiDeleteLicenseRequest
- func (a *LicensesAPIService) DeleteLicenseExecute(r ApiDeleteLicenseRequest) (*http.Response, error)
- func (a *LicensesAPIService) GetLicense(ctx context.Context, id string) ApiGetLicenseRequest
- func (a *LicensesAPIService) GetLicenseExecute(r ApiGetLicenseRequest) (*License, *http.Response, error)
- func (a *LicensesAPIService) GetLicenseStats(ctx context.Context, id string) ApiGetLicenseStatsRequest
- func (a *LicensesAPIService) GetLicenseStatsExecute(r ApiGetLicenseStatsRequest) (*LicenseStats, *http.Response, error)
- func (a *LicensesAPIService) GetSigningKey(ctx context.Context) ApiGetSigningKeyRequest
- func (a *LicensesAPIService) GetSigningKeyExecute(r ApiGetSigningKeyRequest) (*SigningKey, *http.Response, error)
- func (a *LicensesAPIService) ListCustomerLicenses(ctx context.Context, customerId string) ApiListCustomerLicensesRequest
- func (a *LicensesAPIService) ListCustomerLicensesExecute(r ApiListCustomerLicensesRequest) (*LicenseList, *http.Response, error)
- func (a *LicensesAPIService) ListLicenses(ctx context.Context, productId string) ApiListLicensesRequest
- func (a *LicensesAPIService) ListLicensesExecute(r ApiListLicensesRequest) (*LicenseList, *http.Response, error)
- func (a *LicensesAPIService) SendLicenseKeys(ctx context.Context) ApiSendLicenseKeysRequest
- func (a *LicensesAPIService) SendLicenseKeysExecute(r ApiSendLicenseKeysRequest) (*http.Response, error)
- func (a *LicensesAPIService) UpdateLicense(ctx context.Context, id string) ApiUpdateLicenseRequest
- func (a *LicensesAPIService) UpdateLicenseExecute(r ApiUpdateLicenseRequest) (*License, *http.Response, error)
- func (a *LicensesAPIService) ValidateKey(ctx context.Context, productId string) ApiValidateKeyRequest
- func (a *LicensesAPIService) ValidateKeyExecute(r ApiValidateKeyRequest) (*LicenseToken, *http.Response, error)
- type ListPolicyEventsTypeParameter
- type ListStripePrices200Response
- func (o *ListStripePrices200Response) GetData() []StripePrice
- func (o *ListStripePrices200Response) GetDataOk() ([]StripePrice, bool)
- func (o ListStripePrices200Response) MarshalJSON() ([]byte, error)
- func (o *ListStripePrices200Response) SetData(v []StripePrice)
- func (o ListStripePrices200Response) ToMap() (map[string]interface{}, error)
- func (o *ListStripePrices200Response) UnmarshalJSON(data []byte) (err error)
- type LockMaxVersion
- func (o *LockMaxVersion) GetMajorAfter() LockMaxVersionMajorAfter
- func (o *LockMaxVersion) GetMajorAfterOk() (*LockMaxVersionMajorAfter, bool)
- func (o *LockMaxVersion) GetMinorAfter() LockMaxVersionMinorAfter
- func (o *LockMaxVersion) GetMinorAfterOk() (*LockMaxVersionMinorAfter, bool)
- func (o *LockMaxVersion) GetType() string
- func (o *LockMaxVersion) GetTypeOk() (*string, bool)
- func (o LockMaxVersion) MarshalJSON() ([]byte, error)
- func (o *LockMaxVersion) SetMajorAfter(v LockMaxVersionMajorAfter)
- func (o *LockMaxVersion) SetMinorAfter(v LockMaxVersionMinorAfter)
- func (o *LockMaxVersion) SetType(v string)
- func (o LockMaxVersion) ToMap() (map[string]interface{}, error)
- func (o *LockMaxVersion) UnmarshalJSON(data []byte) (err error)
- type LockMaxVersionMajorAfter
- type LockMaxVersionMajorAfterOneOf
- func (o *LockMaxVersionMajorAfterOneOf) GetUnit() string
- func (o *LockMaxVersionMajorAfterOneOf) GetUnitOk() (*string, bool)
- func (o *LockMaxVersionMajorAfterOneOf) GetValue() int32
- func (o *LockMaxVersionMajorAfterOneOf) GetValueOk() (*int32, bool)
- func (o LockMaxVersionMajorAfterOneOf) MarshalJSON() ([]byte, error)
- func (o *LockMaxVersionMajorAfterOneOf) SetUnit(v string)
- func (o *LockMaxVersionMajorAfterOneOf) SetValue(v int32)
- func (o LockMaxVersionMajorAfterOneOf) ToMap() (map[string]interface{}, error)
- func (o *LockMaxVersionMajorAfterOneOf) UnmarshalJSON(data []byte) (err error)
- type LockMaxVersionMajorAfterOneOf1
- func (o *LockMaxVersionMajorAfterOneOf1) GetUnit() string
- func (o *LockMaxVersionMajorAfterOneOf1) GetUnitOk() (*string, bool)
- func (o *LockMaxVersionMajorAfterOneOf1) GetValue() int32
- func (o *LockMaxVersionMajorAfterOneOf1) GetValueOk() (*int32, bool)
- func (o LockMaxVersionMajorAfterOneOf1) MarshalJSON() ([]byte, error)
- func (o *LockMaxVersionMajorAfterOneOf1) SetUnit(v string)
- func (o *LockMaxVersionMajorAfterOneOf1) SetValue(v int32)
- func (o LockMaxVersionMajorAfterOneOf1) ToMap() (map[string]interface{}, error)
- func (o *LockMaxVersionMajorAfterOneOf1) UnmarshalJSON(data []byte) (err error)
- type LockMaxVersionMinorAfter
- type Machine
- func (o *Machine) GetCreatedAt() time.Time
- func (o *Machine) GetCreatedAtOk() (*time.Time, bool)
- func (o *Machine) GetFingerprint() string
- func (o *Machine) GetFingerprintOk() (*string, bool)
- func (o *Machine) GetId() string
- func (o *Machine) GetIdOk() (*string, bool)
- func (o *Machine) GetLastValidatedAt() time.Time
- func (o *Machine) GetLastValidatedAtOk() (*time.Time, bool)
- func (o *Machine) GetLicenseId() string
- func (o *Machine) GetLicenseIdOk() (*string, bool)
- func (o *Machine) GetName() string
- func (o *Machine) GetNameOk() (*string, bool)
- func (o *Machine) GetPlatform() string
- func (o *Machine) GetPlatformOk() (*string, bool)
- func (o *Machine) GetStatus() string
- func (o *Machine) GetStatusOk() (*string, bool)
- func (o *Machine) GetUpdatedAt() time.Time
- func (o *Machine) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Machine) GetVersion() string
- func (o *Machine) GetVersionOk() (*string, bool)
- func (o Machine) MarshalJSON() ([]byte, error)
- func (o *Machine) SetCreatedAt(v time.Time)
- func (o *Machine) SetFingerprint(v string)
- func (o *Machine) SetId(v string)
- func (o *Machine) SetLastValidatedAt(v time.Time)
- func (o *Machine) SetLicenseId(v string)
- func (o *Machine) SetName(v string)
- func (o *Machine) SetPlatform(v string)
- func (o *Machine) SetStatus(v string)
- func (o *Machine) SetUpdatedAt(v time.Time)
- func (o *Machine) SetVersion(v string)
- func (o Machine) ToMap() (map[string]interface{}, error)
- func (o *Machine) UnmarshalJSON(data []byte) (err error)
- type MachineList
- func (o *MachineList) GetData() []Machine
- func (o *MachineList) GetDataOk() ([]Machine, bool)
- func (o *MachineList) GetPagination() Pagination
- func (o *MachineList) GetPaginationOk() (*Pagination, bool)
- func (o MachineList) MarshalJSON() ([]byte, error)
- func (o *MachineList) SetData(v []Machine)
- func (o *MachineList) SetPagination(v Pagination)
- func (o MachineList) ToMap() (map[string]interface{}, error)
- func (o *MachineList) UnmarshalJSON(data []byte) (err error)
- type MachinesAPIService
- func (a *MachinesAPIService) DeactivateMachine(ctx context.Context, id string) ApiDeactivateMachineRequest
- func (a *MachinesAPIService) DeactivateMachineExecute(r ApiDeactivateMachineRequest) (*Machine, *http.Response, error)
- func (a *MachinesAPIService) GetMachine(ctx context.Context, id string) ApiGetMachineRequest
- func (a *MachinesAPIService) GetMachineExecute(r ApiGetMachineRequest) (*Machine, *http.Response, error)
- func (a *MachinesAPIService) ListMachines(ctx context.Context, licenseId string) ApiListMachinesRequest
- func (a *MachinesAPIService) ListMachinesExecute(r ApiListMachinesRequest) (*MachineList, *http.Response, error)
- type MappedNullable
- type NullableBool
- type NullableConnectStripe
- func (v NullableConnectStripe) Get() *ConnectStripe
- func (v NullableConnectStripe) IsSet() bool
- func (v NullableConnectStripe) MarshalJSON() ([]byte, error)
- func (v *NullableConnectStripe) Set(val *ConnectStripe)
- func (v *NullableConnectStripe) UnmarshalJSON(src []byte) error
- func (v *NullableConnectStripe) Unset()
- type NullableCreateCustomer
- func (v NullableCreateCustomer) Get() *CreateCustomer
- func (v NullableCreateCustomer) IsSet() bool
- func (v NullableCreateCustomer) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCustomer) Set(val *CreateCustomer)
- func (v *NullableCreateCustomer) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCustomer) Unset()
- type NullableCreateIntegrationMapping
- func (v NullableCreateIntegrationMapping) Get() *CreateIntegrationMapping
- func (v NullableCreateIntegrationMapping) IsSet() bool
- func (v NullableCreateIntegrationMapping) MarshalJSON() ([]byte, error)
- func (v *NullableCreateIntegrationMapping) Set(val *CreateIntegrationMapping)
- func (v *NullableCreateIntegrationMapping) UnmarshalJSON(src []byte) error
- func (v *NullableCreateIntegrationMapping) Unset()
- type NullableCreateLicense
- func (v NullableCreateLicense) Get() *CreateLicense
- func (v NullableCreateLicense) IsSet() bool
- func (v NullableCreateLicense) MarshalJSON() ([]byte, error)
- func (v *NullableCreateLicense) Set(val *CreateLicense)
- func (v *NullableCreateLicense) UnmarshalJSON(src []byte) error
- func (v *NullableCreateLicense) Unset()
- type NullableCreatePolicy
- func (v NullableCreatePolicy) Get() *CreatePolicy
- func (v NullableCreatePolicy) IsSet() bool
- func (v NullableCreatePolicy) MarshalJSON() ([]byte, error)
- func (v *NullableCreatePolicy) Set(val *CreatePolicy)
- func (v *NullableCreatePolicy) UnmarshalJSON(src []byte) error
- func (v *NullableCreatePolicy) Unset()
- type NullableCreatePortalLink
- func (v NullableCreatePortalLink) Get() *CreatePortalLink
- func (v NullableCreatePortalLink) IsSet() bool
- func (v NullableCreatePortalLink) MarshalJSON() ([]byte, error)
- func (v *NullableCreatePortalLink) Set(val *CreatePortalLink)
- func (v *NullableCreatePortalLink) UnmarshalJSON(src []byte) error
- func (v *NullableCreatePortalLink) Unset()
- type NullableCreateProduct
- func (v NullableCreateProduct) Get() *CreateProduct
- func (v NullableCreateProduct) IsSet() bool
- func (v NullableCreateProduct) MarshalJSON() ([]byte, error)
- func (v *NullableCreateProduct) Set(val *CreateProduct)
- func (v *NullableCreateProduct) UnmarshalJSON(src []byte) error
- func (v *NullableCreateProduct) Unset()
- type NullableCreateProductWithPolicy
- func (v NullableCreateProductWithPolicy) Get() *CreateProductWithPolicy
- func (v NullableCreateProductWithPolicy) IsSet() bool
- func (v NullableCreateProductWithPolicy) MarshalJSON() ([]byte, error)
- func (v *NullableCreateProductWithPolicy) Set(val *CreateProductWithPolicy)
- func (v *NullableCreateProductWithPolicy) UnmarshalJSON(src []byte) error
- func (v *NullableCreateProductWithPolicy) Unset()
- type NullableCreateRelease
- func (v NullableCreateRelease) Get() *CreateRelease
- func (v NullableCreateRelease) IsSet() bool
- func (v NullableCreateRelease) MarshalJSON() ([]byte, error)
- func (v *NullableCreateRelease) Set(val *CreateRelease)
- func (v *NullableCreateRelease) UnmarshalJSON(src []byte) error
- func (v *NullableCreateRelease) Unset()
- type NullableCreateToken
- func (v NullableCreateToken) Get() *CreateToken
- func (v NullableCreateToken) IsSet() bool
- func (v NullableCreateToken) MarshalJSON() ([]byte, error)
- func (v *NullableCreateToken) Set(val *CreateToken)
- func (v *NullableCreateToken) UnmarshalJSON(src []byte) error
- func (v *NullableCreateToken) Unset()
- type NullableCustomer
- type NullableCustomerList
- func (v NullableCustomerList) Get() *CustomerList
- func (v NullableCustomerList) IsSet() bool
- func (v NullableCustomerList) MarshalJSON() ([]byte, error)
- func (v *NullableCustomerList) Set(val *CustomerList)
- func (v *NullableCustomerList) UnmarshalJSON(src []byte) error
- func (v *NullableCustomerList) Unset()
- type NullableError
- type NullableErrorError
- type NullableErrorErrorIssuesInner
- func (v NullableErrorErrorIssuesInner) Get() *ErrorErrorIssuesInner
- func (v NullableErrorErrorIssuesInner) IsSet() bool
- func (v NullableErrorErrorIssuesInner) MarshalJSON() ([]byte, error)
- func (v *NullableErrorErrorIssuesInner) Set(val *ErrorErrorIssuesInner)
- func (v *NullableErrorErrorIssuesInner) UnmarshalJSON(src []byte) error
- func (v *NullableErrorErrorIssuesInner) Unset()
- type NullableErrorErrorIssuesInnerPathInner
- func (v NullableErrorErrorIssuesInnerPathInner) Get() *ErrorErrorIssuesInnerPathInner
- func (v NullableErrorErrorIssuesInnerPathInner) IsSet() bool
- func (v NullableErrorErrorIssuesInnerPathInner) MarshalJSON() ([]byte, error)
- func (v *NullableErrorErrorIssuesInnerPathInner) Set(val *ErrorErrorIssuesInnerPathInner)
- func (v *NullableErrorErrorIssuesInnerPathInner) UnmarshalJSON(src []byte) error
- func (v *NullableErrorErrorIssuesInnerPathInner) Unset()
- type NullableEvent
- type NullableEventActor
- type NullableEventActorOneOf
- func (v NullableEventActorOneOf) Get() *EventActorOneOf
- func (v NullableEventActorOneOf) IsSet() bool
- func (v NullableEventActorOneOf) MarshalJSON() ([]byte, error)
- func (v *NullableEventActorOneOf) Set(val *EventActorOneOf)
- func (v *NullableEventActorOneOf) UnmarshalJSON(src []byte) error
- func (v *NullableEventActorOneOf) Unset()
- type NullableEventActorOneOf1
- func (v NullableEventActorOneOf1) Get() *EventActorOneOf1
- func (v NullableEventActorOneOf1) IsSet() bool
- func (v NullableEventActorOneOf1) MarshalJSON() ([]byte, error)
- func (v *NullableEventActorOneOf1) Set(val *EventActorOneOf1)
- func (v *NullableEventActorOneOf1) UnmarshalJSON(src []byte) error
- func (v *NullableEventActorOneOf1) Unset()
- type NullableEventActorOneOf2
- func (v NullableEventActorOneOf2) Get() *EventActorOneOf2
- func (v NullableEventActorOneOf2) IsSet() bool
- func (v NullableEventActorOneOf2) MarshalJSON() ([]byte, error)
- func (v *NullableEventActorOneOf2) Set(val *EventActorOneOf2)
- func (v *NullableEventActorOneOf2) UnmarshalJSON(src []byte) error
- func (v *NullableEventActorOneOf2) Unset()
- type NullableEventActorOneOf3
- func (v NullableEventActorOneOf3) Get() *EventActorOneOf3
- func (v NullableEventActorOneOf3) IsSet() bool
- func (v NullableEventActorOneOf3) MarshalJSON() ([]byte, error)
- func (v *NullableEventActorOneOf3) Set(val *EventActorOneOf3)
- func (v *NullableEventActorOneOf3) UnmarshalJSON(src []byte) error
- func (v *NullableEventActorOneOf3) Unset()
- type NullableEventActorOneOf4
- func (v NullableEventActorOneOf4) Get() *EventActorOneOf4
- func (v NullableEventActorOneOf4) IsSet() bool
- func (v NullableEventActorOneOf4) MarshalJSON() ([]byte, error)
- func (v *NullableEventActorOneOf4) Set(val *EventActorOneOf4)
- func (v *NullableEventActorOneOf4) UnmarshalJSON(src []byte) error
- func (v *NullableEventActorOneOf4) Unset()
- type NullableEventList
- type NullableEventMachine
- func (v NullableEventMachine) Get() *EventMachine
- func (v NullableEventMachine) IsSet() bool
- func (v NullableEventMachine) MarshalJSON() ([]byte, error)
- func (v *NullableEventMachine) Set(val *EventMachine)
- func (v *NullableEventMachine) UnmarshalJSON(src []byte) error
- func (v *NullableEventMachine) Unset()
- type NullableEventType
- type NullableFixedMaxVersion
- func (v NullableFixedMaxVersion) Get() *FixedMaxVersion
- func (v NullableFixedMaxVersion) IsSet() bool
- func (v NullableFixedMaxVersion) MarshalJSON() ([]byte, error)
- func (v *NullableFixedMaxVersion) Set(val *FixedMaxVersion)
- func (v *NullableFixedMaxVersion) UnmarshalJSON(src []byte) error
- func (v *NullableFixedMaxVersion) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableIntegration
- func (v NullableIntegration) Get() *Integration
- func (v NullableIntegration) IsSet() bool
- func (v NullableIntegration) MarshalJSON() ([]byte, error)
- func (v *NullableIntegration) Set(val *Integration)
- func (v *NullableIntegration) UnmarshalJSON(src []byte) error
- func (v *NullableIntegration) Unset()
- type NullableIntegrationMapping
- func (v NullableIntegrationMapping) Get() *IntegrationMapping
- func (v NullableIntegrationMapping) IsSet() bool
- func (v NullableIntegrationMapping) MarshalJSON() ([]byte, error)
- func (v *NullableIntegrationMapping) Set(val *IntegrationMapping)
- func (v *NullableIntegrationMapping) UnmarshalJSON(src []byte) error
- func (v *NullableIntegrationMapping) Unset()
- type NullableIntegrationStatus
- func (v NullableIntegrationStatus) Get() *IntegrationStatus
- func (v NullableIntegrationStatus) IsSet() bool
- func (v NullableIntegrationStatus) MarshalJSON() ([]byte, error)
- func (v *NullableIntegrationStatus) Set(val *IntegrationStatus)
- func (v *NullableIntegrationStatus) UnmarshalJSON(src []byte) error
- func (v *NullableIntegrationStatus) Unset()
- type NullableLicense
- type NullableLicenseList
- func (v NullableLicenseList) Get() *LicenseList
- func (v NullableLicenseList) IsSet() bool
- func (v NullableLicenseList) MarshalJSON() ([]byte, error)
- func (v *NullableLicenseList) Set(val *LicenseList)
- func (v *NullableLicenseList) UnmarshalJSON(src []byte) error
- func (v *NullableLicenseList) Unset()
- type NullableLicenseMaxVersion
- func (v NullableLicenseMaxVersion) Get() *LicenseMaxVersion
- func (v NullableLicenseMaxVersion) IsSet() bool
- func (v NullableLicenseMaxVersion) MarshalJSON() ([]byte, error)
- func (v *NullableLicenseMaxVersion) Set(val *LicenseMaxVersion)
- func (v *NullableLicenseMaxVersion) UnmarshalJSON(src []byte) error
- func (v *NullableLicenseMaxVersion) Unset()
- type NullableLicenseMaxVersionInput
- func (v NullableLicenseMaxVersionInput) Get() *LicenseMaxVersionInput
- func (v NullableLicenseMaxVersionInput) IsSet() bool
- func (v NullableLicenseMaxVersionInput) MarshalJSON() ([]byte, error)
- func (v *NullableLicenseMaxVersionInput) Set(val *LicenseMaxVersionInput)
- func (v *NullableLicenseMaxVersionInput) UnmarshalJSON(src []byte) error
- func (v *NullableLicenseMaxVersionInput) Unset()
- type NullableLicenseStats
- func (v NullableLicenseStats) Get() *LicenseStats
- func (v NullableLicenseStats) IsSet() bool
- func (v NullableLicenseStats) MarshalJSON() ([]byte, error)
- func (v *NullableLicenseStats) Set(val *LicenseStats)
- func (v *NullableLicenseStats) UnmarshalJSON(src []byte) error
- func (v *NullableLicenseStats) Unset()
- type NullableLicenseStatsActivationsByMachineInner
- func (v NullableLicenseStatsActivationsByMachineInner) Get() *LicenseStatsActivationsByMachineInner
- func (v NullableLicenseStatsActivationsByMachineInner) IsSet() bool
- func (v NullableLicenseStatsActivationsByMachineInner) MarshalJSON() ([]byte, error)
- func (v *NullableLicenseStatsActivationsByMachineInner) Set(val *LicenseStatsActivationsByMachineInner)
- func (v *NullableLicenseStatsActivationsByMachineInner) UnmarshalJSON(src []byte) error
- func (v *NullableLicenseStatsActivationsByMachineInner) Unset()
- type NullableLicenseStatsActivationsByVersionInner
- func (v NullableLicenseStatsActivationsByVersionInner) Get() *LicenseStatsActivationsByVersionInner
- func (v NullableLicenseStatsActivationsByVersionInner) IsSet() bool
- func (v NullableLicenseStatsActivationsByVersionInner) MarshalJSON() ([]byte, error)
- func (v *NullableLicenseStatsActivationsByVersionInner) Set(val *LicenseStatsActivationsByVersionInner)
- func (v *NullableLicenseStatsActivationsByVersionInner) UnmarshalJSON(src []byte) error
- func (v *NullableLicenseStatsActivationsByVersionInner) Unset()
- type NullableLicenseStatus
- func (v NullableLicenseStatus) Get() *LicenseStatus
- func (v NullableLicenseStatus) IsSet() bool
- func (v NullableLicenseStatus) MarshalJSON() ([]byte, error)
- func (v *NullableLicenseStatus) Set(val *LicenseStatus)
- func (v *NullableLicenseStatus) UnmarshalJSON(src []byte) error
- func (v *NullableLicenseStatus) Unset()
- type NullableLicenseToken
- func (v NullableLicenseToken) Get() *LicenseToken
- func (v NullableLicenseToken) IsSet() bool
- func (v NullableLicenseToken) MarshalJSON() ([]byte, error)
- func (v *NullableLicenseToken) Set(val *LicenseToken)
- func (v *NullableLicenseToken) UnmarshalJSON(src []byte) error
- func (v *NullableLicenseToken) Unset()
- type NullableListPolicyEventsTypeParameter
- func (v NullableListPolicyEventsTypeParameter) Get() *ListPolicyEventsTypeParameter
- func (v NullableListPolicyEventsTypeParameter) IsSet() bool
- func (v NullableListPolicyEventsTypeParameter) MarshalJSON() ([]byte, error)
- func (v *NullableListPolicyEventsTypeParameter) Set(val *ListPolicyEventsTypeParameter)
- func (v *NullableListPolicyEventsTypeParameter) UnmarshalJSON(src []byte) error
- func (v *NullableListPolicyEventsTypeParameter) Unset()
- type NullableListStripePrices200Response
- func (v NullableListStripePrices200Response) Get() *ListStripePrices200Response
- func (v NullableListStripePrices200Response) IsSet() bool
- func (v NullableListStripePrices200Response) MarshalJSON() ([]byte, error)
- func (v *NullableListStripePrices200Response) Set(val *ListStripePrices200Response)
- func (v *NullableListStripePrices200Response) UnmarshalJSON(src []byte) error
- func (v *NullableListStripePrices200Response) Unset()
- type NullableLockMaxVersion
- func (v NullableLockMaxVersion) Get() *LockMaxVersion
- func (v NullableLockMaxVersion) IsSet() bool
- func (v NullableLockMaxVersion) MarshalJSON() ([]byte, error)
- func (v *NullableLockMaxVersion) Set(val *LockMaxVersion)
- func (v *NullableLockMaxVersion) UnmarshalJSON(src []byte) error
- func (v *NullableLockMaxVersion) Unset()
- type NullableLockMaxVersionMajorAfter
- func (v NullableLockMaxVersionMajorAfter) Get() *LockMaxVersionMajorAfter
- func (v NullableLockMaxVersionMajorAfter) IsSet() bool
- func (v NullableLockMaxVersionMajorAfter) MarshalJSON() ([]byte, error)
- func (v *NullableLockMaxVersionMajorAfter) Set(val *LockMaxVersionMajorAfter)
- func (v *NullableLockMaxVersionMajorAfter) UnmarshalJSON(src []byte) error
- func (v *NullableLockMaxVersionMajorAfter) Unset()
- type NullableLockMaxVersionMajorAfterOneOf
- func (v NullableLockMaxVersionMajorAfterOneOf) Get() *LockMaxVersionMajorAfterOneOf
- func (v NullableLockMaxVersionMajorAfterOneOf) IsSet() bool
- func (v NullableLockMaxVersionMajorAfterOneOf) MarshalJSON() ([]byte, error)
- func (v *NullableLockMaxVersionMajorAfterOneOf) Set(val *LockMaxVersionMajorAfterOneOf)
- func (v *NullableLockMaxVersionMajorAfterOneOf) UnmarshalJSON(src []byte) error
- func (v *NullableLockMaxVersionMajorAfterOneOf) Unset()
- type NullableLockMaxVersionMajorAfterOneOf1
- func (v NullableLockMaxVersionMajorAfterOneOf1) Get() *LockMaxVersionMajorAfterOneOf1
- func (v NullableLockMaxVersionMajorAfterOneOf1) IsSet() bool
- func (v NullableLockMaxVersionMajorAfterOneOf1) MarshalJSON() ([]byte, error)
- func (v *NullableLockMaxVersionMajorAfterOneOf1) Set(val *LockMaxVersionMajorAfterOneOf1)
- func (v *NullableLockMaxVersionMajorAfterOneOf1) UnmarshalJSON(src []byte) error
- func (v *NullableLockMaxVersionMajorAfterOneOf1) Unset()
- type NullableLockMaxVersionMinorAfter
- func (v NullableLockMaxVersionMinorAfter) Get() *LockMaxVersionMinorAfter
- func (v NullableLockMaxVersionMinorAfter) IsSet() bool
- func (v NullableLockMaxVersionMinorAfter) MarshalJSON() ([]byte, error)
- func (v *NullableLockMaxVersionMinorAfter) Set(val *LockMaxVersionMinorAfter)
- func (v *NullableLockMaxVersionMinorAfter) UnmarshalJSON(src []byte) error
- func (v *NullableLockMaxVersionMinorAfter) Unset()
- type NullableMachine
- type NullableMachineList
- func (v NullableMachineList) Get() *MachineList
- func (v NullableMachineList) IsSet() bool
- func (v NullableMachineList) MarshalJSON() ([]byte, error)
- func (v *NullableMachineList) Set(val *MachineList)
- func (v *NullableMachineList) UnmarshalJSON(src []byte) error
- func (v *NullableMachineList) Unset()
- type NullablePagination
- type NullablePolicy
- type NullablePolicyDuration
- func (v NullablePolicyDuration) Get() *PolicyDuration
- func (v NullablePolicyDuration) IsSet() bool
- func (v NullablePolicyDuration) MarshalJSON() ([]byte, error)
- func (v *NullablePolicyDuration) Set(val *PolicyDuration)
- func (v *NullablePolicyDuration) UnmarshalJSON(src []byte) error
- func (v *NullablePolicyDuration) Unset()
- type NullablePolicyList
- type NullablePolicyMaxVersion
- func (v NullablePolicyMaxVersion) Get() *PolicyMaxVersion
- func (v NullablePolicyMaxVersion) IsSet() bool
- func (v NullablePolicyMaxVersion) MarshalJSON() ([]byte, error)
- func (v *NullablePolicyMaxVersion) Set(val *PolicyMaxVersion)
- func (v *NullablePolicyMaxVersion) UnmarshalJSON(src []byte) error
- func (v *NullablePolicyMaxVersion) Unset()
- type NullablePolicySettings
- func (v NullablePolicySettings) Get() *PolicySettings
- func (v NullablePolicySettings) IsSet() bool
- func (v NullablePolicySettings) MarshalJSON() ([]byte, error)
- func (v *NullablePolicySettings) Set(val *PolicySettings)
- func (v *NullablePolicySettings) UnmarshalJSON(src []byte) error
- func (v *NullablePolicySettings) Unset()
- type NullablePolicySettingsDuration
- func (v NullablePolicySettingsDuration) Get() *PolicySettingsDuration
- func (v NullablePolicySettingsDuration) IsSet() bool
- func (v NullablePolicySettingsDuration) MarshalJSON() ([]byte, error)
- func (v *NullablePolicySettingsDuration) Set(val *PolicySettingsDuration)
- func (v *NullablePolicySettingsDuration) UnmarshalJSON(src []byte) error
- func (v *NullablePolicySettingsDuration) Unset()
- type NullablePolicySettingsDurationAnyOf
- func (v NullablePolicySettingsDurationAnyOf) Get() *PolicySettingsDurationAnyOf
- func (v NullablePolicySettingsDurationAnyOf) IsSet() bool
- func (v NullablePolicySettingsDurationAnyOf) MarshalJSON() ([]byte, error)
- func (v *NullablePolicySettingsDurationAnyOf) Set(val *PolicySettingsDurationAnyOf)
- func (v *NullablePolicySettingsDurationAnyOf) UnmarshalJSON(src []byte) error
- func (v *NullablePolicySettingsDurationAnyOf) Unset()
- type NullablePolicySettingsDurationAnyOf1
- func (v NullablePolicySettingsDurationAnyOf1) Get() *PolicySettingsDurationAnyOf1
- func (v NullablePolicySettingsDurationAnyOf1) IsSet() bool
- func (v NullablePolicySettingsDurationAnyOf1) MarshalJSON() ([]byte, error)
- func (v *NullablePolicySettingsDurationAnyOf1) Set(val *PolicySettingsDurationAnyOf1)
- func (v *NullablePolicySettingsDurationAnyOf1) UnmarshalJSON(src []byte) error
- func (v *NullablePolicySettingsDurationAnyOf1) Unset()
- type NullablePolicySettingsMaxVersion
- func (v NullablePolicySettingsMaxVersion) Get() *PolicySettingsMaxVersion
- func (v NullablePolicySettingsMaxVersion) IsSet() bool
- func (v NullablePolicySettingsMaxVersion) MarshalJSON() ([]byte, error)
- func (v *NullablePolicySettingsMaxVersion) Set(val *PolicySettingsMaxVersion)
- func (v *NullablePolicySettingsMaxVersion) UnmarshalJSON(src []byte) error
- func (v *NullablePolicySettingsMaxVersion) Unset()
- type NullablePortal
- type NullablePortalLink
- type NullablePortalNotFound
- func (v NullablePortalNotFound) Get() *PortalNotFound
- func (v NullablePortalNotFound) IsSet() bool
- func (v NullablePortalNotFound) MarshalJSON() ([]byte, error)
- func (v *NullablePortalNotFound) Set(val *PortalNotFound)
- func (v *NullablePortalNotFound) UnmarshalJSON(src []byte) error
- func (v *NullablePortalNotFound) Unset()
- type NullablePortalSettings
- func (v NullablePortalSettings) Get() *PortalSettings
- func (v NullablePortalSettings) IsSet() bool
- func (v NullablePortalSettings) MarshalJSON() ([]byte, error)
- func (v *NullablePortalSettings) Set(val *PortalSettings)
- func (v *NullablePortalSettings) UnmarshalJSON(src []byte) error
- func (v *NullablePortalSettings) Unset()
- type NullablePrice
- type NullablePriceInput
- type NullableProduct
- type NullableProductList
- func (v NullableProductList) Get() *ProductList
- func (v NullableProductList) IsSet() bool
- func (v NullableProductList) MarshalJSON() ([]byte, error)
- func (v *NullableProductList) Set(val *ProductList)
- func (v *NullableProductList) UnmarshalJSON(src []byte) error
- func (v *NullableProductList) Unset()
- type NullableProductStats
- func (v NullableProductStats) Get() *ProductStats
- func (v NullableProductStats) IsSet() bool
- func (v NullableProductStats) MarshalJSON() ([]byte, error)
- func (v *NullableProductStats) Set(val *ProductStats)
- func (v *NullableProductStats) UnmarshalJSON(src []byte) error
- func (v *NullableProductStats) Unset()
- type NullableProductStatsActivationsByVersionInner
- func (v NullableProductStatsActivationsByVersionInner) Get() *ProductStatsActivationsByVersionInner
- func (v NullableProductStatsActivationsByVersionInner) IsSet() bool
- func (v NullableProductStatsActivationsByVersionInner) MarshalJSON() ([]byte, error)
- func (v *NullableProductStatsActivationsByVersionInner) Set(val *ProductStatsActivationsByVersionInner)
- func (v *NullableProductStatsActivationsByVersionInner) UnmarshalJSON(src []byte) error
- func (v *NullableProductStatsActivationsByVersionInner) Unset()
- type NullableProductStatsActiveMachinesByPlatformInner
- func (v NullableProductStatsActiveMachinesByPlatformInner) Get() *ProductStatsActiveMachinesByPlatformInner
- func (v NullableProductStatsActiveMachinesByPlatformInner) IsSet() bool
- func (v NullableProductStatsActiveMachinesByPlatformInner) MarshalJSON() ([]byte, error)
- func (v *NullableProductStatsActiveMachinesByPlatformInner) Set(val *ProductStatsActiveMachinesByPlatformInner)
- func (v *NullableProductStatsActiveMachinesByPlatformInner) UnmarshalJSON(src []byte) error
- func (v *NullableProductStatsActiveMachinesByPlatformInner) Unset()
- type NullableProductStatsActiveMachinesByVersionInner
- func (v NullableProductStatsActiveMachinesByVersionInner) Get() *ProductStatsActiveMachinesByVersionInner
- func (v NullableProductStatsActiveMachinesByVersionInner) IsSet() bool
- func (v NullableProductStatsActiveMachinesByVersionInner) MarshalJSON() ([]byte, error)
- func (v *NullableProductStatsActiveMachinesByVersionInner) Set(val *ProductStatsActiveMachinesByVersionInner)
- func (v *NullableProductStatsActiveMachinesByVersionInner) UnmarshalJSON(src []byte) error
- func (v *NullableProductStatsActiveMachinesByVersionInner) Unset()
- type NullableProductStatsNewLicensesByPolicyInner
- func (v NullableProductStatsNewLicensesByPolicyInner) Get() *ProductStatsNewLicensesByPolicyInner
- func (v NullableProductStatsNewLicensesByPolicyInner) IsSet() bool
- func (v NullableProductStatsNewLicensesByPolicyInner) MarshalJSON() ([]byte, error)
- func (v *NullableProductStatsNewLicensesByPolicyInner) Set(val *ProductStatsNewLicensesByPolicyInner)
- func (v *NullableProductStatsNewLicensesByPolicyInner) UnmarshalJSON(src []byte) error
- func (v *NullableProductStatsNewLicensesByPolicyInner) Unset()
- type NullableRelease
- type NullableReleaseList
- func (v NullableReleaseList) Get() *ReleaseList
- func (v NullableReleaseList) IsSet() bool
- func (v NullableReleaseList) MarshalJSON() ([]byte, error)
- func (v *NullableReleaseList) Set(val *ReleaseList)
- func (v *NullableReleaseList) UnmarshalJSON(src []byte) error
- func (v *NullableReleaseList) Unset()
- type NullableRequestPortalLink
- func (v NullableRequestPortalLink) Get() *RequestPortalLink
- func (v NullableRequestPortalLink) IsSet() bool
- func (v NullableRequestPortalLink) MarshalJSON() ([]byte, error)
- func (v *NullableRequestPortalLink) Set(val *RequestPortalLink)
- func (v *NullableRequestPortalLink) UnmarshalJSON(src []byte) error
- func (v *NullableRequestPortalLink) Unset()
- type NullableRevenue
- type NullableSendLicenseKeys
- func (v NullableSendLicenseKeys) Get() *SendLicenseKeys
- func (v NullableSendLicenseKeys) IsSet() bool
- func (v NullableSendLicenseKeys) MarshalJSON() ([]byte, error)
- func (v *NullableSendLicenseKeys) Set(val *SendLicenseKeys)
- func (v *NullableSendLicenseKeys) UnmarshalJSON(src []byte) error
- func (v *NullableSendLicenseKeys) Unset()
- type NullableSendPortalLink
- func (v NullableSendPortalLink) Get() *SendPortalLink
- func (v NullableSendPortalLink) IsSet() bool
- func (v NullableSendPortalLink) MarshalJSON() ([]byte, error)
- func (v *NullableSendPortalLink) Set(val *SendPortalLink)
- func (v *NullableSendPortalLink) UnmarshalJSON(src []byte) error
- func (v *NullableSendPortalLink) Unset()
- type NullableSigningKey
- type NullableString
- type NullableStripeIntegration
- func (v NullableStripeIntegration) Get() *StripeIntegration
- func (v NullableStripeIntegration) IsSet() bool
- func (v NullableStripeIntegration) MarshalJSON() ([]byte, error)
- func (v *NullableStripeIntegration) Set(val *StripeIntegration)
- func (v *NullableStripeIntegration) UnmarshalJSON(src []byte) error
- func (v *NullableStripeIntegration) Unset()
- type NullableStripePermission
- func (v NullableStripePermission) Get() *StripePermission
- func (v NullableStripePermission) IsSet() bool
- func (v NullableStripePermission) MarshalJSON() ([]byte, error)
- func (v *NullableStripePermission) Set(val *StripePermission)
- func (v *NullableStripePermission) UnmarshalJSON(src []byte) error
- func (v *NullableStripePermission) Unset()
- type NullableStripePrice
- func (v NullableStripePrice) Get() *StripePrice
- func (v NullableStripePrice) IsSet() bool
- func (v NullableStripePrice) MarshalJSON() ([]byte, error)
- func (v *NullableStripePrice) Set(val *StripePrice)
- func (v *NullableStripePrice) UnmarshalJSON(src []byte) error
- func (v *NullableStripePrice) Unset()
- type NullableTime
- type NullableToken
- type NullableUpdateCustomer
- func (v NullableUpdateCustomer) Get() *UpdateCustomer
- func (v NullableUpdateCustomer) IsSet() bool
- func (v NullableUpdateCustomer) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateCustomer) Set(val *UpdateCustomer)
- func (v *NullableUpdateCustomer) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateCustomer) Unset()
- type NullableUpdateIntegrationMapping
- func (v NullableUpdateIntegrationMapping) Get() *UpdateIntegrationMapping
- func (v NullableUpdateIntegrationMapping) IsSet() bool
- func (v NullableUpdateIntegrationMapping) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateIntegrationMapping) Set(val *UpdateIntegrationMapping)
- func (v *NullableUpdateIntegrationMapping) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateIntegrationMapping) Unset()
- type NullableUpdateLicense
- func (v NullableUpdateLicense) Get() *UpdateLicense
- func (v NullableUpdateLicense) IsSet() bool
- func (v NullableUpdateLicense) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateLicense) Set(val *UpdateLicense)
- func (v *NullableUpdateLicense) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateLicense) Unset()
- type NullableUpdatePolicy
- func (v NullableUpdatePolicy) Get() *UpdatePolicy
- func (v NullableUpdatePolicy) IsSet() bool
- func (v NullableUpdatePolicy) MarshalJSON() ([]byte, error)
- func (v *NullableUpdatePolicy) Set(val *UpdatePolicy)
- func (v *NullableUpdatePolicy) UnmarshalJSON(src []byte) error
- func (v *NullableUpdatePolicy) Unset()
- type NullableUpdateProduct
- func (v NullableUpdateProduct) Get() *UpdateProduct
- func (v NullableUpdateProduct) IsSet() bool
- func (v NullableUpdateProduct) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateProduct) Set(val *UpdateProduct)
- func (v *NullableUpdateProduct) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateProduct) Unset()
- type NullableUpdateProductPortal
- func (v NullableUpdateProductPortal) Get() *UpdateProductPortal
- func (v NullableUpdateProductPortal) IsSet() bool
- func (v NullableUpdateProductPortal) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateProductPortal) Set(val *UpdateProductPortal)
- func (v *NullableUpdateProductPortal) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateProductPortal) Unset()
- type NullableUpdateRelease
- func (v NullableUpdateRelease) Get() *UpdateRelease
- func (v NullableUpdateRelease) IsSet() bool
- func (v NullableUpdateRelease) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateRelease) Set(val *UpdateRelease)
- func (v *NullableUpdateRelease) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateRelease) Unset()
- type NullableValidateKey
- func (v NullableValidateKey) Get() *ValidateKey
- func (v NullableValidateKey) IsSet() bool
- func (v NullableValidateKey) MarshalJSON() ([]byte, error)
- func (v *NullableValidateKey) Set(val *ValidateKey)
- func (v *NullableValidateKey) UnmarshalJSON(src []byte) error
- func (v *NullableValidateKey) Unset()
- type NullableValidateKeyError
- func (v NullableValidateKeyError) Get() *ValidateKeyError
- func (v NullableValidateKeyError) IsSet() bool
- func (v NullableValidateKeyError) MarshalJSON() ([]byte, error)
- func (v *NullableValidateKeyError) Set(val *ValidateKeyError)
- func (v *NullableValidateKeyError) UnmarshalJSON(src []byte) error
- func (v *NullableValidateKeyError) Unset()
- type NullableValidateKeyErrorError
- func (v NullableValidateKeyErrorError) Get() *ValidateKeyErrorError
- func (v NullableValidateKeyErrorError) IsSet() bool
- func (v NullableValidateKeyErrorError) MarshalJSON() ([]byte, error)
- func (v *NullableValidateKeyErrorError) Set(val *ValidateKeyErrorError)
- func (v *NullableValidateKeyErrorError) UnmarshalJSON(src []byte) error
- func (v *NullableValidateKeyErrorError) Unset()
- type Pagination
- func (o *Pagination) GetPage() int32
- func (o *Pagination) GetPageOk() (*int32, bool)
- func (o *Pagination) GetPageSize() int32
- func (o *Pagination) GetPageSizeOk() (*int32, bool)
- func (o *Pagination) GetTotal() int32
- func (o *Pagination) GetTotalOk() (*int32, bool)
- func (o *Pagination) GetTotalPages() int32
- func (o *Pagination) GetTotalPagesOk() (*int32, bool)
- func (o Pagination) MarshalJSON() ([]byte, error)
- func (o *Pagination) SetPage(v int32)
- func (o *Pagination) SetPageSize(v int32)
- func (o *Pagination) SetTotal(v int32)
- func (o *Pagination) SetTotalPages(v int32)
- func (o Pagination) ToMap() (map[string]interface{}, error)
- func (o *Pagination) UnmarshalJSON(data []byte) (err error)
- type PoliciesAPIService
- func (a *PoliciesAPIService) CreatePolicy(ctx context.Context, productId string) ApiCreatePolicyRequest
- func (a *PoliciesAPIService) CreatePolicyExecute(r ApiCreatePolicyRequest) (*Policy, *http.Response, error)
- func (a *PoliciesAPIService) DeletePolicy(ctx context.Context, id string) ApiDeletePolicyRequest
- func (a *PoliciesAPIService) DeletePolicyExecute(r ApiDeletePolicyRequest) (*http.Response, error)
- func (a *PoliciesAPIService) GetPolicy(ctx context.Context, id string) ApiGetPolicyRequest
- func (a *PoliciesAPIService) GetPolicyExecute(r ApiGetPolicyRequest) (*Policy, *http.Response, error)
- func (a *PoliciesAPIService) ListPolicies(ctx context.Context, productId string) ApiListPoliciesRequest
- func (a *PoliciesAPIService) ListPoliciesExecute(r ApiListPoliciesRequest) (*PolicyList, *http.Response, error)
- func (a *PoliciesAPIService) UpdatePolicy(ctx context.Context, id string) ApiUpdatePolicyRequest
- func (a *PoliciesAPIService) UpdatePolicyExecute(r ApiUpdatePolicyRequest) (*Policy, *http.Response, error)
- type Policy
- func (o *Policy) GetCreatedAt() time.Time
- func (o *Policy) GetCreatedAtOk() (*time.Time, bool)
- func (o *Policy) GetDuration() PolicyDuration
- func (o *Policy) GetDurationOk() (*PolicyDuration, bool)
- func (o *Policy) GetId() string
- func (o *Policy) GetIdOk() (*string, bool)
- func (o *Policy) GetIsDefault() bool
- func (o *Policy) GetIsDefaultOk() (*bool, bool)
- func (o *Policy) GetLicenseCount() int32
- func (o *Policy) GetLicenseCountOk() (*int32, bool)
- func (o *Policy) GetMaxMachines() int32
- func (o *Policy) GetMaxMachinesOk() (*int32, bool)
- func (o *Policy) GetMaxOfflineDurationSeconds() int32
- func (o *Policy) GetMaxOfflineDurationSecondsOk() (*int32, bool)
- func (o *Policy) GetMaxVersion() PolicyMaxVersion
- func (o *Policy) GetMaxVersionOk() (*PolicyMaxVersion, bool)
- func (o *Policy) GetName() string
- func (o *Policy) GetNameOk() (*string, bool)
- func (o *Policy) GetProductId() string
- func (o *Policy) GetProductIdOk() (*string, bool)
- func (o *Policy) GetSlug() string
- func (o *Policy) GetSlugOk() (*string, bool)
- func (o *Policy) GetUpdatedAt() time.Time
- func (o *Policy) GetUpdatedAtOk() (*time.Time, bool)
- func (o Policy) MarshalJSON() ([]byte, error)
- func (o *Policy) SetCreatedAt(v time.Time)
- func (o *Policy) SetDuration(v PolicyDuration)
- func (o *Policy) SetId(v string)
- func (o *Policy) SetIsDefault(v bool)
- func (o *Policy) SetLicenseCount(v int32)
- func (o *Policy) SetMaxMachines(v int32)
- func (o *Policy) SetMaxOfflineDurationSeconds(v int32)
- func (o *Policy) SetMaxVersion(v PolicyMaxVersion)
- func (o *Policy) SetName(v string)
- func (o *Policy) SetProductId(v string)
- func (o *Policy) SetSlug(v string)
- func (o *Policy) SetUpdatedAt(v time.Time)
- func (o Policy) ToMap() (map[string]interface{}, error)
- func (o *Policy) UnmarshalJSON(data []byte) (err error)
- type PolicyDuration
- type PolicyList
- func (o *PolicyList) GetData() []Policy
- func (o *PolicyList) GetDataOk() ([]Policy, bool)
- func (o *PolicyList) GetPagination() Pagination
- func (o *PolicyList) GetPaginationOk() (*Pagination, bool)
- func (o PolicyList) MarshalJSON() ([]byte, error)
- func (o *PolicyList) SetData(v []Policy)
- func (o *PolicyList) SetPagination(v Pagination)
- func (o PolicyList) ToMap() (map[string]interface{}, error)
- func (o *PolicyList) UnmarshalJSON(data []byte) (err error)
- type PolicyMaxVersion
- type PolicySettings
- func (o *PolicySettings) GetDuration() PolicySettingsDuration
- func (o *PolicySettings) GetDurationOk() (*PolicySettingsDuration, bool)
- func (o *PolicySettings) GetMaxMachines() int32
- func (o *PolicySettings) GetMaxMachinesOk() (*int32, bool)
- func (o *PolicySettings) GetMaxOfflineDurationSeconds() int32
- func (o *PolicySettings) GetMaxOfflineDurationSecondsOk() (*int32, bool)
- func (o *PolicySettings) GetMaxVersion() PolicySettingsMaxVersion
- func (o *PolicySettings) GetMaxVersionOk() (*PolicySettingsMaxVersion, bool)
- func (o *PolicySettings) HasDuration() bool
- func (o *PolicySettings) HasMaxMachines() bool
- func (o *PolicySettings) HasMaxOfflineDurationSeconds() bool
- func (o *PolicySettings) HasMaxVersion() bool
- func (o PolicySettings) MarshalJSON() ([]byte, error)
- func (o *PolicySettings) SetDuration(v PolicySettingsDuration)
- func (o *PolicySettings) SetDurationNil()
- func (o *PolicySettings) SetMaxMachines(v int32)
- func (o *PolicySettings) SetMaxMachinesNil()
- func (o *PolicySettings) SetMaxOfflineDurationSeconds(v int32)
- func (o *PolicySettings) SetMaxVersion(v PolicySettingsMaxVersion)
- func (o *PolicySettings) SetMaxVersionNil()
- func (o PolicySettings) ToMap() (map[string]interface{}, error)
- func (o *PolicySettings) UnmarshalJSON(data []byte) (err error)
- func (o *PolicySettings) UnsetDuration()
- func (o *PolicySettings) UnsetMaxMachines()
- func (o *PolicySettings) UnsetMaxVersion()
- type PolicySettingsDuration
- type PolicySettingsDurationAnyOf
- func (o *PolicySettingsDurationAnyOf) GetUnit() string
- func (o *PolicySettingsDurationAnyOf) GetUnitOk() (*string, bool)
- func (o *PolicySettingsDurationAnyOf) GetValue() int32
- func (o *PolicySettingsDurationAnyOf) GetValueOk() (*int32, bool)
- func (o PolicySettingsDurationAnyOf) MarshalJSON() ([]byte, error)
- func (o *PolicySettingsDurationAnyOf) SetUnit(v string)
- func (o *PolicySettingsDurationAnyOf) SetValue(v int32)
- func (o PolicySettingsDurationAnyOf) ToMap() (map[string]interface{}, error)
- func (o *PolicySettingsDurationAnyOf) UnmarshalJSON(data []byte) (err error)
- type PolicySettingsDurationAnyOf1
- func (o *PolicySettingsDurationAnyOf1) GetUnit() string
- func (o *PolicySettingsDurationAnyOf1) GetUnitOk() (*string, bool)
- func (o *PolicySettingsDurationAnyOf1) GetValue() int32
- func (o *PolicySettingsDurationAnyOf1) GetValueOk() (*int32, bool)
- func (o PolicySettingsDurationAnyOf1) MarshalJSON() ([]byte, error)
- func (o *PolicySettingsDurationAnyOf1) SetUnit(v string)
- func (o *PolicySettingsDurationAnyOf1) SetValue(v int32)
- func (o PolicySettingsDurationAnyOf1) ToMap() (map[string]interface{}, error)
- func (o *PolicySettingsDurationAnyOf1) UnmarshalJSON(data []byte) (err error)
- type PolicySettingsMaxVersion
- type Portal
- func (o *Portal) GetAccentColor() string
- func (o *Portal) GetAccentColorOk() (*string, bool)
- func (o *Portal) GetBrandColor() string
- func (o *Portal) GetBrandColorOk() (*string, bool)
- func (o *Portal) GetLogoUrl() string
- func (o *Portal) GetLogoUrlOk() (*string, bool)
- func (o *Portal) GetOrganizationName() string
- func (o *Portal) GetOrganizationNameOk() (*string, bool)
- func (o *Portal) GetProductId() string
- func (o *Portal) GetProductIdOk() (*string, bool)
- func (o *Portal) GetProductName() string
- func (o *Portal) GetProductNameOk() (*string, bool)
- func (o *Portal) GetReturnUrl() string
- func (o *Portal) GetReturnUrlOk() (*string, bool)
- func (o Portal) MarshalJSON() ([]byte, error)
- func (o *Portal) SetAccentColor(v string)
- func (o *Portal) SetBrandColor(v string)
- func (o *Portal) SetLogoUrl(v string)
- func (o *Portal) SetOrganizationName(v string)
- func (o *Portal) SetProductId(v string)
- func (o *Portal) SetProductName(v string)
- func (o *Portal) SetReturnUrl(v string)
- func (o Portal) ToMap() (map[string]interface{}, error)
- func (o *Portal) UnmarshalJSON(data []byte) (err error)
- type PortalAPIService
- func (a *PortalAPIService) CreatePortalLink(ctx context.Context, id string) ApiCreatePortalLinkRequest
- func (a *PortalAPIService) CreatePortalLinkExecute(r ApiCreatePortalLinkRequest) (*PortalLink, *http.Response, error)
- func (a *PortalAPIService) GetPortal(ctx context.Context, productId string) ApiGetPortalRequest
- func (a *PortalAPIService) GetPortalExecute(r ApiGetPortalRequest) (*Portal, *http.Response, error)
- func (a *PortalAPIService) RequestPortalLink(ctx context.Context, productId string) ApiRequestPortalLinkRequest
- func (a *PortalAPIService) RequestPortalLinkExecute(r ApiRequestPortalLinkRequest) (*http.Response, error)
- func (a *PortalAPIService) SendPortalLink(ctx context.Context, id string) ApiSendPortalLinkRequest
- func (a *PortalAPIService) SendPortalLinkExecute(r ApiSendPortalLinkRequest) (*http.Response, error)
- type PortalLink
- func (o *PortalLink) GetExpiresAt() time.Time
- func (o *PortalLink) GetExpiresAtOk() (*time.Time, bool)
- func (o *PortalLink) GetToken() string
- func (o *PortalLink) GetTokenOk() (*string, bool)
- func (o *PortalLink) GetUrl() string
- func (o *PortalLink) GetUrlOk() (*string, bool)
- func (o PortalLink) MarshalJSON() ([]byte, error)
- func (o *PortalLink) SetExpiresAt(v time.Time)
- func (o *PortalLink) SetToken(v string)
- func (o *PortalLink) SetUrl(v string)
- func (o PortalLink) ToMap() (map[string]interface{}, error)
- func (o *PortalLink) UnmarshalJSON(data []byte) (err error)
- type PortalNotFound
- func (o *PortalNotFound) GetError() ErrorError
- func (o *PortalNotFound) GetErrorOk() (*ErrorError, bool)
- func (o *PortalNotFound) GetOrganizationSlug() string
- func (o *PortalNotFound) GetOrganizationSlugOk() (*string, bool)
- func (o *PortalNotFound) GetProductSlug() string
- func (o *PortalNotFound) GetProductSlugOk() (*string, bool)
- func (o *PortalNotFound) HasOrganizationSlug() bool
- func (o *PortalNotFound) HasProductSlug() bool
- func (o PortalNotFound) MarshalJSON() ([]byte, error)
- func (o *PortalNotFound) SetError(v ErrorError)
- func (o *PortalNotFound) SetOrganizationSlug(v string)
- func (o *PortalNotFound) SetProductSlug(v string)
- func (o PortalNotFound) ToMap() (map[string]interface{}, error)
- func (o *PortalNotFound) UnmarshalJSON(data []byte) (err error)
- type PortalSettings
- func (o *PortalSettings) GetAccentColor() string
- func (o *PortalSettings) GetAccentColorOk() (*string, bool)
- func (o *PortalSettings) GetBrandColor() string
- func (o *PortalSettings) GetBrandColorOk() (*string, bool)
- func (o *PortalSettings) GetEnabled() bool
- func (o *PortalSettings) GetEnabledOk() (*bool, bool)
- func (o *PortalSettings) GetReturnDomains() []string
- func (o *PortalSettings) GetReturnDomainsOk() ([]string, bool)
- func (o *PortalSettings) GetReturnUrl() string
- func (o *PortalSettings) GetReturnUrlOk() (*string, bool)
- func (o PortalSettings) MarshalJSON() ([]byte, error)
- func (o *PortalSettings) SetAccentColor(v string)
- func (o *PortalSettings) SetBrandColor(v string)
- func (o *PortalSettings) SetEnabled(v bool)
- func (o *PortalSettings) SetReturnDomains(v []string)
- func (o *PortalSettings) SetReturnUrl(v string)
- func (o PortalSettings) ToMap() (map[string]interface{}, error)
- func (o *PortalSettings) UnmarshalJSON(data []byte) (err error)
- type Price
- func (o *Price) GetAmount() float32
- func (o *Price) GetAmountOk() (*float32, bool)
- func (o *Price) GetCurrency() string
- func (o *Price) GetCurrencyOk() (*string, bool)
- func (o Price) MarshalJSON() ([]byte, error)
- func (o *Price) SetAmount(v float32)
- func (o *Price) SetCurrency(v string)
- func (o Price) ToMap() (map[string]interface{}, error)
- func (o *Price) UnmarshalJSON(data []byte) (err error)
- type PriceInput
- func (o *PriceInput) GetAmount() float32
- func (o *PriceInput) GetAmountOk() (*float32, bool)
- func (o *PriceInput) GetCurrency() string
- func (o *PriceInput) GetCurrencyOk() (*string, bool)
- func (o PriceInput) MarshalJSON() ([]byte, error)
- func (o *PriceInput) SetAmount(v float32)
- func (o *PriceInput) SetCurrency(v string)
- func (o PriceInput) ToMap() (map[string]interface{}, error)
- func (o *PriceInput) UnmarshalJSON(data []byte) (err error)
- type Product
- func (o *Product) GetCreatedAt() time.Time
- func (o *Product) GetCreatedAtOk() (*time.Time, bool)
- func (o *Product) GetId() string
- func (o *Product) GetIdOk() (*string, bool)
- func (o *Product) GetIsTestFromProductId() string
- func (o *Product) GetIsTestFromProductIdOk() (*string, bool)
- func (o *Product) GetLogoUrl() string
- func (o *Product) GetLogoUrlOk() (*string, bool)
- func (o *Product) GetName() string
- func (o *Product) GetNameOk() (*string, bool)
- func (o *Product) GetPortal() PortalSettings
- func (o *Product) GetPortalOk() (*PortalSettings, bool)
- func (o *Product) GetSlug() string
- func (o *Product) GetSlugOk() (*string, bool)
- func (o *Product) GetUpdatedAt() time.Time
- func (o *Product) GetUpdatedAtOk() (*time.Time, bool)
- func (o Product) MarshalJSON() ([]byte, error)
- func (o *Product) SetCreatedAt(v time.Time)
- func (o *Product) SetId(v string)
- func (o *Product) SetIsTestFromProductId(v string)
- func (o *Product) SetLogoUrl(v string)
- func (o *Product) SetName(v string)
- func (o *Product) SetPortal(v PortalSettings)
- func (o *Product) SetSlug(v string)
- func (o *Product) SetUpdatedAt(v time.Time)
- func (o Product) ToMap() (map[string]interface{}, error)
- func (o *Product) UnmarshalJSON(data []byte) (err error)
- type ProductList
- func (o *ProductList) GetData() []Product
- func (o *ProductList) GetDataOk() ([]Product, bool)
- func (o *ProductList) GetPagination() Pagination
- func (o *ProductList) GetPaginationOk() (*Pagination, bool)
- func (o ProductList) MarshalJSON() ([]byte, error)
- func (o *ProductList) SetData(v []Product)
- func (o *ProductList) SetPagination(v Pagination)
- func (o ProductList) ToMap() (map[string]interface{}, error)
- func (o *ProductList) UnmarshalJSON(data []byte) (err error)
- type ProductStats
- func (o *ProductStats) GetActivationsByVersion() []ProductStatsActivationsByVersionInner
- func (o *ProductStats) GetActivationsByVersionOk() ([]ProductStatsActivationsByVersionInner, bool)
- func (o *ProductStats) GetActiveLicenseCount() int32
- func (o *ProductStats) GetActiveLicenseCountOk() (*int32, bool)
- func (o *ProductStats) GetActiveMachineCount() int32
- func (o *ProductStats) GetActiveMachineCountOk() (*int32, bool)
- func (o *ProductStats) GetActiveMachinesByPlatform() []ProductStatsActiveMachinesByPlatformInner
- func (o *ProductStats) GetActiveMachinesByPlatformOk() ([]ProductStatsActiveMachinesByPlatformInner, bool)
- func (o *ProductStats) GetActiveMachinesByVersion() []ProductStatsActiveMachinesByVersionInner
- func (o *ProductStats) GetActiveMachinesByVersionOk() ([]ProductStatsActiveMachinesByVersionInner, bool)
- func (o *ProductStats) GetDays() []string
- func (o *ProductStats) GetDaysOk() ([]string, bool)
- func (o *ProductStats) GetExpiredLicenseCount() int32
- func (o *ProductStats) GetExpiredLicenseCountOk() (*int32, bool)
- func (o *ProductStats) GetExpiringLicenseCount() int32
- func (o *ProductStats) GetExpiringLicenseCountOk() (*int32, bool)
- func (o *ProductStats) GetFullLicenseCount() int32
- func (o *ProductStats) GetFullLicenseCountOk() (*int32, bool)
- func (o *ProductStats) GetInUseLicenseCount() int32
- func (o *ProductStats) GetInUseLicenseCountOk() (*int32, bool)
- func (o *ProductStats) GetLicenseCount() int32
- func (o *ProductStats) GetLicenseCountOk() (*int32, bool)
- func (o *ProductStats) GetMonths() []string
- func (o *ProductStats) GetMonthsOk() ([]string, bool)
- func (o *ProductStats) GetNewLicenseCount() int32
- func (o *ProductStats) GetNewLicenseCountOk() (*int32, bool)
- func (o *ProductStats) GetNewLicensesByDay() []int32
- func (o *ProductStats) GetNewLicensesByDayOk() ([]int32, bool)
- func (o *ProductStats) GetNewLicensesByMonth() []int32
- func (o *ProductStats) GetNewLicensesByMonthOk() ([]int32, bool)
- func (o *ProductStats) GetNewLicensesByPolicy() []ProductStatsNewLicensesByPolicyInner
- func (o *ProductStats) GetNewLicensesByPolicyOk() ([]ProductStatsNewLicensesByPolicyInner, bool)
- func (o *ProductStats) GetRevenue() []Revenue
- func (o *ProductStats) GetRevenueOk() ([]Revenue, bool)
- func (o *ProductStats) GetSeatCount() int32
- func (o *ProductStats) GetSeatCountOk() (*int32, bool)
- func (o *ProductStats) GetUsedSeatCount() int32
- func (o *ProductStats) GetUsedSeatCountOk() (*int32, bool)
- func (o ProductStats) MarshalJSON() ([]byte, error)
- func (o *ProductStats) SetActivationsByVersion(v []ProductStatsActivationsByVersionInner)
- func (o *ProductStats) SetActiveLicenseCount(v int32)
- func (o *ProductStats) SetActiveMachineCount(v int32)
- func (o *ProductStats) SetActiveMachinesByPlatform(v []ProductStatsActiveMachinesByPlatformInner)
- func (o *ProductStats) SetActiveMachinesByVersion(v []ProductStatsActiveMachinesByVersionInner)
- func (o *ProductStats) SetDays(v []string)
- func (o *ProductStats) SetExpiredLicenseCount(v int32)
- func (o *ProductStats) SetExpiringLicenseCount(v int32)
- func (o *ProductStats) SetFullLicenseCount(v int32)
- func (o *ProductStats) SetInUseLicenseCount(v int32)
- func (o *ProductStats) SetLicenseCount(v int32)
- func (o *ProductStats) SetMonths(v []string)
- func (o *ProductStats) SetNewLicenseCount(v int32)
- func (o *ProductStats) SetNewLicensesByDay(v []int32)
- func (o *ProductStats) SetNewLicensesByMonth(v []int32)
- func (o *ProductStats) SetNewLicensesByPolicy(v []ProductStatsNewLicensesByPolicyInner)
- func (o *ProductStats) SetRevenue(v []Revenue)
- func (o *ProductStats) SetSeatCount(v int32)
- func (o *ProductStats) SetUsedSeatCount(v int32)
- func (o ProductStats) ToMap() (map[string]interface{}, error)
- func (o *ProductStats) UnmarshalJSON(data []byte) (err error)
- type ProductStatsActivationsByVersionInner
- func (o *ProductStatsActivationsByVersionInner) GetCounts() []int32
- func (o *ProductStatsActivationsByVersionInner) GetCountsOk() ([]int32, bool)
- func (o *ProductStatsActivationsByVersionInner) GetVersion() string
- func (o *ProductStatsActivationsByVersionInner) GetVersionOk() (*string, bool)
- func (o ProductStatsActivationsByVersionInner) MarshalJSON() ([]byte, error)
- func (o *ProductStatsActivationsByVersionInner) SetCounts(v []int32)
- func (o *ProductStatsActivationsByVersionInner) SetVersion(v string)
- func (o ProductStatsActivationsByVersionInner) ToMap() (map[string]interface{}, error)
- func (o *ProductStatsActivationsByVersionInner) UnmarshalJSON(data []byte) (err error)
- type ProductStatsActiveMachinesByPlatformInner
- func (o *ProductStatsActiveMachinesByPlatformInner) GetCount() int32
- func (o *ProductStatsActiveMachinesByPlatformInner) GetCountOk() (*int32, bool)
- func (o *ProductStatsActiveMachinesByPlatformInner) GetPlatform() string
- func (o *ProductStatsActiveMachinesByPlatformInner) GetPlatformOk() (*string, bool)
- func (o ProductStatsActiveMachinesByPlatformInner) MarshalJSON() ([]byte, error)
- func (o *ProductStatsActiveMachinesByPlatformInner) SetCount(v int32)
- func (o *ProductStatsActiveMachinesByPlatformInner) SetPlatform(v string)
- func (o ProductStatsActiveMachinesByPlatformInner) ToMap() (map[string]interface{}, error)
- func (o *ProductStatsActiveMachinesByPlatformInner) UnmarshalJSON(data []byte) (err error)
- type ProductStatsActiveMachinesByVersionInner
- func (o *ProductStatsActiveMachinesByVersionInner) GetCount() int32
- func (o *ProductStatsActiveMachinesByVersionInner) GetCountOk() (*int32, bool)
- func (o *ProductStatsActiveMachinesByVersionInner) GetVersion() string
- func (o *ProductStatsActiveMachinesByVersionInner) GetVersionOk() (*string, bool)
- func (o ProductStatsActiveMachinesByVersionInner) MarshalJSON() ([]byte, error)
- func (o *ProductStatsActiveMachinesByVersionInner) SetCount(v int32)
- func (o *ProductStatsActiveMachinesByVersionInner) SetVersion(v string)
- func (o ProductStatsActiveMachinesByVersionInner) ToMap() (map[string]interface{}, error)
- func (o *ProductStatsActiveMachinesByVersionInner) UnmarshalJSON(data []byte) (err error)
- type ProductStatsNewLicensesByPolicyInner
- func (o *ProductStatsNewLicensesByPolicyInner) GetByDay() []float32
- func (o *ProductStatsNewLicensesByPolicyInner) GetByDayOk() ([]float32, bool)
- func (o *ProductStatsNewLicensesByPolicyInner) GetByMonth() []float32
- func (o *ProductStatsNewLicensesByPolicyInner) GetByMonthOk() ([]float32, bool)
- func (o *ProductStatsNewLicensesByPolicyInner) GetPolicyId() string
- func (o *ProductStatsNewLicensesByPolicyInner) GetPolicyIdOk() (*string, bool)
- func (o ProductStatsNewLicensesByPolicyInner) MarshalJSON() ([]byte, error)
- func (o *ProductStatsNewLicensesByPolicyInner) SetByDay(v []float32)
- func (o *ProductStatsNewLicensesByPolicyInner) SetByMonth(v []float32)
- func (o *ProductStatsNewLicensesByPolicyInner) SetPolicyId(v string)
- func (o ProductStatsNewLicensesByPolicyInner) ToMap() (map[string]interface{}, error)
- func (o *ProductStatsNewLicensesByPolicyInner) UnmarshalJSON(data []byte) (err error)
- type ProductsAPIService
- func (a *ProductsAPIService) CreateProduct(ctx context.Context) ApiCreateProductRequest
- func (a *ProductsAPIService) CreateProductExecute(r ApiCreateProductRequest) (*Product, *http.Response, error)
- func (a *ProductsAPIService) DeleteProduct(ctx context.Context, id string) ApiDeleteProductRequest
- func (a *ProductsAPIService) DeleteProductExecute(r ApiDeleteProductRequest) (*http.Response, error)
- func (a *ProductsAPIService) DeleteProductLogo(ctx context.Context, id string) ApiDeleteProductLogoRequest
- func (a *ProductsAPIService) DeleteProductLogoExecute(r ApiDeleteProductLogoRequest) (*Product, *http.Response, error)
- func (a *ProductsAPIService) GetProduct(ctx context.Context, id string) ApiGetProductRequest
- func (a *ProductsAPIService) GetProductExecute(r ApiGetProductRequest) (*Product, *http.Response, error)
- func (a *ProductsAPIService) GetProductStats(ctx context.Context, id string) ApiGetProductStatsRequest
- func (a *ProductsAPIService) GetProductStatsExecute(r ApiGetProductStatsRequest) (*ProductStats, *http.Response, error)
- func (a *ProductsAPIService) ListProducts(ctx context.Context) ApiListProductsRequest
- func (a *ProductsAPIService) ListProductsExecute(r ApiListProductsRequest) (*ProductList, *http.Response, error)
- func (a *ProductsAPIService) ResetProduct(ctx context.Context, id string) ApiResetProductRequest
- func (a *ProductsAPIService) ResetProductExecute(r ApiResetProductRequest) (*Product, *http.Response, error)
- func (a *ProductsAPIService) UpdateProduct(ctx context.Context, id string) ApiUpdateProductRequest
- func (a *ProductsAPIService) UpdateProductExecute(r ApiUpdateProductRequest) (*Product, *http.Response, error)
- func (a *ProductsAPIService) UploadProductLogo(ctx context.Context, id string) ApiUploadProductLogoRequest
- func (a *ProductsAPIService) UploadProductLogoExecute(r ApiUploadProductLogoRequest) (*Product, *http.Response, error)
- type Release
- func (o *Release) GetActiveMachineCount() int32
- func (o *Release) GetActiveMachineCountOk() (*int32, bool)
- func (o *Release) GetCreatedAt() time.Time
- func (o *Release) GetCreatedAtOk() (*time.Time, bool)
- func (o *Release) GetId() string
- func (o *Release) GetIdOk() (*string, bool)
- func (o *Release) GetProductId() string
- func (o *Release) GetProductIdOk() (*string, bool)
- func (o *Release) GetReleasedAt() time.Time
- func (o *Release) GetReleasedAtOk() (*time.Time, bool)
- func (o *Release) GetVersion() string
- func (o *Release) GetVersionOk() (*string, bool)
- func (o Release) MarshalJSON() ([]byte, error)
- func (o *Release) SetActiveMachineCount(v int32)
- func (o *Release) SetCreatedAt(v time.Time)
- func (o *Release) SetId(v string)
- func (o *Release) SetProductId(v string)
- func (o *Release) SetReleasedAt(v time.Time)
- func (o *Release) SetVersion(v string)
- func (o Release) ToMap() (map[string]interface{}, error)
- func (o *Release) UnmarshalJSON(data []byte) (err error)
- type ReleaseList
- func (o *ReleaseList) GetData() []Release
- func (o *ReleaseList) GetDataOk() ([]Release, bool)
- func (o *ReleaseList) GetPagination() Pagination
- func (o *ReleaseList) GetPaginationOk() (*Pagination, bool)
- func (o ReleaseList) MarshalJSON() ([]byte, error)
- func (o *ReleaseList) SetData(v []Release)
- func (o *ReleaseList) SetPagination(v Pagination)
- func (o ReleaseList) ToMap() (map[string]interface{}, error)
- func (o *ReleaseList) UnmarshalJSON(data []byte) (err error)
- type ReleasesAPIService
- func (a *ReleasesAPIService) CreateRelease(ctx context.Context, productId string) ApiCreateReleaseRequest
- func (a *ReleasesAPIService) CreateReleaseExecute(r ApiCreateReleaseRequest) (*Release, *http.Response, error)
- func (a *ReleasesAPIService) DeleteRelease(ctx context.Context, id string) ApiDeleteReleaseRequest
- func (a *ReleasesAPIService) DeleteReleaseExecute(r ApiDeleteReleaseRequest) (*http.Response, error)
- func (a *ReleasesAPIService) GetRelease(ctx context.Context, id string) ApiGetReleaseRequest
- func (a *ReleasesAPIService) GetReleaseExecute(r ApiGetReleaseRequest) (*Release, *http.Response, error)
- func (a *ReleasesAPIService) ListReleases(ctx context.Context, productId string) ApiListReleasesRequest
- func (a *ReleasesAPIService) ListReleasesExecute(r ApiListReleasesRequest) (*ReleaseList, *http.Response, error)
- func (a *ReleasesAPIService) UpdateRelease(ctx context.Context, id string) ApiUpdateReleaseRequest
- func (a *ReleasesAPIService) UpdateReleaseExecute(r ApiUpdateReleaseRequest) (*Release, *http.Response, error)
- type RequestPortalLink
- func (o *RequestPortalLink) GetEmail() string
- func (o *RequestPortalLink) GetEmailOk() (*string, bool)
- func (o *RequestPortalLink) GetReturnUrl() string
- func (o *RequestPortalLink) GetReturnUrlOk() (*string, bool)
- func (o *RequestPortalLink) HasReturnUrl() bool
- func (o RequestPortalLink) MarshalJSON() ([]byte, error)
- func (o *RequestPortalLink) SetEmail(v string)
- func (o *RequestPortalLink) SetReturnUrl(v string)
- func (o RequestPortalLink) ToMap() (map[string]interface{}, error)
- func (o *RequestPortalLink) UnmarshalJSON(data []byte) (err error)
- type Revenue
- func (o *Revenue) GetByDay() []float32
- func (o *Revenue) GetByDayOk() ([]float32, bool)
- func (o *Revenue) GetByMonth() []float32
- func (o *Revenue) GetByMonthOk() ([]float32, bool)
- func (o *Revenue) GetByPolicy() []ProductStatsNewLicensesByPolicyInner
- func (o *Revenue) GetByPolicyOk() ([]ProductStatsNewLicensesByPolicyInner, bool)
- func (o *Revenue) GetCurrency() string
- func (o *Revenue) GetCurrencyOk() (*string, bool)
- func (o *Revenue) GetLast30Days() float32
- func (o *Revenue) GetLast30DaysOk() (*float32, bool)
- func (o *Revenue) GetLastMonth() float32
- func (o *Revenue) GetLastMonthOk() (*float32, bool)
- func (o *Revenue) GetLicenseCount() int32
- func (o *Revenue) GetLicenseCountOk() (*int32, bool)
- func (o *Revenue) GetThisMonth() float32
- func (o *Revenue) GetThisMonthOk() (*float32, bool)
- func (o *Revenue) GetTotal() float32
- func (o *Revenue) GetTotalOk() (*float32, bool)
- func (o Revenue) MarshalJSON() ([]byte, error)
- func (o *Revenue) SetByDay(v []float32)
- func (o *Revenue) SetByMonth(v []float32)
- func (o *Revenue) SetByPolicy(v []ProductStatsNewLicensesByPolicyInner)
- func (o *Revenue) SetCurrency(v string)
- func (o *Revenue) SetLast30Days(v float32)
- func (o *Revenue) SetLastMonth(v float32)
- func (o *Revenue) SetLicenseCount(v int32)
- func (o *Revenue) SetThisMonth(v float32)
- func (o *Revenue) SetTotal(v float32)
- func (o Revenue) ToMap() (map[string]interface{}, error)
- func (o *Revenue) UnmarshalJSON(data []byte) (err error)
- type SendLicenseKeys
- func (o *SendLicenseKeys) GetIds() []string
- func (o *SendLicenseKeys) GetIdsOk() ([]string, bool)
- func (o SendLicenseKeys) MarshalJSON() ([]byte, error)
- func (o *SendLicenseKeys) SetIds(v []string)
- func (o SendLicenseKeys) ToMap() (map[string]interface{}, error)
- func (o *SendLicenseKeys) UnmarshalJSON(data []byte) (err error)
- type SendPortalLink
- func (o *SendPortalLink) GetToken() string
- func (o *SendPortalLink) GetTokenOk() (*string, bool)
- func (o SendPortalLink) MarshalJSON() ([]byte, error)
- func (o *SendPortalLink) SetToken(v string)
- func (o SendPortalLink) ToMap() (map[string]interface{}, error)
- func (o *SendPortalLink) UnmarshalJSON(data []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SigningKey
- func (o *SigningKey) GetAlgorithm() string
- func (o *SigningKey) GetAlgorithmOk() (*string, bool)
- func (o *SigningKey) GetCreatedAt() time.Time
- func (o *SigningKey) GetCreatedAtOk() (*time.Time, bool)
- func (o *SigningKey) GetId() string
- func (o *SigningKey) GetIdOk() (*string, bool)
- func (o *SigningKey) GetPublicKey() string
- func (o *SigningKey) GetPublicKeyOk() (*string, bool)
- func (o SigningKey) MarshalJSON() ([]byte, error)
- func (o *SigningKey) SetAlgorithm(v string)
- func (o *SigningKey) SetCreatedAt(v time.Time)
- func (o *SigningKey) SetId(v string)
- func (o *SigningKey) SetPublicKey(v string)
- func (o SigningKey) ToMap() (map[string]interface{}, error)
- func (o *SigningKey) UnmarshalJSON(data []byte) (err error)
- type StripeIntegration
- func (o *StripeIntegration) GetIntegration() Integration
- func (o *StripeIntegration) GetIntegrationOk() (*Integration, bool)
- func (o *StripeIntegration) GetLivemode() bool
- func (o *StripeIntegration) GetLivemodeOk() (*bool, bool)
- func (o *StripeIntegration) GetMappings() []IntegrationMapping
- func (o *StripeIntegration) GetMappingsOk() ([]IntegrationMapping, bool)
- func (o *StripeIntegration) GetRequiredPermissions() []StripePermission
- func (o *StripeIntegration) GetRequiredPermissionsOk() ([]StripePermission, bool)
- func (o *StripeIntegration) GetWebhookUrlReachable() bool
- func (o *StripeIntegration) GetWebhookUrlReachableOk() (*bool, bool)
- func (o StripeIntegration) MarshalJSON() ([]byte, error)
- func (o *StripeIntegration) SetIntegration(v Integration)
- func (o *StripeIntegration) SetLivemode(v bool)
- func (o *StripeIntegration) SetMappings(v []IntegrationMapping)
- func (o *StripeIntegration) SetRequiredPermissions(v []StripePermission)
- func (o *StripeIntegration) SetWebhookUrlReachable(v bool)
- func (o StripeIntegration) ToMap() (map[string]interface{}, error)
- func (o *StripeIntegration) UnmarshalJSON(data []byte) (err error)
- type StripePermission
- func (o *StripePermission) GetAccess() string
- func (o *StripePermission) GetAccessOk() (*string, bool)
- func (o *StripePermission) GetReason() string
- func (o *StripePermission) GetReasonOk() (*string, bool)
- func (o *StripePermission) GetResource() string
- func (o *StripePermission) GetResourceOk() (*string, bool)
- func (o StripePermission) MarshalJSON() ([]byte, error)
- func (o *StripePermission) SetAccess(v string)
- func (o *StripePermission) SetReason(v string)
- func (o *StripePermission) SetResource(v string)
- func (o StripePermission) ToMap() (map[string]interface{}, error)
- func (o *StripePermission) UnmarshalJSON(data []byte) (err error)
- type StripePrice
- func (o *StripePrice) GetId() string
- func (o *StripePrice) GetIdOk() (*string, bool)
- func (o *StripePrice) GetMapped() bool
- func (o *StripePrice) GetMappedOk() (*bool, bool)
- func (o *StripePrice) GetNickname() string
- func (o *StripePrice) GetNicknameOk() (*string, bool)
- func (o *StripePrice) GetPrice() Price
- func (o *StripePrice) GetPriceOk() (*Price, bool)
- func (o *StripePrice) GetProductId() string
- func (o *StripePrice) GetProductIdOk() (*string, bool)
- func (o *StripePrice) GetProductName() string
- func (o *StripePrice) GetProductNameOk() (*string, bool)
- func (o StripePrice) MarshalJSON() ([]byte, error)
- func (o *StripePrice) SetId(v string)
- func (o *StripePrice) SetMapped(v bool)
- func (o *StripePrice) SetNickname(v string)
- func (o *StripePrice) SetPrice(v Price)
- func (o *StripePrice) SetProductId(v string)
- func (o *StripePrice) SetProductName(v string)
- func (o StripePrice) ToMap() (map[string]interface{}, error)
- func (o *StripePrice) UnmarshalJSON(data []byte) (err error)
- type Token
- func (o *Token) GetExpiresAt() time.Time
- func (o *Token) GetExpiresAtOk() (*time.Time, bool)
- func (o *Token) GetScope() []string
- func (o *Token) GetScopeOk() ([]string, bool)
- func (o *Token) GetToken() string
- func (o *Token) GetTokenOk() (*string, bool)
- func (o *Token) GetType() string
- func (o *Token) GetTypeOk() (*string, bool)
- func (o Token) MarshalJSON() ([]byte, error)
- func (o *Token) SetExpiresAt(v time.Time)
- func (o *Token) SetScope(v []string)
- func (o *Token) SetToken(v string)
- func (o *Token) SetType(v string)
- func (o Token) ToMap() (map[string]interface{}, error)
- func (o *Token) UnmarshalJSON(data []byte) (err error)
- type TokensAPIService
- func (a *TokensAPIService) CreateCustomerToken(ctx context.Context, id string) ApiCreateCustomerTokenRequest
- func (a *TokensAPIService) CreateCustomerTokenExecute(r ApiCreateCustomerTokenRequest) (*Token, *http.Response, error)
- func (a *TokensAPIService) CreateLicenseToken(ctx context.Context, id string) ApiCreateLicenseTokenRequest
- func (a *TokensAPIService) CreateLicenseTokenExecute(r ApiCreateLicenseTokenRequest) (*Token, *http.Response, error)
- func (a *TokensAPIService) CreateMachineToken(ctx context.Context, id string) ApiCreateMachineTokenRequest
- func (a *TokensAPIService) CreateMachineTokenExecute(r ApiCreateMachineTokenRequest) (*Token, *http.Response, error)
- type UpdateCustomer
- func (o *UpdateCustomer) GetEmail() string
- func (o *UpdateCustomer) GetEmailOk() (*string, bool)
- func (o *UpdateCustomer) GetName() string
- func (o *UpdateCustomer) GetNameOk() (*string, bool)
- func (o *UpdateCustomer) HasEmail() bool
- func (o *UpdateCustomer) HasName() bool
- func (o UpdateCustomer) MarshalJSON() ([]byte, error)
- func (o *UpdateCustomer) SetEmail(v string)
- func (o *UpdateCustomer) SetName(v string)
- func (o *UpdateCustomer) SetNameNil()
- func (o UpdateCustomer) ToMap() (map[string]interface{}, error)
- func (o *UpdateCustomer) UnmarshalJSON(data []byte) (err error)
- func (o *UpdateCustomer) UnsetName()
- type UpdateIntegrationMapping
- func (o *UpdateIntegrationMapping) GetPolicyId() string
- func (o *UpdateIntegrationMapping) GetPolicyIdOk() (*string, bool)
- func (o UpdateIntegrationMapping) MarshalJSON() ([]byte, error)
- func (o *UpdateIntegrationMapping) SetPolicyId(v string)
- func (o UpdateIntegrationMapping) ToMap() (map[string]interface{}, error)
- func (o *UpdateIntegrationMapping) UnmarshalJSON(data []byte) (err error)
- type UpdateLicense
- func (o *UpdateLicense) GetExpiresAt() time.Time
- func (o *UpdateLicense) GetExpiresAtOk() (*time.Time, bool)
- func (o *UpdateLicense) GetMaxMachines() int32
- func (o *UpdateLicense) GetMaxMachinesOk() (*int32, bool)
- func (o *UpdateLicense) GetMaxOfflineDurationSeconds() int32
- func (o *UpdateLicense) GetMaxOfflineDurationSecondsOk() (*int32, bool)
- func (o *UpdateLicense) GetMaxVersion() LicenseMaxVersionInput
- func (o *UpdateLicense) GetMaxVersionOk() (*LicenseMaxVersionInput, bool)
- func (o *UpdateLicense) GetMeta() map[string]*interface{}
- func (o *UpdateLicense) GetMetaOk() (map[string]*interface{}, bool)
- func (o *UpdateLicense) GetPrice() PriceInput
- func (o *UpdateLicense) GetPriceOk() (*PriceInput, bool)
- func (o *UpdateLicense) HasExpiresAt() bool
- func (o *UpdateLicense) HasMaxMachines() bool
- func (o *UpdateLicense) HasMaxOfflineDurationSeconds() bool
- func (o *UpdateLicense) HasMaxVersion() bool
- func (o *UpdateLicense) HasMeta() bool
- func (o *UpdateLicense) HasPrice() bool
- func (o UpdateLicense) MarshalJSON() ([]byte, error)
- func (o *UpdateLicense) SetExpiresAt(v time.Time)
- func (o *UpdateLicense) SetExpiresAtNil()
- func (o *UpdateLicense) SetMaxMachines(v int32)
- func (o *UpdateLicense) SetMaxMachinesNil()
- func (o *UpdateLicense) SetMaxOfflineDurationSeconds(v int32)
- func (o *UpdateLicense) SetMaxVersion(v LicenseMaxVersionInput)
- func (o *UpdateLicense) SetMeta(v map[string]*interface{})
- func (o *UpdateLicense) SetPrice(v PriceInput)
- func (o *UpdateLicense) SetPriceNil()
- func (o UpdateLicense) ToMap() (map[string]interface{}, error)
- func (o *UpdateLicense) UnmarshalJSON(data []byte) (err error)
- func (o *UpdateLicense) UnsetExpiresAt()
- func (o *UpdateLicense) UnsetMaxMachines()
- func (o *UpdateLicense) UnsetPrice()
- type UpdatePolicy
- func (o *UpdatePolicy) GetDuration() PolicySettingsDuration
- func (o *UpdatePolicy) GetDurationOk() (*PolicySettingsDuration, bool)
- func (o *UpdatePolicy) GetIsDefault() bool
- func (o *UpdatePolicy) GetIsDefaultOk() (*bool, bool)
- func (o *UpdatePolicy) GetMaxMachines() int32
- func (o *UpdatePolicy) GetMaxMachinesOk() (*int32, bool)
- func (o *UpdatePolicy) GetMaxOfflineDurationSeconds() int32
- func (o *UpdatePolicy) GetMaxOfflineDurationSecondsOk() (*int32, bool)
- func (o *UpdatePolicy) GetMaxVersion() PolicySettingsMaxVersion
- func (o *UpdatePolicy) GetMaxVersionOk() (*PolicySettingsMaxVersion, bool)
- func (o *UpdatePolicy) GetName() string
- func (o *UpdatePolicy) GetNameOk() (*string, bool)
- func (o *UpdatePolicy) GetSlug() string
- func (o *UpdatePolicy) GetSlugOk() (*string, bool)
- func (o *UpdatePolicy) HasDuration() bool
- func (o *UpdatePolicy) HasIsDefault() bool
- func (o *UpdatePolicy) HasMaxMachines() bool
- func (o *UpdatePolicy) HasMaxOfflineDurationSeconds() bool
- func (o *UpdatePolicy) HasMaxVersion() bool
- func (o *UpdatePolicy) HasName() bool
- func (o *UpdatePolicy) HasSlug() bool
- func (o UpdatePolicy) MarshalJSON() ([]byte, error)
- func (o *UpdatePolicy) SetDuration(v PolicySettingsDuration)
- func (o *UpdatePolicy) SetDurationNil()
- func (o *UpdatePolicy) SetIsDefault(v bool)
- func (o *UpdatePolicy) SetMaxMachines(v int32)
- func (o *UpdatePolicy) SetMaxMachinesNil()
- func (o *UpdatePolicy) SetMaxOfflineDurationSeconds(v int32)
- func (o *UpdatePolicy) SetMaxVersion(v PolicySettingsMaxVersion)
- func (o *UpdatePolicy) SetMaxVersionNil()
- func (o *UpdatePolicy) SetName(v string)
- func (o *UpdatePolicy) SetSlug(v string)
- func (o UpdatePolicy) ToMap() (map[string]interface{}, error)
- func (o *UpdatePolicy) UnmarshalJSON(data []byte) (err error)
- func (o *UpdatePolicy) UnsetDuration()
- func (o *UpdatePolicy) UnsetMaxMachines()
- func (o *UpdatePolicy) UnsetMaxVersion()
- type UpdateProduct
- func (o *UpdateProduct) GetName() string
- func (o *UpdateProduct) GetNameOk() (*string, bool)
- func (o *UpdateProduct) GetPortal() UpdateProductPortal
- func (o *UpdateProduct) GetPortalOk() (*UpdateProductPortal, bool)
- func (o *UpdateProduct) GetSlug() string
- func (o *UpdateProduct) GetSlugOk() (*string, bool)
- func (o *UpdateProduct) HasName() bool
- func (o *UpdateProduct) HasPortal() bool
- func (o *UpdateProduct) HasSlug() bool
- func (o UpdateProduct) MarshalJSON() ([]byte, error)
- func (o *UpdateProduct) SetName(v string)
- func (o *UpdateProduct) SetPortal(v UpdateProductPortal)
- func (o *UpdateProduct) SetSlug(v string)
- func (o UpdateProduct) ToMap() (map[string]interface{}, error)
- func (o *UpdateProduct) UnmarshalJSON(data []byte) (err error)
- type UpdateProductPortal
- func (o *UpdateProductPortal) GetAccentColor() string
- func (o *UpdateProductPortal) GetAccentColorOk() (*string, bool)
- func (o *UpdateProductPortal) GetBrandColor() string
- func (o *UpdateProductPortal) GetBrandColorOk() (*string, bool)
- func (o *UpdateProductPortal) GetEnabled() bool
- func (o *UpdateProductPortal) GetEnabledOk() (*bool, bool)
- func (o *UpdateProductPortal) GetReturnDomains() []string
- func (o *UpdateProductPortal) GetReturnDomainsOk() ([]string, bool)
- func (o *UpdateProductPortal) GetReturnUrl() string
- func (o *UpdateProductPortal) GetReturnUrlOk() (*string, bool)
- func (o *UpdateProductPortal) HasAccentColor() bool
- func (o *UpdateProductPortal) HasBrandColor() bool
- func (o *UpdateProductPortal) HasEnabled() bool
- func (o *UpdateProductPortal) HasReturnDomains() bool
- func (o *UpdateProductPortal) HasReturnUrl() bool
- func (o UpdateProductPortal) MarshalJSON() ([]byte, error)
- func (o *UpdateProductPortal) SetAccentColor(v string)
- func (o *UpdateProductPortal) SetAccentColorNil()
- func (o *UpdateProductPortal) SetBrandColor(v string)
- func (o *UpdateProductPortal) SetBrandColorNil()
- func (o *UpdateProductPortal) SetEnabled(v bool)
- func (o *UpdateProductPortal) SetReturnDomains(v []string)
- func (o *UpdateProductPortal) SetReturnUrl(v string)
- func (o *UpdateProductPortal) SetReturnUrlNil()
- func (o UpdateProductPortal) ToMap() (map[string]interface{}, error)
- func (o *UpdateProductPortal) UnmarshalJSON(data []byte) (err error)
- func (o *UpdateProductPortal) UnsetAccentColor()
- func (o *UpdateProductPortal) UnsetBrandColor()
- func (o *UpdateProductPortal) UnsetReturnUrl()
- type UpdateRelease
- func (o *UpdateRelease) GetReleasedAt() time.Time
- func (o *UpdateRelease) GetReleasedAtOk() (*time.Time, bool)
- func (o *UpdateRelease) GetVersion() string
- func (o *UpdateRelease) GetVersionOk() (*string, bool)
- func (o *UpdateRelease) HasReleasedAt() bool
- func (o *UpdateRelease) HasVersion() bool
- func (o UpdateRelease) MarshalJSON() ([]byte, error)
- func (o *UpdateRelease) SetReleasedAt(v time.Time)
- func (o *UpdateRelease) SetVersion(v string)
- func (o UpdateRelease) ToMap() (map[string]interface{}, error)
- func (o *UpdateRelease) UnmarshalJSON(data []byte) (err error)
- type ValidateKey
- func (o *ValidateKey) GetFingerprint() string
- func (o *ValidateKey) GetFingerprintOk() (*string, bool)
- func (o *ValidateKey) GetKey() string
- func (o *ValidateKey) GetKeyOk() (*string, bool)
- func (o *ValidateKey) GetName() string
- func (o *ValidateKey) GetNameOk() (*string, bool)
- func (o *ValidateKey) GetPlatform() string
- func (o *ValidateKey) GetPlatformOk() (*string, bool)
- func (o *ValidateKey) GetVersion() string
- func (o *ValidateKey) GetVersionOk() (*string, bool)
- func (o *ValidateKey) HasName() bool
- func (o *ValidateKey) HasPlatform() bool
- func (o ValidateKey) MarshalJSON() ([]byte, error)
- func (o *ValidateKey) SetFingerprint(v string)
- func (o *ValidateKey) SetKey(v string)
- func (o *ValidateKey) SetName(v string)
- func (o *ValidateKey) SetPlatform(v string)
- func (o *ValidateKey) SetVersion(v string)
- func (o ValidateKey) ToMap() (map[string]interface{}, error)
- func (o *ValidateKey) UnmarshalJSON(data []byte) (err error)
- type ValidateKeyError
- func (o *ValidateKeyError) GetError() ValidateKeyErrorError
- func (o *ValidateKeyError) GetErrorOk() (*ValidateKeyErrorError, bool)
- func (o ValidateKeyError) MarshalJSON() ([]byte, error)
- func (o *ValidateKeyError) SetError(v ValidateKeyErrorError)
- func (o ValidateKeyError) ToMap() (map[string]interface{}, error)
- func (o *ValidateKeyError) UnmarshalJSON(data []byte) (err error)
- type ValidateKeyErrorError
- func (o *ValidateKeyErrorError) GetCode() string
- func (o *ValidateKeyErrorError) GetCodeOk() (*string, bool)
- func (o *ValidateKeyErrorError) GetIssues() []ErrorErrorIssuesInner
- func (o *ValidateKeyErrorError) GetIssuesOk() ([]ErrorErrorIssuesInner, bool)
- func (o *ValidateKeyErrorError) GetLatestAllowedVersion() string
- func (o *ValidateKeyErrorError) GetLatestAllowedVersionOk() (*string, bool)
- func (o *ValidateKeyErrorError) GetMessage() string
- func (o *ValidateKeyErrorError) GetMessageOk() (*string, bool)
- func (o *ValidateKeyErrorError) HasIssues() bool
- func (o *ValidateKeyErrorError) HasLatestAllowedVersion() bool
- func (o ValidateKeyErrorError) MarshalJSON() ([]byte, error)
- func (o *ValidateKeyErrorError) SetCode(v string)
- func (o *ValidateKeyErrorError) SetIssues(v []ErrorErrorIssuesInner)
- func (o *ValidateKeyErrorError) SetLatestAllowedVersion(v string)
- func (o *ValidateKeyErrorError) SetLatestAllowedVersionNil()
- func (o *ValidateKeyErrorError) SetMessage(v string)
- func (o ValidateKeyErrorError) ToMap() (map[string]interface{}, error)
- func (o *ValidateKeyErrorError) UnmarshalJSON(data []byte) (err error)
- func (o *ValidateKeyErrorError) UnsetLatestAllowedVersion()
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 AllowedEventTypeEnumValues = []EventType{
"policy.created",
"policy.updated",
"license.created",
"license.updated",
"license.validated",
"license.validation_failed",
"machine.deactivated",
"unknown_default_open_api",
}
All allowed values of EventType enum
var AllowedIntegrationStatusEnumValues = []IntegrationStatus{
"active",
"error",
"disconnected",
"unknown_default_open_api",
}
All allowed values of IntegrationStatus enum
var AllowedLicenseStatusEnumValues = []LicenseStatus{
"active",
"inactive",
"expired",
"unknown_default_open_api",
}
All allowed values of LicenseStatus 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 {
CustomersAPI *CustomersAPIService
EventsAPI *EventsAPIService
IntegrationsAPI *IntegrationsAPIService
LicensesAPI *LicensesAPIService
MachinesAPI *MachinesAPIService
PoliciesAPI *PoliciesAPIService
PortalAPI *PortalAPIService
ProductsAPI *ProductsAPIService
ReleasesAPI *ReleasesAPIService
TokensAPI *TokensAPIService
// contains filtered or unexported fields
}
APIClient manages communication with the LicenseManager API API v1.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 ApiCheckIntegrationRequest ¶
type ApiCheckIntegrationRequest struct {
ApiService *IntegrationsAPIService
// contains filtered or unexported fields
}
func (ApiCheckIntegrationRequest) Execute ¶
func (r ApiCheckIntegrationRequest) Execute() (*Integration, *http.Response, error)
type ApiConnectStripeRequest ¶
type ApiConnectStripeRequest struct {
ApiService *IntegrationsAPIService
// contains filtered or unexported fields
}
func (ApiConnectStripeRequest) ConnectStripe ¶
func (r ApiConnectStripeRequest) ConnectStripe(connectStripe ConnectStripe) ApiConnectStripeRequest
func (ApiConnectStripeRequest) Execute ¶
func (r ApiConnectStripeRequest) Execute() (*StripeIntegration, *http.Response, error)
type ApiCreateCustomerRequest ¶
type ApiCreateCustomerRequest struct {
ApiService *CustomersAPIService
// contains filtered or unexported fields
}
func (ApiCreateCustomerRequest) CreateCustomer ¶
func (r ApiCreateCustomerRequest) CreateCustomer(createCustomer CreateCustomer) ApiCreateCustomerRequest
type ApiCreateCustomerTokenRequest ¶
type ApiCreateCustomerTokenRequest struct {
ApiService *TokensAPIService
// contains filtered or unexported fields
}
func (ApiCreateCustomerTokenRequest) CreateToken ¶
func (r ApiCreateCustomerTokenRequest) CreateToken(createToken CreateToken) ApiCreateCustomerTokenRequest
type ApiCreateLicenseRequest ¶
type ApiCreateLicenseRequest struct {
ApiService *LicensesAPIService
// contains filtered or unexported fields
}
func (ApiCreateLicenseRequest) CreateLicense ¶
func (r ApiCreateLicenseRequest) CreateLicense(createLicense CreateLicense) ApiCreateLicenseRequest
type ApiCreateLicenseTokenRequest ¶
type ApiCreateLicenseTokenRequest struct {
ApiService *TokensAPIService
// contains filtered or unexported fields
}
func (ApiCreateLicenseTokenRequest) CreateToken ¶
func (r ApiCreateLicenseTokenRequest) CreateToken(createToken CreateToken) ApiCreateLicenseTokenRequest
type ApiCreateMachineTokenRequest ¶
type ApiCreateMachineTokenRequest struct {
ApiService *TokensAPIService
// contains filtered or unexported fields
}
func (ApiCreateMachineTokenRequest) CreateToken ¶
func (r ApiCreateMachineTokenRequest) CreateToken(createToken CreateToken) ApiCreateMachineTokenRequest
type ApiCreatePolicyRequest ¶
type ApiCreatePolicyRequest struct {
ApiService *PoliciesAPIService
// contains filtered or unexported fields
}
func (ApiCreatePolicyRequest) CreatePolicy ¶
func (r ApiCreatePolicyRequest) CreatePolicy(createPolicy CreatePolicy) ApiCreatePolicyRequest
type ApiCreatePortalLinkRequest ¶
type ApiCreatePortalLinkRequest struct {
ApiService *PortalAPIService
// contains filtered or unexported fields
}
func (ApiCreatePortalLinkRequest) CreatePortalLink ¶
func (r ApiCreatePortalLinkRequest) CreatePortalLink(createPortalLink CreatePortalLink) ApiCreatePortalLinkRequest
func (ApiCreatePortalLinkRequest) Execute ¶
func (r ApiCreatePortalLinkRequest) Execute() (*PortalLink, *http.Response, error)
type ApiCreateProductRequest ¶
type ApiCreateProductRequest struct {
ApiService *ProductsAPIService
// contains filtered or unexported fields
}
func (ApiCreateProductRequest) CreateProductWithPolicy ¶
func (r ApiCreateProductRequest) CreateProductWithPolicy(createProductWithPolicy CreateProductWithPolicy) ApiCreateProductRequest
type ApiCreateReleaseRequest ¶
type ApiCreateReleaseRequest struct {
ApiService *ReleasesAPIService
// contains filtered or unexported fields
}
func (ApiCreateReleaseRequest) CreateRelease ¶
func (r ApiCreateReleaseRequest) CreateRelease(createRelease CreateRelease) ApiCreateReleaseRequest
type ApiCreateStripeMappingRequest ¶
type ApiCreateStripeMappingRequest struct {
ApiService *IntegrationsAPIService
// contains filtered or unexported fields
}
func (ApiCreateStripeMappingRequest) CreateIntegrationMapping ¶
func (r ApiCreateStripeMappingRequest) CreateIntegrationMapping(createIntegrationMapping CreateIntegrationMapping) ApiCreateStripeMappingRequest
func (ApiCreateStripeMappingRequest) Execute ¶
func (r ApiCreateStripeMappingRequest) Execute() (*IntegrationMapping, *http.Response, error)
type ApiDeactivateMachineRequest ¶
type ApiDeactivateMachineRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
type ApiDeleteCustomerRequest ¶
type ApiDeleteCustomerRequest struct {
ApiService *CustomersAPIService
// contains filtered or unexported fields
}
type ApiDeleteLicenseRequest ¶
type ApiDeleteLicenseRequest struct {
ApiService *LicensesAPIService
// contains filtered or unexported fields
}
type ApiDeletePolicyRequest ¶
type ApiDeletePolicyRequest struct {
ApiService *PoliciesAPIService
// contains filtered or unexported fields
}
type ApiDeleteProductLogoRequest ¶
type ApiDeleteProductLogoRequest struct {
ApiService *ProductsAPIService
// contains filtered or unexported fields
}
type ApiDeleteProductRequest ¶
type ApiDeleteProductRequest struct {
ApiService *ProductsAPIService
// contains filtered or unexported fields
}
type ApiDeleteReleaseRequest ¶
type ApiDeleteReleaseRequest struct {
ApiService *ReleasesAPIService
// contains filtered or unexported fields
}
type ApiDeleteStripeMappingRequest ¶
type ApiDeleteStripeMappingRequest struct {
ApiService *IntegrationsAPIService
// contains filtered or unexported fields
}
type ApiDisconnectIntegrationRequest ¶
type ApiDisconnectIntegrationRequest struct {
ApiService *IntegrationsAPIService
// contains filtered or unexported fields
}
type ApiGetCustomerRequest ¶
type ApiGetCustomerRequest struct {
ApiService *CustomersAPIService
// contains filtered or unexported fields
}
type ApiGetLicenseRequest ¶
type ApiGetLicenseRequest struct {
ApiService *LicensesAPIService
// contains filtered or unexported fields
}
type ApiGetLicenseStatsRequest ¶
type ApiGetLicenseStatsRequest struct {
ApiService *LicensesAPIService
// contains filtered or unexported fields
}
func (ApiGetLicenseStatsRequest) Execute ¶
func (r ApiGetLicenseStatsRequest) Execute() (*LicenseStats, *http.Response, error)
type ApiGetMachineRequest ¶
type ApiGetMachineRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
type ApiGetPolicyRequest ¶
type ApiGetPolicyRequest struct {
ApiService *PoliciesAPIService
// contains filtered or unexported fields
}
type ApiGetPortalRequest ¶
type ApiGetPortalRequest struct {
ApiService *PortalAPIService
// contains filtered or unexported fields
}
func (ApiGetPortalRequest) Execute ¶
func (r ApiGetPortalRequest) Execute() (*Portal, *http.Response, error)
func (ApiGetPortalRequest) ReturnUrl ¶
func (r ApiGetPortalRequest) ReturnUrl(returnUrl string) ApiGetPortalRequest
Link back to your website to show, used when its domain is one of the product's `returnDomains`.
type ApiGetProductRequest ¶
type ApiGetProductRequest struct {
ApiService *ProductsAPIService
// contains filtered or unexported fields
}
type ApiGetProductStatsRequest ¶
type ApiGetProductStatsRequest struct {
ApiService *ProductsAPIService
// contains filtered or unexported fields
}
func (ApiGetProductStatsRequest) Execute ¶
func (r ApiGetProductStatsRequest) Execute() (*ProductStats, *http.Response, error)
type ApiGetReleaseRequest ¶
type ApiGetReleaseRequest struct {
ApiService *ReleasesAPIService
// contains filtered or unexported fields
}
type ApiGetSigningKeyRequest ¶
type ApiGetSigningKeyRequest struct {
ApiService *LicensesAPIService
// contains filtered or unexported fields
}
func (ApiGetSigningKeyRequest) Execute ¶
func (r ApiGetSigningKeyRequest) Execute() (*SigningKey, *http.Response, error)
type ApiGetStripeIntegrationRequest ¶
type ApiGetStripeIntegrationRequest struct {
ApiService *IntegrationsAPIService
// contains filtered or unexported fields
}
func (ApiGetStripeIntegrationRequest) Execute ¶
func (r ApiGetStripeIntegrationRequest) Execute() (*StripeIntegration, *http.Response, error)
type ApiListCustomerLicensesRequest ¶
type ApiListCustomerLicensesRequest struct {
ApiService *LicensesAPIService
// contains filtered or unexported fields
}
func (ApiListCustomerLicensesRequest) CreatedFrom ¶
func (r ApiListCustomerLicensesRequest) CreatedFrom(createdFrom time.Time) ApiListCustomerLicensesRequest
Only returns the licenses created at or after this date.
func (ApiListCustomerLicensesRequest) CreatedTo ¶
func (r ApiListCustomerLicensesRequest) CreatedTo(createdTo time.Time) ApiListCustomerLicensesRequest
Only returns the licenses created at or before this date.
func (ApiListCustomerLicensesRequest) Currency ¶
func (r ApiListCustomerLicensesRequest) Currency(currency string) ApiListCustomerLicensesRequest
Only returns the licenses paid in this currency.
func (ApiListCustomerLicensesRequest) Execute ¶
func (r ApiListCustomerLicensesRequest) Execute() (*LicenseList, *http.Response, error)
func (ApiListCustomerLicensesRequest) ExpiresFrom ¶
func (r ApiListCustomerLicensesRequest) ExpiresFrom(expiresFrom time.Time) ApiListCustomerLicensesRequest
Only returns the licenses expiring at or after this date. Licenses that never expire are left out.
func (ApiListCustomerLicensesRequest) ExpiresTo ¶
func (r ApiListCustomerLicensesRequest) ExpiresTo(expiresTo time.Time) ApiListCustomerLicensesRequest
Only returns the licenses expiring at or before this date. Licenses that never expire are left out.
func (ApiListCustomerLicensesRequest) HasPrice ¶
func (r ApiListCustomerLicensesRequest) HasPrice(hasPrice string) ApiListCustomerLicensesRequest
`true` only returns the licenses with a price, `false` only the ones without.
func (ApiListCustomerLicensesRequest) Key ¶
func (r ApiListCustomerLicensesRequest) Key(key string) ApiListCustomerLicensesRequest
Only returns the license with this exact key, case included. Keys of test products start with `TEST-`.
func (ApiListCustomerLicensesRequest) LastActivatedFrom ¶
func (r ApiListCustomerLicensesRequest) LastActivatedFrom(lastActivatedFrom time.Time) ApiListCustomerLicensesRequest
Only returns the licenses last activated at or after this date. Licenses never activated are left out.
func (ApiListCustomerLicensesRequest) LastActivatedTo ¶
func (r ApiListCustomerLicensesRequest) LastActivatedTo(lastActivatedTo time.Time) ApiListCustomerLicensesRequest
Only returns the licenses last activated at or before this date. Licenses never activated are left out.
func (ApiListCustomerLicensesRequest) MachineVersion ¶
func (r ApiListCustomerLicensesRequest) MachineVersion(machineVersion string) ApiListCustomerLicensesRequest
Only returns the licenses with at least one active machine running this version of the product.
func (ApiListCustomerLicensesRequest) NeverActivated ¶
func (r ApiListCustomerLicensesRequest) NeverActivated(neverActivated string) ApiListCustomerLicensesRequest
`true` only returns the licenses never activated, `false` only the ones activated at least once.
func (ApiListCustomerLicensesRequest) NeverExpires ¶
func (r ApiListCustomerLicensesRequest) NeverExpires(neverExpires string) ApiListCustomerLicensesRequest
`true` only returns the licenses that never expire, `false` only the ones with an expiration date.
func (ApiListCustomerLicensesRequest) Page ¶
func (r ApiListCustomerLicensesRequest) Page(page int32) ApiListCustomerLicensesRequest
Page to return. Pages are numbered from 1: `1` is the first page. A page past the last one returns an empty `data`, not an error. Defaults to `1`.
func (ApiListCustomerLicensesRequest) PageSize ¶
func (r ApiListCustomerLicensesRequest) PageSize(pageSize int32) ApiListCustomerLicensesRequest
Maximum number of items per page, from 1 to 100. Every page holds this many items except the last one, which can hold fewer. Defaults to `20`.
func (ApiListCustomerLicensesRequest) PolicyId ¶
func (r ApiListCustomerLicensesRequest) PolicyId(policyId string) ApiListCustomerLicensesRequest
Only returns the licenses following this policy.
func (ApiListCustomerLicensesRequest) Price ¶
func (r ApiListCustomerLicensesRequest) Price(price float32) ApiListCustomerLicensesRequest
Only returns the licenses paid exactly this amount, in major units of its currency: combine with `currency` to compare amounts of one currency. Licenses without a price are left out.
func (ApiListCustomerLicensesRequest) PriceMax ¶
func (r ApiListCustomerLicensesRequest) PriceMax(priceMax float32) ApiListCustomerLicensesRequest
Only returns the licenses paid at most this amount, in major units of its currency: combine with `currency` to compare amounts of one currency. Licenses without a price are left out.
func (ApiListCustomerLicensesRequest) PriceMin ¶
func (r ApiListCustomerLicensesRequest) PriceMin(priceMin float32) ApiListCustomerLicensesRequest
Only returns the licenses paid at least this amount, in major units of its currency: combine with `currency` to compare amounts of one currency. Licenses without a price are left out.
func (ApiListCustomerLicensesRequest) Search ¶
func (r ApiListCustomerLicensesRequest) Search(search string) ApiListCustomerLicensesRequest
Case-insensitive text the key contains.
func (ApiListCustomerLicensesRequest) Sort ¶
func (r ApiListCustomerLicensesRequest) Sort(sort string) ApiListCustomerLicensesRequest
Field to sort by, prefixed with `-` for descending order. Defaults to `-createdAt`.
func (ApiListCustomerLicensesRequest) Status ¶
func (r ApiListCustomerLicensesRequest) Status(status LicenseStatus) ApiListCustomerLicensesRequest
Only returns the licenses with this status.
type ApiListCustomersRequest ¶
type ApiListCustomersRequest struct {
ApiService *CustomersAPIService
// contains filtered or unexported fields
}
func (ApiListCustomersRequest) Email ¶
func (r ApiListCustomersRequest) Email(email string) ApiListCustomersRequest
Only returns the customer with this email, compared regardless of case.
func (ApiListCustomersRequest) Execute ¶
func (r ApiListCustomersRequest) Execute() (*CustomerList, *http.Response, error)
func (ApiListCustomersRequest) Page ¶
func (r ApiListCustomersRequest) Page(page int32) ApiListCustomersRequest
Page to return. Pages are numbered from 1: `1` is the first page. A page past the last one returns an empty `data`, not an error. Defaults to `1`.
func (ApiListCustomersRequest) PageSize ¶
func (r ApiListCustomersRequest) PageSize(pageSize int32) ApiListCustomersRequest
Maximum number of items per page, from 1 to 100. Every page holds this many items except the last one, which can hold fewer. Defaults to `20`.
func (ApiListCustomersRequest) Search ¶
func (r ApiListCustomersRequest) Search(search string) ApiListCustomersRequest
Case-insensitive text the name or email contains.
func (ApiListCustomersRequest) Sort ¶
func (r ApiListCustomersRequest) Sort(sort string) ApiListCustomersRequest
Field to sort by, prefixed with `-` for descending order. Defaults to `-createdAt`.
type ApiListLicenseEventsRequest ¶
type ApiListLicenseEventsRequest struct {
ApiService *EventsAPIService
// contains filtered or unexported fields
}
func (ApiListLicenseEventsRequest) Execute ¶
func (r ApiListLicenseEventsRequest) Execute() (*EventList, *http.Response, error)
func (ApiListLicenseEventsRequest) MachineId ¶
func (r ApiListLicenseEventsRequest) MachineId(machineId string) ApiListLicenseEventsRequest
Only returns the events of this machine of the license.
func (ApiListLicenseEventsRequest) Page ¶
func (r ApiListLicenseEventsRequest) Page(page int32) ApiListLicenseEventsRequest
Page to return. Pages are numbered from 1: `1` is the first page. A page past the last one returns an empty `data`, not an error. Defaults to `1`.
func (ApiListLicenseEventsRequest) PageSize ¶
func (r ApiListLicenseEventsRequest) PageSize(pageSize int32) ApiListLicenseEventsRequest
Maximum number of items per page, from 1 to 100. Every page holds this many items except the last one, which can hold fewer. Defaults to `20`.
func (ApiListLicenseEventsRequest) Sort ¶
func (r ApiListLicenseEventsRequest) Sort(sort string) ApiListLicenseEventsRequest
Field to sort by, prefixed with `-` for descending order. Defaults to `-createdAt`.
func (ApiListLicenseEventsRequest) Type_ ¶
func (r ApiListLicenseEventsRequest) Type_(type_ ListPolicyEventsTypeParameter) ApiListLicenseEventsRequest
Only returns the events of this type. Repeat it to return the events of any of these types.
type ApiListLicensesRequest ¶
type ApiListLicensesRequest struct {
ApiService *LicensesAPIService
// contains filtered or unexported fields
}
func (ApiListLicensesRequest) CreatedFrom ¶
func (r ApiListLicensesRequest) CreatedFrom(createdFrom time.Time) ApiListLicensesRequest
Only returns the licenses created at or after this date.
func (ApiListLicensesRequest) CreatedTo ¶
func (r ApiListLicensesRequest) CreatedTo(createdTo time.Time) ApiListLicensesRequest
Only returns the licenses created at or before this date.
func (ApiListLicensesRequest) Currency ¶
func (r ApiListLicensesRequest) Currency(currency string) ApiListLicensesRequest
Only returns the licenses paid in this currency.
func (ApiListLicensesRequest) CustomerId ¶
func (r ApiListLicensesRequest) CustomerId(customerId string) ApiListLicensesRequest
Only returns the licenses of this customer.
func (ApiListLicensesRequest) Execute ¶
func (r ApiListLicensesRequest) Execute() (*LicenseList, *http.Response, error)
func (ApiListLicensesRequest) ExpiresFrom ¶
func (r ApiListLicensesRequest) ExpiresFrom(expiresFrom time.Time) ApiListLicensesRequest
Only returns the licenses expiring at or after this date. Licenses that never expire are left out.
func (ApiListLicensesRequest) ExpiresTo ¶
func (r ApiListLicensesRequest) ExpiresTo(expiresTo time.Time) ApiListLicensesRequest
Only returns the licenses expiring at or before this date. Licenses that never expire are left out.
func (ApiListLicensesRequest) HasPrice ¶
func (r ApiListLicensesRequest) HasPrice(hasPrice string) ApiListLicensesRequest
`true` only returns the licenses with a price, `false` only the ones without.
func (ApiListLicensesRequest) Key ¶
func (r ApiListLicensesRequest) Key(key string) ApiListLicensesRequest
Only returns the license with this exact key, case included. Keys of test products start with `TEST-`.
func (ApiListLicensesRequest) LastActivatedFrom ¶
func (r ApiListLicensesRequest) LastActivatedFrom(lastActivatedFrom time.Time) ApiListLicensesRequest
Only returns the licenses last activated at or after this date. Licenses never activated are left out.
func (ApiListLicensesRequest) LastActivatedTo ¶
func (r ApiListLicensesRequest) LastActivatedTo(lastActivatedTo time.Time) ApiListLicensesRequest
Only returns the licenses last activated at or before this date. Licenses never activated are left out.
func (ApiListLicensesRequest) MachineVersion ¶
func (r ApiListLicensesRequest) MachineVersion(machineVersion string) ApiListLicensesRequest
Only returns the licenses with at least one active machine running this version of the product.
func (ApiListLicensesRequest) NeverActivated ¶
func (r ApiListLicensesRequest) NeverActivated(neverActivated string) ApiListLicensesRequest
`true` only returns the licenses never activated, `false` only the ones activated at least once.
func (ApiListLicensesRequest) NeverExpires ¶
func (r ApiListLicensesRequest) NeverExpires(neverExpires string) ApiListLicensesRequest
`true` only returns the licenses that never expire, `false` only the ones with an expiration date.
func (ApiListLicensesRequest) Page ¶
func (r ApiListLicensesRequest) Page(page int32) ApiListLicensesRequest
Page to return. Pages are numbered from 1: `1` is the first page. A page past the last one returns an empty `data`, not an error. Defaults to `1`.
func (ApiListLicensesRequest) PageSize ¶
func (r ApiListLicensesRequest) PageSize(pageSize int32) ApiListLicensesRequest
Maximum number of items per page, from 1 to 100. Every page holds this many items except the last one, which can hold fewer. Defaults to `20`.
func (ApiListLicensesRequest) PolicyId ¶
func (r ApiListLicensesRequest) PolicyId(policyId string) ApiListLicensesRequest
Only returns the licenses following this policy.
func (ApiListLicensesRequest) Price ¶
func (r ApiListLicensesRequest) Price(price float32) ApiListLicensesRequest
Only returns the licenses paid exactly this amount, in major units of its currency: combine with `currency` to compare amounts of one currency. Licenses without a price are left out.
func (ApiListLicensesRequest) PriceMax ¶
func (r ApiListLicensesRequest) PriceMax(priceMax float32) ApiListLicensesRequest
Only returns the licenses paid at most this amount, in major units of its currency: combine with `currency` to compare amounts of one currency. Licenses without a price are left out.
func (ApiListLicensesRequest) PriceMin ¶
func (r ApiListLicensesRequest) PriceMin(priceMin float32) ApiListLicensesRequest
Only returns the licenses paid at least this amount, in major units of its currency: combine with `currency` to compare amounts of one currency. Licenses without a price are left out.
func (ApiListLicensesRequest) Search ¶
func (r ApiListLicensesRequest) Search(search string) ApiListLicensesRequest
Case-insensitive text the key contains.
func (ApiListLicensesRequest) Sort ¶
func (r ApiListLicensesRequest) Sort(sort string) ApiListLicensesRequest
Field to sort by, prefixed with `-` for descending order. Defaults to `-createdAt`.
func (ApiListLicensesRequest) Status ¶
func (r ApiListLicensesRequest) Status(status LicenseStatus) ApiListLicensesRequest
Only returns the licenses with this status.
type ApiListMachinesRequest ¶
type ApiListMachinesRequest struct {
ApiService *MachinesAPIService
// contains filtered or unexported fields
}
func (ApiListMachinesRequest) Execute ¶
func (r ApiListMachinesRequest) Execute() (*MachineList, *http.Response, error)
func (ApiListMachinesRequest) Fingerprint ¶
func (r ApiListMachinesRequest) Fingerprint(fingerprint string) ApiListMachinesRequest
Only returns the machine with this exact fingerprint.
func (ApiListMachinesRequest) Page ¶
func (r ApiListMachinesRequest) Page(page int32) ApiListMachinesRequest
Page to return. Pages are numbered from 1: `1` is the first page. A page past the last one returns an empty `data`, not an error. Defaults to `1`.
func (ApiListMachinesRequest) PageSize ¶
func (r ApiListMachinesRequest) PageSize(pageSize int32) ApiListMachinesRequest
Maximum number of items per page, from 1 to 100. Every page holds this many items except the last one, which can hold fewer. Defaults to `20`.
func (ApiListMachinesRequest) Search ¶
func (r ApiListMachinesRequest) Search(search string) ApiListMachinesRequest
Case-insensitive text the fingerprint or name contains.
func (ApiListMachinesRequest) Sort ¶
func (r ApiListMachinesRequest) Sort(sort string) ApiListMachinesRequest
Field to sort by, prefixed with `-` for descending order. Defaults to `-createdAt`.
func (ApiListMachinesRequest) Status ¶
func (r ApiListMachinesRequest) Status(status string) ApiListMachinesRequest
Only returns the machines with this status.
type ApiListPoliciesRequest ¶
type ApiListPoliciesRequest struct {
ApiService *PoliciesAPIService
// contains filtered or unexported fields
}
func (ApiListPoliciesRequest) Execute ¶
func (r ApiListPoliciesRequest) Execute() (*PolicyList, *http.Response, error)
func (ApiListPoliciesRequest) IsDefault ¶
func (r ApiListPoliciesRequest) IsDefault(isDefault string) ApiListPoliciesRequest
`true` only returns the product's default policy, `false` only the other ones.
func (ApiListPoliciesRequest) LicenseCount ¶
func (r ApiListPoliciesRequest) LicenseCount(licenseCount int32) ApiListPoliciesRequest
Only returns the policies followed by exactly this number of licenses.
func (ApiListPoliciesRequest) LicenseCountMax ¶
func (r ApiListPoliciesRequest) LicenseCountMax(licenseCountMax int32) ApiListPoliciesRequest
Only returns the policies followed by at most this number of licenses.
func (ApiListPoliciesRequest) LicenseCountMin ¶
func (r ApiListPoliciesRequest) LicenseCountMin(licenseCountMin int32) ApiListPoliciesRequest
Only returns the policies followed by at least this number of licenses.
func (ApiListPoliciesRequest) Page ¶
func (r ApiListPoliciesRequest) Page(page int32) ApiListPoliciesRequest
Page to return. Pages are numbered from 1: `1` is the first page. A page past the last one returns an empty `data`, not an error. Defaults to `1`.
func (ApiListPoliciesRequest) PageSize ¶
func (r ApiListPoliciesRequest) PageSize(pageSize int32) ApiListPoliciesRequest
Maximum number of items per page, from 1 to 100. Every page holds this many items except the last one, which can hold fewer. Defaults to `20`.
func (ApiListPoliciesRequest) Search ¶
func (r ApiListPoliciesRequest) Search(search string) ApiListPoliciesRequest
Case-insensitive text the name or slug contains.
func (ApiListPoliciesRequest) Slug ¶
func (r ApiListPoliciesRequest) Slug(slug string) ApiListPoliciesRequest
Only returns the policy with this exact slug.
func (ApiListPoliciesRequest) Sort ¶
func (r ApiListPoliciesRequest) Sort(sort string) ApiListPoliciesRequest
Field to sort by, prefixed with `-` for descending order. Defaults to `name`.
type ApiListPolicyEventsRequest ¶
type ApiListPolicyEventsRequest struct {
ApiService *EventsAPIService
// contains filtered or unexported fields
}
func (ApiListPolicyEventsRequest) Execute ¶
func (r ApiListPolicyEventsRequest) Execute() (*EventList, *http.Response, error)
func (ApiListPolicyEventsRequest) Page ¶
func (r ApiListPolicyEventsRequest) Page(page int32) ApiListPolicyEventsRequest
Page to return. Pages are numbered from 1: `1` is the first page. A page past the last one returns an empty `data`, not an error. Defaults to `1`.
func (ApiListPolicyEventsRequest) PageSize ¶
func (r ApiListPolicyEventsRequest) PageSize(pageSize int32) ApiListPolicyEventsRequest
Maximum number of items per page, from 1 to 100. Every page holds this many items except the last one, which can hold fewer. Defaults to `20`.
func (ApiListPolicyEventsRequest) Sort ¶
func (r ApiListPolicyEventsRequest) Sort(sort string) ApiListPolicyEventsRequest
Field to sort by, prefixed with `-` for descending order. Defaults to `-createdAt`.
func (ApiListPolicyEventsRequest) Type_ ¶
func (r ApiListPolicyEventsRequest) Type_(type_ ListPolicyEventsTypeParameter) ApiListPolicyEventsRequest
Only returns the events of this type. Repeat it to return the events of any of these types.
type ApiListProductsRequest ¶
type ApiListProductsRequest struct {
ApiService *ProductsAPIService
// contains filtered or unexported fields
}
func (ApiListProductsRequest) Execute ¶
func (r ApiListProductsRequest) Execute() (*ProductList, *http.Response, error)
func (ApiListProductsRequest) IsTest ¶
func (r ApiListProductsRequest) IsTest(isTest string) ApiListProductsRequest
Only returns the test products with `true`, the live ones with `false`. API keys only list the products of their own mode.
func (ApiListProductsRequest) Page ¶
func (r ApiListProductsRequest) Page(page int32) ApiListProductsRequest
Page to return. Pages are numbered from 1: `1` is the first page. A page past the last one returns an empty `data`, not an error. Defaults to `1`.
func (ApiListProductsRequest) PageSize ¶
func (r ApiListProductsRequest) PageSize(pageSize int32) ApiListProductsRequest
Maximum number of items per page, from 1 to 100. Every page holds this many items except the last one, which can hold fewer. Defaults to `20`.
func (ApiListProductsRequest) Search ¶
func (r ApiListProductsRequest) Search(search string) ApiListProductsRequest
Case-insensitive text the name or slug contains.
func (ApiListProductsRequest) Slug ¶
func (r ApiListProductsRequest) Slug(slug string) ApiListProductsRequest
Only returns the product with this exact slug.
func (ApiListProductsRequest) Sort ¶
func (r ApiListProductsRequest) Sort(sort string) ApiListProductsRequest
Field to sort by, prefixed with `-` for descending order. Defaults to `-createdAt`.
type ApiListReleasesRequest ¶
type ApiListReleasesRequest struct {
ApiService *ReleasesAPIService
// contains filtered or unexported fields
}
func (ApiListReleasesRequest) ActiveMachineCount ¶
func (r ApiListReleasesRequest) ActiveMachineCount(activeMachineCount int32) ApiListReleasesRequest
Only returns the releases running on exactly this number of active machines.
func (ApiListReleasesRequest) ActiveMachineCountMax ¶
func (r ApiListReleasesRequest) ActiveMachineCountMax(activeMachineCountMax int32) ApiListReleasesRequest
Only returns the releases running on at most this number of active machines.
func (ApiListReleasesRequest) ActiveMachineCountMin ¶
func (r ApiListReleasesRequest) ActiveMachineCountMin(activeMachineCountMin int32) ApiListReleasesRequest
Only returns the releases running on at least this number of active machines.
func (ApiListReleasesRequest) Execute ¶
func (r ApiListReleasesRequest) Execute() (*ReleaseList, *http.Response, error)
func (ApiListReleasesRequest) Page ¶
func (r ApiListReleasesRequest) Page(page int32) ApiListReleasesRequest
Page to return. Pages are numbered from 1: `1` is the first page. A page past the last one returns an empty `data`, not an error. Defaults to `1`.
func (ApiListReleasesRequest) PageSize ¶
func (r ApiListReleasesRequest) PageSize(pageSize int32) ApiListReleasesRequest
Maximum number of items per page, from 1 to 100. Every page holds this many items except the last one, which can hold fewer. Defaults to `20`.
func (ApiListReleasesRequest) ReleasedFrom ¶
func (r ApiListReleasesRequest) ReleasedFrom(releasedFrom time.Time) ApiListReleasesRequest
Only returns the releases released at or after this date.
func (ApiListReleasesRequest) ReleasedTo ¶
func (r ApiListReleasesRequest) ReleasedTo(releasedTo time.Time) ApiListReleasesRequest
Only returns the releases released at or before this date.
func (ApiListReleasesRequest) Search ¶
func (r ApiListReleasesRequest) Search(search string) ApiListReleasesRequest
Case-insensitive text the version contains.
func (ApiListReleasesRequest) Sort ¶
func (r ApiListReleasesRequest) Sort(sort string) ApiListReleasesRequest
Field to sort by, prefixed with `-` for descending order. Defaults to `-version`.
type ApiListStripePricesRequest ¶
type ApiListStripePricesRequest struct {
ApiService *IntegrationsAPIService
// contains filtered or unexported fields
}
func (ApiListStripePricesRequest) Execute ¶
func (r ApiListStripePricesRequest) Execute() (*ListStripePrices200Response, *http.Response, error)
type ApiRequestPortalLinkRequest ¶
type ApiRequestPortalLinkRequest struct {
ApiService *PortalAPIService
// contains filtered or unexported fields
}
func (ApiRequestPortalLinkRequest) Execute ¶
func (r ApiRequestPortalLinkRequest) Execute() (*http.Response, error)
func (ApiRequestPortalLinkRequest) RequestPortalLink ¶
func (r ApiRequestPortalLinkRequest) RequestPortalLink(requestPortalLink RequestPortalLink) ApiRequestPortalLinkRequest
type ApiResetProductRequest ¶
type ApiResetProductRequest struct {
ApiService *ProductsAPIService
// contains filtered or unexported fields
}
type ApiSendLicenseKeysRequest ¶
type ApiSendLicenseKeysRequest struct {
ApiService *LicensesAPIService
// contains filtered or unexported fields
}
func (ApiSendLicenseKeysRequest) Execute ¶
func (r ApiSendLicenseKeysRequest) Execute() (*http.Response, error)
func (ApiSendLicenseKeysRequest) SendLicenseKeys ¶
func (r ApiSendLicenseKeysRequest) SendLicenseKeys(sendLicenseKeys SendLicenseKeys) ApiSendLicenseKeysRequest
type ApiSendPortalLinkRequest ¶
type ApiSendPortalLinkRequest struct {
ApiService *PortalAPIService
// contains filtered or unexported fields
}
func (ApiSendPortalLinkRequest) Execute ¶
func (r ApiSendPortalLinkRequest) Execute() (*http.Response, error)
func (ApiSendPortalLinkRequest) SendPortalLink ¶
func (r ApiSendPortalLinkRequest) SendPortalLink(sendPortalLink SendPortalLink) ApiSendPortalLinkRequest
type ApiUpdateCustomerRequest ¶
type ApiUpdateCustomerRequest struct {
ApiService *CustomersAPIService
// contains filtered or unexported fields
}
func (ApiUpdateCustomerRequest) Execute ¶
func (r ApiUpdateCustomerRequest) Execute() (*Customer, *http.Response, error)
func (ApiUpdateCustomerRequest) UpdateCustomer ¶
func (r ApiUpdateCustomerRequest) UpdateCustomer(updateCustomer UpdateCustomer) ApiUpdateCustomerRequest
type ApiUpdateLicenseRequest ¶
type ApiUpdateLicenseRequest struct {
ApiService *LicensesAPIService
// contains filtered or unexported fields
}
func (ApiUpdateLicenseRequest) Execute ¶
func (r ApiUpdateLicenseRequest) Execute() (*License, *http.Response, error)
func (ApiUpdateLicenseRequest) UpdateLicense ¶
func (r ApiUpdateLicenseRequest) UpdateLicense(updateLicense UpdateLicense) ApiUpdateLicenseRequest
type ApiUpdatePolicyRequest ¶
type ApiUpdatePolicyRequest struct {
ApiService *PoliciesAPIService
// contains filtered or unexported fields
}
func (ApiUpdatePolicyRequest) Execute ¶
func (r ApiUpdatePolicyRequest) Execute() (*Policy, *http.Response, error)
func (ApiUpdatePolicyRequest) UpdatePolicy ¶
func (r ApiUpdatePolicyRequest) UpdatePolicy(updatePolicy UpdatePolicy) ApiUpdatePolicyRequest
type ApiUpdateProductRequest ¶
type ApiUpdateProductRequest struct {
ApiService *ProductsAPIService
// contains filtered or unexported fields
}
func (ApiUpdateProductRequest) Execute ¶
func (r ApiUpdateProductRequest) Execute() (*Product, *http.Response, error)
func (ApiUpdateProductRequest) UpdateProduct ¶
func (r ApiUpdateProductRequest) UpdateProduct(updateProduct UpdateProduct) ApiUpdateProductRequest
type ApiUpdateReleaseRequest ¶
type ApiUpdateReleaseRequest struct {
ApiService *ReleasesAPIService
// contains filtered or unexported fields
}
func (ApiUpdateReleaseRequest) Execute ¶
func (r ApiUpdateReleaseRequest) Execute() (*Release, *http.Response, error)
func (ApiUpdateReleaseRequest) UpdateRelease ¶
func (r ApiUpdateReleaseRequest) UpdateRelease(updateRelease UpdateRelease) ApiUpdateReleaseRequest
type ApiUpdateStripeMappingRequest ¶
type ApiUpdateStripeMappingRequest struct {
ApiService *IntegrationsAPIService
// contains filtered or unexported fields
}
func (ApiUpdateStripeMappingRequest) Execute ¶
func (r ApiUpdateStripeMappingRequest) Execute() (*IntegrationMapping, *http.Response, error)
func (ApiUpdateStripeMappingRequest) UpdateIntegrationMapping ¶
func (r ApiUpdateStripeMappingRequest) UpdateIntegrationMapping(updateIntegrationMapping UpdateIntegrationMapping) ApiUpdateStripeMappingRequest
type ApiUploadProductLogoRequest ¶
type ApiUploadProductLogoRequest struct {
ApiService *ProductsAPIService
// contains filtered or unexported fields
}
func (ApiUploadProductLogoRequest) Execute ¶
func (r ApiUploadProductLogoRequest) Execute() (*Product, *http.Response, error)
func (ApiUploadProductLogoRequest) File ¶
func (r ApiUploadProductLogoRequest) File(file *os.File) ApiUploadProductLogoRequest
WebP, PNG, JPEG or SVG image, up to 1 MB.
type ApiValidateKeyRequest ¶
type ApiValidateKeyRequest struct {
ApiService *LicensesAPIService
// contains filtered or unexported fields
}
func (ApiValidateKeyRequest) Execute ¶
func (r ApiValidateKeyRequest) Execute() (*LicenseToken, *http.Response, error)
func (ApiValidateKeyRequest) ValidateKey ¶
func (r ApiValidateKeyRequest) ValidateKey(validateKey ValidateKey) ApiValidateKeyRequest
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct {
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
Debug bool `json:"debug,omitempty"`
Servers ServerConfigurations
OperationServers map[string]ServerConfigurations
HTTPClient *http.Client
}
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ConnectStripe ¶
type ConnectStripe struct {
// Restricted API key of the Stripe account (`rk_live_…` for live products, `rk_test_…` for test products), with the `requiredPermissions` of `getStripeIntegration`. A secret key works too, but gives the app more access than it needs.
ApiKey string `json:"apiKey"`
AdditionalProperties map[string]interface{}
}
ConnectStripe struct for ConnectStripe
func NewConnectStripe ¶
func NewConnectStripe(apiKey string) *ConnectStripe
NewConnectStripe instantiates a new ConnectStripe 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 NewConnectStripeWithDefaults ¶
func NewConnectStripeWithDefaults() *ConnectStripe
NewConnectStripeWithDefaults instantiates a new ConnectStripe 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 (*ConnectStripe) GetApiKey ¶
func (o *ConnectStripe) GetApiKey() string
GetApiKey returns the ApiKey field value
func (*ConnectStripe) GetApiKeyOk ¶
func (o *ConnectStripe) GetApiKeyOk() (*string, bool)
GetApiKeyOk returns a tuple with the ApiKey field value and a boolean to check if the value has been set.
func (ConnectStripe) MarshalJSON ¶
func (o ConnectStripe) MarshalJSON() ([]byte, error)
func (*ConnectStripe) SetApiKey ¶
func (o *ConnectStripe) SetApiKey(v string)
SetApiKey sets field value
func (ConnectStripe) ToMap ¶
func (o ConnectStripe) ToMap() (map[string]interface{}, error)
func (*ConnectStripe) UnmarshalJSON ¶
func (o *ConnectStripe) UnmarshalJSON(data []byte) (err error)
type CreateCustomer ¶
type CreateCustomer struct {
// Unique within the product, regardless of case. Stored lower cased.
Email string `json:"email"`
// Display name of the customer. `null` when unknown. Defaults to `null`.
Name NullableString `json:"name,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateCustomer struct for CreateCustomer
func NewCreateCustomer ¶
func NewCreateCustomer(email string) *CreateCustomer
NewCreateCustomer instantiates a new CreateCustomer 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 NewCreateCustomerWithDefaults ¶
func NewCreateCustomerWithDefaults() *CreateCustomer
NewCreateCustomerWithDefaults instantiates a new CreateCustomer 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 (*CreateCustomer) GetEmail ¶
func (o *CreateCustomer) GetEmail() string
GetEmail returns the Email field value
func (*CreateCustomer) GetEmailOk ¶
func (o *CreateCustomer) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*CreateCustomer) GetName ¶
func (o *CreateCustomer) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateCustomer) GetNameOk ¶
func (o *CreateCustomer) 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 (*CreateCustomer) HasName ¶
func (o *CreateCustomer) HasName() bool
HasName returns a boolean if a field has been set.
func (CreateCustomer) MarshalJSON ¶
func (o CreateCustomer) MarshalJSON() ([]byte, error)
func (*CreateCustomer) SetEmail ¶
func (o *CreateCustomer) SetEmail(v string)
SetEmail sets field value
func (*CreateCustomer) SetName ¶
func (o *CreateCustomer) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*CreateCustomer) SetNameNil ¶
func (o *CreateCustomer) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (CreateCustomer) ToMap ¶
func (o CreateCustomer) ToMap() (map[string]interface{}, error)
func (*CreateCustomer) UnmarshalJSON ¶
func (o *CreateCustomer) UnmarshalJSON(data []byte) (err error)
func (*CreateCustomer) UnsetName ¶
func (o *CreateCustomer) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
type CreateIntegrationMapping ¶
type CreateIntegrationMapping struct {
// Active one-time price of the Stripe account.
StripePriceId string `json:"stripePriceId"`
PolicyId string `json:"policyId"`
AdditionalProperties map[string]interface{}
}
CreateIntegrationMapping struct for CreateIntegrationMapping
func NewCreateIntegrationMapping ¶
func NewCreateIntegrationMapping(stripePriceId string, policyId string) *CreateIntegrationMapping
NewCreateIntegrationMapping instantiates a new CreateIntegrationMapping 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 NewCreateIntegrationMappingWithDefaults ¶
func NewCreateIntegrationMappingWithDefaults() *CreateIntegrationMapping
NewCreateIntegrationMappingWithDefaults instantiates a new CreateIntegrationMapping 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 (*CreateIntegrationMapping) GetPolicyId ¶
func (o *CreateIntegrationMapping) GetPolicyId() string
GetPolicyId returns the PolicyId field value
func (*CreateIntegrationMapping) GetPolicyIdOk ¶
func (o *CreateIntegrationMapping) GetPolicyIdOk() (*string, bool)
GetPolicyIdOk returns a tuple with the PolicyId field value and a boolean to check if the value has been set.
func (*CreateIntegrationMapping) GetStripePriceId ¶
func (o *CreateIntegrationMapping) GetStripePriceId() string
GetStripePriceId returns the StripePriceId field value
func (*CreateIntegrationMapping) GetStripePriceIdOk ¶
func (o *CreateIntegrationMapping) GetStripePriceIdOk() (*string, bool)
GetStripePriceIdOk returns a tuple with the StripePriceId field value and a boolean to check if the value has been set.
func (CreateIntegrationMapping) MarshalJSON ¶
func (o CreateIntegrationMapping) MarshalJSON() ([]byte, error)
func (*CreateIntegrationMapping) SetPolicyId ¶
func (o *CreateIntegrationMapping) SetPolicyId(v string)
SetPolicyId sets field value
func (*CreateIntegrationMapping) SetStripePriceId ¶
func (o *CreateIntegrationMapping) SetStripePriceId(v string)
SetStripePriceId sets field value
func (CreateIntegrationMapping) ToMap ¶
func (o CreateIntegrationMapping) ToMap() (map[string]interface{}, error)
func (*CreateIntegrationMapping) UnmarshalJSON ¶
func (o *CreateIntegrationMapping) UnmarshalJSON(data []byte) (err error)
type CreateLicense ¶
type CreateLicense struct {
// Email of the customer the license belongs to. The product's customer with this email, compared regardless of case, or a new one when there's none.
Email string `json:"email"`
// Unique within the product. Case sensitive: `validateKey` compares keys exactly. Defaults to a random key of 5 groups of 5 characters separated by dashes, each character an upper case letter or a digit other than `O`, `0`, `I` and `1`, for 125 random bits. Starts with `TEST-` in test products, which is added when missing, and removed in live products.
Key *string `json:"key,omitempty"`
// Policy of the product the license follows. Defaults to the product's default policy.
PolicyId *string `json:"policyId,omitempty"`
// `null` makes the license never expire. Defaults to the creation date plus the duration of the policy, or `null` when the policy has none.
ExpiresAt NullableTime `json:"expiresAt,omitempty"`
// Free-form JSON object.
Meta map[string]*interface{} `json:"meta,omitempty"`
// Maximum number of active machines the license can be used on. `null` for no limit. Defaults to the one of the policy.
MaxMachines NullableInt32 `json:"maxMachines,omitempty"`
// Longest the applications can run offline with the license, in seconds. At least one hour (`3600`). Defaults to the one of the policy.
MaxOfflineDurationSeconds *int32 `json:"maxOfflineDurationSeconds,omitempty"`
Price NullablePriceInput `json:"price,omitempty"`
MaxVersion *LicenseMaxVersionInput `json:"maxVersion,omitempty"`
// `true` emails the key to the customer once the license is created, like `sendLicenseKeys`. Sent in the background: a failed email doesn't fail the creation. In test products, it's only sent when the customer's email is a member's of the organization. Defaults to `false`.
SendKey *bool `json:"sendKey,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateLicense struct for CreateLicense
func NewCreateLicense ¶
func NewCreateLicense(email string) *CreateLicense
NewCreateLicense instantiates a new CreateLicense 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 NewCreateLicenseWithDefaults ¶
func NewCreateLicenseWithDefaults() *CreateLicense
NewCreateLicenseWithDefaults instantiates a new CreateLicense 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 (*CreateLicense) GetEmail ¶
func (o *CreateLicense) GetEmail() string
GetEmail returns the Email field value
func (*CreateLicense) GetEmailOk ¶
func (o *CreateLicense) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*CreateLicense) GetExpiresAt ¶
func (o *CreateLicense) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateLicense) GetExpiresAtOk ¶
func (o *CreateLicense) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateLicense) GetKey ¶
func (o *CreateLicense) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*CreateLicense) GetKeyOk ¶
func (o *CreateLicense) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLicense) GetMaxMachines ¶
func (o *CreateLicense) GetMaxMachines() int32
GetMaxMachines returns the MaxMachines field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateLicense) GetMaxMachinesOk ¶
func (o *CreateLicense) GetMaxMachinesOk() (*int32, bool)
GetMaxMachinesOk returns a tuple with the MaxMachines 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 (*CreateLicense) GetMaxOfflineDurationSeconds ¶
func (o *CreateLicense) GetMaxOfflineDurationSeconds() int32
GetMaxOfflineDurationSeconds returns the MaxOfflineDurationSeconds field value if set, zero value otherwise.
func (*CreateLicense) GetMaxOfflineDurationSecondsOk ¶
func (o *CreateLicense) GetMaxOfflineDurationSecondsOk() (*int32, bool)
GetMaxOfflineDurationSecondsOk returns a tuple with the MaxOfflineDurationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLicense) GetMaxVersion ¶
func (o *CreateLicense) GetMaxVersion() LicenseMaxVersionInput
GetMaxVersion returns the MaxVersion field value if set, zero value otherwise.
func (*CreateLicense) GetMaxVersionOk ¶
func (o *CreateLicense) GetMaxVersionOk() (*LicenseMaxVersionInput, bool)
GetMaxVersionOk returns a tuple with the MaxVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLicense) GetMeta ¶
func (o *CreateLicense) GetMeta() map[string]*interface{}
GetMeta returns the Meta field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateLicense) GetMetaOk ¶
func (o *CreateLicense) GetMetaOk() (map[string]*interface{}, bool)
GetMetaOk returns a tuple with the Meta 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 (*CreateLicense) GetPolicyId ¶
func (o *CreateLicense) GetPolicyId() string
GetPolicyId returns the PolicyId field value if set, zero value otherwise.
func (*CreateLicense) GetPolicyIdOk ¶
func (o *CreateLicense) GetPolicyIdOk() (*string, bool)
GetPolicyIdOk returns a tuple with the PolicyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLicense) GetPrice ¶
func (o *CreateLicense) GetPrice() PriceInput
GetPrice returns the Price field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateLicense) GetPriceOk ¶
func (o *CreateLicense) GetPriceOk() (*PriceInput, bool)
GetPriceOk returns a tuple with the Price 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 (*CreateLicense) GetSendKey ¶
func (o *CreateLicense) GetSendKey() bool
GetSendKey returns the SendKey field value if set, zero value otherwise.
func (*CreateLicense) GetSendKeyOk ¶
func (o *CreateLicense) GetSendKeyOk() (*bool, bool)
GetSendKeyOk returns a tuple with the SendKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateLicense) HasExpiresAt ¶
func (o *CreateLicense) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*CreateLicense) HasKey ¶
func (o *CreateLicense) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*CreateLicense) HasMaxMachines ¶
func (o *CreateLicense) HasMaxMachines() bool
HasMaxMachines returns a boolean if a field has been set.
func (*CreateLicense) HasMaxOfflineDurationSeconds ¶
func (o *CreateLicense) HasMaxOfflineDurationSeconds() bool
HasMaxOfflineDurationSeconds returns a boolean if a field has been set.
func (*CreateLicense) HasMaxVersion ¶
func (o *CreateLicense) HasMaxVersion() bool
HasMaxVersion returns a boolean if a field has been set.
func (*CreateLicense) HasMeta ¶
func (o *CreateLicense) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (*CreateLicense) HasPolicyId ¶
func (o *CreateLicense) HasPolicyId() bool
HasPolicyId returns a boolean if a field has been set.
func (*CreateLicense) HasPrice ¶
func (o *CreateLicense) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (*CreateLicense) HasSendKey ¶
func (o *CreateLicense) HasSendKey() bool
HasSendKey returns a boolean if a field has been set.
func (CreateLicense) MarshalJSON ¶
func (o CreateLicense) MarshalJSON() ([]byte, error)
func (*CreateLicense) SetEmail ¶
func (o *CreateLicense) SetEmail(v string)
SetEmail sets field value
func (*CreateLicense) SetExpiresAt ¶
func (o *CreateLicense) SetExpiresAt(v time.Time)
SetExpiresAt gets a reference to the given NullableTime and assigns it to the ExpiresAt field.
func (*CreateLicense) SetExpiresAtNil ¶
func (o *CreateLicense) SetExpiresAtNil()
SetExpiresAtNil sets the value for ExpiresAt to be an explicit nil
func (*CreateLicense) SetKey ¶
func (o *CreateLicense) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*CreateLicense) SetMaxMachines ¶
func (o *CreateLicense) SetMaxMachines(v int32)
SetMaxMachines gets a reference to the given NullableInt32 and assigns it to the MaxMachines field.
func (*CreateLicense) SetMaxMachinesNil ¶
func (o *CreateLicense) SetMaxMachinesNil()
SetMaxMachinesNil sets the value for MaxMachines to be an explicit nil
func (*CreateLicense) SetMaxOfflineDurationSeconds ¶
func (o *CreateLicense) SetMaxOfflineDurationSeconds(v int32)
SetMaxOfflineDurationSeconds gets a reference to the given int32 and assigns it to the MaxOfflineDurationSeconds field.
func (*CreateLicense) SetMaxVersion ¶
func (o *CreateLicense) SetMaxVersion(v LicenseMaxVersionInput)
SetMaxVersion gets a reference to the given LicenseMaxVersionInput and assigns it to the MaxVersion field.
func (*CreateLicense) SetMeta ¶
func (o *CreateLicense) SetMeta(v map[string]*interface{})
SetMeta gets a reference to the given map[string]*interface{} and assigns it to the Meta field.
func (*CreateLicense) SetPolicyId ¶
func (o *CreateLicense) SetPolicyId(v string)
SetPolicyId gets a reference to the given string and assigns it to the PolicyId field.
func (*CreateLicense) SetPrice ¶
func (o *CreateLicense) SetPrice(v PriceInput)
SetPrice gets a reference to the given NullablePriceInput and assigns it to the Price field.
func (*CreateLicense) SetPriceNil ¶
func (o *CreateLicense) SetPriceNil()
SetPriceNil sets the value for Price to be an explicit nil
func (*CreateLicense) SetSendKey ¶
func (o *CreateLicense) SetSendKey(v bool)
SetSendKey gets a reference to the given bool and assigns it to the SendKey field.
func (CreateLicense) ToMap ¶
func (o CreateLicense) ToMap() (map[string]interface{}, error)
func (*CreateLicense) UnmarshalJSON ¶
func (o *CreateLicense) UnmarshalJSON(data []byte) (err error)
func (*CreateLicense) UnsetExpiresAt ¶
func (o *CreateLicense) UnsetExpiresAt()
UnsetExpiresAt ensures that no value is present for ExpiresAt, not even an explicit nil
func (*CreateLicense) UnsetMaxMachines ¶
func (o *CreateLicense) UnsetMaxMachines()
UnsetMaxMachines ensures that no value is present for MaxMachines, not even an explicit nil
func (*CreateLicense) UnsetPrice ¶
func (o *CreateLicense) UnsetPrice()
UnsetPrice ensures that no value is present for Price, not even an explicit nil
type CreatePolicy ¶
type CreatePolicy struct {
Name string `json:"name"`
// Unique within the product. Defaults to the name, lower cased, without accents and special characters. Starts with `test_` in test products, which is added when missing, and removed in live products.
Slug *string `json:"slug,omitempty" validate:"regexp=^(test_)?[a-z0-9]+(-[a-z0-9]+)*$"`
// `true` makes this policy the product's default, in place of the current one.
IsDefault *bool `json:"isDefault,omitempty"`
Duration NullablePolicySettingsDuration `json:"duration,omitempty"`
// Maximum number of active machines of the licenses created with this policy, copied to each of them. `null` for no limit. Defaults to `null`.
MaxMachines NullableInt32 `json:"maxMachines,omitempty"`
// Longest the applications can run offline with the licenses created with this policy, in seconds, copied to each of them. At least one hour (`3600`). Defaults to one week.
MaxOfflineDurationSeconds *int32 `json:"maxOfflineDurationSeconds,omitempty"`
MaxVersion NullablePolicySettingsMaxVersion `json:"maxVersion,omitempty"`
AdditionalProperties map[string]interface{}
}
CreatePolicy struct for CreatePolicy
func NewCreatePolicy ¶
func NewCreatePolicy(name string) *CreatePolicy
NewCreatePolicy instantiates a new CreatePolicy 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 NewCreatePolicyWithDefaults ¶
func NewCreatePolicyWithDefaults() *CreatePolicy
NewCreatePolicyWithDefaults instantiates a new CreatePolicy 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 (*CreatePolicy) GetDuration ¶
func (o *CreatePolicy) GetDuration() PolicySettingsDuration
GetDuration returns the Duration field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreatePolicy) GetDurationOk ¶
func (o *CreatePolicy) GetDurationOk() (*PolicySettingsDuration, bool)
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreatePolicy) GetIsDefault ¶
func (o *CreatePolicy) GetIsDefault() bool
GetIsDefault returns the IsDefault field value if set, zero value otherwise.
func (*CreatePolicy) GetIsDefaultOk ¶
func (o *CreatePolicy) GetIsDefaultOk() (*bool, bool)
GetIsDefaultOk returns a tuple with the IsDefault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePolicy) GetMaxMachines ¶
func (o *CreatePolicy) GetMaxMachines() int32
GetMaxMachines returns the MaxMachines field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreatePolicy) GetMaxMachinesOk ¶
func (o *CreatePolicy) GetMaxMachinesOk() (*int32, bool)
GetMaxMachinesOk returns a tuple with the MaxMachines 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 (*CreatePolicy) GetMaxOfflineDurationSeconds ¶
func (o *CreatePolicy) GetMaxOfflineDurationSeconds() int32
GetMaxOfflineDurationSeconds returns the MaxOfflineDurationSeconds field value if set, zero value otherwise.
func (*CreatePolicy) GetMaxOfflineDurationSecondsOk ¶
func (o *CreatePolicy) GetMaxOfflineDurationSecondsOk() (*int32, bool)
GetMaxOfflineDurationSecondsOk returns a tuple with the MaxOfflineDurationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePolicy) GetMaxVersion ¶
func (o *CreatePolicy) GetMaxVersion() PolicySettingsMaxVersion
GetMaxVersion returns the MaxVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreatePolicy) GetMaxVersionOk ¶
func (o *CreatePolicy) GetMaxVersionOk() (*PolicySettingsMaxVersion, bool)
GetMaxVersionOk returns a tuple with the MaxVersion 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 (*CreatePolicy) GetName ¶
func (o *CreatePolicy) GetName() string
GetName returns the Name field value
func (*CreatePolicy) GetNameOk ¶
func (o *CreatePolicy) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreatePolicy) GetSlug ¶
func (o *CreatePolicy) GetSlug() string
GetSlug returns the Slug field value if set, zero value otherwise.
func (*CreatePolicy) GetSlugOk ¶
func (o *CreatePolicy) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreatePolicy) HasDuration ¶
func (o *CreatePolicy) HasDuration() bool
HasDuration returns a boolean if a field has been set.
func (*CreatePolicy) HasIsDefault ¶
func (o *CreatePolicy) HasIsDefault() bool
HasIsDefault returns a boolean if a field has been set.
func (*CreatePolicy) HasMaxMachines ¶
func (o *CreatePolicy) HasMaxMachines() bool
HasMaxMachines returns a boolean if a field has been set.
func (*CreatePolicy) HasMaxOfflineDurationSeconds ¶
func (o *CreatePolicy) HasMaxOfflineDurationSeconds() bool
HasMaxOfflineDurationSeconds returns a boolean if a field has been set.
func (*CreatePolicy) HasMaxVersion ¶
func (o *CreatePolicy) HasMaxVersion() bool
HasMaxVersion returns a boolean if a field has been set.
func (*CreatePolicy) HasSlug ¶
func (o *CreatePolicy) HasSlug() bool
HasSlug returns a boolean if a field has been set.
func (CreatePolicy) MarshalJSON ¶
func (o CreatePolicy) MarshalJSON() ([]byte, error)
func (*CreatePolicy) SetDuration ¶
func (o *CreatePolicy) SetDuration(v PolicySettingsDuration)
SetDuration gets a reference to the given NullablePolicySettingsDuration and assigns it to the Duration field.
func (*CreatePolicy) SetDurationNil ¶
func (o *CreatePolicy) SetDurationNil()
SetDurationNil sets the value for Duration to be an explicit nil
func (*CreatePolicy) SetIsDefault ¶
func (o *CreatePolicy) SetIsDefault(v bool)
SetIsDefault gets a reference to the given bool and assigns it to the IsDefault field.
func (*CreatePolicy) SetMaxMachines ¶
func (o *CreatePolicy) SetMaxMachines(v int32)
SetMaxMachines gets a reference to the given NullableInt32 and assigns it to the MaxMachines field.
func (*CreatePolicy) SetMaxMachinesNil ¶
func (o *CreatePolicy) SetMaxMachinesNil()
SetMaxMachinesNil sets the value for MaxMachines to be an explicit nil
func (*CreatePolicy) SetMaxOfflineDurationSeconds ¶
func (o *CreatePolicy) SetMaxOfflineDurationSeconds(v int32)
SetMaxOfflineDurationSeconds gets a reference to the given int32 and assigns it to the MaxOfflineDurationSeconds field.
func (*CreatePolicy) SetMaxVersion ¶
func (o *CreatePolicy) SetMaxVersion(v PolicySettingsMaxVersion)
SetMaxVersion gets a reference to the given NullablePolicySettingsMaxVersion and assigns it to the MaxVersion field.
func (*CreatePolicy) SetMaxVersionNil ¶
func (o *CreatePolicy) SetMaxVersionNil()
SetMaxVersionNil sets the value for MaxVersion to be an explicit nil
func (*CreatePolicy) SetSlug ¶
func (o *CreatePolicy) SetSlug(v string)
SetSlug gets a reference to the given string and assigns it to the Slug field.
func (CreatePolicy) ToMap ¶
func (o CreatePolicy) ToMap() (map[string]interface{}, error)
func (*CreatePolicy) UnmarshalJSON ¶
func (o *CreatePolicy) UnmarshalJSON(data []byte) (err error)
func (*CreatePolicy) UnsetDuration ¶
func (o *CreatePolicy) UnsetDuration()
UnsetDuration ensures that no value is present for Duration, not even an explicit nil
func (*CreatePolicy) UnsetMaxMachines ¶
func (o *CreatePolicy) UnsetMaxMachines()
UnsetMaxMachines ensures that no value is present for MaxMachines, not even an explicit nil
func (*CreatePolicy) UnsetMaxVersion ¶
func (o *CreatePolicy) UnsetMaxVersion()
UnsetMaxVersion ensures that no value is present for MaxVersion, not even an explicit nil
type CreatePortalLink ¶
type CreatePortalLink struct {
// How long the link works, in seconds, from 300 (5 minutes) to 31536000 (365 days).
ExpiresInSeconds int32 `json:"expiresInSeconds"`
AdditionalProperties map[string]interface{}
}
CreatePortalLink struct for CreatePortalLink
func NewCreatePortalLink ¶
func NewCreatePortalLink(expiresInSeconds int32) *CreatePortalLink
NewCreatePortalLink instantiates a new CreatePortalLink 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 NewCreatePortalLinkWithDefaults ¶
func NewCreatePortalLinkWithDefaults() *CreatePortalLink
NewCreatePortalLinkWithDefaults instantiates a new CreatePortalLink 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 (*CreatePortalLink) GetExpiresInSeconds ¶
func (o *CreatePortalLink) GetExpiresInSeconds() int32
GetExpiresInSeconds returns the ExpiresInSeconds field value
func (*CreatePortalLink) GetExpiresInSecondsOk ¶
func (o *CreatePortalLink) GetExpiresInSecondsOk() (*int32, bool)
GetExpiresInSecondsOk returns a tuple with the ExpiresInSeconds field value and a boolean to check if the value has been set.
func (CreatePortalLink) MarshalJSON ¶
func (o CreatePortalLink) MarshalJSON() ([]byte, error)
func (*CreatePortalLink) SetExpiresInSeconds ¶
func (o *CreatePortalLink) SetExpiresInSeconds(v int32)
SetExpiresInSeconds sets field value
func (CreatePortalLink) ToMap ¶
func (o CreatePortalLink) ToMap() (map[string]interface{}, error)
func (*CreatePortalLink) UnmarshalJSON ¶
func (o *CreatePortalLink) UnmarshalJSON(data []byte) (err error)
type CreateProduct ¶
type CreateProduct struct {
Name string `json:"name"`
// Unique within the organization. Defaults to the name, lower cased, without accents and special characters. Starts with `test_` in test products, which is added when missing, and removed in live products.
Slug *string `json:"slug,omitempty" validate:"regexp=^(test_)?[a-z0-9]+(-[a-z0-9]+)*$"`
AdditionalProperties map[string]interface{}
}
CreateProduct struct for CreateProduct
func NewCreateProduct ¶
func NewCreateProduct(name string) *CreateProduct
NewCreateProduct instantiates a new CreateProduct 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 NewCreateProductWithDefaults ¶
func NewCreateProductWithDefaults() *CreateProduct
NewCreateProductWithDefaults instantiates a new CreateProduct 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 (*CreateProduct) GetName ¶
func (o *CreateProduct) GetName() string
GetName returns the Name field value
func (*CreateProduct) GetNameOk ¶
func (o *CreateProduct) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateProduct) GetSlug ¶
func (o *CreateProduct) GetSlug() string
GetSlug returns the Slug field value if set, zero value otherwise.
func (*CreateProduct) GetSlugOk ¶
func (o *CreateProduct) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateProduct) HasSlug ¶
func (o *CreateProduct) HasSlug() bool
HasSlug returns a boolean if a field has been set.
func (CreateProduct) MarshalJSON ¶
func (o CreateProduct) MarshalJSON() ([]byte, error)
func (*CreateProduct) SetSlug ¶
func (o *CreateProduct) SetSlug(v string)
SetSlug gets a reference to the given string and assigns it to the Slug field.
func (CreateProduct) ToMap ¶
func (o CreateProduct) ToMap() (map[string]interface{}, error)
func (*CreateProduct) UnmarshalJSON ¶
func (o *CreateProduct) UnmarshalJSON(data []byte) (err error)
type CreateProductWithPolicy ¶
type CreateProductWithPolicy struct {
Name string `json:"name"`
// Unique within the organization. Defaults to the name, lower cased, without accents and special characters. Starts with `test_` in test products, which is added when missing, and removed in live products.
Slug *string `json:"slug,omitempty" validate:"regexp=^(test_)?[a-z0-9]+(-[a-z0-9]+)*$"`
DefaultPolicy *PolicySettings `json:"defaultPolicy,omitempty"`
// Creates a test product: a sandbox of this live product of the organization, starting with copies of its policies, releases and portal settings.
IsTestFromProductId *string `json:"isTestFromProductId,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateProductWithPolicy struct for CreateProductWithPolicy
func NewCreateProductWithPolicy ¶
func NewCreateProductWithPolicy(name string) *CreateProductWithPolicy
NewCreateProductWithPolicy instantiates a new CreateProductWithPolicy 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 NewCreateProductWithPolicyWithDefaults ¶
func NewCreateProductWithPolicyWithDefaults() *CreateProductWithPolicy
NewCreateProductWithPolicyWithDefaults instantiates a new CreateProductWithPolicy 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 (*CreateProductWithPolicy) GetDefaultPolicy ¶
func (o *CreateProductWithPolicy) GetDefaultPolicy() PolicySettings
GetDefaultPolicy returns the DefaultPolicy field value if set, zero value otherwise.
func (*CreateProductWithPolicy) GetDefaultPolicyOk ¶
func (o *CreateProductWithPolicy) GetDefaultPolicyOk() (*PolicySettings, bool)
GetDefaultPolicyOk returns a tuple with the DefaultPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateProductWithPolicy) GetIsTestFromProductId ¶
func (o *CreateProductWithPolicy) GetIsTestFromProductId() string
GetIsTestFromProductId returns the IsTestFromProductId field value if set, zero value otherwise.
func (*CreateProductWithPolicy) GetIsTestFromProductIdOk ¶
func (o *CreateProductWithPolicy) GetIsTestFromProductIdOk() (*string, bool)
GetIsTestFromProductIdOk returns a tuple with the IsTestFromProductId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateProductWithPolicy) GetName ¶
func (o *CreateProductWithPolicy) GetName() string
GetName returns the Name field value
func (*CreateProductWithPolicy) GetNameOk ¶
func (o *CreateProductWithPolicy) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateProductWithPolicy) GetSlug ¶
func (o *CreateProductWithPolicy) GetSlug() string
GetSlug returns the Slug field value if set, zero value otherwise.
func (*CreateProductWithPolicy) GetSlugOk ¶
func (o *CreateProductWithPolicy) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateProductWithPolicy) HasDefaultPolicy ¶
func (o *CreateProductWithPolicy) HasDefaultPolicy() bool
HasDefaultPolicy returns a boolean if a field has been set.
func (*CreateProductWithPolicy) HasIsTestFromProductId ¶
func (o *CreateProductWithPolicy) HasIsTestFromProductId() bool
HasIsTestFromProductId returns a boolean if a field has been set.
func (*CreateProductWithPolicy) HasSlug ¶
func (o *CreateProductWithPolicy) HasSlug() bool
HasSlug returns a boolean if a field has been set.
func (CreateProductWithPolicy) MarshalJSON ¶
func (o CreateProductWithPolicy) MarshalJSON() ([]byte, error)
func (*CreateProductWithPolicy) SetDefaultPolicy ¶
func (o *CreateProductWithPolicy) SetDefaultPolicy(v PolicySettings)
SetDefaultPolicy gets a reference to the given PolicySettings and assigns it to the DefaultPolicy field.
func (*CreateProductWithPolicy) SetIsTestFromProductId ¶
func (o *CreateProductWithPolicy) SetIsTestFromProductId(v string)
SetIsTestFromProductId gets a reference to the given string and assigns it to the IsTestFromProductId field.
func (*CreateProductWithPolicy) SetName ¶
func (o *CreateProductWithPolicy) SetName(v string)
SetName sets field value
func (*CreateProductWithPolicy) SetSlug ¶
func (o *CreateProductWithPolicy) SetSlug(v string)
SetSlug gets a reference to the given string and assigns it to the Slug field.
func (CreateProductWithPolicy) ToMap ¶
func (o CreateProductWithPolicy) ToMap() (map[string]interface{}, error)
func (*CreateProductWithPolicy) UnmarshalJSON ¶
func (o *CreateProductWithPolicy) UnmarshalJSON(data []byte) (err error)
type CreateRelease ¶
type CreateRelease struct {
// Semantic version, like `\"2.3.1\"` or `\"2.4.0-beta.1\"`, without a `v` prefix. Unique within the product. Each number has at most 9 digits.
Version string `` /* 136-byte string literal not displayed */
// When the version is released, which can be in the future. Defaults to now.
ReleasedAt *time.Time `json:"releasedAt,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateRelease struct for CreateRelease
func NewCreateRelease ¶
func NewCreateRelease(version string) *CreateRelease
NewCreateRelease instantiates a new CreateRelease 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 NewCreateReleaseWithDefaults ¶
func NewCreateReleaseWithDefaults() *CreateRelease
NewCreateReleaseWithDefaults instantiates a new CreateRelease 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 (*CreateRelease) GetReleasedAt ¶
func (o *CreateRelease) GetReleasedAt() time.Time
GetReleasedAt returns the ReleasedAt field value if set, zero value otherwise.
func (*CreateRelease) GetReleasedAtOk ¶
func (o *CreateRelease) GetReleasedAtOk() (*time.Time, bool)
GetReleasedAtOk returns a tuple with the ReleasedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRelease) GetVersion ¶
func (o *CreateRelease) GetVersion() string
GetVersion returns the Version field value
func (*CreateRelease) GetVersionOk ¶
func (o *CreateRelease) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*CreateRelease) HasReleasedAt ¶
func (o *CreateRelease) HasReleasedAt() bool
HasReleasedAt returns a boolean if a field has been set.
func (CreateRelease) MarshalJSON ¶
func (o CreateRelease) MarshalJSON() ([]byte, error)
func (*CreateRelease) SetReleasedAt ¶
func (o *CreateRelease) SetReleasedAt(v time.Time)
SetReleasedAt gets a reference to the given time.Time and assigns it to the ReleasedAt field.
func (*CreateRelease) SetVersion ¶
func (o *CreateRelease) SetVersion(v string)
SetVersion sets field value
func (CreateRelease) ToMap ¶
func (o CreateRelease) ToMap() (map[string]interface{}, error)
func (*CreateRelease) UnmarshalJSON ¶
func (o *CreateRelease) UnmarshalJSON(data []byte) (err error)
type CreateToken ¶
type CreateToken struct {
// Permissions of the token. A write permission implies the matching read one. A token creating a token can only give the permissions it has.
Scope []string `json:"scope"`
// How long the token works, in seconds, from 60 (1 minute) to 31536000 (365 days). Defaults to 900 (15 minutes). A token creating a token can't give it a later expiration than its own: it's shortened to it.
ExpiresInSeconds *int32 `json:"expiresInSeconds,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateToken struct for CreateToken
func NewCreateToken ¶
func NewCreateToken(scope []string) *CreateToken
NewCreateToken instantiates a new CreateToken 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 NewCreateTokenWithDefaults ¶
func NewCreateTokenWithDefaults() *CreateToken
NewCreateTokenWithDefaults instantiates a new CreateToken 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 (*CreateToken) GetExpiresInSeconds ¶
func (o *CreateToken) GetExpiresInSeconds() int32
GetExpiresInSeconds returns the ExpiresInSeconds field value if set, zero value otherwise.
func (*CreateToken) GetExpiresInSecondsOk ¶
func (o *CreateToken) GetExpiresInSecondsOk() (*int32, bool)
GetExpiresInSecondsOk returns a tuple with the ExpiresInSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateToken) GetScope ¶
func (o *CreateToken) GetScope() []string
GetScope returns the Scope field value
func (*CreateToken) GetScopeOk ¶
func (o *CreateToken) GetScopeOk() ([]string, bool)
GetScopeOk returns a tuple with the Scope field value and a boolean to check if the value has been set.
func (*CreateToken) HasExpiresInSeconds ¶
func (o *CreateToken) HasExpiresInSeconds() bool
HasExpiresInSeconds returns a boolean if a field has been set.
func (CreateToken) MarshalJSON ¶
func (o CreateToken) MarshalJSON() ([]byte, error)
func (*CreateToken) SetExpiresInSeconds ¶
func (o *CreateToken) SetExpiresInSeconds(v int32)
SetExpiresInSeconds gets a reference to the given int32 and assigns it to the ExpiresInSeconds field.
func (CreateToken) ToMap ¶
func (o CreateToken) ToMap() (map[string]interface{}, error)
func (*CreateToken) UnmarshalJSON ¶
func (o *CreateToken) UnmarshalJSON(data []byte) (err error)
type Customer ¶
type Customer struct {
Id string `json:"id"`
ProductId string `json:"productId"`
Email string `json:"email"`
// Display name of the customer. `null` when unknown.
Name NullableString `json:"name"`
// Number of licenses of this customer.
LicenseCount int32 `json:"licenseCount"`
// Id of the Stripe customer, when the customer bought licenses through the Stripe integration as a Stripe customer. `null` otherwise, e.g. for a guest checkout.
StripeCustomerId NullableString `json:"stripeCustomerId"`
CreatedAt time.Time `json:"createdAt"`
AdditionalProperties map[string]interface{}
}
Customer struct for Customer
func NewCustomer ¶
func NewCustomer(id string, productId string, email string, name NullableString, licenseCount int32, stripeCustomerId NullableString, createdAt time.Time) *Customer
NewCustomer instantiates a new Customer 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 NewCustomerWithDefaults ¶
func NewCustomerWithDefaults() *Customer
NewCustomerWithDefaults instantiates a new Customer 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 (*Customer) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Customer) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Customer) GetEmailOk ¶
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*Customer) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Customer) GetLicenseCount ¶
GetLicenseCount returns the LicenseCount field value
func (*Customer) GetLicenseCountOk ¶
GetLicenseCountOk returns a tuple with the LicenseCount field value and a boolean to check if the value has been set.
func (*Customer) GetName ¶
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*Customer) GetNameOk ¶
GetNameOk returns a tuple with the Name 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 (*Customer) GetProductId ¶
GetProductId returns the ProductId field value
func (*Customer) GetProductIdOk ¶
GetProductIdOk returns a tuple with the ProductId field value and a boolean to check if the value has been set.
func (*Customer) GetStripeCustomerId ¶
GetStripeCustomerId returns the StripeCustomerId field value If the value is explicit nil, the zero value for string will be returned
func (*Customer) GetStripeCustomerIdOk ¶
GetStripeCustomerIdOk returns a tuple with the StripeCustomerId 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 (Customer) MarshalJSON ¶
func (*Customer) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Customer) SetLicenseCount ¶
SetLicenseCount sets field value
func (*Customer) SetProductId ¶
SetProductId sets field value
func (*Customer) SetStripeCustomerId ¶
SetStripeCustomerId sets field value
func (*Customer) UnmarshalJSON ¶
type CustomerList ¶
type CustomerList struct {
// Items of the page, in the requested order. Empty past the last page.
Data []Customer `json:"data"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
CustomerList struct for CustomerList
func NewCustomerList ¶
func NewCustomerList(data []Customer, pagination Pagination) *CustomerList
NewCustomerList instantiates a new CustomerList 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 NewCustomerListWithDefaults ¶
func NewCustomerListWithDefaults() *CustomerList
NewCustomerListWithDefaults instantiates a new CustomerList 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 (*CustomerList) GetData ¶
func (o *CustomerList) GetData() []Customer
GetData returns the Data field value
func (*CustomerList) GetDataOk ¶
func (o *CustomerList) GetDataOk() ([]Customer, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*CustomerList) GetPagination ¶
func (o *CustomerList) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*CustomerList) GetPaginationOk ¶
func (o *CustomerList) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (CustomerList) MarshalJSON ¶
func (o CustomerList) MarshalJSON() ([]byte, error)
func (*CustomerList) SetData ¶
func (o *CustomerList) SetData(v []Customer)
SetData sets field value
func (*CustomerList) SetPagination ¶
func (o *CustomerList) SetPagination(v Pagination)
SetPagination sets field value
func (CustomerList) ToMap ¶
func (o CustomerList) ToMap() (map[string]interface{}, error)
func (*CustomerList) UnmarshalJSON ¶
func (o *CustomerList) UnmarshalJSON(data []byte) (err error)
type CustomersAPIService ¶
type CustomersAPIService service
CustomersAPIService CustomersAPI service
func (*CustomersAPIService) CreateCustomer ¶
func (a *CustomersAPIService) CreateCustomer(ctx context.Context, productId string) ApiCreateCustomerRequest
CreateCustomer Create a customer
**Required role permission**: `customer:create` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiCreateCustomerRequest
func (*CustomersAPIService) CreateCustomerExecute ¶
func (a *CustomersAPIService) CreateCustomerExecute(r ApiCreateCustomerRequest) (*Customer, *http.Response, error)
Execute executes the request
@return Customer
func (*CustomersAPIService) DeleteCustomer ¶
func (a *CustomersAPIService) DeleteCustomer(ctx context.Context, id string) ApiDeleteCustomerRequest
DeleteCustomer Delete a customer
A customer that licenses belong to can't be deleted: delete them first. The customer tokens of the customer, like the ones of its portal links, stop working.
**Required role permission**: `customer:delete` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDeleteCustomerRequest
func (*CustomersAPIService) DeleteCustomerExecute ¶
func (a *CustomersAPIService) DeleteCustomerExecute(r ApiDeleteCustomerRequest) (*http.Response, error)
Execute executes the request
func (*CustomersAPIService) GetCustomer ¶
func (a *CustomersAPIService) GetCustomer(ctx context.Context, id string) ApiGetCustomerRequest
GetCustomer Get a customer
**Token access**: customer, license, machine tokens with the `customer:read` permission (or the matching write one). A token reaches the customer it's scoped to, or the customer of its license or machine.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetCustomerRequest
func (*CustomersAPIService) GetCustomerExecute ¶
func (a *CustomersAPIService) GetCustomerExecute(r ApiGetCustomerRequest) (*Customer, *http.Response, error)
Execute executes the request
@return Customer
func (*CustomersAPIService) ListCustomers ¶
func (a *CustomersAPIService) ListCustomers(ctx context.Context, productId string) ApiListCustomersRequest
ListCustomers List the customers of a product
Sorting by `name` puts the customers without a name last in both orders.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiListCustomersRequest
func (*CustomersAPIService) ListCustomersExecute ¶
func (a *CustomersAPIService) ListCustomersExecute(r ApiListCustomersRequest) (*CustomerList, *http.Response, error)
Execute executes the request
@return CustomerList
func (*CustomersAPIService) UpdateCustomer ¶
func (a *CustomersAPIService) UpdateCustomer(ctx context.Context, id string) ApiUpdateCustomerRequest
UpdateCustomer Update a customer
**Required role permission**: `customer:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdateCustomerRequest
func (*CustomersAPIService) UpdateCustomerExecute ¶
func (a *CustomersAPIService) UpdateCustomerExecute(r ApiUpdateCustomerRequest) (*Customer, *http.Response, error)
Execute executes the request
@return Customer
type Error ¶
type Error struct {
Error ErrorError `json:"error"`
AdditionalProperties map[string]interface{}
}
Error struct for Error
func NewError ¶
func NewError(error_ ErrorError) *Error
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetError ¶
func (o *Error) GetError() ErrorError
GetError returns the Error field value
func (*Error) GetErrorOk ¶
func (o *Error) GetErrorOk() (*ErrorError, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (Error) MarshalJSON ¶
func (*Error) UnmarshalJSON ¶
type ErrorError ¶
type ErrorError struct {
Code string `json:"code"`
Message string `json:"message"`
// Present on `validation_error` errors.
Issues []ErrorErrorIssuesInner `json:"issues,omitempty"`
AdditionalProperties map[string]interface{}
}
ErrorError struct for ErrorError
func NewErrorError ¶
func NewErrorError(code string, message string) *ErrorError
NewErrorError instantiates a new ErrorError 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 NewErrorErrorWithDefaults ¶
func NewErrorErrorWithDefaults() *ErrorError
NewErrorErrorWithDefaults instantiates a new ErrorError 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 (*ErrorError) GetCode ¶
func (o *ErrorError) GetCode() string
GetCode returns the Code field value
func (*ErrorError) GetCodeOk ¶
func (o *ErrorError) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*ErrorError) GetIssues ¶
func (o *ErrorError) GetIssues() []ErrorErrorIssuesInner
GetIssues returns the Issues field value if set, zero value otherwise.
func (*ErrorError) GetIssuesOk ¶
func (o *ErrorError) GetIssuesOk() ([]ErrorErrorIssuesInner, bool)
GetIssuesOk returns a tuple with the Issues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorError) GetMessage ¶
func (o *ErrorError) GetMessage() string
GetMessage returns the Message field value
func (*ErrorError) GetMessageOk ¶
func (o *ErrorError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ErrorError) HasIssues ¶
func (o *ErrorError) HasIssues() bool
HasIssues returns a boolean if a field has been set.
func (ErrorError) MarshalJSON ¶
func (o ErrorError) MarshalJSON() ([]byte, error)
func (*ErrorError) SetIssues ¶
func (o *ErrorError) SetIssues(v []ErrorErrorIssuesInner)
SetIssues gets a reference to the given []ErrorErrorIssuesInner and assigns it to the Issues field.
func (*ErrorError) SetMessage ¶
func (o *ErrorError) SetMessage(v string)
SetMessage sets field value
func (ErrorError) ToMap ¶
func (o ErrorError) ToMap() (map[string]interface{}, error)
func (*ErrorError) UnmarshalJSON ¶
func (o *ErrorError) UnmarshalJSON(data []byte) (err error)
type ErrorErrorIssuesInner ¶
type ErrorErrorIssuesInner struct {
Path []ErrorErrorIssuesInnerPathInner `json:"path"`
Message string `json:"message"`
AdditionalProperties map[string]interface{}
}
ErrorErrorIssuesInner struct for ErrorErrorIssuesInner
func NewErrorErrorIssuesInner ¶
func NewErrorErrorIssuesInner(path []ErrorErrorIssuesInnerPathInner, message string) *ErrorErrorIssuesInner
NewErrorErrorIssuesInner instantiates a new ErrorErrorIssuesInner 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 NewErrorErrorIssuesInnerWithDefaults ¶
func NewErrorErrorIssuesInnerWithDefaults() *ErrorErrorIssuesInner
NewErrorErrorIssuesInnerWithDefaults instantiates a new ErrorErrorIssuesInner 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 (*ErrorErrorIssuesInner) GetMessage ¶
func (o *ErrorErrorIssuesInner) GetMessage() string
GetMessage returns the Message field value
func (*ErrorErrorIssuesInner) GetMessageOk ¶
func (o *ErrorErrorIssuesInner) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ErrorErrorIssuesInner) GetPath ¶
func (o *ErrorErrorIssuesInner) GetPath() []ErrorErrorIssuesInnerPathInner
GetPath returns the Path field value
func (*ErrorErrorIssuesInner) GetPathOk ¶
func (o *ErrorErrorIssuesInner) GetPathOk() ([]ErrorErrorIssuesInnerPathInner, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (ErrorErrorIssuesInner) MarshalJSON ¶
func (o ErrorErrorIssuesInner) MarshalJSON() ([]byte, error)
func (*ErrorErrorIssuesInner) SetMessage ¶
func (o *ErrorErrorIssuesInner) SetMessage(v string)
SetMessage sets field value
func (*ErrorErrorIssuesInner) SetPath ¶
func (o *ErrorErrorIssuesInner) SetPath(v []ErrorErrorIssuesInnerPathInner)
SetPath sets field value
func (ErrorErrorIssuesInner) ToMap ¶
func (o ErrorErrorIssuesInner) ToMap() (map[string]interface{}, error)
func (*ErrorErrorIssuesInner) UnmarshalJSON ¶
func (o *ErrorErrorIssuesInner) UnmarshalJSON(data []byte) (err error)
type ErrorErrorIssuesInnerPathInner ¶
ErrorErrorIssuesInnerPathInner struct for ErrorErrorIssuesInnerPathInner
func (ErrorErrorIssuesInnerPathInner) MarshalJSON ¶
func (src ErrorErrorIssuesInnerPathInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ErrorErrorIssuesInnerPathInner) UnmarshalJSON ¶
func (dst *ErrorErrorIssuesInnerPathInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type Event ¶
type Event struct {
Id string `json:"id"`
Type EventType `json:"type"`
CreatedAt time.Time `json:"createdAt"`
// Details of the event, depending on its `type`.
Payload map[string]*interface{} `json:"payload"`
PolicyId NullableString `json:"policyId"`
LicenseId NullableString `json:"licenseId"`
MachineId NullableString `json:"machineId"`
Machine NullableEventMachine `json:"machine"`
Actor NullableEventActor `json:"actor"`
AdditionalProperties map[string]interface{}
}
Event struct for Event
func NewEvent ¶
func NewEvent(id string, type_ EventType, createdAt time.Time, payload map[string]*interface{}, policyId NullableString, licenseId NullableString, machineId NullableString, machine NullableEventMachine, actor NullableEventActor) *Event
NewEvent instantiates a new Event 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 NewEventWithDefaults ¶
func NewEventWithDefaults() *Event
NewEventWithDefaults instantiates a new Event 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 (*Event) GetActor ¶
func (o *Event) GetActor() EventActor
GetActor returns the Actor field value If the value is explicit nil, the zero value for EventActor will be returned
func (*Event) GetActorOk ¶
func (o *Event) GetActorOk() (*EventActor, bool)
GetActorOk returns a tuple with the Actor 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 (*Event) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Event) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Event) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Event) GetLicenseId ¶
GetLicenseId returns the LicenseId field value If the value is explicit nil, the zero value for string will be returned
func (*Event) GetLicenseIdOk ¶
GetLicenseIdOk returns a tuple with the LicenseId 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 (*Event) GetMachine ¶
func (o *Event) GetMachine() EventMachine
GetMachine returns the Machine field value If the value is explicit nil, the zero value for EventMachine will be returned
func (*Event) GetMachineId ¶
GetMachineId returns the MachineId field value If the value is explicit nil, the zero value for string will be returned
func (*Event) GetMachineIdOk ¶
GetMachineIdOk returns a tuple with the MachineId 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 (*Event) GetMachineOk ¶
func (o *Event) GetMachineOk() (*EventMachine, bool)
GetMachineOk returns a tuple with the Machine 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 (*Event) GetPayload ¶
GetPayload returns the Payload field value
func (*Event) GetPayloadOk ¶
GetPayloadOk returns a tuple with the Payload field value and a boolean to check if the value has been set.
func (*Event) GetPolicyId ¶
GetPolicyId returns the PolicyId field value If the value is explicit nil, the zero value for string will be returned
func (*Event) GetPolicyIdOk ¶
GetPolicyIdOk returns a tuple with the PolicyId 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 (*Event) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (Event) MarshalJSON ¶
func (*Event) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Event) SetPayload ¶
SetPayload sets field value
func (*Event) UnmarshalJSON ¶
type EventActor ¶
type EventActor struct {
EventActorOneOf *EventActorOneOf
EventActorOneOf1 *EventActorOneOf1
EventActorOneOf2 *EventActorOneOf2
EventActorOneOf3 *EventActorOneOf3
EventActorOneOf4 *EventActorOneOf4
}
EventActor - Who caused the event: a user of the app, an API key, a token, `automation` for the changes the app makes on its own, like applying the version locks, or `integration` for the changes of an integration, like the licenses a Stripe payment creates. `null` for requests that don't authenticate, like validating a license key.
func EventActorOneOf1AsEventActor ¶
func EventActorOneOf1AsEventActor(v *EventActorOneOf1) EventActor
EventActorOneOf1AsEventActor is a convenience function that returns EventActorOneOf1 wrapped in EventActor
func EventActorOneOf2AsEventActor ¶
func EventActorOneOf2AsEventActor(v *EventActorOneOf2) EventActor
EventActorOneOf2AsEventActor is a convenience function that returns EventActorOneOf2 wrapped in EventActor
func EventActorOneOf3AsEventActor ¶
func EventActorOneOf3AsEventActor(v *EventActorOneOf3) EventActor
EventActorOneOf3AsEventActor is a convenience function that returns EventActorOneOf3 wrapped in EventActor
func EventActorOneOf4AsEventActor ¶
func EventActorOneOf4AsEventActor(v *EventActorOneOf4) EventActor
EventActorOneOf4AsEventActor is a convenience function that returns EventActorOneOf4 wrapped in EventActor
func EventActorOneOfAsEventActor ¶
func EventActorOneOfAsEventActor(v *EventActorOneOf) EventActor
EventActorOneOfAsEventActor is a convenience function that returns EventActorOneOf wrapped in EventActor
func (*EventActor) GetActualInstance ¶
func (obj *EventActor) GetActualInstance() interface{}
Get the actual instance
func (EventActor) GetActualInstanceValue ¶
func (obj EventActor) GetActualInstanceValue() interface{}
Get the actual instance value
func (EventActor) MarshalJSON ¶
func (src EventActor) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*EventActor) UnmarshalJSON ¶
func (dst *EventActor) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type EventActorOneOf ¶
type EventActorOneOf struct {
Type string `json:"type"`
// `null` when the user has been deleted.
Id NullableString `json:"id"`
Name NullableString `json:"name"`
Email NullableString `json:"email"`
// URL of the user's profile picture.
Image NullableString `json:"image"`
AdditionalProperties map[string]interface{}
}
EventActorOneOf struct for EventActorOneOf
func NewEventActorOneOf ¶
func NewEventActorOneOf(type_ string, id NullableString, name NullableString, email NullableString, image NullableString) *EventActorOneOf
NewEventActorOneOf instantiates a new EventActorOneOf 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 NewEventActorOneOfWithDefaults ¶
func NewEventActorOneOfWithDefaults() *EventActorOneOf
NewEventActorOneOfWithDefaults instantiates a new EventActorOneOf 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 (*EventActorOneOf) GetEmail ¶
func (o *EventActorOneOf) GetEmail() string
GetEmail returns the Email field value If the value is explicit nil, the zero value for string will be returned
func (*EventActorOneOf) GetEmailOk ¶
func (o *EventActorOneOf) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email 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 (*EventActorOneOf) GetId ¶
func (o *EventActorOneOf) GetId() string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*EventActorOneOf) GetIdOk ¶
func (o *EventActorOneOf) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id 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 (*EventActorOneOf) GetImage ¶
func (o *EventActorOneOf) GetImage() string
GetImage returns the Image field value If the value is explicit nil, the zero value for string will be returned
func (*EventActorOneOf) GetImageOk ¶
func (o *EventActorOneOf) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image 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 (*EventActorOneOf) GetName ¶
func (o *EventActorOneOf) GetName() string
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*EventActorOneOf) GetNameOk ¶
func (o *EventActorOneOf) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*EventActorOneOf) GetType ¶
func (o *EventActorOneOf) GetType() string
GetType returns the Type field value
func (*EventActorOneOf) GetTypeOk ¶
func (o *EventActorOneOf) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (EventActorOneOf) MarshalJSON ¶
func (o EventActorOneOf) MarshalJSON() ([]byte, error)
func (*EventActorOneOf) SetEmail ¶
func (o *EventActorOneOf) SetEmail(v string)
SetEmail sets field value
func (*EventActorOneOf) SetImage ¶
func (o *EventActorOneOf) SetImage(v string)
SetImage sets field value
func (*EventActorOneOf) SetName ¶
func (o *EventActorOneOf) SetName(v string)
SetName sets field value
func (*EventActorOneOf) SetType ¶
func (o *EventActorOneOf) SetType(v string)
SetType sets field value
func (EventActorOneOf) ToMap ¶
func (o EventActorOneOf) ToMap() (map[string]interface{}, error)
func (*EventActorOneOf) UnmarshalJSON ¶
func (o *EventActorOneOf) UnmarshalJSON(data []byte) (err error)
type EventActorOneOf1 ¶
type EventActorOneOf1 struct {
Type string `json:"type"`
// `null` when the API key has been deleted.
Id NullableString `json:"id"`
Name NullableString `json:"name"`
// First characters of the key, to recognize it.
Start NullableString `json:"start"`
AdditionalProperties map[string]interface{}
}
EventActorOneOf1 struct for EventActorOneOf1
func NewEventActorOneOf1 ¶
func NewEventActorOneOf1(type_ string, id NullableString, name NullableString, start NullableString) *EventActorOneOf1
NewEventActorOneOf1 instantiates a new EventActorOneOf1 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 NewEventActorOneOf1WithDefaults ¶
func NewEventActorOneOf1WithDefaults() *EventActorOneOf1
NewEventActorOneOf1WithDefaults instantiates a new EventActorOneOf1 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 (*EventActorOneOf1) GetId ¶
func (o *EventActorOneOf1) GetId() string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*EventActorOneOf1) GetIdOk ¶
func (o *EventActorOneOf1) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id 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 (*EventActorOneOf1) GetName ¶
func (o *EventActorOneOf1) GetName() string
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*EventActorOneOf1) GetNameOk ¶
func (o *EventActorOneOf1) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*EventActorOneOf1) GetStart ¶
func (o *EventActorOneOf1) GetStart() string
GetStart returns the Start field value If the value is explicit nil, the zero value for string will be returned
func (*EventActorOneOf1) GetStartOk ¶
func (o *EventActorOneOf1) GetStartOk() (*string, bool)
GetStartOk returns a tuple with the Start 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 (*EventActorOneOf1) GetType ¶
func (o *EventActorOneOf1) GetType() string
GetType returns the Type field value
func (*EventActorOneOf1) GetTypeOk ¶
func (o *EventActorOneOf1) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (EventActorOneOf1) MarshalJSON ¶
func (o EventActorOneOf1) MarshalJSON() ([]byte, error)
func (*EventActorOneOf1) SetName ¶
func (o *EventActorOneOf1) SetName(v string)
SetName sets field value
func (*EventActorOneOf1) SetStart ¶
func (o *EventActorOneOf1) SetStart(v string)
SetStart sets field value
func (*EventActorOneOf1) SetType ¶
func (o *EventActorOneOf1) SetType(v string)
SetType sets field value
func (EventActorOneOf1) ToMap ¶
func (o EventActorOneOf1) ToMap() (map[string]interface{}, error)
func (*EventActorOneOf1) UnmarshalJSON ¶
func (o *EventActorOneOf1) UnmarshalJSON(data []byte) (err error)
type EventActorOneOf2 ¶
type EventActorOneOf2 struct {
Type string `json:"type"`
// Type of resource the token is scoped to.
TokenType string `json:"tokenType"`
// Id of the resource the token is scoped to.
SubjectId string `json:"subjectId"`
AdditionalProperties map[string]interface{}
}
EventActorOneOf2 struct for EventActorOneOf2
func NewEventActorOneOf2 ¶
func NewEventActorOneOf2(type_ string, tokenType string, subjectId string) *EventActorOneOf2
NewEventActorOneOf2 instantiates a new EventActorOneOf2 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 NewEventActorOneOf2WithDefaults ¶
func NewEventActorOneOf2WithDefaults() *EventActorOneOf2
NewEventActorOneOf2WithDefaults instantiates a new EventActorOneOf2 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 (*EventActorOneOf2) GetSubjectId ¶
func (o *EventActorOneOf2) GetSubjectId() string
GetSubjectId returns the SubjectId field value
func (*EventActorOneOf2) GetSubjectIdOk ¶
func (o *EventActorOneOf2) GetSubjectIdOk() (*string, bool)
GetSubjectIdOk returns a tuple with the SubjectId field value and a boolean to check if the value has been set.
func (*EventActorOneOf2) GetTokenType ¶
func (o *EventActorOneOf2) GetTokenType() string
GetTokenType returns the TokenType field value
func (*EventActorOneOf2) GetTokenTypeOk ¶
func (o *EventActorOneOf2) GetTokenTypeOk() (*string, bool)
GetTokenTypeOk returns a tuple with the TokenType field value and a boolean to check if the value has been set.
func (*EventActorOneOf2) GetType ¶
func (o *EventActorOneOf2) GetType() string
GetType returns the Type field value
func (*EventActorOneOf2) GetTypeOk ¶
func (o *EventActorOneOf2) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (EventActorOneOf2) MarshalJSON ¶
func (o EventActorOneOf2) MarshalJSON() ([]byte, error)
func (*EventActorOneOf2) SetSubjectId ¶
func (o *EventActorOneOf2) SetSubjectId(v string)
SetSubjectId sets field value
func (*EventActorOneOf2) SetTokenType ¶
func (o *EventActorOneOf2) SetTokenType(v string)
SetTokenType sets field value
func (*EventActorOneOf2) SetType ¶
func (o *EventActorOneOf2) SetType(v string)
SetType sets field value
func (EventActorOneOf2) ToMap ¶
func (o EventActorOneOf2) ToMap() (map[string]interface{}, error)
func (*EventActorOneOf2) UnmarshalJSON ¶
func (o *EventActorOneOf2) UnmarshalJSON(data []byte) (err error)
type EventActorOneOf3 ¶
type EventActorOneOf3 struct {
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
EventActorOneOf3 struct for EventActorOneOf3
func NewEventActorOneOf3 ¶
func NewEventActorOneOf3(type_ string) *EventActorOneOf3
NewEventActorOneOf3 instantiates a new EventActorOneOf3 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 NewEventActorOneOf3WithDefaults ¶
func NewEventActorOneOf3WithDefaults() *EventActorOneOf3
NewEventActorOneOf3WithDefaults instantiates a new EventActorOneOf3 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 (*EventActorOneOf3) GetType ¶
func (o *EventActorOneOf3) GetType() string
GetType returns the Type field value
func (*EventActorOneOf3) GetTypeOk ¶
func (o *EventActorOneOf3) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (EventActorOneOf3) MarshalJSON ¶
func (o EventActorOneOf3) MarshalJSON() ([]byte, error)
func (*EventActorOneOf3) SetType ¶
func (o *EventActorOneOf3) SetType(v string)
SetType sets field value
func (EventActorOneOf3) ToMap ¶
func (o EventActorOneOf3) ToMap() (map[string]interface{}, error)
func (*EventActorOneOf3) UnmarshalJSON ¶
func (o *EventActorOneOf3) UnmarshalJSON(data []byte) (err error)
type EventActorOneOf4 ¶
type EventActorOneOf4 struct {
Type string `json:"type"`
// `null` when the integration has been disconnected.
Id NullableString `json:"id"`
// Service the integration connects to.
Provider string `json:"provider"`
AdditionalProperties map[string]interface{}
}
EventActorOneOf4 struct for EventActorOneOf4
func NewEventActorOneOf4 ¶
func NewEventActorOneOf4(type_ string, id NullableString, provider string) *EventActorOneOf4
NewEventActorOneOf4 instantiates a new EventActorOneOf4 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 NewEventActorOneOf4WithDefaults ¶
func NewEventActorOneOf4WithDefaults() *EventActorOneOf4
NewEventActorOneOf4WithDefaults instantiates a new EventActorOneOf4 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 (*EventActorOneOf4) GetId ¶
func (o *EventActorOneOf4) GetId() string
GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned
func (*EventActorOneOf4) GetIdOk ¶
func (o *EventActorOneOf4) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id 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 (*EventActorOneOf4) GetProvider ¶
func (o *EventActorOneOf4) GetProvider() string
GetProvider returns the Provider field value
func (*EventActorOneOf4) GetProviderOk ¶
func (o *EventActorOneOf4) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*EventActorOneOf4) GetType ¶
func (o *EventActorOneOf4) GetType() string
GetType returns the Type field value
func (*EventActorOneOf4) GetTypeOk ¶
func (o *EventActorOneOf4) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (EventActorOneOf4) MarshalJSON ¶
func (o EventActorOneOf4) MarshalJSON() ([]byte, error)
func (*EventActorOneOf4) SetProvider ¶
func (o *EventActorOneOf4) SetProvider(v string)
SetProvider sets field value
func (*EventActorOneOf4) SetType ¶
func (o *EventActorOneOf4) SetType(v string)
SetType sets field value
func (EventActorOneOf4) ToMap ¶
func (o EventActorOneOf4) ToMap() (map[string]interface{}, error)
func (*EventActorOneOf4) UnmarshalJSON ¶
func (o *EventActorOneOf4) UnmarshalJSON(data []byte) (err error)
type EventList ¶
type EventList struct {
// Items of the page, in the requested order. Empty past the last page.
Data []Event `json:"data"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
EventList struct for EventList
func NewEventList ¶
func NewEventList(data []Event, pagination Pagination) *EventList
NewEventList instantiates a new EventList 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 NewEventListWithDefaults ¶
func NewEventListWithDefaults() *EventList
NewEventListWithDefaults instantiates a new EventList 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 (*EventList) GetDataOk ¶
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*EventList) GetPagination ¶
func (o *EventList) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*EventList) GetPaginationOk ¶
func (o *EventList) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (EventList) MarshalJSON ¶
func (*EventList) SetPagination ¶
func (o *EventList) SetPagination(v Pagination)
SetPagination sets field value
func (*EventList) UnmarshalJSON ¶
type EventMachine ¶
type EventMachine struct {
Id string `json:"id"`
Name NullableString `json:"name"`
Fingerprint string `json:"fingerprint"`
AdditionalProperties map[string]interface{}
}
EventMachine The machine the event is about, with its current name. `null` when the event has no machine or it has been deleted.
func NewEventMachine ¶
func NewEventMachine(id string, name NullableString, fingerprint string) *EventMachine
NewEventMachine instantiates a new EventMachine 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 NewEventMachineWithDefaults ¶
func NewEventMachineWithDefaults() *EventMachine
NewEventMachineWithDefaults instantiates a new EventMachine 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 (*EventMachine) GetFingerprint ¶
func (o *EventMachine) GetFingerprint() string
GetFingerprint returns the Fingerprint field value
func (*EventMachine) GetFingerprintOk ¶
func (o *EventMachine) GetFingerprintOk() (*string, bool)
GetFingerprintOk returns a tuple with the Fingerprint field value and a boolean to check if the value has been set.
func (*EventMachine) GetIdOk ¶
func (o *EventMachine) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*EventMachine) GetName ¶
func (o *EventMachine) GetName() string
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*EventMachine) GetNameOk ¶
func (o *EventMachine) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (EventMachine) MarshalJSON ¶
func (o EventMachine) MarshalJSON() ([]byte, error)
func (*EventMachine) SetFingerprint ¶
func (o *EventMachine) SetFingerprint(v string)
SetFingerprint sets field value
func (EventMachine) ToMap ¶
func (o EventMachine) ToMap() (map[string]interface{}, error)
func (*EventMachine) UnmarshalJSON ¶
func (o *EventMachine) UnmarshalJSON(data []byte) (err error)
type EventType ¶
type EventType string
EventType - `policy.created`: `payload` holds the policy's settings. - `policy.updated`: `payload.changes` maps each changed field to its previous (`from`) and new (`to`) value. Making a policy the default also updates the previous default one. - `license.created`: `payload` holds the license's key, `policyId`, `customerId` and settings. Not linked to the policy. - `license.updated`: `payload.changes`, like `policy.updated`. - `license.validated`: a machine validated the license key. `payload` holds the machine's `fingerprint`, `name` and `version`, and whether the validation created the machine (`machineCreated`) or activated it again (`machineActivated`). - `license.validation_failed`: validating the license key failed. `payload` holds the error `code` and `message`, and the `fingerprint`, `name`, `platform` and `version` sent, the name and platform being the machine's when none is sent. Linked to the machine when it exists. - `machine.deactivated`: a machine was deactivated, so it no longer counts as using the license. `payload` holds the machine's `fingerprint` and `name`. Linked to the license and the machine. An update that changes nothing records no event. Deletions record no events, and customers, products and releases have none.
const ( EVENTTYPE_POLICY_CREATED EventType = "policy.created" EVENTTYPE_POLICY_UPDATED EventType = "policy.updated" EVENTTYPE_LICENSE_CREATED EventType = "license.created" EVENTTYPE_LICENSE_UPDATED EventType = "license.updated" EVENTTYPE_LICENSE_VALIDATED EventType = "license.validated" EVENTTYPE_LICENSE_VALIDATION_FAILED EventType = "license.validation_failed" EVENTTYPE_MACHINE_DEACTIVATED EventType = "machine.deactivated" EVENTTYPE_UNKNOWN_DEFAULT_OPEN_API EventType = "unknown_default_open_api" )
List of EventType
func NewEventTypeFromValue ¶
NewEventTypeFromValue returns a pointer to a valid EventType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*EventType) UnmarshalJSON ¶
type EventsAPIService ¶
type EventsAPIService service
EventsAPIService EventsAPI service
func (*EventsAPIService) ListLicenseEvents ¶
func (a *EventsAPIService) ListLicenseEvents(ctx context.Context, id string) ApiListLicenseEventsRequest
ListLicenseEvents List the events of a license
Includes the validations of the license on each of its machines. Doesn't accept tokens: only API keys and sessions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiListLicenseEventsRequest
func (*EventsAPIService) ListLicenseEventsExecute ¶
func (a *EventsAPIService) ListLicenseEventsExecute(r ApiListLicenseEventsRequest) (*EventList, *http.Response, error)
Execute executes the request
@return EventList
func (*EventsAPIService) ListPolicyEvents ¶
func (a *EventsAPIService) ListPolicyEvents(ctx context.Context, id string) ApiListPolicyEventsRequest
ListPolicyEvents List the events of a policy
Doesn't accept tokens: only API keys and sessions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiListPolicyEventsRequest
func (*EventsAPIService) ListPolicyEventsExecute ¶
func (a *EventsAPIService) ListPolicyEventsExecute(r ApiListPolicyEventsRequest) (*EventList, *http.Response, error)
Execute executes the request
@return EventList
type FixedMaxVersion ¶
type FixedMaxVersion struct {
Type string `json:"type"`
// `\"2\"` allows every 2.y.z version: the minor versions and bug fixes of version 2. `\"2.3\"` allows every 2.3.z version: the bug fixes of version 2.3. Bug fixes can't be locked, so patch numbers like `\"2.3.1\"` are rejected.
Version string `json:"version" validate:"regexp=^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*))?$"`
AdditionalProperties map[string]interface{}
}
FixedMaxVersion The licenses can use up to `version`, whenever they're created.
func NewFixedMaxVersion ¶
func NewFixedMaxVersion(type_ string, version string) *FixedMaxVersion
NewFixedMaxVersion instantiates a new FixedMaxVersion 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 NewFixedMaxVersionWithDefaults ¶
func NewFixedMaxVersionWithDefaults() *FixedMaxVersion
NewFixedMaxVersionWithDefaults instantiates a new FixedMaxVersion 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 (*FixedMaxVersion) GetType ¶
func (o *FixedMaxVersion) GetType() string
GetType returns the Type field value
func (*FixedMaxVersion) GetTypeOk ¶
func (o *FixedMaxVersion) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*FixedMaxVersion) GetVersion ¶
func (o *FixedMaxVersion) GetVersion() string
GetVersion returns the Version field value
func (*FixedMaxVersion) GetVersionOk ¶
func (o *FixedMaxVersion) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (FixedMaxVersion) MarshalJSON ¶
func (o FixedMaxVersion) MarshalJSON() ([]byte, error)
func (*FixedMaxVersion) SetType ¶
func (o *FixedMaxVersion) SetType(v string)
SetType sets field value
func (*FixedMaxVersion) SetVersion ¶
func (o *FixedMaxVersion) SetVersion(v string)
SetVersion sets field value
func (FixedMaxVersion) ToMap ¶
func (o FixedMaxVersion) ToMap() (map[string]interface{}, error)
func (*FixedMaxVersion) UnmarshalJSON ¶
func (o *FixedMaxVersion) 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 Integration ¶
type Integration struct {
Id string `json:"id"`
Provider string `json:"provider"`
// Whether it's connected in live mode, for the live products, or in test mode, for the test products.
Livemode bool `json:"livemode"`
// Name of the Stripe account, `null` when the API key can't read it.
AccountName NullableString `json:"accountName"`
// Start and end of the API key, to recognize it.
ApiKeyHint string `json:"apiKeyHint"`
// URL of the webhook endpoint created on the Stripe account.
WebhookUrl string `json:"webhookUrl"`
Status IntegrationStatus `json:"status"`
// Why the integration isn't `active`, `null` when it is.
StatusReason NullableString `json:"statusReason"`
// Last time its health was checked, done every day.
LastCheckedAt NullableTime `json:"lastCheckedAt"`
// Last time it received an event from the provider.
LastEventAt NullableTime `json:"lastEventAt"`
CreatedAt time.Time `json:"createdAt"`
AdditionalProperties map[string]interface{}
}
Integration struct for Integration
func NewIntegration ¶
func NewIntegration(id string, provider string, livemode bool, accountName NullableString, apiKeyHint string, webhookUrl string, status IntegrationStatus, statusReason NullableString, lastCheckedAt NullableTime, lastEventAt NullableTime, createdAt time.Time) *Integration
NewIntegration instantiates a new Integration 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 NewIntegrationWithDefaults ¶
func NewIntegrationWithDefaults() *Integration
NewIntegrationWithDefaults instantiates a new Integration 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 (*Integration) GetAccountName ¶
func (o *Integration) GetAccountName() string
GetAccountName returns the AccountName field value If the value is explicit nil, the zero value for string will be returned
func (*Integration) GetAccountNameOk ¶
func (o *Integration) GetAccountNameOk() (*string, bool)
GetAccountNameOk returns a tuple with the AccountName 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 (*Integration) GetApiKeyHint ¶
func (o *Integration) GetApiKeyHint() string
GetApiKeyHint returns the ApiKeyHint field value
func (*Integration) GetApiKeyHintOk ¶
func (o *Integration) GetApiKeyHintOk() (*string, bool)
GetApiKeyHintOk returns a tuple with the ApiKeyHint field value and a boolean to check if the value has been set.
func (*Integration) GetCreatedAt ¶
func (o *Integration) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*Integration) GetCreatedAtOk ¶
func (o *Integration) 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 (*Integration) GetIdOk ¶
func (o *Integration) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Integration) GetLastCheckedAt ¶
func (o *Integration) GetLastCheckedAt() time.Time
GetLastCheckedAt returns the LastCheckedAt field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Integration) GetLastCheckedAtOk ¶
func (o *Integration) GetLastCheckedAtOk() (*time.Time, bool)
GetLastCheckedAtOk returns a tuple with the LastCheckedAt 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 (*Integration) GetLastEventAt ¶
func (o *Integration) GetLastEventAt() time.Time
GetLastEventAt returns the LastEventAt field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Integration) GetLastEventAtOk ¶
func (o *Integration) GetLastEventAtOk() (*time.Time, bool)
GetLastEventAtOk returns a tuple with the LastEventAt 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 (*Integration) GetLivemode ¶
func (o *Integration) GetLivemode() bool
GetLivemode returns the Livemode field value
func (*Integration) GetLivemodeOk ¶
func (o *Integration) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value and a boolean to check if the value has been set.
func (*Integration) GetProvider ¶
func (o *Integration) GetProvider() string
GetProvider returns the Provider field value
func (*Integration) GetProviderOk ¶
func (o *Integration) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*Integration) GetStatus ¶
func (o *Integration) GetStatus() IntegrationStatus
GetStatus returns the Status field value
func (*Integration) GetStatusOk ¶
func (o *Integration) GetStatusOk() (*IntegrationStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Integration) GetStatusReason ¶
func (o *Integration) GetStatusReason() string
GetStatusReason returns the StatusReason field value If the value is explicit nil, the zero value for string will be returned
func (*Integration) GetStatusReasonOk ¶
func (o *Integration) GetStatusReasonOk() (*string, bool)
GetStatusReasonOk returns a tuple with the StatusReason 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 (*Integration) GetWebhookUrl ¶
func (o *Integration) GetWebhookUrl() string
GetWebhookUrl returns the WebhookUrl field value
func (*Integration) GetWebhookUrlOk ¶
func (o *Integration) GetWebhookUrlOk() (*string, bool)
GetWebhookUrlOk returns a tuple with the WebhookUrl field value and a boolean to check if the value has been set.
func (Integration) MarshalJSON ¶
func (o Integration) MarshalJSON() ([]byte, error)
func (*Integration) SetAccountName ¶
func (o *Integration) SetAccountName(v string)
SetAccountName sets field value
func (*Integration) SetApiKeyHint ¶
func (o *Integration) SetApiKeyHint(v string)
SetApiKeyHint sets field value
func (*Integration) SetCreatedAt ¶
func (o *Integration) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*Integration) SetLastCheckedAt ¶
func (o *Integration) SetLastCheckedAt(v time.Time)
SetLastCheckedAt sets field value
func (*Integration) SetLastEventAt ¶
func (o *Integration) SetLastEventAt(v time.Time)
SetLastEventAt sets field value
func (*Integration) SetLivemode ¶
func (o *Integration) SetLivemode(v bool)
SetLivemode sets field value
func (*Integration) SetProvider ¶
func (o *Integration) SetProvider(v string)
SetProvider sets field value
func (*Integration) SetStatus ¶
func (o *Integration) SetStatus(v IntegrationStatus)
SetStatus sets field value
func (*Integration) SetStatusReason ¶
func (o *Integration) SetStatusReason(v string)
SetStatusReason sets field value
func (*Integration) SetWebhookUrl ¶
func (o *Integration) SetWebhookUrl(v string)
SetWebhookUrl sets field value
func (Integration) ToMap ¶
func (o Integration) ToMap() (map[string]interface{}, error)
func (*Integration) UnmarshalJSON ¶
func (o *Integration) UnmarshalJSON(data []byte) (err error)
type IntegrationMapping ¶
type IntegrationMapping struct {
Id string `json:"id"`
IntegrationId string `json:"integrationId"`
ProductId string `json:"productId"`
PolicyId string `json:"policyId"`
StripeProductId string `json:"stripeProductId"`
StripePriceId string `json:"stripePriceId"`
// Name of the Stripe product when it was mapped.
ProductName string `json:"productName"`
Price NullablePrice `json:"price"`
// `error` when the price can no longer be paid, explained by `statusReason`.
Status string `json:"status"`
StatusReason NullableString `json:"statusReason"`
CreatedAt time.Time `json:"createdAt"`
AdditionalProperties map[string]interface{}
}
IntegrationMapping struct for IntegrationMapping
func NewIntegrationMapping ¶
func NewIntegrationMapping(id string, integrationId string, productId string, policyId string, stripeProductId string, stripePriceId string, productName string, price NullablePrice, status string, statusReason NullableString, createdAt time.Time) *IntegrationMapping
NewIntegrationMapping instantiates a new IntegrationMapping 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 NewIntegrationMappingWithDefaults ¶
func NewIntegrationMappingWithDefaults() *IntegrationMapping
NewIntegrationMappingWithDefaults instantiates a new IntegrationMapping 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 (*IntegrationMapping) GetCreatedAt ¶
func (o *IntegrationMapping) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*IntegrationMapping) GetCreatedAtOk ¶
func (o *IntegrationMapping) 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 (*IntegrationMapping) GetId ¶
func (o *IntegrationMapping) GetId() string
GetId returns the Id field value
func (*IntegrationMapping) GetIdOk ¶
func (o *IntegrationMapping) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*IntegrationMapping) GetIntegrationId ¶
func (o *IntegrationMapping) GetIntegrationId() string
GetIntegrationId returns the IntegrationId field value
func (*IntegrationMapping) GetIntegrationIdOk ¶
func (o *IntegrationMapping) GetIntegrationIdOk() (*string, bool)
GetIntegrationIdOk returns a tuple with the IntegrationId field value and a boolean to check if the value has been set.
func (*IntegrationMapping) GetPolicyId ¶
func (o *IntegrationMapping) GetPolicyId() string
GetPolicyId returns the PolicyId field value
func (*IntegrationMapping) GetPolicyIdOk ¶
func (o *IntegrationMapping) GetPolicyIdOk() (*string, bool)
GetPolicyIdOk returns a tuple with the PolicyId field value and a boolean to check if the value has been set.
func (*IntegrationMapping) GetPrice ¶
func (o *IntegrationMapping) GetPrice() Price
GetPrice returns the Price field value If the value is explicit nil, the zero value for Price will be returned
func (*IntegrationMapping) GetPriceOk ¶
func (o *IntegrationMapping) GetPriceOk() (*Price, bool)
GetPriceOk returns a tuple with the Price 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 (*IntegrationMapping) GetProductId ¶
func (o *IntegrationMapping) GetProductId() string
GetProductId returns the ProductId field value
func (*IntegrationMapping) GetProductIdOk ¶
func (o *IntegrationMapping) GetProductIdOk() (*string, bool)
GetProductIdOk returns a tuple with the ProductId field value and a boolean to check if the value has been set.
func (*IntegrationMapping) GetProductName ¶
func (o *IntegrationMapping) GetProductName() string
GetProductName returns the ProductName field value
func (*IntegrationMapping) GetProductNameOk ¶
func (o *IntegrationMapping) GetProductNameOk() (*string, bool)
GetProductNameOk returns a tuple with the ProductName field value and a boolean to check if the value has been set.
func (*IntegrationMapping) GetStatus ¶
func (o *IntegrationMapping) GetStatus() string
GetStatus returns the Status field value
func (*IntegrationMapping) GetStatusOk ¶
func (o *IntegrationMapping) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*IntegrationMapping) GetStatusReason ¶
func (o *IntegrationMapping) GetStatusReason() string
GetStatusReason returns the StatusReason field value If the value is explicit nil, the zero value for string will be returned
func (*IntegrationMapping) GetStatusReasonOk ¶
func (o *IntegrationMapping) GetStatusReasonOk() (*string, bool)
GetStatusReasonOk returns a tuple with the StatusReason 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 (*IntegrationMapping) GetStripePriceId ¶
func (o *IntegrationMapping) GetStripePriceId() string
GetStripePriceId returns the StripePriceId field value
func (*IntegrationMapping) GetStripePriceIdOk ¶
func (o *IntegrationMapping) GetStripePriceIdOk() (*string, bool)
GetStripePriceIdOk returns a tuple with the StripePriceId field value and a boolean to check if the value has been set.
func (*IntegrationMapping) GetStripeProductId ¶
func (o *IntegrationMapping) GetStripeProductId() string
GetStripeProductId returns the StripeProductId field value
func (*IntegrationMapping) GetStripeProductIdOk ¶
func (o *IntegrationMapping) GetStripeProductIdOk() (*string, bool)
GetStripeProductIdOk returns a tuple with the StripeProductId field value and a boolean to check if the value has been set.
func (IntegrationMapping) MarshalJSON ¶
func (o IntegrationMapping) MarshalJSON() ([]byte, error)
func (*IntegrationMapping) SetCreatedAt ¶
func (o *IntegrationMapping) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*IntegrationMapping) SetId ¶
func (o *IntegrationMapping) SetId(v string)
SetId sets field value
func (*IntegrationMapping) SetIntegrationId ¶
func (o *IntegrationMapping) SetIntegrationId(v string)
SetIntegrationId sets field value
func (*IntegrationMapping) SetPolicyId ¶
func (o *IntegrationMapping) SetPolicyId(v string)
SetPolicyId sets field value
func (*IntegrationMapping) SetPrice ¶
func (o *IntegrationMapping) SetPrice(v Price)
SetPrice sets field value
func (*IntegrationMapping) SetProductId ¶
func (o *IntegrationMapping) SetProductId(v string)
SetProductId sets field value
func (*IntegrationMapping) SetProductName ¶
func (o *IntegrationMapping) SetProductName(v string)
SetProductName sets field value
func (*IntegrationMapping) SetStatus ¶
func (o *IntegrationMapping) SetStatus(v string)
SetStatus sets field value
func (*IntegrationMapping) SetStatusReason ¶
func (o *IntegrationMapping) SetStatusReason(v string)
SetStatusReason sets field value
func (*IntegrationMapping) SetStripePriceId ¶
func (o *IntegrationMapping) SetStripePriceId(v string)
SetStripePriceId sets field value
func (*IntegrationMapping) SetStripeProductId ¶
func (o *IntegrationMapping) SetStripeProductId(v string)
SetStripeProductId sets field value
func (IntegrationMapping) ToMap ¶
func (o IntegrationMapping) ToMap() (map[string]interface{}, error)
func (*IntegrationMapping) UnmarshalJSON ¶
func (o *IntegrationMapping) UnmarshalJSON(data []byte) (err error)
type IntegrationStatus ¶
type IntegrationStatus string
IntegrationStatus `active`: the integration works. `error`: something needs fixing, explained by `statusReason`, like a permission missing from the API key or a mapped price archived. `disconnected`: the API key no longer works, connect a new one.
const ( INTEGRATIONSTATUS_ACTIVE IntegrationStatus = "active" INTEGRATIONSTATUS_ERROR IntegrationStatus = "error" INTEGRATIONSTATUS_DISCONNECTED IntegrationStatus = "disconnected" INTEGRATIONSTATUS_UNKNOWN_DEFAULT_OPEN_API IntegrationStatus = "unknown_default_open_api" )
List of IntegrationStatus
func NewIntegrationStatusFromValue ¶
func NewIntegrationStatusFromValue(v string) (*IntegrationStatus, error)
NewIntegrationStatusFromValue returns a pointer to a valid IntegrationStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (IntegrationStatus) IsValid ¶
func (v IntegrationStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (IntegrationStatus) Ptr ¶
func (v IntegrationStatus) Ptr() *IntegrationStatus
Ptr returns reference to IntegrationStatus value
func (*IntegrationStatus) UnmarshalJSON ¶
func (v *IntegrationStatus) UnmarshalJSON(src []byte) error
type IntegrationsAPIService ¶
type IntegrationsAPIService service
IntegrationsAPIService IntegrationsAPI service
func (*IntegrationsAPIService) CheckIntegration ¶
func (a *IntegrationsAPIService) CheckIntegration(ctx context.Context, id string) ApiCheckIntegrationRequest
CheckIntegration Check an integration
Checks right away, as done every day, that the API key still works and can manage the webhook endpoint, which is pointed at the server's webhook URL again (or created again when it was deleted). Updates the status. Doesn't accept tokens: only API keys and sessions.
**Required role permission**: `integration:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiCheckIntegrationRequest
func (*IntegrationsAPIService) CheckIntegrationExecute ¶
func (a *IntegrationsAPIService) CheckIntegrationExecute(r ApiCheckIntegrationRequest) (*Integration, *http.Response, error)
Execute executes the request
@return Integration
func (*IntegrationsAPIService) ConnectStripe ¶
func (a *IntegrationsAPIService) ConnectStripe(ctx context.Context, productId string) ApiConnectStripeRequest
ConnectStripe Connect Stripe
Connects the Stripe account of the API key for the organization's products of the product's mode, or replaces the key of the existing connection. Checks the key works and has the required permissions, then creates a webhook endpoint on the account, telling the app about payments. Doesn't accept tokens: only API keys and sessions.
**Required role permission**: `integration:create` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiConnectStripeRequest
func (*IntegrationsAPIService) ConnectStripeExecute ¶
func (a *IntegrationsAPIService) ConnectStripeExecute(r ApiConnectStripeRequest) (*StripeIntegration, *http.Response, error)
Execute executes the request
@return StripeIntegration
func (*IntegrationsAPIService) CreateStripeMapping ¶
func (a *IntegrationsAPIService) CreateStripeMapping(ctx context.Context, productId string) ApiCreateStripeMappingRequest
CreateStripeMapping Map a Stripe price to a policy
Paying the price then creates licenses of the product with the policy: one per unit bought. Doesn't accept tokens: only API keys and sessions.
**Required role permission**: `integration:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiCreateStripeMappingRequest
func (*IntegrationsAPIService) CreateStripeMappingExecute ¶
func (a *IntegrationsAPIService) CreateStripeMappingExecute(r ApiCreateStripeMappingRequest) (*IntegrationMapping, *http.Response, error)
Execute executes the request
@return IntegrationMapping
func (*IntegrationsAPIService) DeleteStripeMapping ¶
func (a *IntegrationsAPIService) DeleteStripeMapping(ctx context.Context, id string) ApiDeleteStripeMappingRequest
DeleteStripeMapping Delete a mapping
Paying the price no longer creates licenses. The licenses it created stay. Doesn't accept tokens: only API keys and sessions.
**Required role permission**: `integration:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDeleteStripeMappingRequest
func (*IntegrationsAPIService) DeleteStripeMappingExecute ¶
func (a *IntegrationsAPIService) DeleteStripeMappingExecute(r ApiDeleteStripeMappingRequest) (*http.Response, error)
Execute executes the request
func (*IntegrationsAPIService) DisconnectIntegration ¶
func (a *IntegrationsAPIService) DisconnectIntegration(ctx context.Context, id string) ApiDisconnectIntegrationRequest
DisconnectIntegration Disconnect an integration
Deletes the webhook endpoint from the Stripe account first, then the integration with its mappings, for every product. The endpoint is skipped when it's already gone or the key no longer works; otherwise, when it can't be deleted, the integration is kept. The licenses it created stay. Revoke the API key in Stripe afterwards. Doesn't accept tokens: only API keys and sessions.
**Required role permission**: `integration:delete` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDisconnectIntegrationRequest
func (*IntegrationsAPIService) DisconnectIntegrationExecute ¶
func (a *IntegrationsAPIService) DisconnectIntegrationExecute(r ApiDisconnectIntegrationRequest) (*http.Response, error)
Execute executes the request
func (*IntegrationsAPIService) GetStripeIntegration ¶
func (a *IntegrationsAPIService) GetStripeIntegration(ctx context.Context, productId string) ApiGetStripeIntegrationRequest
GetStripeIntegration Get the Stripe integration of a product
The organization connects one Stripe account for its live products, and one in test mode for its test products. Its mappings tell which Stripe prices create licenses of the product. Doesn't accept tokens: only API keys and sessions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiGetStripeIntegrationRequest
func (*IntegrationsAPIService) GetStripeIntegrationExecute ¶
func (a *IntegrationsAPIService) GetStripeIntegrationExecute(r ApiGetStripeIntegrationRequest) (*StripeIntegration, *http.Response, error)
Execute executes the request
@return StripeIntegration
func (*IntegrationsAPIService) ListStripePrices ¶
func (a *IntegrationsAPIService) ListStripePrices(ctx context.Context, id string) ApiListStripePricesRequest
ListStripePrices List the Stripe prices of an integration
Active one-time prices of active products of the Stripe account, the ones that can be mapped, up to 500. Doesn't accept tokens: only API keys and sessions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiListStripePricesRequest
func (*IntegrationsAPIService) ListStripePricesExecute ¶
func (a *IntegrationsAPIService) ListStripePricesExecute(r ApiListStripePricesRequest) (*ListStripePrices200Response, *http.Response, error)
Execute executes the request
@return ListStripePrices200Response
func (*IntegrationsAPIService) UpdateStripeMapping ¶
func (a *IntegrationsAPIService) UpdateStripeMapping(ctx context.Context, id string) ApiUpdateStripeMappingRequest
UpdateStripeMapping Change the policy of a mapping
Only affects the licenses created afterwards. Doesn't accept tokens: only API keys and sessions.
**Required role permission**: `integration:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdateStripeMappingRequest
func (*IntegrationsAPIService) UpdateStripeMappingExecute ¶
func (a *IntegrationsAPIService) UpdateStripeMappingExecute(r ApiUpdateStripeMappingRequest) (*IntegrationMapping, *http.Response, error)
Execute executes the request
@return IntegrationMapping
type License ¶
type License struct {
Id string `json:"id"`
ProductId string `json:"productId"`
PolicyId string `json:"policyId"`
CustomerId string `json:"customerId"`
// Unique within the product. Case sensitive: `validateKey` compares keys exactly.
Key string `json:"key"`
CreatedAt time.Time `json:"createdAt"`
// `null` when the license never expires.
ExpiresAt NullableTime `json:"expiresAt"`
// Free-form JSON object.
Meta map[string]*interface{} `json:"meta"`
// Id of the Stripe payment intent that paid the license, when it was bought through the Stripe integration. `null` otherwise, or when nothing was paid.
StripePaymentIntentId NullableString `json:"stripePaymentIntentId"`
// Maximum number of active machines the license can be used on. `null` when there's no limit. Can be lower than `activeMachineCount` after it was lowered: machines aren't deactivated to match it.
MaxMachines NullableInt32 `json:"maxMachines"`
// Longest the applications can run offline with the license: the license tokens returned by `validateKey` expire this long after they're issued, unless the license expires sooner.
MaxOfflineDurationSeconds int32 `json:"maxOfflineDurationSeconds"`
// Number of active machines the license is used on.
ActiveMachineCount int32 `json:"activeMachineCount"`
// Last time a machine validated the license key. `null` when it was never validated.
LastActivatedAt NullableTime `json:"lastActivatedAt"`
MaxVersion LicenseMaxVersion `json:"maxVersion"`
Price NullablePrice `json:"price"`
Status LicenseStatus `json:"status"`
// Last time the license's settings were edited, not when its key was validated.
UpdatedAt time.Time `json:"updatedAt"`
AdditionalProperties map[string]interface{}
}
License struct for License
func NewLicense ¶
func NewLicense(id string, productId string, policyId string, customerId string, key string, createdAt time.Time, expiresAt NullableTime, meta map[string]*interface{}, stripePaymentIntentId NullableString, maxMachines NullableInt32, maxOfflineDurationSeconds int32, activeMachineCount int32, lastActivatedAt NullableTime, maxVersion LicenseMaxVersion, price NullablePrice, status LicenseStatus, updatedAt time.Time) *License
NewLicense instantiates a new License 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 NewLicenseWithDefaults ¶
func NewLicenseWithDefaults() *License
NewLicenseWithDefaults instantiates a new License 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 (*License) GetActiveMachineCount ¶
GetActiveMachineCount returns the ActiveMachineCount field value
func (*License) GetActiveMachineCountOk ¶
GetActiveMachineCountOk returns a tuple with the ActiveMachineCount field value and a boolean to check if the value has been set.
func (*License) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*License) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*License) GetCustomerId ¶
GetCustomerId returns the CustomerId field value
func (*License) GetCustomerIdOk ¶
GetCustomerIdOk returns a tuple with the CustomerId field value and a boolean to check if the value has been set.
func (*License) GetExpiresAt ¶
GetExpiresAt returns the ExpiresAt field value If the value is explicit nil, the zero value for time.Time will be returned
func (*License) GetExpiresAtOk ¶
GetExpiresAtOk returns a tuple with the ExpiresAt 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 (*License) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*License) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*License) GetLastActivatedAt ¶
GetLastActivatedAt returns the LastActivatedAt field value If the value is explicit nil, the zero value for time.Time will be returned
func (*License) GetLastActivatedAtOk ¶
GetLastActivatedAtOk returns a tuple with the LastActivatedAt 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 (*License) GetMaxMachines ¶
GetMaxMachines returns the MaxMachines field value If the value is explicit nil, the zero value for int32 will be returned
func (*License) GetMaxMachinesOk ¶
GetMaxMachinesOk returns a tuple with the MaxMachines 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 (*License) GetMaxOfflineDurationSeconds ¶
GetMaxOfflineDurationSeconds returns the MaxOfflineDurationSeconds field value
func (*License) GetMaxOfflineDurationSecondsOk ¶
GetMaxOfflineDurationSecondsOk returns a tuple with the MaxOfflineDurationSeconds field value and a boolean to check if the value has been set.
func (*License) GetMaxVersion ¶
func (o *License) GetMaxVersion() LicenseMaxVersion
GetMaxVersion returns the MaxVersion field value
func (*License) GetMaxVersionOk ¶
func (o *License) GetMaxVersionOk() (*LicenseMaxVersion, bool)
GetMaxVersionOk returns a tuple with the MaxVersion field value and a boolean to check if the value has been set.
func (*License) GetMeta ¶
GetMeta returns the Meta field value If the value is explicit nil, the zero value for map[string]*interface{} will be returned
func (*License) GetMetaOk ¶
GetMetaOk returns a tuple with the Meta 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 (*License) GetPolicyId ¶
GetPolicyId returns the PolicyId field value
func (*License) GetPolicyIdOk ¶
GetPolicyIdOk returns a tuple with the PolicyId field value and a boolean to check if the value has been set.
func (*License) GetPrice ¶
GetPrice returns the Price field value If the value is explicit nil, the zero value for Price will be returned
func (*License) GetPriceOk ¶
GetPriceOk returns a tuple with the Price 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 (*License) GetProductId ¶
GetProductId returns the ProductId field value
func (*License) GetProductIdOk ¶
GetProductIdOk returns a tuple with the ProductId field value and a boolean to check if the value has been set.
func (*License) GetStatus ¶
func (o *License) GetStatus() LicenseStatus
GetStatus returns the Status field value
func (*License) GetStatusOk ¶
func (o *License) GetStatusOk() (*LicenseStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*License) GetStripePaymentIntentId ¶
GetStripePaymentIntentId returns the StripePaymentIntentId field value If the value is explicit nil, the zero value for string will be returned
func (*License) GetStripePaymentIntentIdOk ¶
GetStripePaymentIntentIdOk returns a tuple with the StripePaymentIntentId 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 (*License) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*License) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (License) MarshalJSON ¶
func (*License) SetActiveMachineCount ¶
SetActiveMachineCount sets field value
func (*License) SetCreatedAt ¶
SetCreatedAt sets field value
func (*License) SetCustomerId ¶
SetCustomerId sets field value
func (*License) SetExpiresAt ¶
SetExpiresAt sets field value
func (*License) SetLastActivatedAt ¶
SetLastActivatedAt sets field value
func (*License) SetMaxMachines ¶
SetMaxMachines sets field value
func (*License) SetMaxOfflineDurationSeconds ¶
SetMaxOfflineDurationSeconds sets field value
func (*License) SetMaxVersion ¶
func (o *License) SetMaxVersion(v LicenseMaxVersion)
SetMaxVersion sets field value
func (*License) SetProductId ¶
SetProductId sets field value
func (*License) SetStripePaymentIntentId ¶
SetStripePaymentIntentId sets field value
func (*License) SetUpdatedAt ¶
SetUpdatedAt sets field value
func (*License) UnmarshalJSON ¶
type LicenseList ¶
type LicenseList struct {
// Items of the page, in the requested order. Empty past the last page.
Data []License `json:"data"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
LicenseList struct for LicenseList
func NewLicenseList ¶
func NewLicenseList(data []License, pagination Pagination) *LicenseList
NewLicenseList instantiates a new LicenseList 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 NewLicenseListWithDefaults ¶
func NewLicenseListWithDefaults() *LicenseList
NewLicenseListWithDefaults instantiates a new LicenseList 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 (*LicenseList) GetData ¶
func (o *LicenseList) GetData() []License
GetData returns the Data field value
func (*LicenseList) GetDataOk ¶
func (o *LicenseList) GetDataOk() ([]License, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*LicenseList) GetPagination ¶
func (o *LicenseList) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*LicenseList) GetPaginationOk ¶
func (o *LicenseList) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (LicenseList) MarshalJSON ¶
func (o LicenseList) MarshalJSON() ([]byte, error)
func (*LicenseList) SetPagination ¶
func (o *LicenseList) SetPagination(v Pagination)
SetPagination sets field value
func (LicenseList) ToMap ¶
func (o LicenseList) ToMap() (map[string]interface{}, error)
func (*LicenseList) UnmarshalJSON ¶
func (o *LicenseList) UnmarshalJSON(data []byte) (err error)
type LicenseMaxVersion ¶
type LicenseMaxVersion struct {
// Hard-coded latest version, taking precedence over `lockMajorAt` and `lockMinorAt`. `\"2\"` allows every 2.y.z version: its minor versions and bug fixes. `\"2.3\"` allows every 2.3.z version: its bug fixes. `null` when it's not hard-coded.
Version NullableString `json:"version" validate:"regexp=^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*))?$"`
// When the major version of the license locks: it then only gets the minor versions and bug fixes of the major version released by then. Once reached, within the hour, the major version of the latest stable release by then is hard-coded in `version`, unless a version already is, and the lock is cleared. A lock reached before any stable release is cleared without hard-coding anything. `null` when it's never locked.
LockMajorAt NullableTime `json:"lockMajorAt"`
// When the minor version of the license locks: it then only gets the bug fixes of the minor version released by then, within the hard-coded major version when there's one. Never before `lockMajorAt`; without it, the major version locks along with the minor version. Once reached, within the hour, the major and minor version of the latest stable release by then is hard-coded in `version`, unless a minor version already is, and the lock is cleared. A lock reached before any matching stable release is cleared without hard-coding anything. `null` when it's never locked.
LockMinorAt NullableTime `json:"lockMinorAt"`
AdditionalProperties map[string]interface{}
}
LicenseMaxVersion Latest version of the product the license can use: its hard-coded `version`, else the versions released before its locks. All `null` when it can use every version.
func NewLicenseMaxVersion ¶
func NewLicenseMaxVersion(version NullableString, lockMajorAt NullableTime, lockMinorAt NullableTime) *LicenseMaxVersion
NewLicenseMaxVersion instantiates a new LicenseMaxVersion 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 NewLicenseMaxVersionWithDefaults ¶
func NewLicenseMaxVersionWithDefaults() *LicenseMaxVersion
NewLicenseMaxVersionWithDefaults instantiates a new LicenseMaxVersion 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 (*LicenseMaxVersion) GetLockMajorAt ¶
func (o *LicenseMaxVersion) GetLockMajorAt() time.Time
GetLockMajorAt returns the LockMajorAt field value If the value is explicit nil, the zero value for time.Time will be returned
func (*LicenseMaxVersion) GetLockMajorAtOk ¶
func (o *LicenseMaxVersion) GetLockMajorAtOk() (*time.Time, bool)
GetLockMajorAtOk returns a tuple with the LockMajorAt 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 (*LicenseMaxVersion) GetLockMinorAt ¶
func (o *LicenseMaxVersion) GetLockMinorAt() time.Time
GetLockMinorAt returns the LockMinorAt field value If the value is explicit nil, the zero value for time.Time will be returned
func (*LicenseMaxVersion) GetLockMinorAtOk ¶
func (o *LicenseMaxVersion) GetLockMinorAtOk() (*time.Time, bool)
GetLockMinorAtOk returns a tuple with the LockMinorAt 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 (*LicenseMaxVersion) GetVersion ¶
func (o *LicenseMaxVersion) GetVersion() string
GetVersion returns the Version field value If the value is explicit nil, the zero value for string will be returned
func (*LicenseMaxVersion) GetVersionOk ¶
func (o *LicenseMaxVersion) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version 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 (LicenseMaxVersion) MarshalJSON ¶
func (o LicenseMaxVersion) MarshalJSON() ([]byte, error)
func (*LicenseMaxVersion) SetLockMajorAt ¶
func (o *LicenseMaxVersion) SetLockMajorAt(v time.Time)
SetLockMajorAt sets field value
func (*LicenseMaxVersion) SetLockMinorAt ¶
func (o *LicenseMaxVersion) SetLockMinorAt(v time.Time)
SetLockMinorAt sets field value
func (*LicenseMaxVersion) SetVersion ¶
func (o *LicenseMaxVersion) SetVersion(v string)
SetVersion sets field value
func (LicenseMaxVersion) ToMap ¶
func (o LicenseMaxVersion) ToMap() (map[string]interface{}, error)
func (*LicenseMaxVersion) UnmarshalJSON ¶
func (o *LicenseMaxVersion) UnmarshalJSON(data []byte) (err error)
type LicenseMaxVersionInput ¶
type LicenseMaxVersionInput struct {
// Hard-coded latest version, taking precedence over `lockMajorAt` and `lockMinorAt`. `\"2\"` allows every 2.y.z version: its minor versions and bug fixes. `\"2.3\"` allows every 2.3.z version: its bug fixes. `null` to not hard-code it.
Version NullableString `json:"version,omitempty" validate:"regexp=^(0|[1-9]\\d*)(\\.(0|[1-9]\\d*))?$"`
// When the major version of the license locks: it then only gets the minor versions and bug fixes of the major version released by then. Once reached, within the hour, the major version of the latest stable release by then is hard-coded in `version`, unless a version already is, and the lock is cleared. A lock reached before any stable release is cleared without hard-coding anything. `null` to never lock it.
LockMajorAt NullableTime `json:"lockMajorAt,omitempty"`
// When the minor version of the license locks: it then only gets the bug fixes of the minor version released by then, within the hard-coded major version when there's one. Never before `lockMajorAt`; without it, the major version locks along with the minor version. Once reached, within the hour, the major and minor version of the latest stable release by then is hard-coded in `version`, unless a minor version already is, and the lock is cleared. A lock reached before any matching stable release is cleared without hard-coding anything. `null` to never lock it.
LockMinorAt NullableTime `json:"lockMinorAt,omitempty"`
AdditionalProperties map[string]interface{}
}
LicenseMaxVersionInput Latest version of the product the license can use. Each value left out defaults to the policy's max version: `version` to its hard-coded version, else `null`, and `lockMajorAt` and `lockMinorAt` to the creation date plus its `majorAfter` and `minorAfter` when it locks, else `null`.
func NewLicenseMaxVersionInput ¶
func NewLicenseMaxVersionInput() *LicenseMaxVersionInput
NewLicenseMaxVersionInput instantiates a new LicenseMaxVersionInput 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 NewLicenseMaxVersionInputWithDefaults ¶
func NewLicenseMaxVersionInputWithDefaults() *LicenseMaxVersionInput
NewLicenseMaxVersionInputWithDefaults instantiates a new LicenseMaxVersionInput 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 (*LicenseMaxVersionInput) GetLockMajorAt ¶
func (o *LicenseMaxVersionInput) GetLockMajorAt() time.Time
GetLockMajorAt returns the LockMajorAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LicenseMaxVersionInput) GetLockMajorAtOk ¶
func (o *LicenseMaxVersionInput) GetLockMajorAtOk() (*time.Time, bool)
GetLockMajorAtOk returns a tuple with the LockMajorAt 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 (*LicenseMaxVersionInput) GetLockMinorAt ¶
func (o *LicenseMaxVersionInput) GetLockMinorAt() time.Time
GetLockMinorAt returns the LockMinorAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LicenseMaxVersionInput) GetLockMinorAtOk ¶
func (o *LicenseMaxVersionInput) GetLockMinorAtOk() (*time.Time, bool)
GetLockMinorAtOk returns a tuple with the LockMinorAt 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 (*LicenseMaxVersionInput) GetVersion ¶
func (o *LicenseMaxVersionInput) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LicenseMaxVersionInput) GetVersionOk ¶
func (o *LicenseMaxVersionInput) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version 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 (*LicenseMaxVersionInput) HasLockMajorAt ¶
func (o *LicenseMaxVersionInput) HasLockMajorAt() bool
HasLockMajorAt returns a boolean if a field has been set.
func (*LicenseMaxVersionInput) HasLockMinorAt ¶
func (o *LicenseMaxVersionInput) HasLockMinorAt() bool
HasLockMinorAt returns a boolean if a field has been set.
func (*LicenseMaxVersionInput) HasVersion ¶
func (o *LicenseMaxVersionInput) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (LicenseMaxVersionInput) MarshalJSON ¶
func (o LicenseMaxVersionInput) MarshalJSON() ([]byte, error)
func (*LicenseMaxVersionInput) SetLockMajorAt ¶
func (o *LicenseMaxVersionInput) SetLockMajorAt(v time.Time)
SetLockMajorAt gets a reference to the given NullableTime and assigns it to the LockMajorAt field.
func (*LicenseMaxVersionInput) SetLockMajorAtNil ¶
func (o *LicenseMaxVersionInput) SetLockMajorAtNil()
SetLockMajorAtNil sets the value for LockMajorAt to be an explicit nil
func (*LicenseMaxVersionInput) SetLockMinorAt ¶
func (o *LicenseMaxVersionInput) SetLockMinorAt(v time.Time)
SetLockMinorAt gets a reference to the given NullableTime and assigns it to the LockMinorAt field.
func (*LicenseMaxVersionInput) SetLockMinorAtNil ¶
func (o *LicenseMaxVersionInput) SetLockMinorAtNil()
SetLockMinorAtNil sets the value for LockMinorAt to be an explicit nil
func (*LicenseMaxVersionInput) SetVersion ¶
func (o *LicenseMaxVersionInput) SetVersion(v string)
SetVersion gets a reference to the given NullableString and assigns it to the Version field.
func (*LicenseMaxVersionInput) SetVersionNil ¶
func (o *LicenseMaxVersionInput) SetVersionNil()
SetVersionNil sets the value for Version to be an explicit nil
func (LicenseMaxVersionInput) ToMap ¶
func (o LicenseMaxVersionInput) ToMap() (map[string]interface{}, error)
func (*LicenseMaxVersionInput) UnmarshalJSON ¶
func (o *LicenseMaxVersionInput) UnmarshalJSON(data []byte) (err error)
func (*LicenseMaxVersionInput) UnsetLockMajorAt ¶
func (o *LicenseMaxVersionInput) UnsetLockMajorAt()
UnsetLockMajorAt ensures that no value is present for LockMajorAt, not even an explicit nil
func (*LicenseMaxVersionInput) UnsetLockMinorAt ¶
func (o *LicenseMaxVersionInput) UnsetLockMinorAt()
UnsetLockMinorAt ensures that no value is present for LockMinorAt, not even an explicit nil
func (*LicenseMaxVersionInput) UnsetVersion ¶
func (o *LicenseMaxVersionInput) UnsetVersion()
UnsetVersion ensures that no value is present for Version, not even an explicit nil
type LicenseStats ¶
type LicenseStats struct {
// First day covered, in UTC.
From string `json:"from"`
// Last day covered, in UTC: today.
To string `json:"to"`
// The 90 days covered, from the oldest one, in UTC.
Days []string `json:"days"`
// Machines that activated the license in the period, from the one with the most activations.
ActivationsByMachine []LicenseStatsActivationsByMachineInner `json:"activationsByMachine"`
// Versions of the application that activated the license in the period, from the most recent one.
ActivationsByVersion []LicenseStatsActivationsByVersionInner `json:"activationsByVersion"`
AdditionalProperties map[string]interface{}
}
LicenseStats struct for LicenseStats
func NewLicenseStats ¶
func NewLicenseStats(from string, to string, days []string, activationsByMachine []LicenseStatsActivationsByMachineInner, activationsByVersion []LicenseStatsActivationsByVersionInner) *LicenseStats
NewLicenseStats instantiates a new LicenseStats 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 NewLicenseStatsWithDefaults ¶
func NewLicenseStatsWithDefaults() *LicenseStats
NewLicenseStatsWithDefaults instantiates a new LicenseStats 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 (*LicenseStats) GetActivationsByMachine ¶
func (o *LicenseStats) GetActivationsByMachine() []LicenseStatsActivationsByMachineInner
GetActivationsByMachine returns the ActivationsByMachine field value
func (*LicenseStats) GetActivationsByMachineOk ¶
func (o *LicenseStats) GetActivationsByMachineOk() ([]LicenseStatsActivationsByMachineInner, bool)
GetActivationsByMachineOk returns a tuple with the ActivationsByMachine field value and a boolean to check if the value has been set.
func (*LicenseStats) GetActivationsByVersion ¶
func (o *LicenseStats) GetActivationsByVersion() []LicenseStatsActivationsByVersionInner
GetActivationsByVersion returns the ActivationsByVersion field value
func (*LicenseStats) GetActivationsByVersionOk ¶
func (o *LicenseStats) GetActivationsByVersionOk() ([]LicenseStatsActivationsByVersionInner, bool)
GetActivationsByVersionOk returns a tuple with the ActivationsByVersion field value and a boolean to check if the value has been set.
func (*LicenseStats) GetDays ¶
func (o *LicenseStats) GetDays() []string
GetDays returns the Days field value
func (*LicenseStats) GetDaysOk ¶
func (o *LicenseStats) GetDaysOk() ([]string, bool)
GetDaysOk returns a tuple with the Days field value and a boolean to check if the value has been set.
func (*LicenseStats) GetFrom ¶
func (o *LicenseStats) GetFrom() string
GetFrom returns the From field value
func (*LicenseStats) GetFromOk ¶
func (o *LicenseStats) GetFromOk() (*string, bool)
GetFromOk returns a tuple with the From field value and a boolean to check if the value has been set.
func (*LicenseStats) GetToOk ¶
func (o *LicenseStats) GetToOk() (*string, bool)
GetToOk returns a tuple with the To field value and a boolean to check if the value has been set.
func (LicenseStats) MarshalJSON ¶
func (o LicenseStats) MarshalJSON() ([]byte, error)
func (*LicenseStats) SetActivationsByMachine ¶
func (o *LicenseStats) SetActivationsByMachine(v []LicenseStatsActivationsByMachineInner)
SetActivationsByMachine sets field value
func (*LicenseStats) SetActivationsByVersion ¶
func (o *LicenseStats) SetActivationsByVersion(v []LicenseStatsActivationsByVersionInner)
SetActivationsByVersion sets field value
func (LicenseStats) ToMap ¶
func (o LicenseStats) ToMap() (map[string]interface{}, error)
func (*LicenseStats) UnmarshalJSON ¶
func (o *LicenseStats) UnmarshalJSON(data []byte) (err error)
type LicenseStatsActivationsByMachineInner ¶
type LicenseStatsActivationsByMachineInner struct {
MachineId string `json:"machineId"`
Name NullableString `json:"name"`
Fingerprint string `json:"fingerprint"`
// Number of successful activations each day, aligned on `days`.
Counts []int32 `json:"counts"`
AdditionalProperties map[string]interface{}
}
LicenseStatsActivationsByMachineInner struct for LicenseStatsActivationsByMachineInner
func NewLicenseStatsActivationsByMachineInner ¶
func NewLicenseStatsActivationsByMachineInner(machineId string, name NullableString, fingerprint string, counts []int32) *LicenseStatsActivationsByMachineInner
NewLicenseStatsActivationsByMachineInner instantiates a new LicenseStatsActivationsByMachineInner 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 NewLicenseStatsActivationsByMachineInnerWithDefaults ¶
func NewLicenseStatsActivationsByMachineInnerWithDefaults() *LicenseStatsActivationsByMachineInner
NewLicenseStatsActivationsByMachineInnerWithDefaults instantiates a new LicenseStatsActivationsByMachineInner 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 (*LicenseStatsActivationsByMachineInner) GetCounts ¶
func (o *LicenseStatsActivationsByMachineInner) GetCounts() []int32
GetCounts returns the Counts field value
func (*LicenseStatsActivationsByMachineInner) GetCountsOk ¶
func (o *LicenseStatsActivationsByMachineInner) GetCountsOk() ([]int32, bool)
GetCountsOk returns a tuple with the Counts field value and a boolean to check if the value has been set.
func (*LicenseStatsActivationsByMachineInner) GetFingerprint ¶
func (o *LicenseStatsActivationsByMachineInner) GetFingerprint() string
GetFingerprint returns the Fingerprint field value
func (*LicenseStatsActivationsByMachineInner) GetFingerprintOk ¶
func (o *LicenseStatsActivationsByMachineInner) GetFingerprintOk() (*string, bool)
GetFingerprintOk returns a tuple with the Fingerprint field value and a boolean to check if the value has been set.
func (*LicenseStatsActivationsByMachineInner) GetMachineId ¶
func (o *LicenseStatsActivationsByMachineInner) GetMachineId() string
GetMachineId returns the MachineId field value
func (*LicenseStatsActivationsByMachineInner) GetMachineIdOk ¶
func (o *LicenseStatsActivationsByMachineInner) GetMachineIdOk() (*string, bool)
GetMachineIdOk returns a tuple with the MachineId field value and a boolean to check if the value has been set.
func (*LicenseStatsActivationsByMachineInner) GetName ¶
func (o *LicenseStatsActivationsByMachineInner) GetName() string
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*LicenseStatsActivationsByMachineInner) GetNameOk ¶
func (o *LicenseStatsActivationsByMachineInner) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (LicenseStatsActivationsByMachineInner) MarshalJSON ¶
func (o LicenseStatsActivationsByMachineInner) MarshalJSON() ([]byte, error)
func (*LicenseStatsActivationsByMachineInner) SetCounts ¶
func (o *LicenseStatsActivationsByMachineInner) SetCounts(v []int32)
SetCounts sets field value
func (*LicenseStatsActivationsByMachineInner) SetFingerprint ¶
func (o *LicenseStatsActivationsByMachineInner) SetFingerprint(v string)
SetFingerprint sets field value
func (*LicenseStatsActivationsByMachineInner) SetMachineId ¶
func (o *LicenseStatsActivationsByMachineInner) SetMachineId(v string)
SetMachineId sets field value
func (*LicenseStatsActivationsByMachineInner) SetName ¶
func (o *LicenseStatsActivationsByMachineInner) SetName(v string)
SetName sets field value
func (LicenseStatsActivationsByMachineInner) ToMap ¶
func (o LicenseStatsActivationsByMachineInner) ToMap() (map[string]interface{}, error)
func (*LicenseStatsActivationsByMachineInner) UnmarshalJSON ¶
func (o *LicenseStatsActivationsByMachineInner) UnmarshalJSON(data []byte) (err error)
type LicenseStatsActivationsByVersionInner ¶
type LicenseStatsActivationsByVersionInner struct {
Version string `json:"version"`
// Number of successful activations each day, aligned on `days`.
Counts []int32 `json:"counts"`
AdditionalProperties map[string]interface{}
}
LicenseStatsActivationsByVersionInner struct for LicenseStatsActivationsByVersionInner
func NewLicenseStatsActivationsByVersionInner ¶
func NewLicenseStatsActivationsByVersionInner(version string, counts []int32) *LicenseStatsActivationsByVersionInner
NewLicenseStatsActivationsByVersionInner instantiates a new LicenseStatsActivationsByVersionInner 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 NewLicenseStatsActivationsByVersionInnerWithDefaults ¶
func NewLicenseStatsActivationsByVersionInnerWithDefaults() *LicenseStatsActivationsByVersionInner
NewLicenseStatsActivationsByVersionInnerWithDefaults instantiates a new LicenseStatsActivationsByVersionInner 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 (*LicenseStatsActivationsByVersionInner) GetCounts ¶
func (o *LicenseStatsActivationsByVersionInner) GetCounts() []int32
GetCounts returns the Counts field value
func (*LicenseStatsActivationsByVersionInner) GetCountsOk ¶
func (o *LicenseStatsActivationsByVersionInner) GetCountsOk() ([]int32, bool)
GetCountsOk returns a tuple with the Counts field value and a boolean to check if the value has been set.
func (*LicenseStatsActivationsByVersionInner) GetVersion ¶
func (o *LicenseStatsActivationsByVersionInner) GetVersion() string
GetVersion returns the Version field value
func (*LicenseStatsActivationsByVersionInner) GetVersionOk ¶
func (o *LicenseStatsActivationsByVersionInner) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (LicenseStatsActivationsByVersionInner) MarshalJSON ¶
func (o LicenseStatsActivationsByVersionInner) MarshalJSON() ([]byte, error)
func (*LicenseStatsActivationsByVersionInner) SetCounts ¶
func (o *LicenseStatsActivationsByVersionInner) SetCounts(v []int32)
SetCounts sets field value
func (*LicenseStatsActivationsByVersionInner) SetVersion ¶
func (o *LicenseStatsActivationsByVersionInner) SetVersion(v string)
SetVersion sets field value
func (LicenseStatsActivationsByVersionInner) ToMap ¶
func (o LicenseStatsActivationsByVersionInner) ToMap() (map[string]interface{}, error)
func (*LicenseStatsActivationsByVersionInner) UnmarshalJSON ¶
func (o *LicenseStatsActivationsByVersionInner) UnmarshalJSON(data []byte) (err error)
type LicenseStatus ¶
type LicenseStatus string
LicenseStatus `expired` when the license has expired, `active` when a machine validated its key in the last 90 days, `inactive` otherwise.
const ( LICENSESTATUS_ACTIVE LicenseStatus = "active" LICENSESTATUS_INACTIVE LicenseStatus = "inactive" LICENSESTATUS_EXPIRED LicenseStatus = "expired" LICENSESTATUS_UNKNOWN_DEFAULT_OPEN_API LicenseStatus = "unknown_default_open_api" )
List of LicenseStatus
func NewLicenseStatusFromValue ¶
func NewLicenseStatusFromValue(v string) (*LicenseStatus, error)
NewLicenseStatusFromValue returns a pointer to a valid LicenseStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (LicenseStatus) IsValid ¶
func (v LicenseStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (LicenseStatus) Ptr ¶
func (v LicenseStatus) Ptr() *LicenseStatus
Ptr returns reference to LicenseStatus value
func (*LicenseStatus) UnmarshalJSON ¶
func (v *LicenseStatus) UnmarshalJSON(src []byte) error
type LicenseToken ¶
type LicenseToken struct {
// JWT signed with the Ed25519 key of the product's organization (`alg: EdDSA`, `kid`: id of the key). Its claims: - `iss`: name of the organization. It changes when the organization is renamed: check `aud` rather than `iss`. - `aud`: id of the product. Test and live products share the organization's key, so check `aud` to refuse the tokens of a test product. - `sub`: license key. - `fp`: fingerprint of the machine. - `mv`: the license's `maxVersion.version`, like `\"2.3\"`, so the application can check the versions it updates to offline. `null` when it allows every version. - `iat`: when the token was issued. - `nbf`: two hours before `iat`, so machines whose clock is behind accept the token. - `exp`: the license's `maxOfflineDurationSeconds` after `iat`, or when the license expires if that's sooner.
License string `json:"license"`
AdditionalProperties map[string]interface{}
}
LicenseToken struct for LicenseToken
func NewLicenseToken ¶
func NewLicenseToken(license string) *LicenseToken
NewLicenseToken instantiates a new LicenseToken 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 NewLicenseTokenWithDefaults ¶
func NewLicenseTokenWithDefaults() *LicenseToken
NewLicenseTokenWithDefaults instantiates a new LicenseToken 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 (*LicenseToken) GetLicense ¶
func (o *LicenseToken) GetLicense() string
GetLicense returns the License field value
func (*LicenseToken) GetLicenseOk ¶
func (o *LicenseToken) GetLicenseOk() (*string, bool)
GetLicenseOk returns a tuple with the License field value and a boolean to check if the value has been set.
func (LicenseToken) MarshalJSON ¶
func (o LicenseToken) MarshalJSON() ([]byte, error)
func (*LicenseToken) SetLicense ¶
func (o *LicenseToken) SetLicense(v string)
SetLicense sets field value
func (LicenseToken) ToMap ¶
func (o LicenseToken) ToMap() (map[string]interface{}, error)
func (*LicenseToken) UnmarshalJSON ¶
func (o *LicenseToken) UnmarshalJSON(data []byte) (err error)
type LicensesAPIService ¶
type LicensesAPIService service
LicensesAPIService LicensesAPI service
func (*LicensesAPIService) CreateLicense ¶
func (a *LicensesAPIService) CreateLicense(ctx context.Context, productId string) ApiCreateLicenseRequest
CreateLicense Create a license
Without a `key`, the license gets a random one, like `7KQ2M-X9ZPA-H4TRC-WN6EY-B3JDF`: 5 groups of 5 characters separated by dashes, each character an upper case letter or a digit other than `O`, `0`, `I` and `1`. That's 32 possible characters encoding 5 bits each, for 125 random bits.
Without a `policyId`, the license follows the product's default policy.
Without an `expiresAt`, the license expires after the duration of its policy, or never when the policy has none. `expiresAt: null` makes it never expire.
Without a `price`, the price paid for the license is unknown: it's left out of the revenue stats.
The values of `maxVersion` left out are taken from the max version of the policy: its hard-coded version, or the times after the creation of the license its versions lock.
The license belongs to the product's customer with the given `email`, which is created when there's none.
With `sendKey: true`, the key is emailed to the customer once the license is created.
The license copies the settings of its policy when it's created: later changes to the policy don't affect it. Its key, policy and customer can't be changed afterwards.
**Required role permission**: `license:create` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiCreateLicenseRequest
func (*LicensesAPIService) CreateLicenseExecute ¶
func (a *LicensesAPIService) CreateLicenseExecute(r ApiCreateLicenseRequest) (*License, *http.Response, error)
Execute executes the request
@return License
func (*LicensesAPIService) DeleteLicense ¶
func (a *LicensesAPIService) DeleteLicense(ctx context.Context, id string) ApiDeleteLicenseRequest
DeleteLicense Delete a license
Deletes the license along with its deactivated machines. A license used on active machines can't be deleted: deactivate them first. The tokens scoped to the license or its machines stop working, but the license tokens `validateKey` already returned stay valid until they expire. Its events can no longer be listed.
**Required role permission**: `license:delete` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDeleteLicenseRequest
func (*LicensesAPIService) DeleteLicenseExecute ¶
func (a *LicensesAPIService) DeleteLicenseExecute(r ApiDeleteLicenseRequest) (*http.Response, error)
Execute executes the request
func (*LicensesAPIService) GetLicense ¶
func (a *LicensesAPIService) GetLicense(ctx context.Context, id string) ApiGetLicenseRequest
GetLicense Get a license
**Token access**: customer, license, machine tokens with the `license:read` permission (or the matching write one). A token reaches the license it's scoped to, the licenses of its customer, or the license of its machine.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetLicenseRequest
func (*LicensesAPIService) GetLicenseExecute ¶
func (a *LicensesAPIService) GetLicenseExecute(r ApiGetLicenseRequest) (*License, *http.Response, error)
Execute executes the request
@return License
func (*LicensesAPIService) GetLicenseStats ¶
func (a *LicensesAPIService) GetLicenseStats(ctx context.Context, id string) ApiGetLicenseStatsRequest
GetLicenseStats Get the stats of a license
Daily number of successful activations of the license over the last 90 days, today included, per machine and per version of the application. Days are in UTC.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetLicenseStatsRequest
func (*LicensesAPIService) GetLicenseStatsExecute ¶
func (a *LicensesAPIService) GetLicenseStatsExecute(r ApiGetLicenseStatsRequest) (*LicenseStats, *http.Response, error)
Execute executes the request
@return LicenseStats
func (*LicensesAPIService) GetSigningKey ¶
func (a *LicensesAPIService) GetSigningKey(ctx context.Context) ApiGetSigningKeyRequest
GetSigningKey Get the organization's signing key
Public key verifying the license tokens returned by `validateKey`, to embed in applications. Created the first time it's needed, and never rotated. The organization has a single key, signing the tokens of its live and test products alike: check the tokens' `aud` to tell them apart.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetSigningKeyRequest
func (*LicensesAPIService) GetSigningKeyExecute ¶
func (a *LicensesAPIService) GetSigningKeyExecute(r ApiGetSigningKeyRequest) (*SigningKey, *http.Response, error)
Execute executes the request
@return SigningKey
func (*LicensesAPIService) ListCustomerLicenses ¶
func (a *LicensesAPIService) ListCustomerLicenses(ctx context.Context, customerId string) ApiListCustomerLicensesRequest
ListCustomerLicenses List the licenses of a customer
Sorting by `lastActivatedAt` puts the licenses never activated last in both orders. Sorting by `price` compares the amounts whatever their currency, and puts the licenses without a price last in both orders.
**Token access**: customer tokens with the `license:read` permission (or the matching write one). A customer token reaches its own licenses.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param customerId @return ApiListCustomerLicensesRequest
func (*LicensesAPIService) ListCustomerLicensesExecute ¶
func (a *LicensesAPIService) ListCustomerLicensesExecute(r ApiListCustomerLicensesRequest) (*LicenseList, *http.Response, error)
Execute executes the request
@return LicenseList
func (*LicensesAPIService) ListLicenses ¶
func (a *LicensesAPIService) ListLicenses(ctx context.Context, productId string) ApiListLicensesRequest
ListLicenses List the licenses of a product
Sorting by `lastActivatedAt` puts the licenses never activated last in both orders. Sorting by `price` compares the amounts whatever their currency, and puts the licenses without a price last in both orders.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiListLicensesRequest
func (*LicensesAPIService) ListLicensesExecute ¶
func (a *LicensesAPIService) ListLicensesExecute(r ApiListLicensesRequest) (*LicenseList, *http.Response, error)
Execute executes the request
@return LicenseList
func (*LicensesAPIService) SendLicenseKeys ¶
func (a *LicensesAPIService) SendLicenseKeys(ctx context.Context) ApiSendLicenseKeysRequest
SendLicenseKeys Email license keys to their customers
Emails each customer the keys of its licenses among `ids`, with their expiration date: one email per customer, whatever their number of licenses. The licenses can belong to different products of the organization.
Test products only email the members of the organization, so testing never emails real customers: nothing is sent when a license of a test product belongs to a customer whose email isn't a member's.
**Required role permission**: `license:send` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSendLicenseKeysRequest
func (*LicensesAPIService) SendLicenseKeysExecute ¶
func (a *LicensesAPIService) SendLicenseKeysExecute(r ApiSendLicenseKeysRequest) (*http.Response, error)
Execute executes the request
func (*LicensesAPIService) UpdateLicense ¶
func (a *LicensesAPIService) UpdateLicense(ctx context.Context, id string) ApiUpdateLicenseRequest
UpdateLicense Update a license
The key, policy and customer of a license can't be changed: sending them does nothing.
The changes apply to the next validations of the key, not to the license tokens `validateKey` already returned, which stay valid until they expire. Lowering `maxMachines` doesn't deactivate machines: the ones already active keep validating, and new ones are refused until enough are deactivated.
**Required role permission**: `license:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdateLicenseRequest
func (*LicensesAPIService) UpdateLicenseExecute ¶
func (a *LicensesAPIService) UpdateLicenseExecute(r ApiUpdateLicenseRequest) (*License, *http.Response, error)
Execute executes the request
@return License
func (*LicensesAPIService) ValidateKey ¶
func (a *LicensesAPIService) ValidateKey(ctx context.Context, productId string) ApiValidateKeyRequest
ValidateKey Validate a license key
Checks the license key of the product on a machine and returns a token the application can verify offline with the organization's public key. Doesn't need authentication.
The license must allow the `version`: up to its `maxVersion.version` when it has one, like `"2.3"` for every 2.3.z version and older. Its `maxVersion.lockMajorAt` and `maxVersion.lockMinorAt` are enforced once they hard-code `maxVersion.version`, within the hour they're reached. When it doesn't, the error's `latestAllowedVersion` is the latest release of the product the license allows, so the application can offer to install it.
The machine with the `fingerprint` is created when the license has none, and activated when it's deactivated, unless the license is already active on its maximum number of machines. A machine that's already active is never refused for the maximum number of machines, even when it was lowered below the number of active machines. Its `version`, and its `name` and `platform` when given, are updated: they can't be cleared.
The checks run in this order, and the first one failing answers: the license has expired, then it doesn't allow the version, then it's on its maximum number of machines. Each failure is recorded as a `license.validation_failed` event, except for keys that don't exist.
Changes to the license, like deactivating the machine or shortening its expiration, don't revoke the tokens already returned: the application only sees them when it validates its key again, at the latest when its token expires.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiValidateKeyRequest
func (*LicensesAPIService) ValidateKeyExecute ¶
func (a *LicensesAPIService) ValidateKeyExecute(r ApiValidateKeyRequest) (*LicenseToken, *http.Response, error)
Execute executes the request
@return LicenseToken
type ListPolicyEventsTypeParameter ¶
ListPolicyEventsTypeParameter Only returns the events of this type. Repeat it to return the events of any of these types.
func (ListPolicyEventsTypeParameter) MarshalJSON ¶
func (src ListPolicyEventsTypeParameter) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ListPolicyEventsTypeParameter) UnmarshalJSON ¶
func (dst *ListPolicyEventsTypeParameter) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type ListStripePrices200Response ¶
type ListStripePrices200Response struct {
Data []StripePrice `json:"data"`
AdditionalProperties map[string]interface{}
}
ListStripePrices200Response struct for ListStripePrices200Response
func NewListStripePrices200Response ¶
func NewListStripePrices200Response(data []StripePrice) *ListStripePrices200Response
NewListStripePrices200Response instantiates a new ListStripePrices200Response 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 NewListStripePrices200ResponseWithDefaults ¶
func NewListStripePrices200ResponseWithDefaults() *ListStripePrices200Response
NewListStripePrices200ResponseWithDefaults instantiates a new ListStripePrices200Response 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 (*ListStripePrices200Response) GetData ¶
func (o *ListStripePrices200Response) GetData() []StripePrice
GetData returns the Data field value
func (*ListStripePrices200Response) GetDataOk ¶
func (o *ListStripePrices200Response) GetDataOk() ([]StripePrice, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (ListStripePrices200Response) MarshalJSON ¶
func (o ListStripePrices200Response) MarshalJSON() ([]byte, error)
func (*ListStripePrices200Response) SetData ¶
func (o *ListStripePrices200Response) SetData(v []StripePrice)
SetData sets field value
func (ListStripePrices200Response) ToMap ¶
func (o ListStripePrices200Response) ToMap() (map[string]interface{}, error)
func (*ListStripePrices200Response) UnmarshalJSON ¶
func (o *ListStripePrices200Response) UnmarshalJSON(data []byte) (err error)
type LockMaxVersion ¶
type LockMaxVersion struct {
Type string `json:"type"`
MajorAfter LockMaxVersionMajorAfter `json:"majorAfter"`
MinorAfter NullableLockMaxVersionMinorAfter `json:"minorAfter"`
AdditionalProperties map[string]interface{}
}
LockMaxVersion The licenses can use every version released after their creation, until their major version locks `majorAfter` it, then the updates of their major version until their minor version locks `minorAfter` it, if ever. Bug fixes are never locked.
func NewLockMaxVersion ¶
func NewLockMaxVersion(type_ string, majorAfter LockMaxVersionMajorAfter, minorAfter NullableLockMaxVersionMinorAfter) *LockMaxVersion
NewLockMaxVersion instantiates a new LockMaxVersion 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 NewLockMaxVersionWithDefaults ¶
func NewLockMaxVersionWithDefaults() *LockMaxVersion
NewLockMaxVersionWithDefaults instantiates a new LockMaxVersion 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 (*LockMaxVersion) GetMajorAfter ¶
func (o *LockMaxVersion) GetMajorAfter() LockMaxVersionMajorAfter
GetMajorAfter returns the MajorAfter field value
func (*LockMaxVersion) GetMajorAfterOk ¶
func (o *LockMaxVersion) GetMajorAfterOk() (*LockMaxVersionMajorAfter, bool)
GetMajorAfterOk returns a tuple with the MajorAfter field value and a boolean to check if the value has been set.
func (*LockMaxVersion) GetMinorAfter ¶
func (o *LockMaxVersion) GetMinorAfter() LockMaxVersionMinorAfter
GetMinorAfter returns the MinorAfter field value If the value is explicit nil, the zero value for LockMaxVersionMinorAfter will be returned
func (*LockMaxVersion) GetMinorAfterOk ¶
func (o *LockMaxVersion) GetMinorAfterOk() (*LockMaxVersionMinorAfter, bool)
GetMinorAfterOk returns a tuple with the MinorAfter 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 (*LockMaxVersion) GetType ¶
func (o *LockMaxVersion) GetType() string
GetType returns the Type field value
func (*LockMaxVersion) GetTypeOk ¶
func (o *LockMaxVersion) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (LockMaxVersion) MarshalJSON ¶
func (o LockMaxVersion) MarshalJSON() ([]byte, error)
func (*LockMaxVersion) SetMajorAfter ¶
func (o *LockMaxVersion) SetMajorAfter(v LockMaxVersionMajorAfter)
SetMajorAfter sets field value
func (*LockMaxVersion) SetMinorAfter ¶
func (o *LockMaxVersion) SetMinorAfter(v LockMaxVersionMinorAfter)
SetMinorAfter sets field value
func (*LockMaxVersion) SetType ¶
func (o *LockMaxVersion) SetType(v string)
SetType sets field value
func (LockMaxVersion) ToMap ¶
func (o LockMaxVersion) ToMap() (map[string]interface{}, error)
func (*LockMaxVersion) UnmarshalJSON ¶
func (o *LockMaxVersion) UnmarshalJSON(data []byte) (err error)
type LockMaxVersionMajorAfter ¶
type LockMaxVersionMajorAfter struct {
LockMaxVersionMajorAfterOneOf *LockMaxVersionMajorAfterOneOf
LockMaxVersionMajorAfterOneOf1 *LockMaxVersionMajorAfterOneOf1
}
LockMaxVersionMajorAfter - Time after the creation of a license its major version is locked, in seconds or calendar months: it then only gets the minor versions and bug fixes of the major version released by then. `0` locks it when the license is created.
func LockMaxVersionMajorAfterOneOf1AsLockMaxVersionMajorAfter ¶
func LockMaxVersionMajorAfterOneOf1AsLockMaxVersionMajorAfter(v *LockMaxVersionMajorAfterOneOf1) LockMaxVersionMajorAfter
LockMaxVersionMajorAfterOneOf1AsLockMaxVersionMajorAfter is a convenience function that returns LockMaxVersionMajorAfterOneOf1 wrapped in LockMaxVersionMajorAfter
func LockMaxVersionMajorAfterOneOfAsLockMaxVersionMajorAfter ¶
func LockMaxVersionMajorAfterOneOfAsLockMaxVersionMajorAfter(v *LockMaxVersionMajorAfterOneOf) LockMaxVersionMajorAfter
LockMaxVersionMajorAfterOneOfAsLockMaxVersionMajorAfter is a convenience function that returns LockMaxVersionMajorAfterOneOf wrapped in LockMaxVersionMajorAfter
func (*LockMaxVersionMajorAfter) GetActualInstance ¶
func (obj *LockMaxVersionMajorAfter) GetActualInstance() interface{}
Get the actual instance
func (LockMaxVersionMajorAfter) GetActualInstanceValue ¶
func (obj LockMaxVersionMajorAfter) GetActualInstanceValue() interface{}
Get the actual instance value
func (LockMaxVersionMajorAfter) MarshalJSON ¶
func (src LockMaxVersionMajorAfter) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*LockMaxVersionMajorAfter) UnmarshalJSON ¶
func (dst *LockMaxVersionMajorAfter) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type LockMaxVersionMajorAfterOneOf ¶
type LockMaxVersionMajorAfterOneOf struct {
Value int32 `json:"value"`
Unit string `json:"unit"`
AdditionalProperties map[string]interface{}
}
LockMaxVersionMajorAfterOneOf struct for LockMaxVersionMajorAfterOneOf
func NewLockMaxVersionMajorAfterOneOf ¶
func NewLockMaxVersionMajorAfterOneOf(value int32, unit string) *LockMaxVersionMajorAfterOneOf
NewLockMaxVersionMajorAfterOneOf instantiates a new LockMaxVersionMajorAfterOneOf 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 NewLockMaxVersionMajorAfterOneOfWithDefaults ¶
func NewLockMaxVersionMajorAfterOneOfWithDefaults() *LockMaxVersionMajorAfterOneOf
NewLockMaxVersionMajorAfterOneOfWithDefaults instantiates a new LockMaxVersionMajorAfterOneOf 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 (*LockMaxVersionMajorAfterOneOf) GetUnit ¶
func (o *LockMaxVersionMajorAfterOneOf) GetUnit() string
GetUnit returns the Unit field value
func (*LockMaxVersionMajorAfterOneOf) GetUnitOk ¶
func (o *LockMaxVersionMajorAfterOneOf) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.
func (*LockMaxVersionMajorAfterOneOf) GetValue ¶
func (o *LockMaxVersionMajorAfterOneOf) GetValue() int32
GetValue returns the Value field value
func (*LockMaxVersionMajorAfterOneOf) GetValueOk ¶
func (o *LockMaxVersionMajorAfterOneOf) GetValueOk() (*int32, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (LockMaxVersionMajorAfterOneOf) MarshalJSON ¶
func (o LockMaxVersionMajorAfterOneOf) MarshalJSON() ([]byte, error)
func (*LockMaxVersionMajorAfterOneOf) SetUnit ¶
func (o *LockMaxVersionMajorAfterOneOf) SetUnit(v string)
SetUnit sets field value
func (*LockMaxVersionMajorAfterOneOf) SetValue ¶
func (o *LockMaxVersionMajorAfterOneOf) SetValue(v int32)
SetValue sets field value
func (LockMaxVersionMajorAfterOneOf) ToMap ¶
func (o LockMaxVersionMajorAfterOneOf) ToMap() (map[string]interface{}, error)
func (*LockMaxVersionMajorAfterOneOf) UnmarshalJSON ¶
func (o *LockMaxVersionMajorAfterOneOf) UnmarshalJSON(data []byte) (err error)
type LockMaxVersionMajorAfterOneOf1 ¶
type LockMaxVersionMajorAfterOneOf1 struct {
Value int32 `json:"value"`
// Calendar months: a license created on January 31 with a 1 month duration expires on the last day of February.
Unit string `json:"unit"`
AdditionalProperties map[string]interface{}
}
LockMaxVersionMajorAfterOneOf1 struct for LockMaxVersionMajorAfterOneOf1
func NewLockMaxVersionMajorAfterOneOf1 ¶
func NewLockMaxVersionMajorAfterOneOf1(value int32, unit string) *LockMaxVersionMajorAfterOneOf1
NewLockMaxVersionMajorAfterOneOf1 instantiates a new LockMaxVersionMajorAfterOneOf1 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 NewLockMaxVersionMajorAfterOneOf1WithDefaults ¶
func NewLockMaxVersionMajorAfterOneOf1WithDefaults() *LockMaxVersionMajorAfterOneOf1
NewLockMaxVersionMajorAfterOneOf1WithDefaults instantiates a new LockMaxVersionMajorAfterOneOf1 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 (*LockMaxVersionMajorAfterOneOf1) GetUnit ¶
func (o *LockMaxVersionMajorAfterOneOf1) GetUnit() string
GetUnit returns the Unit field value
func (*LockMaxVersionMajorAfterOneOf1) GetUnitOk ¶
func (o *LockMaxVersionMajorAfterOneOf1) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.
func (*LockMaxVersionMajorAfterOneOf1) GetValue ¶
func (o *LockMaxVersionMajorAfterOneOf1) GetValue() int32
GetValue returns the Value field value
func (*LockMaxVersionMajorAfterOneOf1) GetValueOk ¶
func (o *LockMaxVersionMajorAfterOneOf1) GetValueOk() (*int32, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (LockMaxVersionMajorAfterOneOf1) MarshalJSON ¶
func (o LockMaxVersionMajorAfterOneOf1) MarshalJSON() ([]byte, error)
func (*LockMaxVersionMajorAfterOneOf1) SetUnit ¶
func (o *LockMaxVersionMajorAfterOneOf1) SetUnit(v string)
SetUnit sets field value
func (*LockMaxVersionMajorAfterOneOf1) SetValue ¶
func (o *LockMaxVersionMajorAfterOneOf1) SetValue(v int32)
SetValue sets field value
func (LockMaxVersionMajorAfterOneOf1) ToMap ¶
func (o LockMaxVersionMajorAfterOneOf1) ToMap() (map[string]interface{}, error)
func (*LockMaxVersionMajorAfterOneOf1) UnmarshalJSON ¶
func (o *LockMaxVersionMajorAfterOneOf1) UnmarshalJSON(data []byte) (err error)
type LockMaxVersionMinorAfter ¶
type LockMaxVersionMinorAfter struct {
LockMaxVersionMajorAfterOneOf *LockMaxVersionMajorAfterOneOf
LockMaxVersionMajorAfterOneOf1 *LockMaxVersionMajorAfterOneOf1
}
LockMaxVersionMinorAfter Time after the creation of a license its minor version is locked, in seconds or calendar months: it then only gets the bug fixes of the minor version released by then. Never shorter than `majorAfter`, whatever the length of the months: 1 month is longer than 28 days but may be shorter than 31. `0` locks it when the license is created. `null` to never lock it.
func (LockMaxVersionMinorAfter) MarshalJSON ¶
func (src LockMaxVersionMinorAfter) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*LockMaxVersionMinorAfter) UnmarshalJSON ¶
func (dst *LockMaxVersionMinorAfter) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type Machine ¶
type Machine struct {
Id string `json:"id"`
LicenseId string `json:"licenseId"`
// Identifies the machine. Unique within the license.
Fingerprint string `json:"fingerprint"`
Platform NullableString `json:"platform"`
Name NullableString `json:"name"`
// Whether the machine counts as using the license.
Status string `json:"status"`
// Version of the application last validated on the machine.
Version NullableString `json:"version"`
// When the license was last validated on the machine.
LastValidatedAt NullableTime `json:"lastValidatedAt"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
AdditionalProperties map[string]interface{}
}
Machine struct for Machine
func NewMachine ¶
func NewMachine(id string, licenseId string, fingerprint string, platform NullableString, name NullableString, status string, version NullableString, lastValidatedAt NullableTime, createdAt time.Time, updatedAt time.Time) *Machine
NewMachine instantiates a new Machine 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 NewMachineWithDefaults ¶
func NewMachineWithDefaults() *Machine
NewMachineWithDefaults instantiates a new Machine 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 (*Machine) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Machine) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Machine) GetFingerprint ¶
GetFingerprint returns the Fingerprint field value
func (*Machine) GetFingerprintOk ¶
GetFingerprintOk returns a tuple with the Fingerprint field value and a boolean to check if the value has been set.
func (*Machine) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Machine) GetLastValidatedAt ¶
GetLastValidatedAt returns the LastValidatedAt field value If the value is explicit nil, the zero value for time.Time will be returned
func (*Machine) GetLastValidatedAtOk ¶
GetLastValidatedAtOk returns a tuple with the LastValidatedAt 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 (*Machine) GetLicenseId ¶
GetLicenseId returns the LicenseId field value
func (*Machine) GetLicenseIdOk ¶
GetLicenseIdOk returns a tuple with the LicenseId field value and a boolean to check if the value has been set.
func (*Machine) GetName ¶
GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned
func (*Machine) GetNameOk ¶
GetNameOk returns a tuple with the Name 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 (*Machine) GetPlatform ¶
GetPlatform returns the Platform field value If the value is explicit nil, the zero value for string will be returned
func (*Machine) GetPlatformOk ¶
GetPlatformOk returns a tuple with the Platform 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 (*Machine) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Machine) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Machine) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Machine) GetVersion ¶
GetVersion returns the Version field value If the value is explicit nil, the zero value for string will be returned
func (*Machine) GetVersionOk ¶
GetVersionOk returns a tuple with the Version 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 (Machine) MarshalJSON ¶
func (*Machine) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Machine) SetFingerprint ¶
SetFingerprint sets field value
func (*Machine) SetLastValidatedAt ¶
SetLastValidatedAt sets field value
func (*Machine) SetLicenseId ¶
SetLicenseId sets field value
func (*Machine) SetUpdatedAt ¶
SetUpdatedAt sets field value
func (*Machine) UnmarshalJSON ¶
type MachineList ¶
type MachineList struct {
// Items of the page, in the requested order. Empty past the last page.
Data []Machine `json:"data"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
MachineList struct for MachineList
func NewMachineList ¶
func NewMachineList(data []Machine, pagination Pagination) *MachineList
NewMachineList instantiates a new MachineList 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 NewMachineListWithDefaults ¶
func NewMachineListWithDefaults() *MachineList
NewMachineListWithDefaults instantiates a new MachineList 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 (*MachineList) GetData ¶
func (o *MachineList) GetData() []Machine
GetData returns the Data field value
func (*MachineList) GetDataOk ¶
func (o *MachineList) GetDataOk() ([]Machine, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*MachineList) GetPagination ¶
func (o *MachineList) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*MachineList) GetPaginationOk ¶
func (o *MachineList) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (MachineList) MarshalJSON ¶
func (o MachineList) MarshalJSON() ([]byte, error)
func (*MachineList) SetPagination ¶
func (o *MachineList) SetPagination(v Pagination)
SetPagination sets field value
func (MachineList) ToMap ¶
func (o MachineList) ToMap() (map[string]interface{}, error)
func (*MachineList) UnmarshalJSON ¶
func (o *MachineList) UnmarshalJSON(data []byte) (err error)
type MachinesAPIService ¶
type MachinesAPIService service
MachinesAPIService MachinesAPI service
func (*MachinesAPIService) DeactivateMachine ¶
func (a *MachinesAPIService) DeactivateMachine(ctx context.Context, id string) ApiDeactivateMachineRequest
DeactivateMachine Deactivate a machine
The machine no longer counts as using the license, freeing its place when the license has a maximum number of machines. Validating the license key on the machine activates it again, unless the license is on its maximum number of machines by then. Deactivating a deactivated machine does nothing.
The license token `validateKey` returned to the machine isn't revoked: the application can keep running offline until it expires. Machines can't be deleted: they're deleted with their license.
**Token access**: customer, license, machine tokens with the `machine:write` permission (or the matching write one). A token reaches the machine it's scoped to, or the machines of its license or customer.
**Required role permission**: `machine:deactivate` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDeactivateMachineRequest
func (*MachinesAPIService) DeactivateMachineExecute ¶
func (a *MachinesAPIService) DeactivateMachineExecute(r ApiDeactivateMachineRequest) (*Machine, *http.Response, error)
Execute executes the request
@return Machine
func (*MachinesAPIService) GetMachine ¶
func (a *MachinesAPIService) GetMachine(ctx context.Context, id string) ApiGetMachineRequest
GetMachine Get a machine
**Token access**: customer, license, machine tokens with the `machine:read` permission (or the matching write one). A token reaches the machine it's scoped to, or the machines of its license or customer.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetMachineRequest
func (*MachinesAPIService) GetMachineExecute ¶
func (a *MachinesAPIService) GetMachineExecute(r ApiGetMachineRequest) (*Machine, *http.Response, error)
Execute executes the request
@return Machine
func (*MachinesAPIService) ListMachines ¶
func (a *MachinesAPIService) ListMachines(ctx context.Context, licenseId string) ApiListMachinesRequest
ListMachines List the machines of a license
**Token access**: customer, license tokens with the `machine:read` permission (or the matching write one). A token reaches the license it's scoped to, or the licenses of its customer.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param licenseId @return ApiListMachinesRequest
func (*MachinesAPIService) ListMachinesExecute ¶
func (a *MachinesAPIService) ListMachinesExecute(r ApiListMachinesRequest) (*MachineList, *http.Response, error)
Execute executes the request
@return MachineList
type MappedNullable ¶
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 NullableConnectStripe ¶
type NullableConnectStripe struct {
// contains filtered or unexported fields
}
func NewNullableConnectStripe ¶
func NewNullableConnectStripe(val *ConnectStripe) *NullableConnectStripe
func (NullableConnectStripe) Get ¶
func (v NullableConnectStripe) Get() *ConnectStripe
func (NullableConnectStripe) IsSet ¶
func (v NullableConnectStripe) IsSet() bool
func (NullableConnectStripe) MarshalJSON ¶
func (v NullableConnectStripe) MarshalJSON() ([]byte, error)
func (*NullableConnectStripe) Set ¶
func (v *NullableConnectStripe) Set(val *ConnectStripe)
func (*NullableConnectStripe) UnmarshalJSON ¶
func (v *NullableConnectStripe) UnmarshalJSON(src []byte) error
func (*NullableConnectStripe) Unset ¶
func (v *NullableConnectStripe) Unset()
type NullableCreateCustomer ¶
type NullableCreateCustomer struct {
// contains filtered or unexported fields
}
func NewNullableCreateCustomer ¶
func NewNullableCreateCustomer(val *CreateCustomer) *NullableCreateCustomer
func (NullableCreateCustomer) Get ¶
func (v NullableCreateCustomer) Get() *CreateCustomer
func (NullableCreateCustomer) IsSet ¶
func (v NullableCreateCustomer) IsSet() bool
func (NullableCreateCustomer) MarshalJSON ¶
func (v NullableCreateCustomer) MarshalJSON() ([]byte, error)
func (*NullableCreateCustomer) Set ¶
func (v *NullableCreateCustomer) Set(val *CreateCustomer)
func (*NullableCreateCustomer) UnmarshalJSON ¶
func (v *NullableCreateCustomer) UnmarshalJSON(src []byte) error
func (*NullableCreateCustomer) Unset ¶
func (v *NullableCreateCustomer) Unset()
type NullableCreateIntegrationMapping ¶
type NullableCreateIntegrationMapping struct {
// contains filtered or unexported fields
}
func NewNullableCreateIntegrationMapping ¶
func NewNullableCreateIntegrationMapping(val *CreateIntegrationMapping) *NullableCreateIntegrationMapping
func (NullableCreateIntegrationMapping) Get ¶
func (v NullableCreateIntegrationMapping) Get() *CreateIntegrationMapping
func (NullableCreateIntegrationMapping) IsSet ¶
func (v NullableCreateIntegrationMapping) IsSet() bool
func (NullableCreateIntegrationMapping) MarshalJSON ¶
func (v NullableCreateIntegrationMapping) MarshalJSON() ([]byte, error)
func (*NullableCreateIntegrationMapping) Set ¶
func (v *NullableCreateIntegrationMapping) Set(val *CreateIntegrationMapping)
func (*NullableCreateIntegrationMapping) UnmarshalJSON ¶
func (v *NullableCreateIntegrationMapping) UnmarshalJSON(src []byte) error
func (*NullableCreateIntegrationMapping) Unset ¶
func (v *NullableCreateIntegrationMapping) Unset()
type NullableCreateLicense ¶
type NullableCreateLicense struct {
// contains filtered or unexported fields
}
func NewNullableCreateLicense ¶
func NewNullableCreateLicense(val *CreateLicense) *NullableCreateLicense
func (NullableCreateLicense) Get ¶
func (v NullableCreateLicense) Get() *CreateLicense
func (NullableCreateLicense) IsSet ¶
func (v NullableCreateLicense) IsSet() bool
func (NullableCreateLicense) MarshalJSON ¶
func (v NullableCreateLicense) MarshalJSON() ([]byte, error)
func (*NullableCreateLicense) Set ¶
func (v *NullableCreateLicense) Set(val *CreateLicense)
func (*NullableCreateLicense) UnmarshalJSON ¶
func (v *NullableCreateLicense) UnmarshalJSON(src []byte) error
func (*NullableCreateLicense) Unset ¶
func (v *NullableCreateLicense) Unset()
type NullableCreatePolicy ¶
type NullableCreatePolicy struct {
// contains filtered or unexported fields
}
func NewNullableCreatePolicy ¶
func NewNullableCreatePolicy(val *CreatePolicy) *NullableCreatePolicy
func (NullableCreatePolicy) Get ¶
func (v NullableCreatePolicy) Get() *CreatePolicy
func (NullableCreatePolicy) IsSet ¶
func (v NullableCreatePolicy) IsSet() bool
func (NullableCreatePolicy) MarshalJSON ¶
func (v NullableCreatePolicy) MarshalJSON() ([]byte, error)
func (*NullableCreatePolicy) Set ¶
func (v *NullableCreatePolicy) Set(val *CreatePolicy)
func (*NullableCreatePolicy) UnmarshalJSON ¶
func (v *NullableCreatePolicy) UnmarshalJSON(src []byte) error
func (*NullableCreatePolicy) Unset ¶
func (v *NullableCreatePolicy) Unset()
type NullableCreatePortalLink ¶
type NullableCreatePortalLink struct {
// contains filtered or unexported fields
}
func NewNullableCreatePortalLink ¶
func NewNullableCreatePortalLink(val *CreatePortalLink) *NullableCreatePortalLink
func (NullableCreatePortalLink) Get ¶
func (v NullableCreatePortalLink) Get() *CreatePortalLink
func (NullableCreatePortalLink) IsSet ¶
func (v NullableCreatePortalLink) IsSet() bool
func (NullableCreatePortalLink) MarshalJSON ¶
func (v NullableCreatePortalLink) MarshalJSON() ([]byte, error)
func (*NullableCreatePortalLink) Set ¶
func (v *NullableCreatePortalLink) Set(val *CreatePortalLink)
func (*NullableCreatePortalLink) UnmarshalJSON ¶
func (v *NullableCreatePortalLink) UnmarshalJSON(src []byte) error
func (*NullableCreatePortalLink) Unset ¶
func (v *NullableCreatePortalLink) Unset()
type NullableCreateProduct ¶
type NullableCreateProduct struct {
// contains filtered or unexported fields
}
func NewNullableCreateProduct ¶
func NewNullableCreateProduct(val *CreateProduct) *NullableCreateProduct
func (NullableCreateProduct) Get ¶
func (v NullableCreateProduct) Get() *CreateProduct
func (NullableCreateProduct) IsSet ¶
func (v NullableCreateProduct) IsSet() bool
func (NullableCreateProduct) MarshalJSON ¶
func (v NullableCreateProduct) MarshalJSON() ([]byte, error)
func (*NullableCreateProduct) Set ¶
func (v *NullableCreateProduct) Set(val *CreateProduct)
func (*NullableCreateProduct) UnmarshalJSON ¶
func (v *NullableCreateProduct) UnmarshalJSON(src []byte) error
func (*NullableCreateProduct) Unset ¶
func (v *NullableCreateProduct) Unset()
type NullableCreateProductWithPolicy ¶
type NullableCreateProductWithPolicy struct {
// contains filtered or unexported fields
}
func NewNullableCreateProductWithPolicy ¶
func NewNullableCreateProductWithPolicy(val *CreateProductWithPolicy) *NullableCreateProductWithPolicy
func (NullableCreateProductWithPolicy) Get ¶
func (v NullableCreateProductWithPolicy) Get() *CreateProductWithPolicy
func (NullableCreateProductWithPolicy) IsSet ¶
func (v NullableCreateProductWithPolicy) IsSet() bool
func (NullableCreateProductWithPolicy) MarshalJSON ¶
func (v NullableCreateProductWithPolicy) MarshalJSON() ([]byte, error)
func (*NullableCreateProductWithPolicy) Set ¶
func (v *NullableCreateProductWithPolicy) Set(val *CreateProductWithPolicy)
func (*NullableCreateProductWithPolicy) UnmarshalJSON ¶
func (v *NullableCreateProductWithPolicy) UnmarshalJSON(src []byte) error
func (*NullableCreateProductWithPolicy) Unset ¶
func (v *NullableCreateProductWithPolicy) Unset()
type NullableCreateRelease ¶
type NullableCreateRelease struct {
// contains filtered or unexported fields
}
func NewNullableCreateRelease ¶
func NewNullableCreateRelease(val *CreateRelease) *NullableCreateRelease
func (NullableCreateRelease) Get ¶
func (v NullableCreateRelease) Get() *CreateRelease
func (NullableCreateRelease) IsSet ¶
func (v NullableCreateRelease) IsSet() bool
func (NullableCreateRelease) MarshalJSON ¶
func (v NullableCreateRelease) MarshalJSON() ([]byte, error)
func (*NullableCreateRelease) Set ¶
func (v *NullableCreateRelease) Set(val *CreateRelease)
func (*NullableCreateRelease) UnmarshalJSON ¶
func (v *NullableCreateRelease) UnmarshalJSON(src []byte) error
func (*NullableCreateRelease) Unset ¶
func (v *NullableCreateRelease) Unset()
type NullableCreateToken ¶
type NullableCreateToken struct {
// contains filtered or unexported fields
}
func NewNullableCreateToken ¶
func NewNullableCreateToken(val *CreateToken) *NullableCreateToken
func (NullableCreateToken) Get ¶
func (v NullableCreateToken) Get() *CreateToken
func (NullableCreateToken) IsSet ¶
func (v NullableCreateToken) IsSet() bool
func (NullableCreateToken) MarshalJSON ¶
func (v NullableCreateToken) MarshalJSON() ([]byte, error)
func (*NullableCreateToken) Set ¶
func (v *NullableCreateToken) Set(val *CreateToken)
func (*NullableCreateToken) UnmarshalJSON ¶
func (v *NullableCreateToken) UnmarshalJSON(src []byte) error
func (*NullableCreateToken) Unset ¶
func (v *NullableCreateToken) Unset()
type NullableCustomer ¶
type NullableCustomer struct {
// contains filtered or unexported fields
}
func NewNullableCustomer ¶
func NewNullableCustomer(val *Customer) *NullableCustomer
func (NullableCustomer) Get ¶
func (v NullableCustomer) Get() *Customer
func (NullableCustomer) IsSet ¶
func (v NullableCustomer) IsSet() bool
func (NullableCustomer) MarshalJSON ¶
func (v NullableCustomer) MarshalJSON() ([]byte, error)
func (*NullableCustomer) Set ¶
func (v *NullableCustomer) Set(val *Customer)
func (*NullableCustomer) UnmarshalJSON ¶
func (v *NullableCustomer) UnmarshalJSON(src []byte) error
func (*NullableCustomer) Unset ¶
func (v *NullableCustomer) Unset()
type NullableCustomerList ¶
type NullableCustomerList struct {
// contains filtered or unexported fields
}
func NewNullableCustomerList ¶
func NewNullableCustomerList(val *CustomerList) *NullableCustomerList
func (NullableCustomerList) Get ¶
func (v NullableCustomerList) Get() *CustomerList
func (NullableCustomerList) IsSet ¶
func (v NullableCustomerList) IsSet() bool
func (NullableCustomerList) MarshalJSON ¶
func (v NullableCustomerList) MarshalJSON() ([]byte, error)
func (*NullableCustomerList) Set ¶
func (v *NullableCustomerList) Set(val *CustomerList)
func (*NullableCustomerList) UnmarshalJSON ¶
func (v *NullableCustomerList) UnmarshalJSON(src []byte) error
func (*NullableCustomerList) Unset ¶
func (v *NullableCustomerList) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableErrorError ¶
type NullableErrorError struct {
// contains filtered or unexported fields
}
func NewNullableErrorError ¶
func NewNullableErrorError(val *ErrorError) *NullableErrorError
func (NullableErrorError) Get ¶
func (v NullableErrorError) Get() *ErrorError
func (NullableErrorError) IsSet ¶
func (v NullableErrorError) IsSet() bool
func (NullableErrorError) MarshalJSON ¶
func (v NullableErrorError) MarshalJSON() ([]byte, error)
func (*NullableErrorError) Set ¶
func (v *NullableErrorError) Set(val *ErrorError)
func (*NullableErrorError) UnmarshalJSON ¶
func (v *NullableErrorError) UnmarshalJSON(src []byte) error
func (*NullableErrorError) Unset ¶
func (v *NullableErrorError) Unset()
type NullableErrorErrorIssuesInner ¶
type NullableErrorErrorIssuesInner struct {
// contains filtered or unexported fields
}
func NewNullableErrorErrorIssuesInner ¶
func NewNullableErrorErrorIssuesInner(val *ErrorErrorIssuesInner) *NullableErrorErrorIssuesInner
func (NullableErrorErrorIssuesInner) Get ¶
func (v NullableErrorErrorIssuesInner) Get() *ErrorErrorIssuesInner
func (NullableErrorErrorIssuesInner) IsSet ¶
func (v NullableErrorErrorIssuesInner) IsSet() bool
func (NullableErrorErrorIssuesInner) MarshalJSON ¶
func (v NullableErrorErrorIssuesInner) MarshalJSON() ([]byte, error)
func (*NullableErrorErrorIssuesInner) Set ¶
func (v *NullableErrorErrorIssuesInner) Set(val *ErrorErrorIssuesInner)
func (*NullableErrorErrorIssuesInner) UnmarshalJSON ¶
func (v *NullableErrorErrorIssuesInner) UnmarshalJSON(src []byte) error
func (*NullableErrorErrorIssuesInner) Unset ¶
func (v *NullableErrorErrorIssuesInner) Unset()
type NullableErrorErrorIssuesInnerPathInner ¶
type NullableErrorErrorIssuesInnerPathInner struct {
// contains filtered or unexported fields
}
func NewNullableErrorErrorIssuesInnerPathInner ¶
func NewNullableErrorErrorIssuesInnerPathInner(val *ErrorErrorIssuesInnerPathInner) *NullableErrorErrorIssuesInnerPathInner
func (NullableErrorErrorIssuesInnerPathInner) Get ¶
func (v NullableErrorErrorIssuesInnerPathInner) Get() *ErrorErrorIssuesInnerPathInner
func (NullableErrorErrorIssuesInnerPathInner) IsSet ¶
func (v NullableErrorErrorIssuesInnerPathInner) IsSet() bool
func (NullableErrorErrorIssuesInnerPathInner) MarshalJSON ¶
func (v NullableErrorErrorIssuesInnerPathInner) MarshalJSON() ([]byte, error)
func (*NullableErrorErrorIssuesInnerPathInner) Set ¶
func (v *NullableErrorErrorIssuesInnerPathInner) Set(val *ErrorErrorIssuesInnerPathInner)
func (*NullableErrorErrorIssuesInnerPathInner) UnmarshalJSON ¶
func (v *NullableErrorErrorIssuesInnerPathInner) UnmarshalJSON(src []byte) error
func (*NullableErrorErrorIssuesInnerPathInner) Unset ¶
func (v *NullableErrorErrorIssuesInnerPathInner) Unset()
type NullableEvent ¶
type NullableEvent struct {
// contains filtered or unexported fields
}
func NewNullableEvent ¶
func NewNullableEvent(val *Event) *NullableEvent
func (NullableEvent) Get ¶
func (v NullableEvent) Get() *Event
func (NullableEvent) IsSet ¶
func (v NullableEvent) IsSet() bool
func (NullableEvent) MarshalJSON ¶
func (v NullableEvent) MarshalJSON() ([]byte, error)
func (*NullableEvent) Set ¶
func (v *NullableEvent) Set(val *Event)
func (*NullableEvent) UnmarshalJSON ¶
func (v *NullableEvent) UnmarshalJSON(src []byte) error
func (*NullableEvent) Unset ¶
func (v *NullableEvent) Unset()
type NullableEventActor ¶
type NullableEventActor struct {
// contains filtered or unexported fields
}
func NewNullableEventActor ¶
func NewNullableEventActor(val *EventActor) *NullableEventActor
func (NullableEventActor) Get ¶
func (v NullableEventActor) Get() *EventActor
func (NullableEventActor) IsSet ¶
func (v NullableEventActor) IsSet() bool
func (NullableEventActor) MarshalJSON ¶
func (v NullableEventActor) MarshalJSON() ([]byte, error)
func (*NullableEventActor) Set ¶
func (v *NullableEventActor) Set(val *EventActor)
func (*NullableEventActor) UnmarshalJSON ¶
func (v *NullableEventActor) UnmarshalJSON(src []byte) error
func (*NullableEventActor) Unset ¶
func (v *NullableEventActor) Unset()
type NullableEventActorOneOf ¶
type NullableEventActorOneOf struct {
// contains filtered or unexported fields
}
func NewNullableEventActorOneOf ¶
func NewNullableEventActorOneOf(val *EventActorOneOf) *NullableEventActorOneOf
func (NullableEventActorOneOf) Get ¶
func (v NullableEventActorOneOf) Get() *EventActorOneOf
func (NullableEventActorOneOf) IsSet ¶
func (v NullableEventActorOneOf) IsSet() bool
func (NullableEventActorOneOf) MarshalJSON ¶
func (v NullableEventActorOneOf) MarshalJSON() ([]byte, error)
func (*NullableEventActorOneOf) Set ¶
func (v *NullableEventActorOneOf) Set(val *EventActorOneOf)
func (*NullableEventActorOneOf) UnmarshalJSON ¶
func (v *NullableEventActorOneOf) UnmarshalJSON(src []byte) error
func (*NullableEventActorOneOf) Unset ¶
func (v *NullableEventActorOneOf) Unset()
type NullableEventActorOneOf1 ¶
type NullableEventActorOneOf1 struct {
// contains filtered or unexported fields
}
func NewNullableEventActorOneOf1 ¶
func NewNullableEventActorOneOf1(val *EventActorOneOf1) *NullableEventActorOneOf1
func (NullableEventActorOneOf1) Get ¶
func (v NullableEventActorOneOf1) Get() *EventActorOneOf1
func (NullableEventActorOneOf1) IsSet ¶
func (v NullableEventActorOneOf1) IsSet() bool
func (NullableEventActorOneOf1) MarshalJSON ¶
func (v NullableEventActorOneOf1) MarshalJSON() ([]byte, error)
func (*NullableEventActorOneOf1) Set ¶
func (v *NullableEventActorOneOf1) Set(val *EventActorOneOf1)
func (*NullableEventActorOneOf1) UnmarshalJSON ¶
func (v *NullableEventActorOneOf1) UnmarshalJSON(src []byte) error
func (*NullableEventActorOneOf1) Unset ¶
func (v *NullableEventActorOneOf1) Unset()
type NullableEventActorOneOf2 ¶
type NullableEventActorOneOf2 struct {
// contains filtered or unexported fields
}
func NewNullableEventActorOneOf2 ¶
func NewNullableEventActorOneOf2(val *EventActorOneOf2) *NullableEventActorOneOf2
func (NullableEventActorOneOf2) Get ¶
func (v NullableEventActorOneOf2) Get() *EventActorOneOf2
func (NullableEventActorOneOf2) IsSet ¶
func (v NullableEventActorOneOf2) IsSet() bool
func (NullableEventActorOneOf2) MarshalJSON ¶
func (v NullableEventActorOneOf2) MarshalJSON() ([]byte, error)
func (*NullableEventActorOneOf2) Set ¶
func (v *NullableEventActorOneOf2) Set(val *EventActorOneOf2)
func (*NullableEventActorOneOf2) UnmarshalJSON ¶
func (v *NullableEventActorOneOf2) UnmarshalJSON(src []byte) error
func (*NullableEventActorOneOf2) Unset ¶
func (v *NullableEventActorOneOf2) Unset()
type NullableEventActorOneOf3 ¶
type NullableEventActorOneOf3 struct {
// contains filtered or unexported fields
}
func NewNullableEventActorOneOf3 ¶
func NewNullableEventActorOneOf3(val *EventActorOneOf3) *NullableEventActorOneOf3
func (NullableEventActorOneOf3) Get ¶
func (v NullableEventActorOneOf3) Get() *EventActorOneOf3
func (NullableEventActorOneOf3) IsSet ¶
func (v NullableEventActorOneOf3) IsSet() bool
func (NullableEventActorOneOf3) MarshalJSON ¶
func (v NullableEventActorOneOf3) MarshalJSON() ([]byte, error)
func (*NullableEventActorOneOf3) Set ¶
func (v *NullableEventActorOneOf3) Set(val *EventActorOneOf3)
func (*NullableEventActorOneOf3) UnmarshalJSON ¶
func (v *NullableEventActorOneOf3) UnmarshalJSON(src []byte) error
func (*NullableEventActorOneOf3) Unset ¶
func (v *NullableEventActorOneOf3) Unset()
type NullableEventActorOneOf4 ¶
type NullableEventActorOneOf4 struct {
// contains filtered or unexported fields
}
func NewNullableEventActorOneOf4 ¶
func NewNullableEventActorOneOf4(val *EventActorOneOf4) *NullableEventActorOneOf4
func (NullableEventActorOneOf4) Get ¶
func (v NullableEventActorOneOf4) Get() *EventActorOneOf4
func (NullableEventActorOneOf4) IsSet ¶
func (v NullableEventActorOneOf4) IsSet() bool
func (NullableEventActorOneOf4) MarshalJSON ¶
func (v NullableEventActorOneOf4) MarshalJSON() ([]byte, error)
func (*NullableEventActorOneOf4) Set ¶
func (v *NullableEventActorOneOf4) Set(val *EventActorOneOf4)
func (*NullableEventActorOneOf4) UnmarshalJSON ¶
func (v *NullableEventActorOneOf4) UnmarshalJSON(src []byte) error
func (*NullableEventActorOneOf4) Unset ¶
func (v *NullableEventActorOneOf4) Unset()
type NullableEventList ¶
type NullableEventList struct {
// contains filtered or unexported fields
}
func NewNullableEventList ¶
func NewNullableEventList(val *EventList) *NullableEventList
func (NullableEventList) Get ¶
func (v NullableEventList) Get() *EventList
func (NullableEventList) IsSet ¶
func (v NullableEventList) IsSet() bool
func (NullableEventList) MarshalJSON ¶
func (v NullableEventList) MarshalJSON() ([]byte, error)
func (*NullableEventList) Set ¶
func (v *NullableEventList) Set(val *EventList)
func (*NullableEventList) UnmarshalJSON ¶
func (v *NullableEventList) UnmarshalJSON(src []byte) error
func (*NullableEventList) Unset ¶
func (v *NullableEventList) Unset()
type NullableEventMachine ¶
type NullableEventMachine struct {
// contains filtered or unexported fields
}
func NewNullableEventMachine ¶
func NewNullableEventMachine(val *EventMachine) *NullableEventMachine
func (NullableEventMachine) Get ¶
func (v NullableEventMachine) Get() *EventMachine
func (NullableEventMachine) IsSet ¶
func (v NullableEventMachine) IsSet() bool
func (NullableEventMachine) MarshalJSON ¶
func (v NullableEventMachine) MarshalJSON() ([]byte, error)
func (*NullableEventMachine) Set ¶
func (v *NullableEventMachine) Set(val *EventMachine)
func (*NullableEventMachine) UnmarshalJSON ¶
func (v *NullableEventMachine) UnmarshalJSON(src []byte) error
func (*NullableEventMachine) Unset ¶
func (v *NullableEventMachine) Unset()
type NullableEventType ¶
type NullableEventType struct {
// contains filtered or unexported fields
}
func NewNullableEventType ¶
func NewNullableEventType(val *EventType) *NullableEventType
func (NullableEventType) Get ¶
func (v NullableEventType) Get() *EventType
func (NullableEventType) IsSet ¶
func (v NullableEventType) IsSet() bool
func (NullableEventType) MarshalJSON ¶
func (v NullableEventType) MarshalJSON() ([]byte, error)
func (*NullableEventType) Set ¶
func (v *NullableEventType) Set(val *EventType)
func (*NullableEventType) UnmarshalJSON ¶
func (v *NullableEventType) UnmarshalJSON(src []byte) error
func (*NullableEventType) Unset ¶
func (v *NullableEventType) Unset()
type NullableFixedMaxVersion ¶
type NullableFixedMaxVersion struct {
// contains filtered or unexported fields
}
func NewNullableFixedMaxVersion ¶
func NewNullableFixedMaxVersion(val *FixedMaxVersion) *NullableFixedMaxVersion
func (NullableFixedMaxVersion) Get ¶
func (v NullableFixedMaxVersion) Get() *FixedMaxVersion
func (NullableFixedMaxVersion) IsSet ¶
func (v NullableFixedMaxVersion) IsSet() bool
func (NullableFixedMaxVersion) MarshalJSON ¶
func (v NullableFixedMaxVersion) MarshalJSON() ([]byte, error)
func (*NullableFixedMaxVersion) Set ¶
func (v *NullableFixedMaxVersion) Set(val *FixedMaxVersion)
func (*NullableFixedMaxVersion) UnmarshalJSON ¶
func (v *NullableFixedMaxVersion) UnmarshalJSON(src []byte) error
func (*NullableFixedMaxVersion) Unset ¶
func (v *NullableFixedMaxVersion) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableIntegration ¶
type NullableIntegration struct {
// contains filtered or unexported fields
}
func NewNullableIntegration ¶
func NewNullableIntegration(val *Integration) *NullableIntegration
func (NullableIntegration) Get ¶
func (v NullableIntegration) Get() *Integration
func (NullableIntegration) IsSet ¶
func (v NullableIntegration) IsSet() bool
func (NullableIntegration) MarshalJSON ¶
func (v NullableIntegration) MarshalJSON() ([]byte, error)
func (*NullableIntegration) Set ¶
func (v *NullableIntegration) Set(val *Integration)
func (*NullableIntegration) UnmarshalJSON ¶
func (v *NullableIntegration) UnmarshalJSON(src []byte) error
func (*NullableIntegration) Unset ¶
func (v *NullableIntegration) Unset()
type NullableIntegrationMapping ¶
type NullableIntegrationMapping struct {
// contains filtered or unexported fields
}
func NewNullableIntegrationMapping ¶
func NewNullableIntegrationMapping(val *IntegrationMapping) *NullableIntegrationMapping
func (NullableIntegrationMapping) Get ¶
func (v NullableIntegrationMapping) Get() *IntegrationMapping
func (NullableIntegrationMapping) IsSet ¶
func (v NullableIntegrationMapping) IsSet() bool
func (NullableIntegrationMapping) MarshalJSON ¶
func (v NullableIntegrationMapping) MarshalJSON() ([]byte, error)
func (*NullableIntegrationMapping) Set ¶
func (v *NullableIntegrationMapping) Set(val *IntegrationMapping)
func (*NullableIntegrationMapping) UnmarshalJSON ¶
func (v *NullableIntegrationMapping) UnmarshalJSON(src []byte) error
func (*NullableIntegrationMapping) Unset ¶
func (v *NullableIntegrationMapping) Unset()
type NullableIntegrationStatus ¶
type NullableIntegrationStatus struct {
// contains filtered or unexported fields
}
func NewNullableIntegrationStatus ¶
func NewNullableIntegrationStatus(val *IntegrationStatus) *NullableIntegrationStatus
func (NullableIntegrationStatus) Get ¶
func (v NullableIntegrationStatus) Get() *IntegrationStatus
func (NullableIntegrationStatus) IsSet ¶
func (v NullableIntegrationStatus) IsSet() bool
func (NullableIntegrationStatus) MarshalJSON ¶
func (v NullableIntegrationStatus) MarshalJSON() ([]byte, error)
func (*NullableIntegrationStatus) Set ¶
func (v *NullableIntegrationStatus) Set(val *IntegrationStatus)
func (*NullableIntegrationStatus) UnmarshalJSON ¶
func (v *NullableIntegrationStatus) UnmarshalJSON(src []byte) error
func (*NullableIntegrationStatus) Unset ¶
func (v *NullableIntegrationStatus) Unset()
type NullableLicense ¶
type NullableLicense struct {
// contains filtered or unexported fields
}
func NewNullableLicense ¶
func NewNullableLicense(val *License) *NullableLicense
func (NullableLicense) Get ¶
func (v NullableLicense) Get() *License
func (NullableLicense) IsSet ¶
func (v NullableLicense) IsSet() bool
func (NullableLicense) MarshalJSON ¶
func (v NullableLicense) MarshalJSON() ([]byte, error)
func (*NullableLicense) Set ¶
func (v *NullableLicense) Set(val *License)
func (*NullableLicense) UnmarshalJSON ¶
func (v *NullableLicense) UnmarshalJSON(src []byte) error
func (*NullableLicense) Unset ¶
func (v *NullableLicense) Unset()
type NullableLicenseList ¶
type NullableLicenseList struct {
// contains filtered or unexported fields
}
func NewNullableLicenseList ¶
func NewNullableLicenseList(val *LicenseList) *NullableLicenseList
func (NullableLicenseList) Get ¶
func (v NullableLicenseList) Get() *LicenseList
func (NullableLicenseList) IsSet ¶
func (v NullableLicenseList) IsSet() bool
func (NullableLicenseList) MarshalJSON ¶
func (v NullableLicenseList) MarshalJSON() ([]byte, error)
func (*NullableLicenseList) Set ¶
func (v *NullableLicenseList) Set(val *LicenseList)
func (*NullableLicenseList) UnmarshalJSON ¶
func (v *NullableLicenseList) UnmarshalJSON(src []byte) error
func (*NullableLicenseList) Unset ¶
func (v *NullableLicenseList) Unset()
type NullableLicenseMaxVersion ¶
type NullableLicenseMaxVersion struct {
// contains filtered or unexported fields
}
func NewNullableLicenseMaxVersion ¶
func NewNullableLicenseMaxVersion(val *LicenseMaxVersion) *NullableLicenseMaxVersion
func (NullableLicenseMaxVersion) Get ¶
func (v NullableLicenseMaxVersion) Get() *LicenseMaxVersion
func (NullableLicenseMaxVersion) IsSet ¶
func (v NullableLicenseMaxVersion) IsSet() bool
func (NullableLicenseMaxVersion) MarshalJSON ¶
func (v NullableLicenseMaxVersion) MarshalJSON() ([]byte, error)
func (*NullableLicenseMaxVersion) Set ¶
func (v *NullableLicenseMaxVersion) Set(val *LicenseMaxVersion)
func (*NullableLicenseMaxVersion) UnmarshalJSON ¶
func (v *NullableLicenseMaxVersion) UnmarshalJSON(src []byte) error
func (*NullableLicenseMaxVersion) Unset ¶
func (v *NullableLicenseMaxVersion) Unset()
type NullableLicenseMaxVersionInput ¶
type NullableLicenseMaxVersionInput struct {
// contains filtered or unexported fields
}
func NewNullableLicenseMaxVersionInput ¶
func NewNullableLicenseMaxVersionInput(val *LicenseMaxVersionInput) *NullableLicenseMaxVersionInput
func (NullableLicenseMaxVersionInput) Get ¶
func (v NullableLicenseMaxVersionInput) Get() *LicenseMaxVersionInput
func (NullableLicenseMaxVersionInput) IsSet ¶
func (v NullableLicenseMaxVersionInput) IsSet() bool
func (NullableLicenseMaxVersionInput) MarshalJSON ¶
func (v NullableLicenseMaxVersionInput) MarshalJSON() ([]byte, error)
func (*NullableLicenseMaxVersionInput) Set ¶
func (v *NullableLicenseMaxVersionInput) Set(val *LicenseMaxVersionInput)
func (*NullableLicenseMaxVersionInput) UnmarshalJSON ¶
func (v *NullableLicenseMaxVersionInput) UnmarshalJSON(src []byte) error
func (*NullableLicenseMaxVersionInput) Unset ¶
func (v *NullableLicenseMaxVersionInput) Unset()
type NullableLicenseStats ¶
type NullableLicenseStats struct {
// contains filtered or unexported fields
}
func NewNullableLicenseStats ¶
func NewNullableLicenseStats(val *LicenseStats) *NullableLicenseStats
func (NullableLicenseStats) Get ¶
func (v NullableLicenseStats) Get() *LicenseStats
func (NullableLicenseStats) IsSet ¶
func (v NullableLicenseStats) IsSet() bool
func (NullableLicenseStats) MarshalJSON ¶
func (v NullableLicenseStats) MarshalJSON() ([]byte, error)
func (*NullableLicenseStats) Set ¶
func (v *NullableLicenseStats) Set(val *LicenseStats)
func (*NullableLicenseStats) UnmarshalJSON ¶
func (v *NullableLicenseStats) UnmarshalJSON(src []byte) error
func (*NullableLicenseStats) Unset ¶
func (v *NullableLicenseStats) Unset()
type NullableLicenseStatsActivationsByMachineInner ¶
type NullableLicenseStatsActivationsByMachineInner struct {
// contains filtered or unexported fields
}
func NewNullableLicenseStatsActivationsByMachineInner ¶
func NewNullableLicenseStatsActivationsByMachineInner(val *LicenseStatsActivationsByMachineInner) *NullableLicenseStatsActivationsByMachineInner
func (NullableLicenseStatsActivationsByMachineInner) IsSet ¶
func (v NullableLicenseStatsActivationsByMachineInner) IsSet() bool
func (NullableLicenseStatsActivationsByMachineInner) MarshalJSON ¶
func (v NullableLicenseStatsActivationsByMachineInner) MarshalJSON() ([]byte, error)
func (*NullableLicenseStatsActivationsByMachineInner) Set ¶
func (v *NullableLicenseStatsActivationsByMachineInner) Set(val *LicenseStatsActivationsByMachineInner)
func (*NullableLicenseStatsActivationsByMachineInner) UnmarshalJSON ¶
func (v *NullableLicenseStatsActivationsByMachineInner) UnmarshalJSON(src []byte) error
func (*NullableLicenseStatsActivationsByMachineInner) Unset ¶
func (v *NullableLicenseStatsActivationsByMachineInner) Unset()
type NullableLicenseStatsActivationsByVersionInner ¶
type NullableLicenseStatsActivationsByVersionInner struct {
// contains filtered or unexported fields
}
func NewNullableLicenseStatsActivationsByVersionInner ¶
func NewNullableLicenseStatsActivationsByVersionInner(val *LicenseStatsActivationsByVersionInner) *NullableLicenseStatsActivationsByVersionInner
func (NullableLicenseStatsActivationsByVersionInner) IsSet ¶
func (v NullableLicenseStatsActivationsByVersionInner) IsSet() bool
func (NullableLicenseStatsActivationsByVersionInner) MarshalJSON ¶
func (v NullableLicenseStatsActivationsByVersionInner) MarshalJSON() ([]byte, error)
func (*NullableLicenseStatsActivationsByVersionInner) Set ¶
func (v *NullableLicenseStatsActivationsByVersionInner) Set(val *LicenseStatsActivationsByVersionInner)
func (*NullableLicenseStatsActivationsByVersionInner) UnmarshalJSON ¶
func (v *NullableLicenseStatsActivationsByVersionInner) UnmarshalJSON(src []byte) error
func (*NullableLicenseStatsActivationsByVersionInner) Unset ¶
func (v *NullableLicenseStatsActivationsByVersionInner) Unset()
type NullableLicenseStatus ¶
type NullableLicenseStatus struct {
// contains filtered or unexported fields
}
func NewNullableLicenseStatus ¶
func NewNullableLicenseStatus(val *LicenseStatus) *NullableLicenseStatus
func (NullableLicenseStatus) Get ¶
func (v NullableLicenseStatus) Get() *LicenseStatus
func (NullableLicenseStatus) IsSet ¶
func (v NullableLicenseStatus) IsSet() bool
func (NullableLicenseStatus) MarshalJSON ¶
func (v NullableLicenseStatus) MarshalJSON() ([]byte, error)
func (*NullableLicenseStatus) Set ¶
func (v *NullableLicenseStatus) Set(val *LicenseStatus)
func (*NullableLicenseStatus) UnmarshalJSON ¶
func (v *NullableLicenseStatus) UnmarshalJSON(src []byte) error
func (*NullableLicenseStatus) Unset ¶
func (v *NullableLicenseStatus) Unset()
type NullableLicenseToken ¶
type NullableLicenseToken struct {
// contains filtered or unexported fields
}
func NewNullableLicenseToken ¶
func NewNullableLicenseToken(val *LicenseToken) *NullableLicenseToken
func (NullableLicenseToken) Get ¶
func (v NullableLicenseToken) Get() *LicenseToken
func (NullableLicenseToken) IsSet ¶
func (v NullableLicenseToken) IsSet() bool
func (NullableLicenseToken) MarshalJSON ¶
func (v NullableLicenseToken) MarshalJSON() ([]byte, error)
func (*NullableLicenseToken) Set ¶
func (v *NullableLicenseToken) Set(val *LicenseToken)
func (*NullableLicenseToken) UnmarshalJSON ¶
func (v *NullableLicenseToken) UnmarshalJSON(src []byte) error
func (*NullableLicenseToken) Unset ¶
func (v *NullableLicenseToken) Unset()
type NullableListPolicyEventsTypeParameter ¶
type NullableListPolicyEventsTypeParameter struct {
// contains filtered or unexported fields
}
func NewNullableListPolicyEventsTypeParameter ¶
func NewNullableListPolicyEventsTypeParameter(val *ListPolicyEventsTypeParameter) *NullableListPolicyEventsTypeParameter
func (NullableListPolicyEventsTypeParameter) Get ¶
func (v NullableListPolicyEventsTypeParameter) Get() *ListPolicyEventsTypeParameter
func (NullableListPolicyEventsTypeParameter) IsSet ¶
func (v NullableListPolicyEventsTypeParameter) IsSet() bool
func (NullableListPolicyEventsTypeParameter) MarshalJSON ¶
func (v NullableListPolicyEventsTypeParameter) MarshalJSON() ([]byte, error)
func (*NullableListPolicyEventsTypeParameter) Set ¶
func (v *NullableListPolicyEventsTypeParameter) Set(val *ListPolicyEventsTypeParameter)
func (*NullableListPolicyEventsTypeParameter) UnmarshalJSON ¶
func (v *NullableListPolicyEventsTypeParameter) UnmarshalJSON(src []byte) error
func (*NullableListPolicyEventsTypeParameter) Unset ¶
func (v *NullableListPolicyEventsTypeParameter) Unset()
type NullableListStripePrices200Response ¶
type NullableListStripePrices200Response struct {
// contains filtered or unexported fields
}
func NewNullableListStripePrices200Response ¶
func NewNullableListStripePrices200Response(val *ListStripePrices200Response) *NullableListStripePrices200Response
func (NullableListStripePrices200Response) Get ¶
func (v NullableListStripePrices200Response) Get() *ListStripePrices200Response
func (NullableListStripePrices200Response) IsSet ¶
func (v NullableListStripePrices200Response) IsSet() bool
func (NullableListStripePrices200Response) MarshalJSON ¶
func (v NullableListStripePrices200Response) MarshalJSON() ([]byte, error)
func (*NullableListStripePrices200Response) Set ¶
func (v *NullableListStripePrices200Response) Set(val *ListStripePrices200Response)
func (*NullableListStripePrices200Response) UnmarshalJSON ¶
func (v *NullableListStripePrices200Response) UnmarshalJSON(src []byte) error
func (*NullableListStripePrices200Response) Unset ¶
func (v *NullableListStripePrices200Response) Unset()
type NullableLockMaxVersion ¶
type NullableLockMaxVersion struct {
// contains filtered or unexported fields
}
func NewNullableLockMaxVersion ¶
func NewNullableLockMaxVersion(val *LockMaxVersion) *NullableLockMaxVersion
func (NullableLockMaxVersion) Get ¶
func (v NullableLockMaxVersion) Get() *LockMaxVersion
func (NullableLockMaxVersion) IsSet ¶
func (v NullableLockMaxVersion) IsSet() bool
func (NullableLockMaxVersion) MarshalJSON ¶
func (v NullableLockMaxVersion) MarshalJSON() ([]byte, error)
func (*NullableLockMaxVersion) Set ¶
func (v *NullableLockMaxVersion) Set(val *LockMaxVersion)
func (*NullableLockMaxVersion) UnmarshalJSON ¶
func (v *NullableLockMaxVersion) UnmarshalJSON(src []byte) error
func (*NullableLockMaxVersion) Unset ¶
func (v *NullableLockMaxVersion) Unset()
type NullableLockMaxVersionMajorAfter ¶
type NullableLockMaxVersionMajorAfter struct {
// contains filtered or unexported fields
}
func NewNullableLockMaxVersionMajorAfter ¶
func NewNullableLockMaxVersionMajorAfter(val *LockMaxVersionMajorAfter) *NullableLockMaxVersionMajorAfter
func (NullableLockMaxVersionMajorAfter) Get ¶
func (v NullableLockMaxVersionMajorAfter) Get() *LockMaxVersionMajorAfter
func (NullableLockMaxVersionMajorAfter) IsSet ¶
func (v NullableLockMaxVersionMajorAfter) IsSet() bool
func (NullableLockMaxVersionMajorAfter) MarshalJSON ¶
func (v NullableLockMaxVersionMajorAfter) MarshalJSON() ([]byte, error)
func (*NullableLockMaxVersionMajorAfter) Set ¶
func (v *NullableLockMaxVersionMajorAfter) Set(val *LockMaxVersionMajorAfter)
func (*NullableLockMaxVersionMajorAfter) UnmarshalJSON ¶
func (v *NullableLockMaxVersionMajorAfter) UnmarshalJSON(src []byte) error
func (*NullableLockMaxVersionMajorAfter) Unset ¶
func (v *NullableLockMaxVersionMajorAfter) Unset()
type NullableLockMaxVersionMajorAfterOneOf ¶
type NullableLockMaxVersionMajorAfterOneOf struct {
// contains filtered or unexported fields
}
func NewNullableLockMaxVersionMajorAfterOneOf ¶
func NewNullableLockMaxVersionMajorAfterOneOf(val *LockMaxVersionMajorAfterOneOf) *NullableLockMaxVersionMajorAfterOneOf
func (NullableLockMaxVersionMajorAfterOneOf) Get ¶
func (v NullableLockMaxVersionMajorAfterOneOf) Get() *LockMaxVersionMajorAfterOneOf
func (NullableLockMaxVersionMajorAfterOneOf) IsSet ¶
func (v NullableLockMaxVersionMajorAfterOneOf) IsSet() bool
func (NullableLockMaxVersionMajorAfterOneOf) MarshalJSON ¶
func (v NullableLockMaxVersionMajorAfterOneOf) MarshalJSON() ([]byte, error)
func (*NullableLockMaxVersionMajorAfterOneOf) Set ¶
func (v *NullableLockMaxVersionMajorAfterOneOf) Set(val *LockMaxVersionMajorAfterOneOf)
func (*NullableLockMaxVersionMajorAfterOneOf) UnmarshalJSON ¶
func (v *NullableLockMaxVersionMajorAfterOneOf) UnmarshalJSON(src []byte) error
func (*NullableLockMaxVersionMajorAfterOneOf) Unset ¶
func (v *NullableLockMaxVersionMajorAfterOneOf) Unset()
type NullableLockMaxVersionMajorAfterOneOf1 ¶
type NullableLockMaxVersionMajorAfterOneOf1 struct {
// contains filtered or unexported fields
}
func NewNullableLockMaxVersionMajorAfterOneOf1 ¶
func NewNullableLockMaxVersionMajorAfterOneOf1(val *LockMaxVersionMajorAfterOneOf1) *NullableLockMaxVersionMajorAfterOneOf1
func (NullableLockMaxVersionMajorAfterOneOf1) Get ¶
func (v NullableLockMaxVersionMajorAfterOneOf1) Get() *LockMaxVersionMajorAfterOneOf1
func (NullableLockMaxVersionMajorAfterOneOf1) IsSet ¶
func (v NullableLockMaxVersionMajorAfterOneOf1) IsSet() bool
func (NullableLockMaxVersionMajorAfterOneOf1) MarshalJSON ¶
func (v NullableLockMaxVersionMajorAfterOneOf1) MarshalJSON() ([]byte, error)
func (*NullableLockMaxVersionMajorAfterOneOf1) Set ¶
func (v *NullableLockMaxVersionMajorAfterOneOf1) Set(val *LockMaxVersionMajorAfterOneOf1)
func (*NullableLockMaxVersionMajorAfterOneOf1) UnmarshalJSON ¶
func (v *NullableLockMaxVersionMajorAfterOneOf1) UnmarshalJSON(src []byte) error
func (*NullableLockMaxVersionMajorAfterOneOf1) Unset ¶
func (v *NullableLockMaxVersionMajorAfterOneOf1) Unset()
type NullableLockMaxVersionMinorAfter ¶
type NullableLockMaxVersionMinorAfter struct {
// contains filtered or unexported fields
}
func NewNullableLockMaxVersionMinorAfter ¶
func NewNullableLockMaxVersionMinorAfter(val *LockMaxVersionMinorAfter) *NullableLockMaxVersionMinorAfter
func (NullableLockMaxVersionMinorAfter) Get ¶
func (v NullableLockMaxVersionMinorAfter) Get() *LockMaxVersionMinorAfter
func (NullableLockMaxVersionMinorAfter) IsSet ¶
func (v NullableLockMaxVersionMinorAfter) IsSet() bool
func (NullableLockMaxVersionMinorAfter) MarshalJSON ¶
func (v NullableLockMaxVersionMinorAfter) MarshalJSON() ([]byte, error)
func (*NullableLockMaxVersionMinorAfter) Set ¶
func (v *NullableLockMaxVersionMinorAfter) Set(val *LockMaxVersionMinorAfter)
func (*NullableLockMaxVersionMinorAfter) UnmarshalJSON ¶
func (v *NullableLockMaxVersionMinorAfter) UnmarshalJSON(src []byte) error
func (*NullableLockMaxVersionMinorAfter) Unset ¶
func (v *NullableLockMaxVersionMinorAfter) Unset()
type NullableMachine ¶
type NullableMachine struct {
// contains filtered or unexported fields
}
func NewNullableMachine ¶
func NewNullableMachine(val *Machine) *NullableMachine
func (NullableMachine) Get ¶
func (v NullableMachine) Get() *Machine
func (NullableMachine) IsSet ¶
func (v NullableMachine) IsSet() bool
func (NullableMachine) MarshalJSON ¶
func (v NullableMachine) MarshalJSON() ([]byte, error)
func (*NullableMachine) Set ¶
func (v *NullableMachine) Set(val *Machine)
func (*NullableMachine) UnmarshalJSON ¶
func (v *NullableMachine) UnmarshalJSON(src []byte) error
func (*NullableMachine) Unset ¶
func (v *NullableMachine) Unset()
type NullableMachineList ¶
type NullableMachineList struct {
// contains filtered or unexported fields
}
func NewNullableMachineList ¶
func NewNullableMachineList(val *MachineList) *NullableMachineList
func (NullableMachineList) Get ¶
func (v NullableMachineList) Get() *MachineList
func (NullableMachineList) IsSet ¶
func (v NullableMachineList) IsSet() bool
func (NullableMachineList) MarshalJSON ¶
func (v NullableMachineList) MarshalJSON() ([]byte, error)
func (*NullableMachineList) Set ¶
func (v *NullableMachineList) Set(val *MachineList)
func (*NullableMachineList) UnmarshalJSON ¶
func (v *NullableMachineList) UnmarshalJSON(src []byte) error
func (*NullableMachineList) Unset ¶
func (v *NullableMachineList) Unset()
type NullablePagination ¶
type NullablePagination struct {
// contains filtered or unexported fields
}
func NewNullablePagination ¶
func NewNullablePagination(val *Pagination) *NullablePagination
func (NullablePagination) Get ¶
func (v NullablePagination) Get() *Pagination
func (NullablePagination) IsSet ¶
func (v NullablePagination) IsSet() bool
func (NullablePagination) MarshalJSON ¶
func (v NullablePagination) MarshalJSON() ([]byte, error)
func (*NullablePagination) Set ¶
func (v *NullablePagination) Set(val *Pagination)
func (*NullablePagination) UnmarshalJSON ¶
func (v *NullablePagination) UnmarshalJSON(src []byte) error
func (*NullablePagination) Unset ¶
func (v *NullablePagination) Unset()
type NullablePolicy ¶
type NullablePolicy struct {
// contains filtered or unexported fields
}
func NewNullablePolicy ¶
func NewNullablePolicy(val *Policy) *NullablePolicy
func (NullablePolicy) Get ¶
func (v NullablePolicy) Get() *Policy
func (NullablePolicy) IsSet ¶
func (v NullablePolicy) IsSet() bool
func (NullablePolicy) MarshalJSON ¶
func (v NullablePolicy) MarshalJSON() ([]byte, error)
func (*NullablePolicy) Set ¶
func (v *NullablePolicy) Set(val *Policy)
func (*NullablePolicy) UnmarshalJSON ¶
func (v *NullablePolicy) UnmarshalJSON(src []byte) error
func (*NullablePolicy) Unset ¶
func (v *NullablePolicy) Unset()
type NullablePolicyDuration ¶
type NullablePolicyDuration struct {
// contains filtered or unexported fields
}
func NewNullablePolicyDuration ¶
func NewNullablePolicyDuration(val *PolicyDuration) *NullablePolicyDuration
func (NullablePolicyDuration) Get ¶
func (v NullablePolicyDuration) Get() *PolicyDuration
func (NullablePolicyDuration) IsSet ¶
func (v NullablePolicyDuration) IsSet() bool
func (NullablePolicyDuration) MarshalJSON ¶
func (v NullablePolicyDuration) MarshalJSON() ([]byte, error)
func (*NullablePolicyDuration) Set ¶
func (v *NullablePolicyDuration) Set(val *PolicyDuration)
func (*NullablePolicyDuration) UnmarshalJSON ¶
func (v *NullablePolicyDuration) UnmarshalJSON(src []byte) error
func (*NullablePolicyDuration) Unset ¶
func (v *NullablePolicyDuration) Unset()
type NullablePolicyList ¶
type NullablePolicyList struct {
// contains filtered or unexported fields
}
func NewNullablePolicyList ¶
func NewNullablePolicyList(val *PolicyList) *NullablePolicyList
func (NullablePolicyList) Get ¶
func (v NullablePolicyList) Get() *PolicyList
func (NullablePolicyList) IsSet ¶
func (v NullablePolicyList) IsSet() bool
func (NullablePolicyList) MarshalJSON ¶
func (v NullablePolicyList) MarshalJSON() ([]byte, error)
func (*NullablePolicyList) Set ¶
func (v *NullablePolicyList) Set(val *PolicyList)
func (*NullablePolicyList) UnmarshalJSON ¶
func (v *NullablePolicyList) UnmarshalJSON(src []byte) error
func (*NullablePolicyList) Unset ¶
func (v *NullablePolicyList) Unset()
type NullablePolicyMaxVersion ¶
type NullablePolicyMaxVersion struct {
// contains filtered or unexported fields
}
func NewNullablePolicyMaxVersion ¶
func NewNullablePolicyMaxVersion(val *PolicyMaxVersion) *NullablePolicyMaxVersion
func (NullablePolicyMaxVersion) Get ¶
func (v NullablePolicyMaxVersion) Get() *PolicyMaxVersion
func (NullablePolicyMaxVersion) IsSet ¶
func (v NullablePolicyMaxVersion) IsSet() bool
func (NullablePolicyMaxVersion) MarshalJSON ¶
func (v NullablePolicyMaxVersion) MarshalJSON() ([]byte, error)
func (*NullablePolicyMaxVersion) Set ¶
func (v *NullablePolicyMaxVersion) Set(val *PolicyMaxVersion)
func (*NullablePolicyMaxVersion) UnmarshalJSON ¶
func (v *NullablePolicyMaxVersion) UnmarshalJSON(src []byte) error
func (*NullablePolicyMaxVersion) Unset ¶
func (v *NullablePolicyMaxVersion) Unset()
type NullablePolicySettings ¶
type NullablePolicySettings struct {
// contains filtered or unexported fields
}
func NewNullablePolicySettings ¶
func NewNullablePolicySettings(val *PolicySettings) *NullablePolicySettings
func (NullablePolicySettings) Get ¶
func (v NullablePolicySettings) Get() *PolicySettings
func (NullablePolicySettings) IsSet ¶
func (v NullablePolicySettings) IsSet() bool
func (NullablePolicySettings) MarshalJSON ¶
func (v NullablePolicySettings) MarshalJSON() ([]byte, error)
func (*NullablePolicySettings) Set ¶
func (v *NullablePolicySettings) Set(val *PolicySettings)
func (*NullablePolicySettings) UnmarshalJSON ¶
func (v *NullablePolicySettings) UnmarshalJSON(src []byte) error
func (*NullablePolicySettings) Unset ¶
func (v *NullablePolicySettings) Unset()
type NullablePolicySettingsDuration ¶
type NullablePolicySettingsDuration struct {
// contains filtered or unexported fields
}
func NewNullablePolicySettingsDuration ¶
func NewNullablePolicySettingsDuration(val *PolicySettingsDuration) *NullablePolicySettingsDuration
func (NullablePolicySettingsDuration) Get ¶
func (v NullablePolicySettingsDuration) Get() *PolicySettingsDuration
func (NullablePolicySettingsDuration) IsSet ¶
func (v NullablePolicySettingsDuration) IsSet() bool
func (NullablePolicySettingsDuration) MarshalJSON ¶
func (v NullablePolicySettingsDuration) MarshalJSON() ([]byte, error)
func (*NullablePolicySettingsDuration) Set ¶
func (v *NullablePolicySettingsDuration) Set(val *PolicySettingsDuration)
func (*NullablePolicySettingsDuration) UnmarshalJSON ¶
func (v *NullablePolicySettingsDuration) UnmarshalJSON(src []byte) error
func (*NullablePolicySettingsDuration) Unset ¶
func (v *NullablePolicySettingsDuration) Unset()
type NullablePolicySettingsDurationAnyOf ¶
type NullablePolicySettingsDurationAnyOf struct {
// contains filtered or unexported fields
}
func NewNullablePolicySettingsDurationAnyOf ¶
func NewNullablePolicySettingsDurationAnyOf(val *PolicySettingsDurationAnyOf) *NullablePolicySettingsDurationAnyOf
func (NullablePolicySettingsDurationAnyOf) Get ¶
func (v NullablePolicySettingsDurationAnyOf) Get() *PolicySettingsDurationAnyOf
func (NullablePolicySettingsDurationAnyOf) IsSet ¶
func (v NullablePolicySettingsDurationAnyOf) IsSet() bool
func (NullablePolicySettingsDurationAnyOf) MarshalJSON ¶
func (v NullablePolicySettingsDurationAnyOf) MarshalJSON() ([]byte, error)
func (*NullablePolicySettingsDurationAnyOf) Set ¶
func (v *NullablePolicySettingsDurationAnyOf) Set(val *PolicySettingsDurationAnyOf)
func (*NullablePolicySettingsDurationAnyOf) UnmarshalJSON ¶
func (v *NullablePolicySettingsDurationAnyOf) UnmarshalJSON(src []byte) error
func (*NullablePolicySettingsDurationAnyOf) Unset ¶
func (v *NullablePolicySettingsDurationAnyOf) Unset()
type NullablePolicySettingsDurationAnyOf1 ¶
type NullablePolicySettingsDurationAnyOf1 struct {
// contains filtered or unexported fields
}
func NewNullablePolicySettingsDurationAnyOf1 ¶
func NewNullablePolicySettingsDurationAnyOf1(val *PolicySettingsDurationAnyOf1) *NullablePolicySettingsDurationAnyOf1
func (NullablePolicySettingsDurationAnyOf1) Get ¶
func (v NullablePolicySettingsDurationAnyOf1) Get() *PolicySettingsDurationAnyOf1
func (NullablePolicySettingsDurationAnyOf1) IsSet ¶
func (v NullablePolicySettingsDurationAnyOf1) IsSet() bool
func (NullablePolicySettingsDurationAnyOf1) MarshalJSON ¶
func (v NullablePolicySettingsDurationAnyOf1) MarshalJSON() ([]byte, error)
func (*NullablePolicySettingsDurationAnyOf1) Set ¶
func (v *NullablePolicySettingsDurationAnyOf1) Set(val *PolicySettingsDurationAnyOf1)
func (*NullablePolicySettingsDurationAnyOf1) UnmarshalJSON ¶
func (v *NullablePolicySettingsDurationAnyOf1) UnmarshalJSON(src []byte) error
func (*NullablePolicySettingsDurationAnyOf1) Unset ¶
func (v *NullablePolicySettingsDurationAnyOf1) Unset()
type NullablePolicySettingsMaxVersion ¶
type NullablePolicySettingsMaxVersion struct {
// contains filtered or unexported fields
}
func NewNullablePolicySettingsMaxVersion ¶
func NewNullablePolicySettingsMaxVersion(val *PolicySettingsMaxVersion) *NullablePolicySettingsMaxVersion
func (NullablePolicySettingsMaxVersion) Get ¶
func (v NullablePolicySettingsMaxVersion) Get() *PolicySettingsMaxVersion
func (NullablePolicySettingsMaxVersion) IsSet ¶
func (v NullablePolicySettingsMaxVersion) IsSet() bool
func (NullablePolicySettingsMaxVersion) MarshalJSON ¶
func (v NullablePolicySettingsMaxVersion) MarshalJSON() ([]byte, error)
func (*NullablePolicySettingsMaxVersion) Set ¶
func (v *NullablePolicySettingsMaxVersion) Set(val *PolicySettingsMaxVersion)
func (*NullablePolicySettingsMaxVersion) UnmarshalJSON ¶
func (v *NullablePolicySettingsMaxVersion) UnmarshalJSON(src []byte) error
func (*NullablePolicySettingsMaxVersion) Unset ¶
func (v *NullablePolicySettingsMaxVersion) Unset()
type NullablePortal ¶
type NullablePortal struct {
// contains filtered or unexported fields
}
func NewNullablePortal ¶
func NewNullablePortal(val *Portal) *NullablePortal
func (NullablePortal) Get ¶
func (v NullablePortal) Get() *Portal
func (NullablePortal) IsSet ¶
func (v NullablePortal) IsSet() bool
func (NullablePortal) MarshalJSON ¶
func (v NullablePortal) MarshalJSON() ([]byte, error)
func (*NullablePortal) Set ¶
func (v *NullablePortal) Set(val *Portal)
func (*NullablePortal) UnmarshalJSON ¶
func (v *NullablePortal) UnmarshalJSON(src []byte) error
func (*NullablePortal) Unset ¶
func (v *NullablePortal) Unset()
type NullablePortalLink ¶
type NullablePortalLink struct {
// contains filtered or unexported fields
}
func NewNullablePortalLink ¶
func NewNullablePortalLink(val *PortalLink) *NullablePortalLink
func (NullablePortalLink) Get ¶
func (v NullablePortalLink) Get() *PortalLink
func (NullablePortalLink) IsSet ¶
func (v NullablePortalLink) IsSet() bool
func (NullablePortalLink) MarshalJSON ¶
func (v NullablePortalLink) MarshalJSON() ([]byte, error)
func (*NullablePortalLink) Set ¶
func (v *NullablePortalLink) Set(val *PortalLink)
func (*NullablePortalLink) UnmarshalJSON ¶
func (v *NullablePortalLink) UnmarshalJSON(src []byte) error
func (*NullablePortalLink) Unset ¶
func (v *NullablePortalLink) Unset()
type NullablePortalNotFound ¶
type NullablePortalNotFound struct {
// contains filtered or unexported fields
}
func NewNullablePortalNotFound ¶
func NewNullablePortalNotFound(val *PortalNotFound) *NullablePortalNotFound
func (NullablePortalNotFound) Get ¶
func (v NullablePortalNotFound) Get() *PortalNotFound
func (NullablePortalNotFound) IsSet ¶
func (v NullablePortalNotFound) IsSet() bool
func (NullablePortalNotFound) MarshalJSON ¶
func (v NullablePortalNotFound) MarshalJSON() ([]byte, error)
func (*NullablePortalNotFound) Set ¶
func (v *NullablePortalNotFound) Set(val *PortalNotFound)
func (*NullablePortalNotFound) UnmarshalJSON ¶
func (v *NullablePortalNotFound) UnmarshalJSON(src []byte) error
func (*NullablePortalNotFound) Unset ¶
func (v *NullablePortalNotFound) Unset()
type NullablePortalSettings ¶
type NullablePortalSettings struct {
// contains filtered or unexported fields
}
func NewNullablePortalSettings ¶
func NewNullablePortalSettings(val *PortalSettings) *NullablePortalSettings
func (NullablePortalSettings) Get ¶
func (v NullablePortalSettings) Get() *PortalSettings
func (NullablePortalSettings) IsSet ¶
func (v NullablePortalSettings) IsSet() bool
func (NullablePortalSettings) MarshalJSON ¶
func (v NullablePortalSettings) MarshalJSON() ([]byte, error)
func (*NullablePortalSettings) Set ¶
func (v *NullablePortalSettings) Set(val *PortalSettings)
func (*NullablePortalSettings) UnmarshalJSON ¶
func (v *NullablePortalSettings) UnmarshalJSON(src []byte) error
func (*NullablePortalSettings) Unset ¶
func (v *NullablePortalSettings) Unset()
type NullablePrice ¶
type NullablePrice struct {
// contains filtered or unexported fields
}
func NewNullablePrice ¶
func NewNullablePrice(val *Price) *NullablePrice
func (NullablePrice) Get ¶
func (v NullablePrice) Get() *Price
func (NullablePrice) IsSet ¶
func (v NullablePrice) IsSet() bool
func (NullablePrice) MarshalJSON ¶
func (v NullablePrice) MarshalJSON() ([]byte, error)
func (*NullablePrice) Set ¶
func (v *NullablePrice) Set(val *Price)
func (*NullablePrice) UnmarshalJSON ¶
func (v *NullablePrice) UnmarshalJSON(src []byte) error
func (*NullablePrice) Unset ¶
func (v *NullablePrice) Unset()
type NullablePriceInput ¶
type NullablePriceInput struct {
// contains filtered or unexported fields
}
func NewNullablePriceInput ¶
func NewNullablePriceInput(val *PriceInput) *NullablePriceInput
func (NullablePriceInput) Get ¶
func (v NullablePriceInput) Get() *PriceInput
func (NullablePriceInput) IsSet ¶
func (v NullablePriceInput) IsSet() bool
func (NullablePriceInput) MarshalJSON ¶
func (v NullablePriceInput) MarshalJSON() ([]byte, error)
func (*NullablePriceInput) Set ¶
func (v *NullablePriceInput) Set(val *PriceInput)
func (*NullablePriceInput) UnmarshalJSON ¶
func (v *NullablePriceInput) UnmarshalJSON(src []byte) error
func (*NullablePriceInput) Unset ¶
func (v *NullablePriceInput) Unset()
type NullableProduct ¶
type NullableProduct struct {
// contains filtered or unexported fields
}
func NewNullableProduct ¶
func NewNullableProduct(val *Product) *NullableProduct
func (NullableProduct) Get ¶
func (v NullableProduct) Get() *Product
func (NullableProduct) IsSet ¶
func (v NullableProduct) IsSet() bool
func (NullableProduct) MarshalJSON ¶
func (v NullableProduct) MarshalJSON() ([]byte, error)
func (*NullableProduct) Set ¶
func (v *NullableProduct) Set(val *Product)
func (*NullableProduct) UnmarshalJSON ¶
func (v *NullableProduct) UnmarshalJSON(src []byte) error
func (*NullableProduct) Unset ¶
func (v *NullableProduct) Unset()
type NullableProductList ¶
type NullableProductList struct {
// contains filtered or unexported fields
}
func NewNullableProductList ¶
func NewNullableProductList(val *ProductList) *NullableProductList
func (NullableProductList) Get ¶
func (v NullableProductList) Get() *ProductList
func (NullableProductList) IsSet ¶
func (v NullableProductList) IsSet() bool
func (NullableProductList) MarshalJSON ¶
func (v NullableProductList) MarshalJSON() ([]byte, error)
func (*NullableProductList) Set ¶
func (v *NullableProductList) Set(val *ProductList)
func (*NullableProductList) UnmarshalJSON ¶
func (v *NullableProductList) UnmarshalJSON(src []byte) error
func (*NullableProductList) Unset ¶
func (v *NullableProductList) Unset()
type NullableProductStats ¶
type NullableProductStats struct {
// contains filtered or unexported fields
}
func NewNullableProductStats ¶
func NewNullableProductStats(val *ProductStats) *NullableProductStats
func (NullableProductStats) Get ¶
func (v NullableProductStats) Get() *ProductStats
func (NullableProductStats) IsSet ¶
func (v NullableProductStats) IsSet() bool
func (NullableProductStats) MarshalJSON ¶
func (v NullableProductStats) MarshalJSON() ([]byte, error)
func (*NullableProductStats) Set ¶
func (v *NullableProductStats) Set(val *ProductStats)
func (*NullableProductStats) UnmarshalJSON ¶
func (v *NullableProductStats) UnmarshalJSON(src []byte) error
func (*NullableProductStats) Unset ¶
func (v *NullableProductStats) Unset()
type NullableProductStatsActivationsByVersionInner ¶
type NullableProductStatsActivationsByVersionInner struct {
// contains filtered or unexported fields
}
func NewNullableProductStatsActivationsByVersionInner ¶
func NewNullableProductStatsActivationsByVersionInner(val *ProductStatsActivationsByVersionInner) *NullableProductStatsActivationsByVersionInner
func (NullableProductStatsActivationsByVersionInner) IsSet ¶
func (v NullableProductStatsActivationsByVersionInner) IsSet() bool
func (NullableProductStatsActivationsByVersionInner) MarshalJSON ¶
func (v NullableProductStatsActivationsByVersionInner) MarshalJSON() ([]byte, error)
func (*NullableProductStatsActivationsByVersionInner) Set ¶
func (v *NullableProductStatsActivationsByVersionInner) Set(val *ProductStatsActivationsByVersionInner)
func (*NullableProductStatsActivationsByVersionInner) UnmarshalJSON ¶
func (v *NullableProductStatsActivationsByVersionInner) UnmarshalJSON(src []byte) error
func (*NullableProductStatsActivationsByVersionInner) Unset ¶
func (v *NullableProductStatsActivationsByVersionInner) Unset()
type NullableProductStatsActiveMachinesByPlatformInner ¶
type NullableProductStatsActiveMachinesByPlatformInner struct {
// contains filtered or unexported fields
}
func NewNullableProductStatsActiveMachinesByPlatformInner ¶
func NewNullableProductStatsActiveMachinesByPlatformInner(val *ProductStatsActiveMachinesByPlatformInner) *NullableProductStatsActiveMachinesByPlatformInner
func (NullableProductStatsActiveMachinesByPlatformInner) IsSet ¶
func (v NullableProductStatsActiveMachinesByPlatformInner) IsSet() bool
func (NullableProductStatsActiveMachinesByPlatformInner) MarshalJSON ¶
func (v NullableProductStatsActiveMachinesByPlatformInner) MarshalJSON() ([]byte, error)
func (*NullableProductStatsActiveMachinesByPlatformInner) UnmarshalJSON ¶
func (v *NullableProductStatsActiveMachinesByPlatformInner) UnmarshalJSON(src []byte) error
func (*NullableProductStatsActiveMachinesByPlatformInner) Unset ¶
func (v *NullableProductStatsActiveMachinesByPlatformInner) Unset()
type NullableProductStatsActiveMachinesByVersionInner ¶
type NullableProductStatsActiveMachinesByVersionInner struct {
// contains filtered or unexported fields
}
func NewNullableProductStatsActiveMachinesByVersionInner ¶
func NewNullableProductStatsActiveMachinesByVersionInner(val *ProductStatsActiveMachinesByVersionInner) *NullableProductStatsActiveMachinesByVersionInner
func (NullableProductStatsActiveMachinesByVersionInner) IsSet ¶
func (v NullableProductStatsActiveMachinesByVersionInner) IsSet() bool
func (NullableProductStatsActiveMachinesByVersionInner) MarshalJSON ¶
func (v NullableProductStatsActiveMachinesByVersionInner) MarshalJSON() ([]byte, error)
func (*NullableProductStatsActiveMachinesByVersionInner) UnmarshalJSON ¶
func (v *NullableProductStatsActiveMachinesByVersionInner) UnmarshalJSON(src []byte) error
func (*NullableProductStatsActiveMachinesByVersionInner) Unset ¶
func (v *NullableProductStatsActiveMachinesByVersionInner) Unset()
type NullableProductStatsNewLicensesByPolicyInner ¶
type NullableProductStatsNewLicensesByPolicyInner struct {
// contains filtered or unexported fields
}
func NewNullableProductStatsNewLicensesByPolicyInner ¶
func NewNullableProductStatsNewLicensesByPolicyInner(val *ProductStatsNewLicensesByPolicyInner) *NullableProductStatsNewLicensesByPolicyInner
func (NullableProductStatsNewLicensesByPolicyInner) IsSet ¶
func (v NullableProductStatsNewLicensesByPolicyInner) IsSet() bool
func (NullableProductStatsNewLicensesByPolicyInner) MarshalJSON ¶
func (v NullableProductStatsNewLicensesByPolicyInner) MarshalJSON() ([]byte, error)
func (*NullableProductStatsNewLicensesByPolicyInner) Set ¶
func (v *NullableProductStatsNewLicensesByPolicyInner) Set(val *ProductStatsNewLicensesByPolicyInner)
func (*NullableProductStatsNewLicensesByPolicyInner) UnmarshalJSON ¶
func (v *NullableProductStatsNewLicensesByPolicyInner) UnmarshalJSON(src []byte) error
func (*NullableProductStatsNewLicensesByPolicyInner) Unset ¶
func (v *NullableProductStatsNewLicensesByPolicyInner) Unset()
type NullableRelease ¶
type NullableRelease struct {
// contains filtered or unexported fields
}
func NewNullableRelease ¶
func NewNullableRelease(val *Release) *NullableRelease
func (NullableRelease) Get ¶
func (v NullableRelease) Get() *Release
func (NullableRelease) IsSet ¶
func (v NullableRelease) IsSet() bool
func (NullableRelease) MarshalJSON ¶
func (v NullableRelease) MarshalJSON() ([]byte, error)
func (*NullableRelease) Set ¶
func (v *NullableRelease) Set(val *Release)
func (*NullableRelease) UnmarshalJSON ¶
func (v *NullableRelease) UnmarshalJSON(src []byte) error
func (*NullableRelease) Unset ¶
func (v *NullableRelease) Unset()
type NullableReleaseList ¶
type NullableReleaseList struct {
// contains filtered or unexported fields
}
func NewNullableReleaseList ¶
func NewNullableReleaseList(val *ReleaseList) *NullableReleaseList
func (NullableReleaseList) Get ¶
func (v NullableReleaseList) Get() *ReleaseList
func (NullableReleaseList) IsSet ¶
func (v NullableReleaseList) IsSet() bool
func (NullableReleaseList) MarshalJSON ¶
func (v NullableReleaseList) MarshalJSON() ([]byte, error)
func (*NullableReleaseList) Set ¶
func (v *NullableReleaseList) Set(val *ReleaseList)
func (*NullableReleaseList) UnmarshalJSON ¶
func (v *NullableReleaseList) UnmarshalJSON(src []byte) error
func (*NullableReleaseList) Unset ¶
func (v *NullableReleaseList) Unset()
type NullableRequestPortalLink ¶
type NullableRequestPortalLink struct {
// contains filtered or unexported fields
}
func NewNullableRequestPortalLink ¶
func NewNullableRequestPortalLink(val *RequestPortalLink) *NullableRequestPortalLink
func (NullableRequestPortalLink) Get ¶
func (v NullableRequestPortalLink) Get() *RequestPortalLink
func (NullableRequestPortalLink) IsSet ¶
func (v NullableRequestPortalLink) IsSet() bool
func (NullableRequestPortalLink) MarshalJSON ¶
func (v NullableRequestPortalLink) MarshalJSON() ([]byte, error)
func (*NullableRequestPortalLink) Set ¶
func (v *NullableRequestPortalLink) Set(val *RequestPortalLink)
func (*NullableRequestPortalLink) UnmarshalJSON ¶
func (v *NullableRequestPortalLink) UnmarshalJSON(src []byte) error
func (*NullableRequestPortalLink) Unset ¶
func (v *NullableRequestPortalLink) Unset()
type NullableRevenue ¶
type NullableRevenue struct {
// contains filtered or unexported fields
}
func NewNullableRevenue ¶
func NewNullableRevenue(val *Revenue) *NullableRevenue
func (NullableRevenue) Get ¶
func (v NullableRevenue) Get() *Revenue
func (NullableRevenue) IsSet ¶
func (v NullableRevenue) IsSet() bool
func (NullableRevenue) MarshalJSON ¶
func (v NullableRevenue) MarshalJSON() ([]byte, error)
func (*NullableRevenue) Set ¶
func (v *NullableRevenue) Set(val *Revenue)
func (*NullableRevenue) UnmarshalJSON ¶
func (v *NullableRevenue) UnmarshalJSON(src []byte) error
func (*NullableRevenue) Unset ¶
func (v *NullableRevenue) Unset()
type NullableSendLicenseKeys ¶
type NullableSendLicenseKeys struct {
// contains filtered or unexported fields
}
func NewNullableSendLicenseKeys ¶
func NewNullableSendLicenseKeys(val *SendLicenseKeys) *NullableSendLicenseKeys
func (NullableSendLicenseKeys) Get ¶
func (v NullableSendLicenseKeys) Get() *SendLicenseKeys
func (NullableSendLicenseKeys) IsSet ¶
func (v NullableSendLicenseKeys) IsSet() bool
func (NullableSendLicenseKeys) MarshalJSON ¶
func (v NullableSendLicenseKeys) MarshalJSON() ([]byte, error)
func (*NullableSendLicenseKeys) Set ¶
func (v *NullableSendLicenseKeys) Set(val *SendLicenseKeys)
func (*NullableSendLicenseKeys) UnmarshalJSON ¶
func (v *NullableSendLicenseKeys) UnmarshalJSON(src []byte) error
func (*NullableSendLicenseKeys) Unset ¶
func (v *NullableSendLicenseKeys) Unset()
type NullableSendPortalLink ¶
type NullableSendPortalLink struct {
// contains filtered or unexported fields
}
func NewNullableSendPortalLink ¶
func NewNullableSendPortalLink(val *SendPortalLink) *NullableSendPortalLink
func (NullableSendPortalLink) Get ¶
func (v NullableSendPortalLink) Get() *SendPortalLink
func (NullableSendPortalLink) IsSet ¶
func (v NullableSendPortalLink) IsSet() bool
func (NullableSendPortalLink) MarshalJSON ¶
func (v NullableSendPortalLink) MarshalJSON() ([]byte, error)
func (*NullableSendPortalLink) Set ¶
func (v *NullableSendPortalLink) Set(val *SendPortalLink)
func (*NullableSendPortalLink) UnmarshalJSON ¶
func (v *NullableSendPortalLink) UnmarshalJSON(src []byte) error
func (*NullableSendPortalLink) Unset ¶
func (v *NullableSendPortalLink) Unset()
type NullableSigningKey ¶
type NullableSigningKey struct {
// contains filtered or unexported fields
}
func NewNullableSigningKey ¶
func NewNullableSigningKey(val *SigningKey) *NullableSigningKey
func (NullableSigningKey) Get ¶
func (v NullableSigningKey) Get() *SigningKey
func (NullableSigningKey) IsSet ¶
func (v NullableSigningKey) IsSet() bool
func (NullableSigningKey) MarshalJSON ¶
func (v NullableSigningKey) MarshalJSON() ([]byte, error)
func (*NullableSigningKey) Set ¶
func (v *NullableSigningKey) Set(val *SigningKey)
func (*NullableSigningKey) UnmarshalJSON ¶
func (v *NullableSigningKey) UnmarshalJSON(src []byte) error
func (*NullableSigningKey) Unset ¶
func (v *NullableSigningKey) 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 NullableStripeIntegration ¶
type NullableStripeIntegration struct {
// contains filtered or unexported fields
}
func NewNullableStripeIntegration ¶
func NewNullableStripeIntegration(val *StripeIntegration) *NullableStripeIntegration
func (NullableStripeIntegration) Get ¶
func (v NullableStripeIntegration) Get() *StripeIntegration
func (NullableStripeIntegration) IsSet ¶
func (v NullableStripeIntegration) IsSet() bool
func (NullableStripeIntegration) MarshalJSON ¶
func (v NullableStripeIntegration) MarshalJSON() ([]byte, error)
func (*NullableStripeIntegration) Set ¶
func (v *NullableStripeIntegration) Set(val *StripeIntegration)
func (*NullableStripeIntegration) UnmarshalJSON ¶
func (v *NullableStripeIntegration) UnmarshalJSON(src []byte) error
func (*NullableStripeIntegration) Unset ¶
func (v *NullableStripeIntegration) Unset()
type NullableStripePermission ¶
type NullableStripePermission struct {
// contains filtered or unexported fields
}
func NewNullableStripePermission ¶
func NewNullableStripePermission(val *StripePermission) *NullableStripePermission
func (NullableStripePermission) Get ¶
func (v NullableStripePermission) Get() *StripePermission
func (NullableStripePermission) IsSet ¶
func (v NullableStripePermission) IsSet() bool
func (NullableStripePermission) MarshalJSON ¶
func (v NullableStripePermission) MarshalJSON() ([]byte, error)
func (*NullableStripePermission) Set ¶
func (v *NullableStripePermission) Set(val *StripePermission)
func (*NullableStripePermission) UnmarshalJSON ¶
func (v *NullableStripePermission) UnmarshalJSON(src []byte) error
func (*NullableStripePermission) Unset ¶
func (v *NullableStripePermission) Unset()
type NullableStripePrice ¶
type NullableStripePrice struct {
// contains filtered or unexported fields
}
func NewNullableStripePrice ¶
func NewNullableStripePrice(val *StripePrice) *NullableStripePrice
func (NullableStripePrice) Get ¶
func (v NullableStripePrice) Get() *StripePrice
func (NullableStripePrice) IsSet ¶
func (v NullableStripePrice) IsSet() bool
func (NullableStripePrice) MarshalJSON ¶
func (v NullableStripePrice) MarshalJSON() ([]byte, error)
func (*NullableStripePrice) Set ¶
func (v *NullableStripePrice) Set(val *StripePrice)
func (*NullableStripePrice) UnmarshalJSON ¶
func (v *NullableStripePrice) UnmarshalJSON(src []byte) error
func (*NullableStripePrice) Unset ¶
func (v *NullableStripePrice) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableToken ¶
type NullableToken struct {
// contains filtered or unexported fields
}
func NewNullableToken ¶
func NewNullableToken(val *Token) *NullableToken
func (NullableToken) Get ¶
func (v NullableToken) Get() *Token
func (NullableToken) IsSet ¶
func (v NullableToken) IsSet() bool
func (NullableToken) MarshalJSON ¶
func (v NullableToken) MarshalJSON() ([]byte, error)
func (*NullableToken) Set ¶
func (v *NullableToken) Set(val *Token)
func (*NullableToken) UnmarshalJSON ¶
func (v *NullableToken) UnmarshalJSON(src []byte) error
func (*NullableToken) Unset ¶
func (v *NullableToken) Unset()
type NullableUpdateCustomer ¶
type NullableUpdateCustomer struct {
// contains filtered or unexported fields
}
func NewNullableUpdateCustomer ¶
func NewNullableUpdateCustomer(val *UpdateCustomer) *NullableUpdateCustomer
func (NullableUpdateCustomer) Get ¶
func (v NullableUpdateCustomer) Get() *UpdateCustomer
func (NullableUpdateCustomer) IsSet ¶
func (v NullableUpdateCustomer) IsSet() bool
func (NullableUpdateCustomer) MarshalJSON ¶
func (v NullableUpdateCustomer) MarshalJSON() ([]byte, error)
func (*NullableUpdateCustomer) Set ¶
func (v *NullableUpdateCustomer) Set(val *UpdateCustomer)
func (*NullableUpdateCustomer) UnmarshalJSON ¶
func (v *NullableUpdateCustomer) UnmarshalJSON(src []byte) error
func (*NullableUpdateCustomer) Unset ¶
func (v *NullableUpdateCustomer) Unset()
type NullableUpdateIntegrationMapping ¶
type NullableUpdateIntegrationMapping struct {
// contains filtered or unexported fields
}
func NewNullableUpdateIntegrationMapping ¶
func NewNullableUpdateIntegrationMapping(val *UpdateIntegrationMapping) *NullableUpdateIntegrationMapping
func (NullableUpdateIntegrationMapping) Get ¶
func (v NullableUpdateIntegrationMapping) Get() *UpdateIntegrationMapping
func (NullableUpdateIntegrationMapping) IsSet ¶
func (v NullableUpdateIntegrationMapping) IsSet() bool
func (NullableUpdateIntegrationMapping) MarshalJSON ¶
func (v NullableUpdateIntegrationMapping) MarshalJSON() ([]byte, error)
func (*NullableUpdateIntegrationMapping) Set ¶
func (v *NullableUpdateIntegrationMapping) Set(val *UpdateIntegrationMapping)
func (*NullableUpdateIntegrationMapping) UnmarshalJSON ¶
func (v *NullableUpdateIntegrationMapping) UnmarshalJSON(src []byte) error
func (*NullableUpdateIntegrationMapping) Unset ¶
func (v *NullableUpdateIntegrationMapping) Unset()
type NullableUpdateLicense ¶
type NullableUpdateLicense struct {
// contains filtered or unexported fields
}
func NewNullableUpdateLicense ¶
func NewNullableUpdateLicense(val *UpdateLicense) *NullableUpdateLicense
func (NullableUpdateLicense) Get ¶
func (v NullableUpdateLicense) Get() *UpdateLicense
func (NullableUpdateLicense) IsSet ¶
func (v NullableUpdateLicense) IsSet() bool
func (NullableUpdateLicense) MarshalJSON ¶
func (v NullableUpdateLicense) MarshalJSON() ([]byte, error)
func (*NullableUpdateLicense) Set ¶
func (v *NullableUpdateLicense) Set(val *UpdateLicense)
func (*NullableUpdateLicense) UnmarshalJSON ¶
func (v *NullableUpdateLicense) UnmarshalJSON(src []byte) error
func (*NullableUpdateLicense) Unset ¶
func (v *NullableUpdateLicense) Unset()
type NullableUpdatePolicy ¶
type NullableUpdatePolicy struct {
// contains filtered or unexported fields
}
func NewNullableUpdatePolicy ¶
func NewNullableUpdatePolicy(val *UpdatePolicy) *NullableUpdatePolicy
func (NullableUpdatePolicy) Get ¶
func (v NullableUpdatePolicy) Get() *UpdatePolicy
func (NullableUpdatePolicy) IsSet ¶
func (v NullableUpdatePolicy) IsSet() bool
func (NullableUpdatePolicy) MarshalJSON ¶
func (v NullableUpdatePolicy) MarshalJSON() ([]byte, error)
func (*NullableUpdatePolicy) Set ¶
func (v *NullableUpdatePolicy) Set(val *UpdatePolicy)
func (*NullableUpdatePolicy) UnmarshalJSON ¶
func (v *NullableUpdatePolicy) UnmarshalJSON(src []byte) error
func (*NullableUpdatePolicy) Unset ¶
func (v *NullableUpdatePolicy) Unset()
type NullableUpdateProduct ¶
type NullableUpdateProduct struct {
// contains filtered or unexported fields
}
func NewNullableUpdateProduct ¶
func NewNullableUpdateProduct(val *UpdateProduct) *NullableUpdateProduct
func (NullableUpdateProduct) Get ¶
func (v NullableUpdateProduct) Get() *UpdateProduct
func (NullableUpdateProduct) IsSet ¶
func (v NullableUpdateProduct) IsSet() bool
func (NullableUpdateProduct) MarshalJSON ¶
func (v NullableUpdateProduct) MarshalJSON() ([]byte, error)
func (*NullableUpdateProduct) Set ¶
func (v *NullableUpdateProduct) Set(val *UpdateProduct)
func (*NullableUpdateProduct) UnmarshalJSON ¶
func (v *NullableUpdateProduct) UnmarshalJSON(src []byte) error
func (*NullableUpdateProduct) Unset ¶
func (v *NullableUpdateProduct) Unset()
type NullableUpdateProductPortal ¶
type NullableUpdateProductPortal struct {
// contains filtered or unexported fields
}
func NewNullableUpdateProductPortal ¶
func NewNullableUpdateProductPortal(val *UpdateProductPortal) *NullableUpdateProductPortal
func (NullableUpdateProductPortal) Get ¶
func (v NullableUpdateProductPortal) Get() *UpdateProductPortal
func (NullableUpdateProductPortal) IsSet ¶
func (v NullableUpdateProductPortal) IsSet() bool
func (NullableUpdateProductPortal) MarshalJSON ¶
func (v NullableUpdateProductPortal) MarshalJSON() ([]byte, error)
func (*NullableUpdateProductPortal) Set ¶
func (v *NullableUpdateProductPortal) Set(val *UpdateProductPortal)
func (*NullableUpdateProductPortal) UnmarshalJSON ¶
func (v *NullableUpdateProductPortal) UnmarshalJSON(src []byte) error
func (*NullableUpdateProductPortal) Unset ¶
func (v *NullableUpdateProductPortal) Unset()
type NullableUpdateRelease ¶
type NullableUpdateRelease struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRelease ¶
func NewNullableUpdateRelease(val *UpdateRelease) *NullableUpdateRelease
func (NullableUpdateRelease) Get ¶
func (v NullableUpdateRelease) Get() *UpdateRelease
func (NullableUpdateRelease) IsSet ¶
func (v NullableUpdateRelease) IsSet() bool
func (NullableUpdateRelease) MarshalJSON ¶
func (v NullableUpdateRelease) MarshalJSON() ([]byte, error)
func (*NullableUpdateRelease) Set ¶
func (v *NullableUpdateRelease) Set(val *UpdateRelease)
func (*NullableUpdateRelease) UnmarshalJSON ¶
func (v *NullableUpdateRelease) UnmarshalJSON(src []byte) error
func (*NullableUpdateRelease) Unset ¶
func (v *NullableUpdateRelease) Unset()
type NullableValidateKey ¶
type NullableValidateKey struct {
// contains filtered or unexported fields
}
func NewNullableValidateKey ¶
func NewNullableValidateKey(val *ValidateKey) *NullableValidateKey
func (NullableValidateKey) Get ¶
func (v NullableValidateKey) Get() *ValidateKey
func (NullableValidateKey) IsSet ¶
func (v NullableValidateKey) IsSet() bool
func (NullableValidateKey) MarshalJSON ¶
func (v NullableValidateKey) MarshalJSON() ([]byte, error)
func (*NullableValidateKey) Set ¶
func (v *NullableValidateKey) Set(val *ValidateKey)
func (*NullableValidateKey) UnmarshalJSON ¶
func (v *NullableValidateKey) UnmarshalJSON(src []byte) error
func (*NullableValidateKey) Unset ¶
func (v *NullableValidateKey) Unset()
type NullableValidateKeyError ¶
type NullableValidateKeyError struct {
// contains filtered or unexported fields
}
func NewNullableValidateKeyError ¶
func NewNullableValidateKeyError(val *ValidateKeyError) *NullableValidateKeyError
func (NullableValidateKeyError) Get ¶
func (v NullableValidateKeyError) Get() *ValidateKeyError
func (NullableValidateKeyError) IsSet ¶
func (v NullableValidateKeyError) IsSet() bool
func (NullableValidateKeyError) MarshalJSON ¶
func (v NullableValidateKeyError) MarshalJSON() ([]byte, error)
func (*NullableValidateKeyError) Set ¶
func (v *NullableValidateKeyError) Set(val *ValidateKeyError)
func (*NullableValidateKeyError) UnmarshalJSON ¶
func (v *NullableValidateKeyError) UnmarshalJSON(src []byte) error
func (*NullableValidateKeyError) Unset ¶
func (v *NullableValidateKeyError) Unset()
type NullableValidateKeyErrorError ¶
type NullableValidateKeyErrorError struct {
// contains filtered or unexported fields
}
func NewNullableValidateKeyErrorError ¶
func NewNullableValidateKeyErrorError(val *ValidateKeyErrorError) *NullableValidateKeyErrorError
func (NullableValidateKeyErrorError) Get ¶
func (v NullableValidateKeyErrorError) Get() *ValidateKeyErrorError
func (NullableValidateKeyErrorError) IsSet ¶
func (v NullableValidateKeyErrorError) IsSet() bool
func (NullableValidateKeyErrorError) MarshalJSON ¶
func (v NullableValidateKeyErrorError) MarshalJSON() ([]byte, error)
func (*NullableValidateKeyErrorError) Set ¶
func (v *NullableValidateKeyErrorError) Set(val *ValidateKeyErrorError)
func (*NullableValidateKeyErrorError) UnmarshalJSON ¶
func (v *NullableValidateKeyErrorError) UnmarshalJSON(src []byte) error
func (*NullableValidateKeyErrorError) Unset ¶
func (v *NullableValidateKeyErrorError) Unset()
type Pagination ¶
type Pagination struct {
// Number of the returned page, as requested. Pages are numbered from 1: `1` is the first page.
Page int32 `json:"page"`
// Maximum number of items per page, as requested. `data` holds fewer items on the last page, and none past it.
PageSize int32 `json:"pageSize"`
// Number of items matching the filters, across all pages. `0` when nothing matches.
Total int32 `json:"total"`
// Number of pages, which is also the number of the last page. `0` when nothing matches. There's a next page while `page` is lower than `totalPages`.
TotalPages int32 `json:"totalPages"`
AdditionalProperties map[string]interface{}
}
Pagination Where the returned page stands among all the items matching the filters. Pages are numbered from 1.
func NewPagination ¶
func NewPagination(page int32, pageSize int32, total int32, totalPages int32) *Pagination
NewPagination instantiates a new Pagination 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 NewPaginationWithDefaults ¶
func NewPaginationWithDefaults() *Pagination
NewPaginationWithDefaults instantiates a new Pagination 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 (*Pagination) GetPage ¶
func (o *Pagination) GetPage() int32
GetPage returns the Page field value
func (*Pagination) GetPageOk ¶
func (o *Pagination) GetPageOk() (*int32, bool)
GetPageOk returns a tuple with the Page field value and a boolean to check if the value has been set.
func (*Pagination) GetPageSize ¶
func (o *Pagination) GetPageSize() int32
GetPageSize returns the PageSize field value
func (*Pagination) GetPageSizeOk ¶
func (o *Pagination) GetPageSizeOk() (*int32, bool)
GetPageSizeOk returns a tuple with the PageSize field value and a boolean to check if the value has been set.
func (*Pagination) GetTotal ¶
func (o *Pagination) GetTotal() int32
GetTotal returns the Total field value
func (*Pagination) GetTotalOk ¶
func (o *Pagination) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (*Pagination) GetTotalPages ¶
func (o *Pagination) GetTotalPages() int32
GetTotalPages returns the TotalPages field value
func (*Pagination) GetTotalPagesOk ¶
func (o *Pagination) GetTotalPagesOk() (*int32, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value and a boolean to check if the value has been set.
func (Pagination) MarshalJSON ¶
func (o Pagination) MarshalJSON() ([]byte, error)
func (*Pagination) SetPageSize ¶
func (o *Pagination) SetPageSize(v int32)
SetPageSize sets field value
func (*Pagination) SetTotalPages ¶
func (o *Pagination) SetTotalPages(v int32)
SetTotalPages sets field value
func (Pagination) ToMap ¶
func (o Pagination) ToMap() (map[string]interface{}, error)
func (*Pagination) UnmarshalJSON ¶
func (o *Pagination) UnmarshalJSON(data []byte) (err error)
type PoliciesAPIService ¶
type PoliciesAPIService service
PoliciesAPIService PoliciesAPI service
func (*PoliciesAPIService) CreatePolicy ¶
func (a *PoliciesAPIService) CreatePolicy(ctx context.Context, productId string) ApiCreatePolicyRequest
CreatePolicy Create a policy
Without a `slug`, the policy gets one derived from its name, made unique within the product by appending a dash and 3 random lowercase letters or digits when needed. An explicit `slug` is used as is: the request fails with a `409` when it's taken.
With `isDefault: true`, the new policy replaces the product's current default policy.
A product always has a default policy, so when it has no policies the new one becomes the default: the request fails with a `409` when `isDefault` is `false`.
**Required role permission**: `policy:create` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiCreatePolicyRequest
func (*PoliciesAPIService) CreatePolicyExecute ¶
func (a *PoliciesAPIService) CreatePolicyExecute(r ApiCreatePolicyRequest) (*Policy, *http.Response, error)
Execute executes the request
@return Policy
func (*PoliciesAPIService) DeletePolicy ¶
func (a *PoliciesAPIService) DeletePolicy(ctx context.Context, id string) ApiDeletePolicyRequest
DeletePolicy Delete a policy
Deleting the default policy makes the oldest remaining policy of the product the default. The last policy of a product can't be deleted, nor a policy that licenses follow. Its events can no longer be listed.
**Required role permission**: `policy:delete` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDeletePolicyRequest
func (*PoliciesAPIService) DeletePolicyExecute ¶
func (a *PoliciesAPIService) DeletePolicyExecute(r ApiDeletePolicyRequest) (*http.Response, error)
Execute executes the request
func (*PoliciesAPIService) GetPolicy ¶
func (a *PoliciesAPIService) GetPolicy(ctx context.Context, id string) ApiGetPolicyRequest
GetPolicy Get a policy
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetPolicyRequest
func (*PoliciesAPIService) GetPolicyExecute ¶
func (a *PoliciesAPIService) GetPolicyExecute(r ApiGetPolicyRequest) (*Policy, *http.Response, error)
Execute executes the request
@return Policy
func (*PoliciesAPIService) ListPolicies ¶
func (a *PoliciesAPIService) ListPolicies(ctx context.Context, productId string) ApiListPoliciesRequest
ListPolicies List the policies of a product
`?isDefault=true` returns the product's default policy alone: a product always has exactly one. Sorting by `duration` counts months for their average length, about 30.4 days.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiListPoliciesRequest
func (*PoliciesAPIService) ListPoliciesExecute ¶
func (a *PoliciesAPIService) ListPoliciesExecute(r ApiListPoliciesRequest) (*PolicyList, *http.Response, error)
Execute executes the request
@return PolicyList
func (*PoliciesAPIService) UpdatePolicy ¶
func (a *PoliciesAPIService) UpdatePolicy(ctx context.Context, id string) ApiUpdatePolicyRequest
UpdatePolicy Update a policy
`isDefault: true` makes the policy the product's default, in place of the current one. A product always has a default policy, so the default can't be unset with `isDefault: false`: make another policy the default instead.
Licenses copy the settings of their policy when they're created, so changing them only affects the licenses created afterwards: update the existing licenses to change theirs.
**Required role permission**: `policy:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdatePolicyRequest
func (*PoliciesAPIService) UpdatePolicyExecute ¶
func (a *PoliciesAPIService) UpdatePolicyExecute(r ApiUpdatePolicyRequest) (*Policy, *http.Response, error)
Execute executes the request
@return Policy
type Policy ¶
type Policy struct {
Id string `json:"id"`
ProductId string `json:"productId"`
Slug string `json:"slug"`
Name string `json:"name"`
// Whether this is the product's default policy. Each product has exactly one.
IsDefault bool `json:"isDefault"`
Duration NullablePolicyDuration `json:"duration"`
// Maximum number of active machines of the licenses created with this policy. `null` when there's no limit.
MaxMachines NullableInt32 `json:"maxMachines"`
// Longest the applications can run offline with the licenses created with this policy, in seconds.
MaxOfflineDurationSeconds int32 `json:"maxOfflineDurationSeconds"`
MaxVersion NullablePolicyMaxVersion `json:"maxVersion"`
// Number of licenses following this policy.
LicenseCount int32 `json:"licenseCount"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
AdditionalProperties map[string]interface{}
}
Policy struct for Policy
func NewPolicy ¶
func NewPolicy(id string, productId string, slug string, name string, isDefault bool, duration NullablePolicyDuration, maxMachines NullableInt32, maxOfflineDurationSeconds int32, maxVersion NullablePolicyMaxVersion, licenseCount int32, createdAt time.Time, updatedAt time.Time) *Policy
NewPolicy instantiates a new Policy 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 NewPolicyWithDefaults ¶
func NewPolicyWithDefaults() *Policy
NewPolicyWithDefaults instantiates a new Policy 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 (*Policy) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Policy) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Policy) GetDuration ¶
func (o *Policy) GetDuration() PolicyDuration
GetDuration returns the Duration field value If the value is explicit nil, the zero value for PolicyDuration will be returned
func (*Policy) GetDurationOk ¶
func (o *Policy) GetDurationOk() (*PolicyDuration, bool)
GetDurationOk returns a tuple with the Duration 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 (*Policy) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Policy) GetIsDefault ¶
GetIsDefault returns the IsDefault field value
func (*Policy) GetIsDefaultOk ¶
GetIsDefaultOk returns a tuple with the IsDefault field value and a boolean to check if the value has been set.
func (*Policy) GetLicenseCount ¶
GetLicenseCount returns the LicenseCount field value
func (*Policy) GetLicenseCountOk ¶
GetLicenseCountOk returns a tuple with the LicenseCount field value and a boolean to check if the value has been set.
func (*Policy) GetMaxMachines ¶
GetMaxMachines returns the MaxMachines field value If the value is explicit nil, the zero value for int32 will be returned
func (*Policy) GetMaxMachinesOk ¶
GetMaxMachinesOk returns a tuple with the MaxMachines 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 (*Policy) GetMaxOfflineDurationSeconds ¶
GetMaxOfflineDurationSeconds returns the MaxOfflineDurationSeconds field value
func (*Policy) GetMaxOfflineDurationSecondsOk ¶
GetMaxOfflineDurationSecondsOk returns a tuple with the MaxOfflineDurationSeconds field value and a boolean to check if the value has been set.
func (*Policy) GetMaxVersion ¶
func (o *Policy) GetMaxVersion() PolicyMaxVersion
GetMaxVersion returns the MaxVersion field value If the value is explicit nil, the zero value for PolicyMaxVersion will be returned
func (*Policy) GetMaxVersionOk ¶
func (o *Policy) GetMaxVersionOk() (*PolicyMaxVersion, bool)
GetMaxVersionOk returns a tuple with the MaxVersion 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 (*Policy) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Policy) GetProductId ¶
GetProductId returns the ProductId field value
func (*Policy) GetProductIdOk ¶
GetProductIdOk returns a tuple with the ProductId field value and a boolean to check if the value has been set.
func (*Policy) GetSlugOk ¶
GetSlugOk returns a tuple with the Slug field value and a boolean to check if the value has been set.
func (*Policy) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Policy) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (Policy) MarshalJSON ¶
func (*Policy) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Policy) SetDuration ¶
func (o *Policy) SetDuration(v PolicyDuration)
SetDuration sets field value
func (*Policy) SetLicenseCount ¶
SetLicenseCount sets field value
func (*Policy) SetMaxMachines ¶
SetMaxMachines sets field value
func (*Policy) SetMaxOfflineDurationSeconds ¶
SetMaxOfflineDurationSeconds sets field value
func (*Policy) SetMaxVersion ¶
func (o *Policy) SetMaxVersion(v PolicyMaxVersion)
SetMaxVersion sets field value
func (*Policy) SetUpdatedAt ¶
SetUpdatedAt sets field value
func (*Policy) UnmarshalJSON ¶
type PolicyDuration ¶
type PolicyDuration struct {
PolicySettingsDurationAnyOf *PolicySettingsDurationAnyOf
PolicySettingsDurationAnyOf1 *PolicySettingsDurationAnyOf1
}
PolicyDuration Duration of the licenses created with this policy. `null` when they never expire.
func (PolicyDuration) MarshalJSON ¶
func (src PolicyDuration) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*PolicyDuration) UnmarshalJSON ¶
func (dst *PolicyDuration) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type PolicyList ¶
type PolicyList struct {
// Items of the page, in the requested order. Empty past the last page.
Data []Policy `json:"data"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
PolicyList struct for PolicyList
func NewPolicyList ¶
func NewPolicyList(data []Policy, pagination Pagination) *PolicyList
NewPolicyList instantiates a new PolicyList 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 NewPolicyListWithDefaults ¶
func NewPolicyListWithDefaults() *PolicyList
NewPolicyListWithDefaults instantiates a new PolicyList 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 (*PolicyList) GetData ¶
func (o *PolicyList) GetData() []Policy
GetData returns the Data field value
func (*PolicyList) GetDataOk ¶
func (o *PolicyList) GetDataOk() ([]Policy, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*PolicyList) GetPagination ¶
func (o *PolicyList) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*PolicyList) GetPaginationOk ¶
func (o *PolicyList) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (PolicyList) MarshalJSON ¶
func (o PolicyList) MarshalJSON() ([]byte, error)
func (*PolicyList) SetPagination ¶
func (o *PolicyList) SetPagination(v Pagination)
SetPagination sets field value
func (PolicyList) ToMap ¶
func (o PolicyList) ToMap() (map[string]interface{}, error)
func (*PolicyList) UnmarshalJSON ¶
func (o *PolicyList) UnmarshalJSON(data []byte) (err error)
type PolicyMaxVersion ¶
type PolicyMaxVersion struct {
FixedMaxVersion *FixedMaxVersion
LockMaxVersion *LockMaxVersion
}
PolicyMaxVersion Latest version of the product the licenses created with this policy can use. `null` when they can use every version. - `fixed`: up to a hard-coded `version`. `\"2\"` allows every 2.y.z version: its minor versions and bug fixes. `\"2.3\"` allows every 2.3.z version: its bug fixes. - `lock`: every version released during some time after the license is created, then only the updates of the version reached by then. The major version locks `majorAfter` the creation of the license, then the license only gets the minor versions and bug fixes of its major version. The minor version optionally locks `minorAfter` it, never sooner than the major version, then the license only gets the bug fixes of its minor version. `{ \"type\": \"lock\", \"majorAfter\": { \"value\": 1, \"unit\": \"months\" }, \"minorAfter\": { \"value\": 12, \"unit\": \"months\" } }` allows every version released during the month after the license is created, then the minor versions and bug fixes of the major version reached by then until the end of the first year, then only the bug fixes of the minor version reached by then. `majorAfter` at 0 allows minor versions only, and both at 0 allows bug fixes only: no updates. Bug fixes are never locked: a hard-coded version has no patch number, like `\"2.3.1\"`, and a lock only locks major and minor versions.
func (PolicyMaxVersion) MarshalJSON ¶
func (src PolicyMaxVersion) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*PolicyMaxVersion) UnmarshalJSON ¶
func (dst *PolicyMaxVersion) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type PolicySettings ¶
type PolicySettings struct {
Duration NullablePolicySettingsDuration `json:"duration,omitempty"`
// Maximum number of active machines of the licenses created with this policy, copied to each of them. `null` for no limit. Defaults to `null`.
MaxMachines NullableInt32 `json:"maxMachines,omitempty"`
// Longest the applications can run offline with the licenses created with this policy, in seconds, copied to each of them. At least one hour (`3600`). Defaults to one week.
MaxOfflineDurationSeconds *int32 `json:"maxOfflineDurationSeconds,omitempty"`
MaxVersion NullablePolicySettingsMaxVersion `json:"maxVersion,omitempty"`
AdditionalProperties map[string]interface{}
}
PolicySettings struct for PolicySettings
func NewPolicySettings ¶
func NewPolicySettings() *PolicySettings
NewPolicySettings instantiates a new PolicySettings 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 NewPolicySettingsWithDefaults ¶
func NewPolicySettingsWithDefaults() *PolicySettings
NewPolicySettingsWithDefaults instantiates a new PolicySettings 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 (*PolicySettings) GetDuration ¶
func (o *PolicySettings) GetDuration() PolicySettingsDuration
GetDuration returns the Duration field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PolicySettings) GetDurationOk ¶
func (o *PolicySettings) GetDurationOk() (*PolicySettingsDuration, bool)
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PolicySettings) GetMaxMachines ¶
func (o *PolicySettings) GetMaxMachines() int32
GetMaxMachines returns the MaxMachines field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PolicySettings) GetMaxMachinesOk ¶
func (o *PolicySettings) GetMaxMachinesOk() (*int32, bool)
GetMaxMachinesOk returns a tuple with the MaxMachines 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 (*PolicySettings) GetMaxOfflineDurationSeconds ¶
func (o *PolicySettings) GetMaxOfflineDurationSeconds() int32
GetMaxOfflineDurationSeconds returns the MaxOfflineDurationSeconds field value if set, zero value otherwise.
func (*PolicySettings) GetMaxOfflineDurationSecondsOk ¶
func (o *PolicySettings) GetMaxOfflineDurationSecondsOk() (*int32, bool)
GetMaxOfflineDurationSecondsOk returns a tuple with the MaxOfflineDurationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicySettings) GetMaxVersion ¶
func (o *PolicySettings) GetMaxVersion() PolicySettingsMaxVersion
GetMaxVersion returns the MaxVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PolicySettings) GetMaxVersionOk ¶
func (o *PolicySettings) GetMaxVersionOk() (*PolicySettingsMaxVersion, bool)
GetMaxVersionOk returns a tuple with the MaxVersion 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 (*PolicySettings) HasDuration ¶
func (o *PolicySettings) HasDuration() bool
HasDuration returns a boolean if a field has been set.
func (*PolicySettings) HasMaxMachines ¶
func (o *PolicySettings) HasMaxMachines() bool
HasMaxMachines returns a boolean if a field has been set.
func (*PolicySettings) HasMaxOfflineDurationSeconds ¶
func (o *PolicySettings) HasMaxOfflineDurationSeconds() bool
HasMaxOfflineDurationSeconds returns a boolean if a field has been set.
func (*PolicySettings) HasMaxVersion ¶
func (o *PolicySettings) HasMaxVersion() bool
HasMaxVersion returns a boolean if a field has been set.
func (PolicySettings) MarshalJSON ¶
func (o PolicySettings) MarshalJSON() ([]byte, error)
func (*PolicySettings) SetDuration ¶
func (o *PolicySettings) SetDuration(v PolicySettingsDuration)
SetDuration gets a reference to the given NullablePolicySettingsDuration and assigns it to the Duration field.
func (*PolicySettings) SetDurationNil ¶
func (o *PolicySettings) SetDurationNil()
SetDurationNil sets the value for Duration to be an explicit nil
func (*PolicySettings) SetMaxMachines ¶
func (o *PolicySettings) SetMaxMachines(v int32)
SetMaxMachines gets a reference to the given NullableInt32 and assigns it to the MaxMachines field.
func (*PolicySettings) SetMaxMachinesNil ¶
func (o *PolicySettings) SetMaxMachinesNil()
SetMaxMachinesNil sets the value for MaxMachines to be an explicit nil
func (*PolicySettings) SetMaxOfflineDurationSeconds ¶
func (o *PolicySettings) SetMaxOfflineDurationSeconds(v int32)
SetMaxOfflineDurationSeconds gets a reference to the given int32 and assigns it to the MaxOfflineDurationSeconds field.
func (*PolicySettings) SetMaxVersion ¶
func (o *PolicySettings) SetMaxVersion(v PolicySettingsMaxVersion)
SetMaxVersion gets a reference to the given NullablePolicySettingsMaxVersion and assigns it to the MaxVersion field.
func (*PolicySettings) SetMaxVersionNil ¶
func (o *PolicySettings) SetMaxVersionNil()
SetMaxVersionNil sets the value for MaxVersion to be an explicit nil
func (PolicySettings) ToMap ¶
func (o PolicySettings) ToMap() (map[string]interface{}, error)
func (*PolicySettings) UnmarshalJSON ¶
func (o *PolicySettings) UnmarshalJSON(data []byte) (err error)
func (*PolicySettings) UnsetDuration ¶
func (o *PolicySettings) UnsetDuration()
UnsetDuration ensures that no value is present for Duration, not even an explicit nil
func (*PolicySettings) UnsetMaxMachines ¶
func (o *PolicySettings) UnsetMaxMachines()
UnsetMaxMachines ensures that no value is present for MaxMachines, not even an explicit nil
func (*PolicySettings) UnsetMaxVersion ¶
func (o *PolicySettings) UnsetMaxVersion()
UnsetMaxVersion ensures that no value is present for MaxVersion, not even an explicit nil
type PolicySettingsDuration ¶
type PolicySettingsDuration struct {
PolicySettingsDurationAnyOf *PolicySettingsDurationAnyOf
PolicySettingsDurationAnyOf1 *PolicySettingsDurationAnyOf1
}
PolicySettingsDuration Duration of the licenses created with this policy. `null` makes them never expire. Defaults to `null`.
func (PolicySettingsDuration) MarshalJSON ¶
func (src PolicySettingsDuration) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*PolicySettingsDuration) UnmarshalJSON ¶
func (dst *PolicySettingsDuration) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type PolicySettingsDurationAnyOf ¶
type PolicySettingsDurationAnyOf struct {
Value int32 `json:"value"`
Unit string `json:"unit"`
AdditionalProperties map[string]interface{}
}
PolicySettingsDurationAnyOf struct for PolicySettingsDurationAnyOf
func NewPolicySettingsDurationAnyOf ¶
func NewPolicySettingsDurationAnyOf(value int32, unit string) *PolicySettingsDurationAnyOf
NewPolicySettingsDurationAnyOf instantiates a new PolicySettingsDurationAnyOf 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 NewPolicySettingsDurationAnyOfWithDefaults ¶
func NewPolicySettingsDurationAnyOfWithDefaults() *PolicySettingsDurationAnyOf
NewPolicySettingsDurationAnyOfWithDefaults instantiates a new PolicySettingsDurationAnyOf 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 (*PolicySettingsDurationAnyOf) GetUnit ¶
func (o *PolicySettingsDurationAnyOf) GetUnit() string
GetUnit returns the Unit field value
func (*PolicySettingsDurationAnyOf) GetUnitOk ¶
func (o *PolicySettingsDurationAnyOf) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.
func (*PolicySettingsDurationAnyOf) GetValue ¶
func (o *PolicySettingsDurationAnyOf) GetValue() int32
GetValue returns the Value field value
func (*PolicySettingsDurationAnyOf) GetValueOk ¶
func (o *PolicySettingsDurationAnyOf) GetValueOk() (*int32, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (PolicySettingsDurationAnyOf) MarshalJSON ¶
func (o PolicySettingsDurationAnyOf) MarshalJSON() ([]byte, error)
func (*PolicySettingsDurationAnyOf) SetUnit ¶
func (o *PolicySettingsDurationAnyOf) SetUnit(v string)
SetUnit sets field value
func (*PolicySettingsDurationAnyOf) SetValue ¶
func (o *PolicySettingsDurationAnyOf) SetValue(v int32)
SetValue sets field value
func (PolicySettingsDurationAnyOf) ToMap ¶
func (o PolicySettingsDurationAnyOf) ToMap() (map[string]interface{}, error)
func (*PolicySettingsDurationAnyOf) UnmarshalJSON ¶
func (o *PolicySettingsDurationAnyOf) UnmarshalJSON(data []byte) (err error)
type PolicySettingsDurationAnyOf1 ¶
type PolicySettingsDurationAnyOf1 struct {
Value int32 `json:"value"`
// Calendar months: a license created on January 31 with a 1 month duration expires on the last day of February.
Unit string `json:"unit"`
AdditionalProperties map[string]interface{}
}
PolicySettingsDurationAnyOf1 struct for PolicySettingsDurationAnyOf1
func NewPolicySettingsDurationAnyOf1 ¶
func NewPolicySettingsDurationAnyOf1(value int32, unit string) *PolicySettingsDurationAnyOf1
NewPolicySettingsDurationAnyOf1 instantiates a new PolicySettingsDurationAnyOf1 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 NewPolicySettingsDurationAnyOf1WithDefaults ¶
func NewPolicySettingsDurationAnyOf1WithDefaults() *PolicySettingsDurationAnyOf1
NewPolicySettingsDurationAnyOf1WithDefaults instantiates a new PolicySettingsDurationAnyOf1 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 (*PolicySettingsDurationAnyOf1) GetUnit ¶
func (o *PolicySettingsDurationAnyOf1) GetUnit() string
GetUnit returns the Unit field value
func (*PolicySettingsDurationAnyOf1) GetUnitOk ¶
func (o *PolicySettingsDurationAnyOf1) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.
func (*PolicySettingsDurationAnyOf1) GetValue ¶
func (o *PolicySettingsDurationAnyOf1) GetValue() int32
GetValue returns the Value field value
func (*PolicySettingsDurationAnyOf1) GetValueOk ¶
func (o *PolicySettingsDurationAnyOf1) GetValueOk() (*int32, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (PolicySettingsDurationAnyOf1) MarshalJSON ¶
func (o PolicySettingsDurationAnyOf1) MarshalJSON() ([]byte, error)
func (*PolicySettingsDurationAnyOf1) SetUnit ¶
func (o *PolicySettingsDurationAnyOf1) SetUnit(v string)
SetUnit sets field value
func (*PolicySettingsDurationAnyOf1) SetValue ¶
func (o *PolicySettingsDurationAnyOf1) SetValue(v int32)
SetValue sets field value
func (PolicySettingsDurationAnyOf1) ToMap ¶
func (o PolicySettingsDurationAnyOf1) ToMap() (map[string]interface{}, error)
func (*PolicySettingsDurationAnyOf1) UnmarshalJSON ¶
func (o *PolicySettingsDurationAnyOf1) UnmarshalJSON(data []byte) (err error)
type PolicySettingsMaxVersion ¶
type PolicySettingsMaxVersion struct {
FixedMaxVersion *FixedMaxVersion
LockMaxVersion *LockMaxVersion
}
PolicySettingsMaxVersion Latest version of the product the licenses created with this policy can use. `null` allows every version. Defaults to `null`. - `fixed`: up to a hard-coded `version`. `\"2\"` allows every 2.y.z version: its minor versions and bug fixes. `\"2.3\"` allows every 2.3.z version: its bug fixes. - `lock`: every version released during some time after the license is created, then only the updates of the version reached by then. The major version locks `majorAfter` the creation of the license, then the license only gets the minor versions and bug fixes of its major version. The minor version optionally locks `minorAfter` it, never sooner than the major version, then the license only gets the bug fixes of its minor version. `{ \"type\": \"lock\", \"majorAfter\": { \"value\": 1, \"unit\": \"months\" }, \"minorAfter\": { \"value\": 12, \"unit\": \"months\" } }` allows every version released during the month after the license is created, then the minor versions and bug fixes of the major version reached by then until the end of the first year, then only the bug fixes of the minor version reached by then. `majorAfter` at 0 allows minor versions only, and both at 0 allows bug fixes only: no updates. Bug fixes are never locked: a hard-coded version has no patch number, like `\"2.3.1\"`, and a lock only locks major and minor versions.
func (PolicySettingsMaxVersion) MarshalJSON ¶
func (src PolicySettingsMaxVersion) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*PolicySettingsMaxVersion) UnmarshalJSON ¶
func (dst *PolicySettingsMaxVersion) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type Portal ¶
type Portal struct {
ProductId string `json:"productId"`
ProductName string `json:"productName"`
OrganizationName string `json:"organizationName"`
// Public URL of the product's logo. `null` without a logo.
LogoUrl NullableString `json:"logoUrl"`
// Background of the side panel, as `#rrggbb`. `null` for the default color.
BrandColor NullableString `json:"brandColor"`
// Color of the inputs and buttons, as `#rrggbb`. `null` for the default color.
AccentColor NullableString `json:"accentColor"`
// Link back to the product's website: the requested `returnUrl` when its domain is allowed, the product's default return link otherwise. `null` for no link.
ReturnUrl NullableString `json:"returnUrl"`
AdditionalProperties map[string]interface{}
}
Portal struct for Portal
func NewPortal ¶
func NewPortal(productId string, productName string, organizationName string, logoUrl NullableString, brandColor NullableString, accentColor NullableString, returnUrl NullableString) *Portal
NewPortal instantiates a new Portal 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 NewPortalWithDefaults ¶
func NewPortalWithDefaults() *Portal
NewPortalWithDefaults instantiates a new Portal 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 (*Portal) GetAccentColor ¶
GetAccentColor returns the AccentColor field value If the value is explicit nil, the zero value for string will be returned
func (*Portal) GetAccentColorOk ¶
GetAccentColorOk returns a tuple with the AccentColor 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 (*Portal) GetBrandColor ¶
GetBrandColor returns the BrandColor field value If the value is explicit nil, the zero value for string will be returned
func (*Portal) GetBrandColorOk ¶
GetBrandColorOk returns a tuple with the BrandColor 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 (*Portal) GetLogoUrl ¶
GetLogoUrl returns the LogoUrl field value If the value is explicit nil, the zero value for string will be returned
func (*Portal) GetLogoUrlOk ¶
GetLogoUrlOk returns a tuple with the LogoUrl 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 (*Portal) GetOrganizationName ¶
GetOrganizationName returns the OrganizationName field value
func (*Portal) GetOrganizationNameOk ¶
GetOrganizationNameOk returns a tuple with the OrganizationName field value and a boolean to check if the value has been set.
func (*Portal) GetProductId ¶
GetProductId returns the ProductId field value
func (*Portal) GetProductIdOk ¶
GetProductIdOk returns a tuple with the ProductId field value and a boolean to check if the value has been set.
func (*Portal) GetProductName ¶
GetProductName returns the ProductName field value
func (*Portal) GetProductNameOk ¶
GetProductNameOk returns a tuple with the ProductName field value and a boolean to check if the value has been set.
func (*Portal) GetReturnUrl ¶
GetReturnUrl returns the ReturnUrl field value If the value is explicit nil, the zero value for string will be returned
func (*Portal) GetReturnUrlOk ¶
GetReturnUrlOk returns a tuple with the ReturnUrl 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 (Portal) MarshalJSON ¶
func (*Portal) SetAccentColor ¶
SetAccentColor sets field value
func (*Portal) SetBrandColor ¶
SetBrandColor sets field value
func (*Portal) SetOrganizationName ¶
SetOrganizationName sets field value
func (*Portal) SetProductName ¶
SetProductName sets field value
func (*Portal) UnmarshalJSON ¶
type PortalAPIService ¶
type PortalAPIService service
PortalAPIService PortalAPI service
func (*PortalAPIService) CreatePortalLink ¶
func (a *PortalAPIService) CreatePortalLink(ctx context.Context, id string) ApiCreatePortalLinkRequest
CreatePortalLink Create a link to the customer portal
Link letting the customer see their licenses and deactivate their machines in the customer portal, without signing in. Anyone with the link can, until it expires or the customer is deleted: it can't be revoked otherwise. The token also works with the API endpoints that accept customer tokens.
Links can be created while the product's customer portal is disabled, but the portal answers `404` until it's enabled, and `sendPortalLink` refuses to email them.
**Required role permission**: `portalLink:create` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiCreatePortalLinkRequest
func (*PortalAPIService) CreatePortalLinkExecute ¶
func (a *PortalAPIService) CreatePortalLinkExecute(r ApiCreatePortalLinkRequest) (*PortalLink, *http.Response, error)
Execute executes the request
@return PortalLink
func (*PortalAPIService) GetPortal ¶
func (a *PortalAPIService) GetPortal(ctx context.Context, productId string) ApiGetPortalRequest
GetPortal Get the customer portal of a product
Names of the product and of its organization, colors of the customer portal, and link back to the product's website. Answers `404` when the product's customer portal is disabled: with the `portal_disabled` code and the slugs of the product and its organization when signed in as a member of the organization, so they can enable it. Doesn't need authentication.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiGetPortalRequest
func (*PortalAPIService) GetPortalExecute ¶
func (a *PortalAPIService) GetPortalExecute(r ApiGetPortalRequest) (*Portal, *http.Response, error)
Execute executes the request
@return Portal
func (*PortalAPIService) RequestPortalLink ¶
func (a *PortalAPIService) RequestPortalLink(ctx context.Context, productId string) ApiRequestPortalLinkRequest
RequestPortalLink Email a link to the customer portal
Emails the customer of the product with this email a link to the customer portal, working for 1 hour. Answers `404` when the product's customer portal is disabled. Answers the same whether the customer exists or not, so the API doesn't tell which emails are customers. Test products only email the members of the organization: the link isn't sent to other customers, with the same answer. Doesn't need authentication.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiRequestPortalLinkRequest
func (*PortalAPIService) RequestPortalLinkExecute ¶
func (a *PortalAPIService) RequestPortalLinkExecute(r ApiRequestPortalLinkRequest) (*http.Response, error)
Execute executes the request
func (*PortalAPIService) SendPortalLink ¶
func (a *PortalAPIService) SendPortalLink(ctx context.Context, id string) ApiSendPortalLinkRequest
SendPortalLink Email a link to the customer portal to the customer
Emails a link created with `createPortalLink` to the customer's email. Fails while the product's customer portal is disabled, and, in test products, when the customer's email isn't a member's of the organization: test products only email members, so testing never emails real customers.
**Required role permission**: `portalLink:create` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiSendPortalLinkRequest
func (*PortalAPIService) SendPortalLinkExecute ¶
func (a *PortalAPIService) SendPortalLinkExecute(r ApiSendPortalLinkRequest) (*http.Response, error)
Execute executes the request
type PortalLink ¶
type PortalLink struct {
// Link to the customer portal, holding the token.
Url string `json:"url"`
// Customer token in the link, with the `customer:read`, `license:read` and `machine:write` permissions.
Token string `json:"token"`
// When the link stops working.
ExpiresAt time.Time `json:"expiresAt"`
AdditionalProperties map[string]interface{}
}
PortalLink struct for PortalLink
func NewPortalLink ¶
func NewPortalLink(url string, token string, expiresAt time.Time) *PortalLink
NewPortalLink instantiates a new PortalLink 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 NewPortalLinkWithDefaults ¶
func NewPortalLinkWithDefaults() *PortalLink
NewPortalLinkWithDefaults instantiates a new PortalLink 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 (*PortalLink) GetExpiresAt ¶
func (o *PortalLink) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value
func (*PortalLink) GetExpiresAtOk ¶
func (o *PortalLink) 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 (*PortalLink) GetToken ¶
func (o *PortalLink) GetToken() string
GetToken returns the Token field value
func (*PortalLink) GetTokenOk ¶
func (o *PortalLink) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (*PortalLink) GetUrlOk ¶
func (o *PortalLink) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (PortalLink) MarshalJSON ¶
func (o PortalLink) MarshalJSON() ([]byte, error)
func (*PortalLink) SetExpiresAt ¶
func (o *PortalLink) SetExpiresAt(v time.Time)
SetExpiresAt sets field value
func (PortalLink) ToMap ¶
func (o PortalLink) ToMap() (map[string]interface{}, error)
func (*PortalLink) UnmarshalJSON ¶
func (o *PortalLink) UnmarshalJSON(data []byte) (err error)
type PortalNotFound ¶
type PortalNotFound struct {
Error ErrorError `json:"error"`
// Slug of the product's organization. Present on `portal_disabled` errors.
OrganizationSlug *string `json:"organizationSlug,omitempty"`
// Slug of the product. Present on `portal_disabled` errors.
ProductSlug *string `json:"productSlug,omitempty"`
AdditionalProperties map[string]interface{}
}
PortalNotFound struct for PortalNotFound
func NewPortalNotFound ¶
func NewPortalNotFound(error_ ErrorError) *PortalNotFound
NewPortalNotFound instantiates a new PortalNotFound 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 NewPortalNotFoundWithDefaults ¶
func NewPortalNotFoundWithDefaults() *PortalNotFound
NewPortalNotFoundWithDefaults instantiates a new PortalNotFound 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 (*PortalNotFound) GetError ¶
func (o *PortalNotFound) GetError() ErrorError
GetError returns the Error field value
func (*PortalNotFound) GetErrorOk ¶
func (o *PortalNotFound) GetErrorOk() (*ErrorError, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*PortalNotFound) GetOrganizationSlug ¶
func (o *PortalNotFound) GetOrganizationSlug() string
GetOrganizationSlug returns the OrganizationSlug field value if set, zero value otherwise.
func (*PortalNotFound) GetOrganizationSlugOk ¶
func (o *PortalNotFound) GetOrganizationSlugOk() (*string, bool)
GetOrganizationSlugOk returns a tuple with the OrganizationSlug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PortalNotFound) GetProductSlug ¶
func (o *PortalNotFound) GetProductSlug() string
GetProductSlug returns the ProductSlug field value if set, zero value otherwise.
func (*PortalNotFound) GetProductSlugOk ¶
func (o *PortalNotFound) GetProductSlugOk() (*string, bool)
GetProductSlugOk returns a tuple with the ProductSlug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PortalNotFound) HasOrganizationSlug ¶
func (o *PortalNotFound) HasOrganizationSlug() bool
HasOrganizationSlug returns a boolean if a field has been set.
func (*PortalNotFound) HasProductSlug ¶
func (o *PortalNotFound) HasProductSlug() bool
HasProductSlug returns a boolean if a field has been set.
func (PortalNotFound) MarshalJSON ¶
func (o PortalNotFound) MarshalJSON() ([]byte, error)
func (*PortalNotFound) SetError ¶
func (o *PortalNotFound) SetError(v ErrorError)
SetError sets field value
func (*PortalNotFound) SetOrganizationSlug ¶
func (o *PortalNotFound) SetOrganizationSlug(v string)
SetOrganizationSlug gets a reference to the given string and assigns it to the OrganizationSlug field.
func (*PortalNotFound) SetProductSlug ¶
func (o *PortalNotFound) SetProductSlug(v string)
SetProductSlug gets a reference to the given string and assigns it to the ProductSlug field.
func (PortalNotFound) ToMap ¶
func (o PortalNotFound) ToMap() (map[string]interface{}, error)
func (*PortalNotFound) UnmarshalJSON ¶
func (o *PortalNotFound) UnmarshalJSON(data []byte) (err error)
type PortalSettings ¶
type PortalSettings struct {
// Whether customers can use the customer portal. When disabled, it answers `404`.
Enabled bool `json:"enabled"`
// Background of the portal's side panel, as `#rrggbb`, stored lower cased. `null` for the default color.
BrandColor NullableString `json:"brandColor" validate:"regexp=^#[0-9a-f]{6}$/i"`
// Color of the portal's inputs and buttons, as `#rrggbb`, stored lower cased. `null` for the default color.
AccentColor NullableString `json:"accentColor" validate:"regexp=^#[0-9a-f]{6}$/i"`
// Link back to your website shown in the portal, when the portal's URL has no allowed `return_url`. `null` for no link.
ReturnUrl NullableString `json:"returnUrl"`
// Domains the portal's `return_url` query parameter may point to, their subdomains included. Other return URLs are ignored, in favor of `returnUrl`.
ReturnDomains []string `json:"returnDomains"`
AdditionalProperties map[string]interface{}
}
PortalSettings struct for PortalSettings
func NewPortalSettings ¶
func NewPortalSettings(enabled bool, brandColor NullableString, accentColor NullableString, returnUrl NullableString, returnDomains []string) *PortalSettings
NewPortalSettings instantiates a new PortalSettings 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 NewPortalSettingsWithDefaults ¶
func NewPortalSettingsWithDefaults() *PortalSettings
NewPortalSettingsWithDefaults instantiates a new PortalSettings 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 (*PortalSettings) GetAccentColor ¶
func (o *PortalSettings) GetAccentColor() string
GetAccentColor returns the AccentColor field value If the value is explicit nil, the zero value for string will be returned
func (*PortalSettings) GetAccentColorOk ¶
func (o *PortalSettings) GetAccentColorOk() (*string, bool)
GetAccentColorOk returns a tuple with the AccentColor 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 (*PortalSettings) GetBrandColor ¶
func (o *PortalSettings) GetBrandColor() string
GetBrandColor returns the BrandColor field value If the value is explicit nil, the zero value for string will be returned
func (*PortalSettings) GetBrandColorOk ¶
func (o *PortalSettings) GetBrandColorOk() (*string, bool)
GetBrandColorOk returns a tuple with the BrandColor 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 (*PortalSettings) GetEnabled ¶
func (o *PortalSettings) GetEnabled() bool
GetEnabled returns the Enabled field value
func (*PortalSettings) GetEnabledOk ¶
func (o *PortalSettings) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*PortalSettings) GetReturnDomains ¶
func (o *PortalSettings) GetReturnDomains() []string
GetReturnDomains returns the ReturnDomains field value
func (*PortalSettings) GetReturnDomainsOk ¶
func (o *PortalSettings) GetReturnDomainsOk() ([]string, bool)
GetReturnDomainsOk returns a tuple with the ReturnDomains field value and a boolean to check if the value has been set.
func (*PortalSettings) GetReturnUrl ¶
func (o *PortalSettings) GetReturnUrl() string
GetReturnUrl returns the ReturnUrl field value If the value is explicit nil, the zero value for string will be returned
func (*PortalSettings) GetReturnUrlOk ¶
func (o *PortalSettings) GetReturnUrlOk() (*string, bool)
GetReturnUrlOk returns a tuple with the ReturnUrl 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 (PortalSettings) MarshalJSON ¶
func (o PortalSettings) MarshalJSON() ([]byte, error)
func (*PortalSettings) SetAccentColor ¶
func (o *PortalSettings) SetAccentColor(v string)
SetAccentColor sets field value
func (*PortalSettings) SetBrandColor ¶
func (o *PortalSettings) SetBrandColor(v string)
SetBrandColor sets field value
func (*PortalSettings) SetEnabled ¶
func (o *PortalSettings) SetEnabled(v bool)
SetEnabled sets field value
func (*PortalSettings) SetReturnDomains ¶
func (o *PortalSettings) SetReturnDomains(v []string)
SetReturnDomains sets field value
func (*PortalSettings) SetReturnUrl ¶
func (o *PortalSettings) SetReturnUrl(v string)
SetReturnUrl sets field value
func (PortalSettings) ToMap ¶
func (o PortalSettings) ToMap() (map[string]interface{}, error)
func (*PortalSettings) UnmarshalJSON ¶
func (o *PortalSettings) UnmarshalJSON(data []byte) (err error)
type Price ¶
type Price struct {
// Amount in major units of the currency: `49.99` for $49.99, `5000` for ¥5,000. `0` for a free license.
Amount float32 `json:"amount"`
// ISO 4217 code of the currency, in upper case.
Currency string `json:"currency"`
AdditionalProperties map[string]interface{}
}
Price Price paid for a license. Licenses have `null` instead when it's unknown, which leaves them out of the revenue stats.
func NewPrice ¶
NewPrice instantiates a new Price 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 NewPriceWithDefaults ¶
func NewPriceWithDefaults() *Price
NewPriceWithDefaults instantiates a new Price 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 (*Price) GetAmountOk ¶
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*Price) GetCurrency ¶
GetCurrency returns the Currency field value
func (*Price) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (Price) MarshalJSON ¶
func (*Price) UnmarshalJSON ¶
type PriceInput ¶
type PriceInput struct {
// Amount in major units of the currency: `49.99` for $49.99, `5000` for ¥5,000. `0` for a free license. At most as many decimals as the currency's minor unit: 2 for USD, 0 for JPY.
Amount float32 `json:"amount"`
// ISO 4217 code of the currency, in upper case.
Currency string `json:"currency"`
AdditionalProperties map[string]interface{}
}
PriceInput Price paid for a license. Send `null` instead when it's unknown, which leaves the license out of the revenue stats. Left out on creation, it's `null`.
func NewPriceInput ¶
func NewPriceInput(amount float32, currency string) *PriceInput
NewPriceInput instantiates a new PriceInput 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 NewPriceInputWithDefaults ¶
func NewPriceInputWithDefaults() *PriceInput
NewPriceInputWithDefaults instantiates a new PriceInput 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 (*PriceInput) GetAmount ¶
func (o *PriceInput) GetAmount() float32
GetAmount returns the Amount field value
func (*PriceInput) GetAmountOk ¶
func (o *PriceInput) GetAmountOk() (*float32, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*PriceInput) GetCurrency ¶
func (o *PriceInput) GetCurrency() string
GetCurrency returns the Currency field value
func (*PriceInput) GetCurrencyOk ¶
func (o *PriceInput) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (PriceInput) MarshalJSON ¶
func (o PriceInput) MarshalJSON() ([]byte, error)
func (*PriceInput) SetCurrency ¶
func (o *PriceInput) SetCurrency(v string)
SetCurrency sets field value
func (PriceInput) ToMap ¶
func (o PriceInput) ToMap() (map[string]interface{}, error)
func (*PriceInput) UnmarshalJSON ¶
func (o *PriceInput) UnmarshalJSON(data []byte) (err error)
type Product ¶
type Product struct {
Id string `json:"id"`
Slug string `json:"slug"`
Name string `json:"name"`
// For test products, id of the live product they're a sandbox of. `null` for live products.
IsTestFromProductId NullableString `json:"isTestFromProductId"`
// Public URL of the product's logo, shown in the web app and the customer portal. `null` without a logo.
LogoUrl NullableString `json:"logoUrl"`
Portal PortalSettings `json:"portal"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
AdditionalProperties map[string]interface{}
}
Product struct for Product
func NewProduct ¶
func NewProduct(id string, slug string, name string, isTestFromProductId NullableString, logoUrl NullableString, portal PortalSettings, createdAt time.Time, updatedAt time.Time) *Product
NewProduct instantiates a new Product 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 NewProductWithDefaults ¶
func NewProductWithDefaults() *Product
NewProductWithDefaults instantiates a new Product 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 (*Product) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Product) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Product) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Product) GetIsTestFromProductId ¶
GetIsTestFromProductId returns the IsTestFromProductId field value If the value is explicit nil, the zero value for string will be returned
func (*Product) GetIsTestFromProductIdOk ¶
GetIsTestFromProductIdOk returns a tuple with the IsTestFromProductId 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 (*Product) GetLogoUrl ¶
GetLogoUrl returns the LogoUrl field value If the value is explicit nil, the zero value for string will be returned
func (*Product) GetLogoUrlOk ¶
GetLogoUrlOk returns a tuple with the LogoUrl 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 (*Product) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Product) GetPortal ¶
func (o *Product) GetPortal() PortalSettings
GetPortal returns the Portal field value
func (*Product) GetPortalOk ¶
func (o *Product) GetPortalOk() (*PortalSettings, bool)
GetPortalOk returns a tuple with the Portal field value and a boolean to check if the value has been set.
func (*Product) GetSlugOk ¶
GetSlugOk returns a tuple with the Slug field value and a boolean to check if the value has been set.
func (*Product) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Product) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (Product) MarshalJSON ¶
func (*Product) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Product) SetIsTestFromProductId ¶
SetIsTestFromProductId sets field value
func (*Product) SetPortal ¶
func (o *Product) SetPortal(v PortalSettings)
SetPortal sets field value
func (*Product) SetUpdatedAt ¶
SetUpdatedAt sets field value
func (*Product) UnmarshalJSON ¶
type ProductList ¶
type ProductList struct {
// Items of the page, in the requested order. Empty past the last page.
Data []Product `json:"data"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
ProductList struct for ProductList
func NewProductList ¶
func NewProductList(data []Product, pagination Pagination) *ProductList
NewProductList instantiates a new ProductList 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 NewProductListWithDefaults ¶
func NewProductListWithDefaults() *ProductList
NewProductListWithDefaults instantiates a new ProductList 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 (*ProductList) GetData ¶
func (o *ProductList) GetData() []Product
GetData returns the Data field value
func (*ProductList) GetDataOk ¶
func (o *ProductList) GetDataOk() ([]Product, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ProductList) GetPagination ¶
func (o *ProductList) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*ProductList) GetPaginationOk ¶
func (o *ProductList) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (ProductList) MarshalJSON ¶
func (o ProductList) MarshalJSON() ([]byte, error)
func (*ProductList) SetPagination ¶
func (o *ProductList) SetPagination(v Pagination)
SetPagination sets field value
func (ProductList) ToMap ¶
func (o ProductList) ToMap() (map[string]interface{}, error)
func (*ProductList) UnmarshalJSON ¶
func (o *ProductList) UnmarshalJSON(data []byte) (err error)
type ProductStats ¶
type ProductStats struct {
// Number of licenses of the product.
LicenseCount int32 `json:"licenseCount"`
// Number of licenses that haven't expired, and that a machine validated in the last 90 days.
ActiveLicenseCount int32 `json:"activeLicenseCount"`
// Number of licenses created in the last 30 days, today included, in UTC.
NewLicenseCount int32 `json:"newLicenseCount"`
// Number of licenses expiring in the next 30 days.
ExpiringLicenseCount int32 `json:"expiringLicenseCount"`
// Number of licenses that expired in the last 30 days.
ExpiredLicenseCount int32 `json:"expiredLicenseCount"`
// Number of active machines of the licenses of the product.
ActiveMachineCount int32 `json:"activeMachineCount"`
// Number of licenses with at least one active machine.
InUseLicenseCount int32 `json:"inUseLicenseCount"`
// Sum of the maximum numbers of machines of the licenses that haven't expired. Licenses without a maximum are left out.
SeatCount int32 `json:"seatCount"`
// Number of active machines of the licenses counted in `seatCount`, at most their maximum number of machines each.
UsedSeatCount int32 `json:"usedSeatCount"`
// Number of licenses counted in `seatCount` active on their maximum number of machines.
FullLicenseCount int32 `json:"fullLicenseCount"`
// The 30 days covered by the daily stats, from the oldest one, in UTC.
Days []string `json:"days"`
// The 12 months covered by the monthly stats, from the oldest one, in UTC.
Months []string `json:"months"`
// Number of licenses created each day, aligned on `days`.
NewLicensesByDay []int32 `json:"newLicensesByDay"`
// Number of licenses created each month, aligned on `months`.
NewLicensesByMonth []int32 `json:"newLicensesByMonth"`
// Number of licenses of each policy created each day and each month, for the policies with licenses created over the covered months.
NewLicensesByPolicy []ProductStatsNewLicensesByPolicyInner `json:"newLicensesByPolicy"`
// Revenue in each currency licenses were sold in, from the one with the most licenses sold. Amounts aren't converted between currencies.
Revenue []Revenue `json:"revenue"`
// Successful activations of the licenses of the product each day, per version of the application, from the most recent one.
ActivationsByVersion []ProductStatsActivationsByVersionInner `json:"activationsByVersion"`
// Number of active machines running each version of the application, from the most recent one.
ActiveMachinesByVersion []ProductStatsActiveMachinesByVersionInner `json:"activeMachinesByVersion"`
// Number of active machines on each platform, from the one with the most machines.
ActiveMachinesByPlatform []ProductStatsActiveMachinesByPlatformInner `json:"activeMachinesByPlatform"`
AdditionalProperties map[string]interface{}
}
ProductStats struct for ProductStats
func NewProductStats ¶
func NewProductStats(licenseCount int32, activeLicenseCount int32, newLicenseCount int32, expiringLicenseCount int32, expiredLicenseCount int32, activeMachineCount int32, inUseLicenseCount int32, seatCount int32, usedSeatCount int32, fullLicenseCount int32, days []string, months []string, newLicensesByDay []int32, newLicensesByMonth []int32, newLicensesByPolicy []ProductStatsNewLicensesByPolicyInner, revenue []Revenue, activationsByVersion []ProductStatsActivationsByVersionInner, activeMachinesByVersion []ProductStatsActiveMachinesByVersionInner, activeMachinesByPlatform []ProductStatsActiveMachinesByPlatformInner) *ProductStats
NewProductStats instantiates a new ProductStats 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 NewProductStatsWithDefaults ¶
func NewProductStatsWithDefaults() *ProductStats
NewProductStatsWithDefaults instantiates a new ProductStats 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 (*ProductStats) GetActivationsByVersion ¶
func (o *ProductStats) GetActivationsByVersion() []ProductStatsActivationsByVersionInner
GetActivationsByVersion returns the ActivationsByVersion field value
func (*ProductStats) GetActivationsByVersionOk ¶
func (o *ProductStats) GetActivationsByVersionOk() ([]ProductStatsActivationsByVersionInner, bool)
GetActivationsByVersionOk returns a tuple with the ActivationsByVersion field value and a boolean to check if the value has been set.
func (*ProductStats) GetActiveLicenseCount ¶
func (o *ProductStats) GetActiveLicenseCount() int32
GetActiveLicenseCount returns the ActiveLicenseCount field value
func (*ProductStats) GetActiveLicenseCountOk ¶
func (o *ProductStats) GetActiveLicenseCountOk() (*int32, bool)
GetActiveLicenseCountOk returns a tuple with the ActiveLicenseCount field value and a boolean to check if the value has been set.
func (*ProductStats) GetActiveMachineCount ¶
func (o *ProductStats) GetActiveMachineCount() int32
GetActiveMachineCount returns the ActiveMachineCount field value
func (*ProductStats) GetActiveMachineCountOk ¶
func (o *ProductStats) GetActiveMachineCountOk() (*int32, bool)
GetActiveMachineCountOk returns a tuple with the ActiveMachineCount field value and a boolean to check if the value has been set.
func (*ProductStats) GetActiveMachinesByPlatform ¶
func (o *ProductStats) GetActiveMachinesByPlatform() []ProductStatsActiveMachinesByPlatformInner
GetActiveMachinesByPlatform returns the ActiveMachinesByPlatform field value
func (*ProductStats) GetActiveMachinesByPlatformOk ¶
func (o *ProductStats) GetActiveMachinesByPlatformOk() ([]ProductStatsActiveMachinesByPlatformInner, bool)
GetActiveMachinesByPlatformOk returns a tuple with the ActiveMachinesByPlatform field value and a boolean to check if the value has been set.
func (*ProductStats) GetActiveMachinesByVersion ¶
func (o *ProductStats) GetActiveMachinesByVersion() []ProductStatsActiveMachinesByVersionInner
GetActiveMachinesByVersion returns the ActiveMachinesByVersion field value
func (*ProductStats) GetActiveMachinesByVersionOk ¶
func (o *ProductStats) GetActiveMachinesByVersionOk() ([]ProductStatsActiveMachinesByVersionInner, bool)
GetActiveMachinesByVersionOk returns a tuple with the ActiveMachinesByVersion field value and a boolean to check if the value has been set.
func (*ProductStats) GetDays ¶
func (o *ProductStats) GetDays() []string
GetDays returns the Days field value
func (*ProductStats) GetDaysOk ¶
func (o *ProductStats) GetDaysOk() ([]string, bool)
GetDaysOk returns a tuple with the Days field value and a boolean to check if the value has been set.
func (*ProductStats) GetExpiredLicenseCount ¶
func (o *ProductStats) GetExpiredLicenseCount() int32
GetExpiredLicenseCount returns the ExpiredLicenseCount field value
func (*ProductStats) GetExpiredLicenseCountOk ¶
func (o *ProductStats) GetExpiredLicenseCountOk() (*int32, bool)
GetExpiredLicenseCountOk returns a tuple with the ExpiredLicenseCount field value and a boolean to check if the value has been set.
func (*ProductStats) GetExpiringLicenseCount ¶
func (o *ProductStats) GetExpiringLicenseCount() int32
GetExpiringLicenseCount returns the ExpiringLicenseCount field value
func (*ProductStats) GetExpiringLicenseCountOk ¶
func (o *ProductStats) GetExpiringLicenseCountOk() (*int32, bool)
GetExpiringLicenseCountOk returns a tuple with the ExpiringLicenseCount field value and a boolean to check if the value has been set.
func (*ProductStats) GetFullLicenseCount ¶
func (o *ProductStats) GetFullLicenseCount() int32
GetFullLicenseCount returns the FullLicenseCount field value
func (*ProductStats) GetFullLicenseCountOk ¶
func (o *ProductStats) GetFullLicenseCountOk() (*int32, bool)
GetFullLicenseCountOk returns a tuple with the FullLicenseCount field value and a boolean to check if the value has been set.
func (*ProductStats) GetInUseLicenseCount ¶
func (o *ProductStats) GetInUseLicenseCount() int32
GetInUseLicenseCount returns the InUseLicenseCount field value
func (*ProductStats) GetInUseLicenseCountOk ¶
func (o *ProductStats) GetInUseLicenseCountOk() (*int32, bool)
GetInUseLicenseCountOk returns a tuple with the InUseLicenseCount field value and a boolean to check if the value has been set.
func (*ProductStats) GetLicenseCount ¶
func (o *ProductStats) GetLicenseCount() int32
GetLicenseCount returns the LicenseCount field value
func (*ProductStats) GetLicenseCountOk ¶
func (o *ProductStats) GetLicenseCountOk() (*int32, bool)
GetLicenseCountOk returns a tuple with the LicenseCount field value and a boolean to check if the value has been set.
func (*ProductStats) GetMonths ¶
func (o *ProductStats) GetMonths() []string
GetMonths returns the Months field value
func (*ProductStats) GetMonthsOk ¶
func (o *ProductStats) GetMonthsOk() ([]string, bool)
GetMonthsOk returns a tuple with the Months field value and a boolean to check if the value has been set.
func (*ProductStats) GetNewLicenseCount ¶
func (o *ProductStats) GetNewLicenseCount() int32
GetNewLicenseCount returns the NewLicenseCount field value
func (*ProductStats) GetNewLicenseCountOk ¶
func (o *ProductStats) GetNewLicenseCountOk() (*int32, bool)
GetNewLicenseCountOk returns a tuple with the NewLicenseCount field value and a boolean to check if the value has been set.
func (*ProductStats) GetNewLicensesByDay ¶
func (o *ProductStats) GetNewLicensesByDay() []int32
GetNewLicensesByDay returns the NewLicensesByDay field value
func (*ProductStats) GetNewLicensesByDayOk ¶
func (o *ProductStats) GetNewLicensesByDayOk() ([]int32, bool)
GetNewLicensesByDayOk returns a tuple with the NewLicensesByDay field value and a boolean to check if the value has been set.
func (*ProductStats) GetNewLicensesByMonth ¶
func (o *ProductStats) GetNewLicensesByMonth() []int32
GetNewLicensesByMonth returns the NewLicensesByMonth field value
func (*ProductStats) GetNewLicensesByMonthOk ¶
func (o *ProductStats) GetNewLicensesByMonthOk() ([]int32, bool)
GetNewLicensesByMonthOk returns a tuple with the NewLicensesByMonth field value and a boolean to check if the value has been set.
func (*ProductStats) GetNewLicensesByPolicy ¶
func (o *ProductStats) GetNewLicensesByPolicy() []ProductStatsNewLicensesByPolicyInner
GetNewLicensesByPolicy returns the NewLicensesByPolicy field value
func (*ProductStats) GetNewLicensesByPolicyOk ¶
func (o *ProductStats) GetNewLicensesByPolicyOk() ([]ProductStatsNewLicensesByPolicyInner, bool)
GetNewLicensesByPolicyOk returns a tuple with the NewLicensesByPolicy field value and a boolean to check if the value has been set.
func (*ProductStats) GetRevenue ¶
func (o *ProductStats) GetRevenue() []Revenue
GetRevenue returns the Revenue field value
func (*ProductStats) GetRevenueOk ¶
func (o *ProductStats) GetRevenueOk() ([]Revenue, bool)
GetRevenueOk returns a tuple with the Revenue field value and a boolean to check if the value has been set.
func (*ProductStats) GetSeatCount ¶
func (o *ProductStats) GetSeatCount() int32
GetSeatCount returns the SeatCount field value
func (*ProductStats) GetSeatCountOk ¶
func (o *ProductStats) GetSeatCountOk() (*int32, bool)
GetSeatCountOk returns a tuple with the SeatCount field value and a boolean to check if the value has been set.
func (*ProductStats) GetUsedSeatCount ¶
func (o *ProductStats) GetUsedSeatCount() int32
GetUsedSeatCount returns the UsedSeatCount field value
func (*ProductStats) GetUsedSeatCountOk ¶
func (o *ProductStats) GetUsedSeatCountOk() (*int32, bool)
GetUsedSeatCountOk returns a tuple with the UsedSeatCount field value and a boolean to check if the value has been set.
func (ProductStats) MarshalJSON ¶
func (o ProductStats) MarshalJSON() ([]byte, error)
func (*ProductStats) SetActivationsByVersion ¶
func (o *ProductStats) SetActivationsByVersion(v []ProductStatsActivationsByVersionInner)
SetActivationsByVersion sets field value
func (*ProductStats) SetActiveLicenseCount ¶
func (o *ProductStats) SetActiveLicenseCount(v int32)
SetActiveLicenseCount sets field value
func (*ProductStats) SetActiveMachineCount ¶
func (o *ProductStats) SetActiveMachineCount(v int32)
SetActiveMachineCount sets field value
func (*ProductStats) SetActiveMachinesByPlatform ¶
func (o *ProductStats) SetActiveMachinesByPlatform(v []ProductStatsActiveMachinesByPlatformInner)
SetActiveMachinesByPlatform sets field value
func (*ProductStats) SetActiveMachinesByVersion ¶
func (o *ProductStats) SetActiveMachinesByVersion(v []ProductStatsActiveMachinesByVersionInner)
SetActiveMachinesByVersion sets field value
func (*ProductStats) SetExpiredLicenseCount ¶
func (o *ProductStats) SetExpiredLicenseCount(v int32)
SetExpiredLicenseCount sets field value
func (*ProductStats) SetExpiringLicenseCount ¶
func (o *ProductStats) SetExpiringLicenseCount(v int32)
SetExpiringLicenseCount sets field value
func (*ProductStats) SetFullLicenseCount ¶
func (o *ProductStats) SetFullLicenseCount(v int32)
SetFullLicenseCount sets field value
func (*ProductStats) SetInUseLicenseCount ¶
func (o *ProductStats) SetInUseLicenseCount(v int32)
SetInUseLicenseCount sets field value
func (*ProductStats) SetLicenseCount ¶
func (o *ProductStats) SetLicenseCount(v int32)
SetLicenseCount sets field value
func (*ProductStats) SetMonths ¶
func (o *ProductStats) SetMonths(v []string)
SetMonths sets field value
func (*ProductStats) SetNewLicenseCount ¶
func (o *ProductStats) SetNewLicenseCount(v int32)
SetNewLicenseCount sets field value
func (*ProductStats) SetNewLicensesByDay ¶
func (o *ProductStats) SetNewLicensesByDay(v []int32)
SetNewLicensesByDay sets field value
func (*ProductStats) SetNewLicensesByMonth ¶
func (o *ProductStats) SetNewLicensesByMonth(v []int32)
SetNewLicensesByMonth sets field value
func (*ProductStats) SetNewLicensesByPolicy ¶
func (o *ProductStats) SetNewLicensesByPolicy(v []ProductStatsNewLicensesByPolicyInner)
SetNewLicensesByPolicy sets field value
func (*ProductStats) SetRevenue ¶
func (o *ProductStats) SetRevenue(v []Revenue)
SetRevenue sets field value
func (*ProductStats) SetSeatCount ¶
func (o *ProductStats) SetSeatCount(v int32)
SetSeatCount sets field value
func (*ProductStats) SetUsedSeatCount ¶
func (o *ProductStats) SetUsedSeatCount(v int32)
SetUsedSeatCount sets field value
func (ProductStats) ToMap ¶
func (o ProductStats) ToMap() (map[string]interface{}, error)
func (*ProductStats) UnmarshalJSON ¶
func (o *ProductStats) UnmarshalJSON(data []byte) (err error)
type ProductStatsActivationsByVersionInner ¶
type ProductStatsActivationsByVersionInner struct {
// `null` for the activations that didn't send a version.
Version NullableString `json:"version"`
// Number of successful activations each day, aligned on `days`.
Counts []int32 `json:"counts"`
AdditionalProperties map[string]interface{}
}
ProductStatsActivationsByVersionInner struct for ProductStatsActivationsByVersionInner
func NewProductStatsActivationsByVersionInner ¶
func NewProductStatsActivationsByVersionInner(version NullableString, counts []int32) *ProductStatsActivationsByVersionInner
NewProductStatsActivationsByVersionInner instantiates a new ProductStatsActivationsByVersionInner 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 NewProductStatsActivationsByVersionInnerWithDefaults ¶
func NewProductStatsActivationsByVersionInnerWithDefaults() *ProductStatsActivationsByVersionInner
NewProductStatsActivationsByVersionInnerWithDefaults instantiates a new ProductStatsActivationsByVersionInner 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 (*ProductStatsActivationsByVersionInner) GetCounts ¶
func (o *ProductStatsActivationsByVersionInner) GetCounts() []int32
GetCounts returns the Counts field value
func (*ProductStatsActivationsByVersionInner) GetCountsOk ¶
func (o *ProductStatsActivationsByVersionInner) GetCountsOk() ([]int32, bool)
GetCountsOk returns a tuple with the Counts field value and a boolean to check if the value has been set.
func (*ProductStatsActivationsByVersionInner) GetVersion ¶
func (o *ProductStatsActivationsByVersionInner) GetVersion() string
GetVersion returns the Version field value If the value is explicit nil, the zero value for string will be returned
func (*ProductStatsActivationsByVersionInner) GetVersionOk ¶
func (o *ProductStatsActivationsByVersionInner) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version 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 (ProductStatsActivationsByVersionInner) MarshalJSON ¶
func (o ProductStatsActivationsByVersionInner) MarshalJSON() ([]byte, error)
func (*ProductStatsActivationsByVersionInner) SetCounts ¶
func (o *ProductStatsActivationsByVersionInner) SetCounts(v []int32)
SetCounts sets field value
func (*ProductStatsActivationsByVersionInner) SetVersion ¶
func (o *ProductStatsActivationsByVersionInner) SetVersion(v string)
SetVersion sets field value
func (ProductStatsActivationsByVersionInner) ToMap ¶
func (o ProductStatsActivationsByVersionInner) ToMap() (map[string]interface{}, error)
func (*ProductStatsActivationsByVersionInner) UnmarshalJSON ¶
func (o *ProductStatsActivationsByVersionInner) UnmarshalJSON(data []byte) (err error)
type ProductStatsActiveMachinesByPlatformInner ¶
type ProductStatsActiveMachinesByPlatformInner struct {
// `null` for the machines that didn't send a platform.
Platform NullableString `json:"platform"`
Count int32 `json:"count"`
AdditionalProperties map[string]interface{}
}
ProductStatsActiveMachinesByPlatformInner struct for ProductStatsActiveMachinesByPlatformInner
func NewProductStatsActiveMachinesByPlatformInner ¶
func NewProductStatsActiveMachinesByPlatformInner(platform NullableString, count int32) *ProductStatsActiveMachinesByPlatformInner
NewProductStatsActiveMachinesByPlatformInner instantiates a new ProductStatsActiveMachinesByPlatformInner 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 NewProductStatsActiveMachinesByPlatformInnerWithDefaults ¶
func NewProductStatsActiveMachinesByPlatformInnerWithDefaults() *ProductStatsActiveMachinesByPlatformInner
NewProductStatsActiveMachinesByPlatformInnerWithDefaults instantiates a new ProductStatsActiveMachinesByPlatformInner 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 (*ProductStatsActiveMachinesByPlatformInner) GetCount ¶
func (o *ProductStatsActiveMachinesByPlatformInner) GetCount() int32
GetCount returns the Count field value
func (*ProductStatsActiveMachinesByPlatformInner) GetCountOk ¶
func (o *ProductStatsActiveMachinesByPlatformInner) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.
func (*ProductStatsActiveMachinesByPlatformInner) GetPlatform ¶
func (o *ProductStatsActiveMachinesByPlatformInner) GetPlatform() string
GetPlatform returns the Platform field value If the value is explicit nil, the zero value for string will be returned
func (*ProductStatsActiveMachinesByPlatformInner) GetPlatformOk ¶
func (o *ProductStatsActiveMachinesByPlatformInner) GetPlatformOk() (*string, bool)
GetPlatformOk returns a tuple with the Platform 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 (ProductStatsActiveMachinesByPlatformInner) MarshalJSON ¶
func (o ProductStatsActiveMachinesByPlatformInner) MarshalJSON() ([]byte, error)
func (*ProductStatsActiveMachinesByPlatformInner) SetCount ¶
func (o *ProductStatsActiveMachinesByPlatformInner) SetCount(v int32)
SetCount sets field value
func (*ProductStatsActiveMachinesByPlatformInner) SetPlatform ¶
func (o *ProductStatsActiveMachinesByPlatformInner) SetPlatform(v string)
SetPlatform sets field value
func (ProductStatsActiveMachinesByPlatformInner) ToMap ¶
func (o ProductStatsActiveMachinesByPlatformInner) ToMap() (map[string]interface{}, error)
func (*ProductStatsActiveMachinesByPlatformInner) UnmarshalJSON ¶
func (o *ProductStatsActiveMachinesByPlatformInner) UnmarshalJSON(data []byte) (err error)
type ProductStatsActiveMachinesByVersionInner ¶
type ProductStatsActiveMachinesByVersionInner struct {
// `null` for the machines that didn't send a version.
Version NullableString `json:"version"`
Count int32 `json:"count"`
AdditionalProperties map[string]interface{}
}
ProductStatsActiveMachinesByVersionInner struct for ProductStatsActiveMachinesByVersionInner
func NewProductStatsActiveMachinesByVersionInner ¶
func NewProductStatsActiveMachinesByVersionInner(version NullableString, count int32) *ProductStatsActiveMachinesByVersionInner
NewProductStatsActiveMachinesByVersionInner instantiates a new ProductStatsActiveMachinesByVersionInner 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 NewProductStatsActiveMachinesByVersionInnerWithDefaults ¶
func NewProductStatsActiveMachinesByVersionInnerWithDefaults() *ProductStatsActiveMachinesByVersionInner
NewProductStatsActiveMachinesByVersionInnerWithDefaults instantiates a new ProductStatsActiveMachinesByVersionInner 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 (*ProductStatsActiveMachinesByVersionInner) GetCount ¶
func (o *ProductStatsActiveMachinesByVersionInner) GetCount() int32
GetCount returns the Count field value
func (*ProductStatsActiveMachinesByVersionInner) GetCountOk ¶
func (o *ProductStatsActiveMachinesByVersionInner) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.
func (*ProductStatsActiveMachinesByVersionInner) GetVersion ¶
func (o *ProductStatsActiveMachinesByVersionInner) GetVersion() string
GetVersion returns the Version field value If the value is explicit nil, the zero value for string will be returned
func (*ProductStatsActiveMachinesByVersionInner) GetVersionOk ¶
func (o *ProductStatsActiveMachinesByVersionInner) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version 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 (ProductStatsActiveMachinesByVersionInner) MarshalJSON ¶
func (o ProductStatsActiveMachinesByVersionInner) MarshalJSON() ([]byte, error)
func (*ProductStatsActiveMachinesByVersionInner) SetCount ¶
func (o *ProductStatsActiveMachinesByVersionInner) SetCount(v int32)
SetCount sets field value
func (*ProductStatsActiveMachinesByVersionInner) SetVersion ¶
func (o *ProductStatsActiveMachinesByVersionInner) SetVersion(v string)
SetVersion sets field value
func (ProductStatsActiveMachinesByVersionInner) ToMap ¶
func (o ProductStatsActiveMachinesByVersionInner) ToMap() (map[string]interface{}, error)
func (*ProductStatsActiveMachinesByVersionInner) UnmarshalJSON ¶
func (o *ProductStatsActiveMachinesByVersionInner) UnmarshalJSON(data []byte) (err error)
type ProductStatsNewLicensesByPolicyInner ¶
type ProductStatsNewLicensesByPolicyInner struct {
PolicyId string `json:"policyId"`
// Value each day, aligned on `days`.
ByDay []float32 `json:"byDay"`
// Value each month, aligned on `months`.
ByMonth []float32 `json:"byMonth"`
AdditionalProperties map[string]interface{}
}
ProductStatsNewLicensesByPolicyInner struct for ProductStatsNewLicensesByPolicyInner
func NewProductStatsNewLicensesByPolicyInner ¶
func NewProductStatsNewLicensesByPolicyInner(policyId string, byDay []float32, byMonth []float32) *ProductStatsNewLicensesByPolicyInner
NewProductStatsNewLicensesByPolicyInner instantiates a new ProductStatsNewLicensesByPolicyInner 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 NewProductStatsNewLicensesByPolicyInnerWithDefaults ¶
func NewProductStatsNewLicensesByPolicyInnerWithDefaults() *ProductStatsNewLicensesByPolicyInner
NewProductStatsNewLicensesByPolicyInnerWithDefaults instantiates a new ProductStatsNewLicensesByPolicyInner 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 (*ProductStatsNewLicensesByPolicyInner) GetByDay ¶
func (o *ProductStatsNewLicensesByPolicyInner) GetByDay() []float32
GetByDay returns the ByDay field value
func (*ProductStatsNewLicensesByPolicyInner) GetByDayOk ¶
func (o *ProductStatsNewLicensesByPolicyInner) GetByDayOk() ([]float32, bool)
GetByDayOk returns a tuple with the ByDay field value and a boolean to check if the value has been set.
func (*ProductStatsNewLicensesByPolicyInner) GetByMonth ¶
func (o *ProductStatsNewLicensesByPolicyInner) GetByMonth() []float32
GetByMonth returns the ByMonth field value
func (*ProductStatsNewLicensesByPolicyInner) GetByMonthOk ¶
func (o *ProductStatsNewLicensesByPolicyInner) GetByMonthOk() ([]float32, bool)
GetByMonthOk returns a tuple with the ByMonth field value and a boolean to check if the value has been set.
func (*ProductStatsNewLicensesByPolicyInner) GetPolicyId ¶
func (o *ProductStatsNewLicensesByPolicyInner) GetPolicyId() string
GetPolicyId returns the PolicyId field value
func (*ProductStatsNewLicensesByPolicyInner) GetPolicyIdOk ¶
func (o *ProductStatsNewLicensesByPolicyInner) GetPolicyIdOk() (*string, bool)
GetPolicyIdOk returns a tuple with the PolicyId field value and a boolean to check if the value has been set.
func (ProductStatsNewLicensesByPolicyInner) MarshalJSON ¶
func (o ProductStatsNewLicensesByPolicyInner) MarshalJSON() ([]byte, error)
func (*ProductStatsNewLicensesByPolicyInner) SetByDay ¶
func (o *ProductStatsNewLicensesByPolicyInner) SetByDay(v []float32)
SetByDay sets field value
func (*ProductStatsNewLicensesByPolicyInner) SetByMonth ¶
func (o *ProductStatsNewLicensesByPolicyInner) SetByMonth(v []float32)
SetByMonth sets field value
func (*ProductStatsNewLicensesByPolicyInner) SetPolicyId ¶
func (o *ProductStatsNewLicensesByPolicyInner) SetPolicyId(v string)
SetPolicyId sets field value
func (ProductStatsNewLicensesByPolicyInner) ToMap ¶
func (o ProductStatsNewLicensesByPolicyInner) ToMap() (map[string]interface{}, error)
func (*ProductStatsNewLicensesByPolicyInner) UnmarshalJSON ¶
func (o *ProductStatsNewLicensesByPolicyInner) UnmarshalJSON(data []byte) (err error)
type ProductsAPIService ¶
type ProductsAPIService service
ProductsAPIService ProductsAPI service
func (*ProductsAPIService) CreateProduct ¶
func (a *ProductsAPIService) CreateProduct(ctx context.Context) ApiCreateProductRequest
CreateProduct Create a product
Without a `slug`, the product gets one derived from its name: lower cased, without accents and special characters (`Élan Pro 2!` becomes `elan-pro-2`). When another product of the organization already uses it, a dash and 3 random lowercase letters or digits are appended (`elan-pro-2-k3f`), until the slug is free.
An explicit `slug` is used as is: the request fails with a `409` when it's taken, it's never changed.
Slug uniqueness is enforced by the database, so when concurrent requests end up with the same slug, only one succeeds and the others get a `409`, even without an explicit `slug`. Retrying such a request without a `slug` derives a new one.
The product is created with its default policy, named `Default policy` with the `default` slug, whose settings are given by `defaultPolicy`. Omitted settings default to licenses that never expire, on a single machine, offline for one week, for every version of the product. Unlike `createPolicy`, where `maxMachines` defaults to no limit.
With `isTestFromProductId`, the product is a test product: its id, its slug, and the ids, slugs and license keys of its resources start with `test_` (`TEST-` for license keys), and only test API keys reach it. It starts with copies of the policies, releases and portal settings of the live product, `defaultPolicy` is ignored. Later changes to the live product aren't copied: reset the test product to copy them again. Test API keys can only create test products, live API keys only live ones.
**Required role permission**: `product:create` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateProductRequest
func (*ProductsAPIService) CreateProductExecute ¶
func (a *ProductsAPIService) CreateProductExecute(r ApiCreateProductRequest) (*Product, *http.Response, error)
Execute executes the request
@return Product
func (*ProductsAPIService) DeleteProduct ¶
func (a *ProductsAPIService) DeleteProduct(ctx context.Context, id string) ApiDeleteProductRequest
DeleteProduct Delete a product
Deletes the product along with its policies, customers and releases, and its test products with everything they hold. A live product that licenses belong to can't be deleted: delete them first. A test product can always be deleted, along with its licenses and machines. The events of the deleted policies and licenses can no longer be listed.
**Required role permission**: `product:delete` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDeleteProductRequest
func (*ProductsAPIService) DeleteProductExecute ¶
func (a *ProductsAPIService) DeleteProductExecute(r ApiDeleteProductRequest) (*http.Response, error)
Execute executes the request
func (*ProductsAPIService) DeleteProductLogo ¶
func (a *ProductsAPIService) DeleteProductLogo(ctx context.Context, id string) ApiDeleteProductLogoRequest
DeleteProductLogo Delete a product logo
Removes the logo of the product, and deletes its image. Succeeds when the product has no logo.
**Required role permission**: `product:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDeleteProductLogoRequest
func (*ProductsAPIService) DeleteProductLogoExecute ¶
func (a *ProductsAPIService) DeleteProductLogoExecute(r ApiDeleteProductLogoRequest) (*Product, *http.Response, error)
Execute executes the request
@return Product
func (*ProductsAPIService) GetProduct ¶
func (a *ProductsAPIService) GetProduct(ctx context.Context, id string) ApiGetProductRequest
GetProduct Get a product
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetProductRequest
func (*ProductsAPIService) GetProductExecute ¶
func (a *ProductsAPIService) GetProductExecute(r ApiGetProductRequest) (*Product, *http.Response, error)
Execute executes the request
@return Product
func (*ProductsAPIService) GetProductStats ¶
func (a *ProductsAPIService) GetProductStats(ctx context.Context, id string) ApiGetProductStatsRequest
GetProductStats Get the stats of a product
Counts of the licenses and machines of the product, number of licenses created each day over the last 30 days and each month over the last 12 months, overall and per policy, revenue per currency over the same periods, and successful activations each day over the last 30 days. Days and months are in UTC.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetProductStatsRequest
func (*ProductsAPIService) GetProductStatsExecute ¶
func (a *ProductsAPIService) GetProductStatsExecute(r ApiGetProductStatsRequest) (*ProductStats, *http.Response, error)
Execute executes the request
@return ProductStats
func (*ProductsAPIService) ListProducts ¶
func (a *ProductsAPIService) ListProducts(ctx context.Context) ApiListProductsRequest
ListProducts List products
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListProductsRequest
func (*ProductsAPIService) ListProductsExecute ¶
func (a *ProductsAPIService) ListProductsExecute(r ApiListProductsRequest) (*ProductList, *http.Response, error)
Execute executes the request
@return ProductList
func (*ProductsAPIService) ResetProduct ¶
func (a *ProductsAPIService) ResetProduct(ctx context.Context, id string) ApiResetProductRequest
ResetProduct Reset a test product
Deletes the customers, licenses, machines, policies and releases of the test product, with their events, then copies the policies, releases and portal settings of its live product again. Its id, name and slug are kept, but the copied policies get new ids. The tokens of its customers, licenses and machines stop working.
**Required role permission**: `product:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiResetProductRequest
func (*ProductsAPIService) ResetProductExecute ¶
func (a *ProductsAPIService) ResetProductExecute(r ApiResetProductRequest) (*Product, *http.Response, error)
Execute executes the request
@return Product
func (*ProductsAPIService) UpdateProduct ¶
func (a *ProductsAPIService) UpdateProduct(ctx context.Context, id string) ApiUpdateProductRequest
UpdateProduct Update a product
A product can't be turned into a test product, or back: `isTestFromProductId` can't be changed.
**Required role permission**: `product:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdateProductRequest
func (*ProductsAPIService) UpdateProductExecute ¶
func (a *ProductsAPIService) UpdateProductExecute(r ApiUpdateProductRequest) (*Product, *http.Response, error)
Execute executes the request
@return Product
func (*ProductsAPIService) UploadProductLogo ¶
func (a *ProductsAPIService) UploadProductLogo(ctx context.Context, id string) ApiUploadProductLogoRequest
UploadProductLogo Upload a product logo
Replaces the logo of the product, shown in the web app and the customer portal. The previous logo is deleted.
Accepts WebP, PNG, JPEG and SVG images up to 1 MB, recognized by their content. Logos are shown in squares: use square images, 256×256 pixels for bitmaps. The web app crops and resizes images to this size, and converts them to WebP, before uploading them.
**Required role permission**: `product:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUploadProductLogoRequest
func (*ProductsAPIService) UploadProductLogoExecute ¶
func (a *ProductsAPIService) UploadProductLogoExecute(r ApiUploadProductLogoRequest) (*Product, *http.Response, error)
Execute executes the request
@return Product
type Release ¶
type Release struct {
Id string `json:"id"`
ProductId string `json:"productId"`
Version string `json:"version"`
ReleasedAt time.Time `json:"releasedAt"`
CreatedAt time.Time `json:"createdAt"`
// Number of active machines of the product's licenses running this version: the ones whose `version` is exactly the release's, so `v2.3.1` doesn't count for `2.3.1`.
ActiveMachineCount int32 `json:"activeMachineCount"`
AdditionalProperties map[string]interface{}
}
Release struct for Release
func NewRelease ¶
func NewRelease(id string, productId string, version string, releasedAt time.Time, createdAt time.Time, activeMachineCount int32) *Release
NewRelease instantiates a new Release 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 NewReleaseWithDefaults ¶
func NewReleaseWithDefaults() *Release
NewReleaseWithDefaults instantiates a new Release 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 (*Release) GetActiveMachineCount ¶
GetActiveMachineCount returns the ActiveMachineCount field value
func (*Release) GetActiveMachineCountOk ¶
GetActiveMachineCountOk returns a tuple with the ActiveMachineCount field value and a boolean to check if the value has been set.
func (*Release) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Release) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Release) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Release) GetProductId ¶
GetProductId returns the ProductId field value
func (*Release) GetProductIdOk ¶
GetProductIdOk returns a tuple with the ProductId field value and a boolean to check if the value has been set.
func (*Release) GetReleasedAt ¶
GetReleasedAt returns the ReleasedAt field value
func (*Release) GetReleasedAtOk ¶
GetReleasedAtOk returns a tuple with the ReleasedAt field value and a boolean to check if the value has been set.
func (*Release) GetVersion ¶
GetVersion returns the Version field value
func (*Release) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (Release) MarshalJSON ¶
func (*Release) SetActiveMachineCount ¶
SetActiveMachineCount sets field value
func (*Release) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Release) SetProductId ¶
SetProductId sets field value
func (*Release) SetReleasedAt ¶
SetReleasedAt sets field value
func (*Release) UnmarshalJSON ¶
type ReleaseList ¶
type ReleaseList struct {
// Items of the page, in the requested order. Empty past the last page.
Data []Release `json:"data"`
Pagination Pagination `json:"pagination"`
AdditionalProperties map[string]interface{}
}
ReleaseList struct for ReleaseList
func NewReleaseList ¶
func NewReleaseList(data []Release, pagination Pagination) *ReleaseList
NewReleaseList instantiates a new ReleaseList 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 NewReleaseListWithDefaults ¶
func NewReleaseListWithDefaults() *ReleaseList
NewReleaseListWithDefaults instantiates a new ReleaseList 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 (*ReleaseList) GetData ¶
func (o *ReleaseList) GetData() []Release
GetData returns the Data field value
func (*ReleaseList) GetDataOk ¶
func (o *ReleaseList) GetDataOk() ([]Release, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ReleaseList) GetPagination ¶
func (o *ReleaseList) GetPagination() Pagination
GetPagination returns the Pagination field value
func (*ReleaseList) GetPaginationOk ¶
func (o *ReleaseList) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (ReleaseList) MarshalJSON ¶
func (o ReleaseList) MarshalJSON() ([]byte, error)
func (*ReleaseList) SetPagination ¶
func (o *ReleaseList) SetPagination(v Pagination)
SetPagination sets field value
func (ReleaseList) ToMap ¶
func (o ReleaseList) ToMap() (map[string]interface{}, error)
func (*ReleaseList) UnmarshalJSON ¶
func (o *ReleaseList) UnmarshalJSON(data []byte) (err error)
type ReleasesAPIService ¶
type ReleasesAPIService service
ReleasesAPIService ReleasesAPI service
func (*ReleasesAPIService) CreateRelease ¶
func (a *ReleasesAPIService) CreateRelease(ctx context.Context, productId string) ApiCreateReleaseRequest
CreateRelease Create a release
Releases don't restrict which versions `validateKey` accepts: a machine can run a version without a release. They give the `latestAllowedVersion` of its `version_not_allowed` errors, among the stable releases already released, and the number of active machines running each version.
**Required role permission**: `release:create` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiCreateReleaseRequest
func (*ReleasesAPIService) CreateReleaseExecute ¶
func (a *ReleasesAPIService) CreateReleaseExecute(r ApiCreateReleaseRequest) (*Release, *http.Response, error)
Execute executes the request
@return Release
func (*ReleasesAPIService) DeleteRelease ¶
func (a *ReleasesAPIService) DeleteRelease(ctx context.Context, id string) ApiDeleteReleaseRequest
DeleteRelease Delete a release
**Required role permission**: `release:delete` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDeleteReleaseRequest
func (*ReleasesAPIService) DeleteReleaseExecute ¶
func (a *ReleasesAPIService) DeleteReleaseExecute(r ApiDeleteReleaseRequest) (*http.Response, error)
Execute executes the request
func (*ReleasesAPIService) GetRelease ¶
func (a *ReleasesAPIService) GetRelease(ctx context.Context, id string) ApiGetReleaseRequest
GetRelease Get a release
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetReleaseRequest
func (*ReleasesAPIService) GetReleaseExecute ¶
func (a *ReleasesAPIService) GetReleaseExecute(r ApiGetReleaseRequest) (*Release, *http.Response, error)
Execute executes the request
@return Release
func (*ReleasesAPIService) ListReleases ¶
func (a *ReleasesAPIService) ListReleases(ctx context.Context, productId string) ApiListReleasesRequest
ListReleases List the releases of a product
Sorting by `version` compares the major, minor and patch numbers as numbers, then puts a pre-release before its stable release. Pre-releases of the same version compare as text, unlike semantic versioning: `2.0.0-beta.10` comes before `2.0.0-beta.2`. Build metadata is ignored.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param productId @return ApiListReleasesRequest
func (*ReleasesAPIService) ListReleasesExecute ¶
func (a *ReleasesAPIService) ListReleasesExecute(r ApiListReleasesRequest) (*ReleaseList, *http.Response, error)
Execute executes the request
@return ReleaseList
func (*ReleasesAPIService) UpdateRelease ¶
func (a *ReleasesAPIService) UpdateRelease(ctx context.Context, id string) ApiUpdateReleaseRequest
UpdateRelease Update a release
**Required role permission**: `release:update` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdateReleaseRequest
func (*ReleasesAPIService) UpdateReleaseExecute ¶
func (a *ReleasesAPIService) UpdateReleaseExecute(r ApiUpdateReleaseRequest) (*Release, *http.Response, error)
Execute executes the request
@return Release
type RequestPortalLink ¶
type RequestPortalLink struct {
// Email of the customer.
Email string `json:"email"`
// Link back to your website, kept in the emailed link when its domain is one of the product's `returnDomains`.
ReturnUrl *string `json:"returnUrl,omitempty"`
AdditionalProperties map[string]interface{}
}
RequestPortalLink struct for RequestPortalLink
func NewRequestPortalLink ¶
func NewRequestPortalLink(email string) *RequestPortalLink
NewRequestPortalLink instantiates a new RequestPortalLink 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 NewRequestPortalLinkWithDefaults ¶
func NewRequestPortalLinkWithDefaults() *RequestPortalLink
NewRequestPortalLinkWithDefaults instantiates a new RequestPortalLink 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 (*RequestPortalLink) GetEmail ¶
func (o *RequestPortalLink) GetEmail() string
GetEmail returns the Email field value
func (*RequestPortalLink) GetEmailOk ¶
func (o *RequestPortalLink) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*RequestPortalLink) GetReturnUrl ¶
func (o *RequestPortalLink) GetReturnUrl() string
GetReturnUrl returns the ReturnUrl field value if set, zero value otherwise.
func (*RequestPortalLink) GetReturnUrlOk ¶
func (o *RequestPortalLink) GetReturnUrlOk() (*string, bool)
GetReturnUrlOk returns a tuple with the ReturnUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RequestPortalLink) HasReturnUrl ¶
func (o *RequestPortalLink) HasReturnUrl() bool
HasReturnUrl returns a boolean if a field has been set.
func (RequestPortalLink) MarshalJSON ¶
func (o RequestPortalLink) MarshalJSON() ([]byte, error)
func (*RequestPortalLink) SetEmail ¶
func (o *RequestPortalLink) SetEmail(v string)
SetEmail sets field value
func (*RequestPortalLink) SetReturnUrl ¶
func (o *RequestPortalLink) SetReturnUrl(v string)
SetReturnUrl gets a reference to the given string and assigns it to the ReturnUrl field.
func (RequestPortalLink) ToMap ¶
func (o RequestPortalLink) ToMap() (map[string]interface{}, error)
func (*RequestPortalLink) UnmarshalJSON ¶
func (o *RequestPortalLink) UnmarshalJSON(data []byte) (err error)
type Revenue ¶
type Revenue struct {
// ISO 4217 code of the currency of the revenue.
Currency string `json:"currency"`
// Number of licenses sold in the currency, free ones included.
LicenseCount int32 `json:"licenseCount"`
// Sum of the prices of the licenses sold in the currency, in major units.
Total float32 `json:"total"`
// Revenue of the current month, in UTC.
ThisMonth float32 `json:"thisMonth"`
// Revenue of the previous month, in UTC.
LastMonth float32 `json:"lastMonth"`
// Revenue of the last 30 days, today included, in UTC.
Last30Days float32 `json:"last30Days"`
// Revenue each day, aligned on `days`.
ByDay []float32 `json:"byDay"`
// Revenue each month, aligned on `months`.
ByMonth []float32 `json:"byMonth"`
// Revenue of the licenses of each policy, for the policies with licenses sold in the currency over the covered months.
ByPolicy []ProductStatsNewLicensesByPolicyInner `json:"byPolicy"`
AdditionalProperties map[string]interface{}
}
Revenue Revenue of the licenses sold in one currency, each license counting on the day it was created. Licenses without a price are left out.
func NewRevenue ¶
func NewRevenue(currency string, licenseCount int32, total float32, thisMonth float32, lastMonth float32, last30Days float32, byDay []float32, byMonth []float32, byPolicy []ProductStatsNewLicensesByPolicyInner) *Revenue
NewRevenue instantiates a new Revenue 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 NewRevenueWithDefaults ¶
func NewRevenueWithDefaults() *Revenue
NewRevenueWithDefaults instantiates a new Revenue 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 (*Revenue) GetByDayOk ¶
GetByDayOk returns a tuple with the ByDay field value and a boolean to check if the value has been set.
func (*Revenue) GetByMonth ¶
GetByMonth returns the ByMonth field value
func (*Revenue) GetByMonthOk ¶
GetByMonthOk returns a tuple with the ByMonth field value and a boolean to check if the value has been set.
func (*Revenue) GetByPolicy ¶
func (o *Revenue) GetByPolicy() []ProductStatsNewLicensesByPolicyInner
GetByPolicy returns the ByPolicy field value
func (*Revenue) GetByPolicyOk ¶
func (o *Revenue) GetByPolicyOk() ([]ProductStatsNewLicensesByPolicyInner, bool)
GetByPolicyOk returns a tuple with the ByPolicy field value and a boolean to check if the value has been set.
func (*Revenue) GetCurrency ¶
GetCurrency returns the Currency field value
func (*Revenue) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*Revenue) GetLast30Days ¶
GetLast30Days returns the Last30Days field value
func (*Revenue) GetLast30DaysOk ¶
GetLast30DaysOk returns a tuple with the Last30Days field value and a boolean to check if the value has been set.
func (*Revenue) GetLastMonth ¶
GetLastMonth returns the LastMonth field value
func (*Revenue) GetLastMonthOk ¶
GetLastMonthOk returns a tuple with the LastMonth field value and a boolean to check if the value has been set.
func (*Revenue) GetLicenseCount ¶
GetLicenseCount returns the LicenseCount field value
func (*Revenue) GetLicenseCountOk ¶
GetLicenseCountOk returns a tuple with the LicenseCount field value and a boolean to check if the value has been set.
func (*Revenue) GetThisMonth ¶
GetThisMonth returns the ThisMonth field value
func (*Revenue) GetThisMonthOk ¶
GetThisMonthOk returns a tuple with the ThisMonth field value and a boolean to check if the value has been set.
func (*Revenue) GetTotalOk ¶
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (Revenue) MarshalJSON ¶
func (*Revenue) SetByPolicy ¶
func (o *Revenue) SetByPolicy(v []ProductStatsNewLicensesByPolicyInner)
SetByPolicy sets field value
func (*Revenue) SetLast30Days ¶
SetLast30Days sets field value
func (*Revenue) SetLastMonth ¶
SetLastMonth sets field value
func (*Revenue) SetLicenseCount ¶
SetLicenseCount sets field value
func (*Revenue) SetThisMonth ¶
SetThisMonth sets field value
func (*Revenue) UnmarshalJSON ¶
type SendLicenseKeys ¶
type SendLicenseKeys struct {
// Ids of the licenses whose keys to email, up to 100.
Ids []string `json:"ids"`
AdditionalProperties map[string]interface{}
}
SendLicenseKeys struct for SendLicenseKeys
func NewSendLicenseKeys ¶
func NewSendLicenseKeys(ids []string) *SendLicenseKeys
NewSendLicenseKeys instantiates a new SendLicenseKeys 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 NewSendLicenseKeysWithDefaults ¶
func NewSendLicenseKeysWithDefaults() *SendLicenseKeys
NewSendLicenseKeysWithDefaults instantiates a new SendLicenseKeys 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 (*SendLicenseKeys) GetIds ¶
func (o *SendLicenseKeys) GetIds() []string
GetIds returns the Ids field value
func (*SendLicenseKeys) GetIdsOk ¶
func (o *SendLicenseKeys) GetIdsOk() ([]string, bool)
GetIdsOk returns a tuple with the Ids field value and a boolean to check if the value has been set.
func (SendLicenseKeys) MarshalJSON ¶
func (o SendLicenseKeys) MarshalJSON() ([]byte, error)
func (*SendLicenseKeys) SetIds ¶
func (o *SendLicenseKeys) SetIds(v []string)
SetIds sets field value
func (SendLicenseKeys) ToMap ¶
func (o SendLicenseKeys) ToMap() (map[string]interface{}, error)
func (*SendLicenseKeys) UnmarshalJSON ¶
func (o *SendLicenseKeys) UnmarshalJSON(data []byte) (err error)
type SendPortalLink ¶
type SendPortalLink struct {
// Token of a link created for the customer.
Token string `json:"token"`
AdditionalProperties map[string]interface{}
}
SendPortalLink struct for SendPortalLink
func NewSendPortalLink ¶
func NewSendPortalLink(token string) *SendPortalLink
NewSendPortalLink instantiates a new SendPortalLink 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 NewSendPortalLinkWithDefaults ¶
func NewSendPortalLinkWithDefaults() *SendPortalLink
NewSendPortalLinkWithDefaults instantiates a new SendPortalLink 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 (*SendPortalLink) GetToken ¶
func (o *SendPortalLink) GetToken() string
GetToken returns the Token field value
func (*SendPortalLink) GetTokenOk ¶
func (o *SendPortalLink) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (SendPortalLink) MarshalJSON ¶
func (o SendPortalLink) MarshalJSON() ([]byte, error)
func (*SendPortalLink) SetToken ¶
func (o *SendPortalLink) SetToken(v string)
SetToken sets field value
func (SendPortalLink) ToMap ¶
func (o SendPortalLink) ToMap() (map[string]interface{}, error)
func (*SendPortalLink) UnmarshalJSON ¶
func (o *SendPortalLink) UnmarshalJSON(data []byte) (err error)
type ServerConfiguration ¶
type ServerConfiguration struct {
URL string
Description string
Variables map[string]ServerVariable
}
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SigningKey ¶
type SigningKey struct {
// Id of the key, in the `kid` header of the tokens it signs.
Id string `json:"id"`
// JWT algorithm of the tokens it signs, with an Ed25519 key.
Algorithm string `json:"algorithm"`
// PEM encoded SPKI public key.
PublicKey string `json:"publicKey"`
CreatedAt time.Time `json:"createdAt"`
AdditionalProperties map[string]interface{}
}
SigningKey struct for SigningKey
func NewSigningKey ¶
NewSigningKey instantiates a new SigningKey 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 NewSigningKeyWithDefaults ¶
func NewSigningKeyWithDefaults() *SigningKey
NewSigningKeyWithDefaults instantiates a new SigningKey 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 (*SigningKey) GetAlgorithm ¶
func (o *SigningKey) GetAlgorithm() string
GetAlgorithm returns the Algorithm field value
func (*SigningKey) GetAlgorithmOk ¶
func (o *SigningKey) GetAlgorithmOk() (*string, bool)
GetAlgorithmOk returns a tuple with the Algorithm field value and a boolean to check if the value has been set.
func (*SigningKey) GetCreatedAt ¶
func (o *SigningKey) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*SigningKey) GetCreatedAtOk ¶
func (o *SigningKey) 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 (*SigningKey) GetIdOk ¶
func (o *SigningKey) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*SigningKey) GetPublicKey ¶
func (o *SigningKey) GetPublicKey() string
GetPublicKey returns the PublicKey field value
func (*SigningKey) GetPublicKeyOk ¶
func (o *SigningKey) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.
func (SigningKey) MarshalJSON ¶
func (o SigningKey) MarshalJSON() ([]byte, error)
func (*SigningKey) SetAlgorithm ¶
func (o *SigningKey) SetAlgorithm(v string)
SetAlgorithm sets field value
func (*SigningKey) SetCreatedAt ¶
func (o *SigningKey) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*SigningKey) SetPublicKey ¶
func (o *SigningKey) SetPublicKey(v string)
SetPublicKey sets field value
func (SigningKey) ToMap ¶
func (o SigningKey) ToMap() (map[string]interface{}, error)
func (*SigningKey) UnmarshalJSON ¶
func (o *SigningKey) UnmarshalJSON(data []byte) (err error)
type StripeIntegration ¶
type StripeIntegration struct {
// Mode of the Stripe connection the product uses: live for live products, test for test products.
Livemode bool `json:"livemode"`
// Whether Stripe can reach the API's webhook URL. A local URL can't be: set `WEBHOOK_URL` on the server, like to a tunnel in development.
WebhookUrlReachable bool `json:"webhookUrlReachable"`
// Permissions the restricted API key needs, and why. Every other permission can stay `None`.
RequiredPermissions []StripePermission `json:"requiredPermissions"`
// The organization's Stripe connection in this mode, `null` when there's none.
Integration NullableIntegration `json:"integration"`
// Stripe prices creating licenses of the product.
Mappings []IntegrationMapping `json:"mappings"`
AdditionalProperties map[string]interface{}
}
StripeIntegration struct for StripeIntegration
func NewStripeIntegration ¶
func NewStripeIntegration(livemode bool, webhookUrlReachable bool, requiredPermissions []StripePermission, integration NullableIntegration, mappings []IntegrationMapping) *StripeIntegration
NewStripeIntegration instantiates a new StripeIntegration 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 NewStripeIntegrationWithDefaults ¶
func NewStripeIntegrationWithDefaults() *StripeIntegration
NewStripeIntegrationWithDefaults instantiates a new StripeIntegration 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 (*StripeIntegration) GetIntegration ¶
func (o *StripeIntegration) GetIntegration() Integration
GetIntegration returns the Integration field value If the value is explicit nil, the zero value for Integration will be returned
func (*StripeIntegration) GetIntegrationOk ¶
func (o *StripeIntegration) GetIntegrationOk() (*Integration, bool)
GetIntegrationOk returns a tuple with the Integration 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 (*StripeIntegration) GetLivemode ¶
func (o *StripeIntegration) GetLivemode() bool
GetLivemode returns the Livemode field value
func (*StripeIntegration) GetLivemodeOk ¶
func (o *StripeIntegration) GetLivemodeOk() (*bool, bool)
GetLivemodeOk returns a tuple with the Livemode field value and a boolean to check if the value has been set.
func (*StripeIntegration) GetMappings ¶
func (o *StripeIntegration) GetMappings() []IntegrationMapping
GetMappings returns the Mappings field value
func (*StripeIntegration) GetMappingsOk ¶
func (o *StripeIntegration) GetMappingsOk() ([]IntegrationMapping, bool)
GetMappingsOk returns a tuple with the Mappings field value and a boolean to check if the value has been set.
func (*StripeIntegration) GetRequiredPermissions ¶
func (o *StripeIntegration) GetRequiredPermissions() []StripePermission
GetRequiredPermissions returns the RequiredPermissions field value
func (*StripeIntegration) GetRequiredPermissionsOk ¶
func (o *StripeIntegration) GetRequiredPermissionsOk() ([]StripePermission, bool)
GetRequiredPermissionsOk returns a tuple with the RequiredPermissions field value and a boolean to check if the value has been set.
func (*StripeIntegration) GetWebhookUrlReachable ¶
func (o *StripeIntegration) GetWebhookUrlReachable() bool
GetWebhookUrlReachable returns the WebhookUrlReachable field value
func (*StripeIntegration) GetWebhookUrlReachableOk ¶
func (o *StripeIntegration) GetWebhookUrlReachableOk() (*bool, bool)
GetWebhookUrlReachableOk returns a tuple with the WebhookUrlReachable field value and a boolean to check if the value has been set.
func (StripeIntegration) MarshalJSON ¶
func (o StripeIntegration) MarshalJSON() ([]byte, error)
func (*StripeIntegration) SetIntegration ¶
func (o *StripeIntegration) SetIntegration(v Integration)
SetIntegration sets field value
func (*StripeIntegration) SetLivemode ¶
func (o *StripeIntegration) SetLivemode(v bool)
SetLivemode sets field value
func (*StripeIntegration) SetMappings ¶
func (o *StripeIntegration) SetMappings(v []IntegrationMapping)
SetMappings sets field value
func (*StripeIntegration) SetRequiredPermissions ¶
func (o *StripeIntegration) SetRequiredPermissions(v []StripePermission)
SetRequiredPermissions sets field value
func (*StripeIntegration) SetWebhookUrlReachable ¶
func (o *StripeIntegration) SetWebhookUrlReachable(v bool)
SetWebhookUrlReachable sets field value
func (StripeIntegration) ToMap ¶
func (o StripeIntegration) ToMap() (map[string]interface{}, error)
func (*StripeIntegration) UnmarshalJSON ¶
func (o *StripeIntegration) UnmarshalJSON(data []byte) (err error)
type StripePermission ¶
type StripePermission struct {
Resource string `json:"resource"`
Access string `json:"access"`
Reason string `json:"reason"`
AdditionalProperties map[string]interface{}
}
StripePermission struct for StripePermission
func NewStripePermission ¶
func NewStripePermission(resource string, access string, reason string) *StripePermission
NewStripePermission instantiates a new StripePermission 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 NewStripePermissionWithDefaults ¶
func NewStripePermissionWithDefaults() *StripePermission
NewStripePermissionWithDefaults instantiates a new StripePermission 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 (*StripePermission) GetAccess ¶
func (o *StripePermission) GetAccess() string
GetAccess returns the Access field value
func (*StripePermission) GetAccessOk ¶
func (o *StripePermission) GetAccessOk() (*string, bool)
GetAccessOk returns a tuple with the Access field value and a boolean to check if the value has been set.
func (*StripePermission) GetReason ¶
func (o *StripePermission) GetReason() string
GetReason returns the Reason field value
func (*StripePermission) GetReasonOk ¶
func (o *StripePermission) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (*StripePermission) GetResource ¶
func (o *StripePermission) GetResource() string
GetResource returns the Resource field value
func (*StripePermission) GetResourceOk ¶
func (o *StripePermission) GetResourceOk() (*string, bool)
GetResourceOk returns a tuple with the Resource field value and a boolean to check if the value has been set.
func (StripePermission) MarshalJSON ¶
func (o StripePermission) MarshalJSON() ([]byte, error)
func (*StripePermission) SetAccess ¶
func (o *StripePermission) SetAccess(v string)
SetAccess sets field value
func (*StripePermission) SetReason ¶
func (o *StripePermission) SetReason(v string)
SetReason sets field value
func (*StripePermission) SetResource ¶
func (o *StripePermission) SetResource(v string)
SetResource sets field value
func (StripePermission) ToMap ¶
func (o StripePermission) ToMap() (map[string]interface{}, error)
func (*StripePermission) UnmarshalJSON ¶
func (o *StripePermission) UnmarshalJSON(data []byte) (err error)
type StripePrice ¶
type StripePrice struct {
Id string `json:"id"`
ProductId string `json:"productId"`
ProductName string `json:"productName"`
Nickname NullableString `json:"nickname"`
Price NullablePrice `json:"price"`
// Whether the price already creates licenses of a product.
Mapped bool `json:"mapped"`
AdditionalProperties map[string]interface{}
}
StripePrice struct for StripePrice
func NewStripePrice ¶
func NewStripePrice(id string, productId string, productName string, nickname NullableString, price NullablePrice, mapped bool) *StripePrice
NewStripePrice instantiates a new StripePrice 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 NewStripePriceWithDefaults ¶
func NewStripePriceWithDefaults() *StripePrice
NewStripePriceWithDefaults instantiates a new StripePrice 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 (*StripePrice) GetIdOk ¶
func (o *StripePrice) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*StripePrice) GetMapped ¶
func (o *StripePrice) GetMapped() bool
GetMapped returns the Mapped field value
func (*StripePrice) GetMappedOk ¶
func (o *StripePrice) GetMappedOk() (*bool, bool)
GetMappedOk returns a tuple with the Mapped field value and a boolean to check if the value has been set.
func (*StripePrice) GetNickname ¶
func (o *StripePrice) GetNickname() string
GetNickname returns the Nickname field value If the value is explicit nil, the zero value for string will be returned
func (*StripePrice) GetNicknameOk ¶
func (o *StripePrice) GetNicknameOk() (*string, bool)
GetNicknameOk returns a tuple with the Nickname 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 (*StripePrice) GetPrice ¶
func (o *StripePrice) GetPrice() Price
GetPrice returns the Price field value If the value is explicit nil, the zero value for Price will be returned
func (*StripePrice) GetPriceOk ¶
func (o *StripePrice) GetPriceOk() (*Price, bool)
GetPriceOk returns a tuple with the Price 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 (*StripePrice) GetProductId ¶
func (o *StripePrice) GetProductId() string
GetProductId returns the ProductId field value
func (*StripePrice) GetProductIdOk ¶
func (o *StripePrice) GetProductIdOk() (*string, bool)
GetProductIdOk returns a tuple with the ProductId field value and a boolean to check if the value has been set.
func (*StripePrice) GetProductName ¶
func (o *StripePrice) GetProductName() string
GetProductName returns the ProductName field value
func (*StripePrice) GetProductNameOk ¶
func (o *StripePrice) GetProductNameOk() (*string, bool)
GetProductNameOk returns a tuple with the ProductName field value and a boolean to check if the value has been set.
func (StripePrice) MarshalJSON ¶
func (o StripePrice) MarshalJSON() ([]byte, error)
func (*StripePrice) SetNickname ¶
func (o *StripePrice) SetNickname(v string)
SetNickname sets field value
func (*StripePrice) SetProductId ¶
func (o *StripePrice) SetProductId(v string)
SetProductId sets field value
func (*StripePrice) SetProductName ¶
func (o *StripePrice) SetProductName(v string)
SetProductName sets field value
func (StripePrice) ToMap ¶
func (o StripePrice) ToMap() (map[string]interface{}, error)
func (*StripePrice) UnmarshalJSON ¶
func (o *StripePrice) UnmarshalJSON(data []byte) (err error)
type Token ¶
type Token struct {
// Token to send as `Authorization: Bearer <token>`.
Token string `json:"token"`
// Type of resource the token is scoped to.
Type string `json:"type"`
Scope []string `json:"scope"`
// When the token stops working.
ExpiresAt time.Time `json:"expiresAt"`
AdditionalProperties map[string]interface{}
}
Token struct for Token
func NewToken ¶
NewToken instantiates a new Token object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTokenWithDefaults ¶
func NewTokenWithDefaults() *Token
NewTokenWithDefaults instantiates a new Token object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Token) GetExpiresAt ¶
GetExpiresAt returns the ExpiresAt field value
func (*Token) GetExpiresAtOk ¶
GetExpiresAtOk returns a tuple with the ExpiresAt field value and a boolean to check if the value has been set.
func (*Token) GetScopeOk ¶
GetScopeOk returns a tuple with the Scope field value and a boolean to check if the value has been set.
func (*Token) GetTokenOk ¶
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (*Token) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (Token) MarshalJSON ¶
func (*Token) SetExpiresAt ¶
SetExpiresAt sets field value
func (*Token) UnmarshalJSON ¶
type TokensAPIService ¶
type TokensAPIService service
TokensAPIService TokensAPI service
func (*TokensAPIService) CreateCustomerToken ¶
func (a *TokensAPIService) CreateCustomerToken(ctx context.Context, id string) ApiCreateCustomerTokenRequest
CreateCustomerToken Create a customer token
Creates a token scoped to the customer, with the permissions of `scope`, to hand to your customers: a page of your website can then call the endpoints accepting tokens directly, without your API key. See the `token` security scheme for what a token reaches.
A token can't be revoked: it works until it expires, unless the resource it's scoped to is deleted.
**Required role permission**: `token:create` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiCreateCustomerTokenRequest
func (*TokensAPIService) CreateCustomerTokenExecute ¶
func (a *TokensAPIService) CreateCustomerTokenExecute(r ApiCreateCustomerTokenRequest) (*Token, *http.Response, error)
Execute executes the request
@return Token
func (*TokensAPIService) CreateLicenseToken ¶
func (a *TokensAPIService) CreateLicenseToken(ctx context.Context, id string) ApiCreateLicenseTokenRequest
CreateLicenseToken Create a license token
Creates a token scoped to the license, with the permissions of `scope`, to hand to your customers: a page of your website can then call the endpoints accepting tokens directly, without your API key. See the `token` security scheme for what a token reaches.
A token can't be revoked: it works until it expires, unless the resource it's scoped to is deleted.
**Token access**: customer tokens. A customer token creates tokens for its customer's licenses, with the permissions and at most the expiration it has.
**Required role permission**: `token:create` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiCreateLicenseTokenRequest
func (*TokensAPIService) CreateLicenseTokenExecute ¶
func (a *TokensAPIService) CreateLicenseTokenExecute(r ApiCreateLicenseTokenRequest) (*Token, *http.Response, error)
Execute executes the request
@return Token
func (*TokensAPIService) CreateMachineToken ¶
func (a *TokensAPIService) CreateMachineToken(ctx context.Context, id string) ApiCreateMachineTokenRequest
CreateMachineToken Create a machine token
Creates a token scoped to the machine, with the permissions of `scope`, to hand to your customers: a page of your website can then call the endpoints accepting tokens directly, without your API key. See the `token` security scheme for what a token reaches.
A token can't be revoked: it works until it expires, unless the resource it's scoped to is deleted.
**Token access**: customer, license tokens. A customer or license token creates tokens for the machines it reaches, with the permissions and at most the expiration it has.
**Required role permission**: `token:create` when called with a session, granted by the member's role. API keys aren't limited by roles.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiCreateMachineTokenRequest
func (*TokensAPIService) CreateMachineTokenExecute ¶
func (a *TokensAPIService) CreateMachineTokenExecute(r ApiCreateMachineTokenRequest) (*Token, *http.Response, error)
Execute executes the request
@return Token
type UpdateCustomer ¶
type UpdateCustomer struct {
// Unique within the product, regardless of case. Stored lower cased.
Email *string `json:"email,omitempty"`
// Display name of the customer. `null` when unknown. Defaults to `null`.
Name NullableString `json:"name,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateCustomer struct for UpdateCustomer
func NewUpdateCustomer ¶
func NewUpdateCustomer() *UpdateCustomer
NewUpdateCustomer instantiates a new UpdateCustomer 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 NewUpdateCustomerWithDefaults ¶
func NewUpdateCustomerWithDefaults() *UpdateCustomer
NewUpdateCustomerWithDefaults instantiates a new UpdateCustomer 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 (*UpdateCustomer) GetEmail ¶
func (o *UpdateCustomer) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*UpdateCustomer) GetEmailOk ¶
func (o *UpdateCustomer) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateCustomer) GetName ¶
func (o *UpdateCustomer) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateCustomer) GetNameOk ¶
func (o *UpdateCustomer) 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 (*UpdateCustomer) HasEmail ¶
func (o *UpdateCustomer) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*UpdateCustomer) HasName ¶
func (o *UpdateCustomer) HasName() bool
HasName returns a boolean if a field has been set.
func (UpdateCustomer) MarshalJSON ¶
func (o UpdateCustomer) MarshalJSON() ([]byte, error)
func (*UpdateCustomer) SetEmail ¶
func (o *UpdateCustomer) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*UpdateCustomer) SetName ¶
func (o *UpdateCustomer) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*UpdateCustomer) SetNameNil ¶
func (o *UpdateCustomer) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (UpdateCustomer) ToMap ¶
func (o UpdateCustomer) ToMap() (map[string]interface{}, error)
func (*UpdateCustomer) UnmarshalJSON ¶
func (o *UpdateCustomer) UnmarshalJSON(data []byte) (err error)
func (*UpdateCustomer) UnsetName ¶
func (o *UpdateCustomer) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
type UpdateIntegrationMapping ¶
type UpdateIntegrationMapping struct {
PolicyId string `json:"policyId"`
AdditionalProperties map[string]interface{}
}
UpdateIntegrationMapping struct for UpdateIntegrationMapping
func NewUpdateIntegrationMapping ¶
func NewUpdateIntegrationMapping(policyId string) *UpdateIntegrationMapping
NewUpdateIntegrationMapping instantiates a new UpdateIntegrationMapping 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 NewUpdateIntegrationMappingWithDefaults ¶
func NewUpdateIntegrationMappingWithDefaults() *UpdateIntegrationMapping
NewUpdateIntegrationMappingWithDefaults instantiates a new UpdateIntegrationMapping 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 (*UpdateIntegrationMapping) GetPolicyId ¶
func (o *UpdateIntegrationMapping) GetPolicyId() string
GetPolicyId returns the PolicyId field value
func (*UpdateIntegrationMapping) GetPolicyIdOk ¶
func (o *UpdateIntegrationMapping) GetPolicyIdOk() (*string, bool)
GetPolicyIdOk returns a tuple with the PolicyId field value and a boolean to check if the value has been set.
func (UpdateIntegrationMapping) MarshalJSON ¶
func (o UpdateIntegrationMapping) MarshalJSON() ([]byte, error)
func (*UpdateIntegrationMapping) SetPolicyId ¶
func (o *UpdateIntegrationMapping) SetPolicyId(v string)
SetPolicyId sets field value
func (UpdateIntegrationMapping) ToMap ¶
func (o UpdateIntegrationMapping) ToMap() (map[string]interface{}, error)
func (*UpdateIntegrationMapping) UnmarshalJSON ¶
func (o *UpdateIntegrationMapping) UnmarshalJSON(data []byte) (err error)
type UpdateLicense ¶
type UpdateLicense struct {
// `null` makes the license never expire.
ExpiresAt NullableTime `json:"expiresAt,omitempty"`
// Free-form JSON object.
Meta map[string]*interface{} `json:"meta,omitempty"`
// Maximum number of active machines the license can be used on. `null` for no limit.
MaxMachines NullableInt32 `json:"maxMachines,omitempty"`
// Longest the applications can run offline with the license, in seconds. At least one hour (`3600`).
MaxOfflineDurationSeconds *int32 `json:"maxOfflineDurationSeconds,omitempty"`
// Latest version of the product the license can use. The values left out are kept.
MaxVersion *LicenseMaxVersionInput `json:"maxVersion,omitempty"`
Price NullablePriceInput `json:"price,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateLicense struct for UpdateLicense
func NewUpdateLicense ¶
func NewUpdateLicense() *UpdateLicense
NewUpdateLicense instantiates a new UpdateLicense 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 NewUpdateLicenseWithDefaults ¶
func NewUpdateLicenseWithDefaults() *UpdateLicense
NewUpdateLicenseWithDefaults instantiates a new UpdateLicense 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 (*UpdateLicense) GetExpiresAt ¶
func (o *UpdateLicense) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateLicense) GetExpiresAtOk ¶
func (o *UpdateLicense) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateLicense) GetMaxMachines ¶
func (o *UpdateLicense) GetMaxMachines() int32
GetMaxMachines returns the MaxMachines field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateLicense) GetMaxMachinesOk ¶
func (o *UpdateLicense) GetMaxMachinesOk() (*int32, bool)
GetMaxMachinesOk returns a tuple with the MaxMachines 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 (*UpdateLicense) GetMaxOfflineDurationSeconds ¶
func (o *UpdateLicense) GetMaxOfflineDurationSeconds() int32
GetMaxOfflineDurationSeconds returns the MaxOfflineDurationSeconds field value if set, zero value otherwise.
func (*UpdateLicense) GetMaxOfflineDurationSecondsOk ¶
func (o *UpdateLicense) GetMaxOfflineDurationSecondsOk() (*int32, bool)
GetMaxOfflineDurationSecondsOk returns a tuple with the MaxOfflineDurationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLicense) GetMaxVersion ¶
func (o *UpdateLicense) GetMaxVersion() LicenseMaxVersionInput
GetMaxVersion returns the MaxVersion field value if set, zero value otherwise.
func (*UpdateLicense) GetMaxVersionOk ¶
func (o *UpdateLicense) GetMaxVersionOk() (*LicenseMaxVersionInput, bool)
GetMaxVersionOk returns a tuple with the MaxVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateLicense) GetMeta ¶
func (o *UpdateLicense) GetMeta() map[string]*interface{}
GetMeta returns the Meta field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateLicense) GetMetaOk ¶
func (o *UpdateLicense) GetMetaOk() (map[string]*interface{}, bool)
GetMetaOk returns a tuple with the Meta 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 (*UpdateLicense) GetPrice ¶
func (o *UpdateLicense) GetPrice() PriceInput
GetPrice returns the Price field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateLicense) GetPriceOk ¶
func (o *UpdateLicense) GetPriceOk() (*PriceInput, bool)
GetPriceOk returns a tuple with the Price 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 (*UpdateLicense) HasExpiresAt ¶
func (o *UpdateLicense) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (*UpdateLicense) HasMaxMachines ¶
func (o *UpdateLicense) HasMaxMachines() bool
HasMaxMachines returns a boolean if a field has been set.
func (*UpdateLicense) HasMaxOfflineDurationSeconds ¶
func (o *UpdateLicense) HasMaxOfflineDurationSeconds() bool
HasMaxOfflineDurationSeconds returns a boolean if a field has been set.
func (*UpdateLicense) HasMaxVersion ¶
func (o *UpdateLicense) HasMaxVersion() bool
HasMaxVersion returns a boolean if a field has been set.
func (*UpdateLicense) HasMeta ¶
func (o *UpdateLicense) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (*UpdateLicense) HasPrice ¶
func (o *UpdateLicense) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (UpdateLicense) MarshalJSON ¶
func (o UpdateLicense) MarshalJSON() ([]byte, error)
func (*UpdateLicense) SetExpiresAt ¶
func (o *UpdateLicense) SetExpiresAt(v time.Time)
SetExpiresAt gets a reference to the given NullableTime and assigns it to the ExpiresAt field.
func (*UpdateLicense) SetExpiresAtNil ¶
func (o *UpdateLicense) SetExpiresAtNil()
SetExpiresAtNil sets the value for ExpiresAt to be an explicit nil
func (*UpdateLicense) SetMaxMachines ¶
func (o *UpdateLicense) SetMaxMachines(v int32)
SetMaxMachines gets a reference to the given NullableInt32 and assigns it to the MaxMachines field.
func (*UpdateLicense) SetMaxMachinesNil ¶
func (o *UpdateLicense) SetMaxMachinesNil()
SetMaxMachinesNil sets the value for MaxMachines to be an explicit nil
func (*UpdateLicense) SetMaxOfflineDurationSeconds ¶
func (o *UpdateLicense) SetMaxOfflineDurationSeconds(v int32)
SetMaxOfflineDurationSeconds gets a reference to the given int32 and assigns it to the MaxOfflineDurationSeconds field.
func (*UpdateLicense) SetMaxVersion ¶
func (o *UpdateLicense) SetMaxVersion(v LicenseMaxVersionInput)
SetMaxVersion gets a reference to the given LicenseMaxVersionInput and assigns it to the MaxVersion field.
func (*UpdateLicense) SetMeta ¶
func (o *UpdateLicense) SetMeta(v map[string]*interface{})
SetMeta gets a reference to the given map[string]*interface{} and assigns it to the Meta field.
func (*UpdateLicense) SetPrice ¶
func (o *UpdateLicense) SetPrice(v PriceInput)
SetPrice gets a reference to the given NullablePriceInput and assigns it to the Price field.
func (*UpdateLicense) SetPriceNil ¶
func (o *UpdateLicense) SetPriceNil()
SetPriceNil sets the value for Price to be an explicit nil
func (UpdateLicense) ToMap ¶
func (o UpdateLicense) ToMap() (map[string]interface{}, error)
func (*UpdateLicense) UnmarshalJSON ¶
func (o *UpdateLicense) UnmarshalJSON(data []byte) (err error)
func (*UpdateLicense) UnsetExpiresAt ¶
func (o *UpdateLicense) UnsetExpiresAt()
UnsetExpiresAt ensures that no value is present for ExpiresAt, not even an explicit nil
func (*UpdateLicense) UnsetMaxMachines ¶
func (o *UpdateLicense) UnsetMaxMachines()
UnsetMaxMachines ensures that no value is present for MaxMachines, not even an explicit nil
func (*UpdateLicense) UnsetPrice ¶
func (o *UpdateLicense) UnsetPrice()
UnsetPrice ensures that no value is present for Price, not even an explicit nil
type UpdatePolicy ¶
type UpdatePolicy struct {
Name *string `json:"name,omitempty"`
// Unique within the product. Defaults to the name, lower cased, without accents and special characters. Starts with `test_` in test products, which is added when missing, and removed in live products.
Slug *string `json:"slug,omitempty" validate:"regexp=^(test_)?[a-z0-9]+(-[a-z0-9]+)*$"`
// `true` makes this policy the product's default, in place of the current one.
IsDefault *bool `json:"isDefault,omitempty"`
Duration NullablePolicySettingsDuration `json:"duration,omitempty"`
// Maximum number of active machines of the licenses created with this policy, copied to each of them. `null` for no limit. Defaults to `null`.
MaxMachines NullableInt32 `json:"maxMachines,omitempty"`
// Longest the applications can run offline with the licenses created with this policy, in seconds, copied to each of them. At least one hour (`3600`). Defaults to one week.
MaxOfflineDurationSeconds *int32 `json:"maxOfflineDurationSeconds,omitempty"`
MaxVersion NullablePolicySettingsMaxVersion `json:"maxVersion,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdatePolicy struct for UpdatePolicy
func NewUpdatePolicy ¶
func NewUpdatePolicy() *UpdatePolicy
NewUpdatePolicy instantiates a new UpdatePolicy 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 NewUpdatePolicyWithDefaults ¶
func NewUpdatePolicyWithDefaults() *UpdatePolicy
NewUpdatePolicyWithDefaults instantiates a new UpdatePolicy 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 (*UpdatePolicy) GetDuration ¶
func (o *UpdatePolicy) GetDuration() PolicySettingsDuration
GetDuration returns the Duration field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdatePolicy) GetDurationOk ¶
func (o *UpdatePolicy) GetDurationOk() (*PolicySettingsDuration, bool)
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdatePolicy) GetIsDefault ¶
func (o *UpdatePolicy) GetIsDefault() bool
GetIsDefault returns the IsDefault field value if set, zero value otherwise.
func (*UpdatePolicy) GetIsDefaultOk ¶
func (o *UpdatePolicy) GetIsDefaultOk() (*bool, bool)
GetIsDefaultOk returns a tuple with the IsDefault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatePolicy) GetMaxMachines ¶
func (o *UpdatePolicy) GetMaxMachines() int32
GetMaxMachines returns the MaxMachines field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdatePolicy) GetMaxMachinesOk ¶
func (o *UpdatePolicy) GetMaxMachinesOk() (*int32, bool)
GetMaxMachinesOk returns a tuple with the MaxMachines 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 (*UpdatePolicy) GetMaxOfflineDurationSeconds ¶
func (o *UpdatePolicy) GetMaxOfflineDurationSeconds() int32
GetMaxOfflineDurationSeconds returns the MaxOfflineDurationSeconds field value if set, zero value otherwise.
func (*UpdatePolicy) GetMaxOfflineDurationSecondsOk ¶
func (o *UpdatePolicy) GetMaxOfflineDurationSecondsOk() (*int32, bool)
GetMaxOfflineDurationSecondsOk returns a tuple with the MaxOfflineDurationSeconds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatePolicy) GetMaxVersion ¶
func (o *UpdatePolicy) GetMaxVersion() PolicySettingsMaxVersion
GetMaxVersion returns the MaxVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdatePolicy) GetMaxVersionOk ¶
func (o *UpdatePolicy) GetMaxVersionOk() (*PolicySettingsMaxVersion, bool)
GetMaxVersionOk returns a tuple with the MaxVersion 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 (*UpdatePolicy) GetName ¶
func (o *UpdatePolicy) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdatePolicy) GetNameOk ¶
func (o *UpdatePolicy) 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 (*UpdatePolicy) GetSlug ¶
func (o *UpdatePolicy) GetSlug() string
GetSlug returns the Slug field value if set, zero value otherwise.
func (*UpdatePolicy) GetSlugOk ¶
func (o *UpdatePolicy) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatePolicy) HasDuration ¶
func (o *UpdatePolicy) HasDuration() bool
HasDuration returns a boolean if a field has been set.
func (*UpdatePolicy) HasIsDefault ¶
func (o *UpdatePolicy) HasIsDefault() bool
HasIsDefault returns a boolean if a field has been set.
func (*UpdatePolicy) HasMaxMachines ¶
func (o *UpdatePolicy) HasMaxMachines() bool
HasMaxMachines returns a boolean if a field has been set.
func (*UpdatePolicy) HasMaxOfflineDurationSeconds ¶
func (o *UpdatePolicy) HasMaxOfflineDurationSeconds() bool
HasMaxOfflineDurationSeconds returns a boolean if a field has been set.
func (*UpdatePolicy) HasMaxVersion ¶
func (o *UpdatePolicy) HasMaxVersion() bool
HasMaxVersion returns a boolean if a field has been set.
func (*UpdatePolicy) HasName ¶
func (o *UpdatePolicy) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdatePolicy) HasSlug ¶
func (o *UpdatePolicy) HasSlug() bool
HasSlug returns a boolean if a field has been set.
func (UpdatePolicy) MarshalJSON ¶
func (o UpdatePolicy) MarshalJSON() ([]byte, error)
func (*UpdatePolicy) SetDuration ¶
func (o *UpdatePolicy) SetDuration(v PolicySettingsDuration)
SetDuration gets a reference to the given NullablePolicySettingsDuration and assigns it to the Duration field.
func (*UpdatePolicy) SetDurationNil ¶
func (o *UpdatePolicy) SetDurationNil()
SetDurationNil sets the value for Duration to be an explicit nil
func (*UpdatePolicy) SetIsDefault ¶
func (o *UpdatePolicy) SetIsDefault(v bool)
SetIsDefault gets a reference to the given bool and assigns it to the IsDefault field.
func (*UpdatePolicy) SetMaxMachines ¶
func (o *UpdatePolicy) SetMaxMachines(v int32)
SetMaxMachines gets a reference to the given NullableInt32 and assigns it to the MaxMachines field.
func (*UpdatePolicy) SetMaxMachinesNil ¶
func (o *UpdatePolicy) SetMaxMachinesNil()
SetMaxMachinesNil sets the value for MaxMachines to be an explicit nil
func (*UpdatePolicy) SetMaxOfflineDurationSeconds ¶
func (o *UpdatePolicy) SetMaxOfflineDurationSeconds(v int32)
SetMaxOfflineDurationSeconds gets a reference to the given int32 and assigns it to the MaxOfflineDurationSeconds field.
func (*UpdatePolicy) SetMaxVersion ¶
func (o *UpdatePolicy) SetMaxVersion(v PolicySettingsMaxVersion)
SetMaxVersion gets a reference to the given NullablePolicySettingsMaxVersion and assigns it to the MaxVersion field.
func (*UpdatePolicy) SetMaxVersionNil ¶
func (o *UpdatePolicy) SetMaxVersionNil()
SetMaxVersionNil sets the value for MaxVersion to be an explicit nil
func (*UpdatePolicy) SetName ¶
func (o *UpdatePolicy) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdatePolicy) SetSlug ¶
func (o *UpdatePolicy) SetSlug(v string)
SetSlug gets a reference to the given string and assigns it to the Slug field.
func (UpdatePolicy) ToMap ¶
func (o UpdatePolicy) ToMap() (map[string]interface{}, error)
func (*UpdatePolicy) UnmarshalJSON ¶
func (o *UpdatePolicy) UnmarshalJSON(data []byte) (err error)
func (*UpdatePolicy) UnsetDuration ¶
func (o *UpdatePolicy) UnsetDuration()
UnsetDuration ensures that no value is present for Duration, not even an explicit nil
func (*UpdatePolicy) UnsetMaxMachines ¶
func (o *UpdatePolicy) UnsetMaxMachines()
UnsetMaxMachines ensures that no value is present for MaxMachines, not even an explicit nil
func (*UpdatePolicy) UnsetMaxVersion ¶
func (o *UpdatePolicy) UnsetMaxVersion()
UnsetMaxVersion ensures that no value is present for MaxVersion, not even an explicit nil
type UpdateProduct ¶
type UpdateProduct struct {
Name *string `json:"name,omitempty"`
// Unique within the organization. Defaults to the name, lower cased, without accents and special characters. Starts with `test_` in test products, which is added when missing, and removed in live products.
Slug *string `json:"slug,omitempty" validate:"regexp=^(test_)?[a-z0-9]+(-[a-z0-9]+)*$"`
Portal *UpdateProductPortal `json:"portal,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateProduct struct for UpdateProduct
func NewUpdateProduct ¶
func NewUpdateProduct() *UpdateProduct
NewUpdateProduct instantiates a new UpdateProduct 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 NewUpdateProductWithDefaults ¶
func NewUpdateProductWithDefaults() *UpdateProduct
NewUpdateProductWithDefaults instantiates a new UpdateProduct 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 (*UpdateProduct) GetName ¶
func (o *UpdateProduct) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateProduct) GetNameOk ¶
func (o *UpdateProduct) 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 (*UpdateProduct) GetPortal ¶
func (o *UpdateProduct) GetPortal() UpdateProductPortal
GetPortal returns the Portal field value if set, zero value otherwise.
func (*UpdateProduct) GetPortalOk ¶
func (o *UpdateProduct) GetPortalOk() (*UpdateProductPortal, bool)
GetPortalOk returns a tuple with the Portal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProduct) GetSlug ¶
func (o *UpdateProduct) GetSlug() string
GetSlug returns the Slug field value if set, zero value otherwise.
func (*UpdateProduct) GetSlugOk ¶
func (o *UpdateProduct) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProduct) HasName ¶
func (o *UpdateProduct) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateProduct) HasPortal ¶
func (o *UpdateProduct) HasPortal() bool
HasPortal returns a boolean if a field has been set.
func (*UpdateProduct) HasSlug ¶
func (o *UpdateProduct) HasSlug() bool
HasSlug returns a boolean if a field has been set.
func (UpdateProduct) MarshalJSON ¶
func (o UpdateProduct) MarshalJSON() ([]byte, error)
func (*UpdateProduct) SetName ¶
func (o *UpdateProduct) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateProduct) SetPortal ¶
func (o *UpdateProduct) SetPortal(v UpdateProductPortal)
SetPortal gets a reference to the given UpdateProductPortal and assigns it to the Portal field.
func (*UpdateProduct) SetSlug ¶
func (o *UpdateProduct) SetSlug(v string)
SetSlug gets a reference to the given string and assigns it to the Slug field.
func (UpdateProduct) ToMap ¶
func (o UpdateProduct) ToMap() (map[string]interface{}, error)
func (*UpdateProduct) UnmarshalJSON ¶
func (o *UpdateProduct) UnmarshalJSON(data []byte) (err error)
type UpdateProductPortal ¶
type UpdateProductPortal struct {
// Whether customers can use the customer portal. When disabled, it answers `404`.
Enabled *bool `json:"enabled,omitempty"`
// Background of the portal's side panel, as `#rrggbb`, stored lower cased. `null` for the default color.
BrandColor NullableString `json:"brandColor,omitempty" validate:"regexp=^#[0-9a-f]{6}$/i"`
// Color of the portal's inputs and buttons, as `#rrggbb`, stored lower cased. `null` for the default color.
AccentColor NullableString `json:"accentColor,omitempty" validate:"regexp=^#[0-9a-f]{6}$/i"`
// Link back to your website shown in the portal, when the portal's URL has no allowed `return_url`. `null` for no link.
ReturnUrl NullableString `json:"returnUrl,omitempty"`
// Domains the portal's `return_url` query parameter may point to, their subdomains included. Other return URLs are ignored, in favor of `returnUrl`.
ReturnDomains []string `json:"returnDomains,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateProductPortal struct for UpdateProductPortal
func NewUpdateProductPortal ¶
func NewUpdateProductPortal() *UpdateProductPortal
NewUpdateProductPortal instantiates a new UpdateProductPortal 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 NewUpdateProductPortalWithDefaults ¶
func NewUpdateProductPortalWithDefaults() *UpdateProductPortal
NewUpdateProductPortalWithDefaults instantiates a new UpdateProductPortal 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 (*UpdateProductPortal) GetAccentColor ¶
func (o *UpdateProductPortal) GetAccentColor() string
GetAccentColor returns the AccentColor field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateProductPortal) GetAccentColorOk ¶
func (o *UpdateProductPortal) GetAccentColorOk() (*string, bool)
GetAccentColorOk returns a tuple with the AccentColor 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 (*UpdateProductPortal) GetBrandColor ¶
func (o *UpdateProductPortal) GetBrandColor() string
GetBrandColor returns the BrandColor field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateProductPortal) GetBrandColorOk ¶
func (o *UpdateProductPortal) GetBrandColorOk() (*string, bool)
GetBrandColorOk returns a tuple with the BrandColor 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 (*UpdateProductPortal) GetEnabled ¶
func (o *UpdateProductPortal) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*UpdateProductPortal) GetEnabledOk ¶
func (o *UpdateProductPortal) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProductPortal) GetReturnDomains ¶
func (o *UpdateProductPortal) GetReturnDomains() []string
GetReturnDomains returns the ReturnDomains field value if set, zero value otherwise.
func (*UpdateProductPortal) GetReturnDomainsOk ¶
func (o *UpdateProductPortal) GetReturnDomainsOk() ([]string, bool)
GetReturnDomainsOk returns a tuple with the ReturnDomains field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateProductPortal) GetReturnUrl ¶
func (o *UpdateProductPortal) GetReturnUrl() string
GetReturnUrl returns the ReturnUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateProductPortal) GetReturnUrlOk ¶
func (o *UpdateProductPortal) GetReturnUrlOk() (*string, bool)
GetReturnUrlOk returns a tuple with the ReturnUrl 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 (*UpdateProductPortal) HasAccentColor ¶
func (o *UpdateProductPortal) HasAccentColor() bool
HasAccentColor returns a boolean if a field has been set.
func (*UpdateProductPortal) HasBrandColor ¶
func (o *UpdateProductPortal) HasBrandColor() bool
HasBrandColor returns a boolean if a field has been set.
func (*UpdateProductPortal) HasEnabled ¶
func (o *UpdateProductPortal) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*UpdateProductPortal) HasReturnDomains ¶
func (o *UpdateProductPortal) HasReturnDomains() bool
HasReturnDomains returns a boolean if a field has been set.
func (*UpdateProductPortal) HasReturnUrl ¶
func (o *UpdateProductPortal) HasReturnUrl() bool
HasReturnUrl returns a boolean if a field has been set.
func (UpdateProductPortal) MarshalJSON ¶
func (o UpdateProductPortal) MarshalJSON() ([]byte, error)
func (*UpdateProductPortal) SetAccentColor ¶
func (o *UpdateProductPortal) SetAccentColor(v string)
SetAccentColor gets a reference to the given NullableString and assigns it to the AccentColor field.
func (*UpdateProductPortal) SetAccentColorNil ¶
func (o *UpdateProductPortal) SetAccentColorNil()
SetAccentColorNil sets the value for AccentColor to be an explicit nil
func (*UpdateProductPortal) SetBrandColor ¶
func (o *UpdateProductPortal) SetBrandColor(v string)
SetBrandColor gets a reference to the given NullableString and assigns it to the BrandColor field.
func (*UpdateProductPortal) SetBrandColorNil ¶
func (o *UpdateProductPortal) SetBrandColorNil()
SetBrandColorNil sets the value for BrandColor to be an explicit nil
func (*UpdateProductPortal) SetEnabled ¶
func (o *UpdateProductPortal) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*UpdateProductPortal) SetReturnDomains ¶
func (o *UpdateProductPortal) SetReturnDomains(v []string)
SetReturnDomains gets a reference to the given []string and assigns it to the ReturnDomains field.
func (*UpdateProductPortal) SetReturnUrl ¶
func (o *UpdateProductPortal) SetReturnUrl(v string)
SetReturnUrl gets a reference to the given NullableString and assigns it to the ReturnUrl field.
func (*UpdateProductPortal) SetReturnUrlNil ¶
func (o *UpdateProductPortal) SetReturnUrlNil()
SetReturnUrlNil sets the value for ReturnUrl to be an explicit nil
func (UpdateProductPortal) ToMap ¶
func (o UpdateProductPortal) ToMap() (map[string]interface{}, error)
func (*UpdateProductPortal) UnmarshalJSON ¶
func (o *UpdateProductPortal) UnmarshalJSON(data []byte) (err error)
func (*UpdateProductPortal) UnsetAccentColor ¶
func (o *UpdateProductPortal) UnsetAccentColor()
UnsetAccentColor ensures that no value is present for AccentColor, not even an explicit nil
func (*UpdateProductPortal) UnsetBrandColor ¶
func (o *UpdateProductPortal) UnsetBrandColor()
UnsetBrandColor ensures that no value is present for BrandColor, not even an explicit nil
func (*UpdateProductPortal) UnsetReturnUrl ¶
func (o *UpdateProductPortal) UnsetReturnUrl()
UnsetReturnUrl ensures that no value is present for ReturnUrl, not even an explicit nil
type UpdateRelease ¶
type UpdateRelease struct {
// Semantic version, like `\"2.3.1\"` or `\"2.4.0-beta.1\"`, without a `v` prefix. Unique within the product. Each number has at most 9 digits.
Version *string `` /* 146-byte string literal not displayed */
// When the version is released, which can be in the future. Defaults to now.
ReleasedAt *time.Time `json:"releasedAt,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateRelease struct for UpdateRelease
func NewUpdateRelease ¶
func NewUpdateRelease() *UpdateRelease
NewUpdateRelease instantiates a new UpdateRelease 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 NewUpdateReleaseWithDefaults ¶
func NewUpdateReleaseWithDefaults() *UpdateRelease
NewUpdateReleaseWithDefaults instantiates a new UpdateRelease 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 (*UpdateRelease) GetReleasedAt ¶
func (o *UpdateRelease) GetReleasedAt() time.Time
GetReleasedAt returns the ReleasedAt field value if set, zero value otherwise.
func (*UpdateRelease) GetReleasedAtOk ¶
func (o *UpdateRelease) GetReleasedAtOk() (*time.Time, bool)
GetReleasedAtOk returns a tuple with the ReleasedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRelease) GetVersion ¶
func (o *UpdateRelease) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*UpdateRelease) GetVersionOk ¶
func (o *UpdateRelease) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRelease) HasReleasedAt ¶
func (o *UpdateRelease) HasReleasedAt() bool
HasReleasedAt returns a boolean if a field has been set.
func (*UpdateRelease) HasVersion ¶
func (o *UpdateRelease) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (UpdateRelease) MarshalJSON ¶
func (o UpdateRelease) MarshalJSON() ([]byte, error)
func (*UpdateRelease) SetReleasedAt ¶
func (o *UpdateRelease) SetReleasedAt(v time.Time)
SetReleasedAt gets a reference to the given time.Time and assigns it to the ReleasedAt field.
func (*UpdateRelease) SetVersion ¶
func (o *UpdateRelease) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (UpdateRelease) ToMap ¶
func (o UpdateRelease) ToMap() (map[string]interface{}, error)
func (*UpdateRelease) UnmarshalJSON ¶
func (o *UpdateRelease) UnmarshalJSON(data []byte) (err error)
type ValidateKey ¶
type ValidateKey struct {
// License key, compared exactly: keys are case sensitive.
Key string `json:"key"`
// Identifies the machine. Unique within the license. Compared exactly, case included: a different fingerprint is another machine.
Fingerprint string `json:"fingerprint"`
// Version of the application running on the machine, like `\"1.4.2\"`. Its major and minor numbers are checked against the license's `maxVersion.version`: a `v` prefix and a pre-release are accepted, `\"v2.3.0-beta.1\"` counting as 2.3, and a version that doesn't start with a number is refused when the license has a `maxVersion.version`. It doesn't have to be one of the product's releases.
Version string `json:"version"`
// Name of the machine. Replaces the current one when given.
Name *string `json:"name,omitempty"`
// Platform of the machine. Replaces the current one when given.
Platform *string `json:"platform,omitempty"`
AdditionalProperties map[string]interface{}
}
ValidateKey struct for ValidateKey
func NewValidateKey ¶
func NewValidateKey(key string, fingerprint string, version string) *ValidateKey
NewValidateKey instantiates a new ValidateKey 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 NewValidateKeyWithDefaults ¶
func NewValidateKeyWithDefaults() *ValidateKey
NewValidateKeyWithDefaults instantiates a new ValidateKey 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 (*ValidateKey) GetFingerprint ¶
func (o *ValidateKey) GetFingerprint() string
GetFingerprint returns the Fingerprint field value
func (*ValidateKey) GetFingerprintOk ¶
func (o *ValidateKey) GetFingerprintOk() (*string, bool)
GetFingerprintOk returns a tuple with the Fingerprint field value and a boolean to check if the value has been set.
func (*ValidateKey) GetKey ¶
func (o *ValidateKey) GetKey() string
GetKey returns the Key field value
func (*ValidateKey) GetKeyOk ¶
func (o *ValidateKey) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*ValidateKey) GetName ¶
func (o *ValidateKey) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ValidateKey) GetNameOk ¶
func (o *ValidateKey) 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 (*ValidateKey) GetPlatform ¶
func (o *ValidateKey) GetPlatform() string
GetPlatform returns the Platform field value if set, zero value otherwise.
func (*ValidateKey) GetPlatformOk ¶
func (o *ValidateKey) GetPlatformOk() (*string, bool)
GetPlatformOk returns a tuple with the Platform field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidateKey) GetVersion ¶
func (o *ValidateKey) GetVersion() string
GetVersion returns the Version field value
func (*ValidateKey) GetVersionOk ¶
func (o *ValidateKey) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*ValidateKey) HasName ¶
func (o *ValidateKey) HasName() bool
HasName returns a boolean if a field has been set.
func (*ValidateKey) HasPlatform ¶
func (o *ValidateKey) HasPlatform() bool
HasPlatform returns a boolean if a field has been set.
func (ValidateKey) MarshalJSON ¶
func (o ValidateKey) MarshalJSON() ([]byte, error)
func (*ValidateKey) SetFingerprint ¶
func (o *ValidateKey) SetFingerprint(v string)
SetFingerprint sets field value
func (*ValidateKey) SetName ¶
func (o *ValidateKey) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ValidateKey) SetPlatform ¶
func (o *ValidateKey) SetPlatform(v string)
SetPlatform gets a reference to the given string and assigns it to the Platform field.
func (*ValidateKey) SetVersion ¶
func (o *ValidateKey) SetVersion(v string)
SetVersion sets field value
func (ValidateKey) ToMap ¶
func (o ValidateKey) ToMap() (map[string]interface{}, error)
func (*ValidateKey) UnmarshalJSON ¶
func (o *ValidateKey) UnmarshalJSON(data []byte) (err error)
type ValidateKeyError ¶
type ValidateKeyError struct {
Error ValidateKeyErrorError `json:"error"`
AdditionalProperties map[string]interface{}
}
ValidateKeyError struct for ValidateKeyError
func NewValidateKeyError ¶
func NewValidateKeyError(error_ ValidateKeyErrorError) *ValidateKeyError
NewValidateKeyError instantiates a new ValidateKeyError 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 NewValidateKeyErrorWithDefaults ¶
func NewValidateKeyErrorWithDefaults() *ValidateKeyError
NewValidateKeyErrorWithDefaults instantiates a new ValidateKeyError 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 (*ValidateKeyError) GetError ¶
func (o *ValidateKeyError) GetError() ValidateKeyErrorError
GetError returns the Error field value
func (*ValidateKeyError) GetErrorOk ¶
func (o *ValidateKeyError) GetErrorOk() (*ValidateKeyErrorError, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (ValidateKeyError) MarshalJSON ¶
func (o ValidateKeyError) MarshalJSON() ([]byte, error)
func (*ValidateKeyError) SetError ¶
func (o *ValidateKeyError) SetError(v ValidateKeyErrorError)
SetError sets field value
func (ValidateKeyError) ToMap ¶
func (o ValidateKeyError) ToMap() (map[string]interface{}, error)
func (*ValidateKeyError) UnmarshalJSON ¶
func (o *ValidateKeyError) UnmarshalJSON(data []byte) (err error)
type ValidateKeyErrorError ¶
type ValidateKeyErrorError struct {
Code string `json:"code"`
Message string `json:"message"`
// Present on `validation_error` errors.
Issues []ErrorErrorIssuesInner `json:"issues,omitempty"`
// On `version_not_allowed` errors: version of the latest stable release of the product the license allows, among the ones already released. `null` when it allows none of them.
LatestAllowedVersion NullableString `json:"latestAllowedVersion,omitempty"`
AdditionalProperties map[string]interface{}
}
ValidateKeyErrorError struct for ValidateKeyErrorError
func NewValidateKeyErrorError ¶
func NewValidateKeyErrorError(code string, message string) *ValidateKeyErrorError
NewValidateKeyErrorError instantiates a new ValidateKeyErrorError 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 NewValidateKeyErrorErrorWithDefaults ¶
func NewValidateKeyErrorErrorWithDefaults() *ValidateKeyErrorError
NewValidateKeyErrorErrorWithDefaults instantiates a new ValidateKeyErrorError 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 (*ValidateKeyErrorError) GetCode ¶
func (o *ValidateKeyErrorError) GetCode() string
GetCode returns the Code field value
func (*ValidateKeyErrorError) GetCodeOk ¶
func (o *ValidateKeyErrorError) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*ValidateKeyErrorError) GetIssues ¶
func (o *ValidateKeyErrorError) GetIssues() []ErrorErrorIssuesInner
GetIssues returns the Issues field value if set, zero value otherwise.
func (*ValidateKeyErrorError) GetIssuesOk ¶
func (o *ValidateKeyErrorError) GetIssuesOk() ([]ErrorErrorIssuesInner, bool)
GetIssuesOk returns a tuple with the Issues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ValidateKeyErrorError) GetLatestAllowedVersion ¶
func (o *ValidateKeyErrorError) GetLatestAllowedVersion() string
GetLatestAllowedVersion returns the LatestAllowedVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ValidateKeyErrorError) GetLatestAllowedVersionOk ¶
func (o *ValidateKeyErrorError) GetLatestAllowedVersionOk() (*string, bool)
GetLatestAllowedVersionOk returns a tuple with the LatestAllowedVersion 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 (*ValidateKeyErrorError) GetMessage ¶
func (o *ValidateKeyErrorError) GetMessage() string
GetMessage returns the Message field value
func (*ValidateKeyErrorError) GetMessageOk ¶
func (o *ValidateKeyErrorError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ValidateKeyErrorError) HasIssues ¶
func (o *ValidateKeyErrorError) HasIssues() bool
HasIssues returns a boolean if a field has been set.
func (*ValidateKeyErrorError) HasLatestAllowedVersion ¶
func (o *ValidateKeyErrorError) HasLatestAllowedVersion() bool
HasLatestAllowedVersion returns a boolean if a field has been set.
func (ValidateKeyErrorError) MarshalJSON ¶
func (o ValidateKeyErrorError) MarshalJSON() ([]byte, error)
func (*ValidateKeyErrorError) SetCode ¶
func (o *ValidateKeyErrorError) SetCode(v string)
SetCode sets field value
func (*ValidateKeyErrorError) SetIssues ¶
func (o *ValidateKeyErrorError) SetIssues(v []ErrorErrorIssuesInner)
SetIssues gets a reference to the given []ErrorErrorIssuesInner and assigns it to the Issues field.
func (*ValidateKeyErrorError) SetLatestAllowedVersion ¶
func (o *ValidateKeyErrorError) SetLatestAllowedVersion(v string)
SetLatestAllowedVersion gets a reference to the given NullableString and assigns it to the LatestAllowedVersion field.
func (*ValidateKeyErrorError) SetLatestAllowedVersionNil ¶
func (o *ValidateKeyErrorError) SetLatestAllowedVersionNil()
SetLatestAllowedVersionNil sets the value for LatestAllowedVersion to be an explicit nil
func (*ValidateKeyErrorError) SetMessage ¶
func (o *ValidateKeyErrorError) SetMessage(v string)
SetMessage sets field value
func (ValidateKeyErrorError) ToMap ¶
func (o ValidateKeyErrorError) ToMap() (map[string]interface{}, error)
func (*ValidateKeyErrorError) UnmarshalJSON ¶
func (o *ValidateKeyErrorError) UnmarshalJSON(data []byte) (err error)
func (*ValidateKeyErrorError) UnsetLatestAllowedVersion ¶
func (o *ValidateKeyErrorError) UnsetLatestAllowedVersion()
UnsetLatestAllowedVersion ensures that no value is present for LatestAllowedVersion, not even an explicit nil
Source Files
¶
- api_customers.go
- api_events.go
- api_integrations.go
- api_licenses.go
- api_machines.go
- api_policies.go
- api_portal.go
- api_products.go
- api_releases.go
- api_tokens.go
- client.go
- configuration.go
- model_connect_stripe.go
- model_create_customer.go
- model_create_integration_mapping.go
- model_create_license.go
- model_create_policy.go
- model_create_portal_link.go
- model_create_product.go
- model_create_product_with_policy.go
- model_create_release.go
- model_create_token.go
- model_customer.go
- model_customer_list.go
- model_error.go
- model_error_error.go
- model_error_error_issues_inner.go
- model_error_error_issues_inner_path_inner.go
- model_event.go
- model_event_actor.go
- model_event_actor_one_of.go
- model_event_actor_one_of_1.go
- model_event_actor_one_of_2.go
- model_event_actor_one_of_3.go
- model_event_actor_one_of_4.go
- model_event_list.go
- model_event_machine.go
- model_event_type.go
- model_fixed_max_version.go
- model_integration.go
- model_integration_mapping.go
- model_integration_status.go
- model_license.go
- model_license_list.go
- model_license_max_version.go
- model_license_max_version_input.go
- model_license_stats.go
- model_license_stats_activations_by_machine_inner.go
- model_license_stats_activations_by_version_inner.go
- model_license_status.go
- model_license_token.go
- model_list_policy_events_type_parameter.go
- model_list_stripe_prices_200_response.go
- model_lock_max_version.go
- model_lock_max_version_major_after.go
- model_lock_max_version_major_after_one_of.go
- model_lock_max_version_major_after_one_of_1.go
- model_lock_max_version_minor_after.go
- model_machine.go
- model_machine_list.go
- model_pagination.go
- model_policy.go
- model_policy_duration.go
- model_policy_list.go
- model_policy_max_version.go
- model_policy_settings.go
- model_policy_settings_duration.go
- model_policy_settings_duration_any_of.go
- model_policy_settings_duration_any_of_1.go
- model_policy_settings_max_version.go
- model_portal.go
- model_portal_link.go
- model_portal_not_found.go
- model_portal_settings.go
- model_price.go
- model_price_input.go
- model_product.go
- model_product_list.go
- model_product_stats.go
- model_product_stats_activations_by_version_inner.go
- model_product_stats_active_machines_by_platform_inner.go
- model_product_stats_active_machines_by_version_inner.go
- model_product_stats_new_licenses_by_policy_inner.go
- model_release.go
- model_release_list.go
- model_request_portal_link.go
- model_revenue.go
- model_send_license_keys.go
- model_send_portal_link.go
- model_signing_key.go
- model_stripe_integration.go
- model_stripe_permission.go
- model_stripe_price.go
- model_token.go
- model_update_customer.go
- model_update_integration_mapping.go
- model_update_license.go
- model_update_policy.go
- model_update_product.go
- model_update_product_portal.go
- model_update_release.go
- model_validate_key.go
- model_validate_key_error.go
- model_validate_key_error_error.go
- response.go
- utils.go