Documentation
¶
Overview ¶
Package api is a typed client for the RevenueCat v2 REST API.
Design rules for this package:
- One file per resource (customers.go, projects.go, ...).
- Methods map 1:1 to REST endpoints; no compositing here.
- No CLI concepts (flags, output formats, prompts) leak in. Anything that calls multiple endpoints to build a user-facing view belongs in the cli/ package, not here.
- All requests take context.Context.
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- Constants
- Variables
- func GeneratePKCE() (verifier, challenge string, err error)
- func GenerateState() (string, error)
- func IsAlreadyExists(err error) bool
- func IsNotFound(err error) bool
- func IsParameterError(err error) bool
- func IsRateLimited(err error) bool
- func IsServerError(err error) bool
- func IsUnauthorized(err error) bool
- func IsValidChartName(name string) bool
- func MissingScope(msg string) string
- type APIError
- type AmazonApp
- type AmazonAppConfig
- type AmazonAppCreate
- type AmazonAppCreateType
- type AmazonAppObject
- type AmazonAppType
- type AmazonApp_Amazon
- type AmountMicros
- type App
- type AppCreate
- type AppExtras
- type AppObject
- type AppStoreApp
- type AppStoreAppConfig
- type AppStoreAppCreate
- type AppStoreAppCreateType
- type AppStoreAppObject
- type AppStoreAppType
- type AppStoreApp_AppStore
- type AppType
- type AppUpdate
- type AppsService
- func (s *AppsService) Create(ctx context.Context, projectID string, body AppCreate) (*App, error)
- func (s *AppsService) Delete(ctx context.Context, projectID, id string) error
- func (s *AppsService) Get(ctx context.Context, projectID, id string) (*App, error)
- func (s *AppsService) GetExtras(ctx context.Context, projectID, id string) (*AppExtras, error)
- func (s *AppsService) List(ctx context.Context, projectID string) (*Page[App], error)
- func (s *AppsService) PublicAPIKeys(ctx context.Context, projectID, appID string) (*ListPublicAPIKeys, error)
- func (s *AppsService) StoreKitConfig(ctx context.Context, projectID, appID string) (*StoreKitConfigFile, error)
- func (s *AppsService) Update(ctx context.Context, projectID, id string, body AppUpdate) (*App, error)
- type ArchiveEntitlement400JSONResponseBodyObject
- type ArchiveEntitlement400JSONResponseBodyType
- type ArchiveEntitlement401JSONResponseBodyObject
- type ArchiveEntitlement401JSONResponseBodyType
- type ArchiveEntitlement403JSONResponseBodyObject
- type ArchiveEntitlement403JSONResponseBodyType
- type ArchiveEntitlement404JSONResponseBodyObject
- type ArchiveEntitlement404JSONResponseBodyType
- type ArchiveEntitlement409JSONResponseBodyObject
- type ArchiveEntitlement409JSONResponseBodyType
- type ArchiveEntitlement422JSONResponseBodyObject
- type ArchiveEntitlement422JSONResponseBodyType
- type ArchiveEntitlement423JSONResponseBodyObject
- type ArchiveEntitlement423JSONResponseBodyType
- type ArchiveEntitlement429JSONResponseBodyObject
- type ArchiveEntitlement429JSONResponseBodyType
- type ArchiveEntitlement500JSONResponseBodyObject
- type ArchiveEntitlement500JSONResponseBodyType
- type ArchiveEntitlement503JSONResponseBodyObject
- type ArchiveEntitlement503JSONResponseBodyType
- type ArchiveOffering400JSONResponseBodyObject
- type ArchiveOffering400JSONResponseBodyType
- type ArchiveOffering401JSONResponseBodyObject
- type ArchiveOffering401JSONResponseBodyType
- type ArchiveOffering403JSONResponseBodyObject
- type ArchiveOffering403JSONResponseBodyType
- type ArchiveOffering404JSONResponseBodyObject
- type ArchiveOffering404JSONResponseBodyType
- type ArchiveOffering409JSONResponseBodyObject
- type ArchiveOffering409JSONResponseBodyType
- type ArchiveOffering422JSONResponseBodyObject
- type ArchiveOffering422JSONResponseBodyType
- type ArchiveOffering423JSONResponseBodyObject
- type ArchiveOffering423JSONResponseBodyType
- type ArchiveOffering429JSONResponseBodyObject
- type ArchiveOffering429JSONResponseBodyType
- type ArchiveOffering500JSONResponseBodyObject
- type ArchiveOffering500JSONResponseBodyType
- type ArchiveOffering503JSONResponseBodyObject
- type ArchiveOffering503JSONResponseBodyType
- type ArchiveProduct400JSONResponseBodyObject
- type ArchiveProduct400JSONResponseBodyType
- type ArchiveProduct401JSONResponseBodyObject
- type ArchiveProduct401JSONResponseBodyType
- type ArchiveProduct403JSONResponseBodyObject
- type ArchiveProduct403JSONResponseBodyType
- type ArchiveProduct404JSONResponseBodyObject
- type ArchiveProduct404JSONResponseBodyType
- type ArchiveProduct409JSONResponseBodyObject
- type ArchiveProduct409JSONResponseBodyType
- type ArchiveProduct422JSONResponseBodyObject
- type ArchiveProduct422JSONResponseBodyType
- type ArchiveProduct423JSONResponseBodyObject
- type ArchiveProduct423JSONResponseBodyType
- type ArchiveProduct429JSONResponseBodyObject
- type ArchiveProduct429JSONResponseBodyType
- type ArchiveProduct500JSONResponseBodyObject
- type ArchiveProduct500JSONResponseBodyType
- type ArchiveProduct503JSONResponseBodyObject
- type ArchiveProduct503JSONResponseBodyType
- type ArchiveVirtualCurrency400JSONResponseBodyObject
- type ArchiveVirtualCurrency400JSONResponseBodyType
- type ArchiveVirtualCurrency401JSONResponseBodyObject
- type ArchiveVirtualCurrency401JSONResponseBodyType
- type ArchiveVirtualCurrency403JSONResponseBodyObject
- type ArchiveVirtualCurrency403JSONResponseBodyType
- type ArchiveVirtualCurrency404JSONResponseBodyObject
- type ArchiveVirtualCurrency404JSONResponseBodyType
- type ArchiveVirtualCurrency409JSONResponseBodyObject
- type ArchiveVirtualCurrency409JSONResponseBodyType
- type ArchiveVirtualCurrency422JSONResponseBodyObject
- type ArchiveVirtualCurrency422JSONResponseBodyType
- type ArchiveVirtualCurrency423JSONResponseBodyObject
- type ArchiveVirtualCurrency423JSONResponseBodyType
- type ArchiveVirtualCurrency429JSONResponseBodyObject
- type ArchiveVirtualCurrency429JSONResponseBodyType
- type ArchiveVirtualCurrency500JSONResponseBodyObject
- type ArchiveVirtualCurrency500JSONResponseBodyType
- type ArchiveVirtualCurrency503JSONResponseBodyObject
- type ArchiveVirtualCurrency503JSONResponseBodyType
- type AssignCustomerOffering400JSONResponseBodyObject
- type AssignCustomerOffering400JSONResponseBodyType
- type AssignCustomerOffering401JSONResponseBodyObject
- type AssignCustomerOffering401JSONResponseBodyType
- type AssignCustomerOffering403JSONResponseBodyObject
- type AssignCustomerOffering403JSONResponseBodyType
- type AssignCustomerOffering404JSONResponseBodyObject
- type AssignCustomerOffering404JSONResponseBodyType
- type AssignCustomerOffering409JSONResponseBodyObject
- type AssignCustomerOffering409JSONResponseBodyType
- type AssignCustomerOffering422JSONResponseBodyObject
- type AssignCustomerOffering422JSONResponseBodyType
- type AssignCustomerOffering423JSONResponseBodyObject
- type AssignCustomerOffering423JSONResponseBodyType
- type AssignCustomerOffering429JSONResponseBodyObject
- type AssignCustomerOffering429JSONResponseBodyType
- type AssignCustomerOffering500JSONResponseBodyObject
- type AssignCustomerOffering500JSONResponseBodyType
- type AssignCustomerOffering503JSONResponseBodyObject
- type AssignCustomerOffering503JSONResponseBodyType
- type AssignCustomerOfferingJSONBody
- type AssignCustomerOfferingJSONRequestBody
- type AttachProductsToEntitlement400JSONResponseBodyObject
- type AttachProductsToEntitlement400JSONResponseBodyType
- type AttachProductsToEntitlement401JSONResponseBodyObject
- type AttachProductsToEntitlement401JSONResponseBodyType
- type AttachProductsToEntitlement403JSONResponseBodyObject
- type AttachProductsToEntitlement403JSONResponseBodyType
- type AttachProductsToEntitlement404JSONResponseBodyObject
- type AttachProductsToEntitlement404JSONResponseBodyType
- type AttachProductsToEntitlement409JSONResponseBodyObject
- type AttachProductsToEntitlement409JSONResponseBodyType
- type AttachProductsToEntitlement422JSONResponseBodyObject
- type AttachProductsToEntitlement422JSONResponseBodyType
- type AttachProductsToEntitlement423JSONResponseBodyObject
- type AttachProductsToEntitlement423JSONResponseBodyType
- type AttachProductsToEntitlement429JSONResponseBodyObject
- type AttachProductsToEntitlement429JSONResponseBodyType
- type AttachProductsToEntitlement500JSONResponseBodyObject
- type AttachProductsToEntitlement500JSONResponseBodyType
- type AttachProductsToEntitlement503JSONResponseBodyObject
- type AttachProductsToEntitlement503JSONResponseBodyType
- type AttachProductsToEntitlementJSONBody
- type AttachProductsToEntitlementJSONRequestBody
- type AttachProductsToPackage400JSONResponseBodyObject
- type AttachProductsToPackage400JSONResponseBodyType
- type AttachProductsToPackage401JSONResponseBodyObject
- type AttachProductsToPackage401JSONResponseBodyType
- type AttachProductsToPackage403JSONResponseBodyObject
- type AttachProductsToPackage403JSONResponseBodyType
- type AttachProductsToPackage404JSONResponseBodyObject
- type AttachProductsToPackage404JSONResponseBodyType
- type AttachProductsToPackage409JSONResponseBodyObject
- type AttachProductsToPackage409JSONResponseBodyType
- type AttachProductsToPackage422JSONResponseBodyObject
- type AttachProductsToPackage422JSONResponseBodyType
- type AttachProductsToPackage423JSONResponseBodyObject
- type AttachProductsToPackage423JSONResponseBodyType
- type AttachProductsToPackage429JSONResponseBodyObject
- type AttachProductsToPackage429JSONResponseBodyType
- type AttachProductsToPackage500JSONResponseBodyObject
- type AttachProductsToPackage500JSONResponseBodyType
- type AttachProductsToPackage503JSONResponseBodyObject
- type AttachProductsToPackage503JSONResponseBodyType
- type AttachProductsToPackageJSONBody
- type AttachProductsToPackageJSONRequestBody
- type AuditLog
- type AuditLogActorType
- type AuditLogObject
- type AuditService
- type AuthenticatedManagementURL
- type AuthenticatedManagementURLObject
- type BadGateway
- type BadGatewayObject
- type BadGatewayType
- type BadRequest
- type BadRequestObject
- type BadRequestType
- type CancelSubscription400JSONResponseBodyObject
- type CancelSubscription400JSONResponseBodyType
- type CancelSubscription401JSONResponseBodyObject
- type CancelSubscription401JSONResponseBodyType
- type CancelSubscription403JSONResponseBodyObject
- type CancelSubscription403JSONResponseBodyType
- type CancelSubscription404JSONResponseBodyObject
- type CancelSubscription404JSONResponseBodyType
- type CancelSubscription409JSONResponseBodyObject
- type CancelSubscription409JSONResponseBodyType
- type CancelSubscription422JSONResponseBodyObject
- type CancelSubscription422JSONResponseBodyType
- type CancelSubscription423JSONResponseBodyObject
- type CancelSubscription423JSONResponseBodyType
- type CancelSubscription429JSONResponseBodyObject
- type CancelSubscription429JSONResponseBodyType
- type CancelSubscription500JSONResponseBodyObject
- type CancelSubscription500JSONResponseBodyType
- type CancelSubscription503JSONResponseBodyObject
- type CancelSubscription503JSONResponseBodyType
- type ChartAnnotation
- type ChartAnnotationObject
- type ChartData
- type ChartFilterOption
- type ChartFilterOptionObject
- type ChartFilterOption_Options_Item
- func (a ChartFilterOption_Options_Item) Get(fieldName string) (value interface{}, found bool)
- func (a ChartFilterOption_Options_Item) MarshalJSON() ([]byte, error)
- func (a *ChartFilterOption_Options_Item) Set(fieldName string, value interface{})
- func (a *ChartFilterOption_Options_Item) UnmarshalJSON(b []byte) error
- type ChartOptions
- type ChartOptionsObject
- type ChartSegmentOption
- type ChartSegmentOptionObject
- type ChartSeries
- type ChartSeriesScale
- type ChartShowOptions
- type ChartValue
- type ChartsService
- type Client
- type Collaborator
- type CollaboratorObject
- type CollaboratorRole
- type Conflict
- type ConflictObject
- type ConflictType
- type Country
- type CreateApp400JSONResponseBodyObject
- type CreateApp400JSONResponseBodyType
- type CreateApp401JSONResponseBodyObject
- type CreateApp401JSONResponseBodyType
- type CreateApp403JSONResponseBodyObject
- type CreateApp403JSONResponseBodyType
- type CreateApp404JSONResponseBodyObject
- type CreateApp404JSONResponseBodyType
- type CreateApp409JSONResponseBodyObject
- type CreateApp409JSONResponseBodyType
- type CreateApp422JSONResponseBodyObject
- type CreateApp422JSONResponseBodyType
- type CreateApp423JSONResponseBodyObject
- type CreateApp423JSONResponseBodyType
- type CreateApp429JSONResponseBodyObject
- type CreateApp429JSONResponseBodyType
- type CreateApp500JSONResponseBodyObject
- type CreateApp500JSONResponseBodyType
- type CreateApp503JSONResponseBodyObject
- type CreateApp503JSONResponseBodyType
- type CreateAppJSONRequestBody
- type CreateAppStoreConnectInAppPurchaseInput
- type CreateAppStoreConnectSubscriptionInput
- type CreateAppStoreConnectSubscriptionInputDuration
- type CreateCustomer400JSONResponseBodyObject
- type CreateCustomer400JSONResponseBodyType
- type CreateCustomer401JSONResponseBodyObject
- type CreateCustomer401JSONResponseBodyType
- type CreateCustomer403JSONResponseBodyObject
- type CreateCustomer403JSONResponseBodyType
- type CreateCustomer404JSONResponseBodyObject
- type CreateCustomer404JSONResponseBodyType
- type CreateCustomer409JSONResponseBodyObject
- type CreateCustomer409JSONResponseBodyType
- type CreateCustomer422JSONResponseBodyObject
- type CreateCustomer422JSONResponseBodyType
- type CreateCustomer423JSONResponseBodyObject
- type CreateCustomer423JSONResponseBodyType
- type CreateCustomer429JSONResponseBodyObject
- type CreateCustomer429JSONResponseBodyType
- type CreateCustomer500JSONResponseBodyObject
- type CreateCustomer500JSONResponseBodyType
- type CreateCustomer503JSONResponseBodyObject
- type CreateCustomer503JSONResponseBodyType
- type CreateCustomerJSONBody
- type CreateCustomerJSONBody_Attributes_Name
- func (t CreateCustomerJSONBody_Attributes_Name) AsCustomerAttributeCustomName() (CustomerAttributeCustomName, error)
- func (t CreateCustomerJSONBody_Attributes_Name) AsCustomerAttributeReservedName() (CustomerAttributeReservedName, error)
- func (t *CreateCustomerJSONBody_Attributes_Name) FromCustomerAttributeCustomName(v CustomerAttributeCustomName) error
- func (t *CreateCustomerJSONBody_Attributes_Name) FromCustomerAttributeReservedName(v CustomerAttributeReservedName) error
- func (t CreateCustomerJSONBody_Attributes_Name) MarshalJSON() ([]byte, error)
- func (t *CreateCustomerJSONBody_Attributes_Name) MergeCustomerAttributeCustomName(v CustomerAttributeCustomName) error
- func (t *CreateCustomerJSONBody_Attributes_Name) MergeCustomerAttributeReservedName(v CustomerAttributeReservedName) error
- func (t *CreateCustomerJSONBody_Attributes_Name) UnmarshalJSON(b []byte) error
- type CreateCustomerJSONRequestBody
- type CreateEntitlement400JSONResponseBodyObject
- type CreateEntitlement400JSONResponseBodyType
- type CreateEntitlement401JSONResponseBodyObject
- type CreateEntitlement401JSONResponseBodyType
- type CreateEntitlement403JSONResponseBodyObject
- type CreateEntitlement403JSONResponseBodyType
- type CreateEntitlement404JSONResponseBodyObject
- type CreateEntitlement404JSONResponseBodyType
- type CreateEntitlement409JSONResponseBodyObject
- type CreateEntitlement409JSONResponseBodyType
- type CreateEntitlement422JSONResponseBodyObject
- type CreateEntitlement422JSONResponseBodyType
- type CreateEntitlement423JSONResponseBodyObject
- type CreateEntitlement423JSONResponseBodyType
- type CreateEntitlement429JSONResponseBodyObject
- type CreateEntitlement429JSONResponseBodyType
- type CreateEntitlement500JSONResponseBodyObject
- type CreateEntitlement500JSONResponseBodyType
- type CreateEntitlement503JSONResponseBodyObject
- type CreateEntitlement503JSONResponseBodyType
- type CreateEntitlementJSONBody
- type CreateEntitlementJSONRequestBody
- type CreateMediaAsset400JSONResponseBodyObject
- type CreateMediaAsset400JSONResponseBodyType
- type CreateMediaAsset401JSONResponseBodyObject
- type CreateMediaAsset401JSONResponseBodyType
- type CreateMediaAsset403JSONResponseBodyObject
- type CreateMediaAsset403JSONResponseBodyType
- type CreateMediaAsset404JSONResponseBodyObject
- type CreateMediaAsset404JSONResponseBodyType
- type CreateMediaAsset409JSONResponseBodyObject
- type CreateMediaAsset409JSONResponseBodyType
- type CreateMediaAsset422JSONResponseBodyObject
- type CreateMediaAsset422JSONResponseBodyType
- type CreateMediaAsset423JSONResponseBodyObject
- type CreateMediaAsset423JSONResponseBodyType
- type CreateMediaAsset429JSONResponseBodyObject
- type CreateMediaAsset429JSONResponseBodyType
- type CreateMediaAsset500JSONResponseBodyObject
- type CreateMediaAsset500JSONResponseBodyType
- type CreateMediaAsset503JSONResponseBodyObject
- type CreateMediaAsset503JSONResponseBodyType
- type CreateMediaAssetJSONBody
- type CreateMediaAssetJSONBodyContentType
- type CreateMediaAssetJSONRequestBody
- type CreateOffering400JSONResponseBodyObject
- type CreateOffering400JSONResponseBodyType
- type CreateOffering401JSONResponseBodyObject
- type CreateOffering401JSONResponseBodyType
- type CreateOffering403JSONResponseBodyObject
- type CreateOffering403JSONResponseBodyType
- type CreateOffering404JSONResponseBodyObject
- type CreateOffering404JSONResponseBodyType
- type CreateOffering409JSONResponseBodyObject
- type CreateOffering409JSONResponseBodyType
- type CreateOffering422JSONResponseBodyObject
- type CreateOffering422JSONResponseBodyType
- type CreateOffering423JSONResponseBodyObject
- type CreateOffering423JSONResponseBodyType
- type CreateOffering429JSONResponseBodyObject
- type CreateOffering429JSONResponseBodyType
- type CreateOffering500JSONResponseBodyObject
- type CreateOffering500JSONResponseBodyType
- type CreateOffering503JSONResponseBodyObject
- type CreateOffering503JSONResponseBodyType
- type CreateOfferingJSONBody
- type CreateOfferingJSONRequestBody
- type CreatePackages400JSONResponseBodyObject
- type CreatePackages400JSONResponseBodyType
- type CreatePackages401JSONResponseBodyObject
- type CreatePackages401JSONResponseBodyType
- type CreatePackages403JSONResponseBodyObject
- type CreatePackages403JSONResponseBodyType
- type CreatePackages404JSONResponseBodyObject
- type CreatePackages404JSONResponseBodyType
- type CreatePackages409JSONResponseBodyObject
- type CreatePackages409JSONResponseBodyType
- type CreatePackages422JSONResponseBodyObject
- type CreatePackages422JSONResponseBodyType
- type CreatePackages423JSONResponseBodyObject
- type CreatePackages423JSONResponseBodyType
- type CreatePackages429JSONResponseBodyObject
- type CreatePackages429JSONResponseBodyType
- type CreatePackages500JSONResponseBodyObject
- type CreatePackages500JSONResponseBodyType
- type CreatePackages503JSONResponseBodyObject
- type CreatePackages503JSONResponseBodyType
- type CreatePackagesJSONBody
- type CreatePackagesJSONRequestBody
- type CreatePaywall400JSONResponseBodyObject
- type CreatePaywall400JSONResponseBodyType
- type CreatePaywall401JSONResponseBodyObject
- type CreatePaywall401JSONResponseBodyType
- type CreatePaywall403JSONResponseBodyObject
- type CreatePaywall403JSONResponseBodyType
- type CreatePaywall404JSONResponseBodyObject
- type CreatePaywall404JSONResponseBodyType
- type CreatePaywall409JSONResponseBodyObject
- type CreatePaywall409JSONResponseBodyType
- type CreatePaywall422JSONResponseBodyObject
- type CreatePaywall422JSONResponseBodyType
- type CreatePaywall423JSONResponseBodyObject
- type CreatePaywall423JSONResponseBodyType
- type CreatePaywall429JSONResponseBodyObject
- type CreatePaywall429JSONResponseBodyType
- type CreatePaywall500JSONResponseBodyObject
- type CreatePaywall500JSONResponseBodyType
- type CreatePaywall503JSONResponseBodyObject
- type CreatePaywall503JSONResponseBodyType
- type CreatePaywallJSONBody
- func (t CreatePaywallJSONBody) AsCreatePaywallJSONBody0() (CreatePaywallJSONBody0, error)
- func (t CreatePaywallJSONBody) AsPaywallDraftCreate() (PaywallDraftCreate, error)
- func (t *CreatePaywallJSONBody) FromCreatePaywallJSONBody0(v CreatePaywallJSONBody0) error
- func (t *CreatePaywallJSONBody) FromPaywallDraftCreate(v PaywallDraftCreate) error
- func (t CreatePaywallJSONBody) MarshalJSON() ([]byte, error)
- func (t *CreatePaywallJSONBody) MergeCreatePaywallJSONBody0(v CreatePaywallJSONBody0) error
- func (t *CreatePaywallJSONBody) MergePaywallDraftCreate(v PaywallDraftCreate) error
- func (t *CreatePaywallJSONBody) UnmarshalJSON(b []byte) error
- type CreatePaywallJSONBody0
- type CreatePaywallJSONRequestBody
- type CreatePaywallVersion400JSONResponseBodyObject
- type CreatePaywallVersion400JSONResponseBodyType
- type CreatePaywallVersion401JSONResponseBodyObject
- type CreatePaywallVersion401JSONResponseBodyType
- type CreatePaywallVersion403JSONResponseBodyObject
- type CreatePaywallVersion403JSONResponseBodyType
- type CreatePaywallVersion404JSONResponseBodyObject
- type CreatePaywallVersion404JSONResponseBodyType
- type CreatePaywallVersion409JSONResponseBodyObject
- type CreatePaywallVersion409JSONResponseBodyType
- type CreatePaywallVersion422JSONResponseBodyObject
- type CreatePaywallVersion422JSONResponseBodyType
- type CreatePaywallVersion423JSONResponseBodyObject
- type CreatePaywallVersion423JSONResponseBodyType
- type CreatePaywallVersion429JSONResponseBodyObject
- type CreatePaywallVersion429JSONResponseBodyType
- type CreatePaywallVersion500JSONResponseBodyObject
- type CreatePaywallVersion500JSONResponseBodyType
- type CreatePaywallVersion503JSONResponseBodyObject
- type CreatePaywallVersion503JSONResponseBodyType
- type CreatePaywallVersionJSONBody
- type CreatePaywallVersionJSONRequestBody
- type CreateProduct400JSONResponseBodyObject
- type CreateProduct400JSONResponseBodyType
- type CreateProduct401JSONResponseBodyObject
- type CreateProduct401JSONResponseBodyType
- type CreateProduct403JSONResponseBodyObject
- type CreateProduct403JSONResponseBodyType
- type CreateProduct404JSONResponseBodyObject
- type CreateProduct404JSONResponseBodyType
- type CreateProduct409JSONResponseBodyObject
- type CreateProduct409JSONResponseBodyType
- type CreateProduct422JSONResponseBodyObject
- type CreateProduct422JSONResponseBodyType
- type CreateProduct423JSONResponseBodyObject
- type CreateProduct423JSONResponseBodyType
- type CreateProduct429JSONResponseBodyObject
- type CreateProduct429JSONResponseBodyType
- type CreateProduct500JSONResponseBodyObject
- type CreateProduct500JSONResponseBodyType
- type CreateProduct503JSONResponseBodyObject
- type CreateProduct503JSONResponseBodyType
- type CreateProductInStore400JSONResponseBodyObject
- type CreateProductInStore400JSONResponseBodyType
- type CreateProductInStore401JSONResponseBodyObject
- type CreateProductInStore401JSONResponseBodyType
- type CreateProductInStore403JSONResponseBodyObject
- type CreateProductInStore403JSONResponseBodyType
- type CreateProductInStore404JSONResponseBodyObject
- type CreateProductInStore404JSONResponseBodyType
- type CreateProductInStore409JSONResponseBodyObject
- type CreateProductInStore409JSONResponseBodyType
- type CreateProductInStore422JSONResponseBodyObject
- type CreateProductInStore422JSONResponseBodyType
- type CreateProductInStore423JSONResponseBodyObject
- type CreateProductInStore423JSONResponseBodyType
- type CreateProductInStore429JSONResponseBodyObject
- type CreateProductInStore429JSONResponseBodyType
- type CreateProductInStore500JSONResponseBodyObject
- type CreateProductInStore500JSONResponseBodyType
- type CreateProductInStore503JSONResponseBodyObject
- type CreateProductInStore503JSONResponseBodyType
- type CreateProductInStoreJSONBody
- type CreateProductInStoreJSONBody_StoreInformation
- func (t CreateProductInStoreJSONBody_StoreInformation) AsCreateAppStoreConnectInAppPurchaseInput() (CreateAppStoreConnectInAppPurchaseInput, error)
- func (t CreateProductInStoreJSONBody_StoreInformation) AsCreateAppStoreConnectSubscriptionInput() (CreateAppStoreConnectSubscriptionInput, error)
- func (t *CreateProductInStoreJSONBody_StoreInformation) FromCreateAppStoreConnectInAppPurchaseInput(v CreateAppStoreConnectInAppPurchaseInput) error
- func (t *CreateProductInStoreJSONBody_StoreInformation) FromCreateAppStoreConnectSubscriptionInput(v CreateAppStoreConnectSubscriptionInput) error
- func (t CreateProductInStoreJSONBody_StoreInformation) MarshalJSON() ([]byte, error)
- func (t *CreateProductInStoreJSONBody_StoreInformation) MergeCreateAppStoreConnectInAppPurchaseInput(v CreateAppStoreConnectInAppPurchaseInput) error
- func (t *CreateProductInStoreJSONBody_StoreInformation) MergeCreateAppStoreConnectSubscriptionInput(v CreateAppStoreConnectSubscriptionInput) error
- func (t *CreateProductInStoreJSONBody_StoreInformation) UnmarshalJSON(b []byte) error
- type CreateProductInStoreJSONRequestBody
- type CreateProductJSONBody
- type CreateProductJSONRequestBody
- type CreateProject400JSONResponseBodyObject
- type CreateProject400JSONResponseBodyType
- type CreateProject401JSONResponseBodyObject
- type CreateProject401JSONResponseBodyType
- type CreateProject403JSONResponseBodyObject
- type CreateProject403JSONResponseBodyType
- type CreateProject404JSONResponseBodyObject
- type CreateProject404JSONResponseBodyType
- type CreateProject409JSONResponseBodyObject
- type CreateProject409JSONResponseBodyType
- type CreateProject422JSONResponseBodyObject
- type CreateProject422JSONResponseBodyType
- type CreateProject423JSONResponseBodyObject
- type CreateProject423JSONResponseBodyType
- type CreateProject429JSONResponseBodyObject
- type CreateProject429JSONResponseBodyType
- type CreateProject500JSONResponseBodyObject
- type CreateProject500JSONResponseBodyType
- type CreateProject503JSONResponseBodyObject
- type CreateProject503JSONResponseBodyType
- type CreateProjectJSONRequestBody
- type CreateVirtualCurrenciesTransaction400JSONResponseBodyObject
- type CreateVirtualCurrenciesTransaction400JSONResponseBodyType
- type CreateVirtualCurrenciesTransaction401JSONResponseBodyObject
- type CreateVirtualCurrenciesTransaction401JSONResponseBodyType
- type CreateVirtualCurrenciesTransaction403JSONResponseBodyObject
- type CreateVirtualCurrenciesTransaction403JSONResponseBodyType
- type CreateVirtualCurrenciesTransaction404JSONResponseBodyObject
- type CreateVirtualCurrenciesTransaction404JSONResponseBodyType
- type CreateVirtualCurrenciesTransaction409JSONResponseBodyObject
- type CreateVirtualCurrenciesTransaction409JSONResponseBodyType
- type CreateVirtualCurrenciesTransaction422JSONResponseBodyObject
- type CreateVirtualCurrenciesTransaction422JSONResponseBodyType
- type CreateVirtualCurrenciesTransaction423JSONResponseBodyObject
- type CreateVirtualCurrenciesTransaction423JSONResponseBodyType
- type CreateVirtualCurrenciesTransaction429JSONResponseBodyObject
- type CreateVirtualCurrenciesTransaction429JSONResponseBodyType
- type CreateVirtualCurrenciesTransaction500JSONResponseBodyObject
- type CreateVirtualCurrenciesTransaction500JSONResponseBodyType
- type CreateVirtualCurrenciesTransaction503JSONResponseBodyObject
- type CreateVirtualCurrenciesTransaction503JSONResponseBodyType
- type CreateVirtualCurrenciesTransactionJSONBody
- type CreateVirtualCurrenciesTransactionJSONRequestBody
- type CreateVirtualCurrenciesTransactionParams
- type CreateVirtualCurrency400JSONResponseBodyObject
- type CreateVirtualCurrency400JSONResponseBodyType
- type CreateVirtualCurrency401JSONResponseBodyObject
- type CreateVirtualCurrency401JSONResponseBodyType
- type CreateVirtualCurrency403JSONResponseBodyObject
- type CreateVirtualCurrency403JSONResponseBodyType
- type CreateVirtualCurrency404JSONResponseBodyObject
- type CreateVirtualCurrency404JSONResponseBodyType
- type CreateVirtualCurrency409JSONResponseBodyObject
- type CreateVirtualCurrency409JSONResponseBodyType
- type CreateVirtualCurrency422JSONResponseBodyObject
- type CreateVirtualCurrency422JSONResponseBodyType
- type CreateVirtualCurrency423JSONResponseBodyObject
- type CreateVirtualCurrency423JSONResponseBodyType
- type CreateVirtualCurrency429JSONResponseBodyObject
- type CreateVirtualCurrency429JSONResponseBodyType
- type CreateVirtualCurrency500JSONResponseBodyObject
- type CreateVirtualCurrency500JSONResponseBodyType
- type CreateVirtualCurrency503JSONResponseBodyObject
- type CreateVirtualCurrency503JSONResponseBodyType
- type CreateVirtualCurrencyJSONBody
- type CreateVirtualCurrencyJSONRequestBody
- type CreateWebhookIntegration400JSONResponseBodyObject
- type CreateWebhookIntegration400JSONResponseBodyType
- type CreateWebhookIntegration401JSONResponseBodyObject
- type CreateWebhookIntegration401JSONResponseBodyType
- type CreateWebhookIntegration403JSONResponseBodyObject
- type CreateWebhookIntegration403JSONResponseBodyType
- type CreateWebhookIntegration404JSONResponseBodyObject
- type CreateWebhookIntegration404JSONResponseBodyType
- type CreateWebhookIntegration409JSONResponseBodyObject
- type CreateWebhookIntegration409JSONResponseBodyType
- type CreateWebhookIntegration422JSONResponseBodyObject
- type CreateWebhookIntegration422JSONResponseBodyType
- type CreateWebhookIntegration423JSONResponseBodyObject
- type CreateWebhookIntegration423JSONResponseBodyType
- type CreateWebhookIntegration429JSONResponseBodyObject
- type CreateWebhookIntegration429JSONResponseBodyType
- type CreateWebhookIntegration500JSONResponseBodyObject
- type CreateWebhookIntegration500JSONResponseBodyType
- type CreateWebhookIntegration503JSONResponseBodyObject
- type CreateWebhookIntegration503JSONResponseBodyType
- type CreateWebhookIntegrationInput
- type CreateWebhookIntegrationInputEnvironment
- type CreateWebhookIntegrationJSONRequestBody
- type Currency
- type Customer
- type CustomerAlias
- type CustomerAliasObject
- type CustomerAttribute
- type CustomerAttributeCustomName
- type CustomerAttributeObject
- type CustomerAttributeReservedName
- type CustomerCenterConfig
- type CustomerCenterConfigObject
- type CustomerEntitlement
- type CustomerEntitlementObject
- type CustomerEvent
- type CustomerEventObject
- type CustomerObject
- type CustomersService
- func (s *CustomersService) ActiveEntitlements(ctx context.Context, projectID, customerID string) (*Page[CustomerEntitlement], error)
- func (s *CustomersService) Aliases(ctx context.Context, projectID, customerID string) (*Page[map[string]any], error)
- func (s *CustomersService) Attributes(ctx context.Context, projectID, customerID string) (*Page[map[string]any], error)
- func (s *CustomersService) Get(ctx context.Context, projectID, customerID string) (*Customer, error)
- func (s *CustomersService) GrantEntitlement(ctx context.Context, projectID, customerID, entitlementID string, ...) (*Customer, error)
- func (s *CustomersService) List(ctx context.Context, projectID string, opts *ListCustomersOptions) (*Page[Customer], error)
- func (s *CustomersService) OverrideOffering(ctx context.Context, projectID, customerID, offeringID string) error
- func (s *CustomersService) Purchases(ctx context.Context, projectID, customerID string) (*Page[Purchase], error)
- func (s *CustomersService) RestoreGooglePlay(ctx context.Context, projectID, customerID, token string) error
- func (s *CustomersService) RevokeEntitlement(ctx context.Context, projectID, customerID, entitlementID string) error
- func (s *CustomersService) SetAttributes(ctx context.Context, projectID, customerID string, attrs map[string]string) error
- func (s *CustomersService) Subscriptions(ctx context.Context, projectID, customerID string) (*Page[Subscription], error)
- func (s *CustomersService) Transfer(ctx context.Context, projectID, sourceCustomerID, destCustomerID string) error
- func (s *CustomersService) Wallet(ctx context.Context, projectID, customerID string) (*Page[map[string]any], error)
- func (s *CustomersService) WalletAdjustBalance(ctx context.Context, projectID, customerID, currencyCode string, amount int64) error
- func (s *CustomersService) WalletTransaction(ctx context.Context, projectID, customerID, currencyCode string, amount int64) error
- type DeleteApp400JSONResponseBodyObject
- type DeleteApp400JSONResponseBodyType
- type DeleteApp401JSONResponseBodyObject
- type DeleteApp401JSONResponseBodyType
- type DeleteApp403JSONResponseBodyObject
- type DeleteApp403JSONResponseBodyType
- type DeleteApp404JSONResponseBodyObject
- type DeleteApp404JSONResponseBodyType
- type DeleteApp409JSONResponseBodyObject
- type DeleteApp409JSONResponseBodyType
- type DeleteApp422JSONResponseBodyObject
- type DeleteApp422JSONResponseBodyType
- type DeleteApp423JSONResponseBodyObject
- type DeleteApp423JSONResponseBodyType
- type DeleteApp429JSONResponseBodyObject
- type DeleteApp429JSONResponseBodyType
- type DeleteApp500JSONResponseBodyObject
- type DeleteApp500JSONResponseBodyType
- type DeleteApp503JSONResponseBodyObject
- type DeleteApp503JSONResponseBodyType
- type DeleteCustomer400JSONResponseBodyObject
- type DeleteCustomer400JSONResponseBodyType
- type DeleteCustomer401JSONResponseBodyObject
- type DeleteCustomer401JSONResponseBodyType
- type DeleteCustomer403JSONResponseBodyObject
- type DeleteCustomer403JSONResponseBodyType
- type DeleteCustomer404JSONResponseBodyObject
- type DeleteCustomer404JSONResponseBodyType
- type DeleteCustomer409JSONResponseBodyObject
- type DeleteCustomer409JSONResponseBodyType
- type DeleteCustomer422JSONResponseBodyObject
- type DeleteCustomer422JSONResponseBodyType
- type DeleteCustomer423JSONResponseBodyObject
- type DeleteCustomer423JSONResponseBodyType
- type DeleteCustomer429JSONResponseBodyObject
- type DeleteCustomer429JSONResponseBodyType
- type DeleteCustomer500JSONResponseBodyObject
- type DeleteCustomer500JSONResponseBodyType
- type DeleteCustomer503JSONResponseBodyObject
- type DeleteCustomer503JSONResponseBodyType
- type DeleteEntitlement400JSONResponseBodyObject
- type DeleteEntitlement400JSONResponseBodyType
- type DeleteEntitlement401JSONResponseBodyObject
- type DeleteEntitlement401JSONResponseBodyType
- type DeleteEntitlement403JSONResponseBodyObject
- type DeleteEntitlement403JSONResponseBodyType
- type DeleteEntitlement404JSONResponseBodyObject
- type DeleteEntitlement404JSONResponseBodyType
- type DeleteEntitlement409JSONResponseBodyObject
- type DeleteEntitlement409JSONResponseBodyType
- type DeleteEntitlement422JSONResponseBodyObject
- type DeleteEntitlement422JSONResponseBodyType
- type DeleteEntitlement423JSONResponseBodyObject
- type DeleteEntitlement423JSONResponseBodyType
- type DeleteEntitlement429JSONResponseBodyObject
- type DeleteEntitlement429JSONResponseBodyType
- type DeleteEntitlement500JSONResponseBodyObject
- type DeleteEntitlement500JSONResponseBodyType
- type DeleteEntitlement503JSONResponseBodyObject
- type DeleteEntitlement503JSONResponseBodyType
- type DeleteOffering400JSONResponseBodyObject
- type DeleteOffering400JSONResponseBodyType
- type DeleteOffering401JSONResponseBodyObject
- type DeleteOffering401JSONResponseBodyType
- type DeleteOffering403JSONResponseBodyObject
- type DeleteOffering403JSONResponseBodyType
- type DeleteOffering404JSONResponseBodyObject
- type DeleteOffering404JSONResponseBodyType
- type DeleteOffering409JSONResponseBodyObject
- type DeleteOffering409JSONResponseBodyType
- type DeleteOffering422JSONResponseBodyObject
- type DeleteOffering422JSONResponseBodyType
- type DeleteOffering423JSONResponseBodyObject
- type DeleteOffering423JSONResponseBodyType
- type DeleteOffering429JSONResponseBodyObject
- type DeleteOffering429JSONResponseBodyType
- type DeleteOffering500JSONResponseBodyObject
- type DeleteOffering500JSONResponseBodyType
- type DeleteOffering503JSONResponseBodyObject
- type DeleteOffering503JSONResponseBodyType
- type DeletePackageFromOffering400JSONResponseBodyObject
- type DeletePackageFromOffering400JSONResponseBodyType
- type DeletePackageFromOffering401JSONResponseBodyObject
- type DeletePackageFromOffering401JSONResponseBodyType
- type DeletePackageFromOffering403JSONResponseBodyObject
- type DeletePackageFromOffering403JSONResponseBodyType
- type DeletePackageFromOffering404JSONResponseBodyObject
- type DeletePackageFromOffering404JSONResponseBodyType
- type DeletePackageFromOffering409JSONResponseBodyObject
- type DeletePackageFromOffering409JSONResponseBodyType
- type DeletePackageFromOffering422JSONResponseBodyObject
- type DeletePackageFromOffering422JSONResponseBodyType
- type DeletePackageFromOffering423JSONResponseBodyObject
- type DeletePackageFromOffering423JSONResponseBodyType
- type DeletePackageFromOffering429JSONResponseBodyObject
- type DeletePackageFromOffering429JSONResponseBodyType
- type DeletePackageFromOffering500JSONResponseBodyObject
- type DeletePackageFromOffering500JSONResponseBodyType
- type DeletePackageFromOffering503JSONResponseBodyObject
- type DeletePackageFromOffering503JSONResponseBodyType
- type DeletePaywall400JSONResponseBodyObject
- type DeletePaywall400JSONResponseBodyType
- type DeletePaywall401JSONResponseBodyObject
- type DeletePaywall401JSONResponseBodyType
- type DeletePaywall403JSONResponseBodyObject
- type DeletePaywall403JSONResponseBodyType
- type DeletePaywall404JSONResponseBodyObject
- type DeletePaywall404JSONResponseBodyType
- type DeletePaywall409JSONResponseBodyObject
- type DeletePaywall409JSONResponseBodyType
- type DeletePaywall422JSONResponseBodyObject
- type DeletePaywall422JSONResponseBodyType
- type DeletePaywall423JSONResponseBodyObject
- type DeletePaywall423JSONResponseBodyType
- type DeletePaywall429JSONResponseBodyObject
- type DeletePaywall429JSONResponseBodyType
- type DeletePaywall500JSONResponseBodyObject
- type DeletePaywall500JSONResponseBodyType
- type DeletePaywall503JSONResponseBodyObject
- type DeletePaywall503JSONResponseBodyType
- type DeleteProduct400JSONResponseBodyObject
- type DeleteProduct400JSONResponseBodyType
- type DeleteProduct401JSONResponseBodyObject
- type DeleteProduct401JSONResponseBodyType
- type DeleteProduct403JSONResponseBodyObject
- type DeleteProduct403JSONResponseBodyType
- type DeleteProduct404JSONResponseBodyObject
- type DeleteProduct404JSONResponseBodyType
- type DeleteProduct409JSONResponseBodyObject
- type DeleteProduct409JSONResponseBodyType
- type DeleteProduct422JSONResponseBodyObject
- type DeleteProduct422JSONResponseBodyType
- type DeleteProduct423JSONResponseBodyObject
- type DeleteProduct423JSONResponseBodyType
- type DeleteProduct429JSONResponseBodyObject
- type DeleteProduct429JSONResponseBodyType
- type DeleteProduct500JSONResponseBodyObject
- type DeleteProduct500JSONResponseBodyType
- type DeleteProduct503JSONResponseBodyObject
- type DeleteProduct503JSONResponseBodyType
- type DeleteVirtualCurrency400JSONResponseBodyObject
- type DeleteVirtualCurrency400JSONResponseBodyType
- type DeleteVirtualCurrency401JSONResponseBodyObject
- type DeleteVirtualCurrency401JSONResponseBodyType
- type DeleteVirtualCurrency403JSONResponseBodyObject
- type DeleteVirtualCurrency403JSONResponseBodyType
- type DeleteVirtualCurrency404JSONResponseBodyObject
- type DeleteVirtualCurrency404JSONResponseBodyType
- type DeleteVirtualCurrency409JSONResponseBodyObject
- type DeleteVirtualCurrency409JSONResponseBodyType
- type DeleteVirtualCurrency422JSONResponseBodyObject
- type DeleteVirtualCurrency422JSONResponseBodyType
- type DeleteVirtualCurrency423JSONResponseBodyObject
- type DeleteVirtualCurrency423JSONResponseBodyType
- type DeleteVirtualCurrency429JSONResponseBodyObject
- type DeleteVirtualCurrency429JSONResponseBodyType
- type DeleteVirtualCurrency500JSONResponseBodyObject
- type DeleteVirtualCurrency500JSONResponseBodyType
- type DeleteVirtualCurrency503JSONResponseBodyObject
- type DeleteVirtualCurrency503JSONResponseBodyType
- type DeleteWebhookIntegration400JSONResponseBodyObject
- type DeleteWebhookIntegration400JSONResponseBodyType
- type DeleteWebhookIntegration401JSONResponseBodyObject
- type DeleteWebhookIntegration401JSONResponseBodyType
- type DeleteWebhookIntegration403JSONResponseBodyObject
- type DeleteWebhookIntegration403JSONResponseBodyType
- type DeleteWebhookIntegration404JSONResponseBodyObject
- type DeleteWebhookIntegration404JSONResponseBodyType
- type DeleteWebhookIntegration409JSONResponseBodyObject
- type DeleteWebhookIntegration409JSONResponseBodyType
- type DeleteWebhookIntegration422JSONResponseBodyObject
- type DeleteWebhookIntegration422JSONResponseBodyType
- type DeleteWebhookIntegration423JSONResponseBodyObject
- type DeleteWebhookIntegration423JSONResponseBodyType
- type DeleteWebhookIntegration429JSONResponseBodyObject
- type DeleteWebhookIntegration429JSONResponseBodyType
- type DeleteWebhookIntegration500JSONResponseBodyObject
- type DeleteWebhookIntegration500JSONResponseBodyType
- type DeleteWebhookIntegration503JSONResponseBodyObject
- type DeleteWebhookIntegration503JSONResponseBodyType
- type DeletedObject
- type DeletedObjectObject
- type DetachProductsFromEntitlement400JSONResponseBodyObject
- type DetachProductsFromEntitlement400JSONResponseBodyType
- type DetachProductsFromEntitlement401JSONResponseBodyObject
- type DetachProductsFromEntitlement401JSONResponseBodyType
- type DetachProductsFromEntitlement403JSONResponseBodyObject
- type DetachProductsFromEntitlement403JSONResponseBodyType
- type DetachProductsFromEntitlement404JSONResponseBodyObject
- type DetachProductsFromEntitlement404JSONResponseBodyType
- type DetachProductsFromEntitlement409JSONResponseBodyObject
- type DetachProductsFromEntitlement409JSONResponseBodyType
- type DetachProductsFromEntitlement422JSONResponseBodyObject
- type DetachProductsFromEntitlement422JSONResponseBodyType
- type DetachProductsFromEntitlement423JSONResponseBodyObject
- type DetachProductsFromEntitlement423JSONResponseBodyType
- type DetachProductsFromEntitlement429JSONResponseBodyObject
- type DetachProductsFromEntitlement429JSONResponseBodyType
- type DetachProductsFromEntitlement500JSONResponseBodyObject
- type DetachProductsFromEntitlement500JSONResponseBodyType
- type DetachProductsFromEntitlement503JSONResponseBodyObject
- type DetachProductsFromEntitlement503JSONResponseBodyType
- type DetachProductsFromEntitlementJSONBody
- type DetachProductsFromEntitlementJSONRequestBody
- type DetachProductsFromPackage400JSONResponseBodyObject
- type DetachProductsFromPackage400JSONResponseBodyType
- type DetachProductsFromPackage401JSONResponseBodyObject
- type DetachProductsFromPackage401JSONResponseBodyType
- type DetachProductsFromPackage403JSONResponseBodyObject
- type DetachProductsFromPackage403JSONResponseBodyType
- type DetachProductsFromPackage404JSONResponseBodyObject
- type DetachProductsFromPackage404JSONResponseBodyType
- type DetachProductsFromPackage409JSONResponseBodyObject
- type DetachProductsFromPackage409JSONResponseBodyType
- type DetachProductsFromPackage422JSONResponseBodyObject
- type DetachProductsFromPackage422JSONResponseBodyType
- type DetachProductsFromPackage423JSONResponseBodyObject
- type DetachProductsFromPackage423JSONResponseBodyType
- type DetachProductsFromPackage429JSONResponseBodyObject
- type DetachProductsFromPackage429JSONResponseBodyType
- type DetachProductsFromPackage500JSONResponseBodyObject
- type DetachProductsFromPackage500JSONResponseBodyType
- type DetachProductsFromPackage503JSONResponseBodyObject
- type DetachProductsFromPackage503JSONResponseBodyType
- type DetachProductsFromPackageJSONBody
- type DetachProductsFromPackageJSONRequestBody
- type Duration
- type EligibilityCriteria
- type Entitlement
- type EntitlementCreate
- type EntitlementObject
- type EntitlementProductsObject
- type EntitlementState
- type EntitlementUpdate
- type EntitlementsService
- func (s *EntitlementsService) Archive(ctx context.Context, projectID, id string) (*Entitlement, error)
- func (s *EntitlementsService) AttachProducts(ctx context.Context, projectID, id string, productIDs []string) error
- func (s *EntitlementsService) Create(ctx context.Context, projectID string, body EntitlementCreate) (*Entitlement, error)
- func (s *EntitlementsService) Delete(ctx context.Context, projectID, id string) error
- func (s *EntitlementsService) DetachProducts(ctx context.Context, projectID, id string, productIDs []string) error
- func (s *EntitlementsService) Get(ctx context.Context, projectID, id string) (*Entitlement, error)
- func (s *EntitlementsService) List(ctx context.Context, projectID string) (*Page[Entitlement], error)
- func (s *EntitlementsService) ListProducts(ctx context.Context, projectID, id string) (*Page[Product], error)
- func (s *EntitlementsService) Restore(ctx context.Context, projectID, id string) (*Entitlement, error)
- func (s *EntitlementsService) Update(ctx context.Context, projectID, id string, body EntitlementUpdate) (*Entitlement, error)
- type Environment
- type ExperimentEnrollment
- type ExperimentEnrollmentObject
- type ExtendSubscription400JSONResponseBodyObject
- type ExtendSubscription400JSONResponseBodyType
- type ExtendSubscription401JSONResponseBodyObject
- type ExtendSubscription401JSONResponseBodyType
- type ExtendSubscription403JSONResponseBodyObject
- type ExtendSubscription403JSONResponseBodyType
- type ExtendSubscription404JSONResponseBodyObject
- type ExtendSubscription404JSONResponseBodyType
- type ExtendSubscription409JSONResponseBodyObject
- type ExtendSubscription409JSONResponseBodyType
- type ExtendSubscription422JSONResponseBodyObject
- type ExtendSubscription422JSONResponseBodyType
- type ExtendSubscription423JSONResponseBodyObject
- type ExtendSubscription423JSONResponseBodyType
- type ExtendSubscription429JSONResponseBodyObject
- type ExtendSubscription429JSONResponseBodyType
- type ExtendSubscription500JSONResponseBodyObject
- type ExtendSubscription500JSONResponseBodyType
- type ExtendSubscription503JSONResponseBodyObject
- type ExtendSubscription503JSONResponseBodyType
- type ExtendSubscriptionByDuration
- type ExtendSubscriptionByDurationExtendReasonCode
- type ExtendSubscriptionJSONBody
- func (t ExtendSubscriptionJSONBody) AsExtendSubscriptionByDuration() (ExtendSubscriptionByDuration, error)
- func (t ExtendSubscriptionJSONBody) AsExtendSubscriptionUntilDate() (ExtendSubscriptionUntilDate, error)
- func (t *ExtendSubscriptionJSONBody) FromExtendSubscriptionByDuration(v ExtendSubscriptionByDuration) error
- func (t *ExtendSubscriptionJSONBody) FromExtendSubscriptionUntilDate(v ExtendSubscriptionUntilDate) error
- func (t ExtendSubscriptionJSONBody) MarshalJSON() ([]byte, error)
- func (t *ExtendSubscriptionJSONBody) MergeExtendSubscriptionByDuration(v ExtendSubscriptionByDuration) error
- func (t *ExtendSubscriptionJSONBody) MergeExtendSubscriptionUntilDate(v ExtendSubscriptionUntilDate) error
- func (t *ExtendSubscriptionJSONBody) UnmarshalJSON(b []byte) error
- type ExtendSubscriptionJSONRequestBody
- type ExtendSubscriptionUntilDate
- type ExtendSubscriptionUntilDateExtendReasonCode
- type Font
- type FontCreate
- type FontsService
- type Forbidden
- type ForbiddenObject
- type ForbiddenType
- type GetApp400JSONResponseBodyObject
- type GetApp400JSONResponseBodyType
- type GetApp401JSONResponseBodyObject
- type GetApp401JSONResponseBodyType
- type GetApp403JSONResponseBodyObject
- type GetApp403JSONResponseBodyType
- type GetApp404JSONResponseBodyObject
- type GetApp404JSONResponseBodyType
- type GetApp423JSONResponseBodyObject
- type GetApp423JSONResponseBodyType
- type GetApp429JSONResponseBodyObject
- type GetApp429JSONResponseBodyType
- type GetApp500JSONResponseBodyObject
- type GetApp500JSONResponseBodyType
- type GetApp503JSONResponseBodyObject
- type GetApp503JSONResponseBodyType
- type GetAppStorekitConfig400JSONResponseBodyObject
- type GetAppStorekitConfig400JSONResponseBodyType
- type GetAppStorekitConfig401JSONResponseBodyObject
- type GetAppStorekitConfig401JSONResponseBodyType
- type GetAppStorekitConfig403JSONResponseBodyObject
- type GetAppStorekitConfig403JSONResponseBodyType
- type GetAppStorekitConfig404JSONResponseBodyObject
- type GetAppStorekitConfig404JSONResponseBodyType
- type GetAppStorekitConfig423JSONResponseBodyObject
- type GetAppStorekitConfig423JSONResponseBodyType
- type GetAppStorekitConfig429JSONResponseBodyObject
- type GetAppStorekitConfig429JSONResponseBodyType
- type GetAppStorekitConfig500JSONResponseBodyObject
- type GetAppStorekitConfig500JSONResponseBodyType
- type GetAppStorekitConfig503JSONResponseBodyObject
- type GetAppStorekitConfig503JSONResponseBodyType
- type GetAuthorizedSubscriptionManagementURL400JSONResponseBodyObject
- type GetAuthorizedSubscriptionManagementURL400JSONResponseBodyType
- type GetAuthorizedSubscriptionManagementURL401JSONResponseBodyObject
- type GetAuthorizedSubscriptionManagementURL401JSONResponseBodyType
- type GetAuthorizedSubscriptionManagementURL403JSONResponseBodyObject
- type GetAuthorizedSubscriptionManagementURL403JSONResponseBodyType
- type GetAuthorizedSubscriptionManagementURL404JSONResponseBodyObject
- type GetAuthorizedSubscriptionManagementURL404JSONResponseBodyType
- type GetAuthorizedSubscriptionManagementURL423JSONResponseBodyObject
- type GetAuthorizedSubscriptionManagementURL423JSONResponseBodyType
- type GetAuthorizedSubscriptionManagementURL429JSONResponseBodyObject
- type GetAuthorizedSubscriptionManagementURL429JSONResponseBodyType
- type GetAuthorizedSubscriptionManagementURL500JSONResponseBodyObject
- type GetAuthorizedSubscriptionManagementURL500JSONResponseBodyType
- type GetAuthorizedSubscriptionManagementURL502JSONResponseBodyObject
- type GetAuthorizedSubscriptionManagementURL502JSONResponseBodyType
- type GetAuthorizedSubscriptionManagementURL503JSONResponseBodyObject
- type GetAuthorizedSubscriptionManagementURL503JSONResponseBodyType
- type GetChartData400JSONResponseBodyObject
- type GetChartData400JSONResponseBodyType
- type GetChartData401JSONResponseBodyObject
- type GetChartData401JSONResponseBodyType
- type GetChartData403JSONResponseBodyObject
- type GetChartData403JSONResponseBodyType
- type GetChartData404JSONResponseBodyObject
- type GetChartData404JSONResponseBodyType
- type GetChartData423JSONResponseBodyObject
- type GetChartData423JSONResponseBodyType
- type GetChartData429JSONResponseBodyObject
- type GetChartData429JSONResponseBodyType
- type GetChartData500JSONResponseBodyObject
- type GetChartData500JSONResponseBodyType
- type GetChartData503JSONResponseBodyObject
- type GetChartData503JSONResponseBodyType
- type GetChartDataParams
- type GetChartDataParamsAggregate
- type GetChartDataParamsChartName
- type GetChartDataParamsCurrency
- type GetChartOptions400JSONResponseBodyObject
- type GetChartOptions400JSONResponseBodyType
- type GetChartOptions401JSONResponseBodyObject
- type GetChartOptions401JSONResponseBodyType
- type GetChartOptions403JSONResponseBodyObject
- type GetChartOptions403JSONResponseBodyType
- type GetChartOptions404JSONResponseBodyObject
- type GetChartOptions404JSONResponseBodyType
- type GetChartOptions423JSONResponseBodyObject
- type GetChartOptions423JSONResponseBodyType
- type GetChartOptions429JSONResponseBodyObject
- type GetChartOptions429JSONResponseBodyType
- type GetChartOptions500JSONResponseBodyObject
- type GetChartOptions500JSONResponseBodyType
- type GetChartOptions503JSONResponseBodyObject
- type GetChartOptions503JSONResponseBodyType
- type GetChartOptionsParams
- type GetChartOptionsParamsChartName
- type GetCustomer400JSONResponseBodyObject
- type GetCustomer400JSONResponseBodyType
- type GetCustomer401JSONResponseBodyObject
- type GetCustomer401JSONResponseBodyType
- type GetCustomer403JSONResponseBodyObject
- type GetCustomer403JSONResponseBodyType
- type GetCustomer404JSONResponseBodyObject
- type GetCustomer404JSONResponseBodyType
- type GetCustomer423JSONResponseBodyObject
- type GetCustomer423JSONResponseBodyType
- type GetCustomer429JSONResponseBodyObject
- type GetCustomer429JSONResponseBodyType
- type GetCustomer500JSONResponseBodyObject
- type GetCustomer500JSONResponseBodyType
- type GetCustomer503JSONResponseBodyObject
- type GetCustomer503JSONResponseBodyType
- type GetCustomerCenterConfig400JSONResponseBodyObject
- type GetCustomerCenterConfig400JSONResponseBodyType
- type GetCustomerCenterConfig401JSONResponseBodyObject
- type GetCustomerCenterConfig401JSONResponseBodyType
- type GetCustomerCenterConfig403JSONResponseBodyObject
- type GetCustomerCenterConfig403JSONResponseBodyType
- type GetCustomerCenterConfig404JSONResponseBodyObject
- type GetCustomerCenterConfig404JSONResponseBodyType
- type GetCustomerCenterConfig423JSONResponseBodyObject
- type GetCustomerCenterConfig423JSONResponseBodyType
- type GetCustomerCenterConfig429JSONResponseBodyObject
- type GetCustomerCenterConfig429JSONResponseBodyType
- type GetCustomerCenterConfig500JSONResponseBodyObject
- type GetCustomerCenterConfig500JSONResponseBodyType
- type GetCustomerCenterConfig503JSONResponseBodyObject
- type GetCustomerCenterConfig503JSONResponseBodyType
- type GetCustomerCenterConfigParams
- type GetCustomerCenterConfigParamsPlatform
- type GetCustomerParams
- type GetCustomerParamsExpand
- type GetEntitlement400JSONResponseBodyObject
- type GetEntitlement400JSONResponseBodyType
- type GetEntitlement401JSONResponseBodyObject
- type GetEntitlement401JSONResponseBodyType
- type GetEntitlement403JSONResponseBodyObject
- type GetEntitlement403JSONResponseBodyType
- type GetEntitlement404JSONResponseBodyObject
- type GetEntitlement404JSONResponseBodyType
- type GetEntitlement423JSONResponseBodyObject
- type GetEntitlement423JSONResponseBodyType
- type GetEntitlement429JSONResponseBodyObject
- type GetEntitlement429JSONResponseBodyType
- type GetEntitlement500JSONResponseBodyObject
- type GetEntitlement500JSONResponseBodyType
- type GetEntitlement503JSONResponseBodyObject
- type GetEntitlement503JSONResponseBodyType
- type GetEntitlementParams
- type GetEntitlementParamsExpand
- type GetInvoice400JSONResponseBodyObject
- type GetInvoice400JSONResponseBodyType
- type GetInvoice401JSONResponseBodyObject
- type GetInvoice401JSONResponseBodyType
- type GetInvoice403JSONResponseBodyObject
- type GetInvoice403JSONResponseBodyType
- type GetInvoice404JSONResponseBodyObject
- type GetInvoice404JSONResponseBodyType
- type GetInvoice423JSONResponseBodyObject
- type GetInvoice423JSONResponseBodyType
- type GetInvoice429JSONResponseBodyObject
- type GetInvoice429JSONResponseBodyType
- type GetInvoice500JSONResponseBodyObject
- type GetInvoice500JSONResponseBodyType
- type GetInvoice503JSONResponseBodyObject
- type GetInvoice503JSONResponseBodyType
- type GetOffering400JSONResponseBodyObject
- type GetOffering400JSONResponseBodyType
- type GetOffering401JSONResponseBodyObject
- type GetOffering401JSONResponseBodyType
- type GetOffering403JSONResponseBodyObject
- type GetOffering403JSONResponseBodyType
- type GetOffering404JSONResponseBodyObject
- type GetOffering404JSONResponseBodyType
- type GetOffering423JSONResponseBodyObject
- type GetOffering423JSONResponseBodyType
- type GetOffering429JSONResponseBodyObject
- type GetOffering429JSONResponseBodyType
- type GetOffering500JSONResponseBodyObject
- type GetOffering500JSONResponseBodyType
- type GetOffering503JSONResponseBodyObject
- type GetOffering503JSONResponseBodyType
- type GetOfferingParams
- type GetOfferingParamsExpand
- type GetOverviewMetrics400JSONResponseBodyObject
- type GetOverviewMetrics400JSONResponseBodyType
- type GetOverviewMetrics401JSONResponseBodyObject
- type GetOverviewMetrics401JSONResponseBodyType
- type GetOverviewMetrics403JSONResponseBodyObject
- type GetOverviewMetrics403JSONResponseBodyType
- type GetOverviewMetrics404JSONResponseBodyObject
- type GetOverviewMetrics404JSONResponseBodyType
- type GetOverviewMetrics423JSONResponseBodyObject
- type GetOverviewMetrics423JSONResponseBodyType
- type GetOverviewMetrics429JSONResponseBodyObject
- type GetOverviewMetrics429JSONResponseBodyType
- type GetOverviewMetrics500JSONResponseBodyObject
- type GetOverviewMetrics500JSONResponseBodyType
- type GetOverviewMetrics503JSONResponseBodyObject
- type GetOverviewMetrics503JSONResponseBodyType
- type GetOverviewMetricsParams
- type GetOverviewMetricsParamsCurrency
- type GetPackage400JSONResponseBodyObject
- type GetPackage400JSONResponseBodyType
- type GetPackage401JSONResponseBodyObject
- type GetPackage401JSONResponseBodyType
- type GetPackage403JSONResponseBodyObject
- type GetPackage403JSONResponseBodyType
- type GetPackage404JSONResponseBodyObject
- type GetPackage404JSONResponseBodyType
- type GetPackage423JSONResponseBodyObject
- type GetPackage423JSONResponseBodyType
- type GetPackage429JSONResponseBodyObject
- type GetPackage429JSONResponseBodyType
- type GetPackage500JSONResponseBodyObject
- type GetPackage500JSONResponseBodyType
- type GetPackage503JSONResponseBodyObject
- type GetPackage503JSONResponseBodyType
- type GetPackageParams
- type GetPackageParamsExpand
- type GetPaywall400JSONResponseBodyObject
- type GetPaywall400JSONResponseBodyType
- type GetPaywall401JSONResponseBodyObject
- type GetPaywall401JSONResponseBodyType
- type GetPaywall403JSONResponseBodyObject
- type GetPaywall403JSONResponseBodyType
- type GetPaywall404JSONResponseBodyObject
- type GetPaywall404JSONResponseBodyType
- type GetPaywall423JSONResponseBodyObject
- type GetPaywall423JSONResponseBodyType
- type GetPaywall429JSONResponseBodyObject
- type GetPaywall429JSONResponseBodyType
- type GetPaywall500JSONResponseBodyObject
- type GetPaywall500JSONResponseBodyType
- type GetPaywall503JSONResponseBodyObject
- type GetPaywall503JSONResponseBodyType
- type GetPaywallParams
- type GetPaywallParamsExpand
- type GetPaywallVersion400JSONResponseBodyObject
- type GetPaywallVersion400JSONResponseBodyType
- type GetPaywallVersion401JSONResponseBodyObject
- type GetPaywallVersion401JSONResponseBodyType
- type GetPaywallVersion403JSONResponseBodyObject
- type GetPaywallVersion403JSONResponseBodyType
- type GetPaywallVersion404JSONResponseBodyObject
- type GetPaywallVersion404JSONResponseBodyType
- type GetPaywallVersion423JSONResponseBodyObject
- type GetPaywallVersion423JSONResponseBodyType
- type GetPaywallVersion429JSONResponseBodyObject
- type GetPaywallVersion429JSONResponseBodyType
- type GetPaywallVersion500JSONResponseBodyObject
- type GetPaywallVersion500JSONResponseBodyType
- type GetPaywallVersion503JSONResponseBodyObject
- type GetPaywallVersion503JSONResponseBodyType
- type GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyObject
- type GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyType
- type GetPlayStoreOrAppStoreSubscriptionTransactions401JSONResponseBodyObject
- type GetPlayStoreOrAppStoreSubscriptionTransactions401JSONResponseBodyType
- type GetPlayStoreOrAppStoreSubscriptionTransactions403JSONResponseBodyObject
- type GetPlayStoreOrAppStoreSubscriptionTransactions403JSONResponseBodyType
- type GetPlayStoreOrAppStoreSubscriptionTransactions404JSONResponseBodyObject
- type GetPlayStoreOrAppStoreSubscriptionTransactions404JSONResponseBodyType
- type GetPlayStoreOrAppStoreSubscriptionTransactions423JSONResponseBodyObject
- type GetPlayStoreOrAppStoreSubscriptionTransactions423JSONResponseBodyType
- type GetPlayStoreOrAppStoreSubscriptionTransactions429JSONResponseBodyObject
- type GetPlayStoreOrAppStoreSubscriptionTransactions429JSONResponseBodyType
- type GetPlayStoreOrAppStoreSubscriptionTransactions500JSONResponseBodyObject
- type GetPlayStoreOrAppStoreSubscriptionTransactions500JSONResponseBodyType
- type GetPlayStoreOrAppStoreSubscriptionTransactions503JSONResponseBodyObject
- type GetPlayStoreOrAppStoreSubscriptionTransactions503JSONResponseBodyType
- type GetPlayStoreOrAppStoreSubscriptionTransactionsParams
- type GetPlayStoreOrAppStoreSubscriptionTransactionsParamsDirection
- type GetPlayStoreOrAppStoreSubscriptionTransactionsParamsSort
- type GetProduct400JSONResponseBodyObject
- type GetProduct400JSONResponseBodyType
- type GetProduct401JSONResponseBodyObject
- type GetProduct401JSONResponseBodyType
- type GetProduct403JSONResponseBodyObject
- type GetProduct403JSONResponseBodyType
- type GetProduct404JSONResponseBodyObject
- type GetProduct404JSONResponseBodyType
- type GetProduct423JSONResponseBodyObject
- type GetProduct423JSONResponseBodyType
- type GetProduct429JSONResponseBodyObject
- type GetProduct429JSONResponseBodyType
- type GetProduct500JSONResponseBodyObject
- type GetProduct500JSONResponseBodyType
- type GetProduct503JSONResponseBodyObject
- type GetProduct503JSONResponseBodyType
- type GetProductParams
- type GetProductParamsExpand
- type GetProductStoreState200JSONResponseBodyStore
- type GetProductStoreState200JSONResponseBodyStoreStatusStatus
- type GetProductsFromEntitlement400JSONResponseBodyObject
- type GetProductsFromEntitlement400JSONResponseBodyType
- type GetProductsFromEntitlement401JSONResponseBodyObject
- type GetProductsFromEntitlement401JSONResponseBodyType
- type GetProductsFromEntitlement403JSONResponseBodyObject
- type GetProductsFromEntitlement403JSONResponseBodyType
- type GetProductsFromEntitlement404JSONResponseBodyObject
- type GetProductsFromEntitlement404JSONResponseBodyType
- type GetProductsFromEntitlement423JSONResponseBodyObject
- type GetProductsFromEntitlement423JSONResponseBodyType
- type GetProductsFromEntitlement429JSONResponseBodyObject
- type GetProductsFromEntitlement429JSONResponseBodyType
- type GetProductsFromEntitlement500JSONResponseBodyObject
- type GetProductsFromEntitlement500JSONResponseBodyType
- type GetProductsFromEntitlement503JSONResponseBodyObject
- type GetProductsFromEntitlement503JSONResponseBodyType
- type GetProductsFromEntitlementParams
- type GetProductsFromPackage400JSONResponseBodyObject
- type GetProductsFromPackage400JSONResponseBodyType
- type GetProductsFromPackage401JSONResponseBodyObject
- type GetProductsFromPackage401JSONResponseBodyType
- type GetProductsFromPackage403JSONResponseBodyObject
- type GetProductsFromPackage403JSONResponseBodyType
- type GetProductsFromPackage404JSONResponseBodyObject
- type GetProductsFromPackage404JSONResponseBodyType
- type GetProductsFromPackage423JSONResponseBodyObject
- type GetProductsFromPackage423JSONResponseBodyType
- type GetProductsFromPackage429JSONResponseBodyObject
- type GetProductsFromPackage429JSONResponseBodyType
- type GetProductsFromPackage500JSONResponseBodyObject
- type GetProductsFromPackage500JSONResponseBodyType
- type GetProductsFromPackage503JSONResponseBodyObject
- type GetProductsFromPackage503JSONResponseBodyType
- type GetProductsFromPackageParams
- type GetPurchase400JSONResponseBodyObject
- type GetPurchase400JSONResponseBodyType
- type GetPurchase401JSONResponseBodyObject
- type GetPurchase401JSONResponseBodyType
- type GetPurchase403JSONResponseBodyObject
- type GetPurchase403JSONResponseBodyType
- type GetPurchase404JSONResponseBodyObject
- type GetPurchase404JSONResponseBodyType
- type GetPurchase423JSONResponseBodyObject
- type GetPurchase423JSONResponseBodyType
- type GetPurchase429JSONResponseBodyObject
- type GetPurchase429JSONResponseBodyType
- type GetPurchase500JSONResponseBodyObject
- type GetPurchase500JSONResponseBodyType
- type GetPurchase503JSONResponseBodyObject
- type GetPurchase503JSONResponseBodyType
- type GetRevenueMetric400JSONResponseBodyObject
- type GetRevenueMetric400JSONResponseBodyType
- type GetRevenueMetric401JSONResponseBodyObject
- type GetRevenueMetric401JSONResponseBodyType
- type GetRevenueMetric403JSONResponseBodyObject
- type GetRevenueMetric403JSONResponseBodyType
- type GetRevenueMetric404JSONResponseBodyObject
- type GetRevenueMetric404JSONResponseBodyType
- type GetRevenueMetric423JSONResponseBodyObject
- type GetRevenueMetric423JSONResponseBodyType
- type GetRevenueMetric429JSONResponseBodyObject
- type GetRevenueMetric429JSONResponseBodyType
- type GetRevenueMetric500JSONResponseBodyObject
- type GetRevenueMetric500JSONResponseBodyType
- type GetRevenueMetric503JSONResponseBodyObject
- type GetRevenueMetric503JSONResponseBodyType
- type GetRevenueMetricParams
- type GetRevenueMetricParamsCurrency
- type GetRevenueMetricParamsRevenueType
- type GetSubscription400JSONResponseBodyObject
- type GetSubscription400JSONResponseBodyType
- type GetSubscription401JSONResponseBodyObject
- type GetSubscription401JSONResponseBodyType
- type GetSubscription403JSONResponseBodyObject
- type GetSubscription403JSONResponseBodyType
- type GetSubscription404JSONResponseBodyObject
- type GetSubscription404JSONResponseBodyType
- type GetSubscription423JSONResponseBodyObject
- type GetSubscription423JSONResponseBodyType
- type GetSubscription429JSONResponseBodyObject
- type GetSubscription429JSONResponseBodyType
- type GetSubscription500JSONResponseBodyObject
- type GetSubscription500JSONResponseBodyType
- type GetSubscription503JSONResponseBodyObject
- type GetSubscription503JSONResponseBodyType
- type GetVirtualCurrency400JSONResponseBodyObject
- type GetVirtualCurrency400JSONResponseBodyType
- type GetVirtualCurrency401JSONResponseBodyObject
- type GetVirtualCurrency401JSONResponseBodyType
- type GetVirtualCurrency403JSONResponseBodyObject
- type GetVirtualCurrency403JSONResponseBodyType
- type GetVirtualCurrency404JSONResponseBodyObject
- type GetVirtualCurrency404JSONResponseBodyType
- type GetVirtualCurrency423JSONResponseBodyObject
- type GetVirtualCurrency423JSONResponseBodyType
- type GetVirtualCurrency429JSONResponseBodyObject
- type GetVirtualCurrency429JSONResponseBodyType
- type GetVirtualCurrency500JSONResponseBodyObject
- type GetVirtualCurrency500JSONResponseBodyType
- type GetVirtualCurrency503JSONResponseBodyObject
- type GetVirtualCurrency503JSONResponseBodyType
- type GetWebhookIntegration400JSONResponseBodyObject
- type GetWebhookIntegration400JSONResponseBodyType
- type GetWebhookIntegration401JSONResponseBodyObject
- type GetWebhookIntegration401JSONResponseBodyType
- type GetWebhookIntegration403JSONResponseBodyObject
- type GetWebhookIntegration403JSONResponseBodyType
- type GetWebhookIntegration404JSONResponseBodyObject
- type GetWebhookIntegration404JSONResponseBodyType
- type GetWebhookIntegration423JSONResponseBodyObject
- type GetWebhookIntegration423JSONResponseBodyType
- type GetWebhookIntegration429JSONResponseBodyObject
- type GetWebhookIntegration429JSONResponseBodyType
- type GetWebhookIntegration500JSONResponseBodyObject
- type GetWebhookIntegration500JSONResponseBodyType
- type GetWebhookIntegration503JSONResponseBodyObject
- type GetWebhookIntegration503JSONResponseBodyType
- type GrantCustomerEntitlement400JSONResponseBodyObject
- type GrantCustomerEntitlement400JSONResponseBodyType
- type GrantCustomerEntitlement401JSONResponseBodyObject
- type GrantCustomerEntitlement401JSONResponseBodyType
- type GrantCustomerEntitlement403JSONResponseBodyObject
- type GrantCustomerEntitlement403JSONResponseBodyType
- type GrantCustomerEntitlement404JSONResponseBodyObject
- type GrantCustomerEntitlement404JSONResponseBodyType
- type GrantCustomerEntitlement409JSONResponseBodyObject
- type GrantCustomerEntitlement409JSONResponseBodyType
- type GrantCustomerEntitlement422JSONResponseBodyObject
- type GrantCustomerEntitlement422JSONResponseBodyType
- type GrantCustomerEntitlement423JSONResponseBodyObject
- type GrantCustomerEntitlement423JSONResponseBodyType
- type GrantCustomerEntitlement429JSONResponseBodyObject
- type GrantCustomerEntitlement429JSONResponseBodyType
- type GrantCustomerEntitlement500JSONResponseBodyObject
- type GrantCustomerEntitlement500JSONResponseBodyType
- type GrantCustomerEntitlement503JSONResponseBodyObject
- type GrantCustomerEntitlement503JSONResponseBodyType
- type GrantCustomerEntitlementJSONBody
- type GrantCustomerEntitlementJSONRequestBody
- type IndicativePrice
- type IndicativePriceObject
- type InternalError
- type InternalErrorObject
- type InternalErrorType
- type Invoice
- type InvoicesService
- type ListAppPublicAPIKeys400JSONResponseBodyObject
- type ListAppPublicAPIKeys400JSONResponseBodyType
- type ListAppPublicAPIKeys401JSONResponseBodyObject
- type ListAppPublicAPIKeys401JSONResponseBodyType
- type ListAppPublicAPIKeys403JSONResponseBodyObject
- type ListAppPublicAPIKeys403JSONResponseBodyType
- type ListAppPublicAPIKeys404JSONResponseBodyObject
- type ListAppPublicAPIKeys404JSONResponseBodyType
- type ListAppPublicAPIKeys423JSONResponseBodyObject
- type ListAppPublicAPIKeys423JSONResponseBodyType
- type ListAppPublicAPIKeys429JSONResponseBodyObject
- type ListAppPublicAPIKeys429JSONResponseBodyType
- type ListAppPublicAPIKeys500JSONResponseBodyObject
- type ListAppPublicAPIKeys500JSONResponseBodyType
- type ListAppPublicAPIKeys503JSONResponseBodyObject
- type ListAppPublicAPIKeys503JSONResponseBodyType
- type ListApps
- type ListApps400JSONResponseBodyObject
- type ListApps400JSONResponseBodyType
- type ListApps401JSONResponseBodyObject
- type ListApps401JSONResponseBodyType
- type ListApps403JSONResponseBodyObject
- type ListApps403JSONResponseBodyType
- type ListApps404JSONResponseBodyObject
- type ListApps404JSONResponseBodyType
- type ListApps423JSONResponseBodyObject
- type ListApps423JSONResponseBodyType
- type ListApps429JSONResponseBodyObject
- type ListApps429JSONResponseBodyType
- type ListApps500JSONResponseBodyObject
- type ListApps500JSONResponseBodyType
- type ListApps503JSONResponseBodyObject
- type ListApps503JSONResponseBodyType
- type ListAppsObject
- type ListAppsParams
- type ListAuditLogs
- type ListAuditLogs400JSONResponseBodyObject
- type ListAuditLogs400JSONResponseBodyType
- type ListAuditLogs401JSONResponseBodyObject
- type ListAuditLogs401JSONResponseBodyType
- type ListAuditLogs403JSONResponseBodyObject
- type ListAuditLogs403JSONResponseBodyType
- type ListAuditLogs404JSONResponseBodyObject
- type ListAuditLogs404JSONResponseBodyType
- type ListAuditLogs423JSONResponseBodyObject
- type ListAuditLogs423JSONResponseBodyType
- type ListAuditLogs429JSONResponseBodyObject
- type ListAuditLogs429JSONResponseBodyType
- type ListAuditLogs500JSONResponseBodyObject
- type ListAuditLogs500JSONResponseBodyType
- type ListAuditLogs503JSONResponseBodyObject
- type ListAuditLogs503JSONResponseBodyType
- type ListAuditLogsObject
- type ListAuditLogsParams
- type ListAuditOptions
- type ListCollaborators
- type ListCollaborators400JSONResponseBodyObject
- type ListCollaborators400JSONResponseBodyType
- type ListCollaborators401JSONResponseBodyObject
- type ListCollaborators401JSONResponseBodyType
- type ListCollaborators403JSONResponseBodyObject
- type ListCollaborators403JSONResponseBodyType
- type ListCollaborators404JSONResponseBodyObject
- type ListCollaborators404JSONResponseBodyType
- type ListCollaborators423JSONResponseBodyObject
- type ListCollaborators423JSONResponseBodyType
- type ListCollaborators429JSONResponseBodyObject
- type ListCollaborators429JSONResponseBodyType
- type ListCollaborators500JSONResponseBodyObject
- type ListCollaborators500JSONResponseBodyType
- type ListCollaborators503JSONResponseBodyObject
- type ListCollaborators503JSONResponseBodyType
- type ListCollaboratorsObject
- type ListCollaboratorsParams
- type ListCustomerActiveEntitlements
- type ListCustomerActiveEntitlements400JSONResponseBodyObject
- type ListCustomerActiveEntitlements400JSONResponseBodyType
- type ListCustomerActiveEntitlements401JSONResponseBodyObject
- type ListCustomerActiveEntitlements401JSONResponseBodyType
- type ListCustomerActiveEntitlements403JSONResponseBodyObject
- type ListCustomerActiveEntitlements403JSONResponseBodyType
- type ListCustomerActiveEntitlements404JSONResponseBodyObject
- type ListCustomerActiveEntitlements404JSONResponseBodyType
- type ListCustomerActiveEntitlements423JSONResponseBodyObject
- type ListCustomerActiveEntitlements423JSONResponseBodyType
- type ListCustomerActiveEntitlements429JSONResponseBodyObject
- type ListCustomerActiveEntitlements429JSONResponseBodyType
- type ListCustomerActiveEntitlements500JSONResponseBodyObject
- type ListCustomerActiveEntitlements500JSONResponseBodyType
- type ListCustomerActiveEntitlements503JSONResponseBodyObject
- type ListCustomerActiveEntitlements503JSONResponseBodyType
- type ListCustomerActiveEntitlementsObject
- type ListCustomerActiveEntitlementsParams
- type ListCustomerAliases
- type ListCustomerAliases400JSONResponseBodyObject
- type ListCustomerAliases400JSONResponseBodyType
- type ListCustomerAliases401JSONResponseBodyObject
- type ListCustomerAliases401JSONResponseBodyType
- type ListCustomerAliases403JSONResponseBodyObject
- type ListCustomerAliases403JSONResponseBodyType
- type ListCustomerAliases404JSONResponseBodyObject
- type ListCustomerAliases404JSONResponseBodyType
- type ListCustomerAliases423JSONResponseBodyObject
- type ListCustomerAliases423JSONResponseBodyType
- type ListCustomerAliases429JSONResponseBodyObject
- type ListCustomerAliases429JSONResponseBodyType
- type ListCustomerAliases500JSONResponseBodyObject
- type ListCustomerAliases500JSONResponseBodyType
- type ListCustomerAliases503JSONResponseBodyObject
- type ListCustomerAliases503JSONResponseBodyType
- type ListCustomerAliasesObject
- type ListCustomerAliasesParams
- type ListCustomerAttributes
- type ListCustomerAttributes400JSONResponseBodyObject
- type ListCustomerAttributes400JSONResponseBodyType
- type ListCustomerAttributes401JSONResponseBodyObject
- type ListCustomerAttributes401JSONResponseBodyType
- type ListCustomerAttributes403JSONResponseBodyObject
- type ListCustomerAttributes403JSONResponseBodyType
- type ListCustomerAttributes404JSONResponseBodyObject
- type ListCustomerAttributes404JSONResponseBodyType
- type ListCustomerAttributes423JSONResponseBodyObject
- type ListCustomerAttributes423JSONResponseBodyType
- type ListCustomerAttributes429JSONResponseBodyObject
- type ListCustomerAttributes429JSONResponseBodyType
- type ListCustomerAttributes500JSONResponseBodyObject
- type ListCustomerAttributes500JSONResponseBodyType
- type ListCustomerAttributes503JSONResponseBodyObject
- type ListCustomerAttributes503JSONResponseBodyType
- type ListCustomerAttributesObject
- type ListCustomerAttributesParams
- type ListCustomerEvents
- type ListCustomerEvents400JSONResponseBodyObject
- type ListCustomerEvents400JSONResponseBodyType
- type ListCustomerEvents401JSONResponseBodyObject
- type ListCustomerEvents401JSONResponseBodyType
- type ListCustomerEvents403JSONResponseBodyObject
- type ListCustomerEvents403JSONResponseBodyType
- type ListCustomerEvents404JSONResponseBodyObject
- type ListCustomerEvents404JSONResponseBodyType
- type ListCustomerEvents423JSONResponseBodyObject
- type ListCustomerEvents423JSONResponseBodyType
- type ListCustomerEvents429JSONResponseBodyObject
- type ListCustomerEvents429JSONResponseBodyType
- type ListCustomerEvents500JSONResponseBodyObject
- type ListCustomerEvents500JSONResponseBodyType
- type ListCustomerEvents503JSONResponseBodyObject
- type ListCustomerEvents503JSONResponseBodyType
- type ListCustomerEventsObject
- type ListCustomerEventsParams
- type ListCustomerEventsParamsEnvironment
- type ListCustomerInvoices
- type ListCustomerInvoices400JSONResponseBodyObject
- type ListCustomerInvoices400JSONResponseBodyType
- type ListCustomerInvoices401JSONResponseBodyObject
- type ListCustomerInvoices401JSONResponseBodyType
- type ListCustomerInvoices403JSONResponseBodyObject
- type ListCustomerInvoices403JSONResponseBodyType
- type ListCustomerInvoices404JSONResponseBodyObject
- type ListCustomerInvoices404JSONResponseBodyType
- type ListCustomerInvoices423JSONResponseBodyObject
- type ListCustomerInvoices423JSONResponseBodyType
- type ListCustomerInvoices429JSONResponseBodyObject
- type ListCustomerInvoices429JSONResponseBodyType
- type ListCustomerInvoices500JSONResponseBodyObject
- type ListCustomerInvoices500JSONResponseBodyType
- type ListCustomerInvoices503JSONResponseBodyObject
- type ListCustomerInvoices503JSONResponseBodyType
- type ListCustomerInvoicesObject
- type ListCustomerInvoicesParams
- type ListCustomers
- type ListCustomers400JSONResponseBodyObject
- type ListCustomers400JSONResponseBodyType
- type ListCustomers401JSONResponseBodyObject
- type ListCustomers401JSONResponseBodyType
- type ListCustomers403JSONResponseBodyObject
- type ListCustomers403JSONResponseBodyType
- type ListCustomers404JSONResponseBodyObject
- type ListCustomers404JSONResponseBodyType
- type ListCustomers423JSONResponseBodyObject
- type ListCustomers423JSONResponseBodyType
- type ListCustomers429JSONResponseBodyObject
- type ListCustomers429JSONResponseBodyType
- type ListCustomers500JSONResponseBodyObject
- type ListCustomers500JSONResponseBodyType
- type ListCustomers503JSONResponseBodyObject
- type ListCustomers503JSONResponseBodyType
- type ListCustomersObject
- type ListCustomersOptions
- type ListCustomersParams
- type ListEntitlements
- type ListEntitlements400JSONResponseBodyObject
- type ListEntitlements400JSONResponseBodyType
- type ListEntitlements401JSONResponseBodyObject
- type ListEntitlements401JSONResponseBodyType
- type ListEntitlements403JSONResponseBodyObject
- type ListEntitlements403JSONResponseBodyType
- type ListEntitlements404JSONResponseBodyObject
- type ListEntitlements404JSONResponseBodyType
- type ListEntitlements423JSONResponseBodyObject
- type ListEntitlements423JSONResponseBodyType
- type ListEntitlements429JSONResponseBodyObject
- type ListEntitlements429JSONResponseBodyType
- type ListEntitlements500JSONResponseBodyObject
- type ListEntitlements500JSONResponseBodyType
- type ListEntitlements503JSONResponseBodyObject
- type ListEntitlements503JSONResponseBodyType
- type ListEntitlementsObject
- type ListEntitlementsParams
- type ListEntitlementsParamsExpand
- type ListOfferings
- type ListOfferings400JSONResponseBodyObject
- type ListOfferings400JSONResponseBodyType
- type ListOfferings401JSONResponseBodyObject
- type ListOfferings401JSONResponseBodyType
- type ListOfferings403JSONResponseBodyObject
- type ListOfferings403JSONResponseBodyType
- type ListOfferings404JSONResponseBodyObject
- type ListOfferings404JSONResponseBodyType
- type ListOfferings423JSONResponseBodyObject
- type ListOfferings423JSONResponseBodyType
- type ListOfferings429JSONResponseBodyObject
- type ListOfferings429JSONResponseBodyType
- type ListOfferings500JSONResponseBodyObject
- type ListOfferings500JSONResponseBodyType
- type ListOfferings503JSONResponseBodyObject
- type ListOfferings503JSONResponseBodyType
- type ListOfferingsObject
- type ListOfferingsParams
- type ListOfferingsParamsExpand
- type ListOptions
- type ListPackages
- type ListPackages400JSONResponseBodyObject
- type ListPackages400JSONResponseBodyType
- type ListPackages401JSONResponseBodyObject
- type ListPackages401JSONResponseBodyType
- type ListPackages403JSONResponseBodyObject
- type ListPackages403JSONResponseBodyType
- type ListPackages404JSONResponseBodyObject
- type ListPackages404JSONResponseBodyType
- type ListPackages423JSONResponseBodyObject
- type ListPackages423JSONResponseBodyType
- type ListPackages429JSONResponseBodyObject
- type ListPackages429JSONResponseBodyType
- type ListPackages500JSONResponseBodyObject
- type ListPackages500JSONResponseBodyType
- type ListPackages503JSONResponseBodyObject
- type ListPackages503JSONResponseBodyType
- type ListPackagesObject
- type ListPackagesParams
- type ListPackagesParamsExpand
- type ListPaywalls
- type ListPaywalls400JSONResponseBodyObject
- type ListPaywalls400JSONResponseBodyType
- type ListPaywalls401JSONResponseBodyObject
- type ListPaywalls401JSONResponseBodyType
- type ListPaywalls403JSONResponseBodyObject
- type ListPaywalls403JSONResponseBodyType
- type ListPaywalls404JSONResponseBodyObject
- type ListPaywalls404JSONResponseBodyType
- type ListPaywalls423JSONResponseBodyObject
- type ListPaywalls423JSONResponseBodyType
- type ListPaywalls429JSONResponseBodyObject
- type ListPaywalls429JSONResponseBodyType
- type ListPaywalls500JSONResponseBodyObject
- type ListPaywalls500JSONResponseBodyType
- type ListPaywalls503JSONResponseBodyObject
- type ListPaywalls503JSONResponseBodyType
- type ListPaywallsObject
- type ListPaywallsParams
- type ListPaywallsParamsExpand
- type ListProductStoreStatePlansParams
- type ListProductStoreStatePlansParamsStatus
- type ListProducts
- type ListProducts400JSONResponseBodyObject
- type ListProducts400JSONResponseBodyType
- type ListProducts401JSONResponseBodyObject
- type ListProducts401JSONResponseBodyType
- type ListProducts403JSONResponseBodyObject
- type ListProducts403JSONResponseBodyType
- type ListProducts404JSONResponseBodyObject
- type ListProducts404JSONResponseBodyType
- type ListProducts423JSONResponseBodyObject
- type ListProducts423JSONResponseBodyType
- type ListProducts429JSONResponseBodyObject
- type ListProducts429JSONResponseBodyType
- type ListProducts500JSONResponseBodyObject
- type ListProducts500JSONResponseBodyType
- type ListProducts503JSONResponseBodyObject
- type ListProducts503JSONResponseBodyType
- type ListProductsObject
- type ListProductsParams
- type ListProductsParamsExpand
- type ListProjects
- type ListProjects400JSONResponseBodyObject
- type ListProjects400JSONResponseBodyType
- type ListProjects401JSONResponseBodyObject
- type ListProjects401JSONResponseBodyType
- type ListProjects403JSONResponseBodyObject
- type ListProjects403JSONResponseBodyType
- type ListProjects404JSONResponseBodyObject
- type ListProjects404JSONResponseBodyType
- type ListProjects423JSONResponseBodyObject
- type ListProjects423JSONResponseBodyType
- type ListProjects429JSONResponseBodyObject
- type ListProjects429JSONResponseBodyType
- type ListProjects500JSONResponseBodyObject
- type ListProjects500JSONResponseBodyType
- type ListProjects503JSONResponseBodyObject
- type ListProjects503JSONResponseBodyType
- type ListProjectsObject
- type ListProjectsParams
- type ListPublicAPIKeys
- type ListPublicAPIKeysObject
- type ListPurchaseEntitlements400JSONResponseBodyObject
- type ListPurchaseEntitlements400JSONResponseBodyType
- type ListPurchaseEntitlements401JSONResponseBodyObject
- type ListPurchaseEntitlements401JSONResponseBodyType
- type ListPurchaseEntitlements403JSONResponseBodyObject
- type ListPurchaseEntitlements403JSONResponseBodyType
- type ListPurchaseEntitlements404JSONResponseBodyObject
- type ListPurchaseEntitlements404JSONResponseBodyType
- type ListPurchaseEntitlements423JSONResponseBodyObject
- type ListPurchaseEntitlements423JSONResponseBodyType
- type ListPurchaseEntitlements429JSONResponseBodyObject
- type ListPurchaseEntitlements429JSONResponseBodyType
- type ListPurchaseEntitlements500JSONResponseBodyObject
- type ListPurchaseEntitlements500JSONResponseBodyType
- type ListPurchaseEntitlements503JSONResponseBodyObject
- type ListPurchaseEntitlements503JSONResponseBodyType
- type ListPurchaseEntitlementsParams
- type ListPurchases
- type ListPurchases400JSONResponseBodyObject
- type ListPurchases400JSONResponseBodyType
- type ListPurchases401JSONResponseBodyObject
- type ListPurchases401JSONResponseBodyType
- type ListPurchases403JSONResponseBodyObject
- type ListPurchases403JSONResponseBodyType
- type ListPurchases404JSONResponseBodyObject
- type ListPurchases404JSONResponseBodyType
- type ListPurchases423JSONResponseBodyObject
- type ListPurchases423JSONResponseBodyType
- type ListPurchases429JSONResponseBodyObject
- type ListPurchases429JSONResponseBodyType
- type ListPurchases500JSONResponseBodyObject
- type ListPurchases500JSONResponseBodyType
- type ListPurchases503JSONResponseBodyObject
- type ListPurchases503JSONResponseBodyType
- type ListPurchasesObject
- type ListPurchasesParams
- type ListPurchasesParamsEnvironment
- type ListSubscriptionEntitlements400JSONResponseBodyObject
- type ListSubscriptionEntitlements400JSONResponseBodyType
- type ListSubscriptionEntitlements401JSONResponseBodyObject
- type ListSubscriptionEntitlements401JSONResponseBodyType
- type ListSubscriptionEntitlements403JSONResponseBodyObject
- type ListSubscriptionEntitlements403JSONResponseBodyType
- type ListSubscriptionEntitlements404JSONResponseBodyObject
- type ListSubscriptionEntitlements404JSONResponseBodyType
- type ListSubscriptionEntitlements423JSONResponseBodyObject
- type ListSubscriptionEntitlements423JSONResponseBodyType
- type ListSubscriptionEntitlements429JSONResponseBodyObject
- type ListSubscriptionEntitlements429JSONResponseBodyType
- type ListSubscriptionEntitlements500JSONResponseBodyObject
- type ListSubscriptionEntitlements500JSONResponseBodyType
- type ListSubscriptionEntitlements503JSONResponseBodyObject
- type ListSubscriptionEntitlements503JSONResponseBodyType
- type ListSubscriptionEntitlementsParams
- type ListSubscriptionTransaction
- type ListSubscriptionTransactionObject
- type ListSubscriptions
- type ListSubscriptions400JSONResponseBodyObject
- type ListSubscriptions400JSONResponseBodyType
- type ListSubscriptions401JSONResponseBodyObject
- type ListSubscriptions401JSONResponseBodyType
- type ListSubscriptions403JSONResponseBodyObject
- type ListSubscriptions403JSONResponseBodyType
- type ListSubscriptions404JSONResponseBodyObject
- type ListSubscriptions404JSONResponseBodyType
- type ListSubscriptions423JSONResponseBodyObject
- type ListSubscriptions423JSONResponseBodyType
- type ListSubscriptions429JSONResponseBodyObject
- type ListSubscriptions429JSONResponseBodyType
- type ListSubscriptions500JSONResponseBodyObject
- type ListSubscriptions500JSONResponseBodyType
- type ListSubscriptions503JSONResponseBodyObject
- type ListSubscriptions503JSONResponseBodyType
- type ListSubscriptionsObject
- type ListSubscriptionsParams
- type ListSubscriptionsParamsEnvironment
- type ListVirtualCurrencies
- type ListVirtualCurrencies400JSONResponseBodyObject
- type ListVirtualCurrencies400JSONResponseBodyType
- type ListVirtualCurrencies401JSONResponseBodyObject
- type ListVirtualCurrencies401JSONResponseBodyType
- type ListVirtualCurrencies403JSONResponseBodyObject
- type ListVirtualCurrencies403JSONResponseBodyType
- type ListVirtualCurrencies404JSONResponseBodyObject
- type ListVirtualCurrencies404JSONResponseBodyType
- type ListVirtualCurrencies423JSONResponseBodyObject
- type ListVirtualCurrencies423JSONResponseBodyType
- type ListVirtualCurrencies429JSONResponseBodyObject
- type ListVirtualCurrencies429JSONResponseBodyType
- type ListVirtualCurrencies500JSONResponseBodyObject
- type ListVirtualCurrencies500JSONResponseBodyType
- type ListVirtualCurrencies503JSONResponseBodyObject
- type ListVirtualCurrencies503JSONResponseBodyType
- type ListVirtualCurrenciesBalances
- type ListVirtualCurrenciesBalances400JSONResponseBodyObject
- type ListVirtualCurrenciesBalances400JSONResponseBodyType
- type ListVirtualCurrenciesBalances401JSONResponseBodyObject
- type ListVirtualCurrenciesBalances401JSONResponseBodyType
- type ListVirtualCurrenciesBalances403JSONResponseBodyObject
- type ListVirtualCurrenciesBalances403JSONResponseBodyType
- type ListVirtualCurrenciesBalances404JSONResponseBodyObject
- type ListVirtualCurrenciesBalances404JSONResponseBodyType
- type ListVirtualCurrenciesBalances423JSONResponseBodyObject
- type ListVirtualCurrenciesBalances423JSONResponseBodyType
- type ListVirtualCurrenciesBalances429JSONResponseBodyObject
- type ListVirtualCurrenciesBalances429JSONResponseBodyType
- type ListVirtualCurrenciesBalances500JSONResponseBodyObject
- type ListVirtualCurrenciesBalances500JSONResponseBodyType
- type ListVirtualCurrenciesBalances503JSONResponseBodyObject
- type ListVirtualCurrenciesBalances503JSONResponseBodyType
- type ListVirtualCurrenciesBalancesObject
- type ListVirtualCurrenciesBalancesParams
- type ListVirtualCurrenciesObject
- type ListVirtualCurrenciesParams
- type ListWebhookIntegrations400JSONResponseBodyObject
- type ListWebhookIntegrations400JSONResponseBodyType
- type ListWebhookIntegrations401JSONResponseBodyObject
- type ListWebhookIntegrations401JSONResponseBodyType
- type ListWebhookIntegrations403JSONResponseBodyObject
- type ListWebhookIntegrations403JSONResponseBodyType
- type ListWebhookIntegrations404JSONResponseBodyObject
- type ListWebhookIntegrations404JSONResponseBodyType
- type ListWebhookIntegrations423JSONResponseBodyObject
- type ListWebhookIntegrations423JSONResponseBodyType
- type ListWebhookIntegrations429JSONResponseBodyObject
- type ListWebhookIntegrations429JSONResponseBodyType
- type ListWebhookIntegrations500JSONResponseBodyObject
- type ListWebhookIntegrations500JSONResponseBodyType
- type ListWebhookIntegrations503JSONResponseBodyObject
- type ListWebhookIntegrations503JSONResponseBodyType
- type ListWebhookIntegrationsParams
- type LiveStoreState
- type Locked
- type LockedObject
- type LockedType
- type LoginResponse
- type MacAppStoreApp
- type MacAppStoreAppCreate
- type MacAppStoreAppCreateType
- type MacAppStoreAppObject
- type MacAppStoreAppType
- type MacAppStoreApp_MacAppStore
- func (a MacAppStoreApp_MacAppStore) Get(fieldName string) (value interface{}, found bool)
- func (a MacAppStoreApp_MacAppStore) MarshalJSON() ([]byte, error)
- func (a *MacAppStoreApp_MacAppStore) Set(fieldName string, value interface{})
- func (a *MacAppStoreApp_MacAppStore) UnmarshalJSON(b []byte) error
- type MacAppStoreConfig
- type ManagementURL
- type MediaAsset
- type MediaAssetAssetType
- type MediaAssetFormat
- type MediaAssetFormatObject
- type MediaAssetObject
- type MediaAssetsService
- type MetricsService
- type Millis
- type MonetaryAmount
- type NotFound
- type NotFoundObject
- type NotFoundType
- type OAuthService
- func (s *OAuthService) AuthorizeURL(redirectURI, challenge, state string) string
- func (s *OAuthService) AuthorizeWithLoginToken(ctx context.Context, loginToken, redirectURI, challenge, state string) (string, error)
- func (s *OAuthService) ExchangeCode(ctx context.Context, code, redirectURI, verifier string) (*TokenResponse, error)
- func (s *OAuthService) Login(ctx context.Context, email, password string) (*LoginResponse, error)
- func (s *OAuthService) LogoutLoginToken(ctx context.Context, loginToken string) error
- func (s *OAuthService) ProvisionAccount(ctx context.Context, account ProvisionAccountRequest) error
- func (s *OAuthService) Refresh(ctx context.Context, refreshToken string) (*TokenResponse, error)
- type Offering
- type OfferingCreate
- type OfferingMetadata
- type OfferingObject
- type OfferingPackagesObject
- type OfferingState
- type OfferingUpdate
- type OfferingsService
- func (s *OfferingsService) Archive(ctx context.Context, projectID, id string) (*Offering, error)
- func (s *OfferingsService) Create(ctx context.Context, projectID string, body OfferingCreate) (*Offering, error)
- func (s *OfferingsService) Delete(ctx context.Context, projectID, id string) error
- func (s *OfferingsService) Get(ctx context.Context, projectID, id string) (*Offering, error)
- func (s *OfferingsService) List(ctx context.Context, projectID string) (*Page[Offering], error)
- func (s *OfferingsService) Restore(ctx context.Context, projectID, id string) (*Offering, error)
- func (s *OfferingsService) Update(ctx context.Context, projectID, id string, body OfferingUpdate) (*Offering, error)
- type OneTimeProduct
- type Options
- type OverviewMetric
- type OverviewMetricObject
- type OverviewMetricPeriod
- type OverviewMetrics
- type OverviewMetricsCurrency
- type OverviewMetricsObject
- type Ownership
- type Package
- type PackageCreate
- type PackageObject
- type PackageProductAssociation
- type PackageProductIDAssociation
- type PackageProductsObject
- type PackageUpdate
- type PackagesService
- func (s *PackagesService) AttachProducts(ctx context.Context, projectID, id string, productIDs []string) error
- func (s *PackagesService) Create(ctx context.Context, projectID, offeringID string, body PackageCreate) (*Package, error)
- func (s *PackagesService) Delete(ctx context.Context, projectID, id string) error
- func (s *PackagesService) DetachProducts(ctx context.Context, projectID, id string, productIDs []string) error
- func (s *PackagesService) Get(ctx context.Context, projectID, id string) (*Package, error)
- func (s *PackagesService) List(ctx context.Context, projectID, offeringID string) (*Page[Package], error)
- func (s *PackagesService) ListProducts(ctx context.Context, projectID, id string) (*ProductsFromPackage, error)
- func (s *PackagesService) Update(ctx context.Context, projectID, id string, body PackageUpdate) (*Package, error)
- type PaddleApp
- type PaddleAppConfig
- type PaddleAppCreate
- type PaddleAppCreateType
- type PaddleAppObject
- type PaddleAppType
- type PaddleApp_Paddle
- type Page
- type Paywall
- type PaywallComponents
- type PaywallComponentsCreate
- type PaywallComponentsVersion
- type PaywallDraftCreate
- type PaywallDraftUpdate
- type PaywallVersion
- type PaywallVersionObject
- type PaywallsService
- func (s *PaywallsService) CreateFromComponents(ctx context.Context, projectID string, body PaywallComponentsCreate) (*Paywall, error)
- func (s *PaywallsService) Delete(ctx context.Context, projectID, id string) error
- func (s *PaywallsService) Get(ctx context.Context, projectID, id string) (*Paywall, error)
- func (s *PaywallsService) GetWithComponents(ctx context.Context, projectID, id string) (*Paywall, error)
- func (s *PaywallsService) List(ctx context.Context, projectID string) (*Page[Paywall], error)
- func (s *PaywallsService) Publish(ctx context.Context, projectID, id string) (*Paywall, error)
- func (s *PaywallsService) SetOffering(ctx context.Context, projectID, id string, revision int, offeringID *string) (*Paywall, error)
- func (s *PaywallsService) Unpublish(ctx context.Context, projectID, id string) (*Paywall, error)
- func (s *PaywallsService) UpdateDraft(ctx context.Context, projectID, id string, body PaywallDraftUpdate) (*Paywall, error)
- type PlayStoreApp
- type PlayStoreAppConfig
- type PlayStoreAppCreate
- type PlayStoreAppCreateType
- type PlayStoreAppObject
- type PlayStoreAppType
- type PlayStoreApp_PlayStore
- type Product
- type ProductCreate
- type ProductListOptions
- type ProductObject
- type ProductPrice
- type ProductPriceInput
- type ProductPriceUpdate
- type ProductPricesCreate
- type ProductState
- type ProductSubscriptionInput
- type ProductType
- type ProductUpdate
- type ProductsFromEntitlement
- type ProductsFromEntitlementObject
- type ProductsFromPackage
- type ProductsFromPackageObject
- type ProductsService
- func (s *ProductsService) Archive(ctx context.Context, projectID, id string) (*Product, error)
- func (s *ProductsService) Create(ctx context.Context, projectID string, body ProductCreate) (*Product, error)
- func (s *ProductsService) CreateTestStorePrices(ctx context.Context, projectID, productID string, body ProductPricesCreate) ([]ProductPrice, error)
- func (s *ProductsService) Delete(ctx context.Context, projectID, id string) error
- func (s *ProductsService) Get(ctx context.Context, projectID, id string) (*Product, error)
- func (s *ProductsService) List(ctx context.Context, projectID string, opts *ProductListOptions) (*Page[Product], error)
- func (s *ProductsService) ListPrices(ctx context.Context, projectID, productID string) ([]ProductPrice, error)
- func (s *ProductsService) Push(ctx context.Context, projectID, id string) error
- func (s *ProductsService) Restore(ctx context.Context, projectID, id string) (*Product, error)
- func (s *ProductsService) Update(ctx context.Context, projectID, id string, body ProductUpdate) (*Product, error)
- func (s *ProductsService) UpdatePrice(ctx context.Context, projectID, productID, currency string, ...) (*ProductPrice, error)
- type Project
- type ProjectCreate
- type ProjectObject
- type ProjectsService
- type ProvisionAccountRequest
- type PublicAPIKey
- type PublicAPIKeyEnvironment
- type PublicAPIKeyObject
- type PublishPaywall400JSONResponseBodyObject
- type PublishPaywall400JSONResponseBodyType
- type PublishPaywall401JSONResponseBodyObject
- type PublishPaywall401JSONResponseBodyType
- type PublishPaywall403JSONResponseBodyObject
- type PublishPaywall403JSONResponseBodyType
- type PublishPaywall404JSONResponseBodyObject
- type PublishPaywall404JSONResponseBodyType
- type PublishPaywall409JSONResponseBodyObject
- type PublishPaywall409JSONResponseBodyType
- type PublishPaywall422JSONResponseBodyObject
- type PublishPaywall422JSONResponseBodyType
- type PublishPaywall423JSONResponseBodyObject
- type PublishPaywall423JSONResponseBodyType
- type PublishPaywall429JSONResponseBodyObject
- type PublishPaywall429JSONResponseBodyType
- type PublishPaywall500JSONResponseBodyObject
- type PublishPaywall500JSONResponseBodyType
- type PublishPaywall503JSONResponseBodyObject
- type PublishPaywall503JSONResponseBodyType
- type Purchase
- type PurchaseEntitlementsObject
- type PurchaseObject
- type PurchaseStatus
- type PurchaseStore
- type Purchase_Ownership
- func (t Purchase_Ownership) AsOwnership() (Ownership, error)
- func (t *Purchase_Ownership) FromOwnership(v Ownership) error
- func (t Purchase_Ownership) MarshalJSON() ([]byte, error)
- func (t *Purchase_Ownership) MergeOwnership(v Ownership) error
- func (t *Purchase_Ownership) UnmarshalJSON(b []byte) error
- type Purchase_RevenueInUsd
- func (t Purchase_RevenueInUsd) AsMonetaryAmount() (MonetaryAmount, error)
- func (t *Purchase_RevenueInUsd) FromMonetaryAmount(v MonetaryAmount) error
- func (t Purchase_RevenueInUsd) MarshalJSON() ([]byte, error)
- func (t *Purchase_RevenueInUsd) MergeMonetaryAmount(v MonetaryAmount) error
- func (t *Purchase_RevenueInUsd) UnmarshalJSON(b []byte) error
- type PurchasesService
- type RCBillingApp
- type RCBillingAppCreate
- type RCBillingAppCreateType
- type RCBillingAppObject
- type RCBillingAppType
- type RCBillingApp_RcBilling
- type RCBillingConfig
- type RCBillingCurrency
- type RateLimited
- type RateLimitedObject
- type RateLimitedType
- type RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyObject
- type RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyType
- type RefundPlayStoreOrGalaxySubscriptionTransaction401JSONResponseBodyObject
- type RefundPlayStoreOrGalaxySubscriptionTransaction401JSONResponseBodyType
- type RefundPlayStoreOrGalaxySubscriptionTransaction403JSONResponseBodyObject
- type RefundPlayStoreOrGalaxySubscriptionTransaction403JSONResponseBodyType
- type RefundPlayStoreOrGalaxySubscriptionTransaction404JSONResponseBodyObject
- type RefundPlayStoreOrGalaxySubscriptionTransaction404JSONResponseBodyType
- type RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyObject
- type RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyType
- type RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyObject
- type RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyType
- type RefundPlayStoreOrGalaxySubscriptionTransaction423JSONResponseBodyObject
- type RefundPlayStoreOrGalaxySubscriptionTransaction423JSONResponseBodyType
- type RefundPlayStoreOrGalaxySubscriptionTransaction429JSONResponseBodyObject
- type RefundPlayStoreOrGalaxySubscriptionTransaction429JSONResponseBodyType
- type RefundPlayStoreOrGalaxySubscriptionTransaction500JSONResponseBodyObject
- type RefundPlayStoreOrGalaxySubscriptionTransaction500JSONResponseBodyType
- type RefundPlayStoreOrGalaxySubscriptionTransaction503JSONResponseBodyObject
- type RefundPlayStoreOrGalaxySubscriptionTransaction503JSONResponseBodyType
- type RefundPurchase400JSONResponseBodyObject
- type RefundPurchase400JSONResponseBodyType
- type RefundPurchase401JSONResponseBodyObject
- type RefundPurchase401JSONResponseBodyType
- type RefundPurchase403JSONResponseBodyObject
- type RefundPurchase403JSONResponseBodyType
- type RefundPurchase404JSONResponseBodyObject
- type RefundPurchase404JSONResponseBodyType
- type RefundPurchase409JSONResponseBodyObject
- type RefundPurchase409JSONResponseBodyType
- type RefundPurchase422JSONResponseBodyObject
- type RefundPurchase422JSONResponseBodyType
- type RefundPurchase423JSONResponseBodyObject
- type RefundPurchase423JSONResponseBodyType
- type RefundPurchase429JSONResponseBodyObject
- type RefundPurchase429JSONResponseBodyType
- type RefundPurchase500JSONResponseBodyObject
- type RefundPurchase500JSONResponseBodyType
- type RefundPurchase503JSONResponseBodyObject
- type RefundPurchase503JSONResponseBodyType
- type RefundSubscription400JSONResponseBodyObject
- type RefundSubscription400JSONResponseBodyType
- type RefundSubscription401JSONResponseBodyObject
- type RefundSubscription401JSONResponseBodyType
- type RefundSubscription403JSONResponseBodyObject
- type RefundSubscription403JSONResponseBodyType
- type RefundSubscription404JSONResponseBodyObject
- type RefundSubscription404JSONResponseBodyType
- type RefundSubscription409JSONResponseBodyObject
- type RefundSubscription409JSONResponseBodyType
- type RefundSubscription422JSONResponseBodyObject
- type RefundSubscription422JSONResponseBodyType
- type RefundSubscription423JSONResponseBodyObject
- type RefundSubscription423JSONResponseBodyType
- type RefundSubscription429JSONResponseBodyObject
- type RefundSubscription429JSONResponseBodyType
- type RefundSubscription500JSONResponseBodyObject
- type RefundSubscription500JSONResponseBodyType
- type RefundSubscription503JSONResponseBodyObject
- type RefundSubscription503JSONResponseBodyType
- type RestorePurchaseByOrderID400JSONResponseBodyObject
- type RestorePurchaseByOrderID400JSONResponseBodyType
- type RestorePurchaseByOrderID401JSONResponseBodyObject
- type RestorePurchaseByOrderID401JSONResponseBodyType
- type RestorePurchaseByOrderID403JSONResponseBodyObject
- type RestorePurchaseByOrderID403JSONResponseBodyType
- type RestorePurchaseByOrderID404JSONResponseBodyObject
- type RestorePurchaseByOrderID404JSONResponseBodyType
- type RestorePurchaseByOrderID409JSONResponseBodyObject
- type RestorePurchaseByOrderID409JSONResponseBodyType
- type RestorePurchaseByOrderID422JSONResponseBodyObject
- type RestorePurchaseByOrderID422JSONResponseBodyType
- type RestorePurchaseByOrderID423JSONResponseBodyObject
- type RestorePurchaseByOrderID423JSONResponseBodyType
- type RestorePurchaseByOrderID429JSONResponseBodyObject
- type RestorePurchaseByOrderID429JSONResponseBodyType
- type RestorePurchaseByOrderID500JSONResponseBodyObject
- type RestorePurchaseByOrderID500JSONResponseBodyType
- type RestorePurchaseByOrderID503JSONResponseBodyObject
- type RestorePurchaseByOrderID503JSONResponseBodyType
- type RestorePurchaseByOrderIDJSONBody
- type RestorePurchaseByOrderIDJSONRequestBody
- type RevenueMetric
- type RevenueMetricObject
- type RevenueMetricRevenueType
- type RevokeCustomerGrantedEntitlement400JSONResponseBodyObject
- type RevokeCustomerGrantedEntitlement400JSONResponseBodyType
- type RevokeCustomerGrantedEntitlement401JSONResponseBodyObject
- type RevokeCustomerGrantedEntitlement401JSONResponseBodyType
- type RevokeCustomerGrantedEntitlement403JSONResponseBodyObject
- type RevokeCustomerGrantedEntitlement403JSONResponseBodyType
- type RevokeCustomerGrantedEntitlement404JSONResponseBodyObject
- type RevokeCustomerGrantedEntitlement404JSONResponseBodyType
- type RevokeCustomerGrantedEntitlement409JSONResponseBodyObject
- type RevokeCustomerGrantedEntitlement409JSONResponseBodyType
- type RevokeCustomerGrantedEntitlement422JSONResponseBodyObject
- type RevokeCustomerGrantedEntitlement422JSONResponseBodyType
- type RevokeCustomerGrantedEntitlement423JSONResponseBodyObject
- type RevokeCustomerGrantedEntitlement423JSONResponseBodyType
- type RevokeCustomerGrantedEntitlement429JSONResponseBodyObject
- type RevokeCustomerGrantedEntitlement429JSONResponseBodyType
- type RevokeCustomerGrantedEntitlement500JSONResponseBodyObject
- type RevokeCustomerGrantedEntitlement500JSONResponseBodyType
- type RevokeCustomerGrantedEntitlement503JSONResponseBodyObject
- type RevokeCustomerGrantedEntitlement503JSONResponseBodyType
- type RevokeCustomerGrantedEntitlementJSONBody
- type RevokeCustomerGrantedEntitlementJSONRequestBody
- type RokuApp
- type RokuAppConfig
- type RokuAppCreate
- type RokuAppCreateType
- type RokuAppObject
- type RokuAppType
- type RokuApp_Roku
- type SDKService
- type ScreenshotUploadReservation
- type SearchPurchases400JSONResponseBodyObject
- type SearchPurchases400JSONResponseBodyType
- type SearchPurchases401JSONResponseBodyObject
- type SearchPurchases401JSONResponseBodyType
- type SearchPurchases403JSONResponseBodyObject
- type SearchPurchases403JSONResponseBodyType
- type SearchPurchases404JSONResponseBodyObject
- type SearchPurchases404JSONResponseBodyType
- type SearchPurchases423JSONResponseBodyObject
- type SearchPurchases423JSONResponseBodyType
- type SearchPurchases429JSONResponseBodyObject
- type SearchPurchases429JSONResponseBodyType
- type SearchPurchases500JSONResponseBodyObject
- type SearchPurchases500JSONResponseBodyType
- type SearchPurchases503JSONResponseBodyObject
- type SearchPurchases503JSONResponseBodyType
- type SearchPurchasesParams
- type SearchSubscriptions400JSONResponseBodyObject
- type SearchSubscriptions400JSONResponseBodyType
- type SearchSubscriptions401JSONResponseBodyObject
- type SearchSubscriptions401JSONResponseBodyType
- type SearchSubscriptions403JSONResponseBodyObject
- type SearchSubscriptions403JSONResponseBodyType
- type SearchSubscriptions404JSONResponseBodyObject
- type SearchSubscriptions404JSONResponseBodyType
- type SearchSubscriptions423JSONResponseBodyObject
- type SearchSubscriptions423JSONResponseBodyType
- type SearchSubscriptions429JSONResponseBodyObject
- type SearchSubscriptions429JSONResponseBodyType
- type SearchSubscriptions500JSONResponseBodyObject
- type SearchSubscriptions500JSONResponseBodyType
- type SearchSubscriptions503JSONResponseBodyObject
- type SearchSubscriptions503JSONResponseBodyType
- type SearchSubscriptionsParams
- type SetCustomerAttributes400JSONResponseBodyObject
- type SetCustomerAttributes400JSONResponseBodyType
- type SetCustomerAttributes401JSONResponseBodyObject
- type SetCustomerAttributes401JSONResponseBodyType
- type SetCustomerAttributes403JSONResponseBodyObject
- type SetCustomerAttributes403JSONResponseBodyType
- type SetCustomerAttributes404JSONResponseBodyObject
- type SetCustomerAttributes404JSONResponseBodyType
- type SetCustomerAttributes409JSONResponseBodyObject
- type SetCustomerAttributes409JSONResponseBodyType
- type SetCustomerAttributes422JSONResponseBodyObject
- type SetCustomerAttributes422JSONResponseBodyType
- type SetCustomerAttributes423JSONResponseBodyObject
- type SetCustomerAttributes423JSONResponseBodyType
- type SetCustomerAttributes429JSONResponseBodyObject
- type SetCustomerAttributes429JSONResponseBodyType
- type SetCustomerAttributes500JSONResponseBodyObject
- type SetCustomerAttributes500JSONResponseBodyType
- type SetCustomerAttributes503JSONResponseBodyObject
- type SetCustomerAttributes503JSONResponseBodyType
- type SetCustomerAttributesJSONBody
- type SetCustomerAttributesJSONBody_Attributes_Name
- func (t SetCustomerAttributesJSONBody_Attributes_Name) AsCustomerAttributeCustomName() (CustomerAttributeCustomName, error)
- func (t SetCustomerAttributesJSONBody_Attributes_Name) AsCustomerAttributeReservedName() (CustomerAttributeReservedName, error)
- func (t *SetCustomerAttributesJSONBody_Attributes_Name) FromCustomerAttributeCustomName(v CustomerAttributeCustomName) error
- func (t *SetCustomerAttributesJSONBody_Attributes_Name) FromCustomerAttributeReservedName(v CustomerAttributeReservedName) error
- func (t SetCustomerAttributesJSONBody_Attributes_Name) MarshalJSON() ([]byte, error)
- func (t *SetCustomerAttributesJSONBody_Attributes_Name) MergeCustomerAttributeCustomName(v CustomerAttributeCustomName) error
- func (t *SetCustomerAttributesJSONBody_Attributes_Name) MergeCustomerAttributeReservedName(v CustomerAttributeReservedName) error
- func (t *SetCustomerAttributesJSONBody_Attributes_Name) UnmarshalJSON(b []byte) error
- type SetCustomerAttributesJSONRequestBody
- type SimulatedPurchase
- type StateDeclaration
- func (t StateDeclaration) AsStateDeclarationBooleanVariant() (StateDeclarationBooleanVariant, error)
- func (t StateDeclaration) AsStateDeclarationDoubleVariant() (StateDeclarationDoubleVariant, error)
- func (t StateDeclaration) AsStateDeclarationIntegerVariant() (StateDeclarationIntegerVariant, error)
- func (t StateDeclaration) AsStateDeclarationStringVariant() (StateDeclarationStringVariant, error)
- func (t StateDeclaration) Discriminator() (string, error)
- func (t *StateDeclaration) FromStateDeclarationBooleanVariant(v StateDeclarationBooleanVariant) error
- func (t *StateDeclaration) FromStateDeclarationDoubleVariant(v StateDeclarationDoubleVariant) error
- func (t *StateDeclaration) FromStateDeclarationIntegerVariant(v StateDeclarationIntegerVariant) error
- func (t *StateDeclaration) FromStateDeclarationStringVariant(v StateDeclarationStringVariant) error
- func (t StateDeclaration) MarshalJSON() ([]byte, error)
- func (t *StateDeclaration) MergeStateDeclarationBooleanVariant(v StateDeclarationBooleanVariant) error
- func (t *StateDeclaration) MergeStateDeclarationDoubleVariant(v StateDeclarationDoubleVariant) error
- func (t *StateDeclaration) MergeStateDeclarationIntegerVariant(v StateDeclarationIntegerVariant) error
- func (t *StateDeclaration) MergeStateDeclarationStringVariant(v StateDeclarationStringVariant) error
- func (t *StateDeclaration) UnmarshalJSON(b []byte) error
- func (t StateDeclaration) ValueByDiscriminator() (interface{}, error)
- type StateDeclarationBooleanVariant
- func (a StateDeclarationBooleanVariant) Get(fieldName string) (value interface{}, found bool)
- func (a StateDeclarationBooleanVariant) MarshalJSON() ([]byte, error)
- func (a *StateDeclarationBooleanVariant) Set(fieldName string, value interface{})
- func (a *StateDeclarationBooleanVariant) UnmarshalJSON(b []byte) error
- type StateDeclarationBooleanVariantType
- type StateDeclarationDoubleVariant
- func (a StateDeclarationDoubleVariant) Get(fieldName string) (value interface{}, found bool)
- func (a StateDeclarationDoubleVariant) MarshalJSON() ([]byte, error)
- func (a *StateDeclarationDoubleVariant) Set(fieldName string, value interface{})
- func (a *StateDeclarationDoubleVariant) UnmarshalJSON(b []byte) error
- type StateDeclarationDoubleVariantType
- type StateDeclarationIntegerVariant
- func (a StateDeclarationIntegerVariant) Get(fieldName string) (value interface{}, found bool)
- func (a StateDeclarationIntegerVariant) MarshalJSON() ([]byte, error)
- func (a *StateDeclarationIntegerVariant) Set(fieldName string, value interface{})
- func (a *StateDeclarationIntegerVariant) UnmarshalJSON(b []byte) error
- type StateDeclarationIntegerVariantType
- type StateDeclarationStringVariant
- func (a StateDeclarationStringVariant) Get(fieldName string) (value interface{}, found bool)
- func (a StateDeclarationStringVariant) MarshalJSON() ([]byte, error)
- func (a *StateDeclarationStringVariant) Set(fieldName string, value interface{})
- func (a *StateDeclarationStringVariant) UnmarshalJSON(b []byte) error
- type StateDeclarationStringVariantType
- type StoreKitConfigFile
- type StoreKitConfigFileObject
- type StoreProduct
- type StoreProductObject
- type StoreStateCommon
- type StoreStateOperation
- type StoreStateOperationQueued
- type StoreStatePlan
- type StoreStatePlanActionResponse
- type StoreStatePlanCreate
- type StoreStatePlanDesiredState
- type StoreStatePlanDiff
- type StoreStatePlanItem
- type StoreStatePlanProductCreate
- type StoreStatePlanSummary
- type StoreStatePlanWarning
- type StoreStatePlansService
- func (s *StoreStatePlansService) Apply(ctx context.Context, projectID, planID string) (*StoreStatePlanActionResponse, error)
- func (s *StoreStatePlansService) Create(ctx context.Context, projectID string, body StoreStatePlanCreate) (*StoreStatePlanActionResponse, error)
- func (s *StoreStatePlansService) Discard(ctx context.Context, projectID, planID string) (*StoreStatePlanActionResponse, error)
- func (s *StoreStatePlansService) Get(ctx context.Context, projectID, planID string) (*StoreStatePlan, error)
- func (s *StoreStatePlansService) List(ctx context.Context, projectID, status string) (*Page[StoreStatePlan], error)
- func (s *StoreStatePlansService) Plan(ctx context.Context, projectID, planID string) (*StoreStatePlanActionResponse, error)
- type StoreStateService
- func (s *StoreStateService) Get(ctx context.Context, projectID, productID string) (*LiveStoreState, error)
- func (s *StoreStateService) GetOperation(ctx context.Context, projectID, productID, operationID string) (*StoreStateOperation, error)
- func (s *StoreStateService) ReserveScreenshotUpload(ctx context.Context, projectID, productID, filename string, fileSize int64) (*ScreenshotUploadReservation, error)
- func (s *StoreStateService) Set(ctx context.Context, projectID, productID string, body map[string]any) (*StoreStateOperationQueued, error)
- type StoreStatus
- type StripeApp
- type StripeAppConfig
- type StripeAppCreate
- type StripeAppCreateType
- type StripeAppObject
- type StripeAppType
- type StripeApp_Stripe
- type Subscription
- type SubscriptionAutoRenewalStatus
- type SubscriptionEntitlementsObject
- type SubscriptionObject
- type SubscriptionPendingChangesAutoRenewalStatus
- type SubscriptionPendingChangesStatus
- type SubscriptionProduct
- type SubscriptionStatus
- type SubscriptionStore
- type SubscriptionTransaction
- type SubscriptionTransactionObject
- type SubscriptionTransaction_RevenueInLocalCurrency
- func (t SubscriptionTransaction_RevenueInLocalCurrency) AsMonetaryAmount() (MonetaryAmount, error)
- func (t *SubscriptionTransaction_RevenueInLocalCurrency) FromMonetaryAmount(v MonetaryAmount) error
- func (t SubscriptionTransaction_RevenueInLocalCurrency) MarshalJSON() ([]byte, error)
- func (t *SubscriptionTransaction_RevenueInLocalCurrency) MergeMonetaryAmount(v MonetaryAmount) error
- func (t *SubscriptionTransaction_RevenueInLocalCurrency) UnmarshalJSON(b []byte) error
- type SubscriptionTransaction_RevenueInUsd
- func (t SubscriptionTransaction_RevenueInUsd) AsMonetaryAmount() (MonetaryAmount, error)
- func (t *SubscriptionTransaction_RevenueInUsd) FromMonetaryAmount(v MonetaryAmount) error
- func (t SubscriptionTransaction_RevenueInUsd) MarshalJSON() ([]byte, error)
- func (t *SubscriptionTransaction_RevenueInUsd) MergeMonetaryAmount(v MonetaryAmount) error
- func (t *SubscriptionTransaction_RevenueInUsd) UnmarshalJSON(b []byte) error
- type Subscription_Environment
- func (t Subscription_Environment) AsEnvironment() (Environment, error)
- func (t *Subscription_Environment) FromEnvironment(v Environment) error
- func (t Subscription_Environment) MarshalJSON() ([]byte, error)
- func (t *Subscription_Environment) MergeEnvironment(v Environment) error
- func (t *Subscription_Environment) UnmarshalJSON(b []byte) error
- type Subscription_Ownership
- func (t Subscription_Ownership) AsOwnership() (Ownership, error)
- func (t *Subscription_Ownership) FromOwnership(v Ownership) error
- func (t Subscription_Ownership) MarshalJSON() ([]byte, error)
- func (t *Subscription_Ownership) MergeOwnership(v Ownership) error
- func (t *Subscription_Ownership) UnmarshalJSON(b []byte) error
- type Subscription_PendingChanges
- func (a Subscription_PendingChanges) Get(fieldName string) (value interface{}, found bool)
- func (a Subscription_PendingChanges) MarshalJSON() ([]byte, error)
- func (a *Subscription_PendingChanges) Set(fieldName string, value interface{})
- func (a *Subscription_PendingChanges) UnmarshalJSON(b []byte) error
- type Subscription_TotalRevenueInUsd
- func (t Subscription_TotalRevenueInUsd) AsMonetaryAmount() (MonetaryAmount, error)
- func (t *Subscription_TotalRevenueInUsd) FromMonetaryAmount(v MonetaryAmount) error
- func (t Subscription_TotalRevenueInUsd) MarshalJSON() ([]byte, error)
- func (t *Subscription_TotalRevenueInUsd) MergeMonetaryAmount(v MonetaryAmount) error
- func (t *Subscription_TotalRevenueInUsd) UnmarshalJSON(b []byte) error
- type SubscriptionsService
- func (s *SubscriptionsService) Cancel(ctx context.Context, projectID, id string) (*Subscription, error)
- func (s *SubscriptionsService) Entitlements(ctx context.Context, projectID, id string) (*Page[Entitlement], error)
- func (s *SubscriptionsService) Extend(ctx context.Context, projectID, id, duration string) (*Subscription, error)
- func (s *SubscriptionsService) Get(ctx context.Context, projectID, id string) (*Subscription, error)
- func (s *SubscriptionsService) ManagementURL(ctx context.Context, projectID, id string) (*ManagementURL, error)
- func (s *SubscriptionsService) Refund(ctx context.Context, projectID, id string) error
- func (s *SubscriptionsService) Transactions(ctx context.Context, projectID, id string) (*Page[Transaction], error)
- type TerritoryPrice
- type TestStoreApp
- type TestStoreAppObject
- type TestStoreAppType
- type TokenResponse
- type Transaction
- type Transfer
- type TransferCustomerData400JSONResponseBodyObject
- type TransferCustomerData400JSONResponseBodyType
- type TransferCustomerData401JSONResponseBodyObject
- type TransferCustomerData401JSONResponseBodyType
- type TransferCustomerData403JSONResponseBodyObject
- type TransferCustomerData403JSONResponseBodyType
- type TransferCustomerData404JSONResponseBodyObject
- type TransferCustomerData404JSONResponseBodyType
- type TransferCustomerData409JSONResponseBodyObject
- type TransferCustomerData409JSONResponseBodyType
- type TransferCustomerData422JSONResponseBodyObject
- type TransferCustomerData422JSONResponseBodyType
- type TransferCustomerData423JSONResponseBodyObject
- type TransferCustomerData423JSONResponseBodyType
- type TransferCustomerData429JSONResponseBodyObject
- type TransferCustomerData429JSONResponseBodyType
- type TransferCustomerData500JSONResponseBodyObject
- type TransferCustomerData500JSONResponseBodyType
- type TransferCustomerData503JSONResponseBodyObject
- type TransferCustomerData503JSONResponseBodyType
- type TransferCustomerDataJSONBody
- type TransferCustomerDataJSONRequestBody
- type UnarchiveEntitlement400JSONResponseBodyObject
- type UnarchiveEntitlement400JSONResponseBodyType
- type UnarchiveEntitlement401JSONResponseBodyObject
- type UnarchiveEntitlement401JSONResponseBodyType
- type UnarchiveEntitlement403JSONResponseBodyObject
- type UnarchiveEntitlement403JSONResponseBodyType
- type UnarchiveEntitlement404JSONResponseBodyObject
- type UnarchiveEntitlement404JSONResponseBodyType
- type UnarchiveEntitlement409JSONResponseBodyObject
- type UnarchiveEntitlement409JSONResponseBodyType
- type UnarchiveEntitlement422JSONResponseBodyObject
- type UnarchiveEntitlement422JSONResponseBodyType
- type UnarchiveEntitlement423JSONResponseBodyObject
- type UnarchiveEntitlement423JSONResponseBodyType
- type UnarchiveEntitlement429JSONResponseBodyObject
- type UnarchiveEntitlement429JSONResponseBodyType
- type UnarchiveEntitlement500JSONResponseBodyObject
- type UnarchiveEntitlement500JSONResponseBodyType
- type UnarchiveEntitlement503JSONResponseBodyObject
- type UnarchiveEntitlement503JSONResponseBodyType
- type UnarchiveOffering400JSONResponseBodyObject
- type UnarchiveOffering400JSONResponseBodyType
- type UnarchiveOffering401JSONResponseBodyObject
- type UnarchiveOffering401JSONResponseBodyType
- type UnarchiveOffering403JSONResponseBodyObject
- type UnarchiveOffering403JSONResponseBodyType
- type UnarchiveOffering404JSONResponseBodyObject
- type UnarchiveOffering404JSONResponseBodyType
- type UnarchiveOffering409JSONResponseBodyObject
- type UnarchiveOffering409JSONResponseBodyType
- type UnarchiveOffering422JSONResponseBodyObject
- type UnarchiveOffering422JSONResponseBodyType
- type UnarchiveOffering423JSONResponseBodyObject
- type UnarchiveOffering423JSONResponseBodyType
- type UnarchiveOffering429JSONResponseBodyObject
- type UnarchiveOffering429JSONResponseBodyType
- type UnarchiveOffering500JSONResponseBodyObject
- type UnarchiveOffering500JSONResponseBodyType
- type UnarchiveOffering503JSONResponseBodyObject
- type UnarchiveOffering503JSONResponseBodyType
- type UnarchiveOfferingJSONBody
- type UnarchiveOfferingJSONRequestBody
- type UnarchiveProduct400JSONResponseBodyObject
- type UnarchiveProduct400JSONResponseBodyType
- type UnarchiveProduct401JSONResponseBodyObject
- type UnarchiveProduct401JSONResponseBodyType
- type UnarchiveProduct403JSONResponseBodyObject
- type UnarchiveProduct403JSONResponseBodyType
- type UnarchiveProduct404JSONResponseBodyObject
- type UnarchiveProduct404JSONResponseBodyType
- type UnarchiveProduct409JSONResponseBodyObject
- type UnarchiveProduct409JSONResponseBodyType
- type UnarchiveProduct422JSONResponseBodyObject
- type UnarchiveProduct422JSONResponseBodyType
- type UnarchiveProduct423JSONResponseBodyObject
- type UnarchiveProduct423JSONResponseBodyType
- type UnarchiveProduct429JSONResponseBodyObject
- type UnarchiveProduct429JSONResponseBodyType
- type UnarchiveProduct500JSONResponseBodyObject
- type UnarchiveProduct500JSONResponseBodyType
- type UnarchiveProduct503JSONResponseBodyObject
- type UnarchiveProduct503JSONResponseBodyType
- type UnarchiveVirtualCurrency400JSONResponseBodyObject
- type UnarchiveVirtualCurrency400JSONResponseBodyType
- type UnarchiveVirtualCurrency401JSONResponseBodyObject
- type UnarchiveVirtualCurrency401JSONResponseBodyType
- type UnarchiveVirtualCurrency403JSONResponseBodyObject
- type UnarchiveVirtualCurrency403JSONResponseBodyType
- type UnarchiveVirtualCurrency404JSONResponseBodyObject
- type UnarchiveVirtualCurrency404JSONResponseBodyType
- type UnarchiveVirtualCurrency409JSONResponseBodyObject
- type UnarchiveVirtualCurrency409JSONResponseBodyType
- type UnarchiveVirtualCurrency422JSONResponseBodyObject
- type UnarchiveVirtualCurrency422JSONResponseBodyType
- type UnarchiveVirtualCurrency423JSONResponseBodyObject
- type UnarchiveVirtualCurrency423JSONResponseBodyType
- type UnarchiveVirtualCurrency429JSONResponseBodyObject
- type UnarchiveVirtualCurrency429JSONResponseBodyType
- type UnarchiveVirtualCurrency500JSONResponseBodyObject
- type UnarchiveVirtualCurrency500JSONResponseBodyType
- type UnarchiveVirtualCurrency503JSONResponseBodyObject
- type UnarchiveVirtualCurrency503JSONResponseBodyType
- type Unauthorized
- type UnauthorizedObject
- type UnauthorizedType
- type UnprocessableEntity
- type UnprocessableEntityObject
- type UnprocessableEntityType
- type UnpublishPaywall400JSONResponseBodyObject
- type UnpublishPaywall400JSONResponseBodyType
- type UnpublishPaywall401JSONResponseBodyObject
- type UnpublishPaywall401JSONResponseBodyType
- type UnpublishPaywall403JSONResponseBodyObject
- type UnpublishPaywall403JSONResponseBodyType
- type UnpublishPaywall404JSONResponseBodyObject
- type UnpublishPaywall404JSONResponseBodyType
- type UnpublishPaywall409JSONResponseBodyObject
- type UnpublishPaywall409JSONResponseBodyType
- type UnpublishPaywall422JSONResponseBodyObject
- type UnpublishPaywall422JSONResponseBodyType
- type UnpublishPaywall423JSONResponseBodyObject
- type UnpublishPaywall423JSONResponseBodyType
- type UnpublishPaywall429JSONResponseBodyObject
- type UnpublishPaywall429JSONResponseBodyType
- type UnpublishPaywall500JSONResponseBodyObject
- type UnpublishPaywall500JSONResponseBodyType
- type UnpublishPaywall503JSONResponseBodyObject
- type UnpublishPaywall503JSONResponseBodyType
- type UpdateApp400JSONResponseBodyObject
- type UpdateApp400JSONResponseBodyType
- type UpdateApp401JSONResponseBodyObject
- type UpdateApp401JSONResponseBodyType
- type UpdateApp403JSONResponseBodyObject
- type UpdateApp403JSONResponseBodyType
- type UpdateApp404JSONResponseBodyObject
- type UpdateApp404JSONResponseBodyType
- type UpdateApp409JSONResponseBodyObject
- type UpdateApp409JSONResponseBodyType
- type UpdateApp422JSONResponseBodyObject
- type UpdateApp422JSONResponseBodyType
- type UpdateApp423JSONResponseBodyObject
- type UpdateApp423JSONResponseBodyType
- type UpdateApp429JSONResponseBodyObject
- type UpdateApp429JSONResponseBodyType
- type UpdateApp500JSONResponseBodyObject
- type UpdateApp500JSONResponseBodyType
- type UpdateApp502JSONResponseBodyObject
- type UpdateApp502JSONResponseBodyType
- type UpdateApp503JSONResponseBodyObject
- type UpdateApp503JSONResponseBodyType
- type UpdateAppJSONBody
- type UpdateAppJSONRequestBody
- type UpdateEntitlement400JSONResponseBodyObject
- type UpdateEntitlement400JSONResponseBodyType
- type UpdateEntitlement401JSONResponseBodyObject
- type UpdateEntitlement401JSONResponseBodyType
- type UpdateEntitlement403JSONResponseBodyObject
- type UpdateEntitlement403JSONResponseBodyType
- type UpdateEntitlement404JSONResponseBodyObject
- type UpdateEntitlement404JSONResponseBodyType
- type UpdateEntitlement409JSONResponseBodyObject
- type UpdateEntitlement409JSONResponseBodyType
- type UpdateEntitlement422JSONResponseBodyObject
- type UpdateEntitlement422JSONResponseBodyType
- type UpdateEntitlement423JSONResponseBodyObject
- type UpdateEntitlement423JSONResponseBodyType
- type UpdateEntitlement429JSONResponseBodyObject
- type UpdateEntitlement429JSONResponseBodyType
- type UpdateEntitlement500JSONResponseBodyObject
- type UpdateEntitlement500JSONResponseBodyType
- type UpdateEntitlement503JSONResponseBodyObject
- type UpdateEntitlement503JSONResponseBodyType
- type UpdateEntitlementJSONBody
- type UpdateEntitlementJSONRequestBody
- type UpdateOffering400JSONResponseBodyObject
- type UpdateOffering400JSONResponseBodyType
- type UpdateOffering401JSONResponseBodyObject
- type UpdateOffering401JSONResponseBodyType
- type UpdateOffering403JSONResponseBodyObject
- type UpdateOffering403JSONResponseBodyType
- type UpdateOffering404JSONResponseBodyObject
- type UpdateOffering404JSONResponseBodyType
- type UpdateOffering409JSONResponseBodyObject
- type UpdateOffering409JSONResponseBodyType
- type UpdateOffering422JSONResponseBodyObject
- type UpdateOffering422JSONResponseBodyType
- type UpdateOffering423JSONResponseBodyObject
- type UpdateOffering423JSONResponseBodyType
- type UpdateOffering429JSONResponseBodyObject
- type UpdateOffering429JSONResponseBodyType
- type UpdateOffering500JSONResponseBodyObject
- type UpdateOffering500JSONResponseBodyType
- type UpdateOffering503JSONResponseBodyObject
- type UpdateOffering503JSONResponseBodyType
- type UpdateOfferingJSONBody
- type UpdateOfferingJSONRequestBody
- type UpdatePackage400JSONResponseBodyObject
- type UpdatePackage400JSONResponseBodyType
- type UpdatePackage401JSONResponseBodyObject
- type UpdatePackage401JSONResponseBodyType
- type UpdatePackage403JSONResponseBodyObject
- type UpdatePackage403JSONResponseBodyType
- type UpdatePackage404JSONResponseBodyObject
- type UpdatePackage404JSONResponseBodyType
- type UpdatePackage409JSONResponseBodyObject
- type UpdatePackage409JSONResponseBodyType
- type UpdatePackage422JSONResponseBodyObject
- type UpdatePackage422JSONResponseBodyType
- type UpdatePackage423JSONResponseBodyObject
- type UpdatePackage423JSONResponseBodyType
- type UpdatePackage429JSONResponseBodyObject
- type UpdatePackage429JSONResponseBodyType
- type UpdatePackage500JSONResponseBodyObject
- type UpdatePackage500JSONResponseBodyType
- type UpdatePackage503JSONResponseBodyObject
- type UpdatePackage503JSONResponseBodyType
- type UpdatePackageJSONBody
- type UpdatePackageJSONRequestBody
- type UpdatePaywall400JSONResponseBodyObject
- type UpdatePaywall400JSONResponseBodyType
- type UpdatePaywall401JSONResponseBodyObject
- type UpdatePaywall401JSONResponseBodyType
- type UpdatePaywall403JSONResponseBodyObject
- type UpdatePaywall403JSONResponseBodyType
- type UpdatePaywall404JSONResponseBodyObject
- type UpdatePaywall404JSONResponseBodyType
- type UpdatePaywall409JSONResponseBodyObject
- type UpdatePaywall409JSONResponseBodyType
- type UpdatePaywall422JSONResponseBodyObject
- type UpdatePaywall422JSONResponseBodyType
- type UpdatePaywall423JSONResponseBodyObject
- type UpdatePaywall423JSONResponseBodyType
- type UpdatePaywall429JSONResponseBodyObject
- type UpdatePaywall429JSONResponseBodyType
- type UpdatePaywall500JSONResponseBodyObject
- type UpdatePaywall500JSONResponseBodyType
- type UpdatePaywall503JSONResponseBodyObject
- type UpdatePaywall503JSONResponseBodyType
- type UpdatePaywallJSONRequestBody
- type UpdateProduct400JSONResponseBodyObject
- type UpdateProduct400JSONResponseBodyType
- type UpdateProduct401JSONResponseBodyObject
- type UpdateProduct401JSONResponseBodyType
- type UpdateProduct403JSONResponseBodyObject
- type UpdateProduct403JSONResponseBodyType
- type UpdateProduct404JSONResponseBodyObject
- type UpdateProduct404JSONResponseBodyType
- type UpdateProduct409JSONResponseBodyObject
- type UpdateProduct409JSONResponseBodyType
- type UpdateProduct422JSONResponseBodyObject
- type UpdateProduct422JSONResponseBodyType
- type UpdateProduct423JSONResponseBodyObject
- type UpdateProduct423JSONResponseBodyType
- type UpdateProduct429JSONResponseBodyObject
- type UpdateProduct429JSONResponseBodyType
- type UpdateProduct500JSONResponseBodyObject
- type UpdateProduct500JSONResponseBodyType
- type UpdateProduct503JSONResponseBodyObject
- type UpdateProduct503JSONResponseBodyType
- type UpdateProductJSONBody
- type UpdateProductJSONRequestBody
- type UpdateProductParams
- type UpdateVirtualCurrenciesBalance400JSONResponseBodyObject
- type UpdateVirtualCurrenciesBalance400JSONResponseBodyType
- type UpdateVirtualCurrenciesBalance401JSONResponseBodyObject
- type UpdateVirtualCurrenciesBalance401JSONResponseBodyType
- type UpdateVirtualCurrenciesBalance403JSONResponseBodyObject
- type UpdateVirtualCurrenciesBalance403JSONResponseBodyType
- type UpdateVirtualCurrenciesBalance404JSONResponseBodyObject
- type UpdateVirtualCurrenciesBalance404JSONResponseBodyType
- type UpdateVirtualCurrenciesBalance409JSONResponseBodyObject
- type UpdateVirtualCurrenciesBalance409JSONResponseBodyType
- type UpdateVirtualCurrenciesBalance422JSONResponseBodyObject
- type UpdateVirtualCurrenciesBalance422JSONResponseBodyType
- type UpdateVirtualCurrenciesBalance423JSONResponseBodyObject
- type UpdateVirtualCurrenciesBalance423JSONResponseBodyType
- type UpdateVirtualCurrenciesBalance429JSONResponseBodyObject
- type UpdateVirtualCurrenciesBalance429JSONResponseBodyType
- type UpdateVirtualCurrenciesBalance500JSONResponseBodyObject
- type UpdateVirtualCurrenciesBalance500JSONResponseBodyType
- type UpdateVirtualCurrenciesBalance503JSONResponseBodyObject
- type UpdateVirtualCurrenciesBalance503JSONResponseBodyType
- type UpdateVirtualCurrenciesBalanceJSONBody
- type UpdateVirtualCurrenciesBalanceJSONRequestBody
- type UpdateVirtualCurrenciesBalanceParams
- type UpdateVirtualCurrency400JSONResponseBodyObject
- type UpdateVirtualCurrency400JSONResponseBodyType
- type UpdateVirtualCurrency401JSONResponseBodyObject
- type UpdateVirtualCurrency401JSONResponseBodyType
- type UpdateVirtualCurrency403JSONResponseBodyObject
- type UpdateVirtualCurrency403JSONResponseBodyType
- type UpdateVirtualCurrency404JSONResponseBodyObject
- type UpdateVirtualCurrency404JSONResponseBodyType
- type UpdateVirtualCurrency409JSONResponseBodyObject
- type UpdateVirtualCurrency409JSONResponseBodyType
- type UpdateVirtualCurrency422JSONResponseBodyObject
- type UpdateVirtualCurrency422JSONResponseBodyType
- type UpdateVirtualCurrency423JSONResponseBodyObject
- type UpdateVirtualCurrency423JSONResponseBodyType
- type UpdateVirtualCurrency429JSONResponseBodyObject
- type UpdateVirtualCurrency429JSONResponseBodyType
- type UpdateVirtualCurrency500JSONResponseBodyObject
- type UpdateVirtualCurrency500JSONResponseBodyType
- type UpdateVirtualCurrency503JSONResponseBodyObject
- type UpdateVirtualCurrency503JSONResponseBodyType
- type UpdateVirtualCurrencyJSONBody
- type UpdateVirtualCurrencyJSONRequestBody
- type UpdateWebhookIntegration400JSONResponseBodyObject
- type UpdateWebhookIntegration400JSONResponseBodyType
- type UpdateWebhookIntegration401JSONResponseBodyObject
- type UpdateWebhookIntegration401JSONResponseBodyType
- type UpdateWebhookIntegration403JSONResponseBodyObject
- type UpdateWebhookIntegration403JSONResponseBodyType
- type UpdateWebhookIntegration404JSONResponseBodyObject
- type UpdateWebhookIntegration404JSONResponseBodyType
- type UpdateWebhookIntegration409JSONResponseBodyObject
- type UpdateWebhookIntegration409JSONResponseBodyType
- type UpdateWebhookIntegration422JSONResponseBodyObject
- type UpdateWebhookIntegration422JSONResponseBodyType
- type UpdateWebhookIntegration423JSONResponseBodyObject
- type UpdateWebhookIntegration423JSONResponseBodyType
- type UpdateWebhookIntegration429JSONResponseBodyObject
- type UpdateWebhookIntegration429JSONResponseBodyType
- type UpdateWebhookIntegration500JSONResponseBodyObject
- type UpdateWebhookIntegration500JSONResponseBodyType
- type UpdateWebhookIntegration503JSONResponseBodyObject
- type UpdateWebhookIntegration503JSONResponseBodyType
- type UpdateWebhookIntegrationInput
- type UpdateWebhookIntegrationInputEnvironment
- type UpdateWebhookIntegrationJSONRequestBody
- type UploadHeader
- type UploadOperation
- type VirtualCurrency
- type VirtualCurrencyBalance
- type VirtualCurrencyBalanceObject
- type VirtualCurrencyObject
- type VirtualCurrencyProductGrant
- type VirtualCurrencyProductGrantInput
- type VirtualCurrencyProductGrantObject
- type VirtualCurrencyState
- type Webhook
- type WebhookCreate
- type WebhookEventType
- type WebhookUpdate
- type WebhooksService
- func (s *WebhooksService) Create(ctx context.Context, projectID string, body WebhookCreate) (*Webhook, error)
- func (s *WebhooksService) Delete(ctx context.Context, projectID, id string) error
- func (s *WebhooksService) Get(ctx context.Context, projectID, id string) (*Webhook, error)
- func (s *WebhooksService) List(ctx context.Context, projectID string) (*Page[Webhook], error)
- func (s *WebhooksService) Update(ctx context.Context, projectID, id string, body WebhookUpdate) (*Webhook, error)
Constants ¶
const DefaultBaseURL = "https://api.revenuecat.com/v2"
const DefaultOAuthBaseURL = "https://api.revenuecat.com"
const DefaultOAuthClientID = "cmV2ZW51ZWNhdC1jbGk="
const DefaultOAuthScope = "*:*:read_write"
const DefaultSDKBaseURL = "https://api.revenuecat.com/v1"
Variables ¶
var ValidChartNames = []string{
"actives", "actives_movement", "actives_new", "arr", "churn",
"cohort_explorer", "conversion_to_paying", "customers_active",
"customers_new", "ltv_per_customer", "ltv_per_paying_customer",
"mrr", "mrr_movement", "prediction_explorer", "refund_rate", "revenue",
"subscription_retention", "subscription_status", "trial_conversion_rate",
"trials", "trials_movement", "trials_new",
}
ValidChartNames is the closed enum the API enforces server-side. Discovered by triggering a parameter_error: any name outside this list returns 400. Kept here so we can validate locally and offer shell completion.
Functions ¶
func GeneratePKCE ¶
GeneratePKCE returns a (verifier, challenge) pair for the S256 method. verifier is 43 URL-safe chars; challenge is BASE64URL(SHA256(verifier)).
func GenerateState ¶
GenerateState returns a random URL-safe string suitable for use as the OAuth state parameter.
func IsAlreadyExists ¶
IsAlreadyExists reports a 409 resource_already_exists.
func IsParameterError ¶
IsParameterError reports a 400/422 parameter_error.
func IsRateLimited ¶
IsRateLimited reports a 429. The spec type is rate_limit_error; parseError's bodyless fallback uses rate_limit_exceeded.
func IsServerError ¶
IsServerError reports a 500/502 server_error.
func IsUnauthorized ¶
IsUnauthorized reports a 401 (authentication_error) or 403 (authorization_error); parseError's bodyless fallback for both uses unauthorized.
func IsValidChartName ¶
func MissingScope ¶
MissingScope extracts the scope named in a permission/scope error message, or "" if none.
Types ¶
type APIError ¶
type APIError struct {
Status int `json:"-"`
Type string `json:"type"`
Message string `json:"message"`
DocURL string `json:"doc_url,omitempty"`
Retryable bool `json:"retryable,omitempty"`
RequestID string `json:"-"` // X-Request-Id header, not in body
RetryAfterSeconds int `json:"retry_after,omitempty"` // Retry-After header on 429
// CredentialSource names where the request's credential came from; set by the client, not the wire.
CredentialSource string `json:"-"`
}
APIError is the typed error returned for all non-2xx API responses.
Wire shape, learned from real fixtures:
{
"type": "resource_missing",
"message": "Resource not found",
"doc_url": "https://errors.rev.cat/resource-missing",
"retryable": false,
"object": "error"
}
CLI exit codes are mapped from Type in internal/cli/runtime.go.
type AmazonApp ¶
type AmazonApp struct {
// Amazon Amazon type details
Amazon AmazonApp_Amazon `json:"amazon"`
// CreatedAt The date when the app was created in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// CustomURLScheme The custom URL scheme for the app, derived from the app's public ID.
//
// Example: rc-1a2b3c4
CustomURLScheme string `json:"custom_url_scheme"`
// ID The id of the app
//
// Example: app1a2b3c4
ID string `json:"id"`
// Name The name of the app
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object AmazonAppObject `json:"object"`
// ProjectID The id of the project
//
// Example: proj1a2b3c4
ProjectID string `json:"project_id"`
// Type The platform of the app
//
// Example: amazon
Type AmazonAppType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AmazonApp defines model for AmazonApp.
func (AmazonApp) Get ¶
Getter for additional properties for AmazonApp. Returns the specified element and whether it was found
func (AmazonApp) MarshalJSON ¶
Override default JSON handling for AmazonApp to handle AdditionalProperties
func (*AmazonApp) UnmarshalJSON ¶
Override default JSON handling for AmazonApp to handle AdditionalProperties
type AmazonAppConfig ¶
type AmazonAppConfig struct {
PackageName string `json:"package_name"`
}
type AmazonAppCreate ¶
type AmazonAppCreate struct {
// Amazon Amazon type details. Should only be used when type is amazon.
Amazon struct {
// PackageName The package name of the app
PackageName string `json:"package_name"`
// SharedSecret Your Amazon Developer Identity Shared Key
SharedSecret *string `json:"shared_secret,omitempty"`
} `json:"amazon"`
// Name The name of the app
Name string `json:"name"`
// Type The platform of the app.
// Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
Type AmazonAppCreateType `json:"type"`
}
AmazonAppCreate defines model for AmazonAppCreate.
type AmazonAppCreateType ¶
type AmazonAppCreateType string
AmazonAppCreateType The platform of the app. Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
const (
AmazonAppCreateTypeAmazon AmazonAppCreateType = "amazon"
)
Defines values for AmazonAppCreateType.
func (AmazonAppCreateType) Valid ¶
func (e AmazonAppCreateType) Valid() bool
Valid indicates whether the value is a known member of the AmazonAppCreateType enum.
type AmazonAppObject ¶
type AmazonAppObject string
AmazonAppObject String representing the object's type. Objects of the same type share the same value.
const (
AmazonAppObjectApp AmazonAppObject = "app"
)
Defines values for AmazonAppObject.
func (AmazonAppObject) Valid ¶
func (e AmazonAppObject) Valid() bool
Valid indicates whether the value is a known member of the AmazonAppObject enum.
type AmazonAppType ¶
type AmazonAppType string
AmazonAppType The platform of the app
Example: amazon
const (
AmazonAppTypeAmazon AmazonAppType = "amazon"
)
Defines values for AmazonAppType.
func (AmazonAppType) Valid ¶
func (e AmazonAppType) Valid() bool
Valid indicates whether the value is a known member of the AmazonAppType enum.
type AmazonApp_Amazon ¶
type AmazonApp_Amazon struct {
// PackageName The package name of the app
PackageName string `json:"package_name"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AmazonApp_Amazon Amazon type details
func (AmazonApp_Amazon) Get ¶
func (a AmazonApp_Amazon) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for AmazonApp_Amazon. Returns the specified element and whether it was found
func (AmazonApp_Amazon) MarshalJSON ¶
func (a AmazonApp_Amazon) MarshalJSON() ([]byte, error)
Override default JSON handling for AmazonApp_Amazon to handle AdditionalProperties
func (*AmazonApp_Amazon) Set ¶
func (a *AmazonApp_Amazon) Set(fieldName string, value interface{})
Setter for additional properties for AmazonApp_Amazon
func (*AmazonApp_Amazon) UnmarshalJSON ¶
func (a *AmazonApp_Amazon) UnmarshalJSON(b []byte) error
Override default JSON handling for AmazonApp_Amazon to handle AdditionalProperties
type AmountMicros ¶
type AmountMicros = int
AmountMicros The price in micros. For example, USD 1 would be represented as 1000000
Example: For 99.99, the value should be 99990000
type App ¶
type App struct {
// Amazon Amazon type details
Amazon *struct {
// PackageName The package name of the app
PackageName string `json:"package_name"`
} `json:"amazon,omitempty"`
// AppStore App Store type details
AppStore *struct {
// AppStoreConnectAPIKeyConfigured Whether App Store Connect API key credentials are configured.
//
// Example: true
AppStoreConnectAPIKeyConfigured bool `json:"app_store_connect_api_key_configured"`
// BundleID The bundle ID of the app
BundleID string `json:"bundle_id"`
// SubscriptionKeyConfigured Whether In-App Purchase subscription key credentials are configured.
//
// Example: true
SubscriptionKeyConfigured bool `json:"subscription_key_configured"`
} `json:"app_store,omitempty"`
// CreatedAt The date when the app was created in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// ID The id of the app
//
// Example: app1a2b3c4
ID string `json:"id"`
// MacAppStore Legacy Mac App Store type details
MacAppStore *struct {
// BundleID The bundle ID of the app
BundleID string `json:"bundle_id"`
} `json:"mac_app_store,omitempty"`
// Name The name of the app
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object AppObject `json:"object"`
// Paddle Paddle Billing type details
Paddle *struct {
// PaddleAPIKey Paddle Server-side API key provided on the Paddle dashboard.
PaddleAPIKey *string `json:"paddle_api_key,omitempty"`
// PaddleIsSandbox Whether the app is tied to the sandbox environment.
//
// Example: true
PaddleIsSandbox *bool `json:"paddle_is_sandbox,omitempty"`
} `json:"paddle,omitempty"`
// PlayStore Play Store type details
PlayStore *struct {
// PackageName The package name of the app
PackageName string `json:"package_name"`
} `json:"play_store,omitempty"`
// ProjectID The id of the project
//
// Example: proj1a2b3c4
ProjectID string `json:"project_id"`
// RcBilling Revenue Cat Billing Store type details
RcBilling *struct {
// AppName Shown in checkout, emails, and receipts sent to customers.
AppName *string `json:"app_name,omitempty"`
// DefaultCurrency ISO 4217 currency code
//
// Example: USD
DefaultCurrency RCBillingCurrency `json:"default_currency"`
// SellerCompanyName The company name. This field is deprecated. Please, use `app_name` instead.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
SellerCompanyName string `json:"seller_company_name"`
// SellerCompanySupportEmail The company support email. This field is deprecated. Please, use `support_email` instead.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
SellerCompanySupportEmail *string `json:"seller_company_support_email,omitempty"`
// StripeAccountID Stripe account connected to your RevenueCat account.
StripeAccountID *string `json:"stripe_account_id,omitempty"`
// SupportEmail Used as the `reply to` address in all emails sent to customers, to allow them to receive support.
SupportEmail *string `json:"support_email,omitempty"`
} `json:"rc_billing,omitempty"`
// Roku Roku Channel Store type details
Roku *struct {
// RokuChannelID Channel ID provided on the Roku Channel page.
RokuChannelID *string `json:"roku_channel_id,omitempty"`
// RokuChannelName Channel name that is displayed on the Roku Channel page.
RokuChannelName *string `json:"roku_channel_name,omitempty"`
} `json:"roku,omitempty"`
// Stripe Stripe type details
Stripe *struct {
// StripeAccountID Stripe account connected to your RevenueCat account.
StripeAccountID *string `json:"stripe_account_id,omitempty"`
} `json:"stripe,omitempty"`
// Type The platform of the app
//
// Example: app_store
Type AppType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
type AppCreate ¶
type AppCreate struct {
Name string `json:"name"`
Type string `json:"type"`
Amazon *AmazonAppConfig `json:"amazon,omitempty"`
AppStore *AppStoreAppConfig `json:"app_store,omitempty"`
MacAppStore *MacAppStoreConfig `json:"mac_app_store,omitempty"`
Paddle *PaddleAppConfig `json:"paddle,omitempty"`
PlayStore *PlayStoreAppConfig `json:"play_store,omitempty"`
RCBilling *RCBillingConfig `json:"rc_billing,omitempty"`
Roku *RokuAppConfig `json:"roku,omitempty"`
Stripe *StripeAppConfig `json:"stripe,omitempty"`
}
type AppExtras ¶
type AppExtras struct {
CustomURLScheme string `json:"custom_url_scheme,omitempty"`
AppStore *struct {
VendorNumber string `json:"app_store_connect_vendor_number,omitempty"`
} `json:"app_store,omitempty"`
}
AppExtras carries App read-model fields added after the generated types were last regenerated: the custom URL scheme used for paywall preview / redemption deep links, and the App Store vendor number. Both are empty when unset or when the server predates the fields.
func (*AppExtras) AppStoreVendorNumber ¶
type AppStoreApp ¶
type AppStoreApp struct {
// AppStore App Store type details
AppStore AppStoreApp_AppStore `json:"app_store"`
// CreatedAt The date when the app was created in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// CustomURLScheme The custom URL scheme for the app, derived from the app's public ID.
//
// Example: rc-1a2b3c4
CustomURLScheme string `json:"custom_url_scheme"`
// ID The id of the app
//
// Example: app1a2b3c4
ID string `json:"id"`
// Name The name of the app
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object AppStoreAppObject `json:"object"`
// ProjectID The id of the project
//
// Example: proj1a2b3c4
ProjectID string `json:"project_id"`
// Type The platform of the app
//
// Example: app_store
Type AppStoreAppType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AppStoreApp defines model for AppStoreApp.
func (AppStoreApp) Get ¶
func (a AppStoreApp) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for AppStoreApp. Returns the specified element and whether it was found
func (AppStoreApp) MarshalJSON ¶
func (a AppStoreApp) MarshalJSON() ([]byte, error)
Override default JSON handling for AppStoreApp to handle AdditionalProperties
func (*AppStoreApp) Set ¶
func (a *AppStoreApp) Set(fieldName string, value interface{})
Setter for additional properties for AppStoreApp
func (*AppStoreApp) UnmarshalJSON ¶
func (a *AppStoreApp) UnmarshalJSON(b []byte) error
Override default JSON handling for AppStoreApp to handle AdditionalProperties
type AppStoreAppConfig ¶
type AppStoreAppConfig struct {
BundleID string `json:"bundle_id,omitempty"`
SubscriptionPrivateKey *string `json:"subscription_private_key,omitempty"`
SubscriptionKeyID *string `json:"subscription_key_id,omitempty"`
SubscriptionKeyIssuer *string `json:"subscription_key_issuer,omitempty"`
AppStoreConnectAPIKey *string `json:"app_store_connect_api_key,omitempty"`
AppStoreConnectAPIKeyID *string `json:"app_store_connect_api_key_id,omitempty"`
AppStoreConnectAPIKeyIssuer *string `json:"app_store_connect_api_key_issuer,omitempty"`
AppStoreConnectVendorNumber *string `json:"app_store_connect_vendor_number,omitempty"`
}
type AppStoreAppCreate ¶
type AppStoreAppCreate struct {
// AppStore App Store type details. Should only be used when type is app_store.
AppStore struct {
// AppStoreConnectAPIKey App Store Connect API Key downloaded from App Store Connect in PEM format. Copy the contents
// of the file in this field. This is optional and used for advanced features like product imports.
AppStoreConnectAPIKey *string `json:"app_store_connect_api_key,omitempty"`
// AppStoreConnectAPIKeyID App Store Connect API Key ID. The ID of the downloaded API key. You can get it from App Store Connect.
AppStoreConnectAPIKeyID *string `json:"app_store_connect_api_key_id,omitempty"`
// AppStoreConnectAPIKeyIssuer App Store Connect API Key Issuer ID.
AppStoreConnectAPIKeyIssuer *string `json:"app_store_connect_api_key_issuer,omitempty"`
// AppStoreConnectVendorNumber Your vendor number from App Store Connect. Required for some features like financial reports.
AppStoreConnectVendorNumber *string `json:"app_store_connect_vendor_number,omitempty"`
// BundleID The bundle ID of the app
BundleID string `json:"bundle_id"`
// SharedSecret The shared secret of the app
SharedSecret *string `json:"shared_secret,omitempty"`
// SubscriptionKeyID In App Key id. The ID of the downloaded in app key. You can get it from App Store Connect
SubscriptionKeyID *string `json:"subscription_key_id,omitempty"`
// SubscriptionKeyIssuer The key Issuer id. See instructions on how to obtain this in: https://www.revenuecat.com/docs/in-app-purchase-key-configuration#3-providing-the-issuer-id-to-revenuecat
SubscriptionKeyIssuer *string `json:"subscription_key_issuer,omitempty"`
// SubscriptionPrivateKey PKCS /#8 In App Key downloaded from App Store Connect in PEM format. Copy the contents
// of the file in this field. See instructions on how to get it in:
// https://www.revenuecat.com/docs/in-app-purchase-key-configuration
SubscriptionPrivateKey *string `json:"subscription_private_key,omitempty"`
} `json:"app_store"`
// Name The name of the app
Name string `json:"name"`
// Type The platform of the app.
// Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
Type AppStoreAppCreateType `json:"type"`
}
AppStoreAppCreate defines model for AppStoreAppCreate.
type AppStoreAppCreateType ¶
type AppStoreAppCreateType string
AppStoreAppCreateType The platform of the app. Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
const (
AppStoreAppCreateTypeAppStore AppStoreAppCreateType = "app_store"
)
Defines values for AppStoreAppCreateType.
func (AppStoreAppCreateType) Valid ¶
func (e AppStoreAppCreateType) Valid() bool
Valid indicates whether the value is a known member of the AppStoreAppCreateType enum.
type AppStoreAppObject ¶
type AppStoreAppObject string
AppStoreAppObject String representing the object's type. Objects of the same type share the same value.
const (
AppStoreAppObjectApp AppStoreAppObject = "app"
)
Defines values for AppStoreAppObject.
func (AppStoreAppObject) Valid ¶
func (e AppStoreAppObject) Valid() bool
Valid indicates whether the value is a known member of the AppStoreAppObject enum.
type AppStoreAppType ¶
type AppStoreAppType string
AppStoreAppType The platform of the app
Example: app_store
const (
AppStoreAppTypeAppStore AppStoreAppType = "app_store"
)
Defines values for AppStoreAppType.
func (AppStoreAppType) Valid ¶
func (e AppStoreAppType) Valid() bool
Valid indicates whether the value is a known member of the AppStoreAppType enum.
type AppStoreApp_AppStore ¶
type AppStoreApp_AppStore struct {
// AppStoreConnectAPIKeyConfigured Whether App Store Connect API key credentials are configured.
//
// Example: true
AppStoreConnectAPIKeyConfigured bool `json:"app_store_connect_api_key_configured"`
// AppStoreConnectVendorNumber Your vendor number from App Store Connect, or null when not configured.
//
// Example: 81234567
AppStoreConnectVendorNumber *string `json:"app_store_connect_vendor_number,omitempty"`
// BundleID The bundle ID of the app
BundleID string `json:"bundle_id"`
// CustomURLScheme The custom URL scheme for the app, derived from the app's public ID.
//
// Example: rc-1a2b3c4
CustomURLScheme *string `json:"custom_url_scheme,omitempty"`
// SubscriptionKeyConfigured Whether In-App Purchase subscription key credentials are configured.
//
// Example: true
SubscriptionKeyConfigured bool `json:"subscription_key_configured"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AppStoreApp_AppStore App Store type details
func (AppStoreApp_AppStore) Get ¶
func (a AppStoreApp_AppStore) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for AppStoreApp_AppStore. Returns the specified element and whether it was found
func (AppStoreApp_AppStore) MarshalJSON ¶
func (a AppStoreApp_AppStore) MarshalJSON() ([]byte, error)
Override default JSON handling for AppStoreApp_AppStore to handle AdditionalProperties
func (*AppStoreApp_AppStore) Set ¶
func (a *AppStoreApp_AppStore) Set(fieldName string, value interface{})
Setter for additional properties for AppStoreApp_AppStore
func (*AppStoreApp_AppStore) UnmarshalJSON ¶
func (a *AppStoreApp_AppStore) UnmarshalJSON(b []byte) error
Override default JSON handling for AppStoreApp_AppStore to handle AdditionalProperties
type AppUpdate ¶
type AppUpdate struct {
Name *string `json:"name,omitempty"`
AppStore *AppStoreAppConfig `json:"app_store,omitempty"`
PlayStore *PlayStoreAppConfig `json:"play_store,omitempty"`
}
type AppsService ¶
type AppsService struct {
// contains filtered or unexported fields
}
func (*AppsService) Delete ¶
func (s *AppsService) Delete(ctx context.Context, projectID, id string) error
func (*AppsService) List ¶
List follows next_page until the project's apps are drained, like Projects.List — callers (pickers, org-wide identifier lookups) treat the result as the complete set, so a single-page fetch would silently truncate. Object/URL come from the first page; NextPage is always empty on return.
func (*AppsService) PublicAPIKeys ¶
func (s *AppsService) PublicAPIKeys(ctx context.Context, projectID, appID string) (*ListPublicAPIKeys, error)
func (*AppsService) StoreKitConfig ¶
func (s *AppsService) StoreKitConfig(ctx context.Context, projectID, appID string) (*StoreKitConfigFile, error)
GET /projects/{project_id}/apps/{app_id}/store_kit_config
type ArchiveEntitlement400JSONResponseBodyObject ¶
type ArchiveEntitlement400JSONResponseBodyObject string
ArchiveEntitlement400JSONResponseBodyObject defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement400JSONResponseBodyObjectError ArchiveEntitlement400JSONResponseBodyObject = "error"
)
Defines values for ArchiveEntitlement400JSONResponseBodyObject.
func (ArchiveEntitlement400JSONResponseBodyObject) Valid ¶
func (e ArchiveEntitlement400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement400JSONResponseBodyObject enum.
type ArchiveEntitlement400JSONResponseBodyType ¶
type ArchiveEntitlement400JSONResponseBodyType string
ArchiveEntitlement400JSONResponseBodyType defines parameters for ArchiveEntitlement.
const ( ArchiveEntitlement400JSONResponseBodyTypeInvalidRequest ArchiveEntitlement400JSONResponseBodyType = "invalid_request" ArchiveEntitlement400JSONResponseBodyTypeParameterError ArchiveEntitlement400JSONResponseBodyType = "parameter_error" )
Defines values for ArchiveEntitlement400JSONResponseBodyType.
func (ArchiveEntitlement400JSONResponseBodyType) Valid ¶
func (e ArchiveEntitlement400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement400JSONResponseBodyType enum.
type ArchiveEntitlement401JSONResponseBodyObject ¶
type ArchiveEntitlement401JSONResponseBodyObject string
ArchiveEntitlement401JSONResponseBodyObject defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement401JSONResponseBodyObjectError ArchiveEntitlement401JSONResponseBodyObject = "error"
)
Defines values for ArchiveEntitlement401JSONResponseBodyObject.
func (ArchiveEntitlement401JSONResponseBodyObject) Valid ¶
func (e ArchiveEntitlement401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement401JSONResponseBodyObject enum.
type ArchiveEntitlement401JSONResponseBodyType ¶
type ArchiveEntitlement401JSONResponseBodyType string
ArchiveEntitlement401JSONResponseBodyType defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement401JSONResponseBodyTypeAuthenticationError ArchiveEntitlement401JSONResponseBodyType = "authentication_error"
)
Defines values for ArchiveEntitlement401JSONResponseBodyType.
func (ArchiveEntitlement401JSONResponseBodyType) Valid ¶
func (e ArchiveEntitlement401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement401JSONResponseBodyType enum.
type ArchiveEntitlement403JSONResponseBodyObject ¶
type ArchiveEntitlement403JSONResponseBodyObject string
ArchiveEntitlement403JSONResponseBodyObject defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement403JSONResponseBodyObjectError ArchiveEntitlement403JSONResponseBodyObject = "error"
)
Defines values for ArchiveEntitlement403JSONResponseBodyObject.
func (ArchiveEntitlement403JSONResponseBodyObject) Valid ¶
func (e ArchiveEntitlement403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement403JSONResponseBodyObject enum.
type ArchiveEntitlement403JSONResponseBodyType ¶
type ArchiveEntitlement403JSONResponseBodyType string
ArchiveEntitlement403JSONResponseBodyType defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement403JSONResponseBodyTypeAuthorizationError ArchiveEntitlement403JSONResponseBodyType = "authorization_error"
)
Defines values for ArchiveEntitlement403JSONResponseBodyType.
func (ArchiveEntitlement403JSONResponseBodyType) Valid ¶
func (e ArchiveEntitlement403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement403JSONResponseBodyType enum.
type ArchiveEntitlement404JSONResponseBodyObject ¶
type ArchiveEntitlement404JSONResponseBodyObject string
ArchiveEntitlement404JSONResponseBodyObject defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement404JSONResponseBodyObjectError ArchiveEntitlement404JSONResponseBodyObject = "error"
)
Defines values for ArchiveEntitlement404JSONResponseBodyObject.
func (ArchiveEntitlement404JSONResponseBodyObject) Valid ¶
func (e ArchiveEntitlement404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement404JSONResponseBodyObject enum.
type ArchiveEntitlement404JSONResponseBodyType ¶
type ArchiveEntitlement404JSONResponseBodyType string
ArchiveEntitlement404JSONResponseBodyType defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement404JSONResponseBodyTypeResourceMissing ArchiveEntitlement404JSONResponseBodyType = "resource_missing"
)
Defines values for ArchiveEntitlement404JSONResponseBodyType.
func (ArchiveEntitlement404JSONResponseBodyType) Valid ¶
func (e ArchiveEntitlement404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement404JSONResponseBodyType enum.
type ArchiveEntitlement409JSONResponseBodyObject ¶
type ArchiveEntitlement409JSONResponseBodyObject string
ArchiveEntitlement409JSONResponseBodyObject defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement409JSONResponseBodyObjectError ArchiveEntitlement409JSONResponseBodyObject = "error"
)
Defines values for ArchiveEntitlement409JSONResponseBodyObject.
func (ArchiveEntitlement409JSONResponseBodyObject) Valid ¶
func (e ArchiveEntitlement409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement409JSONResponseBodyObject enum.
type ArchiveEntitlement409JSONResponseBodyType ¶
type ArchiveEntitlement409JSONResponseBodyType string
ArchiveEntitlement409JSONResponseBodyType defines parameters for ArchiveEntitlement.
const ( ArchiveEntitlement409JSONResponseBodyTypeIdempotencyError ArchiveEntitlement409JSONResponseBodyType = "idempotency_error" ArchiveEntitlement409JSONResponseBodyTypeInvalidRequest ArchiveEntitlement409JSONResponseBodyType = "invalid_request" ArchiveEntitlement409JSONResponseBodyTypeResourceAlreadyExists ArchiveEntitlement409JSONResponseBodyType = "resource_already_exists" )
Defines values for ArchiveEntitlement409JSONResponseBodyType.
func (ArchiveEntitlement409JSONResponseBodyType) Valid ¶
func (e ArchiveEntitlement409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement409JSONResponseBodyType enum.
type ArchiveEntitlement422JSONResponseBodyObject ¶
type ArchiveEntitlement422JSONResponseBodyObject string
ArchiveEntitlement422JSONResponseBodyObject defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement422JSONResponseBodyObjectError ArchiveEntitlement422JSONResponseBodyObject = "error"
)
Defines values for ArchiveEntitlement422JSONResponseBodyObject.
func (ArchiveEntitlement422JSONResponseBodyObject) Valid ¶
func (e ArchiveEntitlement422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement422JSONResponseBodyObject enum.
type ArchiveEntitlement422JSONResponseBodyType ¶
type ArchiveEntitlement422JSONResponseBodyType string
ArchiveEntitlement422JSONResponseBodyType defines parameters for ArchiveEntitlement.
const ( ArchiveEntitlement422JSONResponseBodyTypeEntityReferencesArchivedEntities ArchiveEntitlement422JSONResponseBodyType = "entity_references_archived_entities" ArchiveEntitlement422JSONResponseBodyTypeParameterError ArchiveEntitlement422JSONResponseBodyType = "parameter_error" ArchiveEntitlement422JSONResponseBodyTypeStoreError ArchiveEntitlement422JSONResponseBodyType = "store_error" ArchiveEntitlement422JSONResponseBodyTypeUnprocessableEntityError ArchiveEntitlement422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for ArchiveEntitlement422JSONResponseBodyType.
func (ArchiveEntitlement422JSONResponseBodyType) Valid ¶
func (e ArchiveEntitlement422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement422JSONResponseBodyType enum.
type ArchiveEntitlement423JSONResponseBodyObject ¶
type ArchiveEntitlement423JSONResponseBodyObject string
ArchiveEntitlement423JSONResponseBodyObject defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement423JSONResponseBodyObjectError ArchiveEntitlement423JSONResponseBodyObject = "error"
)
Defines values for ArchiveEntitlement423JSONResponseBodyObject.
func (ArchiveEntitlement423JSONResponseBodyObject) Valid ¶
func (e ArchiveEntitlement423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement423JSONResponseBodyObject enum.
type ArchiveEntitlement423JSONResponseBodyType ¶
type ArchiveEntitlement423JSONResponseBodyType string
ArchiveEntitlement423JSONResponseBodyType defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement423JSONResponseBodyTypeResourceLockedError ArchiveEntitlement423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ArchiveEntitlement423JSONResponseBodyType.
func (ArchiveEntitlement423JSONResponseBodyType) Valid ¶
func (e ArchiveEntitlement423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement423JSONResponseBodyType enum.
type ArchiveEntitlement429JSONResponseBodyObject ¶
type ArchiveEntitlement429JSONResponseBodyObject string
ArchiveEntitlement429JSONResponseBodyObject defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement429JSONResponseBodyObjectError ArchiveEntitlement429JSONResponseBodyObject = "error"
)
Defines values for ArchiveEntitlement429JSONResponseBodyObject.
func (ArchiveEntitlement429JSONResponseBodyObject) Valid ¶
func (e ArchiveEntitlement429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement429JSONResponseBodyObject enum.
type ArchiveEntitlement429JSONResponseBodyType ¶
type ArchiveEntitlement429JSONResponseBodyType string
ArchiveEntitlement429JSONResponseBodyType defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement429JSONResponseBodyTypeRateLimitError ArchiveEntitlement429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ArchiveEntitlement429JSONResponseBodyType.
func (ArchiveEntitlement429JSONResponseBodyType) Valid ¶
func (e ArchiveEntitlement429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement429JSONResponseBodyType enum.
type ArchiveEntitlement500JSONResponseBodyObject ¶
type ArchiveEntitlement500JSONResponseBodyObject string
ArchiveEntitlement500JSONResponseBodyObject defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement500JSONResponseBodyObjectError ArchiveEntitlement500JSONResponseBodyObject = "error"
)
Defines values for ArchiveEntitlement500JSONResponseBodyObject.
func (ArchiveEntitlement500JSONResponseBodyObject) Valid ¶
func (e ArchiveEntitlement500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement500JSONResponseBodyObject enum.
type ArchiveEntitlement500JSONResponseBodyType ¶
type ArchiveEntitlement500JSONResponseBodyType string
ArchiveEntitlement500JSONResponseBodyType defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement500JSONResponseBodyTypeServerError ArchiveEntitlement500JSONResponseBodyType = "server_error"
)
Defines values for ArchiveEntitlement500JSONResponseBodyType.
func (ArchiveEntitlement500JSONResponseBodyType) Valid ¶
func (e ArchiveEntitlement500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement500JSONResponseBodyType enum.
type ArchiveEntitlement503JSONResponseBodyObject ¶
type ArchiveEntitlement503JSONResponseBodyObject string
ArchiveEntitlement503JSONResponseBodyObject defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement503JSONResponseBodyObjectError ArchiveEntitlement503JSONResponseBodyObject = "error"
)
Defines values for ArchiveEntitlement503JSONResponseBodyObject.
func (ArchiveEntitlement503JSONResponseBodyObject) Valid ¶
func (e ArchiveEntitlement503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement503JSONResponseBodyObject enum.
type ArchiveEntitlement503JSONResponseBodyType ¶
type ArchiveEntitlement503JSONResponseBodyType string
ArchiveEntitlement503JSONResponseBodyType defines parameters for ArchiveEntitlement.
const (
ArchiveEntitlement503JSONResponseBodyTypeServerError ArchiveEntitlement503JSONResponseBodyType = "server_error"
)
Defines values for ArchiveEntitlement503JSONResponseBodyType.
func (ArchiveEntitlement503JSONResponseBodyType) Valid ¶
func (e ArchiveEntitlement503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveEntitlement503JSONResponseBodyType enum.
type ArchiveOffering400JSONResponseBodyObject ¶
type ArchiveOffering400JSONResponseBodyObject string
ArchiveOffering400JSONResponseBodyObject defines parameters for ArchiveOffering.
const (
ArchiveOffering400JSONResponseBodyObjectError ArchiveOffering400JSONResponseBodyObject = "error"
)
Defines values for ArchiveOffering400JSONResponseBodyObject.
func (ArchiveOffering400JSONResponseBodyObject) Valid ¶
func (e ArchiveOffering400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering400JSONResponseBodyObject enum.
type ArchiveOffering400JSONResponseBodyType ¶
type ArchiveOffering400JSONResponseBodyType string
ArchiveOffering400JSONResponseBodyType defines parameters for ArchiveOffering.
const ( ArchiveOffering400JSONResponseBodyTypeInvalidRequest ArchiveOffering400JSONResponseBodyType = "invalid_request" ArchiveOffering400JSONResponseBodyTypeParameterError ArchiveOffering400JSONResponseBodyType = "parameter_error" )
Defines values for ArchiveOffering400JSONResponseBodyType.
func (ArchiveOffering400JSONResponseBodyType) Valid ¶
func (e ArchiveOffering400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering400JSONResponseBodyType enum.
type ArchiveOffering401JSONResponseBodyObject ¶
type ArchiveOffering401JSONResponseBodyObject string
ArchiveOffering401JSONResponseBodyObject defines parameters for ArchiveOffering.
const (
ArchiveOffering401JSONResponseBodyObjectError ArchiveOffering401JSONResponseBodyObject = "error"
)
Defines values for ArchiveOffering401JSONResponseBodyObject.
func (ArchiveOffering401JSONResponseBodyObject) Valid ¶
func (e ArchiveOffering401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering401JSONResponseBodyObject enum.
type ArchiveOffering401JSONResponseBodyType ¶
type ArchiveOffering401JSONResponseBodyType string
ArchiveOffering401JSONResponseBodyType defines parameters for ArchiveOffering.
const (
ArchiveOffering401JSONResponseBodyTypeAuthenticationError ArchiveOffering401JSONResponseBodyType = "authentication_error"
)
Defines values for ArchiveOffering401JSONResponseBodyType.
func (ArchiveOffering401JSONResponseBodyType) Valid ¶
func (e ArchiveOffering401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering401JSONResponseBodyType enum.
type ArchiveOffering403JSONResponseBodyObject ¶
type ArchiveOffering403JSONResponseBodyObject string
ArchiveOffering403JSONResponseBodyObject defines parameters for ArchiveOffering.
const (
ArchiveOffering403JSONResponseBodyObjectError ArchiveOffering403JSONResponseBodyObject = "error"
)
Defines values for ArchiveOffering403JSONResponseBodyObject.
func (ArchiveOffering403JSONResponseBodyObject) Valid ¶
func (e ArchiveOffering403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering403JSONResponseBodyObject enum.
type ArchiveOffering403JSONResponseBodyType ¶
type ArchiveOffering403JSONResponseBodyType string
ArchiveOffering403JSONResponseBodyType defines parameters for ArchiveOffering.
const (
ArchiveOffering403JSONResponseBodyTypeAuthorizationError ArchiveOffering403JSONResponseBodyType = "authorization_error"
)
Defines values for ArchiveOffering403JSONResponseBodyType.
func (ArchiveOffering403JSONResponseBodyType) Valid ¶
func (e ArchiveOffering403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering403JSONResponseBodyType enum.
type ArchiveOffering404JSONResponseBodyObject ¶
type ArchiveOffering404JSONResponseBodyObject string
ArchiveOffering404JSONResponseBodyObject defines parameters for ArchiveOffering.
const (
ArchiveOffering404JSONResponseBodyObjectError ArchiveOffering404JSONResponseBodyObject = "error"
)
Defines values for ArchiveOffering404JSONResponseBodyObject.
func (ArchiveOffering404JSONResponseBodyObject) Valid ¶
func (e ArchiveOffering404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering404JSONResponseBodyObject enum.
type ArchiveOffering404JSONResponseBodyType ¶
type ArchiveOffering404JSONResponseBodyType string
ArchiveOffering404JSONResponseBodyType defines parameters for ArchiveOffering.
const (
ArchiveOffering404JSONResponseBodyTypeResourceMissing ArchiveOffering404JSONResponseBodyType = "resource_missing"
)
Defines values for ArchiveOffering404JSONResponseBodyType.
func (ArchiveOffering404JSONResponseBodyType) Valid ¶
func (e ArchiveOffering404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering404JSONResponseBodyType enum.
type ArchiveOffering409JSONResponseBodyObject ¶
type ArchiveOffering409JSONResponseBodyObject string
ArchiveOffering409JSONResponseBodyObject defines parameters for ArchiveOffering.
const (
ArchiveOffering409JSONResponseBodyObjectError ArchiveOffering409JSONResponseBodyObject = "error"
)
Defines values for ArchiveOffering409JSONResponseBodyObject.
func (ArchiveOffering409JSONResponseBodyObject) Valid ¶
func (e ArchiveOffering409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering409JSONResponseBodyObject enum.
type ArchiveOffering409JSONResponseBodyType ¶
type ArchiveOffering409JSONResponseBodyType string
ArchiveOffering409JSONResponseBodyType defines parameters for ArchiveOffering.
const ( ArchiveOffering409JSONResponseBodyTypeIdempotencyError ArchiveOffering409JSONResponseBodyType = "idempotency_error" ArchiveOffering409JSONResponseBodyTypeInvalidRequest ArchiveOffering409JSONResponseBodyType = "invalid_request" ArchiveOffering409JSONResponseBodyTypeResourceAlreadyExists ArchiveOffering409JSONResponseBodyType = "resource_already_exists" )
Defines values for ArchiveOffering409JSONResponseBodyType.
func (ArchiveOffering409JSONResponseBodyType) Valid ¶
func (e ArchiveOffering409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering409JSONResponseBodyType enum.
type ArchiveOffering422JSONResponseBodyObject ¶
type ArchiveOffering422JSONResponseBodyObject string
ArchiveOffering422JSONResponseBodyObject defines parameters for ArchiveOffering.
const (
ArchiveOffering422JSONResponseBodyObjectError ArchiveOffering422JSONResponseBodyObject = "error"
)
Defines values for ArchiveOffering422JSONResponseBodyObject.
func (ArchiveOffering422JSONResponseBodyObject) Valid ¶
func (e ArchiveOffering422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering422JSONResponseBodyObject enum.
type ArchiveOffering422JSONResponseBodyType ¶
type ArchiveOffering422JSONResponseBodyType string
ArchiveOffering422JSONResponseBodyType defines parameters for ArchiveOffering.
const ( ArchiveOffering422JSONResponseBodyTypeEntityReferencesArchivedEntities ArchiveOffering422JSONResponseBodyType = "entity_references_archived_entities" ArchiveOffering422JSONResponseBodyTypeParameterError ArchiveOffering422JSONResponseBodyType = "parameter_error" ArchiveOffering422JSONResponseBodyTypeStoreError ArchiveOffering422JSONResponseBodyType = "store_error" ArchiveOffering422JSONResponseBodyTypeUnprocessableEntityError ArchiveOffering422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for ArchiveOffering422JSONResponseBodyType.
func (ArchiveOffering422JSONResponseBodyType) Valid ¶
func (e ArchiveOffering422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering422JSONResponseBodyType enum.
type ArchiveOffering423JSONResponseBodyObject ¶
type ArchiveOffering423JSONResponseBodyObject string
ArchiveOffering423JSONResponseBodyObject defines parameters for ArchiveOffering.
const (
ArchiveOffering423JSONResponseBodyObjectError ArchiveOffering423JSONResponseBodyObject = "error"
)
Defines values for ArchiveOffering423JSONResponseBodyObject.
func (ArchiveOffering423JSONResponseBodyObject) Valid ¶
func (e ArchiveOffering423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering423JSONResponseBodyObject enum.
type ArchiveOffering423JSONResponseBodyType ¶
type ArchiveOffering423JSONResponseBodyType string
ArchiveOffering423JSONResponseBodyType defines parameters for ArchiveOffering.
const (
ArchiveOffering423JSONResponseBodyTypeResourceLockedError ArchiveOffering423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ArchiveOffering423JSONResponseBodyType.
func (ArchiveOffering423JSONResponseBodyType) Valid ¶
func (e ArchiveOffering423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering423JSONResponseBodyType enum.
type ArchiveOffering429JSONResponseBodyObject ¶
type ArchiveOffering429JSONResponseBodyObject string
ArchiveOffering429JSONResponseBodyObject defines parameters for ArchiveOffering.
const (
ArchiveOffering429JSONResponseBodyObjectError ArchiveOffering429JSONResponseBodyObject = "error"
)
Defines values for ArchiveOffering429JSONResponseBodyObject.
func (ArchiveOffering429JSONResponseBodyObject) Valid ¶
func (e ArchiveOffering429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering429JSONResponseBodyObject enum.
type ArchiveOffering429JSONResponseBodyType ¶
type ArchiveOffering429JSONResponseBodyType string
ArchiveOffering429JSONResponseBodyType defines parameters for ArchiveOffering.
const (
ArchiveOffering429JSONResponseBodyTypeRateLimitError ArchiveOffering429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ArchiveOffering429JSONResponseBodyType.
func (ArchiveOffering429JSONResponseBodyType) Valid ¶
func (e ArchiveOffering429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering429JSONResponseBodyType enum.
type ArchiveOffering500JSONResponseBodyObject ¶
type ArchiveOffering500JSONResponseBodyObject string
ArchiveOffering500JSONResponseBodyObject defines parameters for ArchiveOffering.
const (
ArchiveOffering500JSONResponseBodyObjectError ArchiveOffering500JSONResponseBodyObject = "error"
)
Defines values for ArchiveOffering500JSONResponseBodyObject.
func (ArchiveOffering500JSONResponseBodyObject) Valid ¶
func (e ArchiveOffering500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering500JSONResponseBodyObject enum.
type ArchiveOffering500JSONResponseBodyType ¶
type ArchiveOffering500JSONResponseBodyType string
ArchiveOffering500JSONResponseBodyType defines parameters for ArchiveOffering.
const (
ArchiveOffering500JSONResponseBodyTypeServerError ArchiveOffering500JSONResponseBodyType = "server_error"
)
Defines values for ArchiveOffering500JSONResponseBodyType.
func (ArchiveOffering500JSONResponseBodyType) Valid ¶
func (e ArchiveOffering500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering500JSONResponseBodyType enum.
type ArchiveOffering503JSONResponseBodyObject ¶
type ArchiveOffering503JSONResponseBodyObject string
ArchiveOffering503JSONResponseBodyObject defines parameters for ArchiveOffering.
const (
ArchiveOffering503JSONResponseBodyObjectError ArchiveOffering503JSONResponseBodyObject = "error"
)
Defines values for ArchiveOffering503JSONResponseBodyObject.
func (ArchiveOffering503JSONResponseBodyObject) Valid ¶
func (e ArchiveOffering503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering503JSONResponseBodyObject enum.
type ArchiveOffering503JSONResponseBodyType ¶
type ArchiveOffering503JSONResponseBodyType string
ArchiveOffering503JSONResponseBodyType defines parameters for ArchiveOffering.
const (
ArchiveOffering503JSONResponseBodyTypeServerError ArchiveOffering503JSONResponseBodyType = "server_error"
)
Defines values for ArchiveOffering503JSONResponseBodyType.
func (ArchiveOffering503JSONResponseBodyType) Valid ¶
func (e ArchiveOffering503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveOffering503JSONResponseBodyType enum.
type ArchiveProduct400JSONResponseBodyObject ¶
type ArchiveProduct400JSONResponseBodyObject string
ArchiveProduct400JSONResponseBodyObject defines parameters for ArchiveProduct.
const (
ArchiveProduct400JSONResponseBodyObjectError ArchiveProduct400JSONResponseBodyObject = "error"
)
Defines values for ArchiveProduct400JSONResponseBodyObject.
func (ArchiveProduct400JSONResponseBodyObject) Valid ¶
func (e ArchiveProduct400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct400JSONResponseBodyObject enum.
type ArchiveProduct400JSONResponseBodyType ¶
type ArchiveProduct400JSONResponseBodyType string
ArchiveProduct400JSONResponseBodyType defines parameters for ArchiveProduct.
const ( ArchiveProduct400JSONResponseBodyTypeInvalidRequest ArchiveProduct400JSONResponseBodyType = "invalid_request" ArchiveProduct400JSONResponseBodyTypeParameterError ArchiveProduct400JSONResponseBodyType = "parameter_error" )
Defines values for ArchiveProduct400JSONResponseBodyType.
func (ArchiveProduct400JSONResponseBodyType) Valid ¶
func (e ArchiveProduct400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct400JSONResponseBodyType enum.
type ArchiveProduct401JSONResponseBodyObject ¶
type ArchiveProduct401JSONResponseBodyObject string
ArchiveProduct401JSONResponseBodyObject defines parameters for ArchiveProduct.
const (
ArchiveProduct401JSONResponseBodyObjectError ArchiveProduct401JSONResponseBodyObject = "error"
)
Defines values for ArchiveProduct401JSONResponseBodyObject.
func (ArchiveProduct401JSONResponseBodyObject) Valid ¶
func (e ArchiveProduct401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct401JSONResponseBodyObject enum.
type ArchiveProduct401JSONResponseBodyType ¶
type ArchiveProduct401JSONResponseBodyType string
ArchiveProduct401JSONResponseBodyType defines parameters for ArchiveProduct.
const (
ArchiveProduct401JSONResponseBodyTypeAuthenticationError ArchiveProduct401JSONResponseBodyType = "authentication_error"
)
Defines values for ArchiveProduct401JSONResponseBodyType.
func (ArchiveProduct401JSONResponseBodyType) Valid ¶
func (e ArchiveProduct401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct401JSONResponseBodyType enum.
type ArchiveProduct403JSONResponseBodyObject ¶
type ArchiveProduct403JSONResponseBodyObject string
ArchiveProduct403JSONResponseBodyObject defines parameters for ArchiveProduct.
const (
ArchiveProduct403JSONResponseBodyObjectError ArchiveProduct403JSONResponseBodyObject = "error"
)
Defines values for ArchiveProduct403JSONResponseBodyObject.
func (ArchiveProduct403JSONResponseBodyObject) Valid ¶
func (e ArchiveProduct403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct403JSONResponseBodyObject enum.
type ArchiveProduct403JSONResponseBodyType ¶
type ArchiveProduct403JSONResponseBodyType string
ArchiveProduct403JSONResponseBodyType defines parameters for ArchiveProduct.
const (
ArchiveProduct403JSONResponseBodyTypeAuthorizationError ArchiveProduct403JSONResponseBodyType = "authorization_error"
)
Defines values for ArchiveProduct403JSONResponseBodyType.
func (ArchiveProduct403JSONResponseBodyType) Valid ¶
func (e ArchiveProduct403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct403JSONResponseBodyType enum.
type ArchiveProduct404JSONResponseBodyObject ¶
type ArchiveProduct404JSONResponseBodyObject string
ArchiveProduct404JSONResponseBodyObject defines parameters for ArchiveProduct.
const (
ArchiveProduct404JSONResponseBodyObjectError ArchiveProduct404JSONResponseBodyObject = "error"
)
Defines values for ArchiveProduct404JSONResponseBodyObject.
func (ArchiveProduct404JSONResponseBodyObject) Valid ¶
func (e ArchiveProduct404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct404JSONResponseBodyObject enum.
type ArchiveProduct404JSONResponseBodyType ¶
type ArchiveProduct404JSONResponseBodyType string
ArchiveProduct404JSONResponseBodyType defines parameters for ArchiveProduct.
const (
ArchiveProduct404JSONResponseBodyTypeResourceMissing ArchiveProduct404JSONResponseBodyType = "resource_missing"
)
Defines values for ArchiveProduct404JSONResponseBodyType.
func (ArchiveProduct404JSONResponseBodyType) Valid ¶
func (e ArchiveProduct404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct404JSONResponseBodyType enum.
type ArchiveProduct409JSONResponseBodyObject ¶
type ArchiveProduct409JSONResponseBodyObject string
ArchiveProduct409JSONResponseBodyObject defines parameters for ArchiveProduct.
const (
ArchiveProduct409JSONResponseBodyObjectError ArchiveProduct409JSONResponseBodyObject = "error"
)
Defines values for ArchiveProduct409JSONResponseBodyObject.
func (ArchiveProduct409JSONResponseBodyObject) Valid ¶
func (e ArchiveProduct409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct409JSONResponseBodyObject enum.
type ArchiveProduct409JSONResponseBodyType ¶
type ArchiveProduct409JSONResponseBodyType string
ArchiveProduct409JSONResponseBodyType defines parameters for ArchiveProduct.
const ( ArchiveProduct409JSONResponseBodyTypeIdempotencyError ArchiveProduct409JSONResponseBodyType = "idempotency_error" ArchiveProduct409JSONResponseBodyTypeInvalidRequest ArchiveProduct409JSONResponseBodyType = "invalid_request" ArchiveProduct409JSONResponseBodyTypeResourceAlreadyExists ArchiveProduct409JSONResponseBodyType = "resource_already_exists" )
Defines values for ArchiveProduct409JSONResponseBodyType.
func (ArchiveProduct409JSONResponseBodyType) Valid ¶
func (e ArchiveProduct409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct409JSONResponseBodyType enum.
type ArchiveProduct422JSONResponseBodyObject ¶
type ArchiveProduct422JSONResponseBodyObject string
ArchiveProduct422JSONResponseBodyObject defines parameters for ArchiveProduct.
const (
ArchiveProduct422JSONResponseBodyObjectError ArchiveProduct422JSONResponseBodyObject = "error"
)
Defines values for ArchiveProduct422JSONResponseBodyObject.
func (ArchiveProduct422JSONResponseBodyObject) Valid ¶
func (e ArchiveProduct422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct422JSONResponseBodyObject enum.
type ArchiveProduct422JSONResponseBodyType ¶
type ArchiveProduct422JSONResponseBodyType string
ArchiveProduct422JSONResponseBodyType defines parameters for ArchiveProduct.
const ( ArchiveProduct422JSONResponseBodyTypeEntityReferencesArchivedEntities ArchiveProduct422JSONResponseBodyType = "entity_references_archived_entities" ArchiveProduct422JSONResponseBodyTypeParameterError ArchiveProduct422JSONResponseBodyType = "parameter_error" ArchiveProduct422JSONResponseBodyTypeStoreError ArchiveProduct422JSONResponseBodyType = "store_error" ArchiveProduct422JSONResponseBodyTypeUnprocessableEntityError ArchiveProduct422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for ArchiveProduct422JSONResponseBodyType.
func (ArchiveProduct422JSONResponseBodyType) Valid ¶
func (e ArchiveProduct422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct422JSONResponseBodyType enum.
type ArchiveProduct423JSONResponseBodyObject ¶
type ArchiveProduct423JSONResponseBodyObject string
ArchiveProduct423JSONResponseBodyObject defines parameters for ArchiveProduct.
const (
ArchiveProduct423JSONResponseBodyObjectError ArchiveProduct423JSONResponseBodyObject = "error"
)
Defines values for ArchiveProduct423JSONResponseBodyObject.
func (ArchiveProduct423JSONResponseBodyObject) Valid ¶
func (e ArchiveProduct423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct423JSONResponseBodyObject enum.
type ArchiveProduct423JSONResponseBodyType ¶
type ArchiveProduct423JSONResponseBodyType string
ArchiveProduct423JSONResponseBodyType defines parameters for ArchiveProduct.
const (
ArchiveProduct423JSONResponseBodyTypeResourceLockedError ArchiveProduct423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ArchiveProduct423JSONResponseBodyType.
func (ArchiveProduct423JSONResponseBodyType) Valid ¶
func (e ArchiveProduct423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct423JSONResponseBodyType enum.
type ArchiveProduct429JSONResponseBodyObject ¶
type ArchiveProduct429JSONResponseBodyObject string
ArchiveProduct429JSONResponseBodyObject defines parameters for ArchiveProduct.
const (
ArchiveProduct429JSONResponseBodyObjectError ArchiveProduct429JSONResponseBodyObject = "error"
)
Defines values for ArchiveProduct429JSONResponseBodyObject.
func (ArchiveProduct429JSONResponseBodyObject) Valid ¶
func (e ArchiveProduct429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct429JSONResponseBodyObject enum.
type ArchiveProduct429JSONResponseBodyType ¶
type ArchiveProduct429JSONResponseBodyType string
ArchiveProduct429JSONResponseBodyType defines parameters for ArchiveProduct.
const (
ArchiveProduct429JSONResponseBodyTypeRateLimitError ArchiveProduct429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ArchiveProduct429JSONResponseBodyType.
func (ArchiveProduct429JSONResponseBodyType) Valid ¶
func (e ArchiveProduct429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct429JSONResponseBodyType enum.
type ArchiveProduct500JSONResponseBodyObject ¶
type ArchiveProduct500JSONResponseBodyObject string
ArchiveProduct500JSONResponseBodyObject defines parameters for ArchiveProduct.
const (
ArchiveProduct500JSONResponseBodyObjectError ArchiveProduct500JSONResponseBodyObject = "error"
)
Defines values for ArchiveProduct500JSONResponseBodyObject.
func (ArchiveProduct500JSONResponseBodyObject) Valid ¶
func (e ArchiveProduct500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct500JSONResponseBodyObject enum.
type ArchiveProduct500JSONResponseBodyType ¶
type ArchiveProduct500JSONResponseBodyType string
ArchiveProduct500JSONResponseBodyType defines parameters for ArchiveProduct.
const (
ArchiveProduct500JSONResponseBodyTypeServerError ArchiveProduct500JSONResponseBodyType = "server_error"
)
Defines values for ArchiveProduct500JSONResponseBodyType.
func (ArchiveProduct500JSONResponseBodyType) Valid ¶
func (e ArchiveProduct500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct500JSONResponseBodyType enum.
type ArchiveProduct503JSONResponseBodyObject ¶
type ArchiveProduct503JSONResponseBodyObject string
ArchiveProduct503JSONResponseBodyObject defines parameters for ArchiveProduct.
const (
ArchiveProduct503JSONResponseBodyObjectError ArchiveProduct503JSONResponseBodyObject = "error"
)
Defines values for ArchiveProduct503JSONResponseBodyObject.
func (ArchiveProduct503JSONResponseBodyObject) Valid ¶
func (e ArchiveProduct503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct503JSONResponseBodyObject enum.
type ArchiveProduct503JSONResponseBodyType ¶
type ArchiveProduct503JSONResponseBodyType string
ArchiveProduct503JSONResponseBodyType defines parameters for ArchiveProduct.
const (
ArchiveProduct503JSONResponseBodyTypeServerError ArchiveProduct503JSONResponseBodyType = "server_error"
)
Defines values for ArchiveProduct503JSONResponseBodyType.
func (ArchiveProduct503JSONResponseBodyType) Valid ¶
func (e ArchiveProduct503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveProduct503JSONResponseBodyType enum.
type ArchiveVirtualCurrency400JSONResponseBodyObject ¶
type ArchiveVirtualCurrency400JSONResponseBodyObject string
ArchiveVirtualCurrency400JSONResponseBodyObject defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency400JSONResponseBodyObjectError ArchiveVirtualCurrency400JSONResponseBodyObject = "error"
)
Defines values for ArchiveVirtualCurrency400JSONResponseBodyObject.
func (ArchiveVirtualCurrency400JSONResponseBodyObject) Valid ¶
func (e ArchiveVirtualCurrency400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency400JSONResponseBodyObject enum.
type ArchiveVirtualCurrency400JSONResponseBodyType ¶
type ArchiveVirtualCurrency400JSONResponseBodyType string
ArchiveVirtualCurrency400JSONResponseBodyType defines parameters for ArchiveVirtualCurrency.
const ( ArchiveVirtualCurrency400JSONResponseBodyTypeInvalidRequest ArchiveVirtualCurrency400JSONResponseBodyType = "invalid_request" ArchiveVirtualCurrency400JSONResponseBodyTypeParameterError ArchiveVirtualCurrency400JSONResponseBodyType = "parameter_error" )
Defines values for ArchiveVirtualCurrency400JSONResponseBodyType.
func (ArchiveVirtualCurrency400JSONResponseBodyType) Valid ¶
func (e ArchiveVirtualCurrency400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency400JSONResponseBodyType enum.
type ArchiveVirtualCurrency401JSONResponseBodyObject ¶
type ArchiveVirtualCurrency401JSONResponseBodyObject string
ArchiveVirtualCurrency401JSONResponseBodyObject defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency401JSONResponseBodyObjectError ArchiveVirtualCurrency401JSONResponseBodyObject = "error"
)
Defines values for ArchiveVirtualCurrency401JSONResponseBodyObject.
func (ArchiveVirtualCurrency401JSONResponseBodyObject) Valid ¶
func (e ArchiveVirtualCurrency401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency401JSONResponseBodyObject enum.
type ArchiveVirtualCurrency401JSONResponseBodyType ¶
type ArchiveVirtualCurrency401JSONResponseBodyType string
ArchiveVirtualCurrency401JSONResponseBodyType defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency401JSONResponseBodyTypeAuthenticationError ArchiveVirtualCurrency401JSONResponseBodyType = "authentication_error"
)
Defines values for ArchiveVirtualCurrency401JSONResponseBodyType.
func (ArchiveVirtualCurrency401JSONResponseBodyType) Valid ¶
func (e ArchiveVirtualCurrency401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency401JSONResponseBodyType enum.
type ArchiveVirtualCurrency403JSONResponseBodyObject ¶
type ArchiveVirtualCurrency403JSONResponseBodyObject string
ArchiveVirtualCurrency403JSONResponseBodyObject defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency403JSONResponseBodyObjectError ArchiveVirtualCurrency403JSONResponseBodyObject = "error"
)
Defines values for ArchiveVirtualCurrency403JSONResponseBodyObject.
func (ArchiveVirtualCurrency403JSONResponseBodyObject) Valid ¶
func (e ArchiveVirtualCurrency403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency403JSONResponseBodyObject enum.
type ArchiveVirtualCurrency403JSONResponseBodyType ¶
type ArchiveVirtualCurrency403JSONResponseBodyType string
ArchiveVirtualCurrency403JSONResponseBodyType defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency403JSONResponseBodyTypeAuthorizationError ArchiveVirtualCurrency403JSONResponseBodyType = "authorization_error"
)
Defines values for ArchiveVirtualCurrency403JSONResponseBodyType.
func (ArchiveVirtualCurrency403JSONResponseBodyType) Valid ¶
func (e ArchiveVirtualCurrency403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency403JSONResponseBodyType enum.
type ArchiveVirtualCurrency404JSONResponseBodyObject ¶
type ArchiveVirtualCurrency404JSONResponseBodyObject string
ArchiveVirtualCurrency404JSONResponseBodyObject defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency404JSONResponseBodyObjectError ArchiveVirtualCurrency404JSONResponseBodyObject = "error"
)
Defines values for ArchiveVirtualCurrency404JSONResponseBodyObject.
func (ArchiveVirtualCurrency404JSONResponseBodyObject) Valid ¶
func (e ArchiveVirtualCurrency404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency404JSONResponseBodyObject enum.
type ArchiveVirtualCurrency404JSONResponseBodyType ¶
type ArchiveVirtualCurrency404JSONResponseBodyType string
ArchiveVirtualCurrency404JSONResponseBodyType defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency404JSONResponseBodyTypeResourceMissing ArchiveVirtualCurrency404JSONResponseBodyType = "resource_missing"
)
Defines values for ArchiveVirtualCurrency404JSONResponseBodyType.
func (ArchiveVirtualCurrency404JSONResponseBodyType) Valid ¶
func (e ArchiveVirtualCurrency404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency404JSONResponseBodyType enum.
type ArchiveVirtualCurrency409JSONResponseBodyObject ¶
type ArchiveVirtualCurrency409JSONResponseBodyObject string
ArchiveVirtualCurrency409JSONResponseBodyObject defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency409JSONResponseBodyObjectError ArchiveVirtualCurrency409JSONResponseBodyObject = "error"
)
Defines values for ArchiveVirtualCurrency409JSONResponseBodyObject.
func (ArchiveVirtualCurrency409JSONResponseBodyObject) Valid ¶
func (e ArchiveVirtualCurrency409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency409JSONResponseBodyObject enum.
type ArchiveVirtualCurrency409JSONResponseBodyType ¶
type ArchiveVirtualCurrency409JSONResponseBodyType string
ArchiveVirtualCurrency409JSONResponseBodyType defines parameters for ArchiveVirtualCurrency.
const ( ArchiveVirtualCurrency409JSONResponseBodyTypeIdempotencyError ArchiveVirtualCurrency409JSONResponseBodyType = "idempotency_error" ArchiveVirtualCurrency409JSONResponseBodyTypeInvalidRequest ArchiveVirtualCurrency409JSONResponseBodyType = "invalid_request" ArchiveVirtualCurrency409JSONResponseBodyTypeResourceAlreadyExists ArchiveVirtualCurrency409JSONResponseBodyType = "resource_already_exists" )
Defines values for ArchiveVirtualCurrency409JSONResponseBodyType.
func (ArchiveVirtualCurrency409JSONResponseBodyType) Valid ¶
func (e ArchiveVirtualCurrency409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency409JSONResponseBodyType enum.
type ArchiveVirtualCurrency422JSONResponseBodyObject ¶
type ArchiveVirtualCurrency422JSONResponseBodyObject string
ArchiveVirtualCurrency422JSONResponseBodyObject defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency422JSONResponseBodyObjectError ArchiveVirtualCurrency422JSONResponseBodyObject = "error"
)
Defines values for ArchiveVirtualCurrency422JSONResponseBodyObject.
func (ArchiveVirtualCurrency422JSONResponseBodyObject) Valid ¶
func (e ArchiveVirtualCurrency422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency422JSONResponseBodyObject enum.
type ArchiveVirtualCurrency422JSONResponseBodyType ¶
type ArchiveVirtualCurrency422JSONResponseBodyType string
ArchiveVirtualCurrency422JSONResponseBodyType defines parameters for ArchiveVirtualCurrency.
const ( ArchiveVirtualCurrency422JSONResponseBodyTypeEntityReferencesArchivedEntities ArchiveVirtualCurrency422JSONResponseBodyType = "entity_references_archived_entities" ArchiveVirtualCurrency422JSONResponseBodyTypeParameterError ArchiveVirtualCurrency422JSONResponseBodyType = "parameter_error" ArchiveVirtualCurrency422JSONResponseBodyTypeStoreError ArchiveVirtualCurrency422JSONResponseBodyType = "store_error" ArchiveVirtualCurrency422JSONResponseBodyTypeUnprocessableEntityError ArchiveVirtualCurrency422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for ArchiveVirtualCurrency422JSONResponseBodyType.
func (ArchiveVirtualCurrency422JSONResponseBodyType) Valid ¶
func (e ArchiveVirtualCurrency422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency422JSONResponseBodyType enum.
type ArchiveVirtualCurrency423JSONResponseBodyObject ¶
type ArchiveVirtualCurrency423JSONResponseBodyObject string
ArchiveVirtualCurrency423JSONResponseBodyObject defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency423JSONResponseBodyObjectError ArchiveVirtualCurrency423JSONResponseBodyObject = "error"
)
Defines values for ArchiveVirtualCurrency423JSONResponseBodyObject.
func (ArchiveVirtualCurrency423JSONResponseBodyObject) Valid ¶
func (e ArchiveVirtualCurrency423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency423JSONResponseBodyObject enum.
type ArchiveVirtualCurrency423JSONResponseBodyType ¶
type ArchiveVirtualCurrency423JSONResponseBodyType string
ArchiveVirtualCurrency423JSONResponseBodyType defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency423JSONResponseBodyTypeResourceLockedError ArchiveVirtualCurrency423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ArchiveVirtualCurrency423JSONResponseBodyType.
func (ArchiveVirtualCurrency423JSONResponseBodyType) Valid ¶
func (e ArchiveVirtualCurrency423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency423JSONResponseBodyType enum.
type ArchiveVirtualCurrency429JSONResponseBodyObject ¶
type ArchiveVirtualCurrency429JSONResponseBodyObject string
ArchiveVirtualCurrency429JSONResponseBodyObject defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency429JSONResponseBodyObjectError ArchiveVirtualCurrency429JSONResponseBodyObject = "error"
)
Defines values for ArchiveVirtualCurrency429JSONResponseBodyObject.
func (ArchiveVirtualCurrency429JSONResponseBodyObject) Valid ¶
func (e ArchiveVirtualCurrency429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency429JSONResponseBodyObject enum.
type ArchiveVirtualCurrency429JSONResponseBodyType ¶
type ArchiveVirtualCurrency429JSONResponseBodyType string
ArchiveVirtualCurrency429JSONResponseBodyType defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency429JSONResponseBodyTypeRateLimitError ArchiveVirtualCurrency429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ArchiveVirtualCurrency429JSONResponseBodyType.
func (ArchiveVirtualCurrency429JSONResponseBodyType) Valid ¶
func (e ArchiveVirtualCurrency429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency429JSONResponseBodyType enum.
type ArchiveVirtualCurrency500JSONResponseBodyObject ¶
type ArchiveVirtualCurrency500JSONResponseBodyObject string
ArchiveVirtualCurrency500JSONResponseBodyObject defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency500JSONResponseBodyObjectError ArchiveVirtualCurrency500JSONResponseBodyObject = "error"
)
Defines values for ArchiveVirtualCurrency500JSONResponseBodyObject.
func (ArchiveVirtualCurrency500JSONResponseBodyObject) Valid ¶
func (e ArchiveVirtualCurrency500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency500JSONResponseBodyObject enum.
type ArchiveVirtualCurrency500JSONResponseBodyType ¶
type ArchiveVirtualCurrency500JSONResponseBodyType string
ArchiveVirtualCurrency500JSONResponseBodyType defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency500JSONResponseBodyTypeServerError ArchiveVirtualCurrency500JSONResponseBodyType = "server_error"
)
Defines values for ArchiveVirtualCurrency500JSONResponseBodyType.
func (ArchiveVirtualCurrency500JSONResponseBodyType) Valid ¶
func (e ArchiveVirtualCurrency500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency500JSONResponseBodyType enum.
type ArchiveVirtualCurrency503JSONResponseBodyObject ¶
type ArchiveVirtualCurrency503JSONResponseBodyObject string
ArchiveVirtualCurrency503JSONResponseBodyObject defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency503JSONResponseBodyObjectError ArchiveVirtualCurrency503JSONResponseBodyObject = "error"
)
Defines values for ArchiveVirtualCurrency503JSONResponseBodyObject.
func (ArchiveVirtualCurrency503JSONResponseBodyObject) Valid ¶
func (e ArchiveVirtualCurrency503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency503JSONResponseBodyObject enum.
type ArchiveVirtualCurrency503JSONResponseBodyType ¶
type ArchiveVirtualCurrency503JSONResponseBodyType string
ArchiveVirtualCurrency503JSONResponseBodyType defines parameters for ArchiveVirtualCurrency.
const (
ArchiveVirtualCurrency503JSONResponseBodyTypeServerError ArchiveVirtualCurrency503JSONResponseBodyType = "server_error"
)
Defines values for ArchiveVirtualCurrency503JSONResponseBodyType.
func (ArchiveVirtualCurrency503JSONResponseBodyType) Valid ¶
func (e ArchiveVirtualCurrency503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ArchiveVirtualCurrency503JSONResponseBodyType enum.
type AssignCustomerOffering400JSONResponseBodyObject ¶
type AssignCustomerOffering400JSONResponseBodyObject string
AssignCustomerOffering400JSONResponseBodyObject defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering400JSONResponseBodyObjectError AssignCustomerOffering400JSONResponseBodyObject = "error"
)
Defines values for AssignCustomerOffering400JSONResponseBodyObject.
func (AssignCustomerOffering400JSONResponseBodyObject) Valid ¶
func (e AssignCustomerOffering400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering400JSONResponseBodyObject enum.
type AssignCustomerOffering400JSONResponseBodyType ¶
type AssignCustomerOffering400JSONResponseBodyType string
AssignCustomerOffering400JSONResponseBodyType defines parameters for AssignCustomerOffering.
const ( AssignCustomerOffering400JSONResponseBodyTypeInvalidRequest AssignCustomerOffering400JSONResponseBodyType = "invalid_request" AssignCustomerOffering400JSONResponseBodyTypeParameterError AssignCustomerOffering400JSONResponseBodyType = "parameter_error" )
Defines values for AssignCustomerOffering400JSONResponseBodyType.
func (AssignCustomerOffering400JSONResponseBodyType) Valid ¶
func (e AssignCustomerOffering400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering400JSONResponseBodyType enum.
type AssignCustomerOffering401JSONResponseBodyObject ¶
type AssignCustomerOffering401JSONResponseBodyObject string
AssignCustomerOffering401JSONResponseBodyObject defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering401JSONResponseBodyObjectError AssignCustomerOffering401JSONResponseBodyObject = "error"
)
Defines values for AssignCustomerOffering401JSONResponseBodyObject.
func (AssignCustomerOffering401JSONResponseBodyObject) Valid ¶
func (e AssignCustomerOffering401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering401JSONResponseBodyObject enum.
type AssignCustomerOffering401JSONResponseBodyType ¶
type AssignCustomerOffering401JSONResponseBodyType string
AssignCustomerOffering401JSONResponseBodyType defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering401JSONResponseBodyTypeAuthenticationError AssignCustomerOffering401JSONResponseBodyType = "authentication_error"
)
Defines values for AssignCustomerOffering401JSONResponseBodyType.
func (AssignCustomerOffering401JSONResponseBodyType) Valid ¶
func (e AssignCustomerOffering401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering401JSONResponseBodyType enum.
type AssignCustomerOffering403JSONResponseBodyObject ¶
type AssignCustomerOffering403JSONResponseBodyObject string
AssignCustomerOffering403JSONResponseBodyObject defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering403JSONResponseBodyObjectError AssignCustomerOffering403JSONResponseBodyObject = "error"
)
Defines values for AssignCustomerOffering403JSONResponseBodyObject.
func (AssignCustomerOffering403JSONResponseBodyObject) Valid ¶
func (e AssignCustomerOffering403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering403JSONResponseBodyObject enum.
type AssignCustomerOffering403JSONResponseBodyType ¶
type AssignCustomerOffering403JSONResponseBodyType string
AssignCustomerOffering403JSONResponseBodyType defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering403JSONResponseBodyTypeAuthorizationError AssignCustomerOffering403JSONResponseBodyType = "authorization_error"
)
Defines values for AssignCustomerOffering403JSONResponseBodyType.
func (AssignCustomerOffering403JSONResponseBodyType) Valid ¶
func (e AssignCustomerOffering403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering403JSONResponseBodyType enum.
type AssignCustomerOffering404JSONResponseBodyObject ¶
type AssignCustomerOffering404JSONResponseBodyObject string
AssignCustomerOffering404JSONResponseBodyObject defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering404JSONResponseBodyObjectError AssignCustomerOffering404JSONResponseBodyObject = "error"
)
Defines values for AssignCustomerOffering404JSONResponseBodyObject.
func (AssignCustomerOffering404JSONResponseBodyObject) Valid ¶
func (e AssignCustomerOffering404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering404JSONResponseBodyObject enum.
type AssignCustomerOffering404JSONResponseBodyType ¶
type AssignCustomerOffering404JSONResponseBodyType string
AssignCustomerOffering404JSONResponseBodyType defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering404JSONResponseBodyTypeResourceMissing AssignCustomerOffering404JSONResponseBodyType = "resource_missing"
)
Defines values for AssignCustomerOffering404JSONResponseBodyType.
func (AssignCustomerOffering404JSONResponseBodyType) Valid ¶
func (e AssignCustomerOffering404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering404JSONResponseBodyType enum.
type AssignCustomerOffering409JSONResponseBodyObject ¶
type AssignCustomerOffering409JSONResponseBodyObject string
AssignCustomerOffering409JSONResponseBodyObject defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering409JSONResponseBodyObjectError AssignCustomerOffering409JSONResponseBodyObject = "error"
)
Defines values for AssignCustomerOffering409JSONResponseBodyObject.
func (AssignCustomerOffering409JSONResponseBodyObject) Valid ¶
func (e AssignCustomerOffering409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering409JSONResponseBodyObject enum.
type AssignCustomerOffering409JSONResponseBodyType ¶
type AssignCustomerOffering409JSONResponseBodyType string
AssignCustomerOffering409JSONResponseBodyType defines parameters for AssignCustomerOffering.
const ( AssignCustomerOffering409JSONResponseBodyTypeIdempotencyError AssignCustomerOffering409JSONResponseBodyType = "idempotency_error" AssignCustomerOffering409JSONResponseBodyTypeInvalidRequest AssignCustomerOffering409JSONResponseBodyType = "invalid_request" AssignCustomerOffering409JSONResponseBodyTypeResourceAlreadyExists AssignCustomerOffering409JSONResponseBodyType = "resource_already_exists" )
Defines values for AssignCustomerOffering409JSONResponseBodyType.
func (AssignCustomerOffering409JSONResponseBodyType) Valid ¶
func (e AssignCustomerOffering409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering409JSONResponseBodyType enum.
type AssignCustomerOffering422JSONResponseBodyObject ¶
type AssignCustomerOffering422JSONResponseBodyObject string
AssignCustomerOffering422JSONResponseBodyObject defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering422JSONResponseBodyObjectError AssignCustomerOffering422JSONResponseBodyObject = "error"
)
Defines values for AssignCustomerOffering422JSONResponseBodyObject.
func (AssignCustomerOffering422JSONResponseBodyObject) Valid ¶
func (e AssignCustomerOffering422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering422JSONResponseBodyObject enum.
type AssignCustomerOffering422JSONResponseBodyType ¶
type AssignCustomerOffering422JSONResponseBodyType string
AssignCustomerOffering422JSONResponseBodyType defines parameters for AssignCustomerOffering.
const ( AssignCustomerOffering422JSONResponseBodyTypeEntityReferencesArchivedEntities AssignCustomerOffering422JSONResponseBodyType = "entity_references_archived_entities" AssignCustomerOffering422JSONResponseBodyTypeParameterError AssignCustomerOffering422JSONResponseBodyType = "parameter_error" AssignCustomerOffering422JSONResponseBodyTypeStoreError AssignCustomerOffering422JSONResponseBodyType = "store_error" AssignCustomerOffering422JSONResponseBodyTypeUnprocessableEntityError AssignCustomerOffering422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for AssignCustomerOffering422JSONResponseBodyType.
func (AssignCustomerOffering422JSONResponseBodyType) Valid ¶
func (e AssignCustomerOffering422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering422JSONResponseBodyType enum.
type AssignCustomerOffering423JSONResponseBodyObject ¶
type AssignCustomerOffering423JSONResponseBodyObject string
AssignCustomerOffering423JSONResponseBodyObject defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering423JSONResponseBodyObjectError AssignCustomerOffering423JSONResponseBodyObject = "error"
)
Defines values for AssignCustomerOffering423JSONResponseBodyObject.
func (AssignCustomerOffering423JSONResponseBodyObject) Valid ¶
func (e AssignCustomerOffering423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering423JSONResponseBodyObject enum.
type AssignCustomerOffering423JSONResponseBodyType ¶
type AssignCustomerOffering423JSONResponseBodyType string
AssignCustomerOffering423JSONResponseBodyType defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering423JSONResponseBodyTypeResourceLockedError AssignCustomerOffering423JSONResponseBodyType = "resource_locked_error"
)
Defines values for AssignCustomerOffering423JSONResponseBodyType.
func (AssignCustomerOffering423JSONResponseBodyType) Valid ¶
func (e AssignCustomerOffering423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering423JSONResponseBodyType enum.
type AssignCustomerOffering429JSONResponseBodyObject ¶
type AssignCustomerOffering429JSONResponseBodyObject string
AssignCustomerOffering429JSONResponseBodyObject defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering429JSONResponseBodyObjectError AssignCustomerOffering429JSONResponseBodyObject = "error"
)
Defines values for AssignCustomerOffering429JSONResponseBodyObject.
func (AssignCustomerOffering429JSONResponseBodyObject) Valid ¶
func (e AssignCustomerOffering429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering429JSONResponseBodyObject enum.
type AssignCustomerOffering429JSONResponseBodyType ¶
type AssignCustomerOffering429JSONResponseBodyType string
AssignCustomerOffering429JSONResponseBodyType defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering429JSONResponseBodyTypeRateLimitError AssignCustomerOffering429JSONResponseBodyType = "rate_limit_error"
)
Defines values for AssignCustomerOffering429JSONResponseBodyType.
func (AssignCustomerOffering429JSONResponseBodyType) Valid ¶
func (e AssignCustomerOffering429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering429JSONResponseBodyType enum.
type AssignCustomerOffering500JSONResponseBodyObject ¶
type AssignCustomerOffering500JSONResponseBodyObject string
AssignCustomerOffering500JSONResponseBodyObject defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering500JSONResponseBodyObjectError AssignCustomerOffering500JSONResponseBodyObject = "error"
)
Defines values for AssignCustomerOffering500JSONResponseBodyObject.
func (AssignCustomerOffering500JSONResponseBodyObject) Valid ¶
func (e AssignCustomerOffering500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering500JSONResponseBodyObject enum.
type AssignCustomerOffering500JSONResponseBodyType ¶
type AssignCustomerOffering500JSONResponseBodyType string
AssignCustomerOffering500JSONResponseBodyType defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering500JSONResponseBodyTypeServerError AssignCustomerOffering500JSONResponseBodyType = "server_error"
)
Defines values for AssignCustomerOffering500JSONResponseBodyType.
func (AssignCustomerOffering500JSONResponseBodyType) Valid ¶
func (e AssignCustomerOffering500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering500JSONResponseBodyType enum.
type AssignCustomerOffering503JSONResponseBodyObject ¶
type AssignCustomerOffering503JSONResponseBodyObject string
AssignCustomerOffering503JSONResponseBodyObject defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering503JSONResponseBodyObjectError AssignCustomerOffering503JSONResponseBodyObject = "error"
)
Defines values for AssignCustomerOffering503JSONResponseBodyObject.
func (AssignCustomerOffering503JSONResponseBodyObject) Valid ¶
func (e AssignCustomerOffering503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering503JSONResponseBodyObject enum.
type AssignCustomerOffering503JSONResponseBodyType ¶
type AssignCustomerOffering503JSONResponseBodyType string
AssignCustomerOffering503JSONResponseBodyType defines parameters for AssignCustomerOffering.
const (
AssignCustomerOffering503JSONResponseBodyTypeServerError AssignCustomerOffering503JSONResponseBodyType = "server_error"
)
Defines values for AssignCustomerOffering503JSONResponseBodyType.
func (AssignCustomerOffering503JSONResponseBodyType) Valid ¶
func (e AssignCustomerOffering503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AssignCustomerOffering503JSONResponseBodyType enum.
type AssignCustomerOfferingJSONBody ¶
type AssignCustomerOfferingJSONBody struct {
// OfferingID The ID of the offering to assign to the customer. Set to null to clear any existing override.
//
// Example: offrng1b2c3d4e5
OfferingID *string `json:"offering_id"`
}
AssignCustomerOfferingJSONBody defines parameters for AssignCustomerOffering.
type AssignCustomerOfferingJSONRequestBody ¶
type AssignCustomerOfferingJSONRequestBody AssignCustomerOfferingJSONBody
AssignCustomerOfferingJSONRequestBody defines body for AssignCustomerOffering for application/json ContentType.
type AttachProductsToEntitlement400JSONResponseBodyObject ¶
type AttachProductsToEntitlement400JSONResponseBodyObject string
AttachProductsToEntitlement400JSONResponseBodyObject defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement400JSONResponseBodyObjectError AttachProductsToEntitlement400JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToEntitlement400JSONResponseBodyObject.
func (AttachProductsToEntitlement400JSONResponseBodyObject) Valid ¶
func (e AttachProductsToEntitlement400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement400JSONResponseBodyObject enum.
type AttachProductsToEntitlement400JSONResponseBodyType ¶
type AttachProductsToEntitlement400JSONResponseBodyType string
AttachProductsToEntitlement400JSONResponseBodyType defines parameters for AttachProductsToEntitlement.
const ( AttachProductsToEntitlement400JSONResponseBodyTypeInvalidRequest AttachProductsToEntitlement400JSONResponseBodyType = "invalid_request" AttachProductsToEntitlement400JSONResponseBodyTypeParameterError AttachProductsToEntitlement400JSONResponseBodyType = "parameter_error" )
Defines values for AttachProductsToEntitlement400JSONResponseBodyType.
func (AttachProductsToEntitlement400JSONResponseBodyType) Valid ¶
func (e AttachProductsToEntitlement400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement400JSONResponseBodyType enum.
type AttachProductsToEntitlement401JSONResponseBodyObject ¶
type AttachProductsToEntitlement401JSONResponseBodyObject string
AttachProductsToEntitlement401JSONResponseBodyObject defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement401JSONResponseBodyObjectError AttachProductsToEntitlement401JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToEntitlement401JSONResponseBodyObject.
func (AttachProductsToEntitlement401JSONResponseBodyObject) Valid ¶
func (e AttachProductsToEntitlement401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement401JSONResponseBodyObject enum.
type AttachProductsToEntitlement401JSONResponseBodyType ¶
type AttachProductsToEntitlement401JSONResponseBodyType string
AttachProductsToEntitlement401JSONResponseBodyType defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement401JSONResponseBodyTypeAuthenticationError AttachProductsToEntitlement401JSONResponseBodyType = "authentication_error"
)
Defines values for AttachProductsToEntitlement401JSONResponseBodyType.
func (AttachProductsToEntitlement401JSONResponseBodyType) Valid ¶
func (e AttachProductsToEntitlement401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement401JSONResponseBodyType enum.
type AttachProductsToEntitlement403JSONResponseBodyObject ¶
type AttachProductsToEntitlement403JSONResponseBodyObject string
AttachProductsToEntitlement403JSONResponseBodyObject defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement403JSONResponseBodyObjectError AttachProductsToEntitlement403JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToEntitlement403JSONResponseBodyObject.
func (AttachProductsToEntitlement403JSONResponseBodyObject) Valid ¶
func (e AttachProductsToEntitlement403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement403JSONResponseBodyObject enum.
type AttachProductsToEntitlement403JSONResponseBodyType ¶
type AttachProductsToEntitlement403JSONResponseBodyType string
AttachProductsToEntitlement403JSONResponseBodyType defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement403JSONResponseBodyTypeAuthorizationError AttachProductsToEntitlement403JSONResponseBodyType = "authorization_error"
)
Defines values for AttachProductsToEntitlement403JSONResponseBodyType.
func (AttachProductsToEntitlement403JSONResponseBodyType) Valid ¶
func (e AttachProductsToEntitlement403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement403JSONResponseBodyType enum.
type AttachProductsToEntitlement404JSONResponseBodyObject ¶
type AttachProductsToEntitlement404JSONResponseBodyObject string
AttachProductsToEntitlement404JSONResponseBodyObject defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement404JSONResponseBodyObjectError AttachProductsToEntitlement404JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToEntitlement404JSONResponseBodyObject.
func (AttachProductsToEntitlement404JSONResponseBodyObject) Valid ¶
func (e AttachProductsToEntitlement404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement404JSONResponseBodyObject enum.
type AttachProductsToEntitlement404JSONResponseBodyType ¶
type AttachProductsToEntitlement404JSONResponseBodyType string
AttachProductsToEntitlement404JSONResponseBodyType defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement404JSONResponseBodyTypeResourceMissing AttachProductsToEntitlement404JSONResponseBodyType = "resource_missing"
)
Defines values for AttachProductsToEntitlement404JSONResponseBodyType.
func (AttachProductsToEntitlement404JSONResponseBodyType) Valid ¶
func (e AttachProductsToEntitlement404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement404JSONResponseBodyType enum.
type AttachProductsToEntitlement409JSONResponseBodyObject ¶
type AttachProductsToEntitlement409JSONResponseBodyObject string
AttachProductsToEntitlement409JSONResponseBodyObject defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement409JSONResponseBodyObjectError AttachProductsToEntitlement409JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToEntitlement409JSONResponseBodyObject.
func (AttachProductsToEntitlement409JSONResponseBodyObject) Valid ¶
func (e AttachProductsToEntitlement409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement409JSONResponseBodyObject enum.
type AttachProductsToEntitlement409JSONResponseBodyType ¶
type AttachProductsToEntitlement409JSONResponseBodyType string
AttachProductsToEntitlement409JSONResponseBodyType defines parameters for AttachProductsToEntitlement.
const ( AttachProductsToEntitlement409JSONResponseBodyTypeIdempotencyError AttachProductsToEntitlement409JSONResponseBodyType = "idempotency_error" AttachProductsToEntitlement409JSONResponseBodyTypeInvalidRequest AttachProductsToEntitlement409JSONResponseBodyType = "invalid_request" AttachProductsToEntitlement409JSONResponseBodyTypeResourceAlreadyExists AttachProductsToEntitlement409JSONResponseBodyType = "resource_already_exists" )
Defines values for AttachProductsToEntitlement409JSONResponseBodyType.
func (AttachProductsToEntitlement409JSONResponseBodyType) Valid ¶
func (e AttachProductsToEntitlement409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement409JSONResponseBodyType enum.
type AttachProductsToEntitlement422JSONResponseBodyObject ¶
type AttachProductsToEntitlement422JSONResponseBodyObject string
AttachProductsToEntitlement422JSONResponseBodyObject defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement422JSONResponseBodyObjectError AttachProductsToEntitlement422JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToEntitlement422JSONResponseBodyObject.
func (AttachProductsToEntitlement422JSONResponseBodyObject) Valid ¶
func (e AttachProductsToEntitlement422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement422JSONResponseBodyObject enum.
type AttachProductsToEntitlement422JSONResponseBodyType ¶
type AttachProductsToEntitlement422JSONResponseBodyType string
AttachProductsToEntitlement422JSONResponseBodyType defines parameters for AttachProductsToEntitlement.
const ( AttachProductsToEntitlement422JSONResponseBodyTypeEntityReferencesArchivedEntities AttachProductsToEntitlement422JSONResponseBodyType = "entity_references_archived_entities" AttachProductsToEntitlement422JSONResponseBodyTypeParameterError AttachProductsToEntitlement422JSONResponseBodyType = "parameter_error" AttachProductsToEntitlement422JSONResponseBodyTypeStoreError AttachProductsToEntitlement422JSONResponseBodyType = "store_error" AttachProductsToEntitlement422JSONResponseBodyTypeUnprocessableEntityError AttachProductsToEntitlement422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for AttachProductsToEntitlement422JSONResponseBodyType.
func (AttachProductsToEntitlement422JSONResponseBodyType) Valid ¶
func (e AttachProductsToEntitlement422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement422JSONResponseBodyType enum.
type AttachProductsToEntitlement423JSONResponseBodyObject ¶
type AttachProductsToEntitlement423JSONResponseBodyObject string
AttachProductsToEntitlement423JSONResponseBodyObject defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement423JSONResponseBodyObjectError AttachProductsToEntitlement423JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToEntitlement423JSONResponseBodyObject.
func (AttachProductsToEntitlement423JSONResponseBodyObject) Valid ¶
func (e AttachProductsToEntitlement423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement423JSONResponseBodyObject enum.
type AttachProductsToEntitlement423JSONResponseBodyType ¶
type AttachProductsToEntitlement423JSONResponseBodyType string
AttachProductsToEntitlement423JSONResponseBodyType defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement423JSONResponseBodyTypeResourceLockedError AttachProductsToEntitlement423JSONResponseBodyType = "resource_locked_error"
)
Defines values for AttachProductsToEntitlement423JSONResponseBodyType.
func (AttachProductsToEntitlement423JSONResponseBodyType) Valid ¶
func (e AttachProductsToEntitlement423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement423JSONResponseBodyType enum.
type AttachProductsToEntitlement429JSONResponseBodyObject ¶
type AttachProductsToEntitlement429JSONResponseBodyObject string
AttachProductsToEntitlement429JSONResponseBodyObject defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement429JSONResponseBodyObjectError AttachProductsToEntitlement429JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToEntitlement429JSONResponseBodyObject.
func (AttachProductsToEntitlement429JSONResponseBodyObject) Valid ¶
func (e AttachProductsToEntitlement429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement429JSONResponseBodyObject enum.
type AttachProductsToEntitlement429JSONResponseBodyType ¶
type AttachProductsToEntitlement429JSONResponseBodyType string
AttachProductsToEntitlement429JSONResponseBodyType defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement429JSONResponseBodyTypeRateLimitError AttachProductsToEntitlement429JSONResponseBodyType = "rate_limit_error"
)
Defines values for AttachProductsToEntitlement429JSONResponseBodyType.
func (AttachProductsToEntitlement429JSONResponseBodyType) Valid ¶
func (e AttachProductsToEntitlement429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement429JSONResponseBodyType enum.
type AttachProductsToEntitlement500JSONResponseBodyObject ¶
type AttachProductsToEntitlement500JSONResponseBodyObject string
AttachProductsToEntitlement500JSONResponseBodyObject defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement500JSONResponseBodyObjectError AttachProductsToEntitlement500JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToEntitlement500JSONResponseBodyObject.
func (AttachProductsToEntitlement500JSONResponseBodyObject) Valid ¶
func (e AttachProductsToEntitlement500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement500JSONResponseBodyObject enum.
type AttachProductsToEntitlement500JSONResponseBodyType ¶
type AttachProductsToEntitlement500JSONResponseBodyType string
AttachProductsToEntitlement500JSONResponseBodyType defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement500JSONResponseBodyTypeServerError AttachProductsToEntitlement500JSONResponseBodyType = "server_error"
)
Defines values for AttachProductsToEntitlement500JSONResponseBodyType.
func (AttachProductsToEntitlement500JSONResponseBodyType) Valid ¶
func (e AttachProductsToEntitlement500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement500JSONResponseBodyType enum.
type AttachProductsToEntitlement503JSONResponseBodyObject ¶
type AttachProductsToEntitlement503JSONResponseBodyObject string
AttachProductsToEntitlement503JSONResponseBodyObject defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement503JSONResponseBodyObjectError AttachProductsToEntitlement503JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToEntitlement503JSONResponseBodyObject.
func (AttachProductsToEntitlement503JSONResponseBodyObject) Valid ¶
func (e AttachProductsToEntitlement503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement503JSONResponseBodyObject enum.
type AttachProductsToEntitlement503JSONResponseBodyType ¶
type AttachProductsToEntitlement503JSONResponseBodyType string
AttachProductsToEntitlement503JSONResponseBodyType defines parameters for AttachProductsToEntitlement.
const (
AttachProductsToEntitlement503JSONResponseBodyTypeServerError AttachProductsToEntitlement503JSONResponseBodyType = "server_error"
)
Defines values for AttachProductsToEntitlement503JSONResponseBodyType.
func (AttachProductsToEntitlement503JSONResponseBodyType) Valid ¶
func (e AttachProductsToEntitlement503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToEntitlement503JSONResponseBodyType enum.
type AttachProductsToEntitlementJSONBody ¶
type AttachProductsToEntitlementJSONBody struct {
// ProductIds IDs of the products to be attached to the entitlement.
ProductIds []string `json:"product_ids"`
}
AttachProductsToEntitlementJSONBody defines parameters for AttachProductsToEntitlement.
type AttachProductsToEntitlementJSONRequestBody ¶
type AttachProductsToEntitlementJSONRequestBody AttachProductsToEntitlementJSONBody
AttachProductsToEntitlementJSONRequestBody defines body for AttachProductsToEntitlement for application/json ContentType.
type AttachProductsToPackage400JSONResponseBodyObject ¶
type AttachProductsToPackage400JSONResponseBodyObject string
AttachProductsToPackage400JSONResponseBodyObject defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage400JSONResponseBodyObjectError AttachProductsToPackage400JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToPackage400JSONResponseBodyObject.
func (AttachProductsToPackage400JSONResponseBodyObject) Valid ¶
func (e AttachProductsToPackage400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage400JSONResponseBodyObject enum.
type AttachProductsToPackage400JSONResponseBodyType ¶
type AttachProductsToPackage400JSONResponseBodyType string
AttachProductsToPackage400JSONResponseBodyType defines parameters for AttachProductsToPackage.
const ( AttachProductsToPackage400JSONResponseBodyTypeInvalidRequest AttachProductsToPackage400JSONResponseBodyType = "invalid_request" AttachProductsToPackage400JSONResponseBodyTypeParameterError AttachProductsToPackage400JSONResponseBodyType = "parameter_error" )
Defines values for AttachProductsToPackage400JSONResponseBodyType.
func (AttachProductsToPackage400JSONResponseBodyType) Valid ¶
func (e AttachProductsToPackage400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage400JSONResponseBodyType enum.
type AttachProductsToPackage401JSONResponseBodyObject ¶
type AttachProductsToPackage401JSONResponseBodyObject string
AttachProductsToPackage401JSONResponseBodyObject defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage401JSONResponseBodyObjectError AttachProductsToPackage401JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToPackage401JSONResponseBodyObject.
func (AttachProductsToPackage401JSONResponseBodyObject) Valid ¶
func (e AttachProductsToPackage401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage401JSONResponseBodyObject enum.
type AttachProductsToPackage401JSONResponseBodyType ¶
type AttachProductsToPackage401JSONResponseBodyType string
AttachProductsToPackage401JSONResponseBodyType defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage401JSONResponseBodyTypeAuthenticationError AttachProductsToPackage401JSONResponseBodyType = "authentication_error"
)
Defines values for AttachProductsToPackage401JSONResponseBodyType.
func (AttachProductsToPackage401JSONResponseBodyType) Valid ¶
func (e AttachProductsToPackage401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage401JSONResponseBodyType enum.
type AttachProductsToPackage403JSONResponseBodyObject ¶
type AttachProductsToPackage403JSONResponseBodyObject string
AttachProductsToPackage403JSONResponseBodyObject defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage403JSONResponseBodyObjectError AttachProductsToPackage403JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToPackage403JSONResponseBodyObject.
func (AttachProductsToPackage403JSONResponseBodyObject) Valid ¶
func (e AttachProductsToPackage403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage403JSONResponseBodyObject enum.
type AttachProductsToPackage403JSONResponseBodyType ¶
type AttachProductsToPackage403JSONResponseBodyType string
AttachProductsToPackage403JSONResponseBodyType defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage403JSONResponseBodyTypeAuthorizationError AttachProductsToPackage403JSONResponseBodyType = "authorization_error"
)
Defines values for AttachProductsToPackage403JSONResponseBodyType.
func (AttachProductsToPackage403JSONResponseBodyType) Valid ¶
func (e AttachProductsToPackage403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage403JSONResponseBodyType enum.
type AttachProductsToPackage404JSONResponseBodyObject ¶
type AttachProductsToPackage404JSONResponseBodyObject string
AttachProductsToPackage404JSONResponseBodyObject defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage404JSONResponseBodyObjectError AttachProductsToPackage404JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToPackage404JSONResponseBodyObject.
func (AttachProductsToPackage404JSONResponseBodyObject) Valid ¶
func (e AttachProductsToPackage404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage404JSONResponseBodyObject enum.
type AttachProductsToPackage404JSONResponseBodyType ¶
type AttachProductsToPackage404JSONResponseBodyType string
AttachProductsToPackage404JSONResponseBodyType defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage404JSONResponseBodyTypeResourceMissing AttachProductsToPackage404JSONResponseBodyType = "resource_missing"
)
Defines values for AttachProductsToPackage404JSONResponseBodyType.
func (AttachProductsToPackage404JSONResponseBodyType) Valid ¶
func (e AttachProductsToPackage404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage404JSONResponseBodyType enum.
type AttachProductsToPackage409JSONResponseBodyObject ¶
type AttachProductsToPackage409JSONResponseBodyObject string
AttachProductsToPackage409JSONResponseBodyObject defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage409JSONResponseBodyObjectError AttachProductsToPackage409JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToPackage409JSONResponseBodyObject.
func (AttachProductsToPackage409JSONResponseBodyObject) Valid ¶
func (e AttachProductsToPackage409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage409JSONResponseBodyObject enum.
type AttachProductsToPackage409JSONResponseBodyType ¶
type AttachProductsToPackage409JSONResponseBodyType string
AttachProductsToPackage409JSONResponseBodyType defines parameters for AttachProductsToPackage.
const ( AttachProductsToPackage409JSONResponseBodyTypeIdempotencyError AttachProductsToPackage409JSONResponseBodyType = "idempotency_error" AttachProductsToPackage409JSONResponseBodyTypeInvalidRequest AttachProductsToPackage409JSONResponseBodyType = "invalid_request" AttachProductsToPackage409JSONResponseBodyTypeResourceAlreadyExists AttachProductsToPackage409JSONResponseBodyType = "resource_already_exists" )
Defines values for AttachProductsToPackage409JSONResponseBodyType.
func (AttachProductsToPackage409JSONResponseBodyType) Valid ¶
func (e AttachProductsToPackage409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage409JSONResponseBodyType enum.
type AttachProductsToPackage422JSONResponseBodyObject ¶
type AttachProductsToPackage422JSONResponseBodyObject string
AttachProductsToPackage422JSONResponseBodyObject defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage422JSONResponseBodyObjectError AttachProductsToPackage422JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToPackage422JSONResponseBodyObject.
func (AttachProductsToPackage422JSONResponseBodyObject) Valid ¶
func (e AttachProductsToPackage422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage422JSONResponseBodyObject enum.
type AttachProductsToPackage422JSONResponseBodyType ¶
type AttachProductsToPackage422JSONResponseBodyType string
AttachProductsToPackage422JSONResponseBodyType defines parameters for AttachProductsToPackage.
const ( AttachProductsToPackage422JSONResponseBodyTypeEntityReferencesArchivedEntities AttachProductsToPackage422JSONResponseBodyType = "entity_references_archived_entities" AttachProductsToPackage422JSONResponseBodyTypeParameterError AttachProductsToPackage422JSONResponseBodyType = "parameter_error" AttachProductsToPackage422JSONResponseBodyTypeStoreError AttachProductsToPackage422JSONResponseBodyType = "store_error" AttachProductsToPackage422JSONResponseBodyTypeUnprocessableEntityError AttachProductsToPackage422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for AttachProductsToPackage422JSONResponseBodyType.
func (AttachProductsToPackage422JSONResponseBodyType) Valid ¶
func (e AttachProductsToPackage422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage422JSONResponseBodyType enum.
type AttachProductsToPackage423JSONResponseBodyObject ¶
type AttachProductsToPackage423JSONResponseBodyObject string
AttachProductsToPackage423JSONResponseBodyObject defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage423JSONResponseBodyObjectError AttachProductsToPackage423JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToPackage423JSONResponseBodyObject.
func (AttachProductsToPackage423JSONResponseBodyObject) Valid ¶
func (e AttachProductsToPackage423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage423JSONResponseBodyObject enum.
type AttachProductsToPackage423JSONResponseBodyType ¶
type AttachProductsToPackage423JSONResponseBodyType string
AttachProductsToPackage423JSONResponseBodyType defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage423JSONResponseBodyTypeResourceLockedError AttachProductsToPackage423JSONResponseBodyType = "resource_locked_error"
)
Defines values for AttachProductsToPackage423JSONResponseBodyType.
func (AttachProductsToPackage423JSONResponseBodyType) Valid ¶
func (e AttachProductsToPackage423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage423JSONResponseBodyType enum.
type AttachProductsToPackage429JSONResponseBodyObject ¶
type AttachProductsToPackage429JSONResponseBodyObject string
AttachProductsToPackage429JSONResponseBodyObject defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage429JSONResponseBodyObjectError AttachProductsToPackage429JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToPackage429JSONResponseBodyObject.
func (AttachProductsToPackage429JSONResponseBodyObject) Valid ¶
func (e AttachProductsToPackage429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage429JSONResponseBodyObject enum.
type AttachProductsToPackage429JSONResponseBodyType ¶
type AttachProductsToPackage429JSONResponseBodyType string
AttachProductsToPackage429JSONResponseBodyType defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage429JSONResponseBodyTypeRateLimitError AttachProductsToPackage429JSONResponseBodyType = "rate_limit_error"
)
Defines values for AttachProductsToPackage429JSONResponseBodyType.
func (AttachProductsToPackage429JSONResponseBodyType) Valid ¶
func (e AttachProductsToPackage429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage429JSONResponseBodyType enum.
type AttachProductsToPackage500JSONResponseBodyObject ¶
type AttachProductsToPackage500JSONResponseBodyObject string
AttachProductsToPackage500JSONResponseBodyObject defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage500JSONResponseBodyObjectError AttachProductsToPackage500JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToPackage500JSONResponseBodyObject.
func (AttachProductsToPackage500JSONResponseBodyObject) Valid ¶
func (e AttachProductsToPackage500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage500JSONResponseBodyObject enum.
type AttachProductsToPackage500JSONResponseBodyType ¶
type AttachProductsToPackage500JSONResponseBodyType string
AttachProductsToPackage500JSONResponseBodyType defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage500JSONResponseBodyTypeServerError AttachProductsToPackage500JSONResponseBodyType = "server_error"
)
Defines values for AttachProductsToPackage500JSONResponseBodyType.
func (AttachProductsToPackage500JSONResponseBodyType) Valid ¶
func (e AttachProductsToPackage500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage500JSONResponseBodyType enum.
type AttachProductsToPackage503JSONResponseBodyObject ¶
type AttachProductsToPackage503JSONResponseBodyObject string
AttachProductsToPackage503JSONResponseBodyObject defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage503JSONResponseBodyObjectError AttachProductsToPackage503JSONResponseBodyObject = "error"
)
Defines values for AttachProductsToPackage503JSONResponseBodyObject.
func (AttachProductsToPackage503JSONResponseBodyObject) Valid ¶
func (e AttachProductsToPackage503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage503JSONResponseBodyObject enum.
type AttachProductsToPackage503JSONResponseBodyType ¶
type AttachProductsToPackage503JSONResponseBodyType string
AttachProductsToPackage503JSONResponseBodyType defines parameters for AttachProductsToPackage.
const (
AttachProductsToPackage503JSONResponseBodyTypeServerError AttachProductsToPackage503JSONResponseBodyType = "server_error"
)
Defines values for AttachProductsToPackage503JSONResponseBodyType.
func (AttachProductsToPackage503JSONResponseBodyType) Valid ¶
func (e AttachProductsToPackage503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the AttachProductsToPackage503JSONResponseBodyType enum.
type AttachProductsToPackageJSONBody ¶
type AttachProductsToPackageJSONBody struct {
// Products Product association list
Products []PackageProductIDAssociation `json:"products"`
}
AttachProductsToPackageJSONBody defines parameters for AttachProductsToPackage.
type AttachProductsToPackageJSONRequestBody ¶
type AttachProductsToPackageJSONRequestBody AttachProductsToPackageJSONBody
AttachProductsToPackageJSONRequestBody defines body for AttachProductsToPackage for application/json ContentType.
type AuditLog ¶
type AuditLog struct {
// ActionType Action that was performed.
//
// Example: project_name_updated
ActionType string `json:"action_type"`
// ActorIdentifier Identifier of the actor that performed the action.
//
// Example: user_abc123
ActorIdentifier string `json:"actor_identifier"`
// ActorType Type of actor that performed the action.
ActorType AuditLogActorType `json:"actor_type"`
// AdditionalData Additional metadata associated with the audit log.
AdditionalData map[string]interface{} `json:"additional_data"`
// ID Example: log1ab2c3d4e5
ID string `json:"id"`
// Object String representing the object's type. Objects of the same type share the same value.
Object AuditLogObject `json:"object"`
// OccurredAt Timestamp when the action occurred, in milliseconds since epoch.
//
// Example: 1713297600000
OccurredAt int64 `json:"occurred_at"`
// ProjectID ID of the project to which the audit log belongs.
//
// Example: proj1ab2c3d4
ProjectID string `json:"project_id"`
// TargetIdentifier Identifier of the action target.
//
// Example: proj1ab2c3d4
TargetIdentifier string `json:"target_identifier"`
// TargetType Type of the target on which the action was performed.
//
// Example: project
TargetType string `json:"target_type"`
}
AuditLog defines model for AuditLog.
type AuditLogActorType ¶
type AuditLogActorType string
AuditLogActorType Type of actor that performed the action.
const ( APIKey AuditLogActorType = "api_key" OauthClient AuditLogActorType = "oauth_client" ServiceAccount AuditLogActorType = "service_account" System AuditLogActorType = "system" User AuditLogActorType = "user" )
Defines values for AuditLogActorType.
func (AuditLogActorType) Valid ¶
func (e AuditLogActorType) Valid() bool
Valid indicates whether the value is a known member of the AuditLogActorType enum.
type AuditLogObject ¶
type AuditLogObject string
AuditLogObject String representing the object's type. Objects of the same type share the same value.
const (
AuditLogObjectAuditLog AuditLogObject = "audit_log"
)
Defines values for AuditLogObject.
func (AuditLogObject) Valid ¶
func (e AuditLogObject) Valid() bool
Valid indicates whether the value is a known member of the AuditLogObject enum.
type AuditService ¶
type AuditService struct {
// contains filtered or unexported fields
}
func (*AuditService) List ¶
func (s *AuditService) List(ctx context.Context, projectID string, opts *ListAuditOptions) (*Page[AuditLog], error)
type AuthenticatedManagementURL ¶
type AuthenticatedManagementURL struct {
// ManagementURL A secure URL that provides temporary access to the subscription management portal. For RC Billing subscriptions, this is a single-use magic link to the RevenueCat customer portal. For Paddle subscriptions, this is a short-lived authenticated Paddle Customer Portal URL when the API key has the Customer portal session (Write) permission and Paddle returns the required management URLs; otherwise a non-authenticated URL (customer signs in via email) or `null` if no URL can be generated.
//
// Example: https://billing.revenuecat.com/app1a2b3c4/sub1ab2c3d4e5?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
ManagementURL *string `json:"management_url"`
// Object String representing the object's type. Objects of the same type share the same value.
Object AuthenticatedManagementURLObject `json:"object"`
}
AuthenticatedManagementURL defines model for AuthenticatedManagementUrl.
type AuthenticatedManagementURLObject ¶
type AuthenticatedManagementURLObject string
AuthenticatedManagementURLObject String representing the object's type. Objects of the same type share the same value.
const (
AuthenticatedManagementURLObjectAuthenticatedManagementURL AuthenticatedManagementURLObject = "authenticated_management_url"
)
Defines values for AuthenticatedManagementURLObject.
func (AuthenticatedManagementURLObject) Valid ¶
func (e AuthenticatedManagementURLObject) Valid() bool
Valid indicates whether the value is a known member of the AuthenticatedManagementURLObject enum.
type BadGateway ¶
type BadGateway struct {
// BackoffMs The ms the client should wait before retrying the request. Only present for retryable errors.
BackoffMs *int `json:"backoff_ms,omitempty"`
// DocURL A URL to more information about the error reported
//
// Example: https://errors.rev.cat/parameter-error
DocURL *string `json:"doc_url,omitempty"`
// Message A message describing the reason of the error
//
// Example: id shouldn't be longer than 1,500 characters
Message string `json:"message"`
// Object String representing the object's type. Objects of the same type share the same value.
//
// Example: error
Object BadGatewayObject `json:"object"`
// Param If the error is parameter-specific, the parameter related to the error
//
// Example: customer_id
Param *string `json:"param,omitempty"`
// ReferencedObjectIds The IDs of related objects relevant to the error, such as the archived entities that need to be made active before the operation can succeed.
//
// Example: ["prodabcd1234","prodwxyz5678"]
ReferencedObjectIds *[]string `json:"referenced_object_ids,omitempty"`
// Retryable Indicates if the error is retryable or not
//
// Example: false
Retryable bool `json:"retryable"`
Type BadGatewayType `json:"type"`
}
BadGateway defines model for BadGateway.
type BadGatewayObject ¶
type BadGatewayObject string
BadGatewayObject String representing the object's type. Objects of the same type share the same value.
Example: error
const (
BadGatewayObjectError BadGatewayObject = "error"
)
Defines values for BadGatewayObject.
func (BadGatewayObject) Valid ¶
func (e BadGatewayObject) Valid() bool
Valid indicates whether the value is a known member of the BadGatewayObject enum.
type BadGatewayType ¶
type BadGatewayType string
BadGatewayType defines model for BadGateway.Type.
const (
BadGatewayTypeServerError BadGatewayType = "server_error"
)
Defines values for BadGatewayType.
func (BadGatewayType) Valid ¶
func (e BadGatewayType) Valid() bool
Valid indicates whether the value is a known member of the BadGatewayType enum.
type BadRequest ¶
type BadRequest struct {
// BackoffMs The ms the client should wait before retrying the request. Only present for retryable errors.
BackoffMs *int `json:"backoff_ms,omitempty"`
// DocURL A URL to more information about the error reported
//
// Example: https://errors.rev.cat/parameter-error
DocURL *string `json:"doc_url,omitempty"`
// Message A message describing the reason of the error
//
// Example: id shouldn't be longer than 1,500 characters
Message string `json:"message"`
// Object String representing the object's type. Objects of the same type share the same value.
//
// Example: error
Object BadRequestObject `json:"object"`
// Param If the error is parameter-specific, the parameter related to the error
//
// Example: customer_id
Param *string `json:"param,omitempty"`
// ReferencedObjectIds The IDs of related objects relevant to the error, such as the archived entities that need to be made active before the operation can succeed.
//
// Example: ["prodabcd1234","prodwxyz5678"]
ReferencedObjectIds *[]string `json:"referenced_object_ids,omitempty"`
// Retryable Indicates if the error is retryable or not
//
// Example: false
Retryable bool `json:"retryable"`
Type BadRequestType `json:"type"`
}
BadRequest defines model for BadRequest.
type BadRequestObject ¶
type BadRequestObject string
BadRequestObject String representing the object's type. Objects of the same type share the same value.
Example: error
const (
BadRequestObjectError BadRequestObject = "error"
)
Defines values for BadRequestObject.
func (BadRequestObject) Valid ¶
func (e BadRequestObject) Valid() bool
Valid indicates whether the value is a known member of the BadRequestObject enum.
type BadRequestType ¶
type BadRequestType string
BadRequestType defines model for BadRequest.Type.
const ( BadRequestTypeInvalidRequest BadRequestType = "invalid_request" BadRequestTypeParameterError BadRequestType = "parameter_error" )
Defines values for BadRequestType.
func (BadRequestType) Valid ¶
func (e BadRequestType) Valid() bool
Valid indicates whether the value is a known member of the BadRequestType enum.
type CancelSubscription400JSONResponseBodyObject ¶
type CancelSubscription400JSONResponseBodyObject string
CancelSubscription400JSONResponseBodyObject defines parameters for CancelSubscription.
const (
CancelSubscription400JSONResponseBodyObjectError CancelSubscription400JSONResponseBodyObject = "error"
)
Defines values for CancelSubscription400JSONResponseBodyObject.
func (CancelSubscription400JSONResponseBodyObject) Valid ¶
func (e CancelSubscription400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription400JSONResponseBodyObject enum.
type CancelSubscription400JSONResponseBodyType ¶
type CancelSubscription400JSONResponseBodyType string
CancelSubscription400JSONResponseBodyType defines parameters for CancelSubscription.
const ( CancelSubscription400JSONResponseBodyTypeInvalidRequest CancelSubscription400JSONResponseBodyType = "invalid_request" CancelSubscription400JSONResponseBodyTypeParameterError CancelSubscription400JSONResponseBodyType = "parameter_error" )
Defines values for CancelSubscription400JSONResponseBodyType.
func (CancelSubscription400JSONResponseBodyType) Valid ¶
func (e CancelSubscription400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription400JSONResponseBodyType enum.
type CancelSubscription401JSONResponseBodyObject ¶
type CancelSubscription401JSONResponseBodyObject string
CancelSubscription401JSONResponseBodyObject defines parameters for CancelSubscription.
const (
CancelSubscription401JSONResponseBodyObjectError CancelSubscription401JSONResponseBodyObject = "error"
)
Defines values for CancelSubscription401JSONResponseBodyObject.
func (CancelSubscription401JSONResponseBodyObject) Valid ¶
func (e CancelSubscription401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription401JSONResponseBodyObject enum.
type CancelSubscription401JSONResponseBodyType ¶
type CancelSubscription401JSONResponseBodyType string
CancelSubscription401JSONResponseBodyType defines parameters for CancelSubscription.
const (
CancelSubscription401JSONResponseBodyTypeAuthenticationError CancelSubscription401JSONResponseBodyType = "authentication_error"
)
Defines values for CancelSubscription401JSONResponseBodyType.
func (CancelSubscription401JSONResponseBodyType) Valid ¶
func (e CancelSubscription401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription401JSONResponseBodyType enum.
type CancelSubscription403JSONResponseBodyObject ¶
type CancelSubscription403JSONResponseBodyObject string
CancelSubscription403JSONResponseBodyObject defines parameters for CancelSubscription.
const (
CancelSubscription403JSONResponseBodyObjectError CancelSubscription403JSONResponseBodyObject = "error"
)
Defines values for CancelSubscription403JSONResponseBodyObject.
func (CancelSubscription403JSONResponseBodyObject) Valid ¶
func (e CancelSubscription403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription403JSONResponseBodyObject enum.
type CancelSubscription403JSONResponseBodyType ¶
type CancelSubscription403JSONResponseBodyType string
CancelSubscription403JSONResponseBodyType defines parameters for CancelSubscription.
const (
CancelSubscription403JSONResponseBodyTypeAuthorizationError CancelSubscription403JSONResponseBodyType = "authorization_error"
)
Defines values for CancelSubscription403JSONResponseBodyType.
func (CancelSubscription403JSONResponseBodyType) Valid ¶
func (e CancelSubscription403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription403JSONResponseBodyType enum.
type CancelSubscription404JSONResponseBodyObject ¶
type CancelSubscription404JSONResponseBodyObject string
CancelSubscription404JSONResponseBodyObject defines parameters for CancelSubscription.
const (
CancelSubscription404JSONResponseBodyObjectError CancelSubscription404JSONResponseBodyObject = "error"
)
Defines values for CancelSubscription404JSONResponseBodyObject.
func (CancelSubscription404JSONResponseBodyObject) Valid ¶
func (e CancelSubscription404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription404JSONResponseBodyObject enum.
type CancelSubscription404JSONResponseBodyType ¶
type CancelSubscription404JSONResponseBodyType string
CancelSubscription404JSONResponseBodyType defines parameters for CancelSubscription.
const (
CancelSubscription404JSONResponseBodyTypeResourceMissing CancelSubscription404JSONResponseBodyType = "resource_missing"
)
Defines values for CancelSubscription404JSONResponseBodyType.
func (CancelSubscription404JSONResponseBodyType) Valid ¶
func (e CancelSubscription404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription404JSONResponseBodyType enum.
type CancelSubscription409JSONResponseBodyObject ¶
type CancelSubscription409JSONResponseBodyObject string
CancelSubscription409JSONResponseBodyObject defines parameters for CancelSubscription.
const (
CancelSubscription409JSONResponseBodyObjectError CancelSubscription409JSONResponseBodyObject = "error"
)
Defines values for CancelSubscription409JSONResponseBodyObject.
func (CancelSubscription409JSONResponseBodyObject) Valid ¶
func (e CancelSubscription409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription409JSONResponseBodyObject enum.
type CancelSubscription409JSONResponseBodyType ¶
type CancelSubscription409JSONResponseBodyType string
CancelSubscription409JSONResponseBodyType defines parameters for CancelSubscription.
const ( CancelSubscription409JSONResponseBodyTypeIdempotencyError CancelSubscription409JSONResponseBodyType = "idempotency_error" CancelSubscription409JSONResponseBodyTypeInvalidRequest CancelSubscription409JSONResponseBodyType = "invalid_request" CancelSubscription409JSONResponseBodyTypeResourceAlreadyExists CancelSubscription409JSONResponseBodyType = "resource_already_exists" )
Defines values for CancelSubscription409JSONResponseBodyType.
func (CancelSubscription409JSONResponseBodyType) Valid ¶
func (e CancelSubscription409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription409JSONResponseBodyType enum.
type CancelSubscription422JSONResponseBodyObject ¶
type CancelSubscription422JSONResponseBodyObject string
CancelSubscription422JSONResponseBodyObject defines parameters for CancelSubscription.
const (
CancelSubscription422JSONResponseBodyObjectError CancelSubscription422JSONResponseBodyObject = "error"
)
Defines values for CancelSubscription422JSONResponseBodyObject.
func (CancelSubscription422JSONResponseBodyObject) Valid ¶
func (e CancelSubscription422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription422JSONResponseBodyObject enum.
type CancelSubscription422JSONResponseBodyType ¶
type CancelSubscription422JSONResponseBodyType string
CancelSubscription422JSONResponseBodyType defines parameters for CancelSubscription.
const ( CancelSubscription422JSONResponseBodyTypeEntityReferencesArchivedEntities CancelSubscription422JSONResponseBodyType = "entity_references_archived_entities" CancelSubscription422JSONResponseBodyTypeParameterError CancelSubscription422JSONResponseBodyType = "parameter_error" CancelSubscription422JSONResponseBodyTypeStoreError CancelSubscription422JSONResponseBodyType = "store_error" CancelSubscription422JSONResponseBodyTypeUnprocessableEntityError CancelSubscription422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CancelSubscription422JSONResponseBodyType.
func (CancelSubscription422JSONResponseBodyType) Valid ¶
func (e CancelSubscription422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription422JSONResponseBodyType enum.
type CancelSubscription423JSONResponseBodyObject ¶
type CancelSubscription423JSONResponseBodyObject string
CancelSubscription423JSONResponseBodyObject defines parameters for CancelSubscription.
const (
CancelSubscription423JSONResponseBodyObjectError CancelSubscription423JSONResponseBodyObject = "error"
)
Defines values for CancelSubscription423JSONResponseBodyObject.
func (CancelSubscription423JSONResponseBodyObject) Valid ¶
func (e CancelSubscription423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription423JSONResponseBodyObject enum.
type CancelSubscription423JSONResponseBodyType ¶
type CancelSubscription423JSONResponseBodyType string
CancelSubscription423JSONResponseBodyType defines parameters for CancelSubscription.
const (
CancelSubscription423JSONResponseBodyTypeResourceLockedError CancelSubscription423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CancelSubscription423JSONResponseBodyType.
func (CancelSubscription423JSONResponseBodyType) Valid ¶
func (e CancelSubscription423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription423JSONResponseBodyType enum.
type CancelSubscription429JSONResponseBodyObject ¶
type CancelSubscription429JSONResponseBodyObject string
CancelSubscription429JSONResponseBodyObject defines parameters for CancelSubscription.
const (
CancelSubscription429JSONResponseBodyObjectError CancelSubscription429JSONResponseBodyObject = "error"
)
Defines values for CancelSubscription429JSONResponseBodyObject.
func (CancelSubscription429JSONResponseBodyObject) Valid ¶
func (e CancelSubscription429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription429JSONResponseBodyObject enum.
type CancelSubscription429JSONResponseBodyType ¶
type CancelSubscription429JSONResponseBodyType string
CancelSubscription429JSONResponseBodyType defines parameters for CancelSubscription.
const (
CancelSubscription429JSONResponseBodyTypeRateLimitError CancelSubscription429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CancelSubscription429JSONResponseBodyType.
func (CancelSubscription429JSONResponseBodyType) Valid ¶
func (e CancelSubscription429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription429JSONResponseBodyType enum.
type CancelSubscription500JSONResponseBodyObject ¶
type CancelSubscription500JSONResponseBodyObject string
CancelSubscription500JSONResponseBodyObject defines parameters for CancelSubscription.
const (
CancelSubscription500JSONResponseBodyObjectError CancelSubscription500JSONResponseBodyObject = "error"
)
Defines values for CancelSubscription500JSONResponseBodyObject.
func (CancelSubscription500JSONResponseBodyObject) Valid ¶
func (e CancelSubscription500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription500JSONResponseBodyObject enum.
type CancelSubscription500JSONResponseBodyType ¶
type CancelSubscription500JSONResponseBodyType string
CancelSubscription500JSONResponseBodyType defines parameters for CancelSubscription.
const (
CancelSubscription500JSONResponseBodyTypeServerError CancelSubscription500JSONResponseBodyType = "server_error"
)
Defines values for CancelSubscription500JSONResponseBodyType.
func (CancelSubscription500JSONResponseBodyType) Valid ¶
func (e CancelSubscription500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription500JSONResponseBodyType enum.
type CancelSubscription503JSONResponseBodyObject ¶
type CancelSubscription503JSONResponseBodyObject string
CancelSubscription503JSONResponseBodyObject defines parameters for CancelSubscription.
const (
CancelSubscription503JSONResponseBodyObjectError CancelSubscription503JSONResponseBodyObject = "error"
)
Defines values for CancelSubscription503JSONResponseBodyObject.
func (CancelSubscription503JSONResponseBodyObject) Valid ¶
func (e CancelSubscription503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription503JSONResponseBodyObject enum.
type CancelSubscription503JSONResponseBodyType ¶
type CancelSubscription503JSONResponseBodyType string
CancelSubscription503JSONResponseBodyType defines parameters for CancelSubscription.
const (
CancelSubscription503JSONResponseBodyTypeServerError CancelSubscription503JSONResponseBodyType = "server_error"
)
Defines values for CancelSubscription503JSONResponseBodyType.
func (CancelSubscription503JSONResponseBodyType) Valid ¶
func (e CancelSubscription503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CancelSubscription503JSONResponseBodyType enum.
type ChartAnnotation ¶
type ChartAnnotation struct {
// Description Human-readable description of the event this annotation represents.
//
// Example: App version 2.0 released
Description string `json:"description"`
// EndDate The end date of the annotated period (ISO 8601 date format), or null if the annotation is a single-day event.
//
// Example: 2024-01-20
EndDate *openapi_types.Date `json:"end_date"`
// ID The ID of the chart annotation.
//
// Example: chartannot1a2b3c
ID string `json:"id"`
// Object String representing the object's type. Objects of the same type share the same value.
//
// Example: chart_annotation
Object ChartAnnotationObject `json:"object"`
// StartDate The start date of the annotated period (ISO 8601 date format).
//
// Example: 2024-01-15
StartDate openapi_types.Date `json:"start_date"`
}
ChartAnnotation A chart annotation marking a significant event on charts.
type ChartAnnotationObject ¶
type ChartAnnotationObject string
ChartAnnotationObject String representing the object's type. Objects of the same type share the same value.
Example: chart_annotation
const (
ChartAnnotationObjectChartAnnotation ChartAnnotationObject = "chart_annotation"
)
Defines values for ChartAnnotationObject.
func (ChartAnnotationObject) Valid ¶
func (e ChartAnnotationObject) Valid() bool
Valid indicates whether the value is a known member of the ChartAnnotationObject enum.
type ChartData ¶
type ChartData struct {
DisplayName string `json:"display_name,omitempty"`
Category string `json:"category,omitempty"`
Description string `json:"description,omitempty"`
Resolution string `json:"resolution,omitempty"`
StartDate int64 `json:"start_date,omitempty"` // unix SECONDS (not millis — note inconsistency)
EndDate int64 `json:"end_date,omitempty"`
LastComputedAt any `json:"last_computed_at,omitempty"`
Measures []any `json:"measures,omitempty"`
Values []ChartValue `json:"values,omitempty"`
Segments any `json:"segments,omitempty"`
Summary map[string]any `json:"summary,omitempty"`
UserSelectors map[string]any `json:"user_selectors,omitempty"`
UnsupportedParams any `json:"unsupported_params,omitempty"`
Object string `json:"object,omitempty"`
YAxis string `json:"yaxis,omitempty"`
YAxisCurrency string `json:"yaxis_currency,omitempty"`
}
ChartData is what GET /charts/{name} returns. Most fields are pass-through: the chart shape is highly variable per chart_name and we don't want to lose fields by over-modeling.
type ChartFilterOption ¶
type ChartFilterOption struct {
// DisplayName Human-readable name for the filter
//
// Example: Country
DisplayName string `json:"display_name"`
// GroupDisplayName Group name for organizing filter options
//
// Example: Geography
GroupDisplayName *string `json:"group_display_name,omitempty"`
// ID Unique identifier for the filter
//
// Example: country
ID string `json:"id"`
// Object String representing the object's type. Objects of the same type share the same value.
Object ChartFilterOptionObject `json:"object"`
// Options Available values for this filter
Options []ChartFilterOption_Options_Item `json:"options"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ChartFilterOption A filter option for a chart
func (ChartFilterOption) Get ¶
func (a ChartFilterOption) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ChartFilterOption. Returns the specified element and whether it was found
func (ChartFilterOption) MarshalJSON ¶
func (a ChartFilterOption) MarshalJSON() ([]byte, error)
Override default JSON handling for ChartFilterOption to handle AdditionalProperties
func (*ChartFilterOption) Set ¶
func (a *ChartFilterOption) Set(fieldName string, value interface{})
Setter for additional properties for ChartFilterOption
func (*ChartFilterOption) UnmarshalJSON ¶
func (a *ChartFilterOption) UnmarshalJSON(b []byte) error
Override default JSON handling for ChartFilterOption to handle AdditionalProperties
type ChartFilterOptionObject ¶
type ChartFilterOptionObject string
ChartFilterOptionObject String representing the object's type. Objects of the same type share the same value.
const (
ChartFilterOptionObjectChartFilterOption ChartFilterOptionObject = "chart_filter_option"
)
Defines values for ChartFilterOptionObject.
func (ChartFilterOptionObject) Valid ¶
func (e ChartFilterOptionObject) Valid() bool
Valid indicates whether the value is a known member of the ChartFilterOptionObject enum.
type ChartFilterOption_Options_Item ¶
type ChartFilterOption_Options_Item struct {
// DisplayName Human-readable name for the option value
//
// Example: United States
DisplayName string `json:"display_name"`
// ID Unique identifier for the option value
//
// Example: US
ID string `json:"id"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ChartFilterOption_Options_Item defines model for ChartFilterOption.options.Item.
func (ChartFilterOption_Options_Item) Get ¶
func (a ChartFilterOption_Options_Item) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ChartFilterOption_Options_Item. Returns the specified element and whether it was found
func (ChartFilterOption_Options_Item) MarshalJSON ¶
func (a ChartFilterOption_Options_Item) MarshalJSON() ([]byte, error)
Override default JSON handling for ChartFilterOption_Options_Item to handle AdditionalProperties
func (*ChartFilterOption_Options_Item) Set ¶
func (a *ChartFilterOption_Options_Item) Set(fieldName string, value interface{})
Setter for additional properties for ChartFilterOption_Options_Item
func (*ChartFilterOption_Options_Item) UnmarshalJSON ¶
func (a *ChartFilterOption_Options_Item) UnmarshalJSON(b []byte) error
Override default JSON handling for ChartFilterOption_Options_Item to handle AdditionalProperties
type ChartOptions ¶
type ChartOptions struct {
// Filters Available filter options
Filters []ChartFilterOption `json:"filters"`
// Object String representing the object's type. Objects of the same type share the same value.
Object ChartOptionsObject `json:"object"`
// Resolutions Available time resolutions for the chart
//
// Example: [{"display_name":"day","id":"0"},{"display_name":"week","id":"1"},{"display_name":"month","id":"2"}]
Resolutions []struct {
// DisplayName Human-readable name
DisplayName string `json:"display_name"`
// ID Resolution ID to use in requests
ID string `json:"id"`
} `json:"resolutions"`
// Segments Available segmentation options
Segments []ChartSegmentOption `json:"segments"`
// UserSelectors User-configurable selectors for the chart (keyed by selector name)
UserSelectors *map[string]struct {
// Default Default value for the selector
Default *string `json:"default,omitempty"`
// DisplayName Human-readable name
DisplayName *string `json:"display_name,omitempty"`
Options *[]struct {
DisplayName string `json:"display_name"`
ID string `json:"id"`
} `json:"options,omitempty"`
} `json:"user_selectors,omitempty"`
}
ChartOptions Available options for filtering and segmenting a chart
type ChartOptionsObject ¶
type ChartOptionsObject string
ChartOptionsObject String representing the object's type. Objects of the same type share the same value.
const (
ChartOptionsObjectChartOptions ChartOptionsObject = "chart_options"
)
Defines values for ChartOptionsObject.
func (ChartOptionsObject) Valid ¶
func (e ChartOptionsObject) Valid() bool
Valid indicates whether the value is a known member of the ChartOptionsObject enum.
type ChartSegmentOption ¶
type ChartSegmentOption struct {
// DisplayName Human-readable name for the segment option
//
// Example: Country
DisplayName string `json:"display_name"`
// GroupDisplayName Group name for organizing segment options
//
// Example: Geography
GroupDisplayName *string `json:"group_display_name,omitempty"`
// ID Unique identifier for the segment option
//
// Example: country
ID string `json:"id"`
// Object String representing the object's type. Objects of the same type share the same value.
Object ChartSegmentOptionObject `json:"object"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ChartSegmentOption A segmentation option for a chart
func (ChartSegmentOption) Get ¶
func (a ChartSegmentOption) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ChartSegmentOption. Returns the specified element and whether it was found
func (ChartSegmentOption) MarshalJSON ¶
func (a ChartSegmentOption) MarshalJSON() ([]byte, error)
Override default JSON handling for ChartSegmentOption to handle AdditionalProperties
func (*ChartSegmentOption) Set ¶
func (a *ChartSegmentOption) Set(fieldName string, value interface{})
Setter for additional properties for ChartSegmentOption
func (*ChartSegmentOption) UnmarshalJSON ¶
func (a *ChartSegmentOption) UnmarshalJSON(b []byte) error
Override default JSON handling for ChartSegmentOption to handle AdditionalProperties
type ChartSegmentOptionObject ¶
type ChartSegmentOptionObject string
ChartSegmentOptionObject String representing the object's type. Objects of the same type share the same value.
const (
ChartSegmentOptionObjectChartSegmentOption ChartSegmentOptionObject = "chart_segment_option"
)
Defines values for ChartSegmentOptionObject.
func (ChartSegmentOptionObject) Valid ¶
func (e ChartSegmentOptionObject) Valid() bool
Valid indicates whether the value is a known member of the ChartSegmentOptionObject enum.
type ChartSeries ¶
type ChartSeries struct {
// Chartable Whether the series is meaningful to plot.
//
// Example: true
Chartable *bool `json:"chartable,omitempty"`
// DecimalPrecision Number of decimal places the values of this series should be rendered with.
//
// Example: 2
DecimalPrecision *int `json:"decimal_precision,omitempty"`
// Description Longer explanation of what the series measures.
//
// Example: Gross revenue generated by the cohort.
Description *string `json:"description,omitempty"`
// DisplayName Human-readable label for the series. For cohort `periods`, index 0 is named after the cohorting date (e.g. `New customers`) and later indices after the cohort age (e.g. `Month 0`, `Month 1`).
//
// Example: Month 0
DisplayName string `json:"display_name"`
// IsOther Whether the series aggregates the segments beyond `segments_limit`.
//
// Example: false
IsOther *bool `json:"is_other,omitempty"`
// IsTotal Whether the series aggregates all the others.
//
// Example: false
IsTotal *bool `json:"is_total,omitempty"`
// NestedMeasures Per-measure metadata, when a segmented series carries more than one measure.
NestedMeasures *[]ChartSeries `json:"nested_measures,omitempty"`
// Scale Whether the values of this series are absolute amounts or percentages of a baseline.
//
// Example: absolute
Scale *ChartSeriesScale `json:"scale,omitempty"`
// Tabulable Whether the series is meaningful to show as a table column.
//
// Example: true
Tabulable *bool `json:"tabulable,omitempty"`
// Unit Unit the values of this series are expressed in. `#` means the values are counts, not amounts of the chart's measure.
//
// Example: $
Unit *string `json:"unit,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ChartSeries Metadata describing one series (a segment, measure, or cohort period) of a chart, used to label and format the matching data points in `values`.
func (ChartSeries) Get ¶
func (a ChartSeries) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for ChartSeries. Returns the specified element and whether it was found
func (ChartSeries) MarshalJSON ¶
func (a ChartSeries) MarshalJSON() ([]byte, error)
Override default JSON handling for ChartSeries to handle AdditionalProperties
func (*ChartSeries) Set ¶
func (a *ChartSeries) Set(fieldName string, value interface{})
Setter for additional properties for ChartSeries
func (*ChartSeries) UnmarshalJSON ¶
func (a *ChartSeries) UnmarshalJSON(b []byte) error
Override default JSON handling for ChartSeries to handle AdditionalProperties
type ChartSeriesScale ¶
type ChartSeriesScale string
ChartSeriesScale Whether the values of this series are absolute amounts or percentages of a baseline.
Example: absolute
const ( Absolute ChartSeriesScale = "absolute" Relative ChartSeriesScale = "relative" )
Defines values for ChartSeriesScale.
func (ChartSeriesScale) Valid ¶
func (e ChartSeriesScale) Valid() bool
Valid indicates whether the value is a known member of the ChartSeriesScale enum.
type ChartShowOptions ¶
type ChartShowOptions struct {
// Resolution: "0"=day "1"=week "2"=month "3"=quarter "4"=year (empty = server default)
Resolution string
// StartDate / EndDate are unix seconds (converted to YYYY-MM-DD by Show). Zero means no filter.
StartDate int64
EndDate int64
// Filters are chart-specific key=value params (from --filter flags).
Filters map[string]string
}
ChartShowOptions controls what the chart endpoint returns.
type ChartValue ¶
type ChartValue struct {
Cohort int64 `json:"cohort"`
Value float64 `json:"value"`
Measure float64 `json:"measure"`
Incomplete bool `json:"incomplete"`
}
ChartValue is one data point in the values array. Cohort is unix seconds.
type ChartsService ¶
type ChartsService struct {
// contains filtered or unexported fields
}
func (*ChartsService) Show ¶
func (s *ChartsService) Show(ctx context.Context, projectID, name string, opts ChartShowOptions) (*ChartData, error)
type Client ¶
type Client struct {
Projects *ProjectsService
Customers *CustomersService
Entitlements *EntitlementsService
Offerings *OfferingsService
Packages *PackagesService
Products *ProductsService
Subscriptions *SubscriptionsService
Purchases *PurchasesService
Invoices *InvoicesService
Webhooks *WebhooksService
Paywalls *PaywallsService
MediaAssets *MediaAssetsService
Fonts *FontsService
Charts *ChartsService
Metrics *MetricsService
Audit *AuditService
Apps *AppsService
StoreStatePlans *StoreStatePlansService
StoreState *StoreStateService
// contains filtered or unexported fields
}
type Collaborator ¶
type Collaborator struct {
// AcceptedAt The date when the collaborator accepted the invitation in ms since epoch
//
// Example: 1658399423658
AcceptedAt *int64 `json:"accepted_at"`
// Email The email address of the collaborator
//
// Example: john.doe@example.com
Email openapi_types.Email `json:"email"`
// HasMfa Whether the collaborator has 2FA enabled
//
// Example: true
HasMfa bool `json:"has_mfa"`
// ID The id of the collaborator
//
// Example: collab1a2b3c4d5
ID string `json:"id"`
// Name The name of the collaborator
//
// Example: John Doe
Name *string `json:"name,omitempty"`
// Object String representing the object's type. Objects of the same type share the same value.
Object CollaboratorObject `json:"object"`
// Role The role of the collaborator. The project owner is included in the list with the role `owner`.
//
// Example: admin
Role CollaboratorRole `json:"role"`
}
Collaborator defines model for Collaborator.
type CollaboratorObject ¶
type CollaboratorObject string
CollaboratorObject String representing the object's type. Objects of the same type share the same value.
const (
CollaboratorObjectCollaborator CollaboratorObject = "collaborator"
)
Defines values for CollaboratorObject.
func (CollaboratorObject) Valid ¶
func (e CollaboratorObject) Valid() bool
Valid indicates whether the value is a known member of the CollaboratorObject enum.
type CollaboratorRole ¶
type CollaboratorRole string
CollaboratorRole The role of the collaborator. The project owner is included in the list with the role `owner`.
Example: admin
const ( Admin CollaboratorRole = "admin" CustomerSupport CollaboratorRole = "customer_support" Developer CollaboratorRole = "developer" GrowthSpecialist CollaboratorRole = "growth_specialist" Operations CollaboratorRole = "operations" Owner CollaboratorRole = "owner" ReadOnly CollaboratorRole = "read_only" Revenuecat CollaboratorRole = "revenuecat" )
Defines values for CollaboratorRole.
func (CollaboratorRole) Valid ¶
func (e CollaboratorRole) Valid() bool
Valid indicates whether the value is a known member of the CollaboratorRole enum.
type Conflict ¶
type Conflict struct {
// BackoffMs The ms the client should wait before retrying the request. Only present for retryable errors.
BackoffMs *int `json:"backoff_ms,omitempty"`
// DocURL A URL to more information about the error reported
//
// Example: https://errors.rev.cat/parameter-error
DocURL *string `json:"doc_url,omitempty"`
// Message A message describing the reason of the error
//
// Example: id shouldn't be longer than 1,500 characters
Message string `json:"message"`
// Object String representing the object's type. Objects of the same type share the same value.
//
// Example: error
Object ConflictObject `json:"object"`
// Param If the error is parameter-specific, the parameter related to the error
//
// Example: customer_id
Param *string `json:"param,omitempty"`
// ReferencedObjectIds The IDs of related objects relevant to the error, such as the archived entities that need to be made active before the operation can succeed.
//
// Example: ["prodabcd1234","prodwxyz5678"]
ReferencedObjectIds *[]string `json:"referenced_object_ids,omitempty"`
// Retryable Indicates if the error is retryable or not
//
// Example: false
Retryable bool `json:"retryable"`
Type ConflictType `json:"type"`
}
Conflict defines model for Conflict.
type ConflictObject ¶
type ConflictObject string
ConflictObject String representing the object's type. Objects of the same type share the same value.
Example: error
const (
ConflictObjectError ConflictObject = "error"
)
Defines values for ConflictObject.
func (ConflictObject) Valid ¶
func (e ConflictObject) Valid() bool
Valid indicates whether the value is a known member of the ConflictObject enum.
type ConflictType ¶
type ConflictType string
ConflictType defines model for Conflict.Type.
const ( ConflictTypeIdempotencyError ConflictType = "idempotency_error" ConflictTypeInvalidRequest ConflictType = "invalid_request" ConflictTypeResourceAlreadyExists ConflictType = "resource_already_exists" )
Defines values for ConflictType.
func (ConflictType) Valid ¶
func (e ConflictType) Valid() bool
Valid indicates whether the value is a known member of the ConflictType enum.
type Country ¶
type Country string
Country The country that the object is associated with, in ISO alpha 2 code
Example: US
const ( CountryAD Country = "AD" CountryAE Country = "AE" CountryAF Country = "AF" CountryAG Country = "AG" CountryAI Country = "AI" CountryAL Country = "AL" CountryAM Country = "AM" CountryAO Country = "AO" CountryAQ Country = "AQ" CountryAR Country = "AR" CountryAS Country = "AS" CountryAT Country = "AT" CountryAU Country = "AU" CountryAW Country = "AW" CountryAX Country = "AX" CountryAZ Country = "AZ" CountryBA Country = "BA" CountryBB Country = "BB" CountryBD Country = "BD" CountryBE Country = "BE" CountryBF Country = "BF" CountryBG Country = "BG" CountryBH Country = "BH" CountryBI Country = "BI" CountryBJ Country = "BJ" CountryBL Country = "BL" CountryBM Country = "BM" CountryBN Country = "BN" CountryBO Country = "BO" CountryBQ Country = "BQ" CountryBR Country = "BR" CountryBS Country = "BS" CountryBT Country = "BT" CountryBV Country = "BV" CountryBW Country = "BW" CountryBY Country = "BY" CountryBZ Country = "BZ" CountryCA Country = "CA" CountryCC Country = "CC" CountryCD Country = "CD" CountryCF Country = "CF" CountryCG Country = "CG" CountryCH Country = "CH" CountryCI Country = "CI" CountryCK Country = "CK" CountryCL Country = "CL" CountryCM Country = "CM" CountryCN Country = "CN" CountryCO Country = "CO" CountryCR Country = "CR" CountryCU Country = "CU" CountryCV Country = "CV" CountryCW Country = "CW" CountryCX Country = "CX" CountryCY Country = "CY" CountryCZ Country = "CZ" CountryDE Country = "DE" CountryDJ Country = "DJ" CountryDK Country = "DK" CountryDM Country = "DM" CountryDO Country = "DO" CountryDZ Country = "DZ" CountryEC Country = "EC" CountryEE Country = "EE" CountryEG Country = "EG" CountryEH Country = "EH" CountryER Country = "ER" CountryES Country = "ES" CountryET Country = "ET" CountryFI Country = "FI" CountryFJ Country = "FJ" CountryFK Country = "FK" CountryFM Country = "FM" CountryFO Country = "FO" CountryFR Country = "FR" CountryGA Country = "GA" CountryGB Country = "GB" CountryGD Country = "GD" CountryGE Country = "GE" CountryGF Country = "GF" CountryGG Country = "GG" CountryGH Country = "GH" CountryGI Country = "GI" CountryGL Country = "GL" CountryGM Country = "GM" CountryGN Country = "GN" CountryGP Country = "GP" CountryGQ Country = "GQ" CountryGR Country = "GR" CountryGS Country = "GS" CountryGT Country = "GT" CountryGU Country = "GU" CountryGW Country = "GW" CountryGY Country = "GY" CountryHK Country = "HK" CountryHM Country = "HM" CountryHN Country = "HN" CountryHR Country = "HR" CountryHT Country = "HT" CountryHU Country = "HU" CountryID Country = "ID" CountryIE Country = "IE" CountryIL Country = "IL" CountryIM Country = "IM" CountryIN Country = "IN" CountryIO Country = "IO" CountryIQ Country = "IQ" CountryIR Country = "IR" CountryIS Country = "IS" CountryIT Country = "IT" CountryJE Country = "JE" CountryJM Country = "JM" CountryJO Country = "JO" CountryJP Country = "JP" CountryKE Country = "KE" CountryKG Country = "KG" CountryKH Country = "KH" CountryKI Country = "KI" CountryKM Country = "KM" CountryKN Country = "KN" CountryKP Country = "KP" CountryKR Country = "KR" CountryKW Country = "KW" CountryKY Country = "KY" CountryKZ Country = "KZ" CountryLA Country = "LA" CountryLB Country = "LB" CountryLC Country = "LC" CountryLI Country = "LI" CountryLK Country = "LK" CountryLR Country = "LR" CountryLS Country = "LS" CountryLT Country = "LT" CountryLU Country = "LU" CountryLV Country = "LV" CountryLY Country = "LY" CountryLessThanNil Country = "<nil>" CountryMA Country = "MA" CountryMC Country = "MC" CountryMD Country = "MD" CountryME Country = "ME" CountryMF Country = "MF" CountryMG Country = "MG" CountryMH Country = "MH" CountryMK Country = "MK" CountryML Country = "ML" CountryMM Country = "MM" CountryMN Country = "MN" CountryMO Country = "MO" CountryMP Country = "MP" CountryMQ Country = "MQ" CountryMR Country = "MR" CountryMS Country = "MS" CountryMT Country = "MT" CountryMU Country = "MU" CountryMV Country = "MV" CountryMW Country = "MW" CountryMX Country = "MX" CountryMY Country = "MY" CountryMZ Country = "MZ" CountryNA Country = "NA" CountryNC Country = "NC" CountryNE Country = "NE" CountryNF Country = "NF" CountryNG Country = "NG" CountryNI Country = "NI" CountryNL Country = "NL" CountryNO Country = "NO" CountryNP Country = "NP" CountryNR Country = "NR" CountryNU Country = "NU" CountryNZ Country = "NZ" CountryOM Country = "OM" CountryPA Country = "PA" CountryPE Country = "PE" CountryPF Country = "PF" CountryPG Country = "PG" CountryPH Country = "PH" CountryPK Country = "PK" CountryPL Country = "PL" CountryPM Country = "PM" CountryPN Country = "PN" CountryPR Country = "PR" CountryPS Country = "PS" CountryPT Country = "PT" CountryPW Country = "PW" CountryPY Country = "PY" CountryQA Country = "QA" CountryRE Country = "RE" CountryRO Country = "RO" CountryRS Country = "RS" CountryRU Country = "RU" CountryRW Country = "RW" CountrySA Country = "SA" CountrySB Country = "SB" CountrySC Country = "SC" CountrySD Country = "SD" CountrySE Country = "SE" CountrySG Country = "SG" CountrySH Country = "SH" CountrySI Country = "SI" CountrySJ Country = "SJ" CountrySK Country = "SK" CountrySL Country = "SL" CountrySM Country = "SM" CountrySN Country = "SN" CountrySO Country = "SO" CountrySR Country = "SR" CountrySS Country = "SS" CountryST Country = "ST" CountrySV Country = "SV" CountrySX Country = "SX" CountrySY Country = "SY" CountrySZ Country = "SZ" CountryTC Country = "TC" CountryTD Country = "TD" CountryTF Country = "TF" CountryTG Country = "TG" CountryTH Country = "TH" CountryTJ Country = "TJ" CountryTK Country = "TK" CountryTL Country = "TL" CountryTM Country = "TM" CountryTN Country = "TN" CountryTO Country = "TO" CountryTR Country = "TR" CountryTT Country = "TT" CountryTV Country = "TV" CountryTW Country = "TW" CountryTZ Country = "TZ" CountryUA Country = "UA" CountryUG Country = "UG" CountryUM Country = "UM" CountryUS Country = "US" CountryUY Country = "UY" CountryUZ Country = "UZ" CountryVA Country = "VA" CountryVC Country = "VC" CountryVE Country = "VE" CountryVG Country = "VG" CountryVI Country = "VI" CountryVN Country = "VN" CountryVU Country = "VU" CountryWF Country = "WF" CountryWS Country = "WS" CountryYE Country = "YE" CountryYT Country = "YT" CountryZA Country = "ZA" CountryZM Country = "ZM" CountryZW Country = "ZW" )
Defines values for Country.
type CreateApp400JSONResponseBodyObject ¶
type CreateApp400JSONResponseBodyObject string
CreateApp400JSONResponseBodyObject defines parameters for CreateApp.
const (
CreateApp400JSONResponseBodyObjectError CreateApp400JSONResponseBodyObject = "error"
)
Defines values for CreateApp400JSONResponseBodyObject.
func (CreateApp400JSONResponseBodyObject) Valid ¶
func (e CreateApp400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateApp400JSONResponseBodyObject enum.
type CreateApp400JSONResponseBodyType ¶
type CreateApp400JSONResponseBodyType string
CreateApp400JSONResponseBodyType defines parameters for CreateApp.
const ( CreateApp400JSONResponseBodyTypeInvalidRequest CreateApp400JSONResponseBodyType = "invalid_request" CreateApp400JSONResponseBodyTypeParameterError CreateApp400JSONResponseBodyType = "parameter_error" )
Defines values for CreateApp400JSONResponseBodyType.
func (CreateApp400JSONResponseBodyType) Valid ¶
func (e CreateApp400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateApp400JSONResponseBodyType enum.
type CreateApp401JSONResponseBodyObject ¶
type CreateApp401JSONResponseBodyObject string
CreateApp401JSONResponseBodyObject defines parameters for CreateApp.
const (
CreateApp401JSONResponseBodyObjectError CreateApp401JSONResponseBodyObject = "error"
)
Defines values for CreateApp401JSONResponseBodyObject.
func (CreateApp401JSONResponseBodyObject) Valid ¶
func (e CreateApp401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateApp401JSONResponseBodyObject enum.
type CreateApp401JSONResponseBodyType ¶
type CreateApp401JSONResponseBodyType string
CreateApp401JSONResponseBodyType defines parameters for CreateApp.
const (
CreateApp401JSONResponseBodyTypeAuthenticationError CreateApp401JSONResponseBodyType = "authentication_error"
)
Defines values for CreateApp401JSONResponseBodyType.
func (CreateApp401JSONResponseBodyType) Valid ¶
func (e CreateApp401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateApp401JSONResponseBodyType enum.
type CreateApp403JSONResponseBodyObject ¶
type CreateApp403JSONResponseBodyObject string
CreateApp403JSONResponseBodyObject defines parameters for CreateApp.
const (
CreateApp403JSONResponseBodyObjectError CreateApp403JSONResponseBodyObject = "error"
)
Defines values for CreateApp403JSONResponseBodyObject.
func (CreateApp403JSONResponseBodyObject) Valid ¶
func (e CreateApp403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateApp403JSONResponseBodyObject enum.
type CreateApp403JSONResponseBodyType ¶
type CreateApp403JSONResponseBodyType string
CreateApp403JSONResponseBodyType defines parameters for CreateApp.
const (
CreateApp403JSONResponseBodyTypeAuthorizationError CreateApp403JSONResponseBodyType = "authorization_error"
)
Defines values for CreateApp403JSONResponseBodyType.
func (CreateApp403JSONResponseBodyType) Valid ¶
func (e CreateApp403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateApp403JSONResponseBodyType enum.
type CreateApp404JSONResponseBodyObject ¶
type CreateApp404JSONResponseBodyObject string
CreateApp404JSONResponseBodyObject defines parameters for CreateApp.
const (
CreateApp404JSONResponseBodyObjectError CreateApp404JSONResponseBodyObject = "error"
)
Defines values for CreateApp404JSONResponseBodyObject.
func (CreateApp404JSONResponseBodyObject) Valid ¶
func (e CreateApp404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateApp404JSONResponseBodyObject enum.
type CreateApp404JSONResponseBodyType ¶
type CreateApp404JSONResponseBodyType string
CreateApp404JSONResponseBodyType defines parameters for CreateApp.
const (
CreateApp404JSONResponseBodyTypeResourceMissing CreateApp404JSONResponseBodyType = "resource_missing"
)
Defines values for CreateApp404JSONResponseBodyType.
func (CreateApp404JSONResponseBodyType) Valid ¶
func (e CreateApp404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateApp404JSONResponseBodyType enum.
type CreateApp409JSONResponseBodyObject ¶
type CreateApp409JSONResponseBodyObject string
CreateApp409JSONResponseBodyObject defines parameters for CreateApp.
const (
CreateApp409JSONResponseBodyObjectError CreateApp409JSONResponseBodyObject = "error"
)
Defines values for CreateApp409JSONResponseBodyObject.
func (CreateApp409JSONResponseBodyObject) Valid ¶
func (e CreateApp409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateApp409JSONResponseBodyObject enum.
type CreateApp409JSONResponseBodyType ¶
type CreateApp409JSONResponseBodyType string
CreateApp409JSONResponseBodyType defines parameters for CreateApp.
const ( CreateApp409JSONResponseBodyTypeIdempotencyError CreateApp409JSONResponseBodyType = "idempotency_error" CreateApp409JSONResponseBodyTypeInvalidRequest CreateApp409JSONResponseBodyType = "invalid_request" CreateApp409JSONResponseBodyTypeResourceAlreadyExists CreateApp409JSONResponseBodyType = "resource_already_exists" )
Defines values for CreateApp409JSONResponseBodyType.
func (CreateApp409JSONResponseBodyType) Valid ¶
func (e CreateApp409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateApp409JSONResponseBodyType enum.
type CreateApp422JSONResponseBodyObject ¶
type CreateApp422JSONResponseBodyObject string
CreateApp422JSONResponseBodyObject defines parameters for CreateApp.
const (
CreateApp422JSONResponseBodyObjectError CreateApp422JSONResponseBodyObject = "error"
)
Defines values for CreateApp422JSONResponseBodyObject.
func (CreateApp422JSONResponseBodyObject) Valid ¶
func (e CreateApp422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateApp422JSONResponseBodyObject enum.
type CreateApp422JSONResponseBodyType ¶
type CreateApp422JSONResponseBodyType string
CreateApp422JSONResponseBodyType defines parameters for CreateApp.
const ( CreateApp422JSONResponseBodyTypeEntityReferencesArchivedEntities CreateApp422JSONResponseBodyType = "entity_references_archived_entities" CreateApp422JSONResponseBodyTypeParameterError CreateApp422JSONResponseBodyType = "parameter_error" CreateApp422JSONResponseBodyTypeStoreError CreateApp422JSONResponseBodyType = "store_error" CreateApp422JSONResponseBodyTypeUnprocessableEntityError CreateApp422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CreateApp422JSONResponseBodyType.
func (CreateApp422JSONResponseBodyType) Valid ¶
func (e CreateApp422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateApp422JSONResponseBodyType enum.
type CreateApp423JSONResponseBodyObject ¶
type CreateApp423JSONResponseBodyObject string
CreateApp423JSONResponseBodyObject defines parameters for CreateApp.
const (
CreateApp423JSONResponseBodyObjectError CreateApp423JSONResponseBodyObject = "error"
)
Defines values for CreateApp423JSONResponseBodyObject.
func (CreateApp423JSONResponseBodyObject) Valid ¶
func (e CreateApp423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateApp423JSONResponseBodyObject enum.
type CreateApp423JSONResponseBodyType ¶
type CreateApp423JSONResponseBodyType string
CreateApp423JSONResponseBodyType defines parameters for CreateApp.
const (
CreateApp423JSONResponseBodyTypeResourceLockedError CreateApp423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CreateApp423JSONResponseBodyType.
func (CreateApp423JSONResponseBodyType) Valid ¶
func (e CreateApp423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateApp423JSONResponseBodyType enum.
type CreateApp429JSONResponseBodyObject ¶
type CreateApp429JSONResponseBodyObject string
CreateApp429JSONResponseBodyObject defines parameters for CreateApp.
const (
CreateApp429JSONResponseBodyObjectError CreateApp429JSONResponseBodyObject = "error"
)
Defines values for CreateApp429JSONResponseBodyObject.
func (CreateApp429JSONResponseBodyObject) Valid ¶
func (e CreateApp429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateApp429JSONResponseBodyObject enum.
type CreateApp429JSONResponseBodyType ¶
type CreateApp429JSONResponseBodyType string
CreateApp429JSONResponseBodyType defines parameters for CreateApp.
const (
CreateApp429JSONResponseBodyTypeRateLimitError CreateApp429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CreateApp429JSONResponseBodyType.
func (CreateApp429JSONResponseBodyType) Valid ¶
func (e CreateApp429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateApp429JSONResponseBodyType enum.
type CreateApp500JSONResponseBodyObject ¶
type CreateApp500JSONResponseBodyObject string
CreateApp500JSONResponseBodyObject defines parameters for CreateApp.
const (
CreateApp500JSONResponseBodyObjectError CreateApp500JSONResponseBodyObject = "error"
)
Defines values for CreateApp500JSONResponseBodyObject.
func (CreateApp500JSONResponseBodyObject) Valid ¶
func (e CreateApp500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateApp500JSONResponseBodyObject enum.
type CreateApp500JSONResponseBodyType ¶
type CreateApp500JSONResponseBodyType string
CreateApp500JSONResponseBodyType defines parameters for CreateApp.
const (
CreateApp500JSONResponseBodyTypeServerError CreateApp500JSONResponseBodyType = "server_error"
)
Defines values for CreateApp500JSONResponseBodyType.
func (CreateApp500JSONResponseBodyType) Valid ¶
func (e CreateApp500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateApp500JSONResponseBodyType enum.
type CreateApp503JSONResponseBodyObject ¶
type CreateApp503JSONResponseBodyObject string
CreateApp503JSONResponseBodyObject defines parameters for CreateApp.
const (
CreateApp503JSONResponseBodyObjectError CreateApp503JSONResponseBodyObject = "error"
)
Defines values for CreateApp503JSONResponseBodyObject.
func (CreateApp503JSONResponseBodyObject) Valid ¶
func (e CreateApp503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateApp503JSONResponseBodyObject enum.
type CreateApp503JSONResponseBodyType ¶
type CreateApp503JSONResponseBodyType string
CreateApp503JSONResponseBodyType defines parameters for CreateApp.
const (
CreateApp503JSONResponseBodyTypeServerError CreateApp503JSONResponseBodyType = "server_error"
)
Defines values for CreateApp503JSONResponseBodyType.
func (CreateApp503JSONResponseBodyType) Valid ¶
func (e CreateApp503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateApp503JSONResponseBodyType enum.
type CreateAppJSONRequestBody ¶
type CreateAppJSONRequestBody = AppCreate
CreateAppJSONRequestBody defines body for CreateApp for application/json ContentType.
type CreateAppStoreConnectInAppPurchaseInput ¶
type CreateAppStoreConnectInAppPurchaseInput = map[string]interface{}
CreateAppStoreConnectInAppPurchaseInput In-app purchase products do not require any additional information
type CreateAppStoreConnectSubscriptionInput ¶
type CreateAppStoreConnectSubscriptionInput struct {
// Duration The subscription duration period
Duration CreateAppStoreConnectSubscriptionInputDuration `json:"duration"`
// SubscriptionGroupID The ID of the subscription group (optional)
SubscriptionGroupID *string `json:"subscription_group_id,omitempty"`
// SubscriptionGroupName The name of the subscription group
SubscriptionGroupName string `json:"subscription_group_name"`
}
CreateAppStoreConnectSubscriptionInput defines model for CreateAppStoreConnectSubscriptionInput.
type CreateAppStoreConnectSubscriptionInputDuration ¶
type CreateAppStoreConnectSubscriptionInputDuration string
CreateAppStoreConnectSubscriptionInputDuration The subscription duration period
const ( ONEMONTH CreateAppStoreConnectSubscriptionInputDuration = "ONE_MONTH" ONEWEEK CreateAppStoreConnectSubscriptionInputDuration = "ONE_WEEK" ONEYEAR CreateAppStoreConnectSubscriptionInputDuration = "ONE_YEAR" SIXMONTHS CreateAppStoreConnectSubscriptionInputDuration = "SIX_MONTHS" THREEMONTHS CreateAppStoreConnectSubscriptionInputDuration = "THREE_MONTHS" TWOMONTHS CreateAppStoreConnectSubscriptionInputDuration = "TWO_MONTHS" )
Defines values for CreateAppStoreConnectSubscriptionInputDuration.
func (CreateAppStoreConnectSubscriptionInputDuration) Valid ¶
func (e CreateAppStoreConnectSubscriptionInputDuration) Valid() bool
Valid indicates whether the value is a known member of the CreateAppStoreConnectSubscriptionInputDuration enum.
type CreateCustomer400JSONResponseBodyObject ¶
type CreateCustomer400JSONResponseBodyObject string
CreateCustomer400JSONResponseBodyObject defines parameters for CreateCustomer.
const (
CreateCustomer400JSONResponseBodyObjectError CreateCustomer400JSONResponseBodyObject = "error"
)
Defines values for CreateCustomer400JSONResponseBodyObject.
func (CreateCustomer400JSONResponseBodyObject) Valid ¶
func (e CreateCustomer400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer400JSONResponseBodyObject enum.
type CreateCustomer400JSONResponseBodyType ¶
type CreateCustomer400JSONResponseBodyType string
CreateCustomer400JSONResponseBodyType defines parameters for CreateCustomer.
const ( CreateCustomer400JSONResponseBodyTypeInvalidRequest CreateCustomer400JSONResponseBodyType = "invalid_request" CreateCustomer400JSONResponseBodyTypeParameterError CreateCustomer400JSONResponseBodyType = "parameter_error" )
Defines values for CreateCustomer400JSONResponseBodyType.
func (CreateCustomer400JSONResponseBodyType) Valid ¶
func (e CreateCustomer400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer400JSONResponseBodyType enum.
type CreateCustomer401JSONResponseBodyObject ¶
type CreateCustomer401JSONResponseBodyObject string
CreateCustomer401JSONResponseBodyObject defines parameters for CreateCustomer.
const (
CreateCustomer401JSONResponseBodyObjectError CreateCustomer401JSONResponseBodyObject = "error"
)
Defines values for CreateCustomer401JSONResponseBodyObject.
func (CreateCustomer401JSONResponseBodyObject) Valid ¶
func (e CreateCustomer401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer401JSONResponseBodyObject enum.
type CreateCustomer401JSONResponseBodyType ¶
type CreateCustomer401JSONResponseBodyType string
CreateCustomer401JSONResponseBodyType defines parameters for CreateCustomer.
const (
CreateCustomer401JSONResponseBodyTypeAuthenticationError CreateCustomer401JSONResponseBodyType = "authentication_error"
)
Defines values for CreateCustomer401JSONResponseBodyType.
func (CreateCustomer401JSONResponseBodyType) Valid ¶
func (e CreateCustomer401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer401JSONResponseBodyType enum.
type CreateCustomer403JSONResponseBodyObject ¶
type CreateCustomer403JSONResponseBodyObject string
CreateCustomer403JSONResponseBodyObject defines parameters for CreateCustomer.
const (
CreateCustomer403JSONResponseBodyObjectError CreateCustomer403JSONResponseBodyObject = "error"
)
Defines values for CreateCustomer403JSONResponseBodyObject.
func (CreateCustomer403JSONResponseBodyObject) Valid ¶
func (e CreateCustomer403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer403JSONResponseBodyObject enum.
type CreateCustomer403JSONResponseBodyType ¶
type CreateCustomer403JSONResponseBodyType string
CreateCustomer403JSONResponseBodyType defines parameters for CreateCustomer.
const (
CreateCustomer403JSONResponseBodyTypeAuthorizationError CreateCustomer403JSONResponseBodyType = "authorization_error"
)
Defines values for CreateCustomer403JSONResponseBodyType.
func (CreateCustomer403JSONResponseBodyType) Valid ¶
func (e CreateCustomer403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer403JSONResponseBodyType enum.
type CreateCustomer404JSONResponseBodyObject ¶
type CreateCustomer404JSONResponseBodyObject string
CreateCustomer404JSONResponseBodyObject defines parameters for CreateCustomer.
const (
CreateCustomer404JSONResponseBodyObjectError CreateCustomer404JSONResponseBodyObject = "error"
)
Defines values for CreateCustomer404JSONResponseBodyObject.
func (CreateCustomer404JSONResponseBodyObject) Valid ¶
func (e CreateCustomer404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer404JSONResponseBodyObject enum.
type CreateCustomer404JSONResponseBodyType ¶
type CreateCustomer404JSONResponseBodyType string
CreateCustomer404JSONResponseBodyType defines parameters for CreateCustomer.
const (
CreateCustomer404JSONResponseBodyTypeResourceMissing CreateCustomer404JSONResponseBodyType = "resource_missing"
)
Defines values for CreateCustomer404JSONResponseBodyType.
func (CreateCustomer404JSONResponseBodyType) Valid ¶
func (e CreateCustomer404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer404JSONResponseBodyType enum.
type CreateCustomer409JSONResponseBodyObject ¶
type CreateCustomer409JSONResponseBodyObject string
CreateCustomer409JSONResponseBodyObject defines parameters for CreateCustomer.
const (
CreateCustomer409JSONResponseBodyObjectError CreateCustomer409JSONResponseBodyObject = "error"
)
Defines values for CreateCustomer409JSONResponseBodyObject.
func (CreateCustomer409JSONResponseBodyObject) Valid ¶
func (e CreateCustomer409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer409JSONResponseBodyObject enum.
type CreateCustomer409JSONResponseBodyType ¶
type CreateCustomer409JSONResponseBodyType string
CreateCustomer409JSONResponseBodyType defines parameters for CreateCustomer.
const ( CreateCustomer409JSONResponseBodyTypeIdempotencyError CreateCustomer409JSONResponseBodyType = "idempotency_error" CreateCustomer409JSONResponseBodyTypeInvalidRequest CreateCustomer409JSONResponseBodyType = "invalid_request" CreateCustomer409JSONResponseBodyTypeResourceAlreadyExists CreateCustomer409JSONResponseBodyType = "resource_already_exists" )
Defines values for CreateCustomer409JSONResponseBodyType.
func (CreateCustomer409JSONResponseBodyType) Valid ¶
func (e CreateCustomer409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer409JSONResponseBodyType enum.
type CreateCustomer422JSONResponseBodyObject ¶
type CreateCustomer422JSONResponseBodyObject string
CreateCustomer422JSONResponseBodyObject defines parameters for CreateCustomer.
const (
CreateCustomer422JSONResponseBodyObjectError CreateCustomer422JSONResponseBodyObject = "error"
)
Defines values for CreateCustomer422JSONResponseBodyObject.
func (CreateCustomer422JSONResponseBodyObject) Valid ¶
func (e CreateCustomer422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer422JSONResponseBodyObject enum.
type CreateCustomer422JSONResponseBodyType ¶
type CreateCustomer422JSONResponseBodyType string
CreateCustomer422JSONResponseBodyType defines parameters for CreateCustomer.
const ( CreateCustomer422JSONResponseBodyTypeEntityReferencesArchivedEntities CreateCustomer422JSONResponseBodyType = "entity_references_archived_entities" CreateCustomer422JSONResponseBodyTypeParameterError CreateCustomer422JSONResponseBodyType = "parameter_error" CreateCustomer422JSONResponseBodyTypeStoreError CreateCustomer422JSONResponseBodyType = "store_error" CreateCustomer422JSONResponseBodyTypeUnprocessableEntityError CreateCustomer422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CreateCustomer422JSONResponseBodyType.
func (CreateCustomer422JSONResponseBodyType) Valid ¶
func (e CreateCustomer422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer422JSONResponseBodyType enum.
type CreateCustomer423JSONResponseBodyObject ¶
type CreateCustomer423JSONResponseBodyObject string
CreateCustomer423JSONResponseBodyObject defines parameters for CreateCustomer.
const (
CreateCustomer423JSONResponseBodyObjectError CreateCustomer423JSONResponseBodyObject = "error"
)
Defines values for CreateCustomer423JSONResponseBodyObject.
func (CreateCustomer423JSONResponseBodyObject) Valid ¶
func (e CreateCustomer423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer423JSONResponseBodyObject enum.
type CreateCustomer423JSONResponseBodyType ¶
type CreateCustomer423JSONResponseBodyType string
CreateCustomer423JSONResponseBodyType defines parameters for CreateCustomer.
const (
CreateCustomer423JSONResponseBodyTypeResourceLockedError CreateCustomer423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CreateCustomer423JSONResponseBodyType.
func (CreateCustomer423JSONResponseBodyType) Valid ¶
func (e CreateCustomer423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer423JSONResponseBodyType enum.
type CreateCustomer429JSONResponseBodyObject ¶
type CreateCustomer429JSONResponseBodyObject string
CreateCustomer429JSONResponseBodyObject defines parameters for CreateCustomer.
const (
CreateCustomer429JSONResponseBodyObjectError CreateCustomer429JSONResponseBodyObject = "error"
)
Defines values for CreateCustomer429JSONResponseBodyObject.
func (CreateCustomer429JSONResponseBodyObject) Valid ¶
func (e CreateCustomer429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer429JSONResponseBodyObject enum.
type CreateCustomer429JSONResponseBodyType ¶
type CreateCustomer429JSONResponseBodyType string
CreateCustomer429JSONResponseBodyType defines parameters for CreateCustomer.
const (
CreateCustomer429JSONResponseBodyTypeRateLimitError CreateCustomer429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CreateCustomer429JSONResponseBodyType.
func (CreateCustomer429JSONResponseBodyType) Valid ¶
func (e CreateCustomer429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer429JSONResponseBodyType enum.
type CreateCustomer500JSONResponseBodyObject ¶
type CreateCustomer500JSONResponseBodyObject string
CreateCustomer500JSONResponseBodyObject defines parameters for CreateCustomer.
const (
CreateCustomer500JSONResponseBodyObjectError CreateCustomer500JSONResponseBodyObject = "error"
)
Defines values for CreateCustomer500JSONResponseBodyObject.
func (CreateCustomer500JSONResponseBodyObject) Valid ¶
func (e CreateCustomer500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer500JSONResponseBodyObject enum.
type CreateCustomer500JSONResponseBodyType ¶
type CreateCustomer500JSONResponseBodyType string
CreateCustomer500JSONResponseBodyType defines parameters for CreateCustomer.
const (
CreateCustomer500JSONResponseBodyTypeServerError CreateCustomer500JSONResponseBodyType = "server_error"
)
Defines values for CreateCustomer500JSONResponseBodyType.
func (CreateCustomer500JSONResponseBodyType) Valid ¶
func (e CreateCustomer500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer500JSONResponseBodyType enum.
type CreateCustomer503JSONResponseBodyObject ¶
type CreateCustomer503JSONResponseBodyObject string
CreateCustomer503JSONResponseBodyObject defines parameters for CreateCustomer.
const (
CreateCustomer503JSONResponseBodyObjectError CreateCustomer503JSONResponseBodyObject = "error"
)
Defines values for CreateCustomer503JSONResponseBodyObject.
func (CreateCustomer503JSONResponseBodyObject) Valid ¶
func (e CreateCustomer503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer503JSONResponseBodyObject enum.
type CreateCustomer503JSONResponseBodyType ¶
type CreateCustomer503JSONResponseBodyType string
CreateCustomer503JSONResponseBodyType defines parameters for CreateCustomer.
const (
CreateCustomer503JSONResponseBodyTypeServerError CreateCustomer503JSONResponseBodyType = "server_error"
)
Defines values for CreateCustomer503JSONResponseBodyType.
func (CreateCustomer503JSONResponseBodyType) Valid ¶
func (e CreateCustomer503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomer503JSONResponseBodyType enum.
type CreateCustomerJSONBody ¶
type CreateCustomerJSONBody struct {
Attributes *[]struct {
// Name The name of the attribute
//
// Example: $email
Name CreateCustomerJSONBody_Attributes_Name `json:"name"`
// Value The value of the attribute
//
// Example: cat@revenuecat.com
Value string `json:"value"`
} `json:"attributes,omitempty"`
// ID The ID of the customer
//
// Example: 19b8de26-77c1-49f1-aa18-019a391603e2
ID string `json:"id"`
}
CreateCustomerJSONBody defines parameters for CreateCustomer.
type CreateCustomerJSONBody_Attributes_Name ¶
type CreateCustomerJSONBody_Attributes_Name struct {
// contains filtered or unexported fields
}
CreateCustomerJSONBody_Attributes_Name defines parameters for CreateCustomer.
func (CreateCustomerJSONBody_Attributes_Name) AsCustomerAttributeCustomName ¶
func (t CreateCustomerJSONBody_Attributes_Name) AsCustomerAttributeCustomName() (CustomerAttributeCustomName, error)
AsCustomerAttributeCustomName returns the union data inside the CreateCustomerJSONBody_Attributes_Name as a CustomerAttributeCustomName
func (CreateCustomerJSONBody_Attributes_Name) AsCustomerAttributeReservedName ¶
func (t CreateCustomerJSONBody_Attributes_Name) AsCustomerAttributeReservedName() (CustomerAttributeReservedName, error)
AsCustomerAttributeReservedName returns the union data inside the CreateCustomerJSONBody_Attributes_Name as a CustomerAttributeReservedName
func (*CreateCustomerJSONBody_Attributes_Name) FromCustomerAttributeCustomName ¶
func (t *CreateCustomerJSONBody_Attributes_Name) FromCustomerAttributeCustomName(v CustomerAttributeCustomName) error
FromCustomerAttributeCustomName overwrites any union data inside the CreateCustomerJSONBody_Attributes_Name as the provided CustomerAttributeCustomName
func (*CreateCustomerJSONBody_Attributes_Name) FromCustomerAttributeReservedName ¶
func (t *CreateCustomerJSONBody_Attributes_Name) FromCustomerAttributeReservedName(v CustomerAttributeReservedName) error
FromCustomerAttributeReservedName overwrites any union data inside the CreateCustomerJSONBody_Attributes_Name as the provided CustomerAttributeReservedName
func (CreateCustomerJSONBody_Attributes_Name) MarshalJSON ¶
func (t CreateCustomerJSONBody_Attributes_Name) MarshalJSON() ([]byte, error)
func (*CreateCustomerJSONBody_Attributes_Name) MergeCustomerAttributeCustomName ¶
func (t *CreateCustomerJSONBody_Attributes_Name) MergeCustomerAttributeCustomName(v CustomerAttributeCustomName) error
MergeCustomerAttributeCustomName performs a merge with any union data inside the CreateCustomerJSONBody_Attributes_Name, using the provided CustomerAttributeCustomName
func (*CreateCustomerJSONBody_Attributes_Name) MergeCustomerAttributeReservedName ¶
func (t *CreateCustomerJSONBody_Attributes_Name) MergeCustomerAttributeReservedName(v CustomerAttributeReservedName) error
MergeCustomerAttributeReservedName performs a merge with any union data inside the CreateCustomerJSONBody_Attributes_Name, using the provided CustomerAttributeReservedName
func (*CreateCustomerJSONBody_Attributes_Name) UnmarshalJSON ¶
func (t *CreateCustomerJSONBody_Attributes_Name) UnmarshalJSON(b []byte) error
type CreateCustomerJSONRequestBody ¶
type CreateCustomerJSONRequestBody CreateCustomerJSONBody
CreateCustomerJSONRequestBody defines body for CreateCustomer for application/json ContentType.
type CreateEntitlement400JSONResponseBodyObject ¶
type CreateEntitlement400JSONResponseBodyObject string
CreateEntitlement400JSONResponseBodyObject defines parameters for CreateEntitlement.
const (
CreateEntitlement400JSONResponseBodyObjectError CreateEntitlement400JSONResponseBodyObject = "error"
)
Defines values for CreateEntitlement400JSONResponseBodyObject.
func (CreateEntitlement400JSONResponseBodyObject) Valid ¶
func (e CreateEntitlement400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement400JSONResponseBodyObject enum.
type CreateEntitlement400JSONResponseBodyType ¶
type CreateEntitlement400JSONResponseBodyType string
CreateEntitlement400JSONResponseBodyType defines parameters for CreateEntitlement.
const ( CreateEntitlement400JSONResponseBodyTypeInvalidRequest CreateEntitlement400JSONResponseBodyType = "invalid_request" CreateEntitlement400JSONResponseBodyTypeParameterError CreateEntitlement400JSONResponseBodyType = "parameter_error" )
Defines values for CreateEntitlement400JSONResponseBodyType.
func (CreateEntitlement400JSONResponseBodyType) Valid ¶
func (e CreateEntitlement400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement400JSONResponseBodyType enum.
type CreateEntitlement401JSONResponseBodyObject ¶
type CreateEntitlement401JSONResponseBodyObject string
CreateEntitlement401JSONResponseBodyObject defines parameters for CreateEntitlement.
const (
CreateEntitlement401JSONResponseBodyObjectError CreateEntitlement401JSONResponseBodyObject = "error"
)
Defines values for CreateEntitlement401JSONResponseBodyObject.
func (CreateEntitlement401JSONResponseBodyObject) Valid ¶
func (e CreateEntitlement401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement401JSONResponseBodyObject enum.
type CreateEntitlement401JSONResponseBodyType ¶
type CreateEntitlement401JSONResponseBodyType string
CreateEntitlement401JSONResponseBodyType defines parameters for CreateEntitlement.
const (
CreateEntitlement401JSONResponseBodyTypeAuthenticationError CreateEntitlement401JSONResponseBodyType = "authentication_error"
)
Defines values for CreateEntitlement401JSONResponseBodyType.
func (CreateEntitlement401JSONResponseBodyType) Valid ¶
func (e CreateEntitlement401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement401JSONResponseBodyType enum.
type CreateEntitlement403JSONResponseBodyObject ¶
type CreateEntitlement403JSONResponseBodyObject string
CreateEntitlement403JSONResponseBodyObject defines parameters for CreateEntitlement.
const (
CreateEntitlement403JSONResponseBodyObjectError CreateEntitlement403JSONResponseBodyObject = "error"
)
Defines values for CreateEntitlement403JSONResponseBodyObject.
func (CreateEntitlement403JSONResponseBodyObject) Valid ¶
func (e CreateEntitlement403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement403JSONResponseBodyObject enum.
type CreateEntitlement403JSONResponseBodyType ¶
type CreateEntitlement403JSONResponseBodyType string
CreateEntitlement403JSONResponseBodyType defines parameters for CreateEntitlement.
const (
CreateEntitlement403JSONResponseBodyTypeAuthorizationError CreateEntitlement403JSONResponseBodyType = "authorization_error"
)
Defines values for CreateEntitlement403JSONResponseBodyType.
func (CreateEntitlement403JSONResponseBodyType) Valid ¶
func (e CreateEntitlement403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement403JSONResponseBodyType enum.
type CreateEntitlement404JSONResponseBodyObject ¶
type CreateEntitlement404JSONResponseBodyObject string
CreateEntitlement404JSONResponseBodyObject defines parameters for CreateEntitlement.
const (
CreateEntitlement404JSONResponseBodyObjectError CreateEntitlement404JSONResponseBodyObject = "error"
)
Defines values for CreateEntitlement404JSONResponseBodyObject.
func (CreateEntitlement404JSONResponseBodyObject) Valid ¶
func (e CreateEntitlement404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement404JSONResponseBodyObject enum.
type CreateEntitlement404JSONResponseBodyType ¶
type CreateEntitlement404JSONResponseBodyType string
CreateEntitlement404JSONResponseBodyType defines parameters for CreateEntitlement.
const (
CreateEntitlement404JSONResponseBodyTypeResourceMissing CreateEntitlement404JSONResponseBodyType = "resource_missing"
)
Defines values for CreateEntitlement404JSONResponseBodyType.
func (CreateEntitlement404JSONResponseBodyType) Valid ¶
func (e CreateEntitlement404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement404JSONResponseBodyType enum.
type CreateEntitlement409JSONResponseBodyObject ¶
type CreateEntitlement409JSONResponseBodyObject string
CreateEntitlement409JSONResponseBodyObject defines parameters for CreateEntitlement.
const (
CreateEntitlement409JSONResponseBodyObjectError CreateEntitlement409JSONResponseBodyObject = "error"
)
Defines values for CreateEntitlement409JSONResponseBodyObject.
func (CreateEntitlement409JSONResponseBodyObject) Valid ¶
func (e CreateEntitlement409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement409JSONResponseBodyObject enum.
type CreateEntitlement409JSONResponseBodyType ¶
type CreateEntitlement409JSONResponseBodyType string
CreateEntitlement409JSONResponseBodyType defines parameters for CreateEntitlement.
const ( CreateEntitlement409JSONResponseBodyTypeIdempotencyError CreateEntitlement409JSONResponseBodyType = "idempotency_error" CreateEntitlement409JSONResponseBodyTypeInvalidRequest CreateEntitlement409JSONResponseBodyType = "invalid_request" CreateEntitlement409JSONResponseBodyTypeResourceAlreadyExists CreateEntitlement409JSONResponseBodyType = "resource_already_exists" )
Defines values for CreateEntitlement409JSONResponseBodyType.
func (CreateEntitlement409JSONResponseBodyType) Valid ¶
func (e CreateEntitlement409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement409JSONResponseBodyType enum.
type CreateEntitlement422JSONResponseBodyObject ¶
type CreateEntitlement422JSONResponseBodyObject string
CreateEntitlement422JSONResponseBodyObject defines parameters for CreateEntitlement.
const (
CreateEntitlement422JSONResponseBodyObjectError CreateEntitlement422JSONResponseBodyObject = "error"
)
Defines values for CreateEntitlement422JSONResponseBodyObject.
func (CreateEntitlement422JSONResponseBodyObject) Valid ¶
func (e CreateEntitlement422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement422JSONResponseBodyObject enum.
type CreateEntitlement422JSONResponseBodyType ¶
type CreateEntitlement422JSONResponseBodyType string
CreateEntitlement422JSONResponseBodyType defines parameters for CreateEntitlement.
const ( CreateEntitlement422JSONResponseBodyTypeEntityReferencesArchivedEntities CreateEntitlement422JSONResponseBodyType = "entity_references_archived_entities" CreateEntitlement422JSONResponseBodyTypeParameterError CreateEntitlement422JSONResponseBodyType = "parameter_error" CreateEntitlement422JSONResponseBodyTypeStoreError CreateEntitlement422JSONResponseBodyType = "store_error" CreateEntitlement422JSONResponseBodyTypeUnprocessableEntityError CreateEntitlement422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CreateEntitlement422JSONResponseBodyType.
func (CreateEntitlement422JSONResponseBodyType) Valid ¶
func (e CreateEntitlement422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement422JSONResponseBodyType enum.
type CreateEntitlement423JSONResponseBodyObject ¶
type CreateEntitlement423JSONResponseBodyObject string
CreateEntitlement423JSONResponseBodyObject defines parameters for CreateEntitlement.
const (
CreateEntitlement423JSONResponseBodyObjectError CreateEntitlement423JSONResponseBodyObject = "error"
)
Defines values for CreateEntitlement423JSONResponseBodyObject.
func (CreateEntitlement423JSONResponseBodyObject) Valid ¶
func (e CreateEntitlement423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement423JSONResponseBodyObject enum.
type CreateEntitlement423JSONResponseBodyType ¶
type CreateEntitlement423JSONResponseBodyType string
CreateEntitlement423JSONResponseBodyType defines parameters for CreateEntitlement.
const (
CreateEntitlement423JSONResponseBodyTypeResourceLockedError CreateEntitlement423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CreateEntitlement423JSONResponseBodyType.
func (CreateEntitlement423JSONResponseBodyType) Valid ¶
func (e CreateEntitlement423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement423JSONResponseBodyType enum.
type CreateEntitlement429JSONResponseBodyObject ¶
type CreateEntitlement429JSONResponseBodyObject string
CreateEntitlement429JSONResponseBodyObject defines parameters for CreateEntitlement.
const (
CreateEntitlement429JSONResponseBodyObjectError CreateEntitlement429JSONResponseBodyObject = "error"
)
Defines values for CreateEntitlement429JSONResponseBodyObject.
func (CreateEntitlement429JSONResponseBodyObject) Valid ¶
func (e CreateEntitlement429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement429JSONResponseBodyObject enum.
type CreateEntitlement429JSONResponseBodyType ¶
type CreateEntitlement429JSONResponseBodyType string
CreateEntitlement429JSONResponseBodyType defines parameters for CreateEntitlement.
const (
CreateEntitlement429JSONResponseBodyTypeRateLimitError CreateEntitlement429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CreateEntitlement429JSONResponseBodyType.
func (CreateEntitlement429JSONResponseBodyType) Valid ¶
func (e CreateEntitlement429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement429JSONResponseBodyType enum.
type CreateEntitlement500JSONResponseBodyObject ¶
type CreateEntitlement500JSONResponseBodyObject string
CreateEntitlement500JSONResponseBodyObject defines parameters for CreateEntitlement.
const (
CreateEntitlement500JSONResponseBodyObjectError CreateEntitlement500JSONResponseBodyObject = "error"
)
Defines values for CreateEntitlement500JSONResponseBodyObject.
func (CreateEntitlement500JSONResponseBodyObject) Valid ¶
func (e CreateEntitlement500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement500JSONResponseBodyObject enum.
type CreateEntitlement500JSONResponseBodyType ¶
type CreateEntitlement500JSONResponseBodyType string
CreateEntitlement500JSONResponseBodyType defines parameters for CreateEntitlement.
const (
CreateEntitlement500JSONResponseBodyTypeServerError CreateEntitlement500JSONResponseBodyType = "server_error"
)
Defines values for CreateEntitlement500JSONResponseBodyType.
func (CreateEntitlement500JSONResponseBodyType) Valid ¶
func (e CreateEntitlement500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement500JSONResponseBodyType enum.
type CreateEntitlement503JSONResponseBodyObject ¶
type CreateEntitlement503JSONResponseBodyObject string
CreateEntitlement503JSONResponseBodyObject defines parameters for CreateEntitlement.
const (
CreateEntitlement503JSONResponseBodyObjectError CreateEntitlement503JSONResponseBodyObject = "error"
)
Defines values for CreateEntitlement503JSONResponseBodyObject.
func (CreateEntitlement503JSONResponseBodyObject) Valid ¶
func (e CreateEntitlement503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement503JSONResponseBodyObject enum.
type CreateEntitlement503JSONResponseBodyType ¶
type CreateEntitlement503JSONResponseBodyType string
CreateEntitlement503JSONResponseBodyType defines parameters for CreateEntitlement.
const (
CreateEntitlement503JSONResponseBodyTypeServerError CreateEntitlement503JSONResponseBodyType = "server_error"
)
Defines values for CreateEntitlement503JSONResponseBodyType.
func (CreateEntitlement503JSONResponseBodyType) Valid ¶
func (e CreateEntitlement503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateEntitlement503JSONResponseBodyType enum.
type CreateEntitlementJSONBody ¶
type CreateEntitlementJSONBody struct {
// DisplayName The display name of the entitlement
//
// Example: Premium access to all features
DisplayName string `json:"display_name"`
// LookupKey The identifier of the entitlement
//
// Example: premium
LookupKey string `json:"lookup_key"`
}
CreateEntitlementJSONBody defines parameters for CreateEntitlement.
type CreateEntitlementJSONRequestBody ¶
type CreateEntitlementJSONRequestBody CreateEntitlementJSONBody
CreateEntitlementJSONRequestBody defines body for CreateEntitlement for application/json ContentType.
type CreateMediaAsset400JSONResponseBodyObject ¶
type CreateMediaAsset400JSONResponseBodyObject string
CreateMediaAsset400JSONResponseBodyObject defines parameters for CreateMediaAsset.
const (
CreateMediaAsset400JSONResponseBodyObjectError CreateMediaAsset400JSONResponseBodyObject = "error"
)
Defines values for CreateMediaAsset400JSONResponseBodyObject.
func (CreateMediaAsset400JSONResponseBodyObject) Valid ¶
func (e CreateMediaAsset400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset400JSONResponseBodyObject enum.
type CreateMediaAsset400JSONResponseBodyType ¶
type CreateMediaAsset400JSONResponseBodyType string
CreateMediaAsset400JSONResponseBodyType defines parameters for CreateMediaAsset.
const ( CreateMediaAsset400JSONResponseBodyTypeInvalidRequest CreateMediaAsset400JSONResponseBodyType = "invalid_request" CreateMediaAsset400JSONResponseBodyTypeParameterError CreateMediaAsset400JSONResponseBodyType = "parameter_error" )
Defines values for CreateMediaAsset400JSONResponseBodyType.
func (CreateMediaAsset400JSONResponseBodyType) Valid ¶
func (e CreateMediaAsset400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset400JSONResponseBodyType enum.
type CreateMediaAsset401JSONResponseBodyObject ¶
type CreateMediaAsset401JSONResponseBodyObject string
CreateMediaAsset401JSONResponseBodyObject defines parameters for CreateMediaAsset.
const (
CreateMediaAsset401JSONResponseBodyObjectError CreateMediaAsset401JSONResponseBodyObject = "error"
)
Defines values for CreateMediaAsset401JSONResponseBodyObject.
func (CreateMediaAsset401JSONResponseBodyObject) Valid ¶
func (e CreateMediaAsset401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset401JSONResponseBodyObject enum.
type CreateMediaAsset401JSONResponseBodyType ¶
type CreateMediaAsset401JSONResponseBodyType string
CreateMediaAsset401JSONResponseBodyType defines parameters for CreateMediaAsset.
const (
CreateMediaAsset401JSONResponseBodyTypeAuthenticationError CreateMediaAsset401JSONResponseBodyType = "authentication_error"
)
Defines values for CreateMediaAsset401JSONResponseBodyType.
func (CreateMediaAsset401JSONResponseBodyType) Valid ¶
func (e CreateMediaAsset401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset401JSONResponseBodyType enum.
type CreateMediaAsset403JSONResponseBodyObject ¶
type CreateMediaAsset403JSONResponseBodyObject string
CreateMediaAsset403JSONResponseBodyObject defines parameters for CreateMediaAsset.
const (
CreateMediaAsset403JSONResponseBodyObjectError CreateMediaAsset403JSONResponseBodyObject = "error"
)
Defines values for CreateMediaAsset403JSONResponseBodyObject.
func (CreateMediaAsset403JSONResponseBodyObject) Valid ¶
func (e CreateMediaAsset403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset403JSONResponseBodyObject enum.
type CreateMediaAsset403JSONResponseBodyType ¶
type CreateMediaAsset403JSONResponseBodyType string
CreateMediaAsset403JSONResponseBodyType defines parameters for CreateMediaAsset.
const (
CreateMediaAsset403JSONResponseBodyTypeAuthorizationError CreateMediaAsset403JSONResponseBodyType = "authorization_error"
)
Defines values for CreateMediaAsset403JSONResponseBodyType.
func (CreateMediaAsset403JSONResponseBodyType) Valid ¶
func (e CreateMediaAsset403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset403JSONResponseBodyType enum.
type CreateMediaAsset404JSONResponseBodyObject ¶
type CreateMediaAsset404JSONResponseBodyObject string
CreateMediaAsset404JSONResponseBodyObject defines parameters for CreateMediaAsset.
const (
CreateMediaAsset404JSONResponseBodyObjectError CreateMediaAsset404JSONResponseBodyObject = "error"
)
Defines values for CreateMediaAsset404JSONResponseBodyObject.
func (CreateMediaAsset404JSONResponseBodyObject) Valid ¶
func (e CreateMediaAsset404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset404JSONResponseBodyObject enum.
type CreateMediaAsset404JSONResponseBodyType ¶
type CreateMediaAsset404JSONResponseBodyType string
CreateMediaAsset404JSONResponseBodyType defines parameters for CreateMediaAsset.
const (
CreateMediaAsset404JSONResponseBodyTypeResourceMissing CreateMediaAsset404JSONResponseBodyType = "resource_missing"
)
Defines values for CreateMediaAsset404JSONResponseBodyType.
func (CreateMediaAsset404JSONResponseBodyType) Valid ¶
func (e CreateMediaAsset404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset404JSONResponseBodyType enum.
type CreateMediaAsset409JSONResponseBodyObject ¶
type CreateMediaAsset409JSONResponseBodyObject string
CreateMediaAsset409JSONResponseBodyObject defines parameters for CreateMediaAsset.
const (
CreateMediaAsset409JSONResponseBodyObjectError CreateMediaAsset409JSONResponseBodyObject = "error"
)
Defines values for CreateMediaAsset409JSONResponseBodyObject.
func (CreateMediaAsset409JSONResponseBodyObject) Valid ¶
func (e CreateMediaAsset409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset409JSONResponseBodyObject enum.
type CreateMediaAsset409JSONResponseBodyType ¶
type CreateMediaAsset409JSONResponseBodyType string
CreateMediaAsset409JSONResponseBodyType defines parameters for CreateMediaAsset.
const ( CreateMediaAsset409JSONResponseBodyTypeIdempotencyError CreateMediaAsset409JSONResponseBodyType = "idempotency_error" CreateMediaAsset409JSONResponseBodyTypeInvalidRequest CreateMediaAsset409JSONResponseBodyType = "invalid_request" CreateMediaAsset409JSONResponseBodyTypeResourceAlreadyExists CreateMediaAsset409JSONResponseBodyType = "resource_already_exists" )
Defines values for CreateMediaAsset409JSONResponseBodyType.
func (CreateMediaAsset409JSONResponseBodyType) Valid ¶
func (e CreateMediaAsset409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset409JSONResponseBodyType enum.
type CreateMediaAsset422JSONResponseBodyObject ¶
type CreateMediaAsset422JSONResponseBodyObject string
CreateMediaAsset422JSONResponseBodyObject defines parameters for CreateMediaAsset.
const (
CreateMediaAsset422JSONResponseBodyObjectError CreateMediaAsset422JSONResponseBodyObject = "error"
)
Defines values for CreateMediaAsset422JSONResponseBodyObject.
func (CreateMediaAsset422JSONResponseBodyObject) Valid ¶
func (e CreateMediaAsset422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset422JSONResponseBodyObject enum.
type CreateMediaAsset422JSONResponseBodyType ¶
type CreateMediaAsset422JSONResponseBodyType string
CreateMediaAsset422JSONResponseBodyType defines parameters for CreateMediaAsset.
const ( CreateMediaAsset422JSONResponseBodyTypeEntityReferencesArchivedEntities CreateMediaAsset422JSONResponseBodyType = "entity_references_archived_entities" CreateMediaAsset422JSONResponseBodyTypeParameterError CreateMediaAsset422JSONResponseBodyType = "parameter_error" CreateMediaAsset422JSONResponseBodyTypeStoreError CreateMediaAsset422JSONResponseBodyType = "store_error" CreateMediaAsset422JSONResponseBodyTypeUnprocessableEntityError CreateMediaAsset422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CreateMediaAsset422JSONResponseBodyType.
func (CreateMediaAsset422JSONResponseBodyType) Valid ¶
func (e CreateMediaAsset422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset422JSONResponseBodyType enum.
type CreateMediaAsset423JSONResponseBodyObject ¶
type CreateMediaAsset423JSONResponseBodyObject string
CreateMediaAsset423JSONResponseBodyObject defines parameters for CreateMediaAsset.
const (
CreateMediaAsset423JSONResponseBodyObjectError CreateMediaAsset423JSONResponseBodyObject = "error"
)
Defines values for CreateMediaAsset423JSONResponseBodyObject.
func (CreateMediaAsset423JSONResponseBodyObject) Valid ¶
func (e CreateMediaAsset423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset423JSONResponseBodyObject enum.
type CreateMediaAsset423JSONResponseBodyType ¶
type CreateMediaAsset423JSONResponseBodyType string
CreateMediaAsset423JSONResponseBodyType defines parameters for CreateMediaAsset.
const (
CreateMediaAsset423JSONResponseBodyTypeResourceLockedError CreateMediaAsset423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CreateMediaAsset423JSONResponseBodyType.
func (CreateMediaAsset423JSONResponseBodyType) Valid ¶
func (e CreateMediaAsset423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset423JSONResponseBodyType enum.
type CreateMediaAsset429JSONResponseBodyObject ¶
type CreateMediaAsset429JSONResponseBodyObject string
CreateMediaAsset429JSONResponseBodyObject defines parameters for CreateMediaAsset.
const (
CreateMediaAsset429JSONResponseBodyObjectError CreateMediaAsset429JSONResponseBodyObject = "error"
)
Defines values for CreateMediaAsset429JSONResponseBodyObject.
func (CreateMediaAsset429JSONResponseBodyObject) Valid ¶
func (e CreateMediaAsset429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset429JSONResponseBodyObject enum.
type CreateMediaAsset429JSONResponseBodyType ¶
type CreateMediaAsset429JSONResponseBodyType string
CreateMediaAsset429JSONResponseBodyType defines parameters for CreateMediaAsset.
const (
CreateMediaAsset429JSONResponseBodyTypeRateLimitError CreateMediaAsset429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CreateMediaAsset429JSONResponseBodyType.
func (CreateMediaAsset429JSONResponseBodyType) Valid ¶
func (e CreateMediaAsset429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset429JSONResponseBodyType enum.
type CreateMediaAsset500JSONResponseBodyObject ¶
type CreateMediaAsset500JSONResponseBodyObject string
CreateMediaAsset500JSONResponseBodyObject defines parameters for CreateMediaAsset.
const (
CreateMediaAsset500JSONResponseBodyObjectError CreateMediaAsset500JSONResponseBodyObject = "error"
)
Defines values for CreateMediaAsset500JSONResponseBodyObject.
func (CreateMediaAsset500JSONResponseBodyObject) Valid ¶
func (e CreateMediaAsset500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset500JSONResponseBodyObject enum.
type CreateMediaAsset500JSONResponseBodyType ¶
type CreateMediaAsset500JSONResponseBodyType string
CreateMediaAsset500JSONResponseBodyType defines parameters for CreateMediaAsset.
const (
CreateMediaAsset500JSONResponseBodyTypeServerError CreateMediaAsset500JSONResponseBodyType = "server_error"
)
Defines values for CreateMediaAsset500JSONResponseBodyType.
func (CreateMediaAsset500JSONResponseBodyType) Valid ¶
func (e CreateMediaAsset500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset500JSONResponseBodyType enum.
type CreateMediaAsset503JSONResponseBodyObject ¶
type CreateMediaAsset503JSONResponseBodyObject string
CreateMediaAsset503JSONResponseBodyObject defines parameters for CreateMediaAsset.
const (
CreateMediaAsset503JSONResponseBodyObjectError CreateMediaAsset503JSONResponseBodyObject = "error"
)
Defines values for CreateMediaAsset503JSONResponseBodyObject.
func (CreateMediaAsset503JSONResponseBodyObject) Valid ¶
func (e CreateMediaAsset503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset503JSONResponseBodyObject enum.
type CreateMediaAsset503JSONResponseBodyType ¶
type CreateMediaAsset503JSONResponseBodyType string
CreateMediaAsset503JSONResponseBodyType defines parameters for CreateMediaAsset.
const (
CreateMediaAsset503JSONResponseBodyTypeServerError CreateMediaAsset503JSONResponseBodyType = "server_error"
)
Defines values for CreateMediaAsset503JSONResponseBodyType.
func (CreateMediaAsset503JSONResponseBodyType) Valid ¶
func (e CreateMediaAsset503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAsset503JSONResponseBodyType enum.
type CreateMediaAssetJSONBody ¶
type CreateMediaAssetJSONBody struct {
// ContentType MIME type for the uploaded image.
//
// Example: image/webp
ContentType CreateMediaAssetJSONBodyContentType `json:"content_type"`
// FileDataBase64 Base64-encoded image bytes.
//
// Example: UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA
FileDataBase64 string `json:"file_data_base64"`
// Filename File name for the uploaded image.
//
// Example: hero.webp
Filename string `json:"filename"`
}
CreateMediaAssetJSONBody defines parameters for CreateMediaAsset.
type CreateMediaAssetJSONBodyContentType ¶
type CreateMediaAssetJSONBodyContentType string
CreateMediaAssetJSONBodyContentType defines parameters for CreateMediaAsset.
const ( ImageAvif CreateMediaAssetJSONBodyContentType = "image/avif" ImageHeic CreateMediaAssetJSONBodyContentType = "image/heic" ImageHeif CreateMediaAssetJSONBodyContentType = "image/heif" ImageJpeg CreateMediaAssetJSONBodyContentType = "image/jpeg" ImagePng CreateMediaAssetJSONBodyContentType = "image/png" ImageWebp CreateMediaAssetJSONBodyContentType = "image/webp" )
Defines values for CreateMediaAssetJSONBodyContentType.
func (CreateMediaAssetJSONBodyContentType) Valid ¶
func (e CreateMediaAssetJSONBodyContentType) Valid() bool
Valid indicates whether the value is a known member of the CreateMediaAssetJSONBodyContentType enum.
type CreateMediaAssetJSONRequestBody ¶
type CreateMediaAssetJSONRequestBody CreateMediaAssetJSONBody
CreateMediaAssetJSONRequestBody defines body for CreateMediaAsset for application/json ContentType.
type CreateOffering400JSONResponseBodyObject ¶
type CreateOffering400JSONResponseBodyObject string
CreateOffering400JSONResponseBodyObject defines parameters for CreateOffering.
const (
CreateOffering400JSONResponseBodyObjectError CreateOffering400JSONResponseBodyObject = "error"
)
Defines values for CreateOffering400JSONResponseBodyObject.
func (CreateOffering400JSONResponseBodyObject) Valid ¶
func (e CreateOffering400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering400JSONResponseBodyObject enum.
type CreateOffering400JSONResponseBodyType ¶
type CreateOffering400JSONResponseBodyType string
CreateOffering400JSONResponseBodyType defines parameters for CreateOffering.
const ( CreateOffering400JSONResponseBodyTypeInvalidRequest CreateOffering400JSONResponseBodyType = "invalid_request" CreateOffering400JSONResponseBodyTypeParameterError CreateOffering400JSONResponseBodyType = "parameter_error" )
Defines values for CreateOffering400JSONResponseBodyType.
func (CreateOffering400JSONResponseBodyType) Valid ¶
func (e CreateOffering400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering400JSONResponseBodyType enum.
type CreateOffering401JSONResponseBodyObject ¶
type CreateOffering401JSONResponseBodyObject string
CreateOffering401JSONResponseBodyObject defines parameters for CreateOffering.
const (
CreateOffering401JSONResponseBodyObjectError CreateOffering401JSONResponseBodyObject = "error"
)
Defines values for CreateOffering401JSONResponseBodyObject.
func (CreateOffering401JSONResponseBodyObject) Valid ¶
func (e CreateOffering401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering401JSONResponseBodyObject enum.
type CreateOffering401JSONResponseBodyType ¶
type CreateOffering401JSONResponseBodyType string
CreateOffering401JSONResponseBodyType defines parameters for CreateOffering.
const (
CreateOffering401JSONResponseBodyTypeAuthenticationError CreateOffering401JSONResponseBodyType = "authentication_error"
)
Defines values for CreateOffering401JSONResponseBodyType.
func (CreateOffering401JSONResponseBodyType) Valid ¶
func (e CreateOffering401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering401JSONResponseBodyType enum.
type CreateOffering403JSONResponseBodyObject ¶
type CreateOffering403JSONResponseBodyObject string
CreateOffering403JSONResponseBodyObject defines parameters for CreateOffering.
const (
CreateOffering403JSONResponseBodyObjectError CreateOffering403JSONResponseBodyObject = "error"
)
Defines values for CreateOffering403JSONResponseBodyObject.
func (CreateOffering403JSONResponseBodyObject) Valid ¶
func (e CreateOffering403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering403JSONResponseBodyObject enum.
type CreateOffering403JSONResponseBodyType ¶
type CreateOffering403JSONResponseBodyType string
CreateOffering403JSONResponseBodyType defines parameters for CreateOffering.
const (
CreateOffering403JSONResponseBodyTypeAuthorizationError CreateOffering403JSONResponseBodyType = "authorization_error"
)
Defines values for CreateOffering403JSONResponseBodyType.
func (CreateOffering403JSONResponseBodyType) Valid ¶
func (e CreateOffering403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering403JSONResponseBodyType enum.
type CreateOffering404JSONResponseBodyObject ¶
type CreateOffering404JSONResponseBodyObject string
CreateOffering404JSONResponseBodyObject defines parameters for CreateOffering.
const (
CreateOffering404JSONResponseBodyObjectError CreateOffering404JSONResponseBodyObject = "error"
)
Defines values for CreateOffering404JSONResponseBodyObject.
func (CreateOffering404JSONResponseBodyObject) Valid ¶
func (e CreateOffering404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering404JSONResponseBodyObject enum.
type CreateOffering404JSONResponseBodyType ¶
type CreateOffering404JSONResponseBodyType string
CreateOffering404JSONResponseBodyType defines parameters for CreateOffering.
const (
CreateOffering404JSONResponseBodyTypeResourceMissing CreateOffering404JSONResponseBodyType = "resource_missing"
)
Defines values for CreateOffering404JSONResponseBodyType.
func (CreateOffering404JSONResponseBodyType) Valid ¶
func (e CreateOffering404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering404JSONResponseBodyType enum.
type CreateOffering409JSONResponseBodyObject ¶
type CreateOffering409JSONResponseBodyObject string
CreateOffering409JSONResponseBodyObject defines parameters for CreateOffering.
const (
CreateOffering409JSONResponseBodyObjectError CreateOffering409JSONResponseBodyObject = "error"
)
Defines values for CreateOffering409JSONResponseBodyObject.
func (CreateOffering409JSONResponseBodyObject) Valid ¶
func (e CreateOffering409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering409JSONResponseBodyObject enum.
type CreateOffering409JSONResponseBodyType ¶
type CreateOffering409JSONResponseBodyType string
CreateOffering409JSONResponseBodyType defines parameters for CreateOffering.
const ( CreateOffering409JSONResponseBodyTypeIdempotencyError CreateOffering409JSONResponseBodyType = "idempotency_error" CreateOffering409JSONResponseBodyTypeInvalidRequest CreateOffering409JSONResponseBodyType = "invalid_request" CreateOffering409JSONResponseBodyTypeResourceAlreadyExists CreateOffering409JSONResponseBodyType = "resource_already_exists" )
Defines values for CreateOffering409JSONResponseBodyType.
func (CreateOffering409JSONResponseBodyType) Valid ¶
func (e CreateOffering409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering409JSONResponseBodyType enum.
type CreateOffering422JSONResponseBodyObject ¶
type CreateOffering422JSONResponseBodyObject string
CreateOffering422JSONResponseBodyObject defines parameters for CreateOffering.
const (
CreateOffering422JSONResponseBodyObjectError CreateOffering422JSONResponseBodyObject = "error"
)
Defines values for CreateOffering422JSONResponseBodyObject.
func (CreateOffering422JSONResponseBodyObject) Valid ¶
func (e CreateOffering422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering422JSONResponseBodyObject enum.
type CreateOffering422JSONResponseBodyType ¶
type CreateOffering422JSONResponseBodyType string
CreateOffering422JSONResponseBodyType defines parameters for CreateOffering.
const ( CreateOffering422JSONResponseBodyTypeEntityReferencesArchivedEntities CreateOffering422JSONResponseBodyType = "entity_references_archived_entities" CreateOffering422JSONResponseBodyTypeParameterError CreateOffering422JSONResponseBodyType = "parameter_error" CreateOffering422JSONResponseBodyTypeStoreError CreateOffering422JSONResponseBodyType = "store_error" CreateOffering422JSONResponseBodyTypeUnprocessableEntityError CreateOffering422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CreateOffering422JSONResponseBodyType.
func (CreateOffering422JSONResponseBodyType) Valid ¶
func (e CreateOffering422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering422JSONResponseBodyType enum.
type CreateOffering423JSONResponseBodyObject ¶
type CreateOffering423JSONResponseBodyObject string
CreateOffering423JSONResponseBodyObject defines parameters for CreateOffering.
const (
CreateOffering423JSONResponseBodyObjectError CreateOffering423JSONResponseBodyObject = "error"
)
Defines values for CreateOffering423JSONResponseBodyObject.
func (CreateOffering423JSONResponseBodyObject) Valid ¶
func (e CreateOffering423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering423JSONResponseBodyObject enum.
type CreateOffering423JSONResponseBodyType ¶
type CreateOffering423JSONResponseBodyType string
CreateOffering423JSONResponseBodyType defines parameters for CreateOffering.
const (
CreateOffering423JSONResponseBodyTypeResourceLockedError CreateOffering423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CreateOffering423JSONResponseBodyType.
func (CreateOffering423JSONResponseBodyType) Valid ¶
func (e CreateOffering423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering423JSONResponseBodyType enum.
type CreateOffering429JSONResponseBodyObject ¶
type CreateOffering429JSONResponseBodyObject string
CreateOffering429JSONResponseBodyObject defines parameters for CreateOffering.
const (
CreateOffering429JSONResponseBodyObjectError CreateOffering429JSONResponseBodyObject = "error"
)
Defines values for CreateOffering429JSONResponseBodyObject.
func (CreateOffering429JSONResponseBodyObject) Valid ¶
func (e CreateOffering429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering429JSONResponseBodyObject enum.
type CreateOffering429JSONResponseBodyType ¶
type CreateOffering429JSONResponseBodyType string
CreateOffering429JSONResponseBodyType defines parameters for CreateOffering.
const (
CreateOffering429JSONResponseBodyTypeRateLimitError CreateOffering429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CreateOffering429JSONResponseBodyType.
func (CreateOffering429JSONResponseBodyType) Valid ¶
func (e CreateOffering429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering429JSONResponseBodyType enum.
type CreateOffering500JSONResponseBodyObject ¶
type CreateOffering500JSONResponseBodyObject string
CreateOffering500JSONResponseBodyObject defines parameters for CreateOffering.
const (
CreateOffering500JSONResponseBodyObjectError CreateOffering500JSONResponseBodyObject = "error"
)
Defines values for CreateOffering500JSONResponseBodyObject.
func (CreateOffering500JSONResponseBodyObject) Valid ¶
func (e CreateOffering500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering500JSONResponseBodyObject enum.
type CreateOffering500JSONResponseBodyType ¶
type CreateOffering500JSONResponseBodyType string
CreateOffering500JSONResponseBodyType defines parameters for CreateOffering.
const (
CreateOffering500JSONResponseBodyTypeServerError CreateOffering500JSONResponseBodyType = "server_error"
)
Defines values for CreateOffering500JSONResponseBodyType.
func (CreateOffering500JSONResponseBodyType) Valid ¶
func (e CreateOffering500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering500JSONResponseBodyType enum.
type CreateOffering503JSONResponseBodyObject ¶
type CreateOffering503JSONResponseBodyObject string
CreateOffering503JSONResponseBodyObject defines parameters for CreateOffering.
const (
CreateOffering503JSONResponseBodyObjectError CreateOffering503JSONResponseBodyObject = "error"
)
Defines values for CreateOffering503JSONResponseBodyObject.
func (CreateOffering503JSONResponseBodyObject) Valid ¶
func (e CreateOffering503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering503JSONResponseBodyObject enum.
type CreateOffering503JSONResponseBodyType ¶
type CreateOffering503JSONResponseBodyType string
CreateOffering503JSONResponseBodyType defines parameters for CreateOffering.
const (
CreateOffering503JSONResponseBodyTypeServerError CreateOffering503JSONResponseBodyType = "server_error"
)
Defines values for CreateOffering503JSONResponseBodyType.
func (CreateOffering503JSONResponseBodyType) Valid ¶
func (e CreateOffering503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateOffering503JSONResponseBodyType enum.
type CreateOfferingJSONBody ¶
type CreateOfferingJSONBody struct {
// DisplayName The display_name of the offering
//
// Example: The standard set of packages
DisplayName string `json:"display_name"`
// LookupKey The custom identifier of the offering
//
// Example: default
LookupKey string `json:"lookup_key"`
// Metadata Custom metadata of the offering
//
// Example: {"call_to_action":"Subscribe Now!","color":"blue"}
Metadata *OfferingMetadata `json:"metadata,omitempty"`
}
CreateOfferingJSONBody defines parameters for CreateOffering.
type CreateOfferingJSONRequestBody ¶
type CreateOfferingJSONRequestBody CreateOfferingJSONBody
CreateOfferingJSONRequestBody defines body for CreateOffering for application/json ContentType.
type CreatePackages400JSONResponseBodyObject ¶
type CreatePackages400JSONResponseBodyObject string
CreatePackages400JSONResponseBodyObject defines parameters for CreatePackages.
const (
CreatePackages400JSONResponseBodyObjectError CreatePackages400JSONResponseBodyObject = "error"
)
Defines values for CreatePackages400JSONResponseBodyObject.
func (CreatePackages400JSONResponseBodyObject) Valid ¶
func (e CreatePackages400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages400JSONResponseBodyObject enum.
type CreatePackages400JSONResponseBodyType ¶
type CreatePackages400JSONResponseBodyType string
CreatePackages400JSONResponseBodyType defines parameters for CreatePackages.
const ( CreatePackages400JSONResponseBodyTypeInvalidRequest CreatePackages400JSONResponseBodyType = "invalid_request" CreatePackages400JSONResponseBodyTypeParameterError CreatePackages400JSONResponseBodyType = "parameter_error" )
Defines values for CreatePackages400JSONResponseBodyType.
func (CreatePackages400JSONResponseBodyType) Valid ¶
func (e CreatePackages400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages400JSONResponseBodyType enum.
type CreatePackages401JSONResponseBodyObject ¶
type CreatePackages401JSONResponseBodyObject string
CreatePackages401JSONResponseBodyObject defines parameters for CreatePackages.
const (
CreatePackages401JSONResponseBodyObjectError CreatePackages401JSONResponseBodyObject = "error"
)
Defines values for CreatePackages401JSONResponseBodyObject.
func (CreatePackages401JSONResponseBodyObject) Valid ¶
func (e CreatePackages401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages401JSONResponseBodyObject enum.
type CreatePackages401JSONResponseBodyType ¶
type CreatePackages401JSONResponseBodyType string
CreatePackages401JSONResponseBodyType defines parameters for CreatePackages.
const (
CreatePackages401JSONResponseBodyTypeAuthenticationError CreatePackages401JSONResponseBodyType = "authentication_error"
)
Defines values for CreatePackages401JSONResponseBodyType.
func (CreatePackages401JSONResponseBodyType) Valid ¶
func (e CreatePackages401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages401JSONResponseBodyType enum.
type CreatePackages403JSONResponseBodyObject ¶
type CreatePackages403JSONResponseBodyObject string
CreatePackages403JSONResponseBodyObject defines parameters for CreatePackages.
const (
CreatePackages403JSONResponseBodyObjectError CreatePackages403JSONResponseBodyObject = "error"
)
Defines values for CreatePackages403JSONResponseBodyObject.
func (CreatePackages403JSONResponseBodyObject) Valid ¶
func (e CreatePackages403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages403JSONResponseBodyObject enum.
type CreatePackages403JSONResponseBodyType ¶
type CreatePackages403JSONResponseBodyType string
CreatePackages403JSONResponseBodyType defines parameters for CreatePackages.
const (
CreatePackages403JSONResponseBodyTypeAuthorizationError CreatePackages403JSONResponseBodyType = "authorization_error"
)
Defines values for CreatePackages403JSONResponseBodyType.
func (CreatePackages403JSONResponseBodyType) Valid ¶
func (e CreatePackages403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages403JSONResponseBodyType enum.
type CreatePackages404JSONResponseBodyObject ¶
type CreatePackages404JSONResponseBodyObject string
CreatePackages404JSONResponseBodyObject defines parameters for CreatePackages.
const (
CreatePackages404JSONResponseBodyObjectError CreatePackages404JSONResponseBodyObject = "error"
)
Defines values for CreatePackages404JSONResponseBodyObject.
func (CreatePackages404JSONResponseBodyObject) Valid ¶
func (e CreatePackages404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages404JSONResponseBodyObject enum.
type CreatePackages404JSONResponseBodyType ¶
type CreatePackages404JSONResponseBodyType string
CreatePackages404JSONResponseBodyType defines parameters for CreatePackages.
const (
CreatePackages404JSONResponseBodyTypeResourceMissing CreatePackages404JSONResponseBodyType = "resource_missing"
)
Defines values for CreatePackages404JSONResponseBodyType.
func (CreatePackages404JSONResponseBodyType) Valid ¶
func (e CreatePackages404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages404JSONResponseBodyType enum.
type CreatePackages409JSONResponseBodyObject ¶
type CreatePackages409JSONResponseBodyObject string
CreatePackages409JSONResponseBodyObject defines parameters for CreatePackages.
const (
CreatePackages409JSONResponseBodyObjectError CreatePackages409JSONResponseBodyObject = "error"
)
Defines values for CreatePackages409JSONResponseBodyObject.
func (CreatePackages409JSONResponseBodyObject) Valid ¶
func (e CreatePackages409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages409JSONResponseBodyObject enum.
type CreatePackages409JSONResponseBodyType ¶
type CreatePackages409JSONResponseBodyType string
CreatePackages409JSONResponseBodyType defines parameters for CreatePackages.
const ( CreatePackages409JSONResponseBodyTypeIdempotencyError CreatePackages409JSONResponseBodyType = "idempotency_error" CreatePackages409JSONResponseBodyTypeInvalidRequest CreatePackages409JSONResponseBodyType = "invalid_request" CreatePackages409JSONResponseBodyTypeResourceAlreadyExists CreatePackages409JSONResponseBodyType = "resource_already_exists" )
Defines values for CreatePackages409JSONResponseBodyType.
func (CreatePackages409JSONResponseBodyType) Valid ¶
func (e CreatePackages409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages409JSONResponseBodyType enum.
type CreatePackages422JSONResponseBodyObject ¶
type CreatePackages422JSONResponseBodyObject string
CreatePackages422JSONResponseBodyObject defines parameters for CreatePackages.
const (
CreatePackages422JSONResponseBodyObjectError CreatePackages422JSONResponseBodyObject = "error"
)
Defines values for CreatePackages422JSONResponseBodyObject.
func (CreatePackages422JSONResponseBodyObject) Valid ¶
func (e CreatePackages422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages422JSONResponseBodyObject enum.
type CreatePackages422JSONResponseBodyType ¶
type CreatePackages422JSONResponseBodyType string
CreatePackages422JSONResponseBodyType defines parameters for CreatePackages.
const ( CreatePackages422JSONResponseBodyTypeEntityReferencesArchivedEntities CreatePackages422JSONResponseBodyType = "entity_references_archived_entities" CreatePackages422JSONResponseBodyTypeParameterError CreatePackages422JSONResponseBodyType = "parameter_error" CreatePackages422JSONResponseBodyTypeStoreError CreatePackages422JSONResponseBodyType = "store_error" CreatePackages422JSONResponseBodyTypeUnprocessableEntityError CreatePackages422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CreatePackages422JSONResponseBodyType.
func (CreatePackages422JSONResponseBodyType) Valid ¶
func (e CreatePackages422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages422JSONResponseBodyType enum.
type CreatePackages423JSONResponseBodyObject ¶
type CreatePackages423JSONResponseBodyObject string
CreatePackages423JSONResponseBodyObject defines parameters for CreatePackages.
const (
CreatePackages423JSONResponseBodyObjectError CreatePackages423JSONResponseBodyObject = "error"
)
Defines values for CreatePackages423JSONResponseBodyObject.
func (CreatePackages423JSONResponseBodyObject) Valid ¶
func (e CreatePackages423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages423JSONResponseBodyObject enum.
type CreatePackages423JSONResponseBodyType ¶
type CreatePackages423JSONResponseBodyType string
CreatePackages423JSONResponseBodyType defines parameters for CreatePackages.
const (
CreatePackages423JSONResponseBodyTypeResourceLockedError CreatePackages423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CreatePackages423JSONResponseBodyType.
func (CreatePackages423JSONResponseBodyType) Valid ¶
func (e CreatePackages423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages423JSONResponseBodyType enum.
type CreatePackages429JSONResponseBodyObject ¶
type CreatePackages429JSONResponseBodyObject string
CreatePackages429JSONResponseBodyObject defines parameters for CreatePackages.
const (
CreatePackages429JSONResponseBodyObjectError CreatePackages429JSONResponseBodyObject = "error"
)
Defines values for CreatePackages429JSONResponseBodyObject.
func (CreatePackages429JSONResponseBodyObject) Valid ¶
func (e CreatePackages429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages429JSONResponseBodyObject enum.
type CreatePackages429JSONResponseBodyType ¶
type CreatePackages429JSONResponseBodyType string
CreatePackages429JSONResponseBodyType defines parameters for CreatePackages.
const (
CreatePackages429JSONResponseBodyTypeRateLimitError CreatePackages429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CreatePackages429JSONResponseBodyType.
func (CreatePackages429JSONResponseBodyType) Valid ¶
func (e CreatePackages429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages429JSONResponseBodyType enum.
type CreatePackages500JSONResponseBodyObject ¶
type CreatePackages500JSONResponseBodyObject string
CreatePackages500JSONResponseBodyObject defines parameters for CreatePackages.
const (
CreatePackages500JSONResponseBodyObjectError CreatePackages500JSONResponseBodyObject = "error"
)
Defines values for CreatePackages500JSONResponseBodyObject.
func (CreatePackages500JSONResponseBodyObject) Valid ¶
func (e CreatePackages500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages500JSONResponseBodyObject enum.
type CreatePackages500JSONResponseBodyType ¶
type CreatePackages500JSONResponseBodyType string
CreatePackages500JSONResponseBodyType defines parameters for CreatePackages.
const (
CreatePackages500JSONResponseBodyTypeServerError CreatePackages500JSONResponseBodyType = "server_error"
)
Defines values for CreatePackages500JSONResponseBodyType.
func (CreatePackages500JSONResponseBodyType) Valid ¶
func (e CreatePackages500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages500JSONResponseBodyType enum.
type CreatePackages503JSONResponseBodyObject ¶
type CreatePackages503JSONResponseBodyObject string
CreatePackages503JSONResponseBodyObject defines parameters for CreatePackages.
const (
CreatePackages503JSONResponseBodyObjectError CreatePackages503JSONResponseBodyObject = "error"
)
Defines values for CreatePackages503JSONResponseBodyObject.
func (CreatePackages503JSONResponseBodyObject) Valid ¶
func (e CreatePackages503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages503JSONResponseBodyObject enum.
type CreatePackages503JSONResponseBodyType ¶
type CreatePackages503JSONResponseBodyType string
CreatePackages503JSONResponseBodyType defines parameters for CreatePackages.
const (
CreatePackages503JSONResponseBodyTypeServerError CreatePackages503JSONResponseBodyType = "server_error"
)
Defines values for CreatePackages503JSONResponseBodyType.
func (CreatePackages503JSONResponseBodyType) Valid ¶
func (e CreatePackages503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePackages503JSONResponseBodyType enum.
type CreatePackagesJSONBody ¶
type CreatePackagesJSONBody struct {
// DisplayName The display name of the package
//
// Example: monthly with one-week trial
DisplayName string `json:"display_name"`
// LookupKey The lookup_key of the package
//
// Example: monthly
LookupKey string `json:"lookup_key"`
// Position The position of the package in the offering
//
// Example: 1
Position *int `json:"position,omitempty"`
}
CreatePackagesJSONBody defines parameters for CreatePackages.
type CreatePackagesJSONRequestBody ¶
type CreatePackagesJSONRequestBody CreatePackagesJSONBody
CreatePackagesJSONRequestBody defines body for CreatePackages for application/json ContentType.
type CreatePaywall400JSONResponseBodyObject ¶
type CreatePaywall400JSONResponseBodyObject string
CreatePaywall400JSONResponseBodyObject defines parameters for CreatePaywall.
const (
CreatePaywall400JSONResponseBodyObjectError CreatePaywall400JSONResponseBodyObject = "error"
)
Defines values for CreatePaywall400JSONResponseBodyObject.
func (CreatePaywall400JSONResponseBodyObject) Valid ¶
func (e CreatePaywall400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall400JSONResponseBodyObject enum.
type CreatePaywall400JSONResponseBodyType ¶
type CreatePaywall400JSONResponseBodyType string
CreatePaywall400JSONResponseBodyType defines parameters for CreatePaywall.
const ( CreatePaywall400JSONResponseBodyTypeInvalidRequest CreatePaywall400JSONResponseBodyType = "invalid_request" CreatePaywall400JSONResponseBodyTypeParameterError CreatePaywall400JSONResponseBodyType = "parameter_error" )
Defines values for CreatePaywall400JSONResponseBodyType.
func (CreatePaywall400JSONResponseBodyType) Valid ¶
func (e CreatePaywall400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall400JSONResponseBodyType enum.
type CreatePaywall401JSONResponseBodyObject ¶
type CreatePaywall401JSONResponseBodyObject string
CreatePaywall401JSONResponseBodyObject defines parameters for CreatePaywall.
const (
CreatePaywall401JSONResponseBodyObjectError CreatePaywall401JSONResponseBodyObject = "error"
)
Defines values for CreatePaywall401JSONResponseBodyObject.
func (CreatePaywall401JSONResponseBodyObject) Valid ¶
func (e CreatePaywall401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall401JSONResponseBodyObject enum.
type CreatePaywall401JSONResponseBodyType ¶
type CreatePaywall401JSONResponseBodyType string
CreatePaywall401JSONResponseBodyType defines parameters for CreatePaywall.
const (
CreatePaywall401JSONResponseBodyTypeAuthenticationError CreatePaywall401JSONResponseBodyType = "authentication_error"
)
Defines values for CreatePaywall401JSONResponseBodyType.
func (CreatePaywall401JSONResponseBodyType) Valid ¶
func (e CreatePaywall401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall401JSONResponseBodyType enum.
type CreatePaywall403JSONResponseBodyObject ¶
type CreatePaywall403JSONResponseBodyObject string
CreatePaywall403JSONResponseBodyObject defines parameters for CreatePaywall.
const (
CreatePaywall403JSONResponseBodyObjectError CreatePaywall403JSONResponseBodyObject = "error"
)
Defines values for CreatePaywall403JSONResponseBodyObject.
func (CreatePaywall403JSONResponseBodyObject) Valid ¶
func (e CreatePaywall403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall403JSONResponseBodyObject enum.
type CreatePaywall403JSONResponseBodyType ¶
type CreatePaywall403JSONResponseBodyType string
CreatePaywall403JSONResponseBodyType defines parameters for CreatePaywall.
const (
CreatePaywall403JSONResponseBodyTypeAuthorizationError CreatePaywall403JSONResponseBodyType = "authorization_error"
)
Defines values for CreatePaywall403JSONResponseBodyType.
func (CreatePaywall403JSONResponseBodyType) Valid ¶
func (e CreatePaywall403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall403JSONResponseBodyType enum.
type CreatePaywall404JSONResponseBodyObject ¶
type CreatePaywall404JSONResponseBodyObject string
CreatePaywall404JSONResponseBodyObject defines parameters for CreatePaywall.
const (
CreatePaywall404JSONResponseBodyObjectError CreatePaywall404JSONResponseBodyObject = "error"
)
Defines values for CreatePaywall404JSONResponseBodyObject.
func (CreatePaywall404JSONResponseBodyObject) Valid ¶
func (e CreatePaywall404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall404JSONResponseBodyObject enum.
type CreatePaywall404JSONResponseBodyType ¶
type CreatePaywall404JSONResponseBodyType string
CreatePaywall404JSONResponseBodyType defines parameters for CreatePaywall.
const (
CreatePaywall404JSONResponseBodyTypeResourceMissing CreatePaywall404JSONResponseBodyType = "resource_missing"
)
Defines values for CreatePaywall404JSONResponseBodyType.
func (CreatePaywall404JSONResponseBodyType) Valid ¶
func (e CreatePaywall404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall404JSONResponseBodyType enum.
type CreatePaywall409JSONResponseBodyObject ¶
type CreatePaywall409JSONResponseBodyObject string
CreatePaywall409JSONResponseBodyObject defines parameters for CreatePaywall.
const (
CreatePaywall409JSONResponseBodyObjectError CreatePaywall409JSONResponseBodyObject = "error"
)
Defines values for CreatePaywall409JSONResponseBodyObject.
func (CreatePaywall409JSONResponseBodyObject) Valid ¶
func (e CreatePaywall409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall409JSONResponseBodyObject enum.
type CreatePaywall409JSONResponseBodyType ¶
type CreatePaywall409JSONResponseBodyType string
CreatePaywall409JSONResponseBodyType defines parameters for CreatePaywall.
const ( CreatePaywall409JSONResponseBodyTypeIdempotencyError CreatePaywall409JSONResponseBodyType = "idempotency_error" CreatePaywall409JSONResponseBodyTypeInvalidRequest CreatePaywall409JSONResponseBodyType = "invalid_request" CreatePaywall409JSONResponseBodyTypeResourceAlreadyExists CreatePaywall409JSONResponseBodyType = "resource_already_exists" )
Defines values for CreatePaywall409JSONResponseBodyType.
func (CreatePaywall409JSONResponseBodyType) Valid ¶
func (e CreatePaywall409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall409JSONResponseBodyType enum.
type CreatePaywall422JSONResponseBodyObject ¶
type CreatePaywall422JSONResponseBodyObject string
CreatePaywall422JSONResponseBodyObject defines parameters for CreatePaywall.
const (
CreatePaywall422JSONResponseBodyObjectError CreatePaywall422JSONResponseBodyObject = "error"
)
Defines values for CreatePaywall422JSONResponseBodyObject.
func (CreatePaywall422JSONResponseBodyObject) Valid ¶
func (e CreatePaywall422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall422JSONResponseBodyObject enum.
type CreatePaywall422JSONResponseBodyType ¶
type CreatePaywall422JSONResponseBodyType string
CreatePaywall422JSONResponseBodyType defines parameters for CreatePaywall.
const ( CreatePaywall422JSONResponseBodyTypeEntityReferencesArchivedEntities CreatePaywall422JSONResponseBodyType = "entity_references_archived_entities" CreatePaywall422JSONResponseBodyTypeParameterError CreatePaywall422JSONResponseBodyType = "parameter_error" CreatePaywall422JSONResponseBodyTypeStoreError CreatePaywall422JSONResponseBodyType = "store_error" CreatePaywall422JSONResponseBodyTypeUnprocessableEntityError CreatePaywall422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CreatePaywall422JSONResponseBodyType.
func (CreatePaywall422JSONResponseBodyType) Valid ¶
func (e CreatePaywall422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall422JSONResponseBodyType enum.
type CreatePaywall423JSONResponseBodyObject ¶
type CreatePaywall423JSONResponseBodyObject string
CreatePaywall423JSONResponseBodyObject defines parameters for CreatePaywall.
const (
CreatePaywall423JSONResponseBodyObjectError CreatePaywall423JSONResponseBodyObject = "error"
)
Defines values for CreatePaywall423JSONResponseBodyObject.
func (CreatePaywall423JSONResponseBodyObject) Valid ¶
func (e CreatePaywall423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall423JSONResponseBodyObject enum.
type CreatePaywall423JSONResponseBodyType ¶
type CreatePaywall423JSONResponseBodyType string
CreatePaywall423JSONResponseBodyType defines parameters for CreatePaywall.
const (
CreatePaywall423JSONResponseBodyTypeResourceLockedError CreatePaywall423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CreatePaywall423JSONResponseBodyType.
func (CreatePaywall423JSONResponseBodyType) Valid ¶
func (e CreatePaywall423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall423JSONResponseBodyType enum.
type CreatePaywall429JSONResponseBodyObject ¶
type CreatePaywall429JSONResponseBodyObject string
CreatePaywall429JSONResponseBodyObject defines parameters for CreatePaywall.
const (
CreatePaywall429JSONResponseBodyObjectError CreatePaywall429JSONResponseBodyObject = "error"
)
Defines values for CreatePaywall429JSONResponseBodyObject.
func (CreatePaywall429JSONResponseBodyObject) Valid ¶
func (e CreatePaywall429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall429JSONResponseBodyObject enum.
type CreatePaywall429JSONResponseBodyType ¶
type CreatePaywall429JSONResponseBodyType string
CreatePaywall429JSONResponseBodyType defines parameters for CreatePaywall.
const (
CreatePaywall429JSONResponseBodyTypeRateLimitError CreatePaywall429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CreatePaywall429JSONResponseBodyType.
func (CreatePaywall429JSONResponseBodyType) Valid ¶
func (e CreatePaywall429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall429JSONResponseBodyType enum.
type CreatePaywall500JSONResponseBodyObject ¶
type CreatePaywall500JSONResponseBodyObject string
CreatePaywall500JSONResponseBodyObject defines parameters for CreatePaywall.
const (
CreatePaywall500JSONResponseBodyObjectError CreatePaywall500JSONResponseBodyObject = "error"
)
Defines values for CreatePaywall500JSONResponseBodyObject.
func (CreatePaywall500JSONResponseBodyObject) Valid ¶
func (e CreatePaywall500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall500JSONResponseBodyObject enum.
type CreatePaywall500JSONResponseBodyType ¶
type CreatePaywall500JSONResponseBodyType string
CreatePaywall500JSONResponseBodyType defines parameters for CreatePaywall.
const (
CreatePaywall500JSONResponseBodyTypeServerError CreatePaywall500JSONResponseBodyType = "server_error"
)
Defines values for CreatePaywall500JSONResponseBodyType.
func (CreatePaywall500JSONResponseBodyType) Valid ¶
func (e CreatePaywall500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall500JSONResponseBodyType enum.
type CreatePaywall503JSONResponseBodyObject ¶
type CreatePaywall503JSONResponseBodyObject string
CreatePaywall503JSONResponseBodyObject defines parameters for CreatePaywall.
const (
CreatePaywall503JSONResponseBodyObjectError CreatePaywall503JSONResponseBodyObject = "error"
)
Defines values for CreatePaywall503JSONResponseBodyObject.
func (CreatePaywall503JSONResponseBodyObject) Valid ¶
func (e CreatePaywall503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall503JSONResponseBodyObject enum.
type CreatePaywall503JSONResponseBodyType ¶
type CreatePaywall503JSONResponseBodyType string
CreatePaywall503JSONResponseBodyType defines parameters for CreatePaywall.
const (
CreatePaywall503JSONResponseBodyTypeServerError CreatePaywall503JSONResponseBodyType = "server_error"
)
Defines values for CreatePaywall503JSONResponseBodyType.
func (CreatePaywall503JSONResponseBodyType) Valid ¶
func (e CreatePaywall503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywall503JSONResponseBodyType enum.
type CreatePaywallJSONBody ¶
type CreatePaywallJSONBody struct {
// contains filtered or unexported fields
}
CreatePaywallJSONBody defines parameters for CreatePaywall.
func (CreatePaywallJSONBody) AsCreatePaywallJSONBody0 ¶
func (t CreatePaywallJSONBody) AsCreatePaywallJSONBody0() (CreatePaywallJSONBody0, error)
AsCreatePaywallJSONBody0 returns the union data inside the CreatePaywallJSONBody as a CreatePaywallJSONBody0
func (CreatePaywallJSONBody) AsPaywallDraftCreate ¶
func (t CreatePaywallJSONBody) AsPaywallDraftCreate() (PaywallDraftCreate, error)
AsPaywallDraftCreate returns the union data inside the CreatePaywallJSONBody as a PaywallDraftCreate
func (*CreatePaywallJSONBody) FromCreatePaywallJSONBody0 ¶
func (t *CreatePaywallJSONBody) FromCreatePaywallJSONBody0(v CreatePaywallJSONBody0) error
FromCreatePaywallJSONBody0 overwrites any union data inside the CreatePaywallJSONBody as the provided CreatePaywallJSONBody0
func (*CreatePaywallJSONBody) FromPaywallDraftCreate ¶
func (t *CreatePaywallJSONBody) FromPaywallDraftCreate(v PaywallDraftCreate) error
FromPaywallDraftCreate overwrites any union data inside the CreatePaywallJSONBody as the provided PaywallDraftCreate
func (CreatePaywallJSONBody) MarshalJSON ¶
func (t CreatePaywallJSONBody) MarshalJSON() ([]byte, error)
func (*CreatePaywallJSONBody) MergeCreatePaywallJSONBody0 ¶
func (t *CreatePaywallJSONBody) MergeCreatePaywallJSONBody0(v CreatePaywallJSONBody0) error
MergeCreatePaywallJSONBody0 performs a merge with any union data inside the CreatePaywallJSONBody, using the provided CreatePaywallJSONBody0
func (*CreatePaywallJSONBody) MergePaywallDraftCreate ¶
func (t *CreatePaywallJSONBody) MergePaywallDraftCreate(v PaywallDraftCreate) error
MergePaywallDraftCreate performs a merge with any union data inside the CreatePaywallJSONBody, using the provided PaywallDraftCreate
func (*CreatePaywallJSONBody) UnmarshalJSON ¶
func (t *CreatePaywallJSONBody) UnmarshalJSON(b []byte) error
type CreatePaywallJSONBody0 ¶
type CreatePaywallJSONBody0 struct {
// AutomaticallyScaleFontSize Whether font sizes should automatically scale for this paywall. Defaults to true.
//
// Example: true
AutomaticallyScaleFontSize *bool `json:"automatically_scale_font_size,omitempty"`
// OfferingID The ID of the offering the paywall will be created for.
//
//
// Example: ofrng123456789a
OfferingID string `json:"offering_id"`
}
CreatePaywallJSONBody0 defines parameters for CreatePaywall.
type CreatePaywallJSONRequestBody ¶
type CreatePaywallJSONRequestBody CreatePaywallJSONBody
CreatePaywallJSONRequestBody defines body for CreatePaywall for application/json ContentType.
type CreatePaywallVersion400JSONResponseBodyObject ¶
type CreatePaywallVersion400JSONResponseBodyObject string
CreatePaywallVersion400JSONResponseBodyObject defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion400JSONResponseBodyObjectError CreatePaywallVersion400JSONResponseBodyObject = "error"
)
Defines values for CreatePaywallVersion400JSONResponseBodyObject.
func (CreatePaywallVersion400JSONResponseBodyObject) Valid ¶
func (e CreatePaywallVersion400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion400JSONResponseBodyObject enum.
type CreatePaywallVersion400JSONResponseBodyType ¶
type CreatePaywallVersion400JSONResponseBodyType string
CreatePaywallVersion400JSONResponseBodyType defines parameters for CreatePaywallVersion.
const ( CreatePaywallVersion400JSONResponseBodyTypeInvalidRequest CreatePaywallVersion400JSONResponseBodyType = "invalid_request" CreatePaywallVersion400JSONResponseBodyTypeParameterError CreatePaywallVersion400JSONResponseBodyType = "parameter_error" )
Defines values for CreatePaywallVersion400JSONResponseBodyType.
func (CreatePaywallVersion400JSONResponseBodyType) Valid ¶
func (e CreatePaywallVersion400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion400JSONResponseBodyType enum.
type CreatePaywallVersion401JSONResponseBodyObject ¶
type CreatePaywallVersion401JSONResponseBodyObject string
CreatePaywallVersion401JSONResponseBodyObject defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion401JSONResponseBodyObjectError CreatePaywallVersion401JSONResponseBodyObject = "error"
)
Defines values for CreatePaywallVersion401JSONResponseBodyObject.
func (CreatePaywallVersion401JSONResponseBodyObject) Valid ¶
func (e CreatePaywallVersion401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion401JSONResponseBodyObject enum.
type CreatePaywallVersion401JSONResponseBodyType ¶
type CreatePaywallVersion401JSONResponseBodyType string
CreatePaywallVersion401JSONResponseBodyType defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion401JSONResponseBodyTypeAuthenticationError CreatePaywallVersion401JSONResponseBodyType = "authentication_error"
)
Defines values for CreatePaywallVersion401JSONResponseBodyType.
func (CreatePaywallVersion401JSONResponseBodyType) Valid ¶
func (e CreatePaywallVersion401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion401JSONResponseBodyType enum.
type CreatePaywallVersion403JSONResponseBodyObject ¶
type CreatePaywallVersion403JSONResponseBodyObject string
CreatePaywallVersion403JSONResponseBodyObject defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion403JSONResponseBodyObjectError CreatePaywallVersion403JSONResponseBodyObject = "error"
)
Defines values for CreatePaywallVersion403JSONResponseBodyObject.
func (CreatePaywallVersion403JSONResponseBodyObject) Valid ¶
func (e CreatePaywallVersion403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion403JSONResponseBodyObject enum.
type CreatePaywallVersion403JSONResponseBodyType ¶
type CreatePaywallVersion403JSONResponseBodyType string
CreatePaywallVersion403JSONResponseBodyType defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion403JSONResponseBodyTypeAuthorizationError CreatePaywallVersion403JSONResponseBodyType = "authorization_error"
)
Defines values for CreatePaywallVersion403JSONResponseBodyType.
func (CreatePaywallVersion403JSONResponseBodyType) Valid ¶
func (e CreatePaywallVersion403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion403JSONResponseBodyType enum.
type CreatePaywallVersion404JSONResponseBodyObject ¶
type CreatePaywallVersion404JSONResponseBodyObject string
CreatePaywallVersion404JSONResponseBodyObject defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion404JSONResponseBodyObjectError CreatePaywallVersion404JSONResponseBodyObject = "error"
)
Defines values for CreatePaywallVersion404JSONResponseBodyObject.
func (CreatePaywallVersion404JSONResponseBodyObject) Valid ¶
func (e CreatePaywallVersion404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion404JSONResponseBodyObject enum.
type CreatePaywallVersion404JSONResponseBodyType ¶
type CreatePaywallVersion404JSONResponseBodyType string
CreatePaywallVersion404JSONResponseBodyType defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion404JSONResponseBodyTypeResourceMissing CreatePaywallVersion404JSONResponseBodyType = "resource_missing"
)
Defines values for CreatePaywallVersion404JSONResponseBodyType.
func (CreatePaywallVersion404JSONResponseBodyType) Valid ¶
func (e CreatePaywallVersion404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion404JSONResponseBodyType enum.
type CreatePaywallVersion409JSONResponseBodyObject ¶
type CreatePaywallVersion409JSONResponseBodyObject string
CreatePaywallVersion409JSONResponseBodyObject defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion409JSONResponseBodyObjectError CreatePaywallVersion409JSONResponseBodyObject = "error"
)
Defines values for CreatePaywallVersion409JSONResponseBodyObject.
func (CreatePaywallVersion409JSONResponseBodyObject) Valid ¶
func (e CreatePaywallVersion409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion409JSONResponseBodyObject enum.
type CreatePaywallVersion409JSONResponseBodyType ¶
type CreatePaywallVersion409JSONResponseBodyType string
CreatePaywallVersion409JSONResponseBodyType defines parameters for CreatePaywallVersion.
const ( CreatePaywallVersion409JSONResponseBodyTypeIdempotencyError CreatePaywallVersion409JSONResponseBodyType = "idempotency_error" CreatePaywallVersion409JSONResponseBodyTypeInvalidRequest CreatePaywallVersion409JSONResponseBodyType = "invalid_request" CreatePaywallVersion409JSONResponseBodyTypeResourceAlreadyExists CreatePaywallVersion409JSONResponseBodyType = "resource_already_exists" )
Defines values for CreatePaywallVersion409JSONResponseBodyType.
func (CreatePaywallVersion409JSONResponseBodyType) Valid ¶
func (e CreatePaywallVersion409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion409JSONResponseBodyType enum.
type CreatePaywallVersion422JSONResponseBodyObject ¶
type CreatePaywallVersion422JSONResponseBodyObject string
CreatePaywallVersion422JSONResponseBodyObject defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion422JSONResponseBodyObjectError CreatePaywallVersion422JSONResponseBodyObject = "error"
)
Defines values for CreatePaywallVersion422JSONResponseBodyObject.
func (CreatePaywallVersion422JSONResponseBodyObject) Valid ¶
func (e CreatePaywallVersion422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion422JSONResponseBodyObject enum.
type CreatePaywallVersion422JSONResponseBodyType ¶
type CreatePaywallVersion422JSONResponseBodyType string
CreatePaywallVersion422JSONResponseBodyType defines parameters for CreatePaywallVersion.
const ( CreatePaywallVersion422JSONResponseBodyTypeEntityReferencesArchivedEntities CreatePaywallVersion422JSONResponseBodyType = "entity_references_archived_entities" CreatePaywallVersion422JSONResponseBodyTypeParameterError CreatePaywallVersion422JSONResponseBodyType = "parameter_error" CreatePaywallVersion422JSONResponseBodyTypeStoreError CreatePaywallVersion422JSONResponseBodyType = "store_error" CreatePaywallVersion422JSONResponseBodyTypeUnprocessableEntityError CreatePaywallVersion422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CreatePaywallVersion422JSONResponseBodyType.
func (CreatePaywallVersion422JSONResponseBodyType) Valid ¶
func (e CreatePaywallVersion422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion422JSONResponseBodyType enum.
type CreatePaywallVersion423JSONResponseBodyObject ¶
type CreatePaywallVersion423JSONResponseBodyObject string
CreatePaywallVersion423JSONResponseBodyObject defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion423JSONResponseBodyObjectError CreatePaywallVersion423JSONResponseBodyObject = "error"
)
Defines values for CreatePaywallVersion423JSONResponseBodyObject.
func (CreatePaywallVersion423JSONResponseBodyObject) Valid ¶
func (e CreatePaywallVersion423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion423JSONResponseBodyObject enum.
type CreatePaywallVersion423JSONResponseBodyType ¶
type CreatePaywallVersion423JSONResponseBodyType string
CreatePaywallVersion423JSONResponseBodyType defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion423JSONResponseBodyTypeResourceLockedError CreatePaywallVersion423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CreatePaywallVersion423JSONResponseBodyType.
func (CreatePaywallVersion423JSONResponseBodyType) Valid ¶
func (e CreatePaywallVersion423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion423JSONResponseBodyType enum.
type CreatePaywallVersion429JSONResponseBodyObject ¶
type CreatePaywallVersion429JSONResponseBodyObject string
CreatePaywallVersion429JSONResponseBodyObject defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion429JSONResponseBodyObjectError CreatePaywallVersion429JSONResponseBodyObject = "error"
)
Defines values for CreatePaywallVersion429JSONResponseBodyObject.
func (CreatePaywallVersion429JSONResponseBodyObject) Valid ¶
func (e CreatePaywallVersion429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion429JSONResponseBodyObject enum.
type CreatePaywallVersion429JSONResponseBodyType ¶
type CreatePaywallVersion429JSONResponseBodyType string
CreatePaywallVersion429JSONResponseBodyType defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion429JSONResponseBodyTypeRateLimitError CreatePaywallVersion429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CreatePaywallVersion429JSONResponseBodyType.
func (CreatePaywallVersion429JSONResponseBodyType) Valid ¶
func (e CreatePaywallVersion429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion429JSONResponseBodyType enum.
type CreatePaywallVersion500JSONResponseBodyObject ¶
type CreatePaywallVersion500JSONResponseBodyObject string
CreatePaywallVersion500JSONResponseBodyObject defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion500JSONResponseBodyObjectError CreatePaywallVersion500JSONResponseBodyObject = "error"
)
Defines values for CreatePaywallVersion500JSONResponseBodyObject.
func (CreatePaywallVersion500JSONResponseBodyObject) Valid ¶
func (e CreatePaywallVersion500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion500JSONResponseBodyObject enum.
type CreatePaywallVersion500JSONResponseBodyType ¶
type CreatePaywallVersion500JSONResponseBodyType string
CreatePaywallVersion500JSONResponseBodyType defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion500JSONResponseBodyTypeServerError CreatePaywallVersion500JSONResponseBodyType = "server_error"
)
Defines values for CreatePaywallVersion500JSONResponseBodyType.
func (CreatePaywallVersion500JSONResponseBodyType) Valid ¶
func (e CreatePaywallVersion500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion500JSONResponseBodyType enum.
type CreatePaywallVersion503JSONResponseBodyObject ¶
type CreatePaywallVersion503JSONResponseBodyObject string
CreatePaywallVersion503JSONResponseBodyObject defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion503JSONResponseBodyObjectError CreatePaywallVersion503JSONResponseBodyObject = "error"
)
Defines values for CreatePaywallVersion503JSONResponseBodyObject.
func (CreatePaywallVersion503JSONResponseBodyObject) Valid ¶
func (e CreatePaywallVersion503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion503JSONResponseBodyObject enum.
type CreatePaywallVersion503JSONResponseBodyType ¶
type CreatePaywallVersion503JSONResponseBodyType string
CreatePaywallVersion503JSONResponseBodyType defines parameters for CreatePaywallVersion.
const (
CreatePaywallVersion503JSONResponseBodyTypeServerError CreatePaywallVersion503JSONResponseBodyType = "server_error"
)
Defines values for CreatePaywallVersion503JSONResponseBodyType.
func (CreatePaywallVersion503JSONResponseBodyType) Valid ¶
func (e CreatePaywallVersion503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreatePaywallVersion503JSONResponseBodyType enum.
type CreatePaywallVersionJSONBody ¶
type CreatePaywallVersionJSONBody struct {
// Name A human-readable name for the paywall version snapshot.
//
// Example: V2 Orange Accents
Name string `json:"name"`
}
CreatePaywallVersionJSONBody defines parameters for CreatePaywallVersion.
type CreatePaywallVersionJSONRequestBody ¶
type CreatePaywallVersionJSONRequestBody CreatePaywallVersionJSONBody
CreatePaywallVersionJSONRequestBody defines body for CreatePaywallVersion for application/json ContentType.
type CreateProduct400JSONResponseBodyObject ¶
type CreateProduct400JSONResponseBodyObject string
CreateProduct400JSONResponseBodyObject defines parameters for CreateProduct.
const (
CreateProduct400JSONResponseBodyObjectError CreateProduct400JSONResponseBodyObject = "error"
)
Defines values for CreateProduct400JSONResponseBodyObject.
func (CreateProduct400JSONResponseBodyObject) Valid ¶
func (e CreateProduct400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct400JSONResponseBodyObject enum.
type CreateProduct400JSONResponseBodyType ¶
type CreateProduct400JSONResponseBodyType string
CreateProduct400JSONResponseBodyType defines parameters for CreateProduct.
const ( CreateProduct400JSONResponseBodyTypeInvalidRequest CreateProduct400JSONResponseBodyType = "invalid_request" CreateProduct400JSONResponseBodyTypeParameterError CreateProduct400JSONResponseBodyType = "parameter_error" )
Defines values for CreateProduct400JSONResponseBodyType.
func (CreateProduct400JSONResponseBodyType) Valid ¶
func (e CreateProduct400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct400JSONResponseBodyType enum.
type CreateProduct401JSONResponseBodyObject ¶
type CreateProduct401JSONResponseBodyObject string
CreateProduct401JSONResponseBodyObject defines parameters for CreateProduct.
const (
CreateProduct401JSONResponseBodyObjectError CreateProduct401JSONResponseBodyObject = "error"
)
Defines values for CreateProduct401JSONResponseBodyObject.
func (CreateProduct401JSONResponseBodyObject) Valid ¶
func (e CreateProduct401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct401JSONResponseBodyObject enum.
type CreateProduct401JSONResponseBodyType ¶
type CreateProduct401JSONResponseBodyType string
CreateProduct401JSONResponseBodyType defines parameters for CreateProduct.
const (
CreateProduct401JSONResponseBodyTypeAuthenticationError CreateProduct401JSONResponseBodyType = "authentication_error"
)
Defines values for CreateProduct401JSONResponseBodyType.
func (CreateProduct401JSONResponseBodyType) Valid ¶
func (e CreateProduct401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct401JSONResponseBodyType enum.
type CreateProduct403JSONResponseBodyObject ¶
type CreateProduct403JSONResponseBodyObject string
CreateProduct403JSONResponseBodyObject defines parameters for CreateProduct.
const (
CreateProduct403JSONResponseBodyObjectError CreateProduct403JSONResponseBodyObject = "error"
)
Defines values for CreateProduct403JSONResponseBodyObject.
func (CreateProduct403JSONResponseBodyObject) Valid ¶
func (e CreateProduct403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct403JSONResponseBodyObject enum.
type CreateProduct403JSONResponseBodyType ¶
type CreateProduct403JSONResponseBodyType string
CreateProduct403JSONResponseBodyType defines parameters for CreateProduct.
const (
CreateProduct403JSONResponseBodyTypeAuthorizationError CreateProduct403JSONResponseBodyType = "authorization_error"
)
Defines values for CreateProduct403JSONResponseBodyType.
func (CreateProduct403JSONResponseBodyType) Valid ¶
func (e CreateProduct403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct403JSONResponseBodyType enum.
type CreateProduct404JSONResponseBodyObject ¶
type CreateProduct404JSONResponseBodyObject string
CreateProduct404JSONResponseBodyObject defines parameters for CreateProduct.
const (
CreateProduct404JSONResponseBodyObjectError CreateProduct404JSONResponseBodyObject = "error"
)
Defines values for CreateProduct404JSONResponseBodyObject.
func (CreateProduct404JSONResponseBodyObject) Valid ¶
func (e CreateProduct404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct404JSONResponseBodyObject enum.
type CreateProduct404JSONResponseBodyType ¶
type CreateProduct404JSONResponseBodyType string
CreateProduct404JSONResponseBodyType defines parameters for CreateProduct.
const (
CreateProduct404JSONResponseBodyTypeResourceMissing CreateProduct404JSONResponseBodyType = "resource_missing"
)
Defines values for CreateProduct404JSONResponseBodyType.
func (CreateProduct404JSONResponseBodyType) Valid ¶
func (e CreateProduct404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct404JSONResponseBodyType enum.
type CreateProduct409JSONResponseBodyObject ¶
type CreateProduct409JSONResponseBodyObject string
CreateProduct409JSONResponseBodyObject defines parameters for CreateProduct.
const (
CreateProduct409JSONResponseBodyObjectError CreateProduct409JSONResponseBodyObject = "error"
)
Defines values for CreateProduct409JSONResponseBodyObject.
func (CreateProduct409JSONResponseBodyObject) Valid ¶
func (e CreateProduct409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct409JSONResponseBodyObject enum.
type CreateProduct409JSONResponseBodyType ¶
type CreateProduct409JSONResponseBodyType string
CreateProduct409JSONResponseBodyType defines parameters for CreateProduct.
const ( CreateProduct409JSONResponseBodyTypeIdempotencyError CreateProduct409JSONResponseBodyType = "idempotency_error" CreateProduct409JSONResponseBodyTypeInvalidRequest CreateProduct409JSONResponseBodyType = "invalid_request" CreateProduct409JSONResponseBodyTypeResourceAlreadyExists CreateProduct409JSONResponseBodyType = "resource_already_exists" )
Defines values for CreateProduct409JSONResponseBodyType.
func (CreateProduct409JSONResponseBodyType) Valid ¶
func (e CreateProduct409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct409JSONResponseBodyType enum.
type CreateProduct422JSONResponseBodyObject ¶
type CreateProduct422JSONResponseBodyObject string
CreateProduct422JSONResponseBodyObject defines parameters for CreateProduct.
const (
CreateProduct422JSONResponseBodyObjectError CreateProduct422JSONResponseBodyObject = "error"
)
Defines values for CreateProduct422JSONResponseBodyObject.
func (CreateProduct422JSONResponseBodyObject) Valid ¶
func (e CreateProduct422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct422JSONResponseBodyObject enum.
type CreateProduct422JSONResponseBodyType ¶
type CreateProduct422JSONResponseBodyType string
CreateProduct422JSONResponseBodyType defines parameters for CreateProduct.
const ( CreateProduct422JSONResponseBodyTypeEntityReferencesArchivedEntities CreateProduct422JSONResponseBodyType = "entity_references_archived_entities" CreateProduct422JSONResponseBodyTypeParameterError CreateProduct422JSONResponseBodyType = "parameter_error" CreateProduct422JSONResponseBodyTypeStoreError CreateProduct422JSONResponseBodyType = "store_error" CreateProduct422JSONResponseBodyTypeUnprocessableEntityError CreateProduct422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CreateProduct422JSONResponseBodyType.
func (CreateProduct422JSONResponseBodyType) Valid ¶
func (e CreateProduct422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct422JSONResponseBodyType enum.
type CreateProduct423JSONResponseBodyObject ¶
type CreateProduct423JSONResponseBodyObject string
CreateProduct423JSONResponseBodyObject defines parameters for CreateProduct.
const (
CreateProduct423JSONResponseBodyObjectError CreateProduct423JSONResponseBodyObject = "error"
)
Defines values for CreateProduct423JSONResponseBodyObject.
func (CreateProduct423JSONResponseBodyObject) Valid ¶
func (e CreateProduct423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct423JSONResponseBodyObject enum.
type CreateProduct423JSONResponseBodyType ¶
type CreateProduct423JSONResponseBodyType string
CreateProduct423JSONResponseBodyType defines parameters for CreateProduct.
const (
CreateProduct423JSONResponseBodyTypeResourceLockedError CreateProduct423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CreateProduct423JSONResponseBodyType.
func (CreateProduct423JSONResponseBodyType) Valid ¶
func (e CreateProduct423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct423JSONResponseBodyType enum.
type CreateProduct429JSONResponseBodyObject ¶
type CreateProduct429JSONResponseBodyObject string
CreateProduct429JSONResponseBodyObject defines parameters for CreateProduct.
const (
CreateProduct429JSONResponseBodyObjectError CreateProduct429JSONResponseBodyObject = "error"
)
Defines values for CreateProduct429JSONResponseBodyObject.
func (CreateProduct429JSONResponseBodyObject) Valid ¶
func (e CreateProduct429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct429JSONResponseBodyObject enum.
type CreateProduct429JSONResponseBodyType ¶
type CreateProduct429JSONResponseBodyType string
CreateProduct429JSONResponseBodyType defines parameters for CreateProduct.
const (
CreateProduct429JSONResponseBodyTypeRateLimitError CreateProduct429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CreateProduct429JSONResponseBodyType.
func (CreateProduct429JSONResponseBodyType) Valid ¶
func (e CreateProduct429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct429JSONResponseBodyType enum.
type CreateProduct500JSONResponseBodyObject ¶
type CreateProduct500JSONResponseBodyObject string
CreateProduct500JSONResponseBodyObject defines parameters for CreateProduct.
const (
CreateProduct500JSONResponseBodyObjectError CreateProduct500JSONResponseBodyObject = "error"
)
Defines values for CreateProduct500JSONResponseBodyObject.
func (CreateProduct500JSONResponseBodyObject) Valid ¶
func (e CreateProduct500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct500JSONResponseBodyObject enum.
type CreateProduct500JSONResponseBodyType ¶
type CreateProduct500JSONResponseBodyType string
CreateProduct500JSONResponseBodyType defines parameters for CreateProduct.
const (
CreateProduct500JSONResponseBodyTypeServerError CreateProduct500JSONResponseBodyType = "server_error"
)
Defines values for CreateProduct500JSONResponseBodyType.
func (CreateProduct500JSONResponseBodyType) Valid ¶
func (e CreateProduct500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct500JSONResponseBodyType enum.
type CreateProduct503JSONResponseBodyObject ¶
type CreateProduct503JSONResponseBodyObject string
CreateProduct503JSONResponseBodyObject defines parameters for CreateProduct.
const (
CreateProduct503JSONResponseBodyObjectError CreateProduct503JSONResponseBodyObject = "error"
)
Defines values for CreateProduct503JSONResponseBodyObject.
func (CreateProduct503JSONResponseBodyObject) Valid ¶
func (e CreateProduct503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct503JSONResponseBodyObject enum.
type CreateProduct503JSONResponseBodyType ¶
type CreateProduct503JSONResponseBodyType string
CreateProduct503JSONResponseBodyType defines parameters for CreateProduct.
const (
CreateProduct503JSONResponseBodyTypeServerError CreateProduct503JSONResponseBodyType = "server_error"
)
Defines values for CreateProduct503JSONResponseBodyType.
func (CreateProduct503JSONResponseBodyType) Valid ¶
func (e CreateProduct503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProduct503JSONResponseBodyType enum.
type CreateProductInStore400JSONResponseBodyObject ¶
type CreateProductInStore400JSONResponseBodyObject string
CreateProductInStore400JSONResponseBodyObject defines parameters for CreateProductInStore.
const (
CreateProductInStore400JSONResponseBodyObjectError CreateProductInStore400JSONResponseBodyObject = "error"
)
Defines values for CreateProductInStore400JSONResponseBodyObject.
func (CreateProductInStore400JSONResponseBodyObject) Valid ¶
func (e CreateProductInStore400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore400JSONResponseBodyObject enum.
type CreateProductInStore400JSONResponseBodyType ¶
type CreateProductInStore400JSONResponseBodyType string
CreateProductInStore400JSONResponseBodyType defines parameters for CreateProductInStore.
const ( CreateProductInStore400JSONResponseBodyTypeInvalidRequest CreateProductInStore400JSONResponseBodyType = "invalid_request" CreateProductInStore400JSONResponseBodyTypeParameterError CreateProductInStore400JSONResponseBodyType = "parameter_error" )
Defines values for CreateProductInStore400JSONResponseBodyType.
func (CreateProductInStore400JSONResponseBodyType) Valid ¶
func (e CreateProductInStore400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore400JSONResponseBodyType enum.
type CreateProductInStore401JSONResponseBodyObject ¶
type CreateProductInStore401JSONResponseBodyObject string
CreateProductInStore401JSONResponseBodyObject defines parameters for CreateProductInStore.
const (
CreateProductInStore401JSONResponseBodyObjectError CreateProductInStore401JSONResponseBodyObject = "error"
)
Defines values for CreateProductInStore401JSONResponseBodyObject.
func (CreateProductInStore401JSONResponseBodyObject) Valid ¶
func (e CreateProductInStore401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore401JSONResponseBodyObject enum.
type CreateProductInStore401JSONResponseBodyType ¶
type CreateProductInStore401JSONResponseBodyType string
CreateProductInStore401JSONResponseBodyType defines parameters for CreateProductInStore.
const (
CreateProductInStore401JSONResponseBodyTypeAuthenticationError CreateProductInStore401JSONResponseBodyType = "authentication_error"
)
Defines values for CreateProductInStore401JSONResponseBodyType.
func (CreateProductInStore401JSONResponseBodyType) Valid ¶
func (e CreateProductInStore401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore401JSONResponseBodyType enum.
type CreateProductInStore403JSONResponseBodyObject ¶
type CreateProductInStore403JSONResponseBodyObject string
CreateProductInStore403JSONResponseBodyObject defines parameters for CreateProductInStore.
const (
CreateProductInStore403JSONResponseBodyObjectError CreateProductInStore403JSONResponseBodyObject = "error"
)
Defines values for CreateProductInStore403JSONResponseBodyObject.
func (CreateProductInStore403JSONResponseBodyObject) Valid ¶
func (e CreateProductInStore403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore403JSONResponseBodyObject enum.
type CreateProductInStore403JSONResponseBodyType ¶
type CreateProductInStore403JSONResponseBodyType string
CreateProductInStore403JSONResponseBodyType defines parameters for CreateProductInStore.
const (
CreateProductInStore403JSONResponseBodyTypeAuthorizationError CreateProductInStore403JSONResponseBodyType = "authorization_error"
)
Defines values for CreateProductInStore403JSONResponseBodyType.
func (CreateProductInStore403JSONResponseBodyType) Valid ¶
func (e CreateProductInStore403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore403JSONResponseBodyType enum.
type CreateProductInStore404JSONResponseBodyObject ¶
type CreateProductInStore404JSONResponseBodyObject string
CreateProductInStore404JSONResponseBodyObject defines parameters for CreateProductInStore.
const (
CreateProductInStore404JSONResponseBodyObjectError CreateProductInStore404JSONResponseBodyObject = "error"
)
Defines values for CreateProductInStore404JSONResponseBodyObject.
func (CreateProductInStore404JSONResponseBodyObject) Valid ¶
func (e CreateProductInStore404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore404JSONResponseBodyObject enum.
type CreateProductInStore404JSONResponseBodyType ¶
type CreateProductInStore404JSONResponseBodyType string
CreateProductInStore404JSONResponseBodyType defines parameters for CreateProductInStore.
const (
CreateProductInStore404JSONResponseBodyTypeResourceMissing CreateProductInStore404JSONResponseBodyType = "resource_missing"
)
Defines values for CreateProductInStore404JSONResponseBodyType.
func (CreateProductInStore404JSONResponseBodyType) Valid ¶
func (e CreateProductInStore404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore404JSONResponseBodyType enum.
type CreateProductInStore409JSONResponseBodyObject ¶
type CreateProductInStore409JSONResponseBodyObject string
CreateProductInStore409JSONResponseBodyObject defines parameters for CreateProductInStore.
const (
CreateProductInStore409JSONResponseBodyObjectError CreateProductInStore409JSONResponseBodyObject = "error"
)
Defines values for CreateProductInStore409JSONResponseBodyObject.
func (CreateProductInStore409JSONResponseBodyObject) Valid ¶
func (e CreateProductInStore409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore409JSONResponseBodyObject enum.
type CreateProductInStore409JSONResponseBodyType ¶
type CreateProductInStore409JSONResponseBodyType string
CreateProductInStore409JSONResponseBodyType defines parameters for CreateProductInStore.
const ( CreateProductInStore409JSONResponseBodyTypeIdempotencyError CreateProductInStore409JSONResponseBodyType = "idempotency_error" CreateProductInStore409JSONResponseBodyTypeInvalidRequest CreateProductInStore409JSONResponseBodyType = "invalid_request" CreateProductInStore409JSONResponseBodyTypeResourceAlreadyExists CreateProductInStore409JSONResponseBodyType = "resource_already_exists" )
Defines values for CreateProductInStore409JSONResponseBodyType.
func (CreateProductInStore409JSONResponseBodyType) Valid ¶
func (e CreateProductInStore409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore409JSONResponseBodyType enum.
type CreateProductInStore422JSONResponseBodyObject ¶
type CreateProductInStore422JSONResponseBodyObject string
CreateProductInStore422JSONResponseBodyObject defines parameters for CreateProductInStore.
const (
CreateProductInStore422JSONResponseBodyObjectError CreateProductInStore422JSONResponseBodyObject = "error"
)
Defines values for CreateProductInStore422JSONResponseBodyObject.
func (CreateProductInStore422JSONResponseBodyObject) Valid ¶
func (e CreateProductInStore422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore422JSONResponseBodyObject enum.
type CreateProductInStore422JSONResponseBodyType ¶
type CreateProductInStore422JSONResponseBodyType string
CreateProductInStore422JSONResponseBodyType defines parameters for CreateProductInStore.
const ( CreateProductInStore422JSONResponseBodyTypeEntityReferencesArchivedEntities CreateProductInStore422JSONResponseBodyType = "entity_references_archived_entities" CreateProductInStore422JSONResponseBodyTypeParameterError CreateProductInStore422JSONResponseBodyType = "parameter_error" CreateProductInStore422JSONResponseBodyTypeStoreError CreateProductInStore422JSONResponseBodyType = "store_error" CreateProductInStore422JSONResponseBodyTypeUnprocessableEntityError CreateProductInStore422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CreateProductInStore422JSONResponseBodyType.
func (CreateProductInStore422JSONResponseBodyType) Valid ¶
func (e CreateProductInStore422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore422JSONResponseBodyType enum.
type CreateProductInStore423JSONResponseBodyObject ¶
type CreateProductInStore423JSONResponseBodyObject string
CreateProductInStore423JSONResponseBodyObject defines parameters for CreateProductInStore.
const (
CreateProductInStore423JSONResponseBodyObjectError CreateProductInStore423JSONResponseBodyObject = "error"
)
Defines values for CreateProductInStore423JSONResponseBodyObject.
func (CreateProductInStore423JSONResponseBodyObject) Valid ¶
func (e CreateProductInStore423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore423JSONResponseBodyObject enum.
type CreateProductInStore423JSONResponseBodyType ¶
type CreateProductInStore423JSONResponseBodyType string
CreateProductInStore423JSONResponseBodyType defines parameters for CreateProductInStore.
const (
CreateProductInStore423JSONResponseBodyTypeResourceLockedError CreateProductInStore423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CreateProductInStore423JSONResponseBodyType.
func (CreateProductInStore423JSONResponseBodyType) Valid ¶
func (e CreateProductInStore423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore423JSONResponseBodyType enum.
type CreateProductInStore429JSONResponseBodyObject ¶
type CreateProductInStore429JSONResponseBodyObject string
CreateProductInStore429JSONResponseBodyObject defines parameters for CreateProductInStore.
const (
CreateProductInStore429JSONResponseBodyObjectError CreateProductInStore429JSONResponseBodyObject = "error"
)
Defines values for CreateProductInStore429JSONResponseBodyObject.
func (CreateProductInStore429JSONResponseBodyObject) Valid ¶
func (e CreateProductInStore429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore429JSONResponseBodyObject enum.
type CreateProductInStore429JSONResponseBodyType ¶
type CreateProductInStore429JSONResponseBodyType string
CreateProductInStore429JSONResponseBodyType defines parameters for CreateProductInStore.
const (
CreateProductInStore429JSONResponseBodyTypeRateLimitError CreateProductInStore429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CreateProductInStore429JSONResponseBodyType.
func (CreateProductInStore429JSONResponseBodyType) Valid ¶
func (e CreateProductInStore429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore429JSONResponseBodyType enum.
type CreateProductInStore500JSONResponseBodyObject ¶
type CreateProductInStore500JSONResponseBodyObject string
CreateProductInStore500JSONResponseBodyObject defines parameters for CreateProductInStore.
const (
CreateProductInStore500JSONResponseBodyObjectError CreateProductInStore500JSONResponseBodyObject = "error"
)
Defines values for CreateProductInStore500JSONResponseBodyObject.
func (CreateProductInStore500JSONResponseBodyObject) Valid ¶
func (e CreateProductInStore500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore500JSONResponseBodyObject enum.
type CreateProductInStore500JSONResponseBodyType ¶
type CreateProductInStore500JSONResponseBodyType string
CreateProductInStore500JSONResponseBodyType defines parameters for CreateProductInStore.
const (
CreateProductInStore500JSONResponseBodyTypeServerError CreateProductInStore500JSONResponseBodyType = "server_error"
)
Defines values for CreateProductInStore500JSONResponseBodyType.
func (CreateProductInStore500JSONResponseBodyType) Valid ¶
func (e CreateProductInStore500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore500JSONResponseBodyType enum.
type CreateProductInStore503JSONResponseBodyObject ¶
type CreateProductInStore503JSONResponseBodyObject string
CreateProductInStore503JSONResponseBodyObject defines parameters for CreateProductInStore.
const (
CreateProductInStore503JSONResponseBodyObjectError CreateProductInStore503JSONResponseBodyObject = "error"
)
Defines values for CreateProductInStore503JSONResponseBodyObject.
func (CreateProductInStore503JSONResponseBodyObject) Valid ¶
func (e CreateProductInStore503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore503JSONResponseBodyObject enum.
type CreateProductInStore503JSONResponseBodyType ¶
type CreateProductInStore503JSONResponseBodyType string
CreateProductInStore503JSONResponseBodyType defines parameters for CreateProductInStore.
const (
CreateProductInStore503JSONResponseBodyTypeServerError CreateProductInStore503JSONResponseBodyType = "server_error"
)
Defines values for CreateProductInStore503JSONResponseBodyType.
func (CreateProductInStore503JSONResponseBodyType) Valid ¶
func (e CreateProductInStore503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProductInStore503JSONResponseBodyType enum.
type CreateProductInStoreJSONBody ¶
type CreateProductInStoreJSONBody struct {
// StoreInformation Store-specific information for creating the product in the store
StoreInformation *CreateProductInStoreJSONBody_StoreInformation `json:"store_information,omitempty"`
}
CreateProductInStoreJSONBody defines parameters for CreateProductInStore.
type CreateProductInStoreJSONBody_StoreInformation ¶
type CreateProductInStoreJSONBody_StoreInformation struct {
// contains filtered or unexported fields
}
CreateProductInStoreJSONBody_StoreInformation defines parameters for CreateProductInStore.
func (CreateProductInStoreJSONBody_StoreInformation) AsCreateAppStoreConnectInAppPurchaseInput ¶
func (t CreateProductInStoreJSONBody_StoreInformation) AsCreateAppStoreConnectInAppPurchaseInput() (CreateAppStoreConnectInAppPurchaseInput, error)
AsCreateAppStoreConnectInAppPurchaseInput returns the union data inside the CreateProductInStoreJSONBody_StoreInformation as a CreateAppStoreConnectInAppPurchaseInput
func (CreateProductInStoreJSONBody_StoreInformation) AsCreateAppStoreConnectSubscriptionInput ¶
func (t CreateProductInStoreJSONBody_StoreInformation) AsCreateAppStoreConnectSubscriptionInput() (CreateAppStoreConnectSubscriptionInput, error)
AsCreateAppStoreConnectSubscriptionInput returns the union data inside the CreateProductInStoreJSONBody_StoreInformation as a CreateAppStoreConnectSubscriptionInput
func (*CreateProductInStoreJSONBody_StoreInformation) FromCreateAppStoreConnectInAppPurchaseInput ¶
func (t *CreateProductInStoreJSONBody_StoreInformation) FromCreateAppStoreConnectInAppPurchaseInput(v CreateAppStoreConnectInAppPurchaseInput) error
FromCreateAppStoreConnectInAppPurchaseInput overwrites any union data inside the CreateProductInStoreJSONBody_StoreInformation as the provided CreateAppStoreConnectInAppPurchaseInput
func (*CreateProductInStoreJSONBody_StoreInformation) FromCreateAppStoreConnectSubscriptionInput ¶
func (t *CreateProductInStoreJSONBody_StoreInformation) FromCreateAppStoreConnectSubscriptionInput(v CreateAppStoreConnectSubscriptionInput) error
FromCreateAppStoreConnectSubscriptionInput overwrites any union data inside the CreateProductInStoreJSONBody_StoreInformation as the provided CreateAppStoreConnectSubscriptionInput
func (CreateProductInStoreJSONBody_StoreInformation) MarshalJSON ¶
func (t CreateProductInStoreJSONBody_StoreInformation) MarshalJSON() ([]byte, error)
func (*CreateProductInStoreJSONBody_StoreInformation) MergeCreateAppStoreConnectInAppPurchaseInput ¶
func (t *CreateProductInStoreJSONBody_StoreInformation) MergeCreateAppStoreConnectInAppPurchaseInput(v CreateAppStoreConnectInAppPurchaseInput) error
MergeCreateAppStoreConnectInAppPurchaseInput performs a merge with any union data inside the CreateProductInStoreJSONBody_StoreInformation, using the provided CreateAppStoreConnectInAppPurchaseInput
func (*CreateProductInStoreJSONBody_StoreInformation) MergeCreateAppStoreConnectSubscriptionInput ¶
func (t *CreateProductInStoreJSONBody_StoreInformation) MergeCreateAppStoreConnectSubscriptionInput(v CreateAppStoreConnectSubscriptionInput) error
MergeCreateAppStoreConnectSubscriptionInput performs a merge with any union data inside the CreateProductInStoreJSONBody_StoreInformation, using the provided CreateAppStoreConnectSubscriptionInput
func (*CreateProductInStoreJSONBody_StoreInformation) UnmarshalJSON ¶
func (t *CreateProductInStoreJSONBody_StoreInformation) UnmarshalJSON(b []byte) error
type CreateProductInStoreJSONRequestBody ¶
type CreateProductInStoreJSONRequestBody CreateProductInStoreJSONBody
CreateProductInStoreJSONRequestBody defines body for CreateProductInStore for application/json ContentType.
type CreateProductJSONBody ¶
type CreateProductJSONBody struct {
// AppID The ID of the app
//
// Example: app1a2b3c4
AppID string `json:"app_id"`
// DisplayName The display name of the product
//
// Example: Premium Monthly 2023
DisplayName *string `json:"display_name,omitempty"`
// StoreIdentifier The store identifier of the product.
// - For Apple App Store products this is the product ID of the subscription or in-app product.
// - For Google's Play Store, it should follow the format 'productId:basePlanId' for subscription products and SKU for one-time purchase products.
// - For Stripe, the product identifier that always starts with "prod_"
// - For Amazon, if it's a subscription, the term SKU of the subscription. If it's a one-time purchase, the SKU of the product.
// - For Roku, this is the product identifier of the subscription or one-time purchase product.
//
//
// Example: com.revenuecat.magicweather.monthly
StoreIdentifier string `json:"store_identifier"`
// Subscription Subscription parameters for product creation. Only supported for simulated store products.
Subscription *ProductSubscriptionInput `json:"subscription,omitempty"`
// Title The user-facing title of the product. This field is required for Test Store products.
//
// Example: Premium Monthly 2023
Title *string `json:"title,omitempty"`
Type ProductType `json:"type"`
}
CreateProductJSONBody defines parameters for CreateProduct.
type CreateProductJSONRequestBody ¶
type CreateProductJSONRequestBody CreateProductJSONBody
CreateProductJSONRequestBody defines body for CreateProduct for application/json ContentType.
type CreateProject400JSONResponseBodyObject ¶
type CreateProject400JSONResponseBodyObject string
CreateProject400JSONResponseBodyObject defines parameters for CreateProject.
const (
CreateProject400JSONResponseBodyObjectError CreateProject400JSONResponseBodyObject = "error"
)
Defines values for CreateProject400JSONResponseBodyObject.
func (CreateProject400JSONResponseBodyObject) Valid ¶
func (e CreateProject400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProject400JSONResponseBodyObject enum.
type CreateProject400JSONResponseBodyType ¶
type CreateProject400JSONResponseBodyType string
CreateProject400JSONResponseBodyType defines parameters for CreateProject.
const ( CreateProject400JSONResponseBodyTypeInvalidRequest CreateProject400JSONResponseBodyType = "invalid_request" CreateProject400JSONResponseBodyTypeParameterError CreateProject400JSONResponseBodyType = "parameter_error" )
Defines values for CreateProject400JSONResponseBodyType.
func (CreateProject400JSONResponseBodyType) Valid ¶
func (e CreateProject400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProject400JSONResponseBodyType enum.
type CreateProject401JSONResponseBodyObject ¶
type CreateProject401JSONResponseBodyObject string
CreateProject401JSONResponseBodyObject defines parameters for CreateProject.
const (
CreateProject401JSONResponseBodyObjectError CreateProject401JSONResponseBodyObject = "error"
)
Defines values for CreateProject401JSONResponseBodyObject.
func (CreateProject401JSONResponseBodyObject) Valid ¶
func (e CreateProject401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProject401JSONResponseBodyObject enum.
type CreateProject401JSONResponseBodyType ¶
type CreateProject401JSONResponseBodyType string
CreateProject401JSONResponseBodyType defines parameters for CreateProject.
const (
CreateProject401JSONResponseBodyTypeAuthenticationError CreateProject401JSONResponseBodyType = "authentication_error"
)
Defines values for CreateProject401JSONResponseBodyType.
func (CreateProject401JSONResponseBodyType) Valid ¶
func (e CreateProject401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProject401JSONResponseBodyType enum.
type CreateProject403JSONResponseBodyObject ¶
type CreateProject403JSONResponseBodyObject string
CreateProject403JSONResponseBodyObject defines parameters for CreateProject.
const (
CreateProject403JSONResponseBodyObjectError CreateProject403JSONResponseBodyObject = "error"
)
Defines values for CreateProject403JSONResponseBodyObject.
func (CreateProject403JSONResponseBodyObject) Valid ¶
func (e CreateProject403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProject403JSONResponseBodyObject enum.
type CreateProject403JSONResponseBodyType ¶
type CreateProject403JSONResponseBodyType string
CreateProject403JSONResponseBodyType defines parameters for CreateProject.
const (
CreateProject403JSONResponseBodyTypeAuthorizationError CreateProject403JSONResponseBodyType = "authorization_error"
)
Defines values for CreateProject403JSONResponseBodyType.
func (CreateProject403JSONResponseBodyType) Valid ¶
func (e CreateProject403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProject403JSONResponseBodyType enum.
type CreateProject404JSONResponseBodyObject ¶
type CreateProject404JSONResponseBodyObject string
CreateProject404JSONResponseBodyObject defines parameters for CreateProject.
const (
CreateProject404JSONResponseBodyObjectError CreateProject404JSONResponseBodyObject = "error"
)
Defines values for CreateProject404JSONResponseBodyObject.
func (CreateProject404JSONResponseBodyObject) Valid ¶
func (e CreateProject404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProject404JSONResponseBodyObject enum.
type CreateProject404JSONResponseBodyType ¶
type CreateProject404JSONResponseBodyType string
CreateProject404JSONResponseBodyType defines parameters for CreateProject.
const (
CreateProject404JSONResponseBodyTypeResourceMissing CreateProject404JSONResponseBodyType = "resource_missing"
)
Defines values for CreateProject404JSONResponseBodyType.
func (CreateProject404JSONResponseBodyType) Valid ¶
func (e CreateProject404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProject404JSONResponseBodyType enum.
type CreateProject409JSONResponseBodyObject ¶
type CreateProject409JSONResponseBodyObject string
CreateProject409JSONResponseBodyObject defines parameters for CreateProject.
const (
CreateProject409JSONResponseBodyObjectError CreateProject409JSONResponseBodyObject = "error"
)
Defines values for CreateProject409JSONResponseBodyObject.
func (CreateProject409JSONResponseBodyObject) Valid ¶
func (e CreateProject409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProject409JSONResponseBodyObject enum.
type CreateProject409JSONResponseBodyType ¶
type CreateProject409JSONResponseBodyType string
CreateProject409JSONResponseBodyType defines parameters for CreateProject.
const ( CreateProject409JSONResponseBodyTypeIdempotencyError CreateProject409JSONResponseBodyType = "idempotency_error" CreateProject409JSONResponseBodyTypeInvalidRequest CreateProject409JSONResponseBodyType = "invalid_request" CreateProject409JSONResponseBodyTypeResourceAlreadyExists CreateProject409JSONResponseBodyType = "resource_already_exists" )
Defines values for CreateProject409JSONResponseBodyType.
func (CreateProject409JSONResponseBodyType) Valid ¶
func (e CreateProject409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProject409JSONResponseBodyType enum.
type CreateProject422JSONResponseBodyObject ¶
type CreateProject422JSONResponseBodyObject string
CreateProject422JSONResponseBodyObject defines parameters for CreateProject.
const (
CreateProject422JSONResponseBodyObjectError CreateProject422JSONResponseBodyObject = "error"
)
Defines values for CreateProject422JSONResponseBodyObject.
func (CreateProject422JSONResponseBodyObject) Valid ¶
func (e CreateProject422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProject422JSONResponseBodyObject enum.
type CreateProject422JSONResponseBodyType ¶
type CreateProject422JSONResponseBodyType string
CreateProject422JSONResponseBodyType defines parameters for CreateProject.
const ( CreateProject422JSONResponseBodyTypeEntityReferencesArchivedEntities CreateProject422JSONResponseBodyType = "entity_references_archived_entities" CreateProject422JSONResponseBodyTypeParameterError CreateProject422JSONResponseBodyType = "parameter_error" CreateProject422JSONResponseBodyTypeStoreError CreateProject422JSONResponseBodyType = "store_error" CreateProject422JSONResponseBodyTypeUnprocessableEntityError CreateProject422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CreateProject422JSONResponseBodyType.
func (CreateProject422JSONResponseBodyType) Valid ¶
func (e CreateProject422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProject422JSONResponseBodyType enum.
type CreateProject423JSONResponseBodyObject ¶
type CreateProject423JSONResponseBodyObject string
CreateProject423JSONResponseBodyObject defines parameters for CreateProject.
const (
CreateProject423JSONResponseBodyObjectError CreateProject423JSONResponseBodyObject = "error"
)
Defines values for CreateProject423JSONResponseBodyObject.
func (CreateProject423JSONResponseBodyObject) Valid ¶
func (e CreateProject423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProject423JSONResponseBodyObject enum.
type CreateProject423JSONResponseBodyType ¶
type CreateProject423JSONResponseBodyType string
CreateProject423JSONResponseBodyType defines parameters for CreateProject.
const (
CreateProject423JSONResponseBodyTypeResourceLockedError CreateProject423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CreateProject423JSONResponseBodyType.
func (CreateProject423JSONResponseBodyType) Valid ¶
func (e CreateProject423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProject423JSONResponseBodyType enum.
type CreateProject429JSONResponseBodyObject ¶
type CreateProject429JSONResponseBodyObject string
CreateProject429JSONResponseBodyObject defines parameters for CreateProject.
const (
CreateProject429JSONResponseBodyObjectError CreateProject429JSONResponseBodyObject = "error"
)
Defines values for CreateProject429JSONResponseBodyObject.
func (CreateProject429JSONResponseBodyObject) Valid ¶
func (e CreateProject429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProject429JSONResponseBodyObject enum.
type CreateProject429JSONResponseBodyType ¶
type CreateProject429JSONResponseBodyType string
CreateProject429JSONResponseBodyType defines parameters for CreateProject.
const (
CreateProject429JSONResponseBodyTypeRateLimitError CreateProject429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CreateProject429JSONResponseBodyType.
func (CreateProject429JSONResponseBodyType) Valid ¶
func (e CreateProject429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProject429JSONResponseBodyType enum.
type CreateProject500JSONResponseBodyObject ¶
type CreateProject500JSONResponseBodyObject string
CreateProject500JSONResponseBodyObject defines parameters for CreateProject.
const (
CreateProject500JSONResponseBodyObjectError CreateProject500JSONResponseBodyObject = "error"
)
Defines values for CreateProject500JSONResponseBodyObject.
func (CreateProject500JSONResponseBodyObject) Valid ¶
func (e CreateProject500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProject500JSONResponseBodyObject enum.
type CreateProject500JSONResponseBodyType ¶
type CreateProject500JSONResponseBodyType string
CreateProject500JSONResponseBodyType defines parameters for CreateProject.
const (
CreateProject500JSONResponseBodyTypeServerError CreateProject500JSONResponseBodyType = "server_error"
)
Defines values for CreateProject500JSONResponseBodyType.
func (CreateProject500JSONResponseBodyType) Valid ¶
func (e CreateProject500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProject500JSONResponseBodyType enum.
type CreateProject503JSONResponseBodyObject ¶
type CreateProject503JSONResponseBodyObject string
CreateProject503JSONResponseBodyObject defines parameters for CreateProject.
const (
CreateProject503JSONResponseBodyObjectError CreateProject503JSONResponseBodyObject = "error"
)
Defines values for CreateProject503JSONResponseBodyObject.
func (CreateProject503JSONResponseBodyObject) Valid ¶
func (e CreateProject503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateProject503JSONResponseBodyObject enum.
type CreateProject503JSONResponseBodyType ¶
type CreateProject503JSONResponseBodyType string
CreateProject503JSONResponseBodyType defines parameters for CreateProject.
const (
CreateProject503JSONResponseBodyTypeServerError CreateProject503JSONResponseBodyType = "server_error"
)
Defines values for CreateProject503JSONResponseBodyType.
func (CreateProject503JSONResponseBodyType) Valid ¶
func (e CreateProject503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateProject503JSONResponseBodyType enum.
type CreateProjectJSONRequestBody ¶
type CreateProjectJSONRequestBody = ProjectCreate
CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.
type CreateVirtualCurrenciesTransaction400JSONResponseBodyObject ¶
type CreateVirtualCurrenciesTransaction400JSONResponseBodyObject string
CreateVirtualCurrenciesTransaction400JSONResponseBodyObject defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction400JSONResponseBodyObjectError CreateVirtualCurrenciesTransaction400JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrenciesTransaction400JSONResponseBodyObject.
func (CreateVirtualCurrenciesTransaction400JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrenciesTransaction400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction400JSONResponseBodyObject enum.
type CreateVirtualCurrenciesTransaction400JSONResponseBodyType ¶
type CreateVirtualCurrenciesTransaction400JSONResponseBodyType string
CreateVirtualCurrenciesTransaction400JSONResponseBodyType defines parameters for CreateVirtualCurrenciesTransaction.
const ( CreateVirtualCurrenciesTransaction400JSONResponseBodyTypeInvalidRequest CreateVirtualCurrenciesTransaction400JSONResponseBodyType = "invalid_request" CreateVirtualCurrenciesTransaction400JSONResponseBodyTypeParameterError CreateVirtualCurrenciesTransaction400JSONResponseBodyType = "parameter_error" )
Defines values for CreateVirtualCurrenciesTransaction400JSONResponseBodyType.
func (CreateVirtualCurrenciesTransaction400JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrenciesTransaction400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction400JSONResponseBodyType enum.
type CreateVirtualCurrenciesTransaction401JSONResponseBodyObject ¶
type CreateVirtualCurrenciesTransaction401JSONResponseBodyObject string
CreateVirtualCurrenciesTransaction401JSONResponseBodyObject defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction401JSONResponseBodyObjectError CreateVirtualCurrenciesTransaction401JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrenciesTransaction401JSONResponseBodyObject.
func (CreateVirtualCurrenciesTransaction401JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrenciesTransaction401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction401JSONResponseBodyObject enum.
type CreateVirtualCurrenciesTransaction401JSONResponseBodyType ¶
type CreateVirtualCurrenciesTransaction401JSONResponseBodyType string
CreateVirtualCurrenciesTransaction401JSONResponseBodyType defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction401JSONResponseBodyTypeAuthenticationError CreateVirtualCurrenciesTransaction401JSONResponseBodyType = "authentication_error"
)
Defines values for CreateVirtualCurrenciesTransaction401JSONResponseBodyType.
func (CreateVirtualCurrenciesTransaction401JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrenciesTransaction401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction401JSONResponseBodyType enum.
type CreateVirtualCurrenciesTransaction403JSONResponseBodyObject ¶
type CreateVirtualCurrenciesTransaction403JSONResponseBodyObject string
CreateVirtualCurrenciesTransaction403JSONResponseBodyObject defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction403JSONResponseBodyObjectError CreateVirtualCurrenciesTransaction403JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrenciesTransaction403JSONResponseBodyObject.
func (CreateVirtualCurrenciesTransaction403JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrenciesTransaction403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction403JSONResponseBodyObject enum.
type CreateVirtualCurrenciesTransaction403JSONResponseBodyType ¶
type CreateVirtualCurrenciesTransaction403JSONResponseBodyType string
CreateVirtualCurrenciesTransaction403JSONResponseBodyType defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction403JSONResponseBodyTypeAuthorizationError CreateVirtualCurrenciesTransaction403JSONResponseBodyType = "authorization_error"
)
Defines values for CreateVirtualCurrenciesTransaction403JSONResponseBodyType.
func (CreateVirtualCurrenciesTransaction403JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrenciesTransaction403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction403JSONResponseBodyType enum.
type CreateVirtualCurrenciesTransaction404JSONResponseBodyObject ¶
type CreateVirtualCurrenciesTransaction404JSONResponseBodyObject string
CreateVirtualCurrenciesTransaction404JSONResponseBodyObject defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction404JSONResponseBodyObjectError CreateVirtualCurrenciesTransaction404JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrenciesTransaction404JSONResponseBodyObject.
func (CreateVirtualCurrenciesTransaction404JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrenciesTransaction404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction404JSONResponseBodyObject enum.
type CreateVirtualCurrenciesTransaction404JSONResponseBodyType ¶
type CreateVirtualCurrenciesTransaction404JSONResponseBodyType string
CreateVirtualCurrenciesTransaction404JSONResponseBodyType defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction404JSONResponseBodyTypeResourceMissing CreateVirtualCurrenciesTransaction404JSONResponseBodyType = "resource_missing"
)
Defines values for CreateVirtualCurrenciesTransaction404JSONResponseBodyType.
func (CreateVirtualCurrenciesTransaction404JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrenciesTransaction404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction404JSONResponseBodyType enum.
type CreateVirtualCurrenciesTransaction409JSONResponseBodyObject ¶
type CreateVirtualCurrenciesTransaction409JSONResponseBodyObject string
CreateVirtualCurrenciesTransaction409JSONResponseBodyObject defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction409JSONResponseBodyObjectError CreateVirtualCurrenciesTransaction409JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrenciesTransaction409JSONResponseBodyObject.
func (CreateVirtualCurrenciesTransaction409JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrenciesTransaction409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction409JSONResponseBodyObject enum.
type CreateVirtualCurrenciesTransaction409JSONResponseBodyType ¶
type CreateVirtualCurrenciesTransaction409JSONResponseBodyType string
CreateVirtualCurrenciesTransaction409JSONResponseBodyType defines parameters for CreateVirtualCurrenciesTransaction.
const ( CreateVirtualCurrenciesTransaction409JSONResponseBodyTypeIdempotencyError CreateVirtualCurrenciesTransaction409JSONResponseBodyType = "idempotency_error" CreateVirtualCurrenciesTransaction409JSONResponseBodyTypeInvalidRequest CreateVirtualCurrenciesTransaction409JSONResponseBodyType = "invalid_request" CreateVirtualCurrenciesTransaction409JSONResponseBodyTypeResourceAlreadyExists CreateVirtualCurrenciesTransaction409JSONResponseBodyType = "resource_already_exists" )
Defines values for CreateVirtualCurrenciesTransaction409JSONResponseBodyType.
func (CreateVirtualCurrenciesTransaction409JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrenciesTransaction409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction409JSONResponseBodyType enum.
type CreateVirtualCurrenciesTransaction422JSONResponseBodyObject ¶
type CreateVirtualCurrenciesTransaction422JSONResponseBodyObject string
CreateVirtualCurrenciesTransaction422JSONResponseBodyObject defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction422JSONResponseBodyObjectError CreateVirtualCurrenciesTransaction422JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrenciesTransaction422JSONResponseBodyObject.
func (CreateVirtualCurrenciesTransaction422JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrenciesTransaction422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction422JSONResponseBodyObject enum.
type CreateVirtualCurrenciesTransaction422JSONResponseBodyType ¶
type CreateVirtualCurrenciesTransaction422JSONResponseBodyType string
CreateVirtualCurrenciesTransaction422JSONResponseBodyType defines parameters for CreateVirtualCurrenciesTransaction.
const ( CreateVirtualCurrenciesTransaction422JSONResponseBodyTypeEntityReferencesArchivedEntities CreateVirtualCurrenciesTransaction422JSONResponseBodyType = "entity_references_archived_entities" CreateVirtualCurrenciesTransaction422JSONResponseBodyTypeParameterError CreateVirtualCurrenciesTransaction422JSONResponseBodyType = "parameter_error" CreateVirtualCurrenciesTransaction422JSONResponseBodyTypeStoreError CreateVirtualCurrenciesTransaction422JSONResponseBodyType = "store_error" CreateVirtualCurrenciesTransaction422JSONResponseBodyTypeUnprocessableEntityError CreateVirtualCurrenciesTransaction422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CreateVirtualCurrenciesTransaction422JSONResponseBodyType.
func (CreateVirtualCurrenciesTransaction422JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrenciesTransaction422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction422JSONResponseBodyType enum.
type CreateVirtualCurrenciesTransaction423JSONResponseBodyObject ¶
type CreateVirtualCurrenciesTransaction423JSONResponseBodyObject string
CreateVirtualCurrenciesTransaction423JSONResponseBodyObject defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction423JSONResponseBodyObjectError CreateVirtualCurrenciesTransaction423JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrenciesTransaction423JSONResponseBodyObject.
func (CreateVirtualCurrenciesTransaction423JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrenciesTransaction423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction423JSONResponseBodyObject enum.
type CreateVirtualCurrenciesTransaction423JSONResponseBodyType ¶
type CreateVirtualCurrenciesTransaction423JSONResponseBodyType string
CreateVirtualCurrenciesTransaction423JSONResponseBodyType defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction423JSONResponseBodyTypeResourceLockedError CreateVirtualCurrenciesTransaction423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CreateVirtualCurrenciesTransaction423JSONResponseBodyType.
func (CreateVirtualCurrenciesTransaction423JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrenciesTransaction423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction423JSONResponseBodyType enum.
type CreateVirtualCurrenciesTransaction429JSONResponseBodyObject ¶
type CreateVirtualCurrenciesTransaction429JSONResponseBodyObject string
CreateVirtualCurrenciesTransaction429JSONResponseBodyObject defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction429JSONResponseBodyObjectError CreateVirtualCurrenciesTransaction429JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrenciesTransaction429JSONResponseBodyObject.
func (CreateVirtualCurrenciesTransaction429JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrenciesTransaction429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction429JSONResponseBodyObject enum.
type CreateVirtualCurrenciesTransaction429JSONResponseBodyType ¶
type CreateVirtualCurrenciesTransaction429JSONResponseBodyType string
CreateVirtualCurrenciesTransaction429JSONResponseBodyType defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction429JSONResponseBodyTypeRateLimitError CreateVirtualCurrenciesTransaction429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CreateVirtualCurrenciesTransaction429JSONResponseBodyType.
func (CreateVirtualCurrenciesTransaction429JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrenciesTransaction429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction429JSONResponseBodyType enum.
type CreateVirtualCurrenciesTransaction500JSONResponseBodyObject ¶
type CreateVirtualCurrenciesTransaction500JSONResponseBodyObject string
CreateVirtualCurrenciesTransaction500JSONResponseBodyObject defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction500JSONResponseBodyObjectError CreateVirtualCurrenciesTransaction500JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrenciesTransaction500JSONResponseBodyObject.
func (CreateVirtualCurrenciesTransaction500JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrenciesTransaction500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction500JSONResponseBodyObject enum.
type CreateVirtualCurrenciesTransaction500JSONResponseBodyType ¶
type CreateVirtualCurrenciesTransaction500JSONResponseBodyType string
CreateVirtualCurrenciesTransaction500JSONResponseBodyType defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction500JSONResponseBodyTypeServerError CreateVirtualCurrenciesTransaction500JSONResponseBodyType = "server_error"
)
Defines values for CreateVirtualCurrenciesTransaction500JSONResponseBodyType.
func (CreateVirtualCurrenciesTransaction500JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrenciesTransaction500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction500JSONResponseBodyType enum.
type CreateVirtualCurrenciesTransaction503JSONResponseBodyObject ¶
type CreateVirtualCurrenciesTransaction503JSONResponseBodyObject string
CreateVirtualCurrenciesTransaction503JSONResponseBodyObject defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction503JSONResponseBodyObjectError CreateVirtualCurrenciesTransaction503JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrenciesTransaction503JSONResponseBodyObject.
func (CreateVirtualCurrenciesTransaction503JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrenciesTransaction503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction503JSONResponseBodyObject enum.
type CreateVirtualCurrenciesTransaction503JSONResponseBodyType ¶
type CreateVirtualCurrenciesTransaction503JSONResponseBodyType string
CreateVirtualCurrenciesTransaction503JSONResponseBodyType defines parameters for CreateVirtualCurrenciesTransaction.
const (
CreateVirtualCurrenciesTransaction503JSONResponseBodyTypeServerError CreateVirtualCurrenciesTransaction503JSONResponseBodyType = "server_error"
)
Defines values for CreateVirtualCurrenciesTransaction503JSONResponseBodyType.
func (CreateVirtualCurrenciesTransaction503JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrenciesTransaction503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrenciesTransaction503JSONResponseBodyType enum.
type CreateVirtualCurrenciesTransactionJSONBody ¶
type CreateVirtualCurrenciesTransactionJSONBody struct {
// Adjustments The adjustments to the virtual currencies
Adjustments map[string]int `json:"adjustments"`
// Reference The reference of the transaction
Reference *string `json:"reference,omitempty"`
}
CreateVirtualCurrenciesTransactionJSONBody defines parameters for CreateVirtualCurrenciesTransaction.
type CreateVirtualCurrenciesTransactionJSONRequestBody ¶
type CreateVirtualCurrenciesTransactionJSONRequestBody CreateVirtualCurrenciesTransactionJSONBody
CreateVirtualCurrenciesTransactionJSONRequestBody defines body for CreateVirtualCurrenciesTransaction for application/json ContentType.
type CreateVirtualCurrenciesTransactionParams ¶
type CreateVirtualCurrenciesTransactionParams struct {
// IncludeEmptyBalances Whether to include virtual currencies with a zero balance (default false).
IncludeEmptyBalances *bool `form:"include_empty_balances,omitempty" json:"include_empty_balances,omitempty"`
// IdempotencyKey This is an optional idempotency key to ensure exactly once execution of the request. Maximum length is 255 characters.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
CreateVirtualCurrenciesTransactionParams defines parameters for CreateVirtualCurrenciesTransaction.
type CreateVirtualCurrency400JSONResponseBodyObject ¶
type CreateVirtualCurrency400JSONResponseBodyObject string
CreateVirtualCurrency400JSONResponseBodyObject defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency400JSONResponseBodyObjectError CreateVirtualCurrency400JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrency400JSONResponseBodyObject.
func (CreateVirtualCurrency400JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrency400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency400JSONResponseBodyObject enum.
type CreateVirtualCurrency400JSONResponseBodyType ¶
type CreateVirtualCurrency400JSONResponseBodyType string
CreateVirtualCurrency400JSONResponseBodyType defines parameters for CreateVirtualCurrency.
const ( CreateVirtualCurrency400JSONResponseBodyTypeInvalidRequest CreateVirtualCurrency400JSONResponseBodyType = "invalid_request" CreateVirtualCurrency400JSONResponseBodyTypeParameterError CreateVirtualCurrency400JSONResponseBodyType = "parameter_error" )
Defines values for CreateVirtualCurrency400JSONResponseBodyType.
func (CreateVirtualCurrency400JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrency400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency400JSONResponseBodyType enum.
type CreateVirtualCurrency401JSONResponseBodyObject ¶
type CreateVirtualCurrency401JSONResponseBodyObject string
CreateVirtualCurrency401JSONResponseBodyObject defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency401JSONResponseBodyObjectError CreateVirtualCurrency401JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrency401JSONResponseBodyObject.
func (CreateVirtualCurrency401JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrency401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency401JSONResponseBodyObject enum.
type CreateVirtualCurrency401JSONResponseBodyType ¶
type CreateVirtualCurrency401JSONResponseBodyType string
CreateVirtualCurrency401JSONResponseBodyType defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency401JSONResponseBodyTypeAuthenticationError CreateVirtualCurrency401JSONResponseBodyType = "authentication_error"
)
Defines values for CreateVirtualCurrency401JSONResponseBodyType.
func (CreateVirtualCurrency401JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrency401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency401JSONResponseBodyType enum.
type CreateVirtualCurrency403JSONResponseBodyObject ¶
type CreateVirtualCurrency403JSONResponseBodyObject string
CreateVirtualCurrency403JSONResponseBodyObject defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency403JSONResponseBodyObjectError CreateVirtualCurrency403JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrency403JSONResponseBodyObject.
func (CreateVirtualCurrency403JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrency403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency403JSONResponseBodyObject enum.
type CreateVirtualCurrency403JSONResponseBodyType ¶
type CreateVirtualCurrency403JSONResponseBodyType string
CreateVirtualCurrency403JSONResponseBodyType defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency403JSONResponseBodyTypeAuthorizationError CreateVirtualCurrency403JSONResponseBodyType = "authorization_error"
)
Defines values for CreateVirtualCurrency403JSONResponseBodyType.
func (CreateVirtualCurrency403JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrency403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency403JSONResponseBodyType enum.
type CreateVirtualCurrency404JSONResponseBodyObject ¶
type CreateVirtualCurrency404JSONResponseBodyObject string
CreateVirtualCurrency404JSONResponseBodyObject defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency404JSONResponseBodyObjectError CreateVirtualCurrency404JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrency404JSONResponseBodyObject.
func (CreateVirtualCurrency404JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrency404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency404JSONResponseBodyObject enum.
type CreateVirtualCurrency404JSONResponseBodyType ¶
type CreateVirtualCurrency404JSONResponseBodyType string
CreateVirtualCurrency404JSONResponseBodyType defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency404JSONResponseBodyTypeResourceMissing CreateVirtualCurrency404JSONResponseBodyType = "resource_missing"
)
Defines values for CreateVirtualCurrency404JSONResponseBodyType.
func (CreateVirtualCurrency404JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrency404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency404JSONResponseBodyType enum.
type CreateVirtualCurrency409JSONResponseBodyObject ¶
type CreateVirtualCurrency409JSONResponseBodyObject string
CreateVirtualCurrency409JSONResponseBodyObject defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency409JSONResponseBodyObjectError CreateVirtualCurrency409JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrency409JSONResponseBodyObject.
func (CreateVirtualCurrency409JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrency409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency409JSONResponseBodyObject enum.
type CreateVirtualCurrency409JSONResponseBodyType ¶
type CreateVirtualCurrency409JSONResponseBodyType string
CreateVirtualCurrency409JSONResponseBodyType defines parameters for CreateVirtualCurrency.
const ( CreateVirtualCurrency409JSONResponseBodyTypeIdempotencyError CreateVirtualCurrency409JSONResponseBodyType = "idempotency_error" CreateVirtualCurrency409JSONResponseBodyTypeInvalidRequest CreateVirtualCurrency409JSONResponseBodyType = "invalid_request" CreateVirtualCurrency409JSONResponseBodyTypeResourceAlreadyExists CreateVirtualCurrency409JSONResponseBodyType = "resource_already_exists" )
Defines values for CreateVirtualCurrency409JSONResponseBodyType.
func (CreateVirtualCurrency409JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrency409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency409JSONResponseBodyType enum.
type CreateVirtualCurrency422JSONResponseBodyObject ¶
type CreateVirtualCurrency422JSONResponseBodyObject string
CreateVirtualCurrency422JSONResponseBodyObject defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency422JSONResponseBodyObjectError CreateVirtualCurrency422JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrency422JSONResponseBodyObject.
func (CreateVirtualCurrency422JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrency422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency422JSONResponseBodyObject enum.
type CreateVirtualCurrency422JSONResponseBodyType ¶
type CreateVirtualCurrency422JSONResponseBodyType string
CreateVirtualCurrency422JSONResponseBodyType defines parameters for CreateVirtualCurrency.
const ( CreateVirtualCurrency422JSONResponseBodyTypeEntityReferencesArchivedEntities CreateVirtualCurrency422JSONResponseBodyType = "entity_references_archived_entities" CreateVirtualCurrency422JSONResponseBodyTypeParameterError CreateVirtualCurrency422JSONResponseBodyType = "parameter_error" CreateVirtualCurrency422JSONResponseBodyTypeStoreError CreateVirtualCurrency422JSONResponseBodyType = "store_error" CreateVirtualCurrency422JSONResponseBodyTypeUnprocessableEntityError CreateVirtualCurrency422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CreateVirtualCurrency422JSONResponseBodyType.
func (CreateVirtualCurrency422JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrency422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency422JSONResponseBodyType enum.
type CreateVirtualCurrency423JSONResponseBodyObject ¶
type CreateVirtualCurrency423JSONResponseBodyObject string
CreateVirtualCurrency423JSONResponseBodyObject defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency423JSONResponseBodyObjectError CreateVirtualCurrency423JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrency423JSONResponseBodyObject.
func (CreateVirtualCurrency423JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrency423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency423JSONResponseBodyObject enum.
type CreateVirtualCurrency423JSONResponseBodyType ¶
type CreateVirtualCurrency423JSONResponseBodyType string
CreateVirtualCurrency423JSONResponseBodyType defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency423JSONResponseBodyTypeResourceLockedError CreateVirtualCurrency423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CreateVirtualCurrency423JSONResponseBodyType.
func (CreateVirtualCurrency423JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrency423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency423JSONResponseBodyType enum.
type CreateVirtualCurrency429JSONResponseBodyObject ¶
type CreateVirtualCurrency429JSONResponseBodyObject string
CreateVirtualCurrency429JSONResponseBodyObject defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency429JSONResponseBodyObjectError CreateVirtualCurrency429JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrency429JSONResponseBodyObject.
func (CreateVirtualCurrency429JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrency429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency429JSONResponseBodyObject enum.
type CreateVirtualCurrency429JSONResponseBodyType ¶
type CreateVirtualCurrency429JSONResponseBodyType string
CreateVirtualCurrency429JSONResponseBodyType defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency429JSONResponseBodyTypeRateLimitError CreateVirtualCurrency429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CreateVirtualCurrency429JSONResponseBodyType.
func (CreateVirtualCurrency429JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrency429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency429JSONResponseBodyType enum.
type CreateVirtualCurrency500JSONResponseBodyObject ¶
type CreateVirtualCurrency500JSONResponseBodyObject string
CreateVirtualCurrency500JSONResponseBodyObject defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency500JSONResponseBodyObjectError CreateVirtualCurrency500JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrency500JSONResponseBodyObject.
func (CreateVirtualCurrency500JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrency500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency500JSONResponseBodyObject enum.
type CreateVirtualCurrency500JSONResponseBodyType ¶
type CreateVirtualCurrency500JSONResponseBodyType string
CreateVirtualCurrency500JSONResponseBodyType defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency500JSONResponseBodyTypeServerError CreateVirtualCurrency500JSONResponseBodyType = "server_error"
)
Defines values for CreateVirtualCurrency500JSONResponseBodyType.
func (CreateVirtualCurrency500JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrency500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency500JSONResponseBodyType enum.
type CreateVirtualCurrency503JSONResponseBodyObject ¶
type CreateVirtualCurrency503JSONResponseBodyObject string
CreateVirtualCurrency503JSONResponseBodyObject defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency503JSONResponseBodyObjectError CreateVirtualCurrency503JSONResponseBodyObject = "error"
)
Defines values for CreateVirtualCurrency503JSONResponseBodyObject.
func (CreateVirtualCurrency503JSONResponseBodyObject) Valid ¶
func (e CreateVirtualCurrency503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency503JSONResponseBodyObject enum.
type CreateVirtualCurrency503JSONResponseBodyType ¶
type CreateVirtualCurrency503JSONResponseBodyType string
CreateVirtualCurrency503JSONResponseBodyType defines parameters for CreateVirtualCurrency.
const (
CreateVirtualCurrency503JSONResponseBodyTypeServerError CreateVirtualCurrency503JSONResponseBodyType = "server_error"
)
Defines values for CreateVirtualCurrency503JSONResponseBodyType.
func (CreateVirtualCurrency503JSONResponseBodyType) Valid ¶
func (e CreateVirtualCurrency503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateVirtualCurrency503JSONResponseBodyType enum.
type CreateVirtualCurrencyJSONBody ¶
type CreateVirtualCurrencyJSONBody struct {
// Code The unique code for this virtual currency
//
// Example: GLD
Code string `json:"code"`
// Description Description of the virtual currency
//
// Example: Gold currency used in the game
Description *string `json:"description,omitempty"`
// Name The display name of the virtual currency
//
// Example: Gold
Name string `json:"name"`
// ProductGrants Product grants that define how products grant this virtual currency
ProductGrants *[]VirtualCurrencyProductGrantInput `json:"product_grants,omitempty"`
}
CreateVirtualCurrencyJSONBody defines parameters for CreateVirtualCurrency.
type CreateVirtualCurrencyJSONRequestBody ¶
type CreateVirtualCurrencyJSONRequestBody CreateVirtualCurrencyJSONBody
CreateVirtualCurrencyJSONRequestBody defines body for CreateVirtualCurrency for application/json ContentType.
type CreateWebhookIntegration400JSONResponseBodyObject ¶
type CreateWebhookIntegration400JSONResponseBodyObject string
CreateWebhookIntegration400JSONResponseBodyObject defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration400JSONResponseBodyObjectError CreateWebhookIntegration400JSONResponseBodyObject = "error"
)
Defines values for CreateWebhookIntegration400JSONResponseBodyObject.
func (CreateWebhookIntegration400JSONResponseBodyObject) Valid ¶
func (e CreateWebhookIntegration400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration400JSONResponseBodyObject enum.
type CreateWebhookIntegration400JSONResponseBodyType ¶
type CreateWebhookIntegration400JSONResponseBodyType string
CreateWebhookIntegration400JSONResponseBodyType defines parameters for CreateWebhookIntegration.
const ( CreateWebhookIntegration400JSONResponseBodyTypeInvalidRequest CreateWebhookIntegration400JSONResponseBodyType = "invalid_request" CreateWebhookIntegration400JSONResponseBodyTypeParameterError CreateWebhookIntegration400JSONResponseBodyType = "parameter_error" )
Defines values for CreateWebhookIntegration400JSONResponseBodyType.
func (CreateWebhookIntegration400JSONResponseBodyType) Valid ¶
func (e CreateWebhookIntegration400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration400JSONResponseBodyType enum.
type CreateWebhookIntegration401JSONResponseBodyObject ¶
type CreateWebhookIntegration401JSONResponseBodyObject string
CreateWebhookIntegration401JSONResponseBodyObject defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration401JSONResponseBodyObjectError CreateWebhookIntegration401JSONResponseBodyObject = "error"
)
Defines values for CreateWebhookIntegration401JSONResponseBodyObject.
func (CreateWebhookIntegration401JSONResponseBodyObject) Valid ¶
func (e CreateWebhookIntegration401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration401JSONResponseBodyObject enum.
type CreateWebhookIntegration401JSONResponseBodyType ¶
type CreateWebhookIntegration401JSONResponseBodyType string
CreateWebhookIntegration401JSONResponseBodyType defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration401JSONResponseBodyTypeAuthenticationError CreateWebhookIntegration401JSONResponseBodyType = "authentication_error"
)
Defines values for CreateWebhookIntegration401JSONResponseBodyType.
func (CreateWebhookIntegration401JSONResponseBodyType) Valid ¶
func (e CreateWebhookIntegration401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration401JSONResponseBodyType enum.
type CreateWebhookIntegration403JSONResponseBodyObject ¶
type CreateWebhookIntegration403JSONResponseBodyObject string
CreateWebhookIntegration403JSONResponseBodyObject defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration403JSONResponseBodyObjectError CreateWebhookIntegration403JSONResponseBodyObject = "error"
)
Defines values for CreateWebhookIntegration403JSONResponseBodyObject.
func (CreateWebhookIntegration403JSONResponseBodyObject) Valid ¶
func (e CreateWebhookIntegration403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration403JSONResponseBodyObject enum.
type CreateWebhookIntegration403JSONResponseBodyType ¶
type CreateWebhookIntegration403JSONResponseBodyType string
CreateWebhookIntegration403JSONResponseBodyType defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration403JSONResponseBodyTypeAuthorizationError CreateWebhookIntegration403JSONResponseBodyType = "authorization_error"
)
Defines values for CreateWebhookIntegration403JSONResponseBodyType.
func (CreateWebhookIntegration403JSONResponseBodyType) Valid ¶
func (e CreateWebhookIntegration403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration403JSONResponseBodyType enum.
type CreateWebhookIntegration404JSONResponseBodyObject ¶
type CreateWebhookIntegration404JSONResponseBodyObject string
CreateWebhookIntegration404JSONResponseBodyObject defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration404JSONResponseBodyObjectError CreateWebhookIntegration404JSONResponseBodyObject = "error"
)
Defines values for CreateWebhookIntegration404JSONResponseBodyObject.
func (CreateWebhookIntegration404JSONResponseBodyObject) Valid ¶
func (e CreateWebhookIntegration404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration404JSONResponseBodyObject enum.
type CreateWebhookIntegration404JSONResponseBodyType ¶
type CreateWebhookIntegration404JSONResponseBodyType string
CreateWebhookIntegration404JSONResponseBodyType defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration404JSONResponseBodyTypeResourceMissing CreateWebhookIntegration404JSONResponseBodyType = "resource_missing"
)
Defines values for CreateWebhookIntegration404JSONResponseBodyType.
func (CreateWebhookIntegration404JSONResponseBodyType) Valid ¶
func (e CreateWebhookIntegration404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration404JSONResponseBodyType enum.
type CreateWebhookIntegration409JSONResponseBodyObject ¶
type CreateWebhookIntegration409JSONResponseBodyObject string
CreateWebhookIntegration409JSONResponseBodyObject defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration409JSONResponseBodyObjectError CreateWebhookIntegration409JSONResponseBodyObject = "error"
)
Defines values for CreateWebhookIntegration409JSONResponseBodyObject.
func (CreateWebhookIntegration409JSONResponseBodyObject) Valid ¶
func (e CreateWebhookIntegration409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration409JSONResponseBodyObject enum.
type CreateWebhookIntegration409JSONResponseBodyType ¶
type CreateWebhookIntegration409JSONResponseBodyType string
CreateWebhookIntegration409JSONResponseBodyType defines parameters for CreateWebhookIntegration.
const ( CreateWebhookIntegration409JSONResponseBodyTypeIdempotencyError CreateWebhookIntegration409JSONResponseBodyType = "idempotency_error" CreateWebhookIntegration409JSONResponseBodyTypeInvalidRequest CreateWebhookIntegration409JSONResponseBodyType = "invalid_request" CreateWebhookIntegration409JSONResponseBodyTypeResourceAlreadyExists CreateWebhookIntegration409JSONResponseBodyType = "resource_already_exists" )
Defines values for CreateWebhookIntegration409JSONResponseBodyType.
func (CreateWebhookIntegration409JSONResponseBodyType) Valid ¶
func (e CreateWebhookIntegration409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration409JSONResponseBodyType enum.
type CreateWebhookIntegration422JSONResponseBodyObject ¶
type CreateWebhookIntegration422JSONResponseBodyObject string
CreateWebhookIntegration422JSONResponseBodyObject defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration422JSONResponseBodyObjectError CreateWebhookIntegration422JSONResponseBodyObject = "error"
)
Defines values for CreateWebhookIntegration422JSONResponseBodyObject.
func (CreateWebhookIntegration422JSONResponseBodyObject) Valid ¶
func (e CreateWebhookIntegration422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration422JSONResponseBodyObject enum.
type CreateWebhookIntegration422JSONResponseBodyType ¶
type CreateWebhookIntegration422JSONResponseBodyType string
CreateWebhookIntegration422JSONResponseBodyType defines parameters for CreateWebhookIntegration.
const ( CreateWebhookIntegration422JSONResponseBodyTypeEntityReferencesArchivedEntities CreateWebhookIntegration422JSONResponseBodyType = "entity_references_archived_entities" CreateWebhookIntegration422JSONResponseBodyTypeParameterError CreateWebhookIntegration422JSONResponseBodyType = "parameter_error" CreateWebhookIntegration422JSONResponseBodyTypeStoreError CreateWebhookIntegration422JSONResponseBodyType = "store_error" CreateWebhookIntegration422JSONResponseBodyTypeUnprocessableEntityError CreateWebhookIntegration422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for CreateWebhookIntegration422JSONResponseBodyType.
func (CreateWebhookIntegration422JSONResponseBodyType) Valid ¶
func (e CreateWebhookIntegration422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration422JSONResponseBodyType enum.
type CreateWebhookIntegration423JSONResponseBodyObject ¶
type CreateWebhookIntegration423JSONResponseBodyObject string
CreateWebhookIntegration423JSONResponseBodyObject defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration423JSONResponseBodyObjectError CreateWebhookIntegration423JSONResponseBodyObject = "error"
)
Defines values for CreateWebhookIntegration423JSONResponseBodyObject.
func (CreateWebhookIntegration423JSONResponseBodyObject) Valid ¶
func (e CreateWebhookIntegration423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration423JSONResponseBodyObject enum.
type CreateWebhookIntegration423JSONResponseBodyType ¶
type CreateWebhookIntegration423JSONResponseBodyType string
CreateWebhookIntegration423JSONResponseBodyType defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration423JSONResponseBodyTypeResourceLockedError CreateWebhookIntegration423JSONResponseBodyType = "resource_locked_error"
)
Defines values for CreateWebhookIntegration423JSONResponseBodyType.
func (CreateWebhookIntegration423JSONResponseBodyType) Valid ¶
func (e CreateWebhookIntegration423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration423JSONResponseBodyType enum.
type CreateWebhookIntegration429JSONResponseBodyObject ¶
type CreateWebhookIntegration429JSONResponseBodyObject string
CreateWebhookIntegration429JSONResponseBodyObject defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration429JSONResponseBodyObjectError CreateWebhookIntegration429JSONResponseBodyObject = "error"
)
Defines values for CreateWebhookIntegration429JSONResponseBodyObject.
func (CreateWebhookIntegration429JSONResponseBodyObject) Valid ¶
func (e CreateWebhookIntegration429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration429JSONResponseBodyObject enum.
type CreateWebhookIntegration429JSONResponseBodyType ¶
type CreateWebhookIntegration429JSONResponseBodyType string
CreateWebhookIntegration429JSONResponseBodyType defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration429JSONResponseBodyTypeRateLimitError CreateWebhookIntegration429JSONResponseBodyType = "rate_limit_error"
)
Defines values for CreateWebhookIntegration429JSONResponseBodyType.
func (CreateWebhookIntegration429JSONResponseBodyType) Valid ¶
func (e CreateWebhookIntegration429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration429JSONResponseBodyType enum.
type CreateWebhookIntegration500JSONResponseBodyObject ¶
type CreateWebhookIntegration500JSONResponseBodyObject string
CreateWebhookIntegration500JSONResponseBodyObject defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration500JSONResponseBodyObjectError CreateWebhookIntegration500JSONResponseBodyObject = "error"
)
Defines values for CreateWebhookIntegration500JSONResponseBodyObject.
func (CreateWebhookIntegration500JSONResponseBodyObject) Valid ¶
func (e CreateWebhookIntegration500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration500JSONResponseBodyObject enum.
type CreateWebhookIntegration500JSONResponseBodyType ¶
type CreateWebhookIntegration500JSONResponseBodyType string
CreateWebhookIntegration500JSONResponseBodyType defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration500JSONResponseBodyTypeServerError CreateWebhookIntegration500JSONResponseBodyType = "server_error"
)
Defines values for CreateWebhookIntegration500JSONResponseBodyType.
func (CreateWebhookIntegration500JSONResponseBodyType) Valid ¶
func (e CreateWebhookIntegration500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration500JSONResponseBodyType enum.
type CreateWebhookIntegration503JSONResponseBodyObject ¶
type CreateWebhookIntegration503JSONResponseBodyObject string
CreateWebhookIntegration503JSONResponseBodyObject defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration503JSONResponseBodyObjectError CreateWebhookIntegration503JSONResponseBodyObject = "error"
)
Defines values for CreateWebhookIntegration503JSONResponseBodyObject.
func (CreateWebhookIntegration503JSONResponseBodyObject) Valid ¶
func (e CreateWebhookIntegration503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration503JSONResponseBodyObject enum.
type CreateWebhookIntegration503JSONResponseBodyType ¶
type CreateWebhookIntegration503JSONResponseBodyType string
CreateWebhookIntegration503JSONResponseBodyType defines parameters for CreateWebhookIntegration.
const (
CreateWebhookIntegration503JSONResponseBodyTypeServerError CreateWebhookIntegration503JSONResponseBodyType = "server_error"
)
Defines values for CreateWebhookIntegration503JSONResponseBodyType.
func (CreateWebhookIntegration503JSONResponseBodyType) Valid ¶
func (e CreateWebhookIntegration503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegration503JSONResponseBodyType enum.
type CreateWebhookIntegrationInput ¶
type CreateWebhookIntegrationInput struct {
// AppID The ID of the app the webhook integration is scoped to
//
// Example: app_1234567890abcdef
AppID *string `json:"app_id,omitempty"`
// AuthorizationHeader Optional authorization header that will be sent with webhook notifications
//
// Example: Bearer 123456
AuthorizationHeader *string `json:"authorization_header,omitempty"`
// Environment The environment the webhook integration is configured for
Environment *CreateWebhookIntegrationInputEnvironment `json:"environment,omitempty"`
// EventTypes Event types that will trigger the webhook
EventTypes *[]WebhookEventType `json:"event_types,omitempty"`
// Name The display name of the webhook integration
//
// Example: Customer updates webhook
Name string `json:"name"`
// URL The URL RevenueCat will send webhook notifications to
//
// Example: https://hooks.example.com/revenuecat
URL string `json:"url"`
}
CreateWebhookIntegrationInput defines model for CreateWebhookIntegrationInput.
type CreateWebhookIntegrationInputEnvironment ¶
type CreateWebhookIntegrationInputEnvironment string
CreateWebhookIntegrationInputEnvironment The environment the webhook integration is configured for
const ( CreateWebhookIntegrationInputEnvironmentLessThanNil CreateWebhookIntegrationInputEnvironment = "<nil>" CreateWebhookIntegrationInputEnvironmentProduction CreateWebhookIntegrationInputEnvironment = "production" CreateWebhookIntegrationInputEnvironmentSandbox CreateWebhookIntegrationInputEnvironment = "sandbox" )
Defines values for CreateWebhookIntegrationInputEnvironment.
func (CreateWebhookIntegrationInputEnvironment) Valid ¶
func (e CreateWebhookIntegrationInputEnvironment) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookIntegrationInputEnvironment enum.
type CreateWebhookIntegrationJSONRequestBody ¶
type CreateWebhookIntegrationJSONRequestBody = CreateWebhookIntegrationInput
CreateWebhookIntegrationJSONRequestBody defines body for CreateWebhookIntegration for application/json ContentType.
type Currency ¶
type Currency string
Currency ISO 4217 currency code
Example: USD
const ( CurrencyAED Currency = "AED" CurrencyAFN Currency = "AFN" CurrencyALL Currency = "ALL" CurrencyAMD Currency = "AMD" CurrencyANG Currency = "ANG" CurrencyAOA Currency = "AOA" CurrencyARS Currency = "ARS" CurrencyAUD Currency = "AUD" CurrencyAWG Currency = "AWG" CurrencyAZN Currency = "AZN" CurrencyBAM Currency = "BAM" CurrencyBBD Currency = "BBD" CurrencyBDT Currency = "BDT" CurrencyBGN Currency = "BGN" CurrencyBHD Currency = "BHD" CurrencyBIF Currency = "BIF" CurrencyBMD Currency = "BMD" CurrencyBND Currency = "BND" CurrencyBOB Currency = "BOB" CurrencyBRL Currency = "BRL" CurrencyBSD Currency = "BSD" CurrencyBTC Currency = "BTC" CurrencyBTN Currency = "BTN" CurrencyBWP Currency = "BWP" CurrencyBYN Currency = "BYN" CurrencyBZD Currency = "BZD" CurrencyCAD Currency = "CAD" CurrencyCDF Currency = "CDF" CurrencyCHF Currency = "CHF" CurrencyCLF Currency = "CLF" CurrencyCLP Currency = "CLP" CurrencyCNH Currency = "CNH" CurrencyCNY Currency = "CNY" CurrencyCOP Currency = "COP" CurrencyCRC Currency = "CRC" CurrencyCUC Currency = "CUC" CurrencyCUP Currency = "CUP" CurrencyCVE Currency = "CVE" CurrencyCZK Currency = "CZK" CurrencyDJF Currency = "DJF" CurrencyDKK Currency = "DKK" CurrencyDOP Currency = "DOP" CurrencyDZD Currency = "DZD" CurrencyEGP Currency = "EGP" CurrencyERN Currency = "ERN" CurrencyETB Currency = "ETB" CurrencyEUR Currency = "EUR" CurrencyFJD Currency = "FJD" CurrencyFKP Currency = "FKP" CurrencyGBP Currency = "GBP" CurrencyGEL Currency = "GEL" CurrencyGGP Currency = "GGP" CurrencyGHS Currency = "GHS" CurrencyGIP Currency = "GIP" CurrencyGMD Currency = "GMD" CurrencyGNF Currency = "GNF" CurrencyGTQ Currency = "GTQ" CurrencyGYD Currency = "GYD" CurrencyHKD Currency = "HKD" CurrencyHNL Currency = "HNL" CurrencyHRK Currency = "HRK" CurrencyHTG Currency = "HTG" CurrencyHUF Currency = "HUF" CurrencyIDR Currency = "IDR" CurrencyILS Currency = "ILS" CurrencyIMP Currency = "IMP" CurrencyINR Currency = "INR" CurrencyIQD Currency = "IQD" CurrencyIRR Currency = "IRR" CurrencyISK Currency = "ISK" CurrencyJEP Currency = "JEP" CurrencyJMD Currency = "JMD" CurrencyJOD Currency = "JOD" CurrencyJPY Currency = "JPY" CurrencyKES Currency = "KES" CurrencyKGS Currency = "KGS" CurrencyKHR Currency = "KHR" CurrencyKMF Currency = "KMF" CurrencyKPW Currency = "KPW" CurrencyKRW Currency = "KRW" CurrencyKWD Currency = "KWD" CurrencyKYD Currency = "KYD" CurrencyKZT Currency = "KZT" CurrencyLAK Currency = "LAK" CurrencyLBP Currency = "LBP" CurrencyLKR Currency = "LKR" CurrencyLRD Currency = "LRD" CurrencyLSL Currency = "LSL" CurrencyLYD Currency = "LYD" CurrencyMAD Currency = "MAD" CurrencyMDL Currency = "MDL" CurrencyMGA Currency = "MGA" CurrencyMKD Currency = "MKD" CurrencyMMK Currency = "MMK" CurrencyMNT Currency = "MNT" CurrencyMOP Currency = "MOP" CurrencyMRU Currency = "MRU" CurrencyMUR Currency = "MUR" CurrencyMVR Currency = "MVR" CurrencyMWK Currency = "MWK" CurrencyMXN Currency = "MXN" CurrencyMYR Currency = "MYR" CurrencyMZN Currency = "MZN" CurrencyNAD Currency = "NAD" CurrencyNGN Currency = "NGN" CurrencyNIO Currency = "NIO" CurrencyNOK Currency = "NOK" CurrencyNPR Currency = "NPR" CurrencyNZD Currency = "NZD" CurrencyOMR Currency = "OMR" CurrencyPAB Currency = "PAB" CurrencyPEN Currency = "PEN" CurrencyPGK Currency = "PGK" CurrencyPHP Currency = "PHP" CurrencyPKR Currency = "PKR" CurrencyPLN Currency = "PLN" CurrencyPYG Currency = "PYG" CurrencyQAR Currency = "QAR" CurrencyRON Currency = "RON" CurrencyRSD Currency = "RSD" CurrencyRUB Currency = "RUB" CurrencyRWF Currency = "RWF" CurrencySAR Currency = "SAR" CurrencySBD Currency = "SBD" CurrencySCR Currency = "SCR" CurrencySDG Currency = "SDG" CurrencySEK Currency = "SEK" CurrencySGD Currency = "SGD" CurrencySHP Currency = "SHP" CurrencySLL Currency = "SLL" CurrencySOS Currency = "SOS" CurrencySRD Currency = "SRD" CurrencySSP Currency = "SSP" CurrencySTD Currency = "STD" CurrencySTN Currency = "STN" CurrencySVC Currency = "SVC" CurrencySYP Currency = "SYP" CurrencySZL Currency = "SZL" CurrencyTHB Currency = "THB" CurrencyTJS Currency = "TJS" CurrencyTMT Currency = "TMT" CurrencyTND Currency = "TND" CurrencyTOP Currency = "TOP" CurrencyTRY Currency = "TRY" CurrencyTTD Currency = "TTD" CurrencyTWD Currency = "TWD" CurrencyTZS Currency = "TZS" CurrencyUAH Currency = "UAH" CurrencyUGX Currency = "UGX" CurrencyUSD Currency = "USD" CurrencyUYU Currency = "UYU" CurrencyUZS Currency = "UZS" CurrencyVEF Currency = "VEF" CurrencyVES Currency = "VES" CurrencyVND Currency = "VND" CurrencyVUV Currency = "VUV" CurrencyWST Currency = "WST" CurrencyXAF Currency = "XAF" CurrencyXAG Currency = "XAG" CurrencyXAU Currency = "XAU" CurrencyXCD Currency = "XCD" CurrencyXDR Currency = "XDR" CurrencyXOF Currency = "XOF" CurrencyXPD Currency = "XPD" CurrencyXPF Currency = "XPF" CurrencyXPT Currency = "XPT" CurrencyYER Currency = "YER" CurrencyZAR Currency = "ZAR" CurrencyZMW Currency = "ZMW" CurrencyZWL Currency = "ZWL" )
Defines values for Currency.
type Customer ¶
type Customer struct {
// ActiveEntitlements List of the entitlements currently active for the customer. This property is only available in the "Get a customer" endpoint.
ActiveEntitlements *ListCustomerActiveEntitlements `json:"active_entitlements,omitempty"`
// Attributes List of the attributes of the customer. This is an expandable property, only available in the "Get a customer" endpoint.
Attributes *ListCustomerAttributes `json:"attributes,omitempty"`
Experiment *ExperimentEnrollment `json:"experiment,omitempty"`
// FirstSeenAt The earliest date we have for this customer, whichever comes first: when the SDK first saw them, their first purchase, the App Store install date, or when the record was created. Matches the 'First seen or purchased' date shown in the dashboard.
//
// Example: 1658399423658
FirstSeenAt int64 `json:"first_seen_at"`
// ID Example: 19b8de26-77c1-49f1-aa18-019a391603e2
ID string `json:"id"`
// LastSeenAppVersion The last app version the customer was seen on
//
// Example: 1.0.0
LastSeenAppVersion *string `json:"last_seen_app_version"`
// LastSeenAt The last time the customer was seen
//
// Example: 1658399423658
LastSeenAt *int64 `json:"last_seen_at"`
// LastSeenCountry The last country the customer was seen in
//
// Example: US
LastSeenCountry *string `json:"last_seen_country"`
// LastSeenPlatform The last platform the customer was seen on
//
// Example: android
LastSeenPlatform *string `json:"last_seen_platform"`
// LastSeenPlatformVersion The last platform version the customer was seen on
//
// Example: 35
LastSeenPlatformVersion *string `json:"last_seen_platform_version"`
// Object String representing the object's type. Objects of the same type share the same value.
Object CustomerObject `json:"object"`
// ProjectID ID of the project to which the customer belongs
//
// Example: proj1ab2c3d4
ProjectID string `json:"project_id"`
}
Customer defines model for Customer.
type CustomerAlias ¶
type CustomerAlias struct {
// CreatedAt The time when the alias was created
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// ID Example: 19b8de26-77c1-49f1-aa18-019a391603e2
ID string `json:"id"`
// Object String representing the object's type. Objects of the same type share the same value.
Object CustomerAliasObject `json:"object"`
}
CustomerAlias defines model for CustomerAlias.
type CustomerAliasObject ¶
type CustomerAliasObject string
CustomerAliasObject String representing the object's type. Objects of the same type share the same value.
const (
CustomerAliasObjectCustomerAlias CustomerAliasObject = "customer.alias"
)
Defines values for CustomerAliasObject.
func (CustomerAliasObject) Valid ¶
func (e CustomerAliasObject) Valid() bool
Valid indicates whether the value is a known member of the CustomerAliasObject enum.
type CustomerAttribute ¶
type CustomerAttribute struct {
// Name The name of the attribute. Reserved attributes are prefixed with a `$`.
//
// Example: $email
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object CustomerAttributeObject `json:"object"`
// UpdatedAt The time when the attribute was last updated.
//
// Example: 1658399423658
UpdatedAt int64 `json:"updated_at"`
// Value The value of the attribute.
//
// Example: garfield@revenuecat.com
Value *string `json:"value"`
}
CustomerAttribute defines model for CustomerAttribute.
type CustomerAttributeCustomName ¶
type CustomerAttributeCustomName = string
CustomerAttributeCustomName Example: opt_into_marketing
type CustomerAttributeObject ¶
type CustomerAttributeObject string
CustomerAttributeObject String representing the object's type. Objects of the same type share the same value.
const (
CustomerAttributeObjectCustomerAttribute CustomerAttributeObject = "customer.attribute"
)
Defines values for CustomerAttributeObject.
func (CustomerAttributeObject) Valid ¶
func (e CustomerAttributeObject) Valid() bool
Valid indicates whether the value is a known member of the CustomerAttributeObject enum.
type CustomerAttributeReservedName ¶
type CustomerAttributeReservedName string
CustomerAttributeReservedName Example: $email
const ( Ad CustomerAttributeReservedName = "$ad" AdGroup CustomerAttributeReservedName = "$adGroup" AdjustID CustomerAttributeReservedName = "$adjustId" AirbridgeDeviceID CustomerAttributeReservedName = "$airbridgeDeviceId" AirshipChannelID CustomerAttributeReservedName = "$airshipChannelId" AmazonAdID CustomerAttributeReservedName = "$amazonAdId" AmplitudeDeviceID CustomerAttributeReservedName = "$amplitudeDeviceId" AmplitudeUserID CustomerAttributeReservedName = "$amplitudeUserId" AndroidID CustomerAttributeReservedName = "$androidId" ApnsTokens CustomerAttributeReservedName = "$apnsTokens" AppleAdsAdGroupID CustomerAttributeReservedName = "$appleAdsAdGroupId" AppleAdsAdID CustomerAttributeReservedName = "$appleAdsAdId" AppleAdsCampaignID CustomerAttributeReservedName = "$appleAdsCampaignId" AppleAdsCountryOrRegion CustomerAttributeReservedName = "$appleAdsCountryOrRegion" AppleAdsKeywordID CustomerAttributeReservedName = "$appleAdsKeywordId" AppleAdsOrgID CustomerAttributeReservedName = "$appleAdsOrgId" AppleRefundHandlingPreference CustomerAttributeReservedName = "$appleRefundHandlingPreference" AppsflyerID CustomerAttributeReservedName = "$appsflyerId" AppsflyerSharingFilter CustomerAttributeReservedName = "$appsflyerSharingFilter" AppstackID CustomerAttributeReservedName = "$appstackId" AttConsentStatus CustomerAttributeReservedName = "$attConsentStatus" BranchID CustomerAttributeReservedName = "$branchId" BrazeAliasLabel CustomerAttributeReservedName = "$brazeAliasLabel" BrazeAliasName CustomerAttributeReservedName = "$brazeAliasName" Campaign CustomerAttributeReservedName = "$campaign" ClaimType CustomerAttributeReservedName = "$claimType" ClevertapID CustomerAttributeReservedName = "$clevertapId" ConversionType CustomerAttributeReservedName = "$conversionType" Creative CustomerAttributeReservedName = "$creative" CustomerioID CustomerAttributeReservedName = "$customerioId" DeviceVersion CustomerAttributeReservedName = "$deviceVersion" DisplayName CustomerAttributeReservedName = "$displayName" Email CustomerAttributeReservedName = "$email" FbAnonID CustomerAttributeReservedName = "$fbAnonId" Fbc CustomerAttributeReservedName = "$fbc" Fbp CustomerAttributeReservedName = "$fbp" FcmTokens CustomerAttributeReservedName = "$fcmTokens" FirebaseAppInstanceID CustomerAttributeReservedName = "$firebaseAppInstanceId" GpsAdID CustomerAttributeReservedName = "$gpsAdId" IP CustomerAttributeReservedName = "$ip" Idfa CustomerAttributeReservedName = "$idfa" Idfv CustomerAttributeReservedName = "$idfv" IntercomContactID CustomerAttributeReservedName = "$intercomContactId" IterableCampaignID CustomerAttributeReservedName = "$iterableCampaignId" IterableTemplateID CustomerAttributeReservedName = "$iterableTemplateId" IterableUserID CustomerAttributeReservedName = "$iterableUserId" Keyword CustomerAttributeReservedName = "$keyword" KochavaDeviceID CustomerAttributeReservedName = "$kochavaDeviceId" MediaSource CustomerAttributeReservedName = "$mediaSource" MixpanelDistinctID CustomerAttributeReservedName = "$mixpanelDistinctId" MparticleID CustomerAttributeReservedName = "$mparticleId" OnesignalID CustomerAttributeReservedName = "$onesignalId" OnesignalUserID CustomerAttributeReservedName = "$onesignalUserId" PageURL CustomerAttributeReservedName = "$pageUrl" PhoneNumber CustomerAttributeReservedName = "$phoneNumber" PosthogUserID CustomerAttributeReservedName = "$posthogUserId" SegmentID CustomerAttributeReservedName = "$segmentId" SolarEngineAccountID CustomerAttributeReservedName = "$solarEngineAccountId" SolarEngineDistinctID CustomerAttributeReservedName = "$solarEngineDistinctId" SolarEngineVisitorID CustomerAttributeReservedName = "$solarEngineVisitorId" SupplyPlacement CustomerAttributeReservedName = "$supplyPlacement" TelemetryDeckAppID CustomerAttributeReservedName = "$telemetryDeckAppId" TelemetryDeckAppID1 CustomerAttributeReservedName = "telemetry_deck_app_id" TelemetryDeckUserID CustomerAttributeReservedName = "$telemetryDeckUserId" TelemetryDeckUserID1 CustomerAttributeReservedName = "telemetry_deck_user_id" TenjinID CustomerAttributeReservedName = "$tenjinId" UserAgent CustomerAttributeReservedName = "$userAgent" )
Defines values for CustomerAttributeReservedName.
func (CustomerAttributeReservedName) Valid ¶
func (e CustomerAttributeReservedName) Valid() bool
Valid indicates whether the value is a known member of the CustomerAttributeReservedName enum.
type CustomerCenterConfig ¶
type CustomerCenterConfig struct {
// CustomerCenter The Customer Center configuration. When no platform is specified, contains the full configuration for all platforms and locales. When a platform is specified, contains the processed configuration for that platform and locale.
//
//
// Example: {}
CustomerCenter map[string]interface{} `json:"customer_center"`
// Object String representing the object's type. Objects of the same type share the same value.
//
// Example: customer_center_config
Object CustomerCenterConfigObject `json:"object"`
}
CustomerCenterConfig defines model for CustomerCenterConfig.
type CustomerCenterConfigObject ¶
type CustomerCenterConfigObject string
CustomerCenterConfigObject String representing the object's type. Objects of the same type share the same value.
Example: customer_center_config
const (
CustomerCenterConfigObjectCustomerCenterConfig CustomerCenterConfigObject = "customer_center_config"
)
Defines values for CustomerCenterConfigObject.
func (CustomerCenterConfigObject) Valid ¶
func (e CustomerCenterConfigObject) Valid() bool
Valid indicates whether the value is a known member of the CustomerCenterConfigObject enum.
type CustomerEntitlement ¶
type CustomerEntitlement struct {
// EntitlementID ID of the entitlement granted to the customer
//
// Example: entla1b2c3d4e5
EntitlementID string `json:"entitlement_id"`
// ExpiresAt The date after which the access to the entitlement expires in ms since epoch
//
// Example: 1658399423658
ExpiresAt *int64 `json:"expires_at"`
// Object String representing the object's type. Objects of the same type share the same value.
Object CustomerEntitlementObject `json:"object"`
}
CustomerEntitlement defines model for CustomerEntitlement.
type CustomerEntitlementObject ¶
type CustomerEntitlementObject string
CustomerEntitlementObject String representing the object's type. Objects of the same type share the same value.
const (
CustomerActiveEntitlement CustomerEntitlementObject = "customer.active_entitlement"
)
Defines values for CustomerEntitlementObject.
func (CustomerEntitlementObject) Valid ¶
func (e CustomerEntitlementObject) Valid() bool
Valid indicates whether the value is a known member of the CustomerEntitlementObject enum.
type CustomerEvent ¶
type CustomerEvent struct {
// AppID The ID of the app associated with the event.
//
// Example: app1a2b3c4
AppID *string `json:"app_id,omitempty"`
// Body Event payload. Fields vary by event type.
//
// Example: {"app_user_id":"customer_123","environment":"PRODUCTION","event_timestamp_ms":1658399423658,"product_id":"premium_monthly","store":"APP_STORE"}
Body map[string]interface{} `json:"body"`
// CreatedAt The creation date of the event in RevenueCat.
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// ID The identifier of the event.
//
// Example: 2e4ff4cd-27e5-4632-a236-5963c22f36b9
ID string `json:"id"`
// Object String representing the object's type. Objects of the same type share the same value.
Object CustomerEventObject `json:"object"`
// OccurredAt The date when the event occurred, sourced from event_timestamp_ms when available.
//
// Example: 1658399423658
OccurredAt *int64 `json:"occurred_at,omitempty"`
// Type The type of event.
//
// Example: PURCHASES_INITIAL_PURCHASE
Type string `json:"type"`
}
CustomerEvent defines model for CustomerEvent.
type CustomerEventObject ¶
type CustomerEventObject string
CustomerEventObject String representing the object's type. Objects of the same type share the same value.
const (
CustomerEventObjectCustomerEvent CustomerEventObject = "customer.event"
)
Defines values for CustomerEventObject.
func (CustomerEventObject) Valid ¶
func (e CustomerEventObject) Valid() bool
Valid indicates whether the value is a known member of the CustomerEventObject enum.
type CustomerObject ¶
type CustomerObject string
CustomerObject String representing the object's type. Objects of the same type share the same value.
const (
CustomerObjectCustomer CustomerObject = "customer"
)
Defines values for CustomerObject.
func (CustomerObject) Valid ¶
func (e CustomerObject) Valid() bool
Valid indicates whether the value is a known member of the CustomerObject enum.
type CustomersService ¶
type CustomersService struct {
// contains filtered or unexported fields
}
func (*CustomersService) ActiveEntitlements ¶
func (s *CustomersService) ActiveEntitlements(ctx context.Context, projectID, customerID string) (*Page[CustomerEntitlement], error)
GET /projects/{project_id}/customers/{customer_id}/active_entitlements
NOTE: also embedded in the customer GET response.
func (*CustomersService) Aliases ¶
func (s *CustomersService) Aliases(ctx context.Context, projectID, customerID string) (*Page[map[string]any], error)
GET /projects/{project_id}/customers/{customer_id}/aliases
func (*CustomersService) Attributes ¶
func (s *CustomersService) Attributes(ctx context.Context, projectID, customerID string) (*Page[map[string]any], error)
GET /projects/{project_id}/customers/{customer_id}/attributes
Returns a Page envelope of {name, value, updated_at} objects (verified live); not a flat key→value map as one might guess from the name.
func (*CustomersService) Get ¶
func (s *CustomersService) Get(ctx context.Context, projectID, customerID string) (*Customer, error)
GET /projects/{project_id}/customers/{customer_id}
func (*CustomersService) GrantEntitlement ¶
func (s *CustomersService) GrantEntitlement(ctx context.Context, projectID, customerID, entitlementID string, expiresAt int64) (*Customer, error)
POST /projects/{project_id}/customers/{customer_id}/actions/grant_entitlement
The v2 endpoint takes expires_at (ms since epoch), not a named duration, and returns the full Customer (with the granted entitlement embedded), not a bare Entitlement. Callers translate a friendly duration into expiresAt.
func (*CustomersService) List ¶
func (s *CustomersService) List(ctx context.Context, projectID string, opts *ListCustomersOptions) (*Page[Customer], error)
GET /projects/{project_id}/customers
func (*CustomersService) OverrideOffering ¶
func (s *CustomersService) OverrideOffering(ctx context.Context, projectID, customerID, offeringID string) error
POST /projects/{project_id}/customers/{customer_id}/actions/assign_offering
Pass empty offeringID to clear the override (sends null per spec).
func (*CustomersService) Purchases ¶
func (s *CustomersService) Purchases(ctx context.Context, projectID, customerID string) (*Page[Purchase], error)
GET /projects/{project_id}/customers/{customer_id}/purchases
func (*CustomersService) RestoreGooglePlay ¶
func (s *CustomersService) RestoreGooglePlay(ctx context.Context, projectID, customerID, token string) error
POST /projects/{project_id}/customers/{customer_id}/actions/restore_purchase_by_order_id
func (*CustomersService) RevokeEntitlement ¶
func (s *CustomersService) RevokeEntitlement(ctx context.Context, projectID, customerID, entitlementID string) error
POST /projects/{project_id}/customers/{customer_id}/actions/revoke_granted_entitlement
func (*CustomersService) SetAttributes ¶
func (s *CustomersService) SetAttributes(ctx context.Context, projectID, customerID string, attrs map[string]string) error
POST /projects/{project_id}/customers/{customer_id}/attributes
The API expects {"attributes": [{name, value}, ...]} per the OpenAPI spec.
func (*CustomersService) Subscriptions ¶
func (s *CustomersService) Subscriptions(ctx context.Context, projectID, customerID string) (*Page[Subscription], error)
GET /projects/{project_id}/customers/{customer_id}/subscriptions
func (*CustomersService) Transfer ¶
func (s *CustomersService) Transfer(ctx context.Context, projectID, sourceCustomerID, destCustomerID string) error
POST /projects/{project_id}/customers/{customer_id}/actions/transfer
func (*CustomersService) Wallet ¶
func (s *CustomersService) Wallet(ctx context.Context, projectID, customerID string) (*Page[map[string]any], error)
GET /projects/{project_id}/customers/{customer_id}/virtual_currencies
func (*CustomersService) WalletAdjustBalance ¶
func (s *CustomersService) WalletAdjustBalance(ctx context.Context, projectID, customerID, currencyCode string, amount int64) error
POST /projects/{project_id}/customers/{customer_id}/virtual_currencies/update_balance
func (*CustomersService) WalletTransaction ¶
func (s *CustomersService) WalletTransaction(ctx context.Context, projectID, customerID, currencyCode string, amount int64) error
POST /projects/{project_id}/customers/{customer_id}/virtual_currencies/transactions
type DeleteApp400JSONResponseBodyObject ¶
type DeleteApp400JSONResponseBodyObject string
DeleteApp400JSONResponseBodyObject defines parameters for DeleteApp.
const (
DeleteApp400JSONResponseBodyObjectError DeleteApp400JSONResponseBodyObject = "error"
)
Defines values for DeleteApp400JSONResponseBodyObject.
func (DeleteApp400JSONResponseBodyObject) Valid ¶
func (e DeleteApp400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp400JSONResponseBodyObject enum.
type DeleteApp400JSONResponseBodyType ¶
type DeleteApp400JSONResponseBodyType string
DeleteApp400JSONResponseBodyType defines parameters for DeleteApp.
const ( DeleteApp400JSONResponseBodyTypeInvalidRequest DeleteApp400JSONResponseBodyType = "invalid_request" DeleteApp400JSONResponseBodyTypeParameterError DeleteApp400JSONResponseBodyType = "parameter_error" )
Defines values for DeleteApp400JSONResponseBodyType.
func (DeleteApp400JSONResponseBodyType) Valid ¶
func (e DeleteApp400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp400JSONResponseBodyType enum.
type DeleteApp401JSONResponseBodyObject ¶
type DeleteApp401JSONResponseBodyObject string
DeleteApp401JSONResponseBodyObject defines parameters for DeleteApp.
const (
DeleteApp401JSONResponseBodyObjectError DeleteApp401JSONResponseBodyObject = "error"
)
Defines values for DeleteApp401JSONResponseBodyObject.
func (DeleteApp401JSONResponseBodyObject) Valid ¶
func (e DeleteApp401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp401JSONResponseBodyObject enum.
type DeleteApp401JSONResponseBodyType ¶
type DeleteApp401JSONResponseBodyType string
DeleteApp401JSONResponseBodyType defines parameters for DeleteApp.
const (
DeleteApp401JSONResponseBodyTypeAuthenticationError DeleteApp401JSONResponseBodyType = "authentication_error"
)
Defines values for DeleteApp401JSONResponseBodyType.
func (DeleteApp401JSONResponseBodyType) Valid ¶
func (e DeleteApp401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp401JSONResponseBodyType enum.
type DeleteApp403JSONResponseBodyObject ¶
type DeleteApp403JSONResponseBodyObject string
DeleteApp403JSONResponseBodyObject defines parameters for DeleteApp.
const (
DeleteApp403JSONResponseBodyObjectError DeleteApp403JSONResponseBodyObject = "error"
)
Defines values for DeleteApp403JSONResponseBodyObject.
func (DeleteApp403JSONResponseBodyObject) Valid ¶
func (e DeleteApp403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp403JSONResponseBodyObject enum.
type DeleteApp403JSONResponseBodyType ¶
type DeleteApp403JSONResponseBodyType string
DeleteApp403JSONResponseBodyType defines parameters for DeleteApp.
const (
DeleteApp403JSONResponseBodyTypeAuthorizationError DeleteApp403JSONResponseBodyType = "authorization_error"
)
Defines values for DeleteApp403JSONResponseBodyType.
func (DeleteApp403JSONResponseBodyType) Valid ¶
func (e DeleteApp403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp403JSONResponseBodyType enum.
type DeleteApp404JSONResponseBodyObject ¶
type DeleteApp404JSONResponseBodyObject string
DeleteApp404JSONResponseBodyObject defines parameters for DeleteApp.
const (
DeleteApp404JSONResponseBodyObjectError DeleteApp404JSONResponseBodyObject = "error"
)
Defines values for DeleteApp404JSONResponseBodyObject.
func (DeleteApp404JSONResponseBodyObject) Valid ¶
func (e DeleteApp404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp404JSONResponseBodyObject enum.
type DeleteApp404JSONResponseBodyType ¶
type DeleteApp404JSONResponseBodyType string
DeleteApp404JSONResponseBodyType defines parameters for DeleteApp.
const (
DeleteApp404JSONResponseBodyTypeResourceMissing DeleteApp404JSONResponseBodyType = "resource_missing"
)
Defines values for DeleteApp404JSONResponseBodyType.
func (DeleteApp404JSONResponseBodyType) Valid ¶
func (e DeleteApp404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp404JSONResponseBodyType enum.
type DeleteApp409JSONResponseBodyObject ¶
type DeleteApp409JSONResponseBodyObject string
DeleteApp409JSONResponseBodyObject defines parameters for DeleteApp.
const (
DeleteApp409JSONResponseBodyObjectError DeleteApp409JSONResponseBodyObject = "error"
)
Defines values for DeleteApp409JSONResponseBodyObject.
func (DeleteApp409JSONResponseBodyObject) Valid ¶
func (e DeleteApp409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp409JSONResponseBodyObject enum.
type DeleteApp409JSONResponseBodyType ¶
type DeleteApp409JSONResponseBodyType string
DeleteApp409JSONResponseBodyType defines parameters for DeleteApp.
const ( DeleteApp409JSONResponseBodyTypeIdempotencyError DeleteApp409JSONResponseBodyType = "idempotency_error" DeleteApp409JSONResponseBodyTypeInvalidRequest DeleteApp409JSONResponseBodyType = "invalid_request" DeleteApp409JSONResponseBodyTypeResourceAlreadyExists DeleteApp409JSONResponseBodyType = "resource_already_exists" )
Defines values for DeleteApp409JSONResponseBodyType.
func (DeleteApp409JSONResponseBodyType) Valid ¶
func (e DeleteApp409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp409JSONResponseBodyType enum.
type DeleteApp422JSONResponseBodyObject ¶
type DeleteApp422JSONResponseBodyObject string
DeleteApp422JSONResponseBodyObject defines parameters for DeleteApp.
const (
DeleteApp422JSONResponseBodyObjectError DeleteApp422JSONResponseBodyObject = "error"
)
Defines values for DeleteApp422JSONResponseBodyObject.
func (DeleteApp422JSONResponseBodyObject) Valid ¶
func (e DeleteApp422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp422JSONResponseBodyObject enum.
type DeleteApp422JSONResponseBodyType ¶
type DeleteApp422JSONResponseBodyType string
DeleteApp422JSONResponseBodyType defines parameters for DeleteApp.
const ( DeleteApp422JSONResponseBodyTypeEntityReferencesArchivedEntities DeleteApp422JSONResponseBodyType = "entity_references_archived_entities" DeleteApp422JSONResponseBodyTypeParameterError DeleteApp422JSONResponseBodyType = "parameter_error" DeleteApp422JSONResponseBodyTypeStoreError DeleteApp422JSONResponseBodyType = "store_error" DeleteApp422JSONResponseBodyTypeUnprocessableEntityError DeleteApp422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for DeleteApp422JSONResponseBodyType.
func (DeleteApp422JSONResponseBodyType) Valid ¶
func (e DeleteApp422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp422JSONResponseBodyType enum.
type DeleteApp423JSONResponseBodyObject ¶
type DeleteApp423JSONResponseBodyObject string
DeleteApp423JSONResponseBodyObject defines parameters for DeleteApp.
const (
DeleteApp423JSONResponseBodyObjectError DeleteApp423JSONResponseBodyObject = "error"
)
Defines values for DeleteApp423JSONResponseBodyObject.
func (DeleteApp423JSONResponseBodyObject) Valid ¶
func (e DeleteApp423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp423JSONResponseBodyObject enum.
type DeleteApp423JSONResponseBodyType ¶
type DeleteApp423JSONResponseBodyType string
DeleteApp423JSONResponseBodyType defines parameters for DeleteApp.
const (
DeleteApp423JSONResponseBodyTypeResourceLockedError DeleteApp423JSONResponseBodyType = "resource_locked_error"
)
Defines values for DeleteApp423JSONResponseBodyType.
func (DeleteApp423JSONResponseBodyType) Valid ¶
func (e DeleteApp423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp423JSONResponseBodyType enum.
type DeleteApp429JSONResponseBodyObject ¶
type DeleteApp429JSONResponseBodyObject string
DeleteApp429JSONResponseBodyObject defines parameters for DeleteApp.
const (
DeleteApp429JSONResponseBodyObjectError DeleteApp429JSONResponseBodyObject = "error"
)
Defines values for DeleteApp429JSONResponseBodyObject.
func (DeleteApp429JSONResponseBodyObject) Valid ¶
func (e DeleteApp429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp429JSONResponseBodyObject enum.
type DeleteApp429JSONResponseBodyType ¶
type DeleteApp429JSONResponseBodyType string
DeleteApp429JSONResponseBodyType defines parameters for DeleteApp.
const (
DeleteApp429JSONResponseBodyTypeRateLimitError DeleteApp429JSONResponseBodyType = "rate_limit_error"
)
Defines values for DeleteApp429JSONResponseBodyType.
func (DeleteApp429JSONResponseBodyType) Valid ¶
func (e DeleteApp429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp429JSONResponseBodyType enum.
type DeleteApp500JSONResponseBodyObject ¶
type DeleteApp500JSONResponseBodyObject string
DeleteApp500JSONResponseBodyObject defines parameters for DeleteApp.
const (
DeleteApp500JSONResponseBodyObjectError DeleteApp500JSONResponseBodyObject = "error"
)
Defines values for DeleteApp500JSONResponseBodyObject.
func (DeleteApp500JSONResponseBodyObject) Valid ¶
func (e DeleteApp500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp500JSONResponseBodyObject enum.
type DeleteApp500JSONResponseBodyType ¶
type DeleteApp500JSONResponseBodyType string
DeleteApp500JSONResponseBodyType defines parameters for DeleteApp.
const (
DeleteApp500JSONResponseBodyTypeServerError DeleteApp500JSONResponseBodyType = "server_error"
)
Defines values for DeleteApp500JSONResponseBodyType.
func (DeleteApp500JSONResponseBodyType) Valid ¶
func (e DeleteApp500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp500JSONResponseBodyType enum.
type DeleteApp503JSONResponseBodyObject ¶
type DeleteApp503JSONResponseBodyObject string
DeleteApp503JSONResponseBodyObject defines parameters for DeleteApp.
const (
DeleteApp503JSONResponseBodyObjectError DeleteApp503JSONResponseBodyObject = "error"
)
Defines values for DeleteApp503JSONResponseBodyObject.
func (DeleteApp503JSONResponseBodyObject) Valid ¶
func (e DeleteApp503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp503JSONResponseBodyObject enum.
type DeleteApp503JSONResponseBodyType ¶
type DeleteApp503JSONResponseBodyType string
DeleteApp503JSONResponseBodyType defines parameters for DeleteApp.
const (
DeleteApp503JSONResponseBodyTypeServerError DeleteApp503JSONResponseBodyType = "server_error"
)
Defines values for DeleteApp503JSONResponseBodyType.
func (DeleteApp503JSONResponseBodyType) Valid ¶
func (e DeleteApp503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteApp503JSONResponseBodyType enum.
type DeleteCustomer400JSONResponseBodyObject ¶
type DeleteCustomer400JSONResponseBodyObject string
DeleteCustomer400JSONResponseBodyObject defines parameters for DeleteCustomer.
const (
DeleteCustomer400JSONResponseBodyObjectError DeleteCustomer400JSONResponseBodyObject = "error"
)
Defines values for DeleteCustomer400JSONResponseBodyObject.
func (DeleteCustomer400JSONResponseBodyObject) Valid ¶
func (e DeleteCustomer400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer400JSONResponseBodyObject enum.
type DeleteCustomer400JSONResponseBodyType ¶
type DeleteCustomer400JSONResponseBodyType string
DeleteCustomer400JSONResponseBodyType defines parameters for DeleteCustomer.
const ( DeleteCustomer400JSONResponseBodyTypeInvalidRequest DeleteCustomer400JSONResponseBodyType = "invalid_request" DeleteCustomer400JSONResponseBodyTypeParameterError DeleteCustomer400JSONResponseBodyType = "parameter_error" )
Defines values for DeleteCustomer400JSONResponseBodyType.
func (DeleteCustomer400JSONResponseBodyType) Valid ¶
func (e DeleteCustomer400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer400JSONResponseBodyType enum.
type DeleteCustomer401JSONResponseBodyObject ¶
type DeleteCustomer401JSONResponseBodyObject string
DeleteCustomer401JSONResponseBodyObject defines parameters for DeleteCustomer.
const (
DeleteCustomer401JSONResponseBodyObjectError DeleteCustomer401JSONResponseBodyObject = "error"
)
Defines values for DeleteCustomer401JSONResponseBodyObject.
func (DeleteCustomer401JSONResponseBodyObject) Valid ¶
func (e DeleteCustomer401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer401JSONResponseBodyObject enum.
type DeleteCustomer401JSONResponseBodyType ¶
type DeleteCustomer401JSONResponseBodyType string
DeleteCustomer401JSONResponseBodyType defines parameters for DeleteCustomer.
const (
DeleteCustomer401JSONResponseBodyTypeAuthenticationError DeleteCustomer401JSONResponseBodyType = "authentication_error"
)
Defines values for DeleteCustomer401JSONResponseBodyType.
func (DeleteCustomer401JSONResponseBodyType) Valid ¶
func (e DeleteCustomer401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer401JSONResponseBodyType enum.
type DeleteCustomer403JSONResponseBodyObject ¶
type DeleteCustomer403JSONResponseBodyObject string
DeleteCustomer403JSONResponseBodyObject defines parameters for DeleteCustomer.
const (
DeleteCustomer403JSONResponseBodyObjectError DeleteCustomer403JSONResponseBodyObject = "error"
)
Defines values for DeleteCustomer403JSONResponseBodyObject.
func (DeleteCustomer403JSONResponseBodyObject) Valid ¶
func (e DeleteCustomer403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer403JSONResponseBodyObject enum.
type DeleteCustomer403JSONResponseBodyType ¶
type DeleteCustomer403JSONResponseBodyType string
DeleteCustomer403JSONResponseBodyType defines parameters for DeleteCustomer.
const (
DeleteCustomer403JSONResponseBodyTypeAuthorizationError DeleteCustomer403JSONResponseBodyType = "authorization_error"
)
Defines values for DeleteCustomer403JSONResponseBodyType.
func (DeleteCustomer403JSONResponseBodyType) Valid ¶
func (e DeleteCustomer403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer403JSONResponseBodyType enum.
type DeleteCustomer404JSONResponseBodyObject ¶
type DeleteCustomer404JSONResponseBodyObject string
DeleteCustomer404JSONResponseBodyObject defines parameters for DeleteCustomer.
const (
DeleteCustomer404JSONResponseBodyObjectError DeleteCustomer404JSONResponseBodyObject = "error"
)
Defines values for DeleteCustomer404JSONResponseBodyObject.
func (DeleteCustomer404JSONResponseBodyObject) Valid ¶
func (e DeleteCustomer404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer404JSONResponseBodyObject enum.
type DeleteCustomer404JSONResponseBodyType ¶
type DeleteCustomer404JSONResponseBodyType string
DeleteCustomer404JSONResponseBodyType defines parameters for DeleteCustomer.
const (
DeleteCustomer404JSONResponseBodyTypeResourceMissing DeleteCustomer404JSONResponseBodyType = "resource_missing"
)
Defines values for DeleteCustomer404JSONResponseBodyType.
func (DeleteCustomer404JSONResponseBodyType) Valid ¶
func (e DeleteCustomer404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer404JSONResponseBodyType enum.
type DeleteCustomer409JSONResponseBodyObject ¶
type DeleteCustomer409JSONResponseBodyObject string
DeleteCustomer409JSONResponseBodyObject defines parameters for DeleteCustomer.
const (
DeleteCustomer409JSONResponseBodyObjectError DeleteCustomer409JSONResponseBodyObject = "error"
)
Defines values for DeleteCustomer409JSONResponseBodyObject.
func (DeleteCustomer409JSONResponseBodyObject) Valid ¶
func (e DeleteCustomer409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer409JSONResponseBodyObject enum.
type DeleteCustomer409JSONResponseBodyType ¶
type DeleteCustomer409JSONResponseBodyType string
DeleteCustomer409JSONResponseBodyType defines parameters for DeleteCustomer.
const ( DeleteCustomer409JSONResponseBodyTypeIdempotencyError DeleteCustomer409JSONResponseBodyType = "idempotency_error" DeleteCustomer409JSONResponseBodyTypeInvalidRequest DeleteCustomer409JSONResponseBodyType = "invalid_request" DeleteCustomer409JSONResponseBodyTypeResourceAlreadyExists DeleteCustomer409JSONResponseBodyType = "resource_already_exists" )
Defines values for DeleteCustomer409JSONResponseBodyType.
func (DeleteCustomer409JSONResponseBodyType) Valid ¶
func (e DeleteCustomer409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer409JSONResponseBodyType enum.
type DeleteCustomer422JSONResponseBodyObject ¶
type DeleteCustomer422JSONResponseBodyObject string
DeleteCustomer422JSONResponseBodyObject defines parameters for DeleteCustomer.
const (
DeleteCustomer422JSONResponseBodyObjectError DeleteCustomer422JSONResponseBodyObject = "error"
)
Defines values for DeleteCustomer422JSONResponseBodyObject.
func (DeleteCustomer422JSONResponseBodyObject) Valid ¶
func (e DeleteCustomer422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer422JSONResponseBodyObject enum.
type DeleteCustomer422JSONResponseBodyType ¶
type DeleteCustomer422JSONResponseBodyType string
DeleteCustomer422JSONResponseBodyType defines parameters for DeleteCustomer.
const ( DeleteCustomer422JSONResponseBodyTypeEntityReferencesArchivedEntities DeleteCustomer422JSONResponseBodyType = "entity_references_archived_entities" DeleteCustomer422JSONResponseBodyTypeParameterError DeleteCustomer422JSONResponseBodyType = "parameter_error" DeleteCustomer422JSONResponseBodyTypeStoreError DeleteCustomer422JSONResponseBodyType = "store_error" DeleteCustomer422JSONResponseBodyTypeUnprocessableEntityError DeleteCustomer422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for DeleteCustomer422JSONResponseBodyType.
func (DeleteCustomer422JSONResponseBodyType) Valid ¶
func (e DeleteCustomer422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer422JSONResponseBodyType enum.
type DeleteCustomer423JSONResponseBodyObject ¶
type DeleteCustomer423JSONResponseBodyObject string
DeleteCustomer423JSONResponseBodyObject defines parameters for DeleteCustomer.
const (
DeleteCustomer423JSONResponseBodyObjectError DeleteCustomer423JSONResponseBodyObject = "error"
)
Defines values for DeleteCustomer423JSONResponseBodyObject.
func (DeleteCustomer423JSONResponseBodyObject) Valid ¶
func (e DeleteCustomer423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer423JSONResponseBodyObject enum.
type DeleteCustomer423JSONResponseBodyType ¶
type DeleteCustomer423JSONResponseBodyType string
DeleteCustomer423JSONResponseBodyType defines parameters for DeleteCustomer.
const (
DeleteCustomer423JSONResponseBodyTypeResourceLockedError DeleteCustomer423JSONResponseBodyType = "resource_locked_error"
)
Defines values for DeleteCustomer423JSONResponseBodyType.
func (DeleteCustomer423JSONResponseBodyType) Valid ¶
func (e DeleteCustomer423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer423JSONResponseBodyType enum.
type DeleteCustomer429JSONResponseBodyObject ¶
type DeleteCustomer429JSONResponseBodyObject string
DeleteCustomer429JSONResponseBodyObject defines parameters for DeleteCustomer.
const (
DeleteCustomer429JSONResponseBodyObjectError DeleteCustomer429JSONResponseBodyObject = "error"
)
Defines values for DeleteCustomer429JSONResponseBodyObject.
func (DeleteCustomer429JSONResponseBodyObject) Valid ¶
func (e DeleteCustomer429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer429JSONResponseBodyObject enum.
type DeleteCustomer429JSONResponseBodyType ¶
type DeleteCustomer429JSONResponseBodyType string
DeleteCustomer429JSONResponseBodyType defines parameters for DeleteCustomer.
const (
DeleteCustomer429JSONResponseBodyTypeRateLimitError DeleteCustomer429JSONResponseBodyType = "rate_limit_error"
)
Defines values for DeleteCustomer429JSONResponseBodyType.
func (DeleteCustomer429JSONResponseBodyType) Valid ¶
func (e DeleteCustomer429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer429JSONResponseBodyType enum.
type DeleteCustomer500JSONResponseBodyObject ¶
type DeleteCustomer500JSONResponseBodyObject string
DeleteCustomer500JSONResponseBodyObject defines parameters for DeleteCustomer.
const (
DeleteCustomer500JSONResponseBodyObjectError DeleteCustomer500JSONResponseBodyObject = "error"
)
Defines values for DeleteCustomer500JSONResponseBodyObject.
func (DeleteCustomer500JSONResponseBodyObject) Valid ¶
func (e DeleteCustomer500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer500JSONResponseBodyObject enum.
type DeleteCustomer500JSONResponseBodyType ¶
type DeleteCustomer500JSONResponseBodyType string
DeleteCustomer500JSONResponseBodyType defines parameters for DeleteCustomer.
const (
DeleteCustomer500JSONResponseBodyTypeServerError DeleteCustomer500JSONResponseBodyType = "server_error"
)
Defines values for DeleteCustomer500JSONResponseBodyType.
func (DeleteCustomer500JSONResponseBodyType) Valid ¶
func (e DeleteCustomer500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer500JSONResponseBodyType enum.
type DeleteCustomer503JSONResponseBodyObject ¶
type DeleteCustomer503JSONResponseBodyObject string
DeleteCustomer503JSONResponseBodyObject defines parameters for DeleteCustomer.
const (
DeleteCustomer503JSONResponseBodyObjectError DeleteCustomer503JSONResponseBodyObject = "error"
)
Defines values for DeleteCustomer503JSONResponseBodyObject.
func (DeleteCustomer503JSONResponseBodyObject) Valid ¶
func (e DeleteCustomer503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer503JSONResponseBodyObject enum.
type DeleteCustomer503JSONResponseBodyType ¶
type DeleteCustomer503JSONResponseBodyType string
DeleteCustomer503JSONResponseBodyType defines parameters for DeleteCustomer.
const (
DeleteCustomer503JSONResponseBodyTypeServerError DeleteCustomer503JSONResponseBodyType = "server_error"
)
Defines values for DeleteCustomer503JSONResponseBodyType.
func (DeleteCustomer503JSONResponseBodyType) Valid ¶
func (e DeleteCustomer503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteCustomer503JSONResponseBodyType enum.
type DeleteEntitlement400JSONResponseBodyObject ¶
type DeleteEntitlement400JSONResponseBodyObject string
DeleteEntitlement400JSONResponseBodyObject defines parameters for DeleteEntitlement.
const (
DeleteEntitlement400JSONResponseBodyObjectError DeleteEntitlement400JSONResponseBodyObject = "error"
)
Defines values for DeleteEntitlement400JSONResponseBodyObject.
func (DeleteEntitlement400JSONResponseBodyObject) Valid ¶
func (e DeleteEntitlement400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement400JSONResponseBodyObject enum.
type DeleteEntitlement400JSONResponseBodyType ¶
type DeleteEntitlement400JSONResponseBodyType string
DeleteEntitlement400JSONResponseBodyType defines parameters for DeleteEntitlement.
const ( DeleteEntitlement400JSONResponseBodyTypeInvalidRequest DeleteEntitlement400JSONResponseBodyType = "invalid_request" DeleteEntitlement400JSONResponseBodyTypeParameterError DeleteEntitlement400JSONResponseBodyType = "parameter_error" )
Defines values for DeleteEntitlement400JSONResponseBodyType.
func (DeleteEntitlement400JSONResponseBodyType) Valid ¶
func (e DeleteEntitlement400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement400JSONResponseBodyType enum.
type DeleteEntitlement401JSONResponseBodyObject ¶
type DeleteEntitlement401JSONResponseBodyObject string
DeleteEntitlement401JSONResponseBodyObject defines parameters for DeleteEntitlement.
const (
DeleteEntitlement401JSONResponseBodyObjectError DeleteEntitlement401JSONResponseBodyObject = "error"
)
Defines values for DeleteEntitlement401JSONResponseBodyObject.
func (DeleteEntitlement401JSONResponseBodyObject) Valid ¶
func (e DeleteEntitlement401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement401JSONResponseBodyObject enum.
type DeleteEntitlement401JSONResponseBodyType ¶
type DeleteEntitlement401JSONResponseBodyType string
DeleteEntitlement401JSONResponseBodyType defines parameters for DeleteEntitlement.
const (
DeleteEntitlement401JSONResponseBodyTypeAuthenticationError DeleteEntitlement401JSONResponseBodyType = "authentication_error"
)
Defines values for DeleteEntitlement401JSONResponseBodyType.
func (DeleteEntitlement401JSONResponseBodyType) Valid ¶
func (e DeleteEntitlement401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement401JSONResponseBodyType enum.
type DeleteEntitlement403JSONResponseBodyObject ¶
type DeleteEntitlement403JSONResponseBodyObject string
DeleteEntitlement403JSONResponseBodyObject defines parameters for DeleteEntitlement.
const (
DeleteEntitlement403JSONResponseBodyObjectError DeleteEntitlement403JSONResponseBodyObject = "error"
)
Defines values for DeleteEntitlement403JSONResponseBodyObject.
func (DeleteEntitlement403JSONResponseBodyObject) Valid ¶
func (e DeleteEntitlement403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement403JSONResponseBodyObject enum.
type DeleteEntitlement403JSONResponseBodyType ¶
type DeleteEntitlement403JSONResponseBodyType string
DeleteEntitlement403JSONResponseBodyType defines parameters for DeleteEntitlement.
const (
DeleteEntitlement403JSONResponseBodyTypeAuthorizationError DeleteEntitlement403JSONResponseBodyType = "authorization_error"
)
Defines values for DeleteEntitlement403JSONResponseBodyType.
func (DeleteEntitlement403JSONResponseBodyType) Valid ¶
func (e DeleteEntitlement403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement403JSONResponseBodyType enum.
type DeleteEntitlement404JSONResponseBodyObject ¶
type DeleteEntitlement404JSONResponseBodyObject string
DeleteEntitlement404JSONResponseBodyObject defines parameters for DeleteEntitlement.
const (
DeleteEntitlement404JSONResponseBodyObjectError DeleteEntitlement404JSONResponseBodyObject = "error"
)
Defines values for DeleteEntitlement404JSONResponseBodyObject.
func (DeleteEntitlement404JSONResponseBodyObject) Valid ¶
func (e DeleteEntitlement404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement404JSONResponseBodyObject enum.
type DeleteEntitlement404JSONResponseBodyType ¶
type DeleteEntitlement404JSONResponseBodyType string
DeleteEntitlement404JSONResponseBodyType defines parameters for DeleteEntitlement.
const (
DeleteEntitlement404JSONResponseBodyTypeResourceMissing DeleteEntitlement404JSONResponseBodyType = "resource_missing"
)
Defines values for DeleteEntitlement404JSONResponseBodyType.
func (DeleteEntitlement404JSONResponseBodyType) Valid ¶
func (e DeleteEntitlement404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement404JSONResponseBodyType enum.
type DeleteEntitlement409JSONResponseBodyObject ¶
type DeleteEntitlement409JSONResponseBodyObject string
DeleteEntitlement409JSONResponseBodyObject defines parameters for DeleteEntitlement.
const (
DeleteEntitlement409JSONResponseBodyObjectError DeleteEntitlement409JSONResponseBodyObject = "error"
)
Defines values for DeleteEntitlement409JSONResponseBodyObject.
func (DeleteEntitlement409JSONResponseBodyObject) Valid ¶
func (e DeleteEntitlement409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement409JSONResponseBodyObject enum.
type DeleteEntitlement409JSONResponseBodyType ¶
type DeleteEntitlement409JSONResponseBodyType string
DeleteEntitlement409JSONResponseBodyType defines parameters for DeleteEntitlement.
const ( DeleteEntitlement409JSONResponseBodyTypeIdempotencyError DeleteEntitlement409JSONResponseBodyType = "idempotency_error" DeleteEntitlement409JSONResponseBodyTypeInvalidRequest DeleteEntitlement409JSONResponseBodyType = "invalid_request" DeleteEntitlement409JSONResponseBodyTypeResourceAlreadyExists DeleteEntitlement409JSONResponseBodyType = "resource_already_exists" )
Defines values for DeleteEntitlement409JSONResponseBodyType.
func (DeleteEntitlement409JSONResponseBodyType) Valid ¶
func (e DeleteEntitlement409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement409JSONResponseBodyType enum.
type DeleteEntitlement422JSONResponseBodyObject ¶
type DeleteEntitlement422JSONResponseBodyObject string
DeleteEntitlement422JSONResponseBodyObject defines parameters for DeleteEntitlement.
const (
DeleteEntitlement422JSONResponseBodyObjectError DeleteEntitlement422JSONResponseBodyObject = "error"
)
Defines values for DeleteEntitlement422JSONResponseBodyObject.
func (DeleteEntitlement422JSONResponseBodyObject) Valid ¶
func (e DeleteEntitlement422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement422JSONResponseBodyObject enum.
type DeleteEntitlement422JSONResponseBodyType ¶
type DeleteEntitlement422JSONResponseBodyType string
DeleteEntitlement422JSONResponseBodyType defines parameters for DeleteEntitlement.
const ( DeleteEntitlement422JSONResponseBodyTypeEntityReferencesArchivedEntities DeleteEntitlement422JSONResponseBodyType = "entity_references_archived_entities" DeleteEntitlement422JSONResponseBodyTypeParameterError DeleteEntitlement422JSONResponseBodyType = "parameter_error" DeleteEntitlement422JSONResponseBodyTypeStoreError DeleteEntitlement422JSONResponseBodyType = "store_error" DeleteEntitlement422JSONResponseBodyTypeUnprocessableEntityError DeleteEntitlement422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for DeleteEntitlement422JSONResponseBodyType.
func (DeleteEntitlement422JSONResponseBodyType) Valid ¶
func (e DeleteEntitlement422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement422JSONResponseBodyType enum.
type DeleteEntitlement423JSONResponseBodyObject ¶
type DeleteEntitlement423JSONResponseBodyObject string
DeleteEntitlement423JSONResponseBodyObject defines parameters for DeleteEntitlement.
const (
DeleteEntitlement423JSONResponseBodyObjectError DeleteEntitlement423JSONResponseBodyObject = "error"
)
Defines values for DeleteEntitlement423JSONResponseBodyObject.
func (DeleteEntitlement423JSONResponseBodyObject) Valid ¶
func (e DeleteEntitlement423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement423JSONResponseBodyObject enum.
type DeleteEntitlement423JSONResponseBodyType ¶
type DeleteEntitlement423JSONResponseBodyType string
DeleteEntitlement423JSONResponseBodyType defines parameters for DeleteEntitlement.
const (
DeleteEntitlement423JSONResponseBodyTypeResourceLockedError DeleteEntitlement423JSONResponseBodyType = "resource_locked_error"
)
Defines values for DeleteEntitlement423JSONResponseBodyType.
func (DeleteEntitlement423JSONResponseBodyType) Valid ¶
func (e DeleteEntitlement423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement423JSONResponseBodyType enum.
type DeleteEntitlement429JSONResponseBodyObject ¶
type DeleteEntitlement429JSONResponseBodyObject string
DeleteEntitlement429JSONResponseBodyObject defines parameters for DeleteEntitlement.
const (
DeleteEntitlement429JSONResponseBodyObjectError DeleteEntitlement429JSONResponseBodyObject = "error"
)
Defines values for DeleteEntitlement429JSONResponseBodyObject.
func (DeleteEntitlement429JSONResponseBodyObject) Valid ¶
func (e DeleteEntitlement429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement429JSONResponseBodyObject enum.
type DeleteEntitlement429JSONResponseBodyType ¶
type DeleteEntitlement429JSONResponseBodyType string
DeleteEntitlement429JSONResponseBodyType defines parameters for DeleteEntitlement.
const (
DeleteEntitlement429JSONResponseBodyTypeRateLimitError DeleteEntitlement429JSONResponseBodyType = "rate_limit_error"
)
Defines values for DeleteEntitlement429JSONResponseBodyType.
func (DeleteEntitlement429JSONResponseBodyType) Valid ¶
func (e DeleteEntitlement429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement429JSONResponseBodyType enum.
type DeleteEntitlement500JSONResponseBodyObject ¶
type DeleteEntitlement500JSONResponseBodyObject string
DeleteEntitlement500JSONResponseBodyObject defines parameters for DeleteEntitlement.
const (
DeleteEntitlement500JSONResponseBodyObjectError DeleteEntitlement500JSONResponseBodyObject = "error"
)
Defines values for DeleteEntitlement500JSONResponseBodyObject.
func (DeleteEntitlement500JSONResponseBodyObject) Valid ¶
func (e DeleteEntitlement500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement500JSONResponseBodyObject enum.
type DeleteEntitlement500JSONResponseBodyType ¶
type DeleteEntitlement500JSONResponseBodyType string
DeleteEntitlement500JSONResponseBodyType defines parameters for DeleteEntitlement.
const (
DeleteEntitlement500JSONResponseBodyTypeServerError DeleteEntitlement500JSONResponseBodyType = "server_error"
)
Defines values for DeleteEntitlement500JSONResponseBodyType.
func (DeleteEntitlement500JSONResponseBodyType) Valid ¶
func (e DeleteEntitlement500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement500JSONResponseBodyType enum.
type DeleteEntitlement503JSONResponseBodyObject ¶
type DeleteEntitlement503JSONResponseBodyObject string
DeleteEntitlement503JSONResponseBodyObject defines parameters for DeleteEntitlement.
const (
DeleteEntitlement503JSONResponseBodyObjectError DeleteEntitlement503JSONResponseBodyObject = "error"
)
Defines values for DeleteEntitlement503JSONResponseBodyObject.
func (DeleteEntitlement503JSONResponseBodyObject) Valid ¶
func (e DeleteEntitlement503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement503JSONResponseBodyObject enum.
type DeleteEntitlement503JSONResponseBodyType ¶
type DeleteEntitlement503JSONResponseBodyType string
DeleteEntitlement503JSONResponseBodyType defines parameters for DeleteEntitlement.
const (
DeleteEntitlement503JSONResponseBodyTypeServerError DeleteEntitlement503JSONResponseBodyType = "server_error"
)
Defines values for DeleteEntitlement503JSONResponseBodyType.
func (DeleteEntitlement503JSONResponseBodyType) Valid ¶
func (e DeleteEntitlement503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteEntitlement503JSONResponseBodyType enum.
type DeleteOffering400JSONResponseBodyObject ¶
type DeleteOffering400JSONResponseBodyObject string
DeleteOffering400JSONResponseBodyObject defines parameters for DeleteOffering.
const (
DeleteOffering400JSONResponseBodyObjectError DeleteOffering400JSONResponseBodyObject = "error"
)
Defines values for DeleteOffering400JSONResponseBodyObject.
func (DeleteOffering400JSONResponseBodyObject) Valid ¶
func (e DeleteOffering400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering400JSONResponseBodyObject enum.
type DeleteOffering400JSONResponseBodyType ¶
type DeleteOffering400JSONResponseBodyType string
DeleteOffering400JSONResponseBodyType defines parameters for DeleteOffering.
const ( DeleteOffering400JSONResponseBodyTypeInvalidRequest DeleteOffering400JSONResponseBodyType = "invalid_request" DeleteOffering400JSONResponseBodyTypeParameterError DeleteOffering400JSONResponseBodyType = "parameter_error" )
Defines values for DeleteOffering400JSONResponseBodyType.
func (DeleteOffering400JSONResponseBodyType) Valid ¶
func (e DeleteOffering400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering400JSONResponseBodyType enum.
type DeleteOffering401JSONResponseBodyObject ¶
type DeleteOffering401JSONResponseBodyObject string
DeleteOffering401JSONResponseBodyObject defines parameters for DeleteOffering.
const (
DeleteOffering401JSONResponseBodyObjectError DeleteOffering401JSONResponseBodyObject = "error"
)
Defines values for DeleteOffering401JSONResponseBodyObject.
func (DeleteOffering401JSONResponseBodyObject) Valid ¶
func (e DeleteOffering401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering401JSONResponseBodyObject enum.
type DeleteOffering401JSONResponseBodyType ¶
type DeleteOffering401JSONResponseBodyType string
DeleteOffering401JSONResponseBodyType defines parameters for DeleteOffering.
const (
DeleteOffering401JSONResponseBodyTypeAuthenticationError DeleteOffering401JSONResponseBodyType = "authentication_error"
)
Defines values for DeleteOffering401JSONResponseBodyType.
func (DeleteOffering401JSONResponseBodyType) Valid ¶
func (e DeleteOffering401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering401JSONResponseBodyType enum.
type DeleteOffering403JSONResponseBodyObject ¶
type DeleteOffering403JSONResponseBodyObject string
DeleteOffering403JSONResponseBodyObject defines parameters for DeleteOffering.
const (
DeleteOffering403JSONResponseBodyObjectError DeleteOffering403JSONResponseBodyObject = "error"
)
Defines values for DeleteOffering403JSONResponseBodyObject.
func (DeleteOffering403JSONResponseBodyObject) Valid ¶
func (e DeleteOffering403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering403JSONResponseBodyObject enum.
type DeleteOffering403JSONResponseBodyType ¶
type DeleteOffering403JSONResponseBodyType string
DeleteOffering403JSONResponseBodyType defines parameters for DeleteOffering.
const (
DeleteOffering403JSONResponseBodyTypeAuthorizationError DeleteOffering403JSONResponseBodyType = "authorization_error"
)
Defines values for DeleteOffering403JSONResponseBodyType.
func (DeleteOffering403JSONResponseBodyType) Valid ¶
func (e DeleteOffering403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering403JSONResponseBodyType enum.
type DeleteOffering404JSONResponseBodyObject ¶
type DeleteOffering404JSONResponseBodyObject string
DeleteOffering404JSONResponseBodyObject defines parameters for DeleteOffering.
const (
DeleteOffering404JSONResponseBodyObjectError DeleteOffering404JSONResponseBodyObject = "error"
)
Defines values for DeleteOffering404JSONResponseBodyObject.
func (DeleteOffering404JSONResponseBodyObject) Valid ¶
func (e DeleteOffering404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering404JSONResponseBodyObject enum.
type DeleteOffering404JSONResponseBodyType ¶
type DeleteOffering404JSONResponseBodyType string
DeleteOffering404JSONResponseBodyType defines parameters for DeleteOffering.
const (
DeleteOffering404JSONResponseBodyTypeResourceMissing DeleteOffering404JSONResponseBodyType = "resource_missing"
)
Defines values for DeleteOffering404JSONResponseBodyType.
func (DeleteOffering404JSONResponseBodyType) Valid ¶
func (e DeleteOffering404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering404JSONResponseBodyType enum.
type DeleteOffering409JSONResponseBodyObject ¶
type DeleteOffering409JSONResponseBodyObject string
DeleteOffering409JSONResponseBodyObject defines parameters for DeleteOffering.
const (
DeleteOffering409JSONResponseBodyObjectError DeleteOffering409JSONResponseBodyObject = "error"
)
Defines values for DeleteOffering409JSONResponseBodyObject.
func (DeleteOffering409JSONResponseBodyObject) Valid ¶
func (e DeleteOffering409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering409JSONResponseBodyObject enum.
type DeleteOffering409JSONResponseBodyType ¶
type DeleteOffering409JSONResponseBodyType string
DeleteOffering409JSONResponseBodyType defines parameters for DeleteOffering.
const ( DeleteOffering409JSONResponseBodyTypeIdempotencyError DeleteOffering409JSONResponseBodyType = "idempotency_error" DeleteOffering409JSONResponseBodyTypeInvalidRequest DeleteOffering409JSONResponseBodyType = "invalid_request" DeleteOffering409JSONResponseBodyTypeResourceAlreadyExists DeleteOffering409JSONResponseBodyType = "resource_already_exists" )
Defines values for DeleteOffering409JSONResponseBodyType.
func (DeleteOffering409JSONResponseBodyType) Valid ¶
func (e DeleteOffering409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering409JSONResponseBodyType enum.
type DeleteOffering422JSONResponseBodyObject ¶
type DeleteOffering422JSONResponseBodyObject string
DeleteOffering422JSONResponseBodyObject defines parameters for DeleteOffering.
const (
DeleteOffering422JSONResponseBodyObjectError DeleteOffering422JSONResponseBodyObject = "error"
)
Defines values for DeleteOffering422JSONResponseBodyObject.
func (DeleteOffering422JSONResponseBodyObject) Valid ¶
func (e DeleteOffering422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering422JSONResponseBodyObject enum.
type DeleteOffering422JSONResponseBodyType ¶
type DeleteOffering422JSONResponseBodyType string
DeleteOffering422JSONResponseBodyType defines parameters for DeleteOffering.
const ( DeleteOffering422JSONResponseBodyTypeEntityReferencesArchivedEntities DeleteOffering422JSONResponseBodyType = "entity_references_archived_entities" DeleteOffering422JSONResponseBodyTypeParameterError DeleteOffering422JSONResponseBodyType = "parameter_error" DeleteOffering422JSONResponseBodyTypeStoreError DeleteOffering422JSONResponseBodyType = "store_error" DeleteOffering422JSONResponseBodyTypeUnprocessableEntityError DeleteOffering422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for DeleteOffering422JSONResponseBodyType.
func (DeleteOffering422JSONResponseBodyType) Valid ¶
func (e DeleteOffering422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering422JSONResponseBodyType enum.
type DeleteOffering423JSONResponseBodyObject ¶
type DeleteOffering423JSONResponseBodyObject string
DeleteOffering423JSONResponseBodyObject defines parameters for DeleteOffering.
const (
DeleteOffering423JSONResponseBodyObjectError DeleteOffering423JSONResponseBodyObject = "error"
)
Defines values for DeleteOffering423JSONResponseBodyObject.
func (DeleteOffering423JSONResponseBodyObject) Valid ¶
func (e DeleteOffering423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering423JSONResponseBodyObject enum.
type DeleteOffering423JSONResponseBodyType ¶
type DeleteOffering423JSONResponseBodyType string
DeleteOffering423JSONResponseBodyType defines parameters for DeleteOffering.
const (
DeleteOffering423JSONResponseBodyTypeResourceLockedError DeleteOffering423JSONResponseBodyType = "resource_locked_error"
)
Defines values for DeleteOffering423JSONResponseBodyType.
func (DeleteOffering423JSONResponseBodyType) Valid ¶
func (e DeleteOffering423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering423JSONResponseBodyType enum.
type DeleteOffering429JSONResponseBodyObject ¶
type DeleteOffering429JSONResponseBodyObject string
DeleteOffering429JSONResponseBodyObject defines parameters for DeleteOffering.
const (
DeleteOffering429JSONResponseBodyObjectError DeleteOffering429JSONResponseBodyObject = "error"
)
Defines values for DeleteOffering429JSONResponseBodyObject.
func (DeleteOffering429JSONResponseBodyObject) Valid ¶
func (e DeleteOffering429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering429JSONResponseBodyObject enum.
type DeleteOffering429JSONResponseBodyType ¶
type DeleteOffering429JSONResponseBodyType string
DeleteOffering429JSONResponseBodyType defines parameters for DeleteOffering.
const (
DeleteOffering429JSONResponseBodyTypeRateLimitError DeleteOffering429JSONResponseBodyType = "rate_limit_error"
)
Defines values for DeleteOffering429JSONResponseBodyType.
func (DeleteOffering429JSONResponseBodyType) Valid ¶
func (e DeleteOffering429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering429JSONResponseBodyType enum.
type DeleteOffering500JSONResponseBodyObject ¶
type DeleteOffering500JSONResponseBodyObject string
DeleteOffering500JSONResponseBodyObject defines parameters for DeleteOffering.
const (
DeleteOffering500JSONResponseBodyObjectError DeleteOffering500JSONResponseBodyObject = "error"
)
Defines values for DeleteOffering500JSONResponseBodyObject.
func (DeleteOffering500JSONResponseBodyObject) Valid ¶
func (e DeleteOffering500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering500JSONResponseBodyObject enum.
type DeleteOffering500JSONResponseBodyType ¶
type DeleteOffering500JSONResponseBodyType string
DeleteOffering500JSONResponseBodyType defines parameters for DeleteOffering.
const (
DeleteOffering500JSONResponseBodyTypeServerError DeleteOffering500JSONResponseBodyType = "server_error"
)
Defines values for DeleteOffering500JSONResponseBodyType.
func (DeleteOffering500JSONResponseBodyType) Valid ¶
func (e DeleteOffering500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering500JSONResponseBodyType enum.
type DeleteOffering503JSONResponseBodyObject ¶
type DeleteOffering503JSONResponseBodyObject string
DeleteOffering503JSONResponseBodyObject defines parameters for DeleteOffering.
const (
DeleteOffering503JSONResponseBodyObjectError DeleteOffering503JSONResponseBodyObject = "error"
)
Defines values for DeleteOffering503JSONResponseBodyObject.
func (DeleteOffering503JSONResponseBodyObject) Valid ¶
func (e DeleteOffering503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering503JSONResponseBodyObject enum.
type DeleteOffering503JSONResponseBodyType ¶
type DeleteOffering503JSONResponseBodyType string
DeleteOffering503JSONResponseBodyType defines parameters for DeleteOffering.
const (
DeleteOffering503JSONResponseBodyTypeServerError DeleteOffering503JSONResponseBodyType = "server_error"
)
Defines values for DeleteOffering503JSONResponseBodyType.
func (DeleteOffering503JSONResponseBodyType) Valid ¶
func (e DeleteOffering503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteOffering503JSONResponseBodyType enum.
type DeletePackageFromOffering400JSONResponseBodyObject ¶
type DeletePackageFromOffering400JSONResponseBodyObject string
DeletePackageFromOffering400JSONResponseBodyObject defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering400JSONResponseBodyObjectError DeletePackageFromOffering400JSONResponseBodyObject = "error"
)
Defines values for DeletePackageFromOffering400JSONResponseBodyObject.
func (DeletePackageFromOffering400JSONResponseBodyObject) Valid ¶
func (e DeletePackageFromOffering400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering400JSONResponseBodyObject enum.
type DeletePackageFromOffering400JSONResponseBodyType ¶
type DeletePackageFromOffering400JSONResponseBodyType string
DeletePackageFromOffering400JSONResponseBodyType defines parameters for DeletePackageFromOffering.
const ( DeletePackageFromOffering400JSONResponseBodyTypeInvalidRequest DeletePackageFromOffering400JSONResponseBodyType = "invalid_request" DeletePackageFromOffering400JSONResponseBodyTypeParameterError DeletePackageFromOffering400JSONResponseBodyType = "parameter_error" )
Defines values for DeletePackageFromOffering400JSONResponseBodyType.
func (DeletePackageFromOffering400JSONResponseBodyType) Valid ¶
func (e DeletePackageFromOffering400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering400JSONResponseBodyType enum.
type DeletePackageFromOffering401JSONResponseBodyObject ¶
type DeletePackageFromOffering401JSONResponseBodyObject string
DeletePackageFromOffering401JSONResponseBodyObject defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering401JSONResponseBodyObjectError DeletePackageFromOffering401JSONResponseBodyObject = "error"
)
Defines values for DeletePackageFromOffering401JSONResponseBodyObject.
func (DeletePackageFromOffering401JSONResponseBodyObject) Valid ¶
func (e DeletePackageFromOffering401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering401JSONResponseBodyObject enum.
type DeletePackageFromOffering401JSONResponseBodyType ¶
type DeletePackageFromOffering401JSONResponseBodyType string
DeletePackageFromOffering401JSONResponseBodyType defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering401JSONResponseBodyTypeAuthenticationError DeletePackageFromOffering401JSONResponseBodyType = "authentication_error"
)
Defines values for DeletePackageFromOffering401JSONResponseBodyType.
func (DeletePackageFromOffering401JSONResponseBodyType) Valid ¶
func (e DeletePackageFromOffering401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering401JSONResponseBodyType enum.
type DeletePackageFromOffering403JSONResponseBodyObject ¶
type DeletePackageFromOffering403JSONResponseBodyObject string
DeletePackageFromOffering403JSONResponseBodyObject defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering403JSONResponseBodyObjectError DeletePackageFromOffering403JSONResponseBodyObject = "error"
)
Defines values for DeletePackageFromOffering403JSONResponseBodyObject.
func (DeletePackageFromOffering403JSONResponseBodyObject) Valid ¶
func (e DeletePackageFromOffering403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering403JSONResponseBodyObject enum.
type DeletePackageFromOffering403JSONResponseBodyType ¶
type DeletePackageFromOffering403JSONResponseBodyType string
DeletePackageFromOffering403JSONResponseBodyType defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering403JSONResponseBodyTypeAuthorizationError DeletePackageFromOffering403JSONResponseBodyType = "authorization_error"
)
Defines values for DeletePackageFromOffering403JSONResponseBodyType.
func (DeletePackageFromOffering403JSONResponseBodyType) Valid ¶
func (e DeletePackageFromOffering403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering403JSONResponseBodyType enum.
type DeletePackageFromOffering404JSONResponseBodyObject ¶
type DeletePackageFromOffering404JSONResponseBodyObject string
DeletePackageFromOffering404JSONResponseBodyObject defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering404JSONResponseBodyObjectError DeletePackageFromOffering404JSONResponseBodyObject = "error"
)
Defines values for DeletePackageFromOffering404JSONResponseBodyObject.
func (DeletePackageFromOffering404JSONResponseBodyObject) Valid ¶
func (e DeletePackageFromOffering404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering404JSONResponseBodyObject enum.
type DeletePackageFromOffering404JSONResponseBodyType ¶
type DeletePackageFromOffering404JSONResponseBodyType string
DeletePackageFromOffering404JSONResponseBodyType defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering404JSONResponseBodyTypeResourceMissing DeletePackageFromOffering404JSONResponseBodyType = "resource_missing"
)
Defines values for DeletePackageFromOffering404JSONResponseBodyType.
func (DeletePackageFromOffering404JSONResponseBodyType) Valid ¶
func (e DeletePackageFromOffering404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering404JSONResponseBodyType enum.
type DeletePackageFromOffering409JSONResponseBodyObject ¶
type DeletePackageFromOffering409JSONResponseBodyObject string
DeletePackageFromOffering409JSONResponseBodyObject defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering409JSONResponseBodyObjectError DeletePackageFromOffering409JSONResponseBodyObject = "error"
)
Defines values for DeletePackageFromOffering409JSONResponseBodyObject.
func (DeletePackageFromOffering409JSONResponseBodyObject) Valid ¶
func (e DeletePackageFromOffering409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering409JSONResponseBodyObject enum.
type DeletePackageFromOffering409JSONResponseBodyType ¶
type DeletePackageFromOffering409JSONResponseBodyType string
DeletePackageFromOffering409JSONResponseBodyType defines parameters for DeletePackageFromOffering.
const ( DeletePackageFromOffering409JSONResponseBodyTypeIdempotencyError DeletePackageFromOffering409JSONResponseBodyType = "idempotency_error" DeletePackageFromOffering409JSONResponseBodyTypeInvalidRequest DeletePackageFromOffering409JSONResponseBodyType = "invalid_request" DeletePackageFromOffering409JSONResponseBodyTypeResourceAlreadyExists DeletePackageFromOffering409JSONResponseBodyType = "resource_already_exists" )
Defines values for DeletePackageFromOffering409JSONResponseBodyType.
func (DeletePackageFromOffering409JSONResponseBodyType) Valid ¶
func (e DeletePackageFromOffering409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering409JSONResponseBodyType enum.
type DeletePackageFromOffering422JSONResponseBodyObject ¶
type DeletePackageFromOffering422JSONResponseBodyObject string
DeletePackageFromOffering422JSONResponseBodyObject defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering422JSONResponseBodyObjectError DeletePackageFromOffering422JSONResponseBodyObject = "error"
)
Defines values for DeletePackageFromOffering422JSONResponseBodyObject.
func (DeletePackageFromOffering422JSONResponseBodyObject) Valid ¶
func (e DeletePackageFromOffering422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering422JSONResponseBodyObject enum.
type DeletePackageFromOffering422JSONResponseBodyType ¶
type DeletePackageFromOffering422JSONResponseBodyType string
DeletePackageFromOffering422JSONResponseBodyType defines parameters for DeletePackageFromOffering.
const ( DeletePackageFromOffering422JSONResponseBodyTypeEntityReferencesArchivedEntities DeletePackageFromOffering422JSONResponseBodyType = "entity_references_archived_entities" DeletePackageFromOffering422JSONResponseBodyTypeParameterError DeletePackageFromOffering422JSONResponseBodyType = "parameter_error" DeletePackageFromOffering422JSONResponseBodyTypeStoreError DeletePackageFromOffering422JSONResponseBodyType = "store_error" DeletePackageFromOffering422JSONResponseBodyTypeUnprocessableEntityError DeletePackageFromOffering422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for DeletePackageFromOffering422JSONResponseBodyType.
func (DeletePackageFromOffering422JSONResponseBodyType) Valid ¶
func (e DeletePackageFromOffering422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering422JSONResponseBodyType enum.
type DeletePackageFromOffering423JSONResponseBodyObject ¶
type DeletePackageFromOffering423JSONResponseBodyObject string
DeletePackageFromOffering423JSONResponseBodyObject defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering423JSONResponseBodyObjectError DeletePackageFromOffering423JSONResponseBodyObject = "error"
)
Defines values for DeletePackageFromOffering423JSONResponseBodyObject.
func (DeletePackageFromOffering423JSONResponseBodyObject) Valid ¶
func (e DeletePackageFromOffering423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering423JSONResponseBodyObject enum.
type DeletePackageFromOffering423JSONResponseBodyType ¶
type DeletePackageFromOffering423JSONResponseBodyType string
DeletePackageFromOffering423JSONResponseBodyType defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering423JSONResponseBodyTypeResourceLockedError DeletePackageFromOffering423JSONResponseBodyType = "resource_locked_error"
)
Defines values for DeletePackageFromOffering423JSONResponseBodyType.
func (DeletePackageFromOffering423JSONResponseBodyType) Valid ¶
func (e DeletePackageFromOffering423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering423JSONResponseBodyType enum.
type DeletePackageFromOffering429JSONResponseBodyObject ¶
type DeletePackageFromOffering429JSONResponseBodyObject string
DeletePackageFromOffering429JSONResponseBodyObject defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering429JSONResponseBodyObjectError DeletePackageFromOffering429JSONResponseBodyObject = "error"
)
Defines values for DeletePackageFromOffering429JSONResponseBodyObject.
func (DeletePackageFromOffering429JSONResponseBodyObject) Valid ¶
func (e DeletePackageFromOffering429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering429JSONResponseBodyObject enum.
type DeletePackageFromOffering429JSONResponseBodyType ¶
type DeletePackageFromOffering429JSONResponseBodyType string
DeletePackageFromOffering429JSONResponseBodyType defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering429JSONResponseBodyTypeRateLimitError DeletePackageFromOffering429JSONResponseBodyType = "rate_limit_error"
)
Defines values for DeletePackageFromOffering429JSONResponseBodyType.
func (DeletePackageFromOffering429JSONResponseBodyType) Valid ¶
func (e DeletePackageFromOffering429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering429JSONResponseBodyType enum.
type DeletePackageFromOffering500JSONResponseBodyObject ¶
type DeletePackageFromOffering500JSONResponseBodyObject string
DeletePackageFromOffering500JSONResponseBodyObject defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering500JSONResponseBodyObjectError DeletePackageFromOffering500JSONResponseBodyObject = "error"
)
Defines values for DeletePackageFromOffering500JSONResponseBodyObject.
func (DeletePackageFromOffering500JSONResponseBodyObject) Valid ¶
func (e DeletePackageFromOffering500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering500JSONResponseBodyObject enum.
type DeletePackageFromOffering500JSONResponseBodyType ¶
type DeletePackageFromOffering500JSONResponseBodyType string
DeletePackageFromOffering500JSONResponseBodyType defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering500JSONResponseBodyTypeServerError DeletePackageFromOffering500JSONResponseBodyType = "server_error"
)
Defines values for DeletePackageFromOffering500JSONResponseBodyType.
func (DeletePackageFromOffering500JSONResponseBodyType) Valid ¶
func (e DeletePackageFromOffering500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering500JSONResponseBodyType enum.
type DeletePackageFromOffering503JSONResponseBodyObject ¶
type DeletePackageFromOffering503JSONResponseBodyObject string
DeletePackageFromOffering503JSONResponseBodyObject defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering503JSONResponseBodyObjectError DeletePackageFromOffering503JSONResponseBodyObject = "error"
)
Defines values for DeletePackageFromOffering503JSONResponseBodyObject.
func (DeletePackageFromOffering503JSONResponseBodyObject) Valid ¶
func (e DeletePackageFromOffering503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering503JSONResponseBodyObject enum.
type DeletePackageFromOffering503JSONResponseBodyType ¶
type DeletePackageFromOffering503JSONResponseBodyType string
DeletePackageFromOffering503JSONResponseBodyType defines parameters for DeletePackageFromOffering.
const (
DeletePackageFromOffering503JSONResponseBodyTypeServerError DeletePackageFromOffering503JSONResponseBodyType = "server_error"
)
Defines values for DeletePackageFromOffering503JSONResponseBodyType.
func (DeletePackageFromOffering503JSONResponseBodyType) Valid ¶
func (e DeletePackageFromOffering503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePackageFromOffering503JSONResponseBodyType enum.
type DeletePaywall400JSONResponseBodyObject ¶
type DeletePaywall400JSONResponseBodyObject string
DeletePaywall400JSONResponseBodyObject defines parameters for DeletePaywall.
const (
DeletePaywall400JSONResponseBodyObjectError DeletePaywall400JSONResponseBodyObject = "error"
)
Defines values for DeletePaywall400JSONResponseBodyObject.
func (DeletePaywall400JSONResponseBodyObject) Valid ¶
func (e DeletePaywall400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall400JSONResponseBodyObject enum.
type DeletePaywall400JSONResponseBodyType ¶
type DeletePaywall400JSONResponseBodyType string
DeletePaywall400JSONResponseBodyType defines parameters for DeletePaywall.
const ( DeletePaywall400JSONResponseBodyTypeInvalidRequest DeletePaywall400JSONResponseBodyType = "invalid_request" DeletePaywall400JSONResponseBodyTypeParameterError DeletePaywall400JSONResponseBodyType = "parameter_error" )
Defines values for DeletePaywall400JSONResponseBodyType.
func (DeletePaywall400JSONResponseBodyType) Valid ¶
func (e DeletePaywall400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall400JSONResponseBodyType enum.
type DeletePaywall401JSONResponseBodyObject ¶
type DeletePaywall401JSONResponseBodyObject string
DeletePaywall401JSONResponseBodyObject defines parameters for DeletePaywall.
const (
DeletePaywall401JSONResponseBodyObjectError DeletePaywall401JSONResponseBodyObject = "error"
)
Defines values for DeletePaywall401JSONResponseBodyObject.
func (DeletePaywall401JSONResponseBodyObject) Valid ¶
func (e DeletePaywall401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall401JSONResponseBodyObject enum.
type DeletePaywall401JSONResponseBodyType ¶
type DeletePaywall401JSONResponseBodyType string
DeletePaywall401JSONResponseBodyType defines parameters for DeletePaywall.
const (
DeletePaywall401JSONResponseBodyTypeAuthenticationError DeletePaywall401JSONResponseBodyType = "authentication_error"
)
Defines values for DeletePaywall401JSONResponseBodyType.
func (DeletePaywall401JSONResponseBodyType) Valid ¶
func (e DeletePaywall401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall401JSONResponseBodyType enum.
type DeletePaywall403JSONResponseBodyObject ¶
type DeletePaywall403JSONResponseBodyObject string
DeletePaywall403JSONResponseBodyObject defines parameters for DeletePaywall.
const (
DeletePaywall403JSONResponseBodyObjectError DeletePaywall403JSONResponseBodyObject = "error"
)
Defines values for DeletePaywall403JSONResponseBodyObject.
func (DeletePaywall403JSONResponseBodyObject) Valid ¶
func (e DeletePaywall403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall403JSONResponseBodyObject enum.
type DeletePaywall403JSONResponseBodyType ¶
type DeletePaywall403JSONResponseBodyType string
DeletePaywall403JSONResponseBodyType defines parameters for DeletePaywall.
const (
DeletePaywall403JSONResponseBodyTypeAuthorizationError DeletePaywall403JSONResponseBodyType = "authorization_error"
)
Defines values for DeletePaywall403JSONResponseBodyType.
func (DeletePaywall403JSONResponseBodyType) Valid ¶
func (e DeletePaywall403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall403JSONResponseBodyType enum.
type DeletePaywall404JSONResponseBodyObject ¶
type DeletePaywall404JSONResponseBodyObject string
DeletePaywall404JSONResponseBodyObject defines parameters for DeletePaywall.
const (
DeletePaywall404JSONResponseBodyObjectError DeletePaywall404JSONResponseBodyObject = "error"
)
Defines values for DeletePaywall404JSONResponseBodyObject.
func (DeletePaywall404JSONResponseBodyObject) Valid ¶
func (e DeletePaywall404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall404JSONResponseBodyObject enum.
type DeletePaywall404JSONResponseBodyType ¶
type DeletePaywall404JSONResponseBodyType string
DeletePaywall404JSONResponseBodyType defines parameters for DeletePaywall.
const (
DeletePaywall404JSONResponseBodyTypeResourceMissing DeletePaywall404JSONResponseBodyType = "resource_missing"
)
Defines values for DeletePaywall404JSONResponseBodyType.
func (DeletePaywall404JSONResponseBodyType) Valid ¶
func (e DeletePaywall404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall404JSONResponseBodyType enum.
type DeletePaywall409JSONResponseBodyObject ¶
type DeletePaywall409JSONResponseBodyObject string
DeletePaywall409JSONResponseBodyObject defines parameters for DeletePaywall.
const (
DeletePaywall409JSONResponseBodyObjectError DeletePaywall409JSONResponseBodyObject = "error"
)
Defines values for DeletePaywall409JSONResponseBodyObject.
func (DeletePaywall409JSONResponseBodyObject) Valid ¶
func (e DeletePaywall409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall409JSONResponseBodyObject enum.
type DeletePaywall409JSONResponseBodyType ¶
type DeletePaywall409JSONResponseBodyType string
DeletePaywall409JSONResponseBodyType defines parameters for DeletePaywall.
const ( DeletePaywall409JSONResponseBodyTypeIdempotencyError DeletePaywall409JSONResponseBodyType = "idempotency_error" DeletePaywall409JSONResponseBodyTypeInvalidRequest DeletePaywall409JSONResponseBodyType = "invalid_request" DeletePaywall409JSONResponseBodyTypeResourceAlreadyExists DeletePaywall409JSONResponseBodyType = "resource_already_exists" )
Defines values for DeletePaywall409JSONResponseBodyType.
func (DeletePaywall409JSONResponseBodyType) Valid ¶
func (e DeletePaywall409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall409JSONResponseBodyType enum.
type DeletePaywall422JSONResponseBodyObject ¶
type DeletePaywall422JSONResponseBodyObject string
DeletePaywall422JSONResponseBodyObject defines parameters for DeletePaywall.
const (
DeletePaywall422JSONResponseBodyObjectError DeletePaywall422JSONResponseBodyObject = "error"
)
Defines values for DeletePaywall422JSONResponseBodyObject.
func (DeletePaywall422JSONResponseBodyObject) Valid ¶
func (e DeletePaywall422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall422JSONResponseBodyObject enum.
type DeletePaywall422JSONResponseBodyType ¶
type DeletePaywall422JSONResponseBodyType string
DeletePaywall422JSONResponseBodyType defines parameters for DeletePaywall.
const ( DeletePaywall422JSONResponseBodyTypeEntityReferencesArchivedEntities DeletePaywall422JSONResponseBodyType = "entity_references_archived_entities" DeletePaywall422JSONResponseBodyTypeParameterError DeletePaywall422JSONResponseBodyType = "parameter_error" DeletePaywall422JSONResponseBodyTypeStoreError DeletePaywall422JSONResponseBodyType = "store_error" DeletePaywall422JSONResponseBodyTypeUnprocessableEntityError DeletePaywall422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for DeletePaywall422JSONResponseBodyType.
func (DeletePaywall422JSONResponseBodyType) Valid ¶
func (e DeletePaywall422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall422JSONResponseBodyType enum.
type DeletePaywall423JSONResponseBodyObject ¶
type DeletePaywall423JSONResponseBodyObject string
DeletePaywall423JSONResponseBodyObject defines parameters for DeletePaywall.
const (
DeletePaywall423JSONResponseBodyObjectError DeletePaywall423JSONResponseBodyObject = "error"
)
Defines values for DeletePaywall423JSONResponseBodyObject.
func (DeletePaywall423JSONResponseBodyObject) Valid ¶
func (e DeletePaywall423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall423JSONResponseBodyObject enum.
type DeletePaywall423JSONResponseBodyType ¶
type DeletePaywall423JSONResponseBodyType string
DeletePaywall423JSONResponseBodyType defines parameters for DeletePaywall.
const (
DeletePaywall423JSONResponseBodyTypeResourceLockedError DeletePaywall423JSONResponseBodyType = "resource_locked_error"
)
Defines values for DeletePaywall423JSONResponseBodyType.
func (DeletePaywall423JSONResponseBodyType) Valid ¶
func (e DeletePaywall423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall423JSONResponseBodyType enum.
type DeletePaywall429JSONResponseBodyObject ¶
type DeletePaywall429JSONResponseBodyObject string
DeletePaywall429JSONResponseBodyObject defines parameters for DeletePaywall.
const (
DeletePaywall429JSONResponseBodyObjectError DeletePaywall429JSONResponseBodyObject = "error"
)
Defines values for DeletePaywall429JSONResponseBodyObject.
func (DeletePaywall429JSONResponseBodyObject) Valid ¶
func (e DeletePaywall429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall429JSONResponseBodyObject enum.
type DeletePaywall429JSONResponseBodyType ¶
type DeletePaywall429JSONResponseBodyType string
DeletePaywall429JSONResponseBodyType defines parameters for DeletePaywall.
const (
DeletePaywall429JSONResponseBodyTypeRateLimitError DeletePaywall429JSONResponseBodyType = "rate_limit_error"
)
Defines values for DeletePaywall429JSONResponseBodyType.
func (DeletePaywall429JSONResponseBodyType) Valid ¶
func (e DeletePaywall429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall429JSONResponseBodyType enum.
type DeletePaywall500JSONResponseBodyObject ¶
type DeletePaywall500JSONResponseBodyObject string
DeletePaywall500JSONResponseBodyObject defines parameters for DeletePaywall.
const (
DeletePaywall500JSONResponseBodyObjectError DeletePaywall500JSONResponseBodyObject = "error"
)
Defines values for DeletePaywall500JSONResponseBodyObject.
func (DeletePaywall500JSONResponseBodyObject) Valid ¶
func (e DeletePaywall500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall500JSONResponseBodyObject enum.
type DeletePaywall500JSONResponseBodyType ¶
type DeletePaywall500JSONResponseBodyType string
DeletePaywall500JSONResponseBodyType defines parameters for DeletePaywall.
const (
DeletePaywall500JSONResponseBodyTypeServerError DeletePaywall500JSONResponseBodyType = "server_error"
)
Defines values for DeletePaywall500JSONResponseBodyType.
func (DeletePaywall500JSONResponseBodyType) Valid ¶
func (e DeletePaywall500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall500JSONResponseBodyType enum.
type DeletePaywall503JSONResponseBodyObject ¶
type DeletePaywall503JSONResponseBodyObject string
DeletePaywall503JSONResponseBodyObject defines parameters for DeletePaywall.
const (
DeletePaywall503JSONResponseBodyObjectError DeletePaywall503JSONResponseBodyObject = "error"
)
Defines values for DeletePaywall503JSONResponseBodyObject.
func (DeletePaywall503JSONResponseBodyObject) Valid ¶
func (e DeletePaywall503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall503JSONResponseBodyObject enum.
type DeletePaywall503JSONResponseBodyType ¶
type DeletePaywall503JSONResponseBodyType string
DeletePaywall503JSONResponseBodyType defines parameters for DeletePaywall.
const (
DeletePaywall503JSONResponseBodyTypeServerError DeletePaywall503JSONResponseBodyType = "server_error"
)
Defines values for DeletePaywall503JSONResponseBodyType.
func (DeletePaywall503JSONResponseBodyType) Valid ¶
func (e DeletePaywall503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeletePaywall503JSONResponseBodyType enum.
type DeleteProduct400JSONResponseBodyObject ¶
type DeleteProduct400JSONResponseBodyObject string
DeleteProduct400JSONResponseBodyObject defines parameters for DeleteProduct.
const (
DeleteProduct400JSONResponseBodyObjectError DeleteProduct400JSONResponseBodyObject = "error"
)
Defines values for DeleteProduct400JSONResponseBodyObject.
func (DeleteProduct400JSONResponseBodyObject) Valid ¶
func (e DeleteProduct400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct400JSONResponseBodyObject enum.
type DeleteProduct400JSONResponseBodyType ¶
type DeleteProduct400JSONResponseBodyType string
DeleteProduct400JSONResponseBodyType defines parameters for DeleteProduct.
const ( DeleteProduct400JSONResponseBodyTypeInvalidRequest DeleteProduct400JSONResponseBodyType = "invalid_request" DeleteProduct400JSONResponseBodyTypeParameterError DeleteProduct400JSONResponseBodyType = "parameter_error" )
Defines values for DeleteProduct400JSONResponseBodyType.
func (DeleteProduct400JSONResponseBodyType) Valid ¶
func (e DeleteProduct400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct400JSONResponseBodyType enum.
type DeleteProduct401JSONResponseBodyObject ¶
type DeleteProduct401JSONResponseBodyObject string
DeleteProduct401JSONResponseBodyObject defines parameters for DeleteProduct.
const (
DeleteProduct401JSONResponseBodyObjectError DeleteProduct401JSONResponseBodyObject = "error"
)
Defines values for DeleteProduct401JSONResponseBodyObject.
func (DeleteProduct401JSONResponseBodyObject) Valid ¶
func (e DeleteProduct401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct401JSONResponseBodyObject enum.
type DeleteProduct401JSONResponseBodyType ¶
type DeleteProduct401JSONResponseBodyType string
DeleteProduct401JSONResponseBodyType defines parameters for DeleteProduct.
const (
DeleteProduct401JSONResponseBodyTypeAuthenticationError DeleteProduct401JSONResponseBodyType = "authentication_error"
)
Defines values for DeleteProduct401JSONResponseBodyType.
func (DeleteProduct401JSONResponseBodyType) Valid ¶
func (e DeleteProduct401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct401JSONResponseBodyType enum.
type DeleteProduct403JSONResponseBodyObject ¶
type DeleteProduct403JSONResponseBodyObject string
DeleteProduct403JSONResponseBodyObject defines parameters for DeleteProduct.
const (
DeleteProduct403JSONResponseBodyObjectError DeleteProduct403JSONResponseBodyObject = "error"
)
Defines values for DeleteProduct403JSONResponseBodyObject.
func (DeleteProduct403JSONResponseBodyObject) Valid ¶
func (e DeleteProduct403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct403JSONResponseBodyObject enum.
type DeleteProduct403JSONResponseBodyType ¶
type DeleteProduct403JSONResponseBodyType string
DeleteProduct403JSONResponseBodyType defines parameters for DeleteProduct.
const (
DeleteProduct403JSONResponseBodyTypeAuthorizationError DeleteProduct403JSONResponseBodyType = "authorization_error"
)
Defines values for DeleteProduct403JSONResponseBodyType.
func (DeleteProduct403JSONResponseBodyType) Valid ¶
func (e DeleteProduct403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct403JSONResponseBodyType enum.
type DeleteProduct404JSONResponseBodyObject ¶
type DeleteProduct404JSONResponseBodyObject string
DeleteProduct404JSONResponseBodyObject defines parameters for DeleteProduct.
const (
DeleteProduct404JSONResponseBodyObjectError DeleteProduct404JSONResponseBodyObject = "error"
)
Defines values for DeleteProduct404JSONResponseBodyObject.
func (DeleteProduct404JSONResponseBodyObject) Valid ¶
func (e DeleteProduct404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct404JSONResponseBodyObject enum.
type DeleteProduct404JSONResponseBodyType ¶
type DeleteProduct404JSONResponseBodyType string
DeleteProduct404JSONResponseBodyType defines parameters for DeleteProduct.
const (
DeleteProduct404JSONResponseBodyTypeResourceMissing DeleteProduct404JSONResponseBodyType = "resource_missing"
)
Defines values for DeleteProduct404JSONResponseBodyType.
func (DeleteProduct404JSONResponseBodyType) Valid ¶
func (e DeleteProduct404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct404JSONResponseBodyType enum.
type DeleteProduct409JSONResponseBodyObject ¶
type DeleteProduct409JSONResponseBodyObject string
DeleteProduct409JSONResponseBodyObject defines parameters for DeleteProduct.
const (
DeleteProduct409JSONResponseBodyObjectError DeleteProduct409JSONResponseBodyObject = "error"
)
Defines values for DeleteProduct409JSONResponseBodyObject.
func (DeleteProduct409JSONResponseBodyObject) Valid ¶
func (e DeleteProduct409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct409JSONResponseBodyObject enum.
type DeleteProduct409JSONResponseBodyType ¶
type DeleteProduct409JSONResponseBodyType string
DeleteProduct409JSONResponseBodyType defines parameters for DeleteProduct.
const ( DeleteProduct409JSONResponseBodyTypeIdempotencyError DeleteProduct409JSONResponseBodyType = "idempotency_error" DeleteProduct409JSONResponseBodyTypeInvalidRequest DeleteProduct409JSONResponseBodyType = "invalid_request" DeleteProduct409JSONResponseBodyTypeResourceAlreadyExists DeleteProduct409JSONResponseBodyType = "resource_already_exists" )
Defines values for DeleteProduct409JSONResponseBodyType.
func (DeleteProduct409JSONResponseBodyType) Valid ¶
func (e DeleteProduct409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct409JSONResponseBodyType enum.
type DeleteProduct422JSONResponseBodyObject ¶
type DeleteProduct422JSONResponseBodyObject string
DeleteProduct422JSONResponseBodyObject defines parameters for DeleteProduct.
const (
DeleteProduct422JSONResponseBodyObjectError DeleteProduct422JSONResponseBodyObject = "error"
)
Defines values for DeleteProduct422JSONResponseBodyObject.
func (DeleteProduct422JSONResponseBodyObject) Valid ¶
func (e DeleteProduct422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct422JSONResponseBodyObject enum.
type DeleteProduct422JSONResponseBodyType ¶
type DeleteProduct422JSONResponseBodyType string
DeleteProduct422JSONResponseBodyType defines parameters for DeleteProduct.
const ( DeleteProduct422JSONResponseBodyTypeEntityReferencesArchivedEntities DeleteProduct422JSONResponseBodyType = "entity_references_archived_entities" DeleteProduct422JSONResponseBodyTypeParameterError DeleteProduct422JSONResponseBodyType = "parameter_error" DeleteProduct422JSONResponseBodyTypeStoreError DeleteProduct422JSONResponseBodyType = "store_error" DeleteProduct422JSONResponseBodyTypeUnprocessableEntityError DeleteProduct422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for DeleteProduct422JSONResponseBodyType.
func (DeleteProduct422JSONResponseBodyType) Valid ¶
func (e DeleteProduct422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct422JSONResponseBodyType enum.
type DeleteProduct423JSONResponseBodyObject ¶
type DeleteProduct423JSONResponseBodyObject string
DeleteProduct423JSONResponseBodyObject defines parameters for DeleteProduct.
const (
DeleteProduct423JSONResponseBodyObjectError DeleteProduct423JSONResponseBodyObject = "error"
)
Defines values for DeleteProduct423JSONResponseBodyObject.
func (DeleteProduct423JSONResponseBodyObject) Valid ¶
func (e DeleteProduct423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct423JSONResponseBodyObject enum.
type DeleteProduct423JSONResponseBodyType ¶
type DeleteProduct423JSONResponseBodyType string
DeleteProduct423JSONResponseBodyType defines parameters for DeleteProduct.
const (
DeleteProduct423JSONResponseBodyTypeResourceLockedError DeleteProduct423JSONResponseBodyType = "resource_locked_error"
)
Defines values for DeleteProduct423JSONResponseBodyType.
func (DeleteProduct423JSONResponseBodyType) Valid ¶
func (e DeleteProduct423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct423JSONResponseBodyType enum.
type DeleteProduct429JSONResponseBodyObject ¶
type DeleteProduct429JSONResponseBodyObject string
DeleteProduct429JSONResponseBodyObject defines parameters for DeleteProduct.
const (
DeleteProduct429JSONResponseBodyObjectError DeleteProduct429JSONResponseBodyObject = "error"
)
Defines values for DeleteProduct429JSONResponseBodyObject.
func (DeleteProduct429JSONResponseBodyObject) Valid ¶
func (e DeleteProduct429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct429JSONResponseBodyObject enum.
type DeleteProduct429JSONResponseBodyType ¶
type DeleteProduct429JSONResponseBodyType string
DeleteProduct429JSONResponseBodyType defines parameters for DeleteProduct.
const (
DeleteProduct429JSONResponseBodyTypeRateLimitError DeleteProduct429JSONResponseBodyType = "rate_limit_error"
)
Defines values for DeleteProduct429JSONResponseBodyType.
func (DeleteProduct429JSONResponseBodyType) Valid ¶
func (e DeleteProduct429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct429JSONResponseBodyType enum.
type DeleteProduct500JSONResponseBodyObject ¶
type DeleteProduct500JSONResponseBodyObject string
DeleteProduct500JSONResponseBodyObject defines parameters for DeleteProduct.
const (
DeleteProduct500JSONResponseBodyObjectError DeleteProduct500JSONResponseBodyObject = "error"
)
Defines values for DeleteProduct500JSONResponseBodyObject.
func (DeleteProduct500JSONResponseBodyObject) Valid ¶
func (e DeleteProduct500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct500JSONResponseBodyObject enum.
type DeleteProduct500JSONResponseBodyType ¶
type DeleteProduct500JSONResponseBodyType string
DeleteProduct500JSONResponseBodyType defines parameters for DeleteProduct.
const (
DeleteProduct500JSONResponseBodyTypeServerError DeleteProduct500JSONResponseBodyType = "server_error"
)
Defines values for DeleteProduct500JSONResponseBodyType.
func (DeleteProduct500JSONResponseBodyType) Valid ¶
func (e DeleteProduct500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct500JSONResponseBodyType enum.
type DeleteProduct503JSONResponseBodyObject ¶
type DeleteProduct503JSONResponseBodyObject string
DeleteProduct503JSONResponseBodyObject defines parameters for DeleteProduct.
const (
DeleteProduct503JSONResponseBodyObjectError DeleteProduct503JSONResponseBodyObject = "error"
)
Defines values for DeleteProduct503JSONResponseBodyObject.
func (DeleteProduct503JSONResponseBodyObject) Valid ¶
func (e DeleteProduct503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct503JSONResponseBodyObject enum.
type DeleteProduct503JSONResponseBodyType ¶
type DeleteProduct503JSONResponseBodyType string
DeleteProduct503JSONResponseBodyType defines parameters for DeleteProduct.
const (
DeleteProduct503JSONResponseBodyTypeServerError DeleteProduct503JSONResponseBodyType = "server_error"
)
Defines values for DeleteProduct503JSONResponseBodyType.
func (DeleteProduct503JSONResponseBodyType) Valid ¶
func (e DeleteProduct503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteProduct503JSONResponseBodyType enum.
type DeleteVirtualCurrency400JSONResponseBodyObject ¶
type DeleteVirtualCurrency400JSONResponseBodyObject string
DeleteVirtualCurrency400JSONResponseBodyObject defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency400JSONResponseBodyObjectError DeleteVirtualCurrency400JSONResponseBodyObject = "error"
)
Defines values for DeleteVirtualCurrency400JSONResponseBodyObject.
func (DeleteVirtualCurrency400JSONResponseBodyObject) Valid ¶
func (e DeleteVirtualCurrency400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency400JSONResponseBodyObject enum.
type DeleteVirtualCurrency400JSONResponseBodyType ¶
type DeleteVirtualCurrency400JSONResponseBodyType string
DeleteVirtualCurrency400JSONResponseBodyType defines parameters for DeleteVirtualCurrency.
const ( DeleteVirtualCurrency400JSONResponseBodyTypeInvalidRequest DeleteVirtualCurrency400JSONResponseBodyType = "invalid_request" DeleteVirtualCurrency400JSONResponseBodyTypeParameterError DeleteVirtualCurrency400JSONResponseBodyType = "parameter_error" )
Defines values for DeleteVirtualCurrency400JSONResponseBodyType.
func (DeleteVirtualCurrency400JSONResponseBodyType) Valid ¶
func (e DeleteVirtualCurrency400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency400JSONResponseBodyType enum.
type DeleteVirtualCurrency401JSONResponseBodyObject ¶
type DeleteVirtualCurrency401JSONResponseBodyObject string
DeleteVirtualCurrency401JSONResponseBodyObject defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency401JSONResponseBodyObjectError DeleteVirtualCurrency401JSONResponseBodyObject = "error"
)
Defines values for DeleteVirtualCurrency401JSONResponseBodyObject.
func (DeleteVirtualCurrency401JSONResponseBodyObject) Valid ¶
func (e DeleteVirtualCurrency401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency401JSONResponseBodyObject enum.
type DeleteVirtualCurrency401JSONResponseBodyType ¶
type DeleteVirtualCurrency401JSONResponseBodyType string
DeleteVirtualCurrency401JSONResponseBodyType defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency401JSONResponseBodyTypeAuthenticationError DeleteVirtualCurrency401JSONResponseBodyType = "authentication_error"
)
Defines values for DeleteVirtualCurrency401JSONResponseBodyType.
func (DeleteVirtualCurrency401JSONResponseBodyType) Valid ¶
func (e DeleteVirtualCurrency401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency401JSONResponseBodyType enum.
type DeleteVirtualCurrency403JSONResponseBodyObject ¶
type DeleteVirtualCurrency403JSONResponseBodyObject string
DeleteVirtualCurrency403JSONResponseBodyObject defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency403JSONResponseBodyObjectError DeleteVirtualCurrency403JSONResponseBodyObject = "error"
)
Defines values for DeleteVirtualCurrency403JSONResponseBodyObject.
func (DeleteVirtualCurrency403JSONResponseBodyObject) Valid ¶
func (e DeleteVirtualCurrency403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency403JSONResponseBodyObject enum.
type DeleteVirtualCurrency403JSONResponseBodyType ¶
type DeleteVirtualCurrency403JSONResponseBodyType string
DeleteVirtualCurrency403JSONResponseBodyType defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency403JSONResponseBodyTypeAuthorizationError DeleteVirtualCurrency403JSONResponseBodyType = "authorization_error"
)
Defines values for DeleteVirtualCurrency403JSONResponseBodyType.
func (DeleteVirtualCurrency403JSONResponseBodyType) Valid ¶
func (e DeleteVirtualCurrency403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency403JSONResponseBodyType enum.
type DeleteVirtualCurrency404JSONResponseBodyObject ¶
type DeleteVirtualCurrency404JSONResponseBodyObject string
DeleteVirtualCurrency404JSONResponseBodyObject defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency404JSONResponseBodyObjectError DeleteVirtualCurrency404JSONResponseBodyObject = "error"
)
Defines values for DeleteVirtualCurrency404JSONResponseBodyObject.
func (DeleteVirtualCurrency404JSONResponseBodyObject) Valid ¶
func (e DeleteVirtualCurrency404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency404JSONResponseBodyObject enum.
type DeleteVirtualCurrency404JSONResponseBodyType ¶
type DeleteVirtualCurrency404JSONResponseBodyType string
DeleteVirtualCurrency404JSONResponseBodyType defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency404JSONResponseBodyTypeResourceMissing DeleteVirtualCurrency404JSONResponseBodyType = "resource_missing"
)
Defines values for DeleteVirtualCurrency404JSONResponseBodyType.
func (DeleteVirtualCurrency404JSONResponseBodyType) Valid ¶
func (e DeleteVirtualCurrency404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency404JSONResponseBodyType enum.
type DeleteVirtualCurrency409JSONResponseBodyObject ¶
type DeleteVirtualCurrency409JSONResponseBodyObject string
DeleteVirtualCurrency409JSONResponseBodyObject defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency409JSONResponseBodyObjectError DeleteVirtualCurrency409JSONResponseBodyObject = "error"
)
Defines values for DeleteVirtualCurrency409JSONResponseBodyObject.
func (DeleteVirtualCurrency409JSONResponseBodyObject) Valid ¶
func (e DeleteVirtualCurrency409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency409JSONResponseBodyObject enum.
type DeleteVirtualCurrency409JSONResponseBodyType ¶
type DeleteVirtualCurrency409JSONResponseBodyType string
DeleteVirtualCurrency409JSONResponseBodyType defines parameters for DeleteVirtualCurrency.
const ( DeleteVirtualCurrency409JSONResponseBodyTypeIdempotencyError DeleteVirtualCurrency409JSONResponseBodyType = "idempotency_error" DeleteVirtualCurrency409JSONResponseBodyTypeInvalidRequest DeleteVirtualCurrency409JSONResponseBodyType = "invalid_request" DeleteVirtualCurrency409JSONResponseBodyTypeResourceAlreadyExists DeleteVirtualCurrency409JSONResponseBodyType = "resource_already_exists" )
Defines values for DeleteVirtualCurrency409JSONResponseBodyType.
func (DeleteVirtualCurrency409JSONResponseBodyType) Valid ¶
func (e DeleteVirtualCurrency409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency409JSONResponseBodyType enum.
type DeleteVirtualCurrency422JSONResponseBodyObject ¶
type DeleteVirtualCurrency422JSONResponseBodyObject string
DeleteVirtualCurrency422JSONResponseBodyObject defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency422JSONResponseBodyObjectError DeleteVirtualCurrency422JSONResponseBodyObject = "error"
)
Defines values for DeleteVirtualCurrency422JSONResponseBodyObject.
func (DeleteVirtualCurrency422JSONResponseBodyObject) Valid ¶
func (e DeleteVirtualCurrency422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency422JSONResponseBodyObject enum.
type DeleteVirtualCurrency422JSONResponseBodyType ¶
type DeleteVirtualCurrency422JSONResponseBodyType string
DeleteVirtualCurrency422JSONResponseBodyType defines parameters for DeleteVirtualCurrency.
const ( DeleteVirtualCurrency422JSONResponseBodyTypeEntityReferencesArchivedEntities DeleteVirtualCurrency422JSONResponseBodyType = "entity_references_archived_entities" DeleteVirtualCurrency422JSONResponseBodyTypeParameterError DeleteVirtualCurrency422JSONResponseBodyType = "parameter_error" DeleteVirtualCurrency422JSONResponseBodyTypeStoreError DeleteVirtualCurrency422JSONResponseBodyType = "store_error" DeleteVirtualCurrency422JSONResponseBodyTypeUnprocessableEntityError DeleteVirtualCurrency422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for DeleteVirtualCurrency422JSONResponseBodyType.
func (DeleteVirtualCurrency422JSONResponseBodyType) Valid ¶
func (e DeleteVirtualCurrency422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency422JSONResponseBodyType enum.
type DeleteVirtualCurrency423JSONResponseBodyObject ¶
type DeleteVirtualCurrency423JSONResponseBodyObject string
DeleteVirtualCurrency423JSONResponseBodyObject defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency423JSONResponseBodyObjectError DeleteVirtualCurrency423JSONResponseBodyObject = "error"
)
Defines values for DeleteVirtualCurrency423JSONResponseBodyObject.
func (DeleteVirtualCurrency423JSONResponseBodyObject) Valid ¶
func (e DeleteVirtualCurrency423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency423JSONResponseBodyObject enum.
type DeleteVirtualCurrency423JSONResponseBodyType ¶
type DeleteVirtualCurrency423JSONResponseBodyType string
DeleteVirtualCurrency423JSONResponseBodyType defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency423JSONResponseBodyTypeResourceLockedError DeleteVirtualCurrency423JSONResponseBodyType = "resource_locked_error"
)
Defines values for DeleteVirtualCurrency423JSONResponseBodyType.
func (DeleteVirtualCurrency423JSONResponseBodyType) Valid ¶
func (e DeleteVirtualCurrency423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency423JSONResponseBodyType enum.
type DeleteVirtualCurrency429JSONResponseBodyObject ¶
type DeleteVirtualCurrency429JSONResponseBodyObject string
DeleteVirtualCurrency429JSONResponseBodyObject defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency429JSONResponseBodyObjectError DeleteVirtualCurrency429JSONResponseBodyObject = "error"
)
Defines values for DeleteVirtualCurrency429JSONResponseBodyObject.
func (DeleteVirtualCurrency429JSONResponseBodyObject) Valid ¶
func (e DeleteVirtualCurrency429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency429JSONResponseBodyObject enum.
type DeleteVirtualCurrency429JSONResponseBodyType ¶
type DeleteVirtualCurrency429JSONResponseBodyType string
DeleteVirtualCurrency429JSONResponseBodyType defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency429JSONResponseBodyTypeRateLimitError DeleteVirtualCurrency429JSONResponseBodyType = "rate_limit_error"
)
Defines values for DeleteVirtualCurrency429JSONResponseBodyType.
func (DeleteVirtualCurrency429JSONResponseBodyType) Valid ¶
func (e DeleteVirtualCurrency429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency429JSONResponseBodyType enum.
type DeleteVirtualCurrency500JSONResponseBodyObject ¶
type DeleteVirtualCurrency500JSONResponseBodyObject string
DeleteVirtualCurrency500JSONResponseBodyObject defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency500JSONResponseBodyObjectError DeleteVirtualCurrency500JSONResponseBodyObject = "error"
)
Defines values for DeleteVirtualCurrency500JSONResponseBodyObject.
func (DeleteVirtualCurrency500JSONResponseBodyObject) Valid ¶
func (e DeleteVirtualCurrency500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency500JSONResponseBodyObject enum.
type DeleteVirtualCurrency500JSONResponseBodyType ¶
type DeleteVirtualCurrency500JSONResponseBodyType string
DeleteVirtualCurrency500JSONResponseBodyType defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency500JSONResponseBodyTypeServerError DeleteVirtualCurrency500JSONResponseBodyType = "server_error"
)
Defines values for DeleteVirtualCurrency500JSONResponseBodyType.
func (DeleteVirtualCurrency500JSONResponseBodyType) Valid ¶
func (e DeleteVirtualCurrency500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency500JSONResponseBodyType enum.
type DeleteVirtualCurrency503JSONResponseBodyObject ¶
type DeleteVirtualCurrency503JSONResponseBodyObject string
DeleteVirtualCurrency503JSONResponseBodyObject defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency503JSONResponseBodyObjectError DeleteVirtualCurrency503JSONResponseBodyObject = "error"
)
Defines values for DeleteVirtualCurrency503JSONResponseBodyObject.
func (DeleteVirtualCurrency503JSONResponseBodyObject) Valid ¶
func (e DeleteVirtualCurrency503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency503JSONResponseBodyObject enum.
type DeleteVirtualCurrency503JSONResponseBodyType ¶
type DeleteVirtualCurrency503JSONResponseBodyType string
DeleteVirtualCurrency503JSONResponseBodyType defines parameters for DeleteVirtualCurrency.
const (
DeleteVirtualCurrency503JSONResponseBodyTypeServerError DeleteVirtualCurrency503JSONResponseBodyType = "server_error"
)
Defines values for DeleteVirtualCurrency503JSONResponseBodyType.
func (DeleteVirtualCurrency503JSONResponseBodyType) Valid ¶
func (e DeleteVirtualCurrency503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteVirtualCurrency503JSONResponseBodyType enum.
type DeleteWebhookIntegration400JSONResponseBodyObject ¶
type DeleteWebhookIntegration400JSONResponseBodyObject string
DeleteWebhookIntegration400JSONResponseBodyObject defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration400JSONResponseBodyObjectError DeleteWebhookIntegration400JSONResponseBodyObject = "error"
)
Defines values for DeleteWebhookIntegration400JSONResponseBodyObject.
func (DeleteWebhookIntegration400JSONResponseBodyObject) Valid ¶
func (e DeleteWebhookIntegration400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration400JSONResponseBodyObject enum.
type DeleteWebhookIntegration400JSONResponseBodyType ¶
type DeleteWebhookIntegration400JSONResponseBodyType string
DeleteWebhookIntegration400JSONResponseBodyType defines parameters for DeleteWebhookIntegration.
const ( DeleteWebhookIntegration400JSONResponseBodyTypeInvalidRequest DeleteWebhookIntegration400JSONResponseBodyType = "invalid_request" DeleteWebhookIntegration400JSONResponseBodyTypeParameterError DeleteWebhookIntegration400JSONResponseBodyType = "parameter_error" )
Defines values for DeleteWebhookIntegration400JSONResponseBodyType.
func (DeleteWebhookIntegration400JSONResponseBodyType) Valid ¶
func (e DeleteWebhookIntegration400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration400JSONResponseBodyType enum.
type DeleteWebhookIntegration401JSONResponseBodyObject ¶
type DeleteWebhookIntegration401JSONResponseBodyObject string
DeleteWebhookIntegration401JSONResponseBodyObject defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration401JSONResponseBodyObjectError DeleteWebhookIntegration401JSONResponseBodyObject = "error"
)
Defines values for DeleteWebhookIntegration401JSONResponseBodyObject.
func (DeleteWebhookIntegration401JSONResponseBodyObject) Valid ¶
func (e DeleteWebhookIntegration401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration401JSONResponseBodyObject enum.
type DeleteWebhookIntegration401JSONResponseBodyType ¶
type DeleteWebhookIntegration401JSONResponseBodyType string
DeleteWebhookIntegration401JSONResponseBodyType defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration401JSONResponseBodyTypeAuthenticationError DeleteWebhookIntegration401JSONResponseBodyType = "authentication_error"
)
Defines values for DeleteWebhookIntegration401JSONResponseBodyType.
func (DeleteWebhookIntegration401JSONResponseBodyType) Valid ¶
func (e DeleteWebhookIntegration401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration401JSONResponseBodyType enum.
type DeleteWebhookIntegration403JSONResponseBodyObject ¶
type DeleteWebhookIntegration403JSONResponseBodyObject string
DeleteWebhookIntegration403JSONResponseBodyObject defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration403JSONResponseBodyObjectError DeleteWebhookIntegration403JSONResponseBodyObject = "error"
)
Defines values for DeleteWebhookIntegration403JSONResponseBodyObject.
func (DeleteWebhookIntegration403JSONResponseBodyObject) Valid ¶
func (e DeleteWebhookIntegration403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration403JSONResponseBodyObject enum.
type DeleteWebhookIntegration403JSONResponseBodyType ¶
type DeleteWebhookIntegration403JSONResponseBodyType string
DeleteWebhookIntegration403JSONResponseBodyType defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration403JSONResponseBodyTypeAuthorizationError DeleteWebhookIntegration403JSONResponseBodyType = "authorization_error"
)
Defines values for DeleteWebhookIntegration403JSONResponseBodyType.
func (DeleteWebhookIntegration403JSONResponseBodyType) Valid ¶
func (e DeleteWebhookIntegration403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration403JSONResponseBodyType enum.
type DeleteWebhookIntegration404JSONResponseBodyObject ¶
type DeleteWebhookIntegration404JSONResponseBodyObject string
DeleteWebhookIntegration404JSONResponseBodyObject defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration404JSONResponseBodyObjectError DeleteWebhookIntegration404JSONResponseBodyObject = "error"
)
Defines values for DeleteWebhookIntegration404JSONResponseBodyObject.
func (DeleteWebhookIntegration404JSONResponseBodyObject) Valid ¶
func (e DeleteWebhookIntegration404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration404JSONResponseBodyObject enum.
type DeleteWebhookIntegration404JSONResponseBodyType ¶
type DeleteWebhookIntegration404JSONResponseBodyType string
DeleteWebhookIntegration404JSONResponseBodyType defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration404JSONResponseBodyTypeResourceMissing DeleteWebhookIntegration404JSONResponseBodyType = "resource_missing"
)
Defines values for DeleteWebhookIntegration404JSONResponseBodyType.
func (DeleteWebhookIntegration404JSONResponseBodyType) Valid ¶
func (e DeleteWebhookIntegration404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration404JSONResponseBodyType enum.
type DeleteWebhookIntegration409JSONResponseBodyObject ¶
type DeleteWebhookIntegration409JSONResponseBodyObject string
DeleteWebhookIntegration409JSONResponseBodyObject defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration409JSONResponseBodyObjectError DeleteWebhookIntegration409JSONResponseBodyObject = "error"
)
Defines values for DeleteWebhookIntegration409JSONResponseBodyObject.
func (DeleteWebhookIntegration409JSONResponseBodyObject) Valid ¶
func (e DeleteWebhookIntegration409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration409JSONResponseBodyObject enum.
type DeleteWebhookIntegration409JSONResponseBodyType ¶
type DeleteWebhookIntegration409JSONResponseBodyType string
DeleteWebhookIntegration409JSONResponseBodyType defines parameters for DeleteWebhookIntegration.
const ( DeleteWebhookIntegration409JSONResponseBodyTypeIdempotencyError DeleteWebhookIntegration409JSONResponseBodyType = "idempotency_error" DeleteWebhookIntegration409JSONResponseBodyTypeInvalidRequest DeleteWebhookIntegration409JSONResponseBodyType = "invalid_request" DeleteWebhookIntegration409JSONResponseBodyTypeResourceAlreadyExists DeleteWebhookIntegration409JSONResponseBodyType = "resource_already_exists" )
Defines values for DeleteWebhookIntegration409JSONResponseBodyType.
func (DeleteWebhookIntegration409JSONResponseBodyType) Valid ¶
func (e DeleteWebhookIntegration409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration409JSONResponseBodyType enum.
type DeleteWebhookIntegration422JSONResponseBodyObject ¶
type DeleteWebhookIntegration422JSONResponseBodyObject string
DeleteWebhookIntegration422JSONResponseBodyObject defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration422JSONResponseBodyObjectError DeleteWebhookIntegration422JSONResponseBodyObject = "error"
)
Defines values for DeleteWebhookIntegration422JSONResponseBodyObject.
func (DeleteWebhookIntegration422JSONResponseBodyObject) Valid ¶
func (e DeleteWebhookIntegration422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration422JSONResponseBodyObject enum.
type DeleteWebhookIntegration422JSONResponseBodyType ¶
type DeleteWebhookIntegration422JSONResponseBodyType string
DeleteWebhookIntegration422JSONResponseBodyType defines parameters for DeleteWebhookIntegration.
const ( DeleteWebhookIntegration422JSONResponseBodyTypeEntityReferencesArchivedEntities DeleteWebhookIntegration422JSONResponseBodyType = "entity_references_archived_entities" DeleteWebhookIntegration422JSONResponseBodyTypeParameterError DeleteWebhookIntegration422JSONResponseBodyType = "parameter_error" DeleteWebhookIntegration422JSONResponseBodyTypeStoreError DeleteWebhookIntegration422JSONResponseBodyType = "store_error" DeleteWebhookIntegration422JSONResponseBodyTypeUnprocessableEntityError DeleteWebhookIntegration422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for DeleteWebhookIntegration422JSONResponseBodyType.
func (DeleteWebhookIntegration422JSONResponseBodyType) Valid ¶
func (e DeleteWebhookIntegration422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration422JSONResponseBodyType enum.
type DeleteWebhookIntegration423JSONResponseBodyObject ¶
type DeleteWebhookIntegration423JSONResponseBodyObject string
DeleteWebhookIntegration423JSONResponseBodyObject defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration423JSONResponseBodyObjectError DeleteWebhookIntegration423JSONResponseBodyObject = "error"
)
Defines values for DeleteWebhookIntegration423JSONResponseBodyObject.
func (DeleteWebhookIntegration423JSONResponseBodyObject) Valid ¶
func (e DeleteWebhookIntegration423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration423JSONResponseBodyObject enum.
type DeleteWebhookIntegration423JSONResponseBodyType ¶
type DeleteWebhookIntegration423JSONResponseBodyType string
DeleteWebhookIntegration423JSONResponseBodyType defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration423JSONResponseBodyTypeResourceLockedError DeleteWebhookIntegration423JSONResponseBodyType = "resource_locked_error"
)
Defines values for DeleteWebhookIntegration423JSONResponseBodyType.
func (DeleteWebhookIntegration423JSONResponseBodyType) Valid ¶
func (e DeleteWebhookIntegration423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration423JSONResponseBodyType enum.
type DeleteWebhookIntegration429JSONResponseBodyObject ¶
type DeleteWebhookIntegration429JSONResponseBodyObject string
DeleteWebhookIntegration429JSONResponseBodyObject defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration429JSONResponseBodyObjectError DeleteWebhookIntegration429JSONResponseBodyObject = "error"
)
Defines values for DeleteWebhookIntegration429JSONResponseBodyObject.
func (DeleteWebhookIntegration429JSONResponseBodyObject) Valid ¶
func (e DeleteWebhookIntegration429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration429JSONResponseBodyObject enum.
type DeleteWebhookIntegration429JSONResponseBodyType ¶
type DeleteWebhookIntegration429JSONResponseBodyType string
DeleteWebhookIntegration429JSONResponseBodyType defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration429JSONResponseBodyTypeRateLimitError DeleteWebhookIntegration429JSONResponseBodyType = "rate_limit_error"
)
Defines values for DeleteWebhookIntegration429JSONResponseBodyType.
func (DeleteWebhookIntegration429JSONResponseBodyType) Valid ¶
func (e DeleteWebhookIntegration429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration429JSONResponseBodyType enum.
type DeleteWebhookIntegration500JSONResponseBodyObject ¶
type DeleteWebhookIntegration500JSONResponseBodyObject string
DeleteWebhookIntegration500JSONResponseBodyObject defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration500JSONResponseBodyObjectError DeleteWebhookIntegration500JSONResponseBodyObject = "error"
)
Defines values for DeleteWebhookIntegration500JSONResponseBodyObject.
func (DeleteWebhookIntegration500JSONResponseBodyObject) Valid ¶
func (e DeleteWebhookIntegration500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration500JSONResponseBodyObject enum.
type DeleteWebhookIntegration500JSONResponseBodyType ¶
type DeleteWebhookIntegration500JSONResponseBodyType string
DeleteWebhookIntegration500JSONResponseBodyType defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration500JSONResponseBodyTypeServerError DeleteWebhookIntegration500JSONResponseBodyType = "server_error"
)
Defines values for DeleteWebhookIntegration500JSONResponseBodyType.
func (DeleteWebhookIntegration500JSONResponseBodyType) Valid ¶
func (e DeleteWebhookIntegration500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration500JSONResponseBodyType enum.
type DeleteWebhookIntegration503JSONResponseBodyObject ¶
type DeleteWebhookIntegration503JSONResponseBodyObject string
DeleteWebhookIntegration503JSONResponseBodyObject defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration503JSONResponseBodyObjectError DeleteWebhookIntegration503JSONResponseBodyObject = "error"
)
Defines values for DeleteWebhookIntegration503JSONResponseBodyObject.
func (DeleteWebhookIntegration503JSONResponseBodyObject) Valid ¶
func (e DeleteWebhookIntegration503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration503JSONResponseBodyObject enum.
type DeleteWebhookIntegration503JSONResponseBodyType ¶
type DeleteWebhookIntegration503JSONResponseBodyType string
DeleteWebhookIntegration503JSONResponseBodyType defines parameters for DeleteWebhookIntegration.
const (
DeleteWebhookIntegration503JSONResponseBodyTypeServerError DeleteWebhookIntegration503JSONResponseBodyType = "server_error"
)
Defines values for DeleteWebhookIntegration503JSONResponseBodyType.
func (DeleteWebhookIntegration503JSONResponseBodyType) Valid ¶
func (e DeleteWebhookIntegration503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DeleteWebhookIntegration503JSONResponseBodyType enum.
type DeletedObject ¶
type DeletedObject struct {
// DeletedAt The date when the object was deleted in ms since epoch
//
// Example: 1658399423658
DeletedAt int64 `json:"deleted_at"`
// ID The ID of the deleted object
ID string `json:"id"`
// Object The type of the deleted object
Object DeletedObjectObject `json:"object"`
}
DeletedObject defines model for DeletedObject.
type DeletedObjectObject ¶
type DeletedObjectObject string
DeletedObjectObject The type of the deleted object
const ( DeletedObjectObjectApp DeletedObjectObject = "app" DeletedObjectObjectChartAnnotation DeletedObjectObject = "chart_annotation" DeletedObjectObjectCustomer DeletedObjectObject = "customer" DeletedObjectObjectDiscount DeletedObjectObject = "discount" DeletedObjectObjectEntitlement DeletedObjectObject = "entitlement" DeletedObjectObjectExperiment DeletedObjectObject = "experiment" DeletedObjectObjectOffering DeletedObjectObject = "offering" DeletedObjectObjectPackage DeletedObjectObject = "package" DeletedObjectObjectPaywall DeletedObjectObject = "paywall" DeletedObjectObjectProduct DeletedObjectObject = "product" DeletedObjectObjectVirtualCurrency DeletedObjectObject = "virtual_currency" DeletedObjectObjectWebhookIntegration DeletedObjectObject = "webhook_integration" )
Defines values for DeletedObjectObject.
func (DeletedObjectObject) Valid ¶
func (e DeletedObjectObject) Valid() bool
Valid indicates whether the value is a known member of the DeletedObjectObject enum.
type DetachProductsFromEntitlement400JSONResponseBodyObject ¶
type DetachProductsFromEntitlement400JSONResponseBodyObject string
DetachProductsFromEntitlement400JSONResponseBodyObject defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement400JSONResponseBodyObjectError DetachProductsFromEntitlement400JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromEntitlement400JSONResponseBodyObject.
func (DetachProductsFromEntitlement400JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromEntitlement400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement400JSONResponseBodyObject enum.
type DetachProductsFromEntitlement400JSONResponseBodyType ¶
type DetachProductsFromEntitlement400JSONResponseBodyType string
DetachProductsFromEntitlement400JSONResponseBodyType defines parameters for DetachProductsFromEntitlement.
const ( DetachProductsFromEntitlement400JSONResponseBodyTypeInvalidRequest DetachProductsFromEntitlement400JSONResponseBodyType = "invalid_request" DetachProductsFromEntitlement400JSONResponseBodyTypeParameterError DetachProductsFromEntitlement400JSONResponseBodyType = "parameter_error" )
Defines values for DetachProductsFromEntitlement400JSONResponseBodyType.
func (DetachProductsFromEntitlement400JSONResponseBodyType) Valid ¶
func (e DetachProductsFromEntitlement400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement400JSONResponseBodyType enum.
type DetachProductsFromEntitlement401JSONResponseBodyObject ¶
type DetachProductsFromEntitlement401JSONResponseBodyObject string
DetachProductsFromEntitlement401JSONResponseBodyObject defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement401JSONResponseBodyObjectError DetachProductsFromEntitlement401JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromEntitlement401JSONResponseBodyObject.
func (DetachProductsFromEntitlement401JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromEntitlement401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement401JSONResponseBodyObject enum.
type DetachProductsFromEntitlement401JSONResponseBodyType ¶
type DetachProductsFromEntitlement401JSONResponseBodyType string
DetachProductsFromEntitlement401JSONResponseBodyType defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement401JSONResponseBodyTypeAuthenticationError DetachProductsFromEntitlement401JSONResponseBodyType = "authentication_error"
)
Defines values for DetachProductsFromEntitlement401JSONResponseBodyType.
func (DetachProductsFromEntitlement401JSONResponseBodyType) Valid ¶
func (e DetachProductsFromEntitlement401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement401JSONResponseBodyType enum.
type DetachProductsFromEntitlement403JSONResponseBodyObject ¶
type DetachProductsFromEntitlement403JSONResponseBodyObject string
DetachProductsFromEntitlement403JSONResponseBodyObject defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement403JSONResponseBodyObjectError DetachProductsFromEntitlement403JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromEntitlement403JSONResponseBodyObject.
func (DetachProductsFromEntitlement403JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromEntitlement403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement403JSONResponseBodyObject enum.
type DetachProductsFromEntitlement403JSONResponseBodyType ¶
type DetachProductsFromEntitlement403JSONResponseBodyType string
DetachProductsFromEntitlement403JSONResponseBodyType defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement403JSONResponseBodyTypeAuthorizationError DetachProductsFromEntitlement403JSONResponseBodyType = "authorization_error"
)
Defines values for DetachProductsFromEntitlement403JSONResponseBodyType.
func (DetachProductsFromEntitlement403JSONResponseBodyType) Valid ¶
func (e DetachProductsFromEntitlement403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement403JSONResponseBodyType enum.
type DetachProductsFromEntitlement404JSONResponseBodyObject ¶
type DetachProductsFromEntitlement404JSONResponseBodyObject string
DetachProductsFromEntitlement404JSONResponseBodyObject defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement404JSONResponseBodyObjectError DetachProductsFromEntitlement404JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromEntitlement404JSONResponseBodyObject.
func (DetachProductsFromEntitlement404JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromEntitlement404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement404JSONResponseBodyObject enum.
type DetachProductsFromEntitlement404JSONResponseBodyType ¶
type DetachProductsFromEntitlement404JSONResponseBodyType string
DetachProductsFromEntitlement404JSONResponseBodyType defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement404JSONResponseBodyTypeResourceMissing DetachProductsFromEntitlement404JSONResponseBodyType = "resource_missing"
)
Defines values for DetachProductsFromEntitlement404JSONResponseBodyType.
func (DetachProductsFromEntitlement404JSONResponseBodyType) Valid ¶
func (e DetachProductsFromEntitlement404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement404JSONResponseBodyType enum.
type DetachProductsFromEntitlement409JSONResponseBodyObject ¶
type DetachProductsFromEntitlement409JSONResponseBodyObject string
DetachProductsFromEntitlement409JSONResponseBodyObject defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement409JSONResponseBodyObjectError DetachProductsFromEntitlement409JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromEntitlement409JSONResponseBodyObject.
func (DetachProductsFromEntitlement409JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromEntitlement409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement409JSONResponseBodyObject enum.
type DetachProductsFromEntitlement409JSONResponseBodyType ¶
type DetachProductsFromEntitlement409JSONResponseBodyType string
DetachProductsFromEntitlement409JSONResponseBodyType defines parameters for DetachProductsFromEntitlement.
const ( DetachProductsFromEntitlement409JSONResponseBodyTypeIdempotencyError DetachProductsFromEntitlement409JSONResponseBodyType = "idempotency_error" DetachProductsFromEntitlement409JSONResponseBodyTypeInvalidRequest DetachProductsFromEntitlement409JSONResponseBodyType = "invalid_request" DetachProductsFromEntitlement409JSONResponseBodyTypeResourceAlreadyExists DetachProductsFromEntitlement409JSONResponseBodyType = "resource_already_exists" )
Defines values for DetachProductsFromEntitlement409JSONResponseBodyType.
func (DetachProductsFromEntitlement409JSONResponseBodyType) Valid ¶
func (e DetachProductsFromEntitlement409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement409JSONResponseBodyType enum.
type DetachProductsFromEntitlement422JSONResponseBodyObject ¶
type DetachProductsFromEntitlement422JSONResponseBodyObject string
DetachProductsFromEntitlement422JSONResponseBodyObject defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement422JSONResponseBodyObjectError DetachProductsFromEntitlement422JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromEntitlement422JSONResponseBodyObject.
func (DetachProductsFromEntitlement422JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromEntitlement422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement422JSONResponseBodyObject enum.
type DetachProductsFromEntitlement422JSONResponseBodyType ¶
type DetachProductsFromEntitlement422JSONResponseBodyType string
DetachProductsFromEntitlement422JSONResponseBodyType defines parameters for DetachProductsFromEntitlement.
const ( DetachProductsFromEntitlement422JSONResponseBodyTypeEntityReferencesArchivedEntities DetachProductsFromEntitlement422JSONResponseBodyType = "entity_references_archived_entities" DetachProductsFromEntitlement422JSONResponseBodyTypeParameterError DetachProductsFromEntitlement422JSONResponseBodyType = "parameter_error" DetachProductsFromEntitlement422JSONResponseBodyTypeStoreError DetachProductsFromEntitlement422JSONResponseBodyType = "store_error" DetachProductsFromEntitlement422JSONResponseBodyTypeUnprocessableEntityError DetachProductsFromEntitlement422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for DetachProductsFromEntitlement422JSONResponseBodyType.
func (DetachProductsFromEntitlement422JSONResponseBodyType) Valid ¶
func (e DetachProductsFromEntitlement422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement422JSONResponseBodyType enum.
type DetachProductsFromEntitlement423JSONResponseBodyObject ¶
type DetachProductsFromEntitlement423JSONResponseBodyObject string
DetachProductsFromEntitlement423JSONResponseBodyObject defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement423JSONResponseBodyObjectError DetachProductsFromEntitlement423JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromEntitlement423JSONResponseBodyObject.
func (DetachProductsFromEntitlement423JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromEntitlement423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement423JSONResponseBodyObject enum.
type DetachProductsFromEntitlement423JSONResponseBodyType ¶
type DetachProductsFromEntitlement423JSONResponseBodyType string
DetachProductsFromEntitlement423JSONResponseBodyType defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement423JSONResponseBodyTypeResourceLockedError DetachProductsFromEntitlement423JSONResponseBodyType = "resource_locked_error"
)
Defines values for DetachProductsFromEntitlement423JSONResponseBodyType.
func (DetachProductsFromEntitlement423JSONResponseBodyType) Valid ¶
func (e DetachProductsFromEntitlement423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement423JSONResponseBodyType enum.
type DetachProductsFromEntitlement429JSONResponseBodyObject ¶
type DetachProductsFromEntitlement429JSONResponseBodyObject string
DetachProductsFromEntitlement429JSONResponseBodyObject defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement429JSONResponseBodyObjectError DetachProductsFromEntitlement429JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromEntitlement429JSONResponseBodyObject.
func (DetachProductsFromEntitlement429JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromEntitlement429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement429JSONResponseBodyObject enum.
type DetachProductsFromEntitlement429JSONResponseBodyType ¶
type DetachProductsFromEntitlement429JSONResponseBodyType string
DetachProductsFromEntitlement429JSONResponseBodyType defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement429JSONResponseBodyTypeRateLimitError DetachProductsFromEntitlement429JSONResponseBodyType = "rate_limit_error"
)
Defines values for DetachProductsFromEntitlement429JSONResponseBodyType.
func (DetachProductsFromEntitlement429JSONResponseBodyType) Valid ¶
func (e DetachProductsFromEntitlement429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement429JSONResponseBodyType enum.
type DetachProductsFromEntitlement500JSONResponseBodyObject ¶
type DetachProductsFromEntitlement500JSONResponseBodyObject string
DetachProductsFromEntitlement500JSONResponseBodyObject defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement500JSONResponseBodyObjectError DetachProductsFromEntitlement500JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromEntitlement500JSONResponseBodyObject.
func (DetachProductsFromEntitlement500JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromEntitlement500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement500JSONResponseBodyObject enum.
type DetachProductsFromEntitlement500JSONResponseBodyType ¶
type DetachProductsFromEntitlement500JSONResponseBodyType string
DetachProductsFromEntitlement500JSONResponseBodyType defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement500JSONResponseBodyTypeServerError DetachProductsFromEntitlement500JSONResponseBodyType = "server_error"
)
Defines values for DetachProductsFromEntitlement500JSONResponseBodyType.
func (DetachProductsFromEntitlement500JSONResponseBodyType) Valid ¶
func (e DetachProductsFromEntitlement500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement500JSONResponseBodyType enum.
type DetachProductsFromEntitlement503JSONResponseBodyObject ¶
type DetachProductsFromEntitlement503JSONResponseBodyObject string
DetachProductsFromEntitlement503JSONResponseBodyObject defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement503JSONResponseBodyObjectError DetachProductsFromEntitlement503JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromEntitlement503JSONResponseBodyObject.
func (DetachProductsFromEntitlement503JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromEntitlement503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement503JSONResponseBodyObject enum.
type DetachProductsFromEntitlement503JSONResponseBodyType ¶
type DetachProductsFromEntitlement503JSONResponseBodyType string
DetachProductsFromEntitlement503JSONResponseBodyType defines parameters for DetachProductsFromEntitlement.
const (
DetachProductsFromEntitlement503JSONResponseBodyTypeServerError DetachProductsFromEntitlement503JSONResponseBodyType = "server_error"
)
Defines values for DetachProductsFromEntitlement503JSONResponseBodyType.
func (DetachProductsFromEntitlement503JSONResponseBodyType) Valid ¶
func (e DetachProductsFromEntitlement503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromEntitlement503JSONResponseBodyType enum.
type DetachProductsFromEntitlementJSONBody ¶
type DetachProductsFromEntitlementJSONBody struct {
// ProductIds IDs of the products to be detached from the entitlement.
ProductIds []string `json:"product_ids"`
}
DetachProductsFromEntitlementJSONBody defines parameters for DetachProductsFromEntitlement.
type DetachProductsFromEntitlementJSONRequestBody ¶
type DetachProductsFromEntitlementJSONRequestBody DetachProductsFromEntitlementJSONBody
DetachProductsFromEntitlementJSONRequestBody defines body for DetachProductsFromEntitlement for application/json ContentType.
type DetachProductsFromPackage400JSONResponseBodyObject ¶
type DetachProductsFromPackage400JSONResponseBodyObject string
DetachProductsFromPackage400JSONResponseBodyObject defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage400JSONResponseBodyObjectError DetachProductsFromPackage400JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromPackage400JSONResponseBodyObject.
func (DetachProductsFromPackage400JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromPackage400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage400JSONResponseBodyObject enum.
type DetachProductsFromPackage400JSONResponseBodyType ¶
type DetachProductsFromPackage400JSONResponseBodyType string
DetachProductsFromPackage400JSONResponseBodyType defines parameters for DetachProductsFromPackage.
const ( DetachProductsFromPackage400JSONResponseBodyTypeInvalidRequest DetachProductsFromPackage400JSONResponseBodyType = "invalid_request" DetachProductsFromPackage400JSONResponseBodyTypeParameterError DetachProductsFromPackage400JSONResponseBodyType = "parameter_error" )
Defines values for DetachProductsFromPackage400JSONResponseBodyType.
func (DetachProductsFromPackage400JSONResponseBodyType) Valid ¶
func (e DetachProductsFromPackage400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage400JSONResponseBodyType enum.
type DetachProductsFromPackage401JSONResponseBodyObject ¶
type DetachProductsFromPackage401JSONResponseBodyObject string
DetachProductsFromPackage401JSONResponseBodyObject defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage401JSONResponseBodyObjectError DetachProductsFromPackage401JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromPackage401JSONResponseBodyObject.
func (DetachProductsFromPackage401JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromPackage401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage401JSONResponseBodyObject enum.
type DetachProductsFromPackage401JSONResponseBodyType ¶
type DetachProductsFromPackage401JSONResponseBodyType string
DetachProductsFromPackage401JSONResponseBodyType defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage401JSONResponseBodyTypeAuthenticationError DetachProductsFromPackage401JSONResponseBodyType = "authentication_error"
)
Defines values for DetachProductsFromPackage401JSONResponseBodyType.
func (DetachProductsFromPackage401JSONResponseBodyType) Valid ¶
func (e DetachProductsFromPackage401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage401JSONResponseBodyType enum.
type DetachProductsFromPackage403JSONResponseBodyObject ¶
type DetachProductsFromPackage403JSONResponseBodyObject string
DetachProductsFromPackage403JSONResponseBodyObject defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage403JSONResponseBodyObjectError DetachProductsFromPackage403JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromPackage403JSONResponseBodyObject.
func (DetachProductsFromPackage403JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromPackage403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage403JSONResponseBodyObject enum.
type DetachProductsFromPackage403JSONResponseBodyType ¶
type DetachProductsFromPackage403JSONResponseBodyType string
DetachProductsFromPackage403JSONResponseBodyType defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage403JSONResponseBodyTypeAuthorizationError DetachProductsFromPackage403JSONResponseBodyType = "authorization_error"
)
Defines values for DetachProductsFromPackage403JSONResponseBodyType.
func (DetachProductsFromPackage403JSONResponseBodyType) Valid ¶
func (e DetachProductsFromPackage403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage403JSONResponseBodyType enum.
type DetachProductsFromPackage404JSONResponseBodyObject ¶
type DetachProductsFromPackage404JSONResponseBodyObject string
DetachProductsFromPackage404JSONResponseBodyObject defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage404JSONResponseBodyObjectError DetachProductsFromPackage404JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromPackage404JSONResponseBodyObject.
func (DetachProductsFromPackage404JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromPackage404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage404JSONResponseBodyObject enum.
type DetachProductsFromPackage404JSONResponseBodyType ¶
type DetachProductsFromPackage404JSONResponseBodyType string
DetachProductsFromPackage404JSONResponseBodyType defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage404JSONResponseBodyTypeResourceMissing DetachProductsFromPackage404JSONResponseBodyType = "resource_missing"
)
Defines values for DetachProductsFromPackage404JSONResponseBodyType.
func (DetachProductsFromPackage404JSONResponseBodyType) Valid ¶
func (e DetachProductsFromPackage404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage404JSONResponseBodyType enum.
type DetachProductsFromPackage409JSONResponseBodyObject ¶
type DetachProductsFromPackage409JSONResponseBodyObject string
DetachProductsFromPackage409JSONResponseBodyObject defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage409JSONResponseBodyObjectError DetachProductsFromPackage409JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromPackage409JSONResponseBodyObject.
func (DetachProductsFromPackage409JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromPackage409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage409JSONResponseBodyObject enum.
type DetachProductsFromPackage409JSONResponseBodyType ¶
type DetachProductsFromPackage409JSONResponseBodyType string
DetachProductsFromPackage409JSONResponseBodyType defines parameters for DetachProductsFromPackage.
const ( DetachProductsFromPackage409JSONResponseBodyTypeIdempotencyError DetachProductsFromPackage409JSONResponseBodyType = "idempotency_error" DetachProductsFromPackage409JSONResponseBodyTypeInvalidRequest DetachProductsFromPackage409JSONResponseBodyType = "invalid_request" DetachProductsFromPackage409JSONResponseBodyTypeResourceAlreadyExists DetachProductsFromPackage409JSONResponseBodyType = "resource_already_exists" )
Defines values for DetachProductsFromPackage409JSONResponseBodyType.
func (DetachProductsFromPackage409JSONResponseBodyType) Valid ¶
func (e DetachProductsFromPackage409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage409JSONResponseBodyType enum.
type DetachProductsFromPackage422JSONResponseBodyObject ¶
type DetachProductsFromPackage422JSONResponseBodyObject string
DetachProductsFromPackage422JSONResponseBodyObject defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage422JSONResponseBodyObjectError DetachProductsFromPackage422JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromPackage422JSONResponseBodyObject.
func (DetachProductsFromPackage422JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromPackage422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage422JSONResponseBodyObject enum.
type DetachProductsFromPackage422JSONResponseBodyType ¶
type DetachProductsFromPackage422JSONResponseBodyType string
DetachProductsFromPackage422JSONResponseBodyType defines parameters for DetachProductsFromPackage.
const ( DetachProductsFromPackage422JSONResponseBodyTypeEntityReferencesArchivedEntities DetachProductsFromPackage422JSONResponseBodyType = "entity_references_archived_entities" DetachProductsFromPackage422JSONResponseBodyTypeParameterError DetachProductsFromPackage422JSONResponseBodyType = "parameter_error" DetachProductsFromPackage422JSONResponseBodyTypeStoreError DetachProductsFromPackage422JSONResponseBodyType = "store_error" DetachProductsFromPackage422JSONResponseBodyTypeUnprocessableEntityError DetachProductsFromPackage422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for DetachProductsFromPackage422JSONResponseBodyType.
func (DetachProductsFromPackage422JSONResponseBodyType) Valid ¶
func (e DetachProductsFromPackage422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage422JSONResponseBodyType enum.
type DetachProductsFromPackage423JSONResponseBodyObject ¶
type DetachProductsFromPackage423JSONResponseBodyObject string
DetachProductsFromPackage423JSONResponseBodyObject defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage423JSONResponseBodyObjectError DetachProductsFromPackage423JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromPackage423JSONResponseBodyObject.
func (DetachProductsFromPackage423JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromPackage423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage423JSONResponseBodyObject enum.
type DetachProductsFromPackage423JSONResponseBodyType ¶
type DetachProductsFromPackage423JSONResponseBodyType string
DetachProductsFromPackage423JSONResponseBodyType defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage423JSONResponseBodyTypeResourceLockedError DetachProductsFromPackage423JSONResponseBodyType = "resource_locked_error"
)
Defines values for DetachProductsFromPackage423JSONResponseBodyType.
func (DetachProductsFromPackage423JSONResponseBodyType) Valid ¶
func (e DetachProductsFromPackage423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage423JSONResponseBodyType enum.
type DetachProductsFromPackage429JSONResponseBodyObject ¶
type DetachProductsFromPackage429JSONResponseBodyObject string
DetachProductsFromPackage429JSONResponseBodyObject defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage429JSONResponseBodyObjectError DetachProductsFromPackage429JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromPackage429JSONResponseBodyObject.
func (DetachProductsFromPackage429JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromPackage429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage429JSONResponseBodyObject enum.
type DetachProductsFromPackage429JSONResponseBodyType ¶
type DetachProductsFromPackage429JSONResponseBodyType string
DetachProductsFromPackage429JSONResponseBodyType defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage429JSONResponseBodyTypeRateLimitError DetachProductsFromPackage429JSONResponseBodyType = "rate_limit_error"
)
Defines values for DetachProductsFromPackage429JSONResponseBodyType.
func (DetachProductsFromPackage429JSONResponseBodyType) Valid ¶
func (e DetachProductsFromPackage429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage429JSONResponseBodyType enum.
type DetachProductsFromPackage500JSONResponseBodyObject ¶
type DetachProductsFromPackage500JSONResponseBodyObject string
DetachProductsFromPackage500JSONResponseBodyObject defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage500JSONResponseBodyObjectError DetachProductsFromPackage500JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromPackage500JSONResponseBodyObject.
func (DetachProductsFromPackage500JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromPackage500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage500JSONResponseBodyObject enum.
type DetachProductsFromPackage500JSONResponseBodyType ¶
type DetachProductsFromPackage500JSONResponseBodyType string
DetachProductsFromPackage500JSONResponseBodyType defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage500JSONResponseBodyTypeServerError DetachProductsFromPackage500JSONResponseBodyType = "server_error"
)
Defines values for DetachProductsFromPackage500JSONResponseBodyType.
func (DetachProductsFromPackage500JSONResponseBodyType) Valid ¶
func (e DetachProductsFromPackage500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage500JSONResponseBodyType enum.
type DetachProductsFromPackage503JSONResponseBodyObject ¶
type DetachProductsFromPackage503JSONResponseBodyObject string
DetachProductsFromPackage503JSONResponseBodyObject defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage503JSONResponseBodyObjectError DetachProductsFromPackage503JSONResponseBodyObject = "error"
)
Defines values for DetachProductsFromPackage503JSONResponseBodyObject.
func (DetachProductsFromPackage503JSONResponseBodyObject) Valid ¶
func (e DetachProductsFromPackage503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage503JSONResponseBodyObject enum.
type DetachProductsFromPackage503JSONResponseBodyType ¶
type DetachProductsFromPackage503JSONResponseBodyType string
DetachProductsFromPackage503JSONResponseBodyType defines parameters for DetachProductsFromPackage.
const (
DetachProductsFromPackage503JSONResponseBodyTypeServerError DetachProductsFromPackage503JSONResponseBodyType = "server_error"
)
Defines values for DetachProductsFromPackage503JSONResponseBodyType.
func (DetachProductsFromPackage503JSONResponseBodyType) Valid ¶
func (e DetachProductsFromPackage503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the DetachProductsFromPackage503JSONResponseBodyType enum.
type DetachProductsFromPackageJSONBody ¶
type DetachProductsFromPackageJSONBody struct {
// ProductIds IDs of the products to detach from the package
ProductIds []string `json:"product_ids"`
}
DetachProductsFromPackageJSONBody defines parameters for DetachProductsFromPackage.
type DetachProductsFromPackageJSONRequestBody ¶
type DetachProductsFromPackageJSONRequestBody DetachProductsFromPackageJSONBody
DetachProductsFromPackageJSONRequestBody defines body for DetachProductsFromPackage for application/json ContentType.
type Duration ¶
type Duration string
Duration The duration of the product subscription. This field is only supported for the test store and it is ignored for other stores.
Example: P1W
type EligibilityCriteria ¶
type EligibilityCriteria string
EligibilityCriteria defines model for EligibilityCriteria.
const ( All EligibilityCriteria = "all" GoogleSdkGe6 EligibilityCriteria = "google_sdk_ge_6" GoogleSdkLt6 EligibilityCriteria = "google_sdk_lt_6" )
Defines values for EligibilityCriteria.
func (EligibilityCriteria) Valid ¶
func (e EligibilityCriteria) Valid() bool
Valid indicates whether the value is a known member of the EligibilityCriteria enum.
type Entitlement ¶
type Entitlement struct {
// CreatedAt The date when the entitlement was created in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// DisplayName The display name of the entitlement
//
// Example: Premium
DisplayName string `json:"display_name"`
// ID The id of the entitlement
//
// Example: entla1b2c3d4e5
ID string `json:"id"`
// LookupKey A custom identifier of the entitlement
//
// Example: premium
LookupKey string `json:"lookup_key"`
// Object String representing the object's type. Objects of the same type share the same value.
Object EntitlementObject `json:"object"`
// Products List of products attached to the entitlement
Products *struct {
// Items Details about each object.
Items []Product `json:"items"`
// NextPage URL to access the next page of the Entitlement's products. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object EntitlementProductsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products
URL string `json:"url"`
} `json:"products,omitempty"`
// ProjectID ID of the project to which the entitlement belongs
//
// Example: proj1ab2c3d4
ProjectID string `json:"project_id"`
// State Whether the entitlement is active or inactive (archived).
//
// Example: active
State EntitlementState `json:"state"`
}
Entitlement defines model for Entitlement.
type EntitlementCreate ¶
type EntitlementObject ¶
type EntitlementObject string
EntitlementObject String representing the object's type. Objects of the same type share the same value.
const (
EntitlementObjectEntitlement EntitlementObject = "entitlement"
)
Defines values for EntitlementObject.
func (EntitlementObject) Valid ¶
func (e EntitlementObject) Valid() bool
Valid indicates whether the value is a known member of the EntitlementObject enum.
type EntitlementProductsObject ¶
type EntitlementProductsObject string
EntitlementProductsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
EntitlementProductsObjectList EntitlementProductsObject = "list"
)
Defines values for EntitlementProductsObject.
func (EntitlementProductsObject) Valid ¶
func (e EntitlementProductsObject) Valid() bool
Valid indicates whether the value is a known member of the EntitlementProductsObject enum.
type EntitlementState ¶
type EntitlementState string
EntitlementState Whether the entitlement is active or inactive (archived).
Example: active
const ( EntitlementStateActive EntitlementState = "active" EntitlementStateInactive EntitlementState = "inactive" )
Defines values for EntitlementState.
func (EntitlementState) Valid ¶
func (e EntitlementState) Valid() bool
Valid indicates whether the value is a known member of the EntitlementState enum.
type EntitlementUpdate ¶
type EntitlementUpdate struct {
DisplayName *string `json:"display_name,omitempty"`
}
type EntitlementsService ¶
type EntitlementsService struct {
// contains filtered or unexported fields
}
func (*EntitlementsService) Archive ¶
func (s *EntitlementsService) Archive(ctx context.Context, projectID, id string) (*Entitlement, error)
POST /projects/{project_id}/entitlements/{id}/actions/archive
func (*EntitlementsService) AttachProducts ¶
func (s *EntitlementsService) AttachProducts(ctx context.Context, projectID, id string, productIDs []string) error
POST /projects/{project_id}/entitlements/{id}/actions/attach_products
func (*EntitlementsService) Create ¶
func (s *EntitlementsService) Create(ctx context.Context, projectID string, body EntitlementCreate) (*Entitlement, error)
POST /projects/{project_id}/entitlements
func (*EntitlementsService) Delete ¶
func (s *EntitlementsService) Delete(ctx context.Context, projectID, id string) error
DELETE /projects/{project_id}/entitlements/{id}
func (*EntitlementsService) DetachProducts ¶
func (s *EntitlementsService) DetachProducts(ctx context.Context, projectID, id string, productIDs []string) error
POST /projects/{project_id}/entitlements/{id}/actions/detach_products
func (*EntitlementsService) Get ¶
func (s *EntitlementsService) Get(ctx context.Context, projectID, id string) (*Entitlement, error)
GET /projects/{project_id}/entitlements/{id}
func (*EntitlementsService) List ¶
func (s *EntitlementsService) List(ctx context.Context, projectID string) (*Page[Entitlement], error)
GET /projects/{project_id}/entitlements
func (*EntitlementsService) ListProducts ¶
func (s *EntitlementsService) ListProducts(ctx context.Context, projectID, id string) (*Page[Product], error)
GET /projects/{project_id}/entitlements/{id}/products
func (*EntitlementsService) Restore ¶
func (s *EntitlementsService) Restore(ctx context.Context, projectID, id string) (*Entitlement, error)
POST /projects/{project_id}/entitlements/{id}/actions/unarchive
func (*EntitlementsService) Update ¶
func (s *EntitlementsService) Update(ctx context.Context, projectID, id string, body EntitlementUpdate) (*Entitlement, error)
POST /projects/{project_id}/entitlements/{id}
type Environment ¶
type Environment string
Environment The store environment
Example: production
const ( EnvironmentProduction Environment = "production" EnvironmentSandbox Environment = "sandbox" )
Defines values for Environment.
func (Environment) Valid ¶
func (e Environment) Valid() bool
Valid indicates whether the value is a known member of the Environment enum.
type ExperimentEnrollment ¶
type ExperimentEnrollment struct {
ID string `json:"id"`
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object ExperimentEnrollmentObject `json:"object"`
// Variant The variant of the Experiment that the Customer was or is assigned to, where 'a' represents the Control, and 'b' represents the Treatment.
//
// Example: a
Variant string `json:"variant"`
}
ExperimentEnrollment defines model for ExperimentEnrollment.
type ExperimentEnrollmentObject ¶
type ExperimentEnrollmentObject string
ExperimentEnrollmentObject String representing the object's type. Objects of the same type share the same value.
const (
ExperimentEnrollmentObjectExperimentEnrollment ExperimentEnrollmentObject = "experiment_enrollment"
)
Defines values for ExperimentEnrollmentObject.
func (ExperimentEnrollmentObject) Valid ¶
func (e ExperimentEnrollmentObject) Valid() bool
Valid indicates whether the value is a known member of the ExperimentEnrollmentObject enum.
type ExtendSubscription400JSONResponseBodyObject ¶
type ExtendSubscription400JSONResponseBodyObject string
ExtendSubscription400JSONResponseBodyObject defines parameters for ExtendSubscription.
const (
ExtendSubscription400JSONResponseBodyObjectError ExtendSubscription400JSONResponseBodyObject = "error"
)
Defines values for ExtendSubscription400JSONResponseBodyObject.
func (ExtendSubscription400JSONResponseBodyObject) Valid ¶
func (e ExtendSubscription400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription400JSONResponseBodyObject enum.
type ExtendSubscription400JSONResponseBodyType ¶
type ExtendSubscription400JSONResponseBodyType string
ExtendSubscription400JSONResponseBodyType defines parameters for ExtendSubscription.
const ( ExtendSubscription400JSONResponseBodyTypeInvalidRequest ExtendSubscription400JSONResponseBodyType = "invalid_request" ExtendSubscription400JSONResponseBodyTypeParameterError ExtendSubscription400JSONResponseBodyType = "parameter_error" )
Defines values for ExtendSubscription400JSONResponseBodyType.
func (ExtendSubscription400JSONResponseBodyType) Valid ¶
func (e ExtendSubscription400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription400JSONResponseBodyType enum.
type ExtendSubscription401JSONResponseBodyObject ¶
type ExtendSubscription401JSONResponseBodyObject string
ExtendSubscription401JSONResponseBodyObject defines parameters for ExtendSubscription.
const (
ExtendSubscription401JSONResponseBodyObjectError ExtendSubscription401JSONResponseBodyObject = "error"
)
Defines values for ExtendSubscription401JSONResponseBodyObject.
func (ExtendSubscription401JSONResponseBodyObject) Valid ¶
func (e ExtendSubscription401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription401JSONResponseBodyObject enum.
type ExtendSubscription401JSONResponseBodyType ¶
type ExtendSubscription401JSONResponseBodyType string
ExtendSubscription401JSONResponseBodyType defines parameters for ExtendSubscription.
const (
ExtendSubscription401JSONResponseBodyTypeAuthenticationError ExtendSubscription401JSONResponseBodyType = "authentication_error"
)
Defines values for ExtendSubscription401JSONResponseBodyType.
func (ExtendSubscription401JSONResponseBodyType) Valid ¶
func (e ExtendSubscription401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription401JSONResponseBodyType enum.
type ExtendSubscription403JSONResponseBodyObject ¶
type ExtendSubscription403JSONResponseBodyObject string
ExtendSubscription403JSONResponseBodyObject defines parameters for ExtendSubscription.
const (
ExtendSubscription403JSONResponseBodyObjectError ExtendSubscription403JSONResponseBodyObject = "error"
)
Defines values for ExtendSubscription403JSONResponseBodyObject.
func (ExtendSubscription403JSONResponseBodyObject) Valid ¶
func (e ExtendSubscription403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription403JSONResponseBodyObject enum.
type ExtendSubscription403JSONResponseBodyType ¶
type ExtendSubscription403JSONResponseBodyType string
ExtendSubscription403JSONResponseBodyType defines parameters for ExtendSubscription.
const (
ExtendSubscription403JSONResponseBodyTypeAuthorizationError ExtendSubscription403JSONResponseBodyType = "authorization_error"
)
Defines values for ExtendSubscription403JSONResponseBodyType.
func (ExtendSubscription403JSONResponseBodyType) Valid ¶
func (e ExtendSubscription403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription403JSONResponseBodyType enum.
type ExtendSubscription404JSONResponseBodyObject ¶
type ExtendSubscription404JSONResponseBodyObject string
ExtendSubscription404JSONResponseBodyObject defines parameters for ExtendSubscription.
const (
ExtendSubscription404JSONResponseBodyObjectError ExtendSubscription404JSONResponseBodyObject = "error"
)
Defines values for ExtendSubscription404JSONResponseBodyObject.
func (ExtendSubscription404JSONResponseBodyObject) Valid ¶
func (e ExtendSubscription404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription404JSONResponseBodyObject enum.
type ExtendSubscription404JSONResponseBodyType ¶
type ExtendSubscription404JSONResponseBodyType string
ExtendSubscription404JSONResponseBodyType defines parameters for ExtendSubscription.
const (
ExtendSubscription404JSONResponseBodyTypeResourceMissing ExtendSubscription404JSONResponseBodyType = "resource_missing"
)
Defines values for ExtendSubscription404JSONResponseBodyType.
func (ExtendSubscription404JSONResponseBodyType) Valid ¶
func (e ExtendSubscription404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription404JSONResponseBodyType enum.
type ExtendSubscription409JSONResponseBodyObject ¶
type ExtendSubscription409JSONResponseBodyObject string
ExtendSubscription409JSONResponseBodyObject defines parameters for ExtendSubscription.
const (
ExtendSubscription409JSONResponseBodyObjectError ExtendSubscription409JSONResponseBodyObject = "error"
)
Defines values for ExtendSubscription409JSONResponseBodyObject.
func (ExtendSubscription409JSONResponseBodyObject) Valid ¶
func (e ExtendSubscription409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription409JSONResponseBodyObject enum.
type ExtendSubscription409JSONResponseBodyType ¶
type ExtendSubscription409JSONResponseBodyType string
ExtendSubscription409JSONResponseBodyType defines parameters for ExtendSubscription.
const ( ExtendSubscription409JSONResponseBodyTypeIdempotencyError ExtendSubscription409JSONResponseBodyType = "idempotency_error" ExtendSubscription409JSONResponseBodyTypeInvalidRequest ExtendSubscription409JSONResponseBodyType = "invalid_request" ExtendSubscription409JSONResponseBodyTypeResourceAlreadyExists ExtendSubscription409JSONResponseBodyType = "resource_already_exists" )
Defines values for ExtendSubscription409JSONResponseBodyType.
func (ExtendSubscription409JSONResponseBodyType) Valid ¶
func (e ExtendSubscription409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription409JSONResponseBodyType enum.
type ExtendSubscription422JSONResponseBodyObject ¶
type ExtendSubscription422JSONResponseBodyObject string
ExtendSubscription422JSONResponseBodyObject defines parameters for ExtendSubscription.
const (
ExtendSubscription422JSONResponseBodyObjectError ExtendSubscription422JSONResponseBodyObject = "error"
)
Defines values for ExtendSubscription422JSONResponseBodyObject.
func (ExtendSubscription422JSONResponseBodyObject) Valid ¶
func (e ExtendSubscription422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription422JSONResponseBodyObject enum.
type ExtendSubscription422JSONResponseBodyType ¶
type ExtendSubscription422JSONResponseBodyType string
ExtendSubscription422JSONResponseBodyType defines parameters for ExtendSubscription.
const ( ExtendSubscription422JSONResponseBodyTypeEntityReferencesArchivedEntities ExtendSubscription422JSONResponseBodyType = "entity_references_archived_entities" ExtendSubscription422JSONResponseBodyTypeParameterError ExtendSubscription422JSONResponseBodyType = "parameter_error" ExtendSubscription422JSONResponseBodyTypeStoreError ExtendSubscription422JSONResponseBodyType = "store_error" ExtendSubscription422JSONResponseBodyTypeUnprocessableEntityError ExtendSubscription422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for ExtendSubscription422JSONResponseBodyType.
func (ExtendSubscription422JSONResponseBodyType) Valid ¶
func (e ExtendSubscription422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription422JSONResponseBodyType enum.
type ExtendSubscription423JSONResponseBodyObject ¶
type ExtendSubscription423JSONResponseBodyObject string
ExtendSubscription423JSONResponseBodyObject defines parameters for ExtendSubscription.
const (
ExtendSubscription423JSONResponseBodyObjectError ExtendSubscription423JSONResponseBodyObject = "error"
)
Defines values for ExtendSubscription423JSONResponseBodyObject.
func (ExtendSubscription423JSONResponseBodyObject) Valid ¶
func (e ExtendSubscription423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription423JSONResponseBodyObject enum.
type ExtendSubscription423JSONResponseBodyType ¶
type ExtendSubscription423JSONResponseBodyType string
ExtendSubscription423JSONResponseBodyType defines parameters for ExtendSubscription.
const (
ExtendSubscription423JSONResponseBodyTypeResourceLockedError ExtendSubscription423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ExtendSubscription423JSONResponseBodyType.
func (ExtendSubscription423JSONResponseBodyType) Valid ¶
func (e ExtendSubscription423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription423JSONResponseBodyType enum.
type ExtendSubscription429JSONResponseBodyObject ¶
type ExtendSubscription429JSONResponseBodyObject string
ExtendSubscription429JSONResponseBodyObject defines parameters for ExtendSubscription.
const (
ExtendSubscription429JSONResponseBodyObjectError ExtendSubscription429JSONResponseBodyObject = "error"
)
Defines values for ExtendSubscription429JSONResponseBodyObject.
func (ExtendSubscription429JSONResponseBodyObject) Valid ¶
func (e ExtendSubscription429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription429JSONResponseBodyObject enum.
type ExtendSubscription429JSONResponseBodyType ¶
type ExtendSubscription429JSONResponseBodyType string
ExtendSubscription429JSONResponseBodyType defines parameters for ExtendSubscription.
const (
ExtendSubscription429JSONResponseBodyTypeRateLimitError ExtendSubscription429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ExtendSubscription429JSONResponseBodyType.
func (ExtendSubscription429JSONResponseBodyType) Valid ¶
func (e ExtendSubscription429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription429JSONResponseBodyType enum.
type ExtendSubscription500JSONResponseBodyObject ¶
type ExtendSubscription500JSONResponseBodyObject string
ExtendSubscription500JSONResponseBodyObject defines parameters for ExtendSubscription.
const (
ExtendSubscription500JSONResponseBodyObjectError ExtendSubscription500JSONResponseBodyObject = "error"
)
Defines values for ExtendSubscription500JSONResponseBodyObject.
func (ExtendSubscription500JSONResponseBodyObject) Valid ¶
func (e ExtendSubscription500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription500JSONResponseBodyObject enum.
type ExtendSubscription500JSONResponseBodyType ¶
type ExtendSubscription500JSONResponseBodyType string
ExtendSubscription500JSONResponseBodyType defines parameters for ExtendSubscription.
const (
ExtendSubscription500JSONResponseBodyTypeServerError ExtendSubscription500JSONResponseBodyType = "server_error"
)
Defines values for ExtendSubscription500JSONResponseBodyType.
func (ExtendSubscription500JSONResponseBodyType) Valid ¶
func (e ExtendSubscription500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription500JSONResponseBodyType enum.
type ExtendSubscription503JSONResponseBodyObject ¶
type ExtendSubscription503JSONResponseBodyObject string
ExtendSubscription503JSONResponseBodyObject defines parameters for ExtendSubscription.
const (
ExtendSubscription503JSONResponseBodyObjectError ExtendSubscription503JSONResponseBodyObject = "error"
)
Defines values for ExtendSubscription503JSONResponseBodyObject.
func (ExtendSubscription503JSONResponseBodyObject) Valid ¶
func (e ExtendSubscription503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription503JSONResponseBodyObject enum.
type ExtendSubscription503JSONResponseBodyType ¶
type ExtendSubscription503JSONResponseBodyType string
ExtendSubscription503JSONResponseBodyType defines parameters for ExtendSubscription.
const (
ExtendSubscription503JSONResponseBodyTypeServerError ExtendSubscription503JSONResponseBodyType = "server_error"
)
Defines values for ExtendSubscription503JSONResponseBodyType.
func (ExtendSubscription503JSONResponseBodyType) Valid ¶
func (e ExtendSubscription503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscription503JSONResponseBodyType enum.
type ExtendSubscriptionByDuration ¶
type ExtendSubscriptionByDuration struct {
// ExtendByDays Number of days to extend the current billing period by.
// For Apple Store subscriptions, the maximum allowed value is 90.
//
//
// Example: 14
ExtendByDays int `json:"extend_by_days"`
// ExtendReasonCode Reason for the extension. Required for Apple Store subscriptions;
// ignored for Google Play and Web Billing subscriptions.
//
//
// Example: customer_satisfaction
ExtendReasonCode *ExtendSubscriptionByDurationExtendReasonCode `json:"extend_reason_code,omitempty"`
}
ExtendSubscriptionByDuration defines model for ExtendSubscriptionByDuration.
type ExtendSubscriptionByDurationExtendReasonCode ¶
type ExtendSubscriptionByDurationExtendReasonCode string
ExtendSubscriptionByDurationExtendReasonCode Reason for the extension. Required for Apple Store subscriptions; ignored for Google Play and Web Billing subscriptions.
Example: customer_satisfaction
const ( ExtendSubscriptionByDurationExtendReasonCodeCustomerSatisfaction ExtendSubscriptionByDurationExtendReasonCode = "customer_satisfaction" ExtendSubscriptionByDurationExtendReasonCodeOther ExtendSubscriptionByDurationExtendReasonCode = "other" ExtendSubscriptionByDurationExtendReasonCodeServiceIssueOrOutage ExtendSubscriptionByDurationExtendReasonCode = "service_issue_or_outage" ExtendSubscriptionByDurationExtendReasonCodeUndeclared ExtendSubscriptionByDurationExtendReasonCode = "undeclared" )
Defines values for ExtendSubscriptionByDurationExtendReasonCode.
func (ExtendSubscriptionByDurationExtendReasonCode) Valid ¶
func (e ExtendSubscriptionByDurationExtendReasonCode) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscriptionByDurationExtendReasonCode enum.
type ExtendSubscriptionJSONBody ¶
type ExtendSubscriptionJSONBody struct {
// contains filtered or unexported fields
}
ExtendSubscriptionJSONBody defines parameters for ExtendSubscription.
func (ExtendSubscriptionJSONBody) AsExtendSubscriptionByDuration ¶
func (t ExtendSubscriptionJSONBody) AsExtendSubscriptionByDuration() (ExtendSubscriptionByDuration, error)
AsExtendSubscriptionByDuration returns the union data inside the ExtendSubscriptionJSONBody as a ExtendSubscriptionByDuration
func (ExtendSubscriptionJSONBody) AsExtendSubscriptionUntilDate ¶
func (t ExtendSubscriptionJSONBody) AsExtendSubscriptionUntilDate() (ExtendSubscriptionUntilDate, error)
AsExtendSubscriptionUntilDate returns the union data inside the ExtendSubscriptionJSONBody as a ExtendSubscriptionUntilDate
func (*ExtendSubscriptionJSONBody) FromExtendSubscriptionByDuration ¶
func (t *ExtendSubscriptionJSONBody) FromExtendSubscriptionByDuration(v ExtendSubscriptionByDuration) error
FromExtendSubscriptionByDuration overwrites any union data inside the ExtendSubscriptionJSONBody as the provided ExtendSubscriptionByDuration
func (*ExtendSubscriptionJSONBody) FromExtendSubscriptionUntilDate ¶
func (t *ExtendSubscriptionJSONBody) FromExtendSubscriptionUntilDate(v ExtendSubscriptionUntilDate) error
FromExtendSubscriptionUntilDate overwrites any union data inside the ExtendSubscriptionJSONBody as the provided ExtendSubscriptionUntilDate
func (ExtendSubscriptionJSONBody) MarshalJSON ¶
func (t ExtendSubscriptionJSONBody) MarshalJSON() ([]byte, error)
func (*ExtendSubscriptionJSONBody) MergeExtendSubscriptionByDuration ¶
func (t *ExtendSubscriptionJSONBody) MergeExtendSubscriptionByDuration(v ExtendSubscriptionByDuration) error
MergeExtendSubscriptionByDuration performs a merge with any union data inside the ExtendSubscriptionJSONBody, using the provided ExtendSubscriptionByDuration
func (*ExtendSubscriptionJSONBody) MergeExtendSubscriptionUntilDate ¶
func (t *ExtendSubscriptionJSONBody) MergeExtendSubscriptionUntilDate(v ExtendSubscriptionUntilDate) error
MergeExtendSubscriptionUntilDate performs a merge with any union data inside the ExtendSubscriptionJSONBody, using the provided ExtendSubscriptionUntilDate
func (*ExtendSubscriptionJSONBody) UnmarshalJSON ¶
func (t *ExtendSubscriptionJSONBody) UnmarshalJSON(b []byte) error
type ExtendSubscriptionJSONRequestBody ¶
type ExtendSubscriptionJSONRequestBody ExtendSubscriptionJSONBody
ExtendSubscriptionJSONRequestBody defines body for ExtendSubscription for application/json ContentType.
type ExtendSubscriptionUntilDate ¶
type ExtendSubscriptionUntilDate struct {
// ExtendReasonCode Reason for the extension. Required for Apple Store subscriptions;
// ignored for Google Play and Web Billing subscriptions.
//
//
// Example: customer_satisfaction
ExtendReasonCode *ExtendSubscriptionUntilDateExtendReasonCode `json:"extend_reason_code,omitempty"`
// ExtendUntilMs Absolute epoch timestamp (in milliseconds) to which the current billing
// period should be extended. Must be after the subscription's current
// `current_period_ends_at`. For Apple Store subscriptions, the resulting
// extension cannot exceed 90 days.
//
//
// Example: 1735689600000
ExtendUntilMs int64 `json:"extend_until_ms"`
}
ExtendSubscriptionUntilDate defines model for ExtendSubscriptionUntilDate.
type ExtendSubscriptionUntilDateExtendReasonCode ¶
type ExtendSubscriptionUntilDateExtendReasonCode string
ExtendSubscriptionUntilDateExtendReasonCode Reason for the extension. Required for Apple Store subscriptions; ignored for Google Play and Web Billing subscriptions.
Example: customer_satisfaction
const ( ExtendSubscriptionUntilDateExtendReasonCodeCustomerSatisfaction ExtendSubscriptionUntilDateExtendReasonCode = "customer_satisfaction" ExtendSubscriptionUntilDateExtendReasonCodeOther ExtendSubscriptionUntilDateExtendReasonCode = "other" ExtendSubscriptionUntilDateExtendReasonCodeServiceIssueOrOutage ExtendSubscriptionUntilDateExtendReasonCode = "service_issue_or_outage" ExtendSubscriptionUntilDateExtendReasonCodeUndeclared ExtendSubscriptionUntilDateExtendReasonCode = "undeclared" )
Defines values for ExtendSubscriptionUntilDateExtendReasonCode.
func (ExtendSubscriptionUntilDateExtendReasonCode) Valid ¶
func (e ExtendSubscriptionUntilDateExtendReasonCode) Valid() bool
Valid indicates whether the value is a known member of the ExtendSubscriptionUntilDateExtendReasonCode enum.
type FontCreate ¶
type FontsService ¶
type FontsService struct {
// contains filtered or unexported fields
}
func (*FontsService) Create ¶
func (s *FontsService) Create(ctx context.Context, projectID string, body FontCreate) (*Font, error)
func (*FontsService) List ¶
func (s *FontsService) List(ctx context.Context, projectID string, opts *ListOptions) (*Page[Font], error)
type Forbidden ¶
type Forbidden struct {
// BackoffMs The ms the client should wait before retrying the request. Only present for retryable errors.
BackoffMs *int `json:"backoff_ms,omitempty"`
// DocURL A URL to more information about the error reported
//
// Example: https://errors.rev.cat/parameter-error
DocURL *string `json:"doc_url,omitempty"`
// Message A message describing the reason of the error
//
// Example: id shouldn't be longer than 1,500 characters
Message string `json:"message"`
// Object String representing the object's type. Objects of the same type share the same value.
//
// Example: error
Object ForbiddenObject `json:"object"`
// Param If the error is parameter-specific, the parameter related to the error
//
// Example: customer_id
Param *string `json:"param,omitempty"`
// ReferencedObjectIds The IDs of related objects relevant to the error, such as the archived entities that need to be made active before the operation can succeed.
//
// Example: ["prodabcd1234","prodwxyz5678"]
ReferencedObjectIds *[]string `json:"referenced_object_ids,omitempty"`
// Retryable Indicates if the error is retryable or not
//
// Example: false
Retryable bool `json:"retryable"`
Type ForbiddenType `json:"type"`
}
Forbidden defines model for Forbidden.
type ForbiddenObject ¶
type ForbiddenObject string
ForbiddenObject String representing the object's type. Objects of the same type share the same value.
Example: error
const (
ForbiddenObjectError ForbiddenObject = "error"
)
Defines values for ForbiddenObject.
func (ForbiddenObject) Valid ¶
func (e ForbiddenObject) Valid() bool
Valid indicates whether the value is a known member of the ForbiddenObject enum.
type ForbiddenType ¶
type ForbiddenType string
ForbiddenType defines model for Forbidden.Type.
const (
ForbiddenTypeAuthorizationError ForbiddenType = "authorization_error"
)
Defines values for ForbiddenType.
func (ForbiddenType) Valid ¶
func (e ForbiddenType) Valid() bool
Valid indicates whether the value is a known member of the ForbiddenType enum.
type GetApp400JSONResponseBodyObject ¶
type GetApp400JSONResponseBodyObject string
GetApp400JSONResponseBodyObject defines parameters for GetApp.
const (
GetApp400JSONResponseBodyObjectError GetApp400JSONResponseBodyObject = "error"
)
Defines values for GetApp400JSONResponseBodyObject.
func (GetApp400JSONResponseBodyObject) Valid ¶
func (e GetApp400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetApp400JSONResponseBodyObject enum.
type GetApp400JSONResponseBodyType ¶
type GetApp400JSONResponseBodyType string
GetApp400JSONResponseBodyType defines parameters for GetApp.
const ( GetApp400JSONResponseBodyTypeInvalidRequest GetApp400JSONResponseBodyType = "invalid_request" GetApp400JSONResponseBodyTypeParameterError GetApp400JSONResponseBodyType = "parameter_error" )
Defines values for GetApp400JSONResponseBodyType.
func (GetApp400JSONResponseBodyType) Valid ¶
func (e GetApp400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetApp400JSONResponseBodyType enum.
type GetApp401JSONResponseBodyObject ¶
type GetApp401JSONResponseBodyObject string
GetApp401JSONResponseBodyObject defines parameters for GetApp.
const (
GetApp401JSONResponseBodyObjectError GetApp401JSONResponseBodyObject = "error"
)
Defines values for GetApp401JSONResponseBodyObject.
func (GetApp401JSONResponseBodyObject) Valid ¶
func (e GetApp401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetApp401JSONResponseBodyObject enum.
type GetApp401JSONResponseBodyType ¶
type GetApp401JSONResponseBodyType string
GetApp401JSONResponseBodyType defines parameters for GetApp.
const (
GetApp401JSONResponseBodyTypeAuthenticationError GetApp401JSONResponseBodyType = "authentication_error"
)
Defines values for GetApp401JSONResponseBodyType.
func (GetApp401JSONResponseBodyType) Valid ¶
func (e GetApp401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetApp401JSONResponseBodyType enum.
type GetApp403JSONResponseBodyObject ¶
type GetApp403JSONResponseBodyObject string
GetApp403JSONResponseBodyObject defines parameters for GetApp.
const (
GetApp403JSONResponseBodyObjectError GetApp403JSONResponseBodyObject = "error"
)
Defines values for GetApp403JSONResponseBodyObject.
func (GetApp403JSONResponseBodyObject) Valid ¶
func (e GetApp403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetApp403JSONResponseBodyObject enum.
type GetApp403JSONResponseBodyType ¶
type GetApp403JSONResponseBodyType string
GetApp403JSONResponseBodyType defines parameters for GetApp.
const (
GetApp403JSONResponseBodyTypeAuthorizationError GetApp403JSONResponseBodyType = "authorization_error"
)
Defines values for GetApp403JSONResponseBodyType.
func (GetApp403JSONResponseBodyType) Valid ¶
func (e GetApp403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetApp403JSONResponseBodyType enum.
type GetApp404JSONResponseBodyObject ¶
type GetApp404JSONResponseBodyObject string
GetApp404JSONResponseBodyObject defines parameters for GetApp.
const (
GetApp404JSONResponseBodyObjectError GetApp404JSONResponseBodyObject = "error"
)
Defines values for GetApp404JSONResponseBodyObject.
func (GetApp404JSONResponseBodyObject) Valid ¶
func (e GetApp404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetApp404JSONResponseBodyObject enum.
type GetApp404JSONResponseBodyType ¶
type GetApp404JSONResponseBodyType string
GetApp404JSONResponseBodyType defines parameters for GetApp.
const (
GetApp404JSONResponseBodyTypeResourceMissing GetApp404JSONResponseBodyType = "resource_missing"
)
Defines values for GetApp404JSONResponseBodyType.
func (GetApp404JSONResponseBodyType) Valid ¶
func (e GetApp404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetApp404JSONResponseBodyType enum.
type GetApp423JSONResponseBodyObject ¶
type GetApp423JSONResponseBodyObject string
GetApp423JSONResponseBodyObject defines parameters for GetApp.
const (
GetApp423JSONResponseBodyObjectError GetApp423JSONResponseBodyObject = "error"
)
Defines values for GetApp423JSONResponseBodyObject.
func (GetApp423JSONResponseBodyObject) Valid ¶
func (e GetApp423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetApp423JSONResponseBodyObject enum.
type GetApp423JSONResponseBodyType ¶
type GetApp423JSONResponseBodyType string
GetApp423JSONResponseBodyType defines parameters for GetApp.
const (
GetApp423JSONResponseBodyTypeResourceLockedError GetApp423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetApp423JSONResponseBodyType.
func (GetApp423JSONResponseBodyType) Valid ¶
func (e GetApp423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetApp423JSONResponseBodyType enum.
type GetApp429JSONResponseBodyObject ¶
type GetApp429JSONResponseBodyObject string
GetApp429JSONResponseBodyObject defines parameters for GetApp.
const (
GetApp429JSONResponseBodyObjectError GetApp429JSONResponseBodyObject = "error"
)
Defines values for GetApp429JSONResponseBodyObject.
func (GetApp429JSONResponseBodyObject) Valid ¶
func (e GetApp429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetApp429JSONResponseBodyObject enum.
type GetApp429JSONResponseBodyType ¶
type GetApp429JSONResponseBodyType string
GetApp429JSONResponseBodyType defines parameters for GetApp.
const (
GetApp429JSONResponseBodyTypeRateLimitError GetApp429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetApp429JSONResponseBodyType.
func (GetApp429JSONResponseBodyType) Valid ¶
func (e GetApp429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetApp429JSONResponseBodyType enum.
type GetApp500JSONResponseBodyObject ¶
type GetApp500JSONResponseBodyObject string
GetApp500JSONResponseBodyObject defines parameters for GetApp.
const (
GetApp500JSONResponseBodyObjectError GetApp500JSONResponseBodyObject = "error"
)
Defines values for GetApp500JSONResponseBodyObject.
func (GetApp500JSONResponseBodyObject) Valid ¶
func (e GetApp500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetApp500JSONResponseBodyObject enum.
type GetApp500JSONResponseBodyType ¶
type GetApp500JSONResponseBodyType string
GetApp500JSONResponseBodyType defines parameters for GetApp.
const (
GetApp500JSONResponseBodyTypeServerError GetApp500JSONResponseBodyType = "server_error"
)
Defines values for GetApp500JSONResponseBodyType.
func (GetApp500JSONResponseBodyType) Valid ¶
func (e GetApp500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetApp500JSONResponseBodyType enum.
type GetApp503JSONResponseBodyObject ¶
type GetApp503JSONResponseBodyObject string
GetApp503JSONResponseBodyObject defines parameters for GetApp.
const (
GetApp503JSONResponseBodyObjectError GetApp503JSONResponseBodyObject = "error"
)
Defines values for GetApp503JSONResponseBodyObject.
func (GetApp503JSONResponseBodyObject) Valid ¶
func (e GetApp503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetApp503JSONResponseBodyObject enum.
type GetApp503JSONResponseBodyType ¶
type GetApp503JSONResponseBodyType string
GetApp503JSONResponseBodyType defines parameters for GetApp.
const (
GetApp503JSONResponseBodyTypeServerError GetApp503JSONResponseBodyType = "server_error"
)
Defines values for GetApp503JSONResponseBodyType.
func (GetApp503JSONResponseBodyType) Valid ¶
func (e GetApp503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetApp503JSONResponseBodyType enum.
type GetAppStorekitConfig400JSONResponseBodyObject ¶
type GetAppStorekitConfig400JSONResponseBodyObject string
GetAppStorekitConfig400JSONResponseBodyObject defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig400JSONResponseBodyObjectError GetAppStorekitConfig400JSONResponseBodyObject = "error"
)
Defines values for GetAppStorekitConfig400JSONResponseBodyObject.
func (GetAppStorekitConfig400JSONResponseBodyObject) Valid ¶
func (e GetAppStorekitConfig400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig400JSONResponseBodyObject enum.
type GetAppStorekitConfig400JSONResponseBodyType ¶
type GetAppStorekitConfig400JSONResponseBodyType string
GetAppStorekitConfig400JSONResponseBodyType defines parameters for GetAppStorekitConfig.
const ( GetAppStorekitConfig400JSONResponseBodyTypeInvalidRequest GetAppStorekitConfig400JSONResponseBodyType = "invalid_request" GetAppStorekitConfig400JSONResponseBodyTypeParameterError GetAppStorekitConfig400JSONResponseBodyType = "parameter_error" )
Defines values for GetAppStorekitConfig400JSONResponseBodyType.
func (GetAppStorekitConfig400JSONResponseBodyType) Valid ¶
func (e GetAppStorekitConfig400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig400JSONResponseBodyType enum.
type GetAppStorekitConfig401JSONResponseBodyObject ¶
type GetAppStorekitConfig401JSONResponseBodyObject string
GetAppStorekitConfig401JSONResponseBodyObject defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig401JSONResponseBodyObjectError GetAppStorekitConfig401JSONResponseBodyObject = "error"
)
Defines values for GetAppStorekitConfig401JSONResponseBodyObject.
func (GetAppStorekitConfig401JSONResponseBodyObject) Valid ¶
func (e GetAppStorekitConfig401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig401JSONResponseBodyObject enum.
type GetAppStorekitConfig401JSONResponseBodyType ¶
type GetAppStorekitConfig401JSONResponseBodyType string
GetAppStorekitConfig401JSONResponseBodyType defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig401JSONResponseBodyTypeAuthenticationError GetAppStorekitConfig401JSONResponseBodyType = "authentication_error"
)
Defines values for GetAppStorekitConfig401JSONResponseBodyType.
func (GetAppStorekitConfig401JSONResponseBodyType) Valid ¶
func (e GetAppStorekitConfig401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig401JSONResponseBodyType enum.
type GetAppStorekitConfig403JSONResponseBodyObject ¶
type GetAppStorekitConfig403JSONResponseBodyObject string
GetAppStorekitConfig403JSONResponseBodyObject defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig403JSONResponseBodyObjectError GetAppStorekitConfig403JSONResponseBodyObject = "error"
)
Defines values for GetAppStorekitConfig403JSONResponseBodyObject.
func (GetAppStorekitConfig403JSONResponseBodyObject) Valid ¶
func (e GetAppStorekitConfig403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig403JSONResponseBodyObject enum.
type GetAppStorekitConfig403JSONResponseBodyType ¶
type GetAppStorekitConfig403JSONResponseBodyType string
GetAppStorekitConfig403JSONResponseBodyType defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig403JSONResponseBodyTypeAuthorizationError GetAppStorekitConfig403JSONResponseBodyType = "authorization_error"
)
Defines values for GetAppStorekitConfig403JSONResponseBodyType.
func (GetAppStorekitConfig403JSONResponseBodyType) Valid ¶
func (e GetAppStorekitConfig403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig403JSONResponseBodyType enum.
type GetAppStorekitConfig404JSONResponseBodyObject ¶
type GetAppStorekitConfig404JSONResponseBodyObject string
GetAppStorekitConfig404JSONResponseBodyObject defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig404JSONResponseBodyObjectError GetAppStorekitConfig404JSONResponseBodyObject = "error"
)
Defines values for GetAppStorekitConfig404JSONResponseBodyObject.
func (GetAppStorekitConfig404JSONResponseBodyObject) Valid ¶
func (e GetAppStorekitConfig404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig404JSONResponseBodyObject enum.
type GetAppStorekitConfig404JSONResponseBodyType ¶
type GetAppStorekitConfig404JSONResponseBodyType string
GetAppStorekitConfig404JSONResponseBodyType defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig404JSONResponseBodyTypeResourceMissing GetAppStorekitConfig404JSONResponseBodyType = "resource_missing"
)
Defines values for GetAppStorekitConfig404JSONResponseBodyType.
func (GetAppStorekitConfig404JSONResponseBodyType) Valid ¶
func (e GetAppStorekitConfig404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig404JSONResponseBodyType enum.
type GetAppStorekitConfig423JSONResponseBodyObject ¶
type GetAppStorekitConfig423JSONResponseBodyObject string
GetAppStorekitConfig423JSONResponseBodyObject defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig423JSONResponseBodyObjectError GetAppStorekitConfig423JSONResponseBodyObject = "error"
)
Defines values for GetAppStorekitConfig423JSONResponseBodyObject.
func (GetAppStorekitConfig423JSONResponseBodyObject) Valid ¶
func (e GetAppStorekitConfig423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig423JSONResponseBodyObject enum.
type GetAppStorekitConfig423JSONResponseBodyType ¶
type GetAppStorekitConfig423JSONResponseBodyType string
GetAppStorekitConfig423JSONResponseBodyType defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig423JSONResponseBodyTypeResourceLockedError GetAppStorekitConfig423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetAppStorekitConfig423JSONResponseBodyType.
func (GetAppStorekitConfig423JSONResponseBodyType) Valid ¶
func (e GetAppStorekitConfig423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig423JSONResponseBodyType enum.
type GetAppStorekitConfig429JSONResponseBodyObject ¶
type GetAppStorekitConfig429JSONResponseBodyObject string
GetAppStorekitConfig429JSONResponseBodyObject defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig429JSONResponseBodyObjectError GetAppStorekitConfig429JSONResponseBodyObject = "error"
)
Defines values for GetAppStorekitConfig429JSONResponseBodyObject.
func (GetAppStorekitConfig429JSONResponseBodyObject) Valid ¶
func (e GetAppStorekitConfig429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig429JSONResponseBodyObject enum.
type GetAppStorekitConfig429JSONResponseBodyType ¶
type GetAppStorekitConfig429JSONResponseBodyType string
GetAppStorekitConfig429JSONResponseBodyType defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig429JSONResponseBodyTypeRateLimitError GetAppStorekitConfig429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetAppStorekitConfig429JSONResponseBodyType.
func (GetAppStorekitConfig429JSONResponseBodyType) Valid ¶
func (e GetAppStorekitConfig429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig429JSONResponseBodyType enum.
type GetAppStorekitConfig500JSONResponseBodyObject ¶
type GetAppStorekitConfig500JSONResponseBodyObject string
GetAppStorekitConfig500JSONResponseBodyObject defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig500JSONResponseBodyObjectError GetAppStorekitConfig500JSONResponseBodyObject = "error"
)
Defines values for GetAppStorekitConfig500JSONResponseBodyObject.
func (GetAppStorekitConfig500JSONResponseBodyObject) Valid ¶
func (e GetAppStorekitConfig500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig500JSONResponseBodyObject enum.
type GetAppStorekitConfig500JSONResponseBodyType ¶
type GetAppStorekitConfig500JSONResponseBodyType string
GetAppStorekitConfig500JSONResponseBodyType defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig500JSONResponseBodyTypeServerError GetAppStorekitConfig500JSONResponseBodyType = "server_error"
)
Defines values for GetAppStorekitConfig500JSONResponseBodyType.
func (GetAppStorekitConfig500JSONResponseBodyType) Valid ¶
func (e GetAppStorekitConfig500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig500JSONResponseBodyType enum.
type GetAppStorekitConfig503JSONResponseBodyObject ¶
type GetAppStorekitConfig503JSONResponseBodyObject string
GetAppStorekitConfig503JSONResponseBodyObject defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig503JSONResponseBodyObjectError GetAppStorekitConfig503JSONResponseBodyObject = "error"
)
Defines values for GetAppStorekitConfig503JSONResponseBodyObject.
func (GetAppStorekitConfig503JSONResponseBodyObject) Valid ¶
func (e GetAppStorekitConfig503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig503JSONResponseBodyObject enum.
type GetAppStorekitConfig503JSONResponseBodyType ¶
type GetAppStorekitConfig503JSONResponseBodyType string
GetAppStorekitConfig503JSONResponseBodyType defines parameters for GetAppStorekitConfig.
const (
GetAppStorekitConfig503JSONResponseBodyTypeServerError GetAppStorekitConfig503JSONResponseBodyType = "server_error"
)
Defines values for GetAppStorekitConfig503JSONResponseBodyType.
func (GetAppStorekitConfig503JSONResponseBodyType) Valid ¶
func (e GetAppStorekitConfig503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAppStorekitConfig503JSONResponseBodyType enum.
type GetAuthorizedSubscriptionManagementURL400JSONResponseBodyObject ¶
type GetAuthorizedSubscriptionManagementURL400JSONResponseBodyObject string
GetAuthorizedSubscriptionManagementURL400JSONResponseBodyObject defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL400JSONResponseBodyObjectError GetAuthorizedSubscriptionManagementURL400JSONResponseBodyObject = "error"
)
Defines values for GetAuthorizedSubscriptionManagementURL400JSONResponseBodyObject.
func (GetAuthorizedSubscriptionManagementURL400JSONResponseBodyObject) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL400JSONResponseBodyObject enum.
type GetAuthorizedSubscriptionManagementURL400JSONResponseBodyType ¶
type GetAuthorizedSubscriptionManagementURL400JSONResponseBodyType string
GetAuthorizedSubscriptionManagementURL400JSONResponseBodyType defines parameters for GetAuthorizedSubscriptionManagementURL.
const ( GetAuthorizedSubscriptionManagementURL400JSONResponseBodyTypeInvalidRequest GetAuthorizedSubscriptionManagementURL400JSONResponseBodyType = "invalid_request" GetAuthorizedSubscriptionManagementURL400JSONResponseBodyTypeParameterError GetAuthorizedSubscriptionManagementURL400JSONResponseBodyType = "parameter_error" )
Defines values for GetAuthorizedSubscriptionManagementURL400JSONResponseBodyType.
func (GetAuthorizedSubscriptionManagementURL400JSONResponseBodyType) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL400JSONResponseBodyType enum.
type GetAuthorizedSubscriptionManagementURL401JSONResponseBodyObject ¶
type GetAuthorizedSubscriptionManagementURL401JSONResponseBodyObject string
GetAuthorizedSubscriptionManagementURL401JSONResponseBodyObject defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL401JSONResponseBodyObjectError GetAuthorizedSubscriptionManagementURL401JSONResponseBodyObject = "error"
)
Defines values for GetAuthorizedSubscriptionManagementURL401JSONResponseBodyObject.
func (GetAuthorizedSubscriptionManagementURL401JSONResponseBodyObject) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL401JSONResponseBodyObject enum.
type GetAuthorizedSubscriptionManagementURL401JSONResponseBodyType ¶
type GetAuthorizedSubscriptionManagementURL401JSONResponseBodyType string
GetAuthorizedSubscriptionManagementURL401JSONResponseBodyType defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL401JSONResponseBodyTypeAuthenticationError GetAuthorizedSubscriptionManagementURL401JSONResponseBodyType = "authentication_error"
)
Defines values for GetAuthorizedSubscriptionManagementURL401JSONResponseBodyType.
func (GetAuthorizedSubscriptionManagementURL401JSONResponseBodyType) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL401JSONResponseBodyType enum.
type GetAuthorizedSubscriptionManagementURL403JSONResponseBodyObject ¶
type GetAuthorizedSubscriptionManagementURL403JSONResponseBodyObject string
GetAuthorizedSubscriptionManagementURL403JSONResponseBodyObject defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL403JSONResponseBodyObjectError GetAuthorizedSubscriptionManagementURL403JSONResponseBodyObject = "error"
)
Defines values for GetAuthorizedSubscriptionManagementURL403JSONResponseBodyObject.
func (GetAuthorizedSubscriptionManagementURL403JSONResponseBodyObject) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL403JSONResponseBodyObject enum.
type GetAuthorizedSubscriptionManagementURL403JSONResponseBodyType ¶
type GetAuthorizedSubscriptionManagementURL403JSONResponseBodyType string
GetAuthorizedSubscriptionManagementURL403JSONResponseBodyType defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL403JSONResponseBodyTypeAuthorizationError GetAuthorizedSubscriptionManagementURL403JSONResponseBodyType = "authorization_error"
)
Defines values for GetAuthorizedSubscriptionManagementURL403JSONResponseBodyType.
func (GetAuthorizedSubscriptionManagementURL403JSONResponseBodyType) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL403JSONResponseBodyType enum.
type GetAuthorizedSubscriptionManagementURL404JSONResponseBodyObject ¶
type GetAuthorizedSubscriptionManagementURL404JSONResponseBodyObject string
GetAuthorizedSubscriptionManagementURL404JSONResponseBodyObject defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL404JSONResponseBodyObjectError GetAuthorizedSubscriptionManagementURL404JSONResponseBodyObject = "error"
)
Defines values for GetAuthorizedSubscriptionManagementURL404JSONResponseBodyObject.
func (GetAuthorizedSubscriptionManagementURL404JSONResponseBodyObject) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL404JSONResponseBodyObject enum.
type GetAuthorizedSubscriptionManagementURL404JSONResponseBodyType ¶
type GetAuthorizedSubscriptionManagementURL404JSONResponseBodyType string
GetAuthorizedSubscriptionManagementURL404JSONResponseBodyType defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL404JSONResponseBodyTypeResourceMissing GetAuthorizedSubscriptionManagementURL404JSONResponseBodyType = "resource_missing"
)
Defines values for GetAuthorizedSubscriptionManagementURL404JSONResponseBodyType.
func (GetAuthorizedSubscriptionManagementURL404JSONResponseBodyType) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL404JSONResponseBodyType enum.
type GetAuthorizedSubscriptionManagementURL423JSONResponseBodyObject ¶
type GetAuthorizedSubscriptionManagementURL423JSONResponseBodyObject string
GetAuthorizedSubscriptionManagementURL423JSONResponseBodyObject defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL423JSONResponseBodyObjectError GetAuthorizedSubscriptionManagementURL423JSONResponseBodyObject = "error"
)
Defines values for GetAuthorizedSubscriptionManagementURL423JSONResponseBodyObject.
func (GetAuthorizedSubscriptionManagementURL423JSONResponseBodyObject) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL423JSONResponseBodyObject enum.
type GetAuthorizedSubscriptionManagementURL423JSONResponseBodyType ¶
type GetAuthorizedSubscriptionManagementURL423JSONResponseBodyType string
GetAuthorizedSubscriptionManagementURL423JSONResponseBodyType defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL423JSONResponseBodyTypeResourceLockedError GetAuthorizedSubscriptionManagementURL423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetAuthorizedSubscriptionManagementURL423JSONResponseBodyType.
func (GetAuthorizedSubscriptionManagementURL423JSONResponseBodyType) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL423JSONResponseBodyType enum.
type GetAuthorizedSubscriptionManagementURL429JSONResponseBodyObject ¶
type GetAuthorizedSubscriptionManagementURL429JSONResponseBodyObject string
GetAuthorizedSubscriptionManagementURL429JSONResponseBodyObject defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL429JSONResponseBodyObjectError GetAuthorizedSubscriptionManagementURL429JSONResponseBodyObject = "error"
)
Defines values for GetAuthorizedSubscriptionManagementURL429JSONResponseBodyObject.
func (GetAuthorizedSubscriptionManagementURL429JSONResponseBodyObject) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL429JSONResponseBodyObject enum.
type GetAuthorizedSubscriptionManagementURL429JSONResponseBodyType ¶
type GetAuthorizedSubscriptionManagementURL429JSONResponseBodyType string
GetAuthorizedSubscriptionManagementURL429JSONResponseBodyType defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL429JSONResponseBodyTypeRateLimitError GetAuthorizedSubscriptionManagementURL429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetAuthorizedSubscriptionManagementURL429JSONResponseBodyType.
func (GetAuthorizedSubscriptionManagementURL429JSONResponseBodyType) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL429JSONResponseBodyType enum.
type GetAuthorizedSubscriptionManagementURL500JSONResponseBodyObject ¶
type GetAuthorizedSubscriptionManagementURL500JSONResponseBodyObject string
GetAuthorizedSubscriptionManagementURL500JSONResponseBodyObject defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL500JSONResponseBodyObjectError GetAuthorizedSubscriptionManagementURL500JSONResponseBodyObject = "error"
)
Defines values for GetAuthorizedSubscriptionManagementURL500JSONResponseBodyObject.
func (GetAuthorizedSubscriptionManagementURL500JSONResponseBodyObject) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL500JSONResponseBodyObject enum.
type GetAuthorizedSubscriptionManagementURL500JSONResponseBodyType ¶
type GetAuthorizedSubscriptionManagementURL500JSONResponseBodyType string
GetAuthorizedSubscriptionManagementURL500JSONResponseBodyType defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL500JSONResponseBodyTypeServerError GetAuthorizedSubscriptionManagementURL500JSONResponseBodyType = "server_error"
)
Defines values for GetAuthorizedSubscriptionManagementURL500JSONResponseBodyType.
func (GetAuthorizedSubscriptionManagementURL500JSONResponseBodyType) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL500JSONResponseBodyType enum.
type GetAuthorizedSubscriptionManagementURL502JSONResponseBodyObject ¶
type GetAuthorizedSubscriptionManagementURL502JSONResponseBodyObject string
GetAuthorizedSubscriptionManagementURL502JSONResponseBodyObject defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL502JSONResponseBodyObjectError GetAuthorizedSubscriptionManagementURL502JSONResponseBodyObject = "error"
)
Defines values for GetAuthorizedSubscriptionManagementURL502JSONResponseBodyObject.
func (GetAuthorizedSubscriptionManagementURL502JSONResponseBodyObject) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL502JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL502JSONResponseBodyObject enum.
type GetAuthorizedSubscriptionManagementURL502JSONResponseBodyType ¶
type GetAuthorizedSubscriptionManagementURL502JSONResponseBodyType string
GetAuthorizedSubscriptionManagementURL502JSONResponseBodyType defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL502JSONResponseBodyTypeServerError GetAuthorizedSubscriptionManagementURL502JSONResponseBodyType = "server_error"
)
Defines values for GetAuthorizedSubscriptionManagementURL502JSONResponseBodyType.
func (GetAuthorizedSubscriptionManagementURL502JSONResponseBodyType) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL502JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL502JSONResponseBodyType enum.
type GetAuthorizedSubscriptionManagementURL503JSONResponseBodyObject ¶
type GetAuthorizedSubscriptionManagementURL503JSONResponseBodyObject string
GetAuthorizedSubscriptionManagementURL503JSONResponseBodyObject defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL503JSONResponseBodyObjectError GetAuthorizedSubscriptionManagementURL503JSONResponseBodyObject = "error"
)
Defines values for GetAuthorizedSubscriptionManagementURL503JSONResponseBodyObject.
func (GetAuthorizedSubscriptionManagementURL503JSONResponseBodyObject) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL503JSONResponseBodyObject enum.
type GetAuthorizedSubscriptionManagementURL503JSONResponseBodyType ¶
type GetAuthorizedSubscriptionManagementURL503JSONResponseBodyType string
GetAuthorizedSubscriptionManagementURL503JSONResponseBodyType defines parameters for GetAuthorizedSubscriptionManagementURL.
const (
GetAuthorizedSubscriptionManagementURL503JSONResponseBodyTypeServerError GetAuthorizedSubscriptionManagementURL503JSONResponseBodyType = "server_error"
)
Defines values for GetAuthorizedSubscriptionManagementURL503JSONResponseBodyType.
func (GetAuthorizedSubscriptionManagementURL503JSONResponseBodyType) Valid ¶
func (e GetAuthorizedSubscriptionManagementURL503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetAuthorizedSubscriptionManagementURL503JSONResponseBodyType enum.
type GetChartData400JSONResponseBodyObject ¶
type GetChartData400JSONResponseBodyObject string
GetChartData400JSONResponseBodyObject defines parameters for GetChartData.
const (
GetChartData400JSONResponseBodyObjectError GetChartData400JSONResponseBodyObject = "error"
)
Defines values for GetChartData400JSONResponseBodyObject.
func (GetChartData400JSONResponseBodyObject) Valid ¶
func (e GetChartData400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartData400JSONResponseBodyObject enum.
type GetChartData400JSONResponseBodyType ¶
type GetChartData400JSONResponseBodyType string
GetChartData400JSONResponseBodyType defines parameters for GetChartData.
const ( GetChartData400JSONResponseBodyTypeInvalidRequest GetChartData400JSONResponseBodyType = "invalid_request" GetChartData400JSONResponseBodyTypeParameterError GetChartData400JSONResponseBodyType = "parameter_error" )
Defines values for GetChartData400JSONResponseBodyType.
func (GetChartData400JSONResponseBodyType) Valid ¶
func (e GetChartData400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartData400JSONResponseBodyType enum.
type GetChartData401JSONResponseBodyObject ¶
type GetChartData401JSONResponseBodyObject string
GetChartData401JSONResponseBodyObject defines parameters for GetChartData.
const (
GetChartData401JSONResponseBodyObjectError GetChartData401JSONResponseBodyObject = "error"
)
Defines values for GetChartData401JSONResponseBodyObject.
func (GetChartData401JSONResponseBodyObject) Valid ¶
func (e GetChartData401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartData401JSONResponseBodyObject enum.
type GetChartData401JSONResponseBodyType ¶
type GetChartData401JSONResponseBodyType string
GetChartData401JSONResponseBodyType defines parameters for GetChartData.
const (
GetChartData401JSONResponseBodyTypeAuthenticationError GetChartData401JSONResponseBodyType = "authentication_error"
)
Defines values for GetChartData401JSONResponseBodyType.
func (GetChartData401JSONResponseBodyType) Valid ¶
func (e GetChartData401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartData401JSONResponseBodyType enum.
type GetChartData403JSONResponseBodyObject ¶
type GetChartData403JSONResponseBodyObject string
GetChartData403JSONResponseBodyObject defines parameters for GetChartData.
const (
GetChartData403JSONResponseBodyObjectError GetChartData403JSONResponseBodyObject = "error"
)
Defines values for GetChartData403JSONResponseBodyObject.
func (GetChartData403JSONResponseBodyObject) Valid ¶
func (e GetChartData403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartData403JSONResponseBodyObject enum.
type GetChartData403JSONResponseBodyType ¶
type GetChartData403JSONResponseBodyType string
GetChartData403JSONResponseBodyType defines parameters for GetChartData.
const (
GetChartData403JSONResponseBodyTypeAuthorizationError GetChartData403JSONResponseBodyType = "authorization_error"
)
Defines values for GetChartData403JSONResponseBodyType.
func (GetChartData403JSONResponseBodyType) Valid ¶
func (e GetChartData403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartData403JSONResponseBodyType enum.
type GetChartData404JSONResponseBodyObject ¶
type GetChartData404JSONResponseBodyObject string
GetChartData404JSONResponseBodyObject defines parameters for GetChartData.
const (
GetChartData404JSONResponseBodyObjectError GetChartData404JSONResponseBodyObject = "error"
)
Defines values for GetChartData404JSONResponseBodyObject.
func (GetChartData404JSONResponseBodyObject) Valid ¶
func (e GetChartData404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartData404JSONResponseBodyObject enum.
type GetChartData404JSONResponseBodyType ¶
type GetChartData404JSONResponseBodyType string
GetChartData404JSONResponseBodyType defines parameters for GetChartData.
const (
GetChartData404JSONResponseBodyTypeResourceMissing GetChartData404JSONResponseBodyType = "resource_missing"
)
Defines values for GetChartData404JSONResponseBodyType.
func (GetChartData404JSONResponseBodyType) Valid ¶
func (e GetChartData404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartData404JSONResponseBodyType enum.
type GetChartData423JSONResponseBodyObject ¶
type GetChartData423JSONResponseBodyObject string
GetChartData423JSONResponseBodyObject defines parameters for GetChartData.
const (
GetChartData423JSONResponseBodyObjectError GetChartData423JSONResponseBodyObject = "error"
)
Defines values for GetChartData423JSONResponseBodyObject.
func (GetChartData423JSONResponseBodyObject) Valid ¶
func (e GetChartData423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartData423JSONResponseBodyObject enum.
type GetChartData423JSONResponseBodyType ¶
type GetChartData423JSONResponseBodyType string
GetChartData423JSONResponseBodyType defines parameters for GetChartData.
const (
GetChartData423JSONResponseBodyTypeResourceLockedError GetChartData423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetChartData423JSONResponseBodyType.
func (GetChartData423JSONResponseBodyType) Valid ¶
func (e GetChartData423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartData423JSONResponseBodyType enum.
type GetChartData429JSONResponseBodyObject ¶
type GetChartData429JSONResponseBodyObject string
GetChartData429JSONResponseBodyObject defines parameters for GetChartData.
const (
GetChartData429JSONResponseBodyObjectError GetChartData429JSONResponseBodyObject = "error"
)
Defines values for GetChartData429JSONResponseBodyObject.
func (GetChartData429JSONResponseBodyObject) Valid ¶
func (e GetChartData429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartData429JSONResponseBodyObject enum.
type GetChartData429JSONResponseBodyType ¶
type GetChartData429JSONResponseBodyType string
GetChartData429JSONResponseBodyType defines parameters for GetChartData.
const (
GetChartData429JSONResponseBodyTypeRateLimitError GetChartData429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetChartData429JSONResponseBodyType.
func (GetChartData429JSONResponseBodyType) Valid ¶
func (e GetChartData429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartData429JSONResponseBodyType enum.
type GetChartData500JSONResponseBodyObject ¶
type GetChartData500JSONResponseBodyObject string
GetChartData500JSONResponseBodyObject defines parameters for GetChartData.
const (
GetChartData500JSONResponseBodyObjectError GetChartData500JSONResponseBodyObject = "error"
)
Defines values for GetChartData500JSONResponseBodyObject.
func (GetChartData500JSONResponseBodyObject) Valid ¶
func (e GetChartData500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartData500JSONResponseBodyObject enum.
type GetChartData500JSONResponseBodyType ¶
type GetChartData500JSONResponseBodyType string
GetChartData500JSONResponseBodyType defines parameters for GetChartData.
const (
GetChartData500JSONResponseBodyTypeServerError GetChartData500JSONResponseBodyType = "server_error"
)
Defines values for GetChartData500JSONResponseBodyType.
func (GetChartData500JSONResponseBodyType) Valid ¶
func (e GetChartData500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartData500JSONResponseBodyType enum.
type GetChartData503JSONResponseBodyObject ¶
type GetChartData503JSONResponseBodyObject string
GetChartData503JSONResponseBodyObject defines parameters for GetChartData.
const (
GetChartData503JSONResponseBodyObjectError GetChartData503JSONResponseBodyObject = "error"
)
Defines values for GetChartData503JSONResponseBodyObject.
func (GetChartData503JSONResponseBodyObject) Valid ¶
func (e GetChartData503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartData503JSONResponseBodyObject enum.
type GetChartData503JSONResponseBodyType ¶
type GetChartData503JSONResponseBodyType string
GetChartData503JSONResponseBodyType defines parameters for GetChartData.
const (
GetChartData503JSONResponseBodyTypeServerError GetChartData503JSONResponseBodyType = "server_error"
)
Defines values for GetChartData503JSONResponseBodyType.
func (GetChartData503JSONResponseBodyType) Valid ¶
func (e GetChartData503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartData503JSONResponseBodyType enum.
type GetChartDataParams ¶
type GetChartDataParams struct {
// Realtime Whether to request real-time (v3) charts. Defaults to true. Set to false to request the v2 charts.
Realtime *bool `form:"realtime,omitempty" json:"realtime,omitempty"`
// Filters JSON array of chart filters. Each filter is a ChartFilter object.
Filters *string `form:"filters,omitempty" json:"filters,omitempty"`
// Selectors JSON object of chart selectors.
Selectors *string `form:"selectors,omitempty" json:"selectors,omitempty"`
// Aggregate Comma-separated aggregate operations to return in `summary` without raw `values`.
Aggregate *[]GetChartDataParamsAggregate `form:"aggregate,omitempty" json:"aggregate,omitempty"`
// Currency The currency to return metrics data in
Currency *GetChartDataParamsCurrency `form:"currency,omitempty" json:"currency,omitempty"`
// Resolution Time resolution for the chart data.
// Use the chart options endpoint to discover available resolutions and their IDs.
Resolution *string `form:"resolution,omitempty" json:"resolution,omitempty"`
// StartDate Start date for the data range (ISO 8601 format)
StartDate *openapi_types.Date `form:"start_date,omitempty" json:"start_date,omitempty"`
// EndDate End date for the data range (ISO 8601 format)
EndDate *openapi_types.Date `form:"end_date,omitempty" json:"end_date,omitempty"`
// ExpandPeriods Whether to expand the date range so the first period is complete (e.g. snap a weekly range back to the start of the week). Defaults to false, which only includes data from the exact start_date provided. Period labels are always aligned to period boundaries: with expand_periods=false and a mid-period start_date, the first period only aggregates data from start_date onwards and is marked as incomplete. Exception: charts of point-in-time (stock) metrics, such as active subscriptions or MRR, ignore this parameter entirely. Their values are snapshots measured exactly at each period boundary, so the first data point is always measured at the start of the period containing start_date (which can fall before start_date) and is not marked as incomplete, since a snapshot cannot be partial.
ExpandPeriods *bool `form:"expand_periods,omitempty" json:"expand_periods,omitempty"`
// Segment Segment the data by this dimension. Must be one of the segments returned
// by the chart options schema endpoint for this chart; segments vary per
// chart, and unsupported segments return a 400 `parameter_error` listing
// the supported ones.
Segment *string `form:"segment,omitempty" json:"segment,omitempty"`
// LimitNumSegments If set, limits the number of segments returned to the top N by value.
// All remaining segments are aggregated into an "Other" segment.
// Only applies when a segment is specified.
LimitNumSegments *int `form:"limit_num_segments,omitempty" json:"limit_num_segments,omitempty"`
// IncludeAnnotations When true, includes chart annotations for the project in the response, filtered to the chart's date window.
IncludeAnnotations *bool `form:"include_annotations,omitempty" json:"include_annotations,omitempty"`
}
GetChartDataParams defines parameters for GetChartData.
type GetChartDataParamsAggregate ¶
type GetChartDataParamsAggregate string
GetChartDataParamsAggregate defines parameters for GetChartData.
const ( Average GetChartDataParamsAggregate = "average" Total GetChartDataParamsAggregate = "total" )
Defines values for GetChartDataParamsAggregate.
func (GetChartDataParamsAggregate) Valid ¶
func (e GetChartDataParamsAggregate) Valid() bool
Valid indicates whether the value is a known member of the GetChartDataParamsAggregate enum.
type GetChartDataParamsChartName ¶
type GetChartDataParamsChartName string
GetChartDataParamsChartName defines parameters for GetChartData.
const ( GetChartDataParamsChartNameActives GetChartDataParamsChartName = "actives" GetChartDataParamsChartNameActivesMovement GetChartDataParamsChartName = "actives_movement" GetChartDataParamsChartNameActivesNew GetChartDataParamsChartName = "actives_new" GetChartDataParamsChartNameArr GetChartDataParamsChartName = "arr" GetChartDataParamsChartNameChurn GetChartDataParamsChartName = "churn" GetChartDataParamsChartNameCohortExplorer GetChartDataParamsChartName = "cohort_explorer" GetChartDataParamsChartNameConversionToPaying GetChartDataParamsChartName = "conversion_to_paying" GetChartDataParamsChartNameCustomersActive GetChartDataParamsChartName = "customers_active" GetChartDataParamsChartNameCustomersNew GetChartDataParamsChartName = "customers_new" GetChartDataParamsChartNameInitialConversion GetChartDataParamsChartName = "initial_conversion" GetChartDataParamsChartNameLtvPerCustomer GetChartDataParamsChartName = "ltv_per_customer" GetChartDataParamsChartNameLtvPerPayingCustomer GetChartDataParamsChartName = "ltv_per_paying_customer" GetChartDataParamsChartNameMrr GetChartDataParamsChartName = "mrr" GetChartDataParamsChartNameMrrMovement GetChartDataParamsChartName = "mrr_movement" GetChartDataParamsChartNameNonSubscriptionPurchases GetChartDataParamsChartName = "non-subscription_purchases" GetChartDataParamsChartNamePredictionExplorer GetChartDataParamsChartName = "prediction_explorer" GetChartDataParamsChartNameRefundRate GetChartDataParamsChartName = "refund_rate" GetChartDataParamsChartNameRevenue GetChartDataParamsChartName = "revenue" GetChartDataParamsChartNameSubscriptionRetention GetChartDataParamsChartName = "subscription_retention" GetChartDataParamsChartNameSubscriptionStatus GetChartDataParamsChartName = "subscription_status" GetChartDataParamsChartNameTrialConversionRate GetChartDataParamsChartName = "trial_conversion_rate" GetChartDataParamsChartNameTrials GetChartDataParamsChartName = "trials" GetChartDataParamsChartNameTrialsMovement GetChartDataParamsChartName = "trials_movement" GetChartDataParamsChartNameTrialsNew GetChartDataParamsChartName = "trials_new" )
Defines values for GetChartDataParamsChartName.
func (GetChartDataParamsChartName) Valid ¶
func (e GetChartDataParamsChartName) Valid() bool
Valid indicates whether the value is a known member of the GetChartDataParamsChartName enum.
type GetChartDataParamsCurrency ¶
type GetChartDataParamsCurrency string
GetChartDataParamsCurrency defines parameters for GetChartData.
const ( GetChartDataParamsCurrencyAUD GetChartDataParamsCurrency = "AUD" GetChartDataParamsCurrencyBRL GetChartDataParamsCurrency = "BRL" GetChartDataParamsCurrencyCAD GetChartDataParamsCurrency = "CAD" GetChartDataParamsCurrencyCHF GetChartDataParamsCurrency = "CHF" GetChartDataParamsCurrencyCNY GetChartDataParamsCurrency = "CNY" GetChartDataParamsCurrencyEUR GetChartDataParamsCurrency = "EUR" GetChartDataParamsCurrencyGBP GetChartDataParamsCurrency = "GBP" GetChartDataParamsCurrencyJPY GetChartDataParamsCurrency = "JPY" GetChartDataParamsCurrencyKRW GetChartDataParamsCurrency = "KRW" GetChartDataParamsCurrencyMXN GetChartDataParamsCurrency = "MXN" GetChartDataParamsCurrencyNZD GetChartDataParamsCurrency = "NZD" GetChartDataParamsCurrencyPLN GetChartDataParamsCurrency = "PLN" GetChartDataParamsCurrencySEK GetChartDataParamsCurrency = "SEK" GetChartDataParamsCurrencyUSD GetChartDataParamsCurrency = "USD" )
Defines values for GetChartDataParamsCurrency.
func (GetChartDataParamsCurrency) Valid ¶
func (e GetChartDataParamsCurrency) Valid() bool
Valid indicates whether the value is a known member of the GetChartDataParamsCurrency enum.
type GetChartOptions400JSONResponseBodyObject ¶
type GetChartOptions400JSONResponseBodyObject string
GetChartOptions400JSONResponseBodyObject defines parameters for GetChartOptions.
const (
GetChartOptions400JSONResponseBodyObjectError GetChartOptions400JSONResponseBodyObject = "error"
)
Defines values for GetChartOptions400JSONResponseBodyObject.
func (GetChartOptions400JSONResponseBodyObject) Valid ¶
func (e GetChartOptions400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions400JSONResponseBodyObject enum.
type GetChartOptions400JSONResponseBodyType ¶
type GetChartOptions400JSONResponseBodyType string
GetChartOptions400JSONResponseBodyType defines parameters for GetChartOptions.
const ( GetChartOptions400JSONResponseBodyTypeInvalidRequest GetChartOptions400JSONResponseBodyType = "invalid_request" GetChartOptions400JSONResponseBodyTypeParameterError GetChartOptions400JSONResponseBodyType = "parameter_error" )
Defines values for GetChartOptions400JSONResponseBodyType.
func (GetChartOptions400JSONResponseBodyType) Valid ¶
func (e GetChartOptions400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions400JSONResponseBodyType enum.
type GetChartOptions401JSONResponseBodyObject ¶
type GetChartOptions401JSONResponseBodyObject string
GetChartOptions401JSONResponseBodyObject defines parameters for GetChartOptions.
const (
GetChartOptions401JSONResponseBodyObjectError GetChartOptions401JSONResponseBodyObject = "error"
)
Defines values for GetChartOptions401JSONResponseBodyObject.
func (GetChartOptions401JSONResponseBodyObject) Valid ¶
func (e GetChartOptions401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions401JSONResponseBodyObject enum.
type GetChartOptions401JSONResponseBodyType ¶
type GetChartOptions401JSONResponseBodyType string
GetChartOptions401JSONResponseBodyType defines parameters for GetChartOptions.
const (
GetChartOptions401JSONResponseBodyTypeAuthenticationError GetChartOptions401JSONResponseBodyType = "authentication_error"
)
Defines values for GetChartOptions401JSONResponseBodyType.
func (GetChartOptions401JSONResponseBodyType) Valid ¶
func (e GetChartOptions401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions401JSONResponseBodyType enum.
type GetChartOptions403JSONResponseBodyObject ¶
type GetChartOptions403JSONResponseBodyObject string
GetChartOptions403JSONResponseBodyObject defines parameters for GetChartOptions.
const (
GetChartOptions403JSONResponseBodyObjectError GetChartOptions403JSONResponseBodyObject = "error"
)
Defines values for GetChartOptions403JSONResponseBodyObject.
func (GetChartOptions403JSONResponseBodyObject) Valid ¶
func (e GetChartOptions403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions403JSONResponseBodyObject enum.
type GetChartOptions403JSONResponseBodyType ¶
type GetChartOptions403JSONResponseBodyType string
GetChartOptions403JSONResponseBodyType defines parameters for GetChartOptions.
const (
GetChartOptions403JSONResponseBodyTypeAuthorizationError GetChartOptions403JSONResponseBodyType = "authorization_error"
)
Defines values for GetChartOptions403JSONResponseBodyType.
func (GetChartOptions403JSONResponseBodyType) Valid ¶
func (e GetChartOptions403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions403JSONResponseBodyType enum.
type GetChartOptions404JSONResponseBodyObject ¶
type GetChartOptions404JSONResponseBodyObject string
GetChartOptions404JSONResponseBodyObject defines parameters for GetChartOptions.
const (
GetChartOptions404JSONResponseBodyObjectError GetChartOptions404JSONResponseBodyObject = "error"
)
Defines values for GetChartOptions404JSONResponseBodyObject.
func (GetChartOptions404JSONResponseBodyObject) Valid ¶
func (e GetChartOptions404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions404JSONResponseBodyObject enum.
type GetChartOptions404JSONResponseBodyType ¶
type GetChartOptions404JSONResponseBodyType string
GetChartOptions404JSONResponseBodyType defines parameters for GetChartOptions.
const (
GetChartOptions404JSONResponseBodyTypeResourceMissing GetChartOptions404JSONResponseBodyType = "resource_missing"
)
Defines values for GetChartOptions404JSONResponseBodyType.
func (GetChartOptions404JSONResponseBodyType) Valid ¶
func (e GetChartOptions404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions404JSONResponseBodyType enum.
type GetChartOptions423JSONResponseBodyObject ¶
type GetChartOptions423JSONResponseBodyObject string
GetChartOptions423JSONResponseBodyObject defines parameters for GetChartOptions.
const (
GetChartOptions423JSONResponseBodyObjectError GetChartOptions423JSONResponseBodyObject = "error"
)
Defines values for GetChartOptions423JSONResponseBodyObject.
func (GetChartOptions423JSONResponseBodyObject) Valid ¶
func (e GetChartOptions423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions423JSONResponseBodyObject enum.
type GetChartOptions423JSONResponseBodyType ¶
type GetChartOptions423JSONResponseBodyType string
GetChartOptions423JSONResponseBodyType defines parameters for GetChartOptions.
const (
GetChartOptions423JSONResponseBodyTypeResourceLockedError GetChartOptions423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetChartOptions423JSONResponseBodyType.
func (GetChartOptions423JSONResponseBodyType) Valid ¶
func (e GetChartOptions423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions423JSONResponseBodyType enum.
type GetChartOptions429JSONResponseBodyObject ¶
type GetChartOptions429JSONResponseBodyObject string
GetChartOptions429JSONResponseBodyObject defines parameters for GetChartOptions.
const (
GetChartOptions429JSONResponseBodyObjectError GetChartOptions429JSONResponseBodyObject = "error"
)
Defines values for GetChartOptions429JSONResponseBodyObject.
func (GetChartOptions429JSONResponseBodyObject) Valid ¶
func (e GetChartOptions429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions429JSONResponseBodyObject enum.
type GetChartOptions429JSONResponseBodyType ¶
type GetChartOptions429JSONResponseBodyType string
GetChartOptions429JSONResponseBodyType defines parameters for GetChartOptions.
const (
GetChartOptions429JSONResponseBodyTypeRateLimitError GetChartOptions429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetChartOptions429JSONResponseBodyType.
func (GetChartOptions429JSONResponseBodyType) Valid ¶
func (e GetChartOptions429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions429JSONResponseBodyType enum.
type GetChartOptions500JSONResponseBodyObject ¶
type GetChartOptions500JSONResponseBodyObject string
GetChartOptions500JSONResponseBodyObject defines parameters for GetChartOptions.
const (
GetChartOptions500JSONResponseBodyObjectError GetChartOptions500JSONResponseBodyObject = "error"
)
Defines values for GetChartOptions500JSONResponseBodyObject.
func (GetChartOptions500JSONResponseBodyObject) Valid ¶
func (e GetChartOptions500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions500JSONResponseBodyObject enum.
type GetChartOptions500JSONResponseBodyType ¶
type GetChartOptions500JSONResponseBodyType string
GetChartOptions500JSONResponseBodyType defines parameters for GetChartOptions.
const (
GetChartOptions500JSONResponseBodyTypeServerError GetChartOptions500JSONResponseBodyType = "server_error"
)
Defines values for GetChartOptions500JSONResponseBodyType.
func (GetChartOptions500JSONResponseBodyType) Valid ¶
func (e GetChartOptions500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions500JSONResponseBodyType enum.
type GetChartOptions503JSONResponseBodyObject ¶
type GetChartOptions503JSONResponseBodyObject string
GetChartOptions503JSONResponseBodyObject defines parameters for GetChartOptions.
const (
GetChartOptions503JSONResponseBodyObjectError GetChartOptions503JSONResponseBodyObject = "error"
)
Defines values for GetChartOptions503JSONResponseBodyObject.
func (GetChartOptions503JSONResponseBodyObject) Valid ¶
func (e GetChartOptions503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions503JSONResponseBodyObject enum.
type GetChartOptions503JSONResponseBodyType ¶
type GetChartOptions503JSONResponseBodyType string
GetChartOptions503JSONResponseBodyType defines parameters for GetChartOptions.
const (
GetChartOptions503JSONResponseBodyTypeServerError GetChartOptions503JSONResponseBodyType = "server_error"
)
Defines values for GetChartOptions503JSONResponseBodyType.
func (GetChartOptions503JSONResponseBodyType) Valid ¶
func (e GetChartOptions503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptions503JSONResponseBodyType enum.
type GetChartOptionsParams ¶
type GetChartOptionsParams struct {
// Realtime Whether to request real-time (v3) charts. Defaults to true. Set to false to request the v2 charts.
Realtime *bool `form:"realtime,omitempty" json:"realtime,omitempty"`
}
GetChartOptionsParams defines parameters for GetChartOptions.
type GetChartOptionsParamsChartName ¶
type GetChartOptionsParamsChartName string
GetChartOptionsParamsChartName defines parameters for GetChartOptions.
const ( GetChartOptionsParamsChartNameActives GetChartOptionsParamsChartName = "actives" GetChartOptionsParamsChartNameActivesMovement GetChartOptionsParamsChartName = "actives_movement" GetChartOptionsParamsChartNameActivesNew GetChartOptionsParamsChartName = "actives_new" GetChartOptionsParamsChartNameArr GetChartOptionsParamsChartName = "arr" GetChartOptionsParamsChartNameChurn GetChartOptionsParamsChartName = "churn" GetChartOptionsParamsChartNameCohortExplorer GetChartOptionsParamsChartName = "cohort_explorer" GetChartOptionsParamsChartNameConversionToPaying GetChartOptionsParamsChartName = "conversion_to_paying" GetChartOptionsParamsChartNameCustomersActive GetChartOptionsParamsChartName = "customers_active" GetChartOptionsParamsChartNameCustomersNew GetChartOptionsParamsChartName = "customers_new" GetChartOptionsParamsChartNameInitialConversion GetChartOptionsParamsChartName = "initial_conversion" GetChartOptionsParamsChartNameLtvPerCustomer GetChartOptionsParamsChartName = "ltv_per_customer" GetChartOptionsParamsChartNameLtvPerPayingCustomer GetChartOptionsParamsChartName = "ltv_per_paying_customer" GetChartOptionsParamsChartNameMrr GetChartOptionsParamsChartName = "mrr" GetChartOptionsParamsChartNameMrrMovement GetChartOptionsParamsChartName = "mrr_movement" GetChartOptionsParamsChartNameNonSubscriptionPurchases GetChartOptionsParamsChartName = "non-subscription_purchases" GetChartOptionsParamsChartNamePredictionExplorer GetChartOptionsParamsChartName = "prediction_explorer" GetChartOptionsParamsChartNameRefundRate GetChartOptionsParamsChartName = "refund_rate" GetChartOptionsParamsChartNameRevenue GetChartOptionsParamsChartName = "revenue" GetChartOptionsParamsChartNameSubscriptionRetention GetChartOptionsParamsChartName = "subscription_retention" GetChartOptionsParamsChartNameSubscriptionStatus GetChartOptionsParamsChartName = "subscription_status" GetChartOptionsParamsChartNameTrialConversionRate GetChartOptionsParamsChartName = "trial_conversion_rate" GetChartOptionsParamsChartNameTrials GetChartOptionsParamsChartName = "trials" GetChartOptionsParamsChartNameTrialsMovement GetChartOptionsParamsChartName = "trials_movement" GetChartOptionsParamsChartNameTrialsNew GetChartOptionsParamsChartName = "trials_new" )
Defines values for GetChartOptionsParamsChartName.
func (GetChartOptionsParamsChartName) Valid ¶
func (e GetChartOptionsParamsChartName) Valid() bool
Valid indicates whether the value is a known member of the GetChartOptionsParamsChartName enum.
type GetCustomer400JSONResponseBodyObject ¶
type GetCustomer400JSONResponseBodyObject string
GetCustomer400JSONResponseBodyObject defines parameters for GetCustomer.
const (
GetCustomer400JSONResponseBodyObjectError GetCustomer400JSONResponseBodyObject = "error"
)
Defines values for GetCustomer400JSONResponseBodyObject.
func (GetCustomer400JSONResponseBodyObject) Valid ¶
func (e GetCustomer400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer400JSONResponseBodyObject enum.
type GetCustomer400JSONResponseBodyType ¶
type GetCustomer400JSONResponseBodyType string
GetCustomer400JSONResponseBodyType defines parameters for GetCustomer.
const ( GetCustomer400JSONResponseBodyTypeInvalidRequest GetCustomer400JSONResponseBodyType = "invalid_request" GetCustomer400JSONResponseBodyTypeParameterError GetCustomer400JSONResponseBodyType = "parameter_error" )
Defines values for GetCustomer400JSONResponseBodyType.
func (GetCustomer400JSONResponseBodyType) Valid ¶
func (e GetCustomer400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer400JSONResponseBodyType enum.
type GetCustomer401JSONResponseBodyObject ¶
type GetCustomer401JSONResponseBodyObject string
GetCustomer401JSONResponseBodyObject defines parameters for GetCustomer.
const (
GetCustomer401JSONResponseBodyObjectError GetCustomer401JSONResponseBodyObject = "error"
)
Defines values for GetCustomer401JSONResponseBodyObject.
func (GetCustomer401JSONResponseBodyObject) Valid ¶
func (e GetCustomer401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer401JSONResponseBodyObject enum.
type GetCustomer401JSONResponseBodyType ¶
type GetCustomer401JSONResponseBodyType string
GetCustomer401JSONResponseBodyType defines parameters for GetCustomer.
const (
GetCustomer401JSONResponseBodyTypeAuthenticationError GetCustomer401JSONResponseBodyType = "authentication_error"
)
Defines values for GetCustomer401JSONResponseBodyType.
func (GetCustomer401JSONResponseBodyType) Valid ¶
func (e GetCustomer401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer401JSONResponseBodyType enum.
type GetCustomer403JSONResponseBodyObject ¶
type GetCustomer403JSONResponseBodyObject string
GetCustomer403JSONResponseBodyObject defines parameters for GetCustomer.
const (
GetCustomer403JSONResponseBodyObjectError GetCustomer403JSONResponseBodyObject = "error"
)
Defines values for GetCustomer403JSONResponseBodyObject.
func (GetCustomer403JSONResponseBodyObject) Valid ¶
func (e GetCustomer403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer403JSONResponseBodyObject enum.
type GetCustomer403JSONResponseBodyType ¶
type GetCustomer403JSONResponseBodyType string
GetCustomer403JSONResponseBodyType defines parameters for GetCustomer.
const (
GetCustomer403JSONResponseBodyTypeAuthorizationError GetCustomer403JSONResponseBodyType = "authorization_error"
)
Defines values for GetCustomer403JSONResponseBodyType.
func (GetCustomer403JSONResponseBodyType) Valid ¶
func (e GetCustomer403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer403JSONResponseBodyType enum.
type GetCustomer404JSONResponseBodyObject ¶
type GetCustomer404JSONResponseBodyObject string
GetCustomer404JSONResponseBodyObject defines parameters for GetCustomer.
const (
GetCustomer404JSONResponseBodyObjectError GetCustomer404JSONResponseBodyObject = "error"
)
Defines values for GetCustomer404JSONResponseBodyObject.
func (GetCustomer404JSONResponseBodyObject) Valid ¶
func (e GetCustomer404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer404JSONResponseBodyObject enum.
type GetCustomer404JSONResponseBodyType ¶
type GetCustomer404JSONResponseBodyType string
GetCustomer404JSONResponseBodyType defines parameters for GetCustomer.
const (
GetCustomer404JSONResponseBodyTypeResourceMissing GetCustomer404JSONResponseBodyType = "resource_missing"
)
Defines values for GetCustomer404JSONResponseBodyType.
func (GetCustomer404JSONResponseBodyType) Valid ¶
func (e GetCustomer404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer404JSONResponseBodyType enum.
type GetCustomer423JSONResponseBodyObject ¶
type GetCustomer423JSONResponseBodyObject string
GetCustomer423JSONResponseBodyObject defines parameters for GetCustomer.
const (
GetCustomer423JSONResponseBodyObjectError GetCustomer423JSONResponseBodyObject = "error"
)
Defines values for GetCustomer423JSONResponseBodyObject.
func (GetCustomer423JSONResponseBodyObject) Valid ¶
func (e GetCustomer423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer423JSONResponseBodyObject enum.
type GetCustomer423JSONResponseBodyType ¶
type GetCustomer423JSONResponseBodyType string
GetCustomer423JSONResponseBodyType defines parameters for GetCustomer.
const (
GetCustomer423JSONResponseBodyTypeResourceLockedError GetCustomer423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetCustomer423JSONResponseBodyType.
func (GetCustomer423JSONResponseBodyType) Valid ¶
func (e GetCustomer423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer423JSONResponseBodyType enum.
type GetCustomer429JSONResponseBodyObject ¶
type GetCustomer429JSONResponseBodyObject string
GetCustomer429JSONResponseBodyObject defines parameters for GetCustomer.
const (
GetCustomer429JSONResponseBodyObjectError GetCustomer429JSONResponseBodyObject = "error"
)
Defines values for GetCustomer429JSONResponseBodyObject.
func (GetCustomer429JSONResponseBodyObject) Valid ¶
func (e GetCustomer429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer429JSONResponseBodyObject enum.
type GetCustomer429JSONResponseBodyType ¶
type GetCustomer429JSONResponseBodyType string
GetCustomer429JSONResponseBodyType defines parameters for GetCustomer.
const (
GetCustomer429JSONResponseBodyTypeRateLimitError GetCustomer429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetCustomer429JSONResponseBodyType.
func (GetCustomer429JSONResponseBodyType) Valid ¶
func (e GetCustomer429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer429JSONResponseBodyType enum.
type GetCustomer500JSONResponseBodyObject ¶
type GetCustomer500JSONResponseBodyObject string
GetCustomer500JSONResponseBodyObject defines parameters for GetCustomer.
const (
GetCustomer500JSONResponseBodyObjectError GetCustomer500JSONResponseBodyObject = "error"
)
Defines values for GetCustomer500JSONResponseBodyObject.
func (GetCustomer500JSONResponseBodyObject) Valid ¶
func (e GetCustomer500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer500JSONResponseBodyObject enum.
type GetCustomer500JSONResponseBodyType ¶
type GetCustomer500JSONResponseBodyType string
GetCustomer500JSONResponseBodyType defines parameters for GetCustomer.
const (
GetCustomer500JSONResponseBodyTypeServerError GetCustomer500JSONResponseBodyType = "server_error"
)
Defines values for GetCustomer500JSONResponseBodyType.
func (GetCustomer500JSONResponseBodyType) Valid ¶
func (e GetCustomer500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer500JSONResponseBodyType enum.
type GetCustomer503JSONResponseBodyObject ¶
type GetCustomer503JSONResponseBodyObject string
GetCustomer503JSONResponseBodyObject defines parameters for GetCustomer.
const (
GetCustomer503JSONResponseBodyObjectError GetCustomer503JSONResponseBodyObject = "error"
)
Defines values for GetCustomer503JSONResponseBodyObject.
func (GetCustomer503JSONResponseBodyObject) Valid ¶
func (e GetCustomer503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer503JSONResponseBodyObject enum.
type GetCustomer503JSONResponseBodyType ¶
type GetCustomer503JSONResponseBodyType string
GetCustomer503JSONResponseBodyType defines parameters for GetCustomer.
const (
GetCustomer503JSONResponseBodyTypeServerError GetCustomer503JSONResponseBodyType = "server_error"
)
Defines values for GetCustomer503JSONResponseBodyType.
func (GetCustomer503JSONResponseBodyType) Valid ¶
func (e GetCustomer503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomer503JSONResponseBodyType enum.
type GetCustomerCenterConfig400JSONResponseBodyObject ¶
type GetCustomerCenterConfig400JSONResponseBodyObject string
GetCustomerCenterConfig400JSONResponseBodyObject defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig400JSONResponseBodyObjectError GetCustomerCenterConfig400JSONResponseBodyObject = "error"
)
Defines values for GetCustomerCenterConfig400JSONResponseBodyObject.
func (GetCustomerCenterConfig400JSONResponseBodyObject) Valid ¶
func (e GetCustomerCenterConfig400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig400JSONResponseBodyObject enum.
type GetCustomerCenterConfig400JSONResponseBodyType ¶
type GetCustomerCenterConfig400JSONResponseBodyType string
GetCustomerCenterConfig400JSONResponseBodyType defines parameters for GetCustomerCenterConfig.
const ( GetCustomerCenterConfig400JSONResponseBodyTypeInvalidRequest GetCustomerCenterConfig400JSONResponseBodyType = "invalid_request" GetCustomerCenterConfig400JSONResponseBodyTypeParameterError GetCustomerCenterConfig400JSONResponseBodyType = "parameter_error" )
Defines values for GetCustomerCenterConfig400JSONResponseBodyType.
func (GetCustomerCenterConfig400JSONResponseBodyType) Valid ¶
func (e GetCustomerCenterConfig400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig400JSONResponseBodyType enum.
type GetCustomerCenterConfig401JSONResponseBodyObject ¶
type GetCustomerCenterConfig401JSONResponseBodyObject string
GetCustomerCenterConfig401JSONResponseBodyObject defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig401JSONResponseBodyObjectError GetCustomerCenterConfig401JSONResponseBodyObject = "error"
)
Defines values for GetCustomerCenterConfig401JSONResponseBodyObject.
func (GetCustomerCenterConfig401JSONResponseBodyObject) Valid ¶
func (e GetCustomerCenterConfig401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig401JSONResponseBodyObject enum.
type GetCustomerCenterConfig401JSONResponseBodyType ¶
type GetCustomerCenterConfig401JSONResponseBodyType string
GetCustomerCenterConfig401JSONResponseBodyType defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig401JSONResponseBodyTypeAuthenticationError GetCustomerCenterConfig401JSONResponseBodyType = "authentication_error"
)
Defines values for GetCustomerCenterConfig401JSONResponseBodyType.
func (GetCustomerCenterConfig401JSONResponseBodyType) Valid ¶
func (e GetCustomerCenterConfig401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig401JSONResponseBodyType enum.
type GetCustomerCenterConfig403JSONResponseBodyObject ¶
type GetCustomerCenterConfig403JSONResponseBodyObject string
GetCustomerCenterConfig403JSONResponseBodyObject defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig403JSONResponseBodyObjectError GetCustomerCenterConfig403JSONResponseBodyObject = "error"
)
Defines values for GetCustomerCenterConfig403JSONResponseBodyObject.
func (GetCustomerCenterConfig403JSONResponseBodyObject) Valid ¶
func (e GetCustomerCenterConfig403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig403JSONResponseBodyObject enum.
type GetCustomerCenterConfig403JSONResponseBodyType ¶
type GetCustomerCenterConfig403JSONResponseBodyType string
GetCustomerCenterConfig403JSONResponseBodyType defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig403JSONResponseBodyTypeAuthorizationError GetCustomerCenterConfig403JSONResponseBodyType = "authorization_error"
)
Defines values for GetCustomerCenterConfig403JSONResponseBodyType.
func (GetCustomerCenterConfig403JSONResponseBodyType) Valid ¶
func (e GetCustomerCenterConfig403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig403JSONResponseBodyType enum.
type GetCustomerCenterConfig404JSONResponseBodyObject ¶
type GetCustomerCenterConfig404JSONResponseBodyObject string
GetCustomerCenterConfig404JSONResponseBodyObject defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig404JSONResponseBodyObjectError GetCustomerCenterConfig404JSONResponseBodyObject = "error"
)
Defines values for GetCustomerCenterConfig404JSONResponseBodyObject.
func (GetCustomerCenterConfig404JSONResponseBodyObject) Valid ¶
func (e GetCustomerCenterConfig404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig404JSONResponseBodyObject enum.
type GetCustomerCenterConfig404JSONResponseBodyType ¶
type GetCustomerCenterConfig404JSONResponseBodyType string
GetCustomerCenterConfig404JSONResponseBodyType defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig404JSONResponseBodyTypeResourceMissing GetCustomerCenterConfig404JSONResponseBodyType = "resource_missing"
)
Defines values for GetCustomerCenterConfig404JSONResponseBodyType.
func (GetCustomerCenterConfig404JSONResponseBodyType) Valid ¶
func (e GetCustomerCenterConfig404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig404JSONResponseBodyType enum.
type GetCustomerCenterConfig423JSONResponseBodyObject ¶
type GetCustomerCenterConfig423JSONResponseBodyObject string
GetCustomerCenterConfig423JSONResponseBodyObject defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig423JSONResponseBodyObjectError GetCustomerCenterConfig423JSONResponseBodyObject = "error"
)
Defines values for GetCustomerCenterConfig423JSONResponseBodyObject.
func (GetCustomerCenterConfig423JSONResponseBodyObject) Valid ¶
func (e GetCustomerCenterConfig423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig423JSONResponseBodyObject enum.
type GetCustomerCenterConfig423JSONResponseBodyType ¶
type GetCustomerCenterConfig423JSONResponseBodyType string
GetCustomerCenterConfig423JSONResponseBodyType defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig423JSONResponseBodyTypeResourceLockedError GetCustomerCenterConfig423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetCustomerCenterConfig423JSONResponseBodyType.
func (GetCustomerCenterConfig423JSONResponseBodyType) Valid ¶
func (e GetCustomerCenterConfig423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig423JSONResponseBodyType enum.
type GetCustomerCenterConfig429JSONResponseBodyObject ¶
type GetCustomerCenterConfig429JSONResponseBodyObject string
GetCustomerCenterConfig429JSONResponseBodyObject defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig429JSONResponseBodyObjectError GetCustomerCenterConfig429JSONResponseBodyObject = "error"
)
Defines values for GetCustomerCenterConfig429JSONResponseBodyObject.
func (GetCustomerCenterConfig429JSONResponseBodyObject) Valid ¶
func (e GetCustomerCenterConfig429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig429JSONResponseBodyObject enum.
type GetCustomerCenterConfig429JSONResponseBodyType ¶
type GetCustomerCenterConfig429JSONResponseBodyType string
GetCustomerCenterConfig429JSONResponseBodyType defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig429JSONResponseBodyTypeRateLimitError GetCustomerCenterConfig429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetCustomerCenterConfig429JSONResponseBodyType.
func (GetCustomerCenterConfig429JSONResponseBodyType) Valid ¶
func (e GetCustomerCenterConfig429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig429JSONResponseBodyType enum.
type GetCustomerCenterConfig500JSONResponseBodyObject ¶
type GetCustomerCenterConfig500JSONResponseBodyObject string
GetCustomerCenterConfig500JSONResponseBodyObject defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig500JSONResponseBodyObjectError GetCustomerCenterConfig500JSONResponseBodyObject = "error"
)
Defines values for GetCustomerCenterConfig500JSONResponseBodyObject.
func (GetCustomerCenterConfig500JSONResponseBodyObject) Valid ¶
func (e GetCustomerCenterConfig500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig500JSONResponseBodyObject enum.
type GetCustomerCenterConfig500JSONResponseBodyType ¶
type GetCustomerCenterConfig500JSONResponseBodyType string
GetCustomerCenterConfig500JSONResponseBodyType defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig500JSONResponseBodyTypeServerError GetCustomerCenterConfig500JSONResponseBodyType = "server_error"
)
Defines values for GetCustomerCenterConfig500JSONResponseBodyType.
func (GetCustomerCenterConfig500JSONResponseBodyType) Valid ¶
func (e GetCustomerCenterConfig500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig500JSONResponseBodyType enum.
type GetCustomerCenterConfig503JSONResponseBodyObject ¶
type GetCustomerCenterConfig503JSONResponseBodyObject string
GetCustomerCenterConfig503JSONResponseBodyObject defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig503JSONResponseBodyObjectError GetCustomerCenterConfig503JSONResponseBodyObject = "error"
)
Defines values for GetCustomerCenterConfig503JSONResponseBodyObject.
func (GetCustomerCenterConfig503JSONResponseBodyObject) Valid ¶
func (e GetCustomerCenterConfig503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig503JSONResponseBodyObject enum.
type GetCustomerCenterConfig503JSONResponseBodyType ¶
type GetCustomerCenterConfig503JSONResponseBodyType string
GetCustomerCenterConfig503JSONResponseBodyType defines parameters for GetCustomerCenterConfig.
const (
GetCustomerCenterConfig503JSONResponseBodyTypeServerError GetCustomerCenterConfig503JSONResponseBodyType = "server_error"
)
Defines values for GetCustomerCenterConfig503JSONResponseBodyType.
func (GetCustomerCenterConfig503JSONResponseBodyType) Valid ¶
func (e GetCustomerCenterConfig503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfig503JSONResponseBodyType enum.
type GetCustomerCenterConfigParams ¶
type GetCustomerCenterConfigParams struct {
// Platform The platform to process the Customer Center configuration for. When provided, returns the locale-selected, platform-filtered configuration the customer would see. When omitted, returns the full unprocessed configuration for all platforms. Must match a store configured on this project.
Platform *GetCustomerCenterConfigParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`
// Locale BCP 47 locale string (e.g. en_US) used to select the appropriate localization when platform is provided. When omitted, the configuration's default locale is used. Has no effect if platform is not provided.
Locale *string `form:"locale,omitempty" json:"locale,omitempty"`
}
GetCustomerCenterConfigParams defines parameters for GetCustomerCenterConfig.
type GetCustomerCenterConfigParamsPlatform ¶
type GetCustomerCenterConfigParamsPlatform string
GetCustomerCenterConfigParamsPlatform defines parameters for GetCustomerCenterConfig.
const ( GetCustomerCenterConfigParamsPlatformAmazon GetCustomerCenterConfigParamsPlatform = "amazon" GetCustomerCenterConfigParamsPlatformAppStore GetCustomerCenterConfigParamsPlatform = "app_store" GetCustomerCenterConfigParamsPlatformMacAppStore GetCustomerCenterConfigParamsPlatform = "mac_app_store" GetCustomerCenterConfigParamsPlatformPlayStore GetCustomerCenterConfigParamsPlatform = "play_store" GetCustomerCenterConfigParamsPlatformStripe GetCustomerCenterConfigParamsPlatform = "stripe" )
Defines values for GetCustomerCenterConfigParamsPlatform.
func (GetCustomerCenterConfigParamsPlatform) Valid ¶
func (e GetCustomerCenterConfigParamsPlatform) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerCenterConfigParamsPlatform enum.
type GetCustomerParams ¶
type GetCustomerParams struct {
// Expand Specifies which fields in the response should be expanded.
// Accepted values are: `attributes` (requires `customer_information:customers:read` permission).
Expand *[]GetCustomerParamsExpand `form:"expand,omitempty" json:"expand,omitempty"`
}
GetCustomerParams defines parameters for GetCustomer.
type GetCustomerParamsExpand ¶
type GetCustomerParamsExpand string
GetCustomerParamsExpand defines parameters for GetCustomer.
const (
Attributes GetCustomerParamsExpand = "attributes"
)
Defines values for GetCustomerParamsExpand.
func (GetCustomerParamsExpand) Valid ¶
func (e GetCustomerParamsExpand) Valid() bool
Valid indicates whether the value is a known member of the GetCustomerParamsExpand enum.
type GetEntitlement400JSONResponseBodyObject ¶
type GetEntitlement400JSONResponseBodyObject string
GetEntitlement400JSONResponseBodyObject defines parameters for GetEntitlement.
const (
GetEntitlement400JSONResponseBodyObjectError GetEntitlement400JSONResponseBodyObject = "error"
)
Defines values for GetEntitlement400JSONResponseBodyObject.
func (GetEntitlement400JSONResponseBodyObject) Valid ¶
func (e GetEntitlement400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement400JSONResponseBodyObject enum.
type GetEntitlement400JSONResponseBodyType ¶
type GetEntitlement400JSONResponseBodyType string
GetEntitlement400JSONResponseBodyType defines parameters for GetEntitlement.
const ( GetEntitlement400JSONResponseBodyTypeInvalidRequest GetEntitlement400JSONResponseBodyType = "invalid_request" GetEntitlement400JSONResponseBodyTypeParameterError GetEntitlement400JSONResponseBodyType = "parameter_error" )
Defines values for GetEntitlement400JSONResponseBodyType.
func (GetEntitlement400JSONResponseBodyType) Valid ¶
func (e GetEntitlement400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement400JSONResponseBodyType enum.
type GetEntitlement401JSONResponseBodyObject ¶
type GetEntitlement401JSONResponseBodyObject string
GetEntitlement401JSONResponseBodyObject defines parameters for GetEntitlement.
const (
GetEntitlement401JSONResponseBodyObjectError GetEntitlement401JSONResponseBodyObject = "error"
)
Defines values for GetEntitlement401JSONResponseBodyObject.
func (GetEntitlement401JSONResponseBodyObject) Valid ¶
func (e GetEntitlement401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement401JSONResponseBodyObject enum.
type GetEntitlement401JSONResponseBodyType ¶
type GetEntitlement401JSONResponseBodyType string
GetEntitlement401JSONResponseBodyType defines parameters for GetEntitlement.
const (
GetEntitlement401JSONResponseBodyTypeAuthenticationError GetEntitlement401JSONResponseBodyType = "authentication_error"
)
Defines values for GetEntitlement401JSONResponseBodyType.
func (GetEntitlement401JSONResponseBodyType) Valid ¶
func (e GetEntitlement401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement401JSONResponseBodyType enum.
type GetEntitlement403JSONResponseBodyObject ¶
type GetEntitlement403JSONResponseBodyObject string
GetEntitlement403JSONResponseBodyObject defines parameters for GetEntitlement.
const (
GetEntitlement403JSONResponseBodyObjectError GetEntitlement403JSONResponseBodyObject = "error"
)
Defines values for GetEntitlement403JSONResponseBodyObject.
func (GetEntitlement403JSONResponseBodyObject) Valid ¶
func (e GetEntitlement403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement403JSONResponseBodyObject enum.
type GetEntitlement403JSONResponseBodyType ¶
type GetEntitlement403JSONResponseBodyType string
GetEntitlement403JSONResponseBodyType defines parameters for GetEntitlement.
const (
GetEntitlement403JSONResponseBodyTypeAuthorizationError GetEntitlement403JSONResponseBodyType = "authorization_error"
)
Defines values for GetEntitlement403JSONResponseBodyType.
func (GetEntitlement403JSONResponseBodyType) Valid ¶
func (e GetEntitlement403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement403JSONResponseBodyType enum.
type GetEntitlement404JSONResponseBodyObject ¶
type GetEntitlement404JSONResponseBodyObject string
GetEntitlement404JSONResponseBodyObject defines parameters for GetEntitlement.
const (
GetEntitlement404JSONResponseBodyObjectError GetEntitlement404JSONResponseBodyObject = "error"
)
Defines values for GetEntitlement404JSONResponseBodyObject.
func (GetEntitlement404JSONResponseBodyObject) Valid ¶
func (e GetEntitlement404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement404JSONResponseBodyObject enum.
type GetEntitlement404JSONResponseBodyType ¶
type GetEntitlement404JSONResponseBodyType string
GetEntitlement404JSONResponseBodyType defines parameters for GetEntitlement.
const (
GetEntitlement404JSONResponseBodyTypeResourceMissing GetEntitlement404JSONResponseBodyType = "resource_missing"
)
Defines values for GetEntitlement404JSONResponseBodyType.
func (GetEntitlement404JSONResponseBodyType) Valid ¶
func (e GetEntitlement404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement404JSONResponseBodyType enum.
type GetEntitlement423JSONResponseBodyObject ¶
type GetEntitlement423JSONResponseBodyObject string
GetEntitlement423JSONResponseBodyObject defines parameters for GetEntitlement.
const (
GetEntitlement423JSONResponseBodyObjectError GetEntitlement423JSONResponseBodyObject = "error"
)
Defines values for GetEntitlement423JSONResponseBodyObject.
func (GetEntitlement423JSONResponseBodyObject) Valid ¶
func (e GetEntitlement423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement423JSONResponseBodyObject enum.
type GetEntitlement423JSONResponseBodyType ¶
type GetEntitlement423JSONResponseBodyType string
GetEntitlement423JSONResponseBodyType defines parameters for GetEntitlement.
const (
GetEntitlement423JSONResponseBodyTypeResourceLockedError GetEntitlement423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetEntitlement423JSONResponseBodyType.
func (GetEntitlement423JSONResponseBodyType) Valid ¶
func (e GetEntitlement423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement423JSONResponseBodyType enum.
type GetEntitlement429JSONResponseBodyObject ¶
type GetEntitlement429JSONResponseBodyObject string
GetEntitlement429JSONResponseBodyObject defines parameters for GetEntitlement.
const (
GetEntitlement429JSONResponseBodyObjectError GetEntitlement429JSONResponseBodyObject = "error"
)
Defines values for GetEntitlement429JSONResponseBodyObject.
func (GetEntitlement429JSONResponseBodyObject) Valid ¶
func (e GetEntitlement429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement429JSONResponseBodyObject enum.
type GetEntitlement429JSONResponseBodyType ¶
type GetEntitlement429JSONResponseBodyType string
GetEntitlement429JSONResponseBodyType defines parameters for GetEntitlement.
const (
GetEntitlement429JSONResponseBodyTypeRateLimitError GetEntitlement429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetEntitlement429JSONResponseBodyType.
func (GetEntitlement429JSONResponseBodyType) Valid ¶
func (e GetEntitlement429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement429JSONResponseBodyType enum.
type GetEntitlement500JSONResponseBodyObject ¶
type GetEntitlement500JSONResponseBodyObject string
GetEntitlement500JSONResponseBodyObject defines parameters for GetEntitlement.
const (
GetEntitlement500JSONResponseBodyObjectError GetEntitlement500JSONResponseBodyObject = "error"
)
Defines values for GetEntitlement500JSONResponseBodyObject.
func (GetEntitlement500JSONResponseBodyObject) Valid ¶
func (e GetEntitlement500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement500JSONResponseBodyObject enum.
type GetEntitlement500JSONResponseBodyType ¶
type GetEntitlement500JSONResponseBodyType string
GetEntitlement500JSONResponseBodyType defines parameters for GetEntitlement.
const (
GetEntitlement500JSONResponseBodyTypeServerError GetEntitlement500JSONResponseBodyType = "server_error"
)
Defines values for GetEntitlement500JSONResponseBodyType.
func (GetEntitlement500JSONResponseBodyType) Valid ¶
func (e GetEntitlement500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement500JSONResponseBodyType enum.
type GetEntitlement503JSONResponseBodyObject ¶
type GetEntitlement503JSONResponseBodyObject string
GetEntitlement503JSONResponseBodyObject defines parameters for GetEntitlement.
const (
GetEntitlement503JSONResponseBodyObjectError GetEntitlement503JSONResponseBodyObject = "error"
)
Defines values for GetEntitlement503JSONResponseBodyObject.
func (GetEntitlement503JSONResponseBodyObject) Valid ¶
func (e GetEntitlement503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement503JSONResponseBodyObject enum.
type GetEntitlement503JSONResponseBodyType ¶
type GetEntitlement503JSONResponseBodyType string
GetEntitlement503JSONResponseBodyType defines parameters for GetEntitlement.
const (
GetEntitlement503JSONResponseBodyTypeServerError GetEntitlement503JSONResponseBodyType = "server_error"
)
Defines values for GetEntitlement503JSONResponseBodyType.
func (GetEntitlement503JSONResponseBodyType) Valid ¶
func (e GetEntitlement503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlement503JSONResponseBodyType enum.
type GetEntitlementParams ¶
type GetEntitlementParams struct {
// Expand Specifies which fields in the response should be expanded.
// Accepted values are: `product` (requires `project_configuration:products:read` permission).
Expand *[]GetEntitlementParamsExpand `form:"expand,omitempty" json:"expand,omitempty"`
}
GetEntitlementParams defines parameters for GetEntitlement.
type GetEntitlementParamsExpand ¶
type GetEntitlementParamsExpand string
GetEntitlementParamsExpand defines parameters for GetEntitlement.
const (
GetEntitlementParamsExpandProduct GetEntitlementParamsExpand = "product"
)
Defines values for GetEntitlementParamsExpand.
func (GetEntitlementParamsExpand) Valid ¶
func (e GetEntitlementParamsExpand) Valid() bool
Valid indicates whether the value is a known member of the GetEntitlementParamsExpand enum.
type GetInvoice400JSONResponseBodyObject ¶
type GetInvoice400JSONResponseBodyObject string
GetInvoice400JSONResponseBodyObject defines parameters for GetInvoice.
const (
GetInvoice400JSONResponseBodyObjectError GetInvoice400JSONResponseBodyObject = "error"
)
Defines values for GetInvoice400JSONResponseBodyObject.
func (GetInvoice400JSONResponseBodyObject) Valid ¶
func (e GetInvoice400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice400JSONResponseBodyObject enum.
type GetInvoice400JSONResponseBodyType ¶
type GetInvoice400JSONResponseBodyType string
GetInvoice400JSONResponseBodyType defines parameters for GetInvoice.
const ( GetInvoice400JSONResponseBodyTypeInvalidRequest GetInvoice400JSONResponseBodyType = "invalid_request" GetInvoice400JSONResponseBodyTypeParameterError GetInvoice400JSONResponseBodyType = "parameter_error" )
Defines values for GetInvoice400JSONResponseBodyType.
func (GetInvoice400JSONResponseBodyType) Valid ¶
func (e GetInvoice400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice400JSONResponseBodyType enum.
type GetInvoice401JSONResponseBodyObject ¶
type GetInvoice401JSONResponseBodyObject string
GetInvoice401JSONResponseBodyObject defines parameters for GetInvoice.
const (
GetInvoice401JSONResponseBodyObjectError GetInvoice401JSONResponseBodyObject = "error"
)
Defines values for GetInvoice401JSONResponseBodyObject.
func (GetInvoice401JSONResponseBodyObject) Valid ¶
func (e GetInvoice401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice401JSONResponseBodyObject enum.
type GetInvoice401JSONResponseBodyType ¶
type GetInvoice401JSONResponseBodyType string
GetInvoice401JSONResponseBodyType defines parameters for GetInvoice.
const (
GetInvoice401JSONResponseBodyTypeAuthenticationError GetInvoice401JSONResponseBodyType = "authentication_error"
)
Defines values for GetInvoice401JSONResponseBodyType.
func (GetInvoice401JSONResponseBodyType) Valid ¶
func (e GetInvoice401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice401JSONResponseBodyType enum.
type GetInvoice403JSONResponseBodyObject ¶
type GetInvoice403JSONResponseBodyObject string
GetInvoice403JSONResponseBodyObject defines parameters for GetInvoice.
const (
GetInvoice403JSONResponseBodyObjectError GetInvoice403JSONResponseBodyObject = "error"
)
Defines values for GetInvoice403JSONResponseBodyObject.
func (GetInvoice403JSONResponseBodyObject) Valid ¶
func (e GetInvoice403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice403JSONResponseBodyObject enum.
type GetInvoice403JSONResponseBodyType ¶
type GetInvoice403JSONResponseBodyType string
GetInvoice403JSONResponseBodyType defines parameters for GetInvoice.
const (
GetInvoice403JSONResponseBodyTypeAuthorizationError GetInvoice403JSONResponseBodyType = "authorization_error"
)
Defines values for GetInvoice403JSONResponseBodyType.
func (GetInvoice403JSONResponseBodyType) Valid ¶
func (e GetInvoice403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice403JSONResponseBodyType enum.
type GetInvoice404JSONResponseBodyObject ¶
type GetInvoice404JSONResponseBodyObject string
GetInvoice404JSONResponseBodyObject defines parameters for GetInvoice.
const (
GetInvoice404JSONResponseBodyObjectError GetInvoice404JSONResponseBodyObject = "error"
)
Defines values for GetInvoice404JSONResponseBodyObject.
func (GetInvoice404JSONResponseBodyObject) Valid ¶
func (e GetInvoice404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice404JSONResponseBodyObject enum.
type GetInvoice404JSONResponseBodyType ¶
type GetInvoice404JSONResponseBodyType string
GetInvoice404JSONResponseBodyType defines parameters for GetInvoice.
const (
GetInvoice404JSONResponseBodyTypeResourceMissing GetInvoice404JSONResponseBodyType = "resource_missing"
)
Defines values for GetInvoice404JSONResponseBodyType.
func (GetInvoice404JSONResponseBodyType) Valid ¶
func (e GetInvoice404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice404JSONResponseBodyType enum.
type GetInvoice423JSONResponseBodyObject ¶
type GetInvoice423JSONResponseBodyObject string
GetInvoice423JSONResponseBodyObject defines parameters for GetInvoice.
const (
GetInvoice423JSONResponseBodyObjectError GetInvoice423JSONResponseBodyObject = "error"
)
Defines values for GetInvoice423JSONResponseBodyObject.
func (GetInvoice423JSONResponseBodyObject) Valid ¶
func (e GetInvoice423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice423JSONResponseBodyObject enum.
type GetInvoice423JSONResponseBodyType ¶
type GetInvoice423JSONResponseBodyType string
GetInvoice423JSONResponseBodyType defines parameters for GetInvoice.
const (
GetInvoice423JSONResponseBodyTypeResourceLockedError GetInvoice423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetInvoice423JSONResponseBodyType.
func (GetInvoice423JSONResponseBodyType) Valid ¶
func (e GetInvoice423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice423JSONResponseBodyType enum.
type GetInvoice429JSONResponseBodyObject ¶
type GetInvoice429JSONResponseBodyObject string
GetInvoice429JSONResponseBodyObject defines parameters for GetInvoice.
const (
GetInvoice429JSONResponseBodyObjectError GetInvoice429JSONResponseBodyObject = "error"
)
Defines values for GetInvoice429JSONResponseBodyObject.
func (GetInvoice429JSONResponseBodyObject) Valid ¶
func (e GetInvoice429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice429JSONResponseBodyObject enum.
type GetInvoice429JSONResponseBodyType ¶
type GetInvoice429JSONResponseBodyType string
GetInvoice429JSONResponseBodyType defines parameters for GetInvoice.
const (
GetInvoice429JSONResponseBodyTypeRateLimitError GetInvoice429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetInvoice429JSONResponseBodyType.
func (GetInvoice429JSONResponseBodyType) Valid ¶
func (e GetInvoice429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice429JSONResponseBodyType enum.
type GetInvoice500JSONResponseBodyObject ¶
type GetInvoice500JSONResponseBodyObject string
GetInvoice500JSONResponseBodyObject defines parameters for GetInvoice.
const (
GetInvoice500JSONResponseBodyObjectError GetInvoice500JSONResponseBodyObject = "error"
)
Defines values for GetInvoice500JSONResponseBodyObject.
func (GetInvoice500JSONResponseBodyObject) Valid ¶
func (e GetInvoice500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice500JSONResponseBodyObject enum.
type GetInvoice500JSONResponseBodyType ¶
type GetInvoice500JSONResponseBodyType string
GetInvoice500JSONResponseBodyType defines parameters for GetInvoice.
const (
GetInvoice500JSONResponseBodyTypeServerError GetInvoice500JSONResponseBodyType = "server_error"
)
Defines values for GetInvoice500JSONResponseBodyType.
func (GetInvoice500JSONResponseBodyType) Valid ¶
func (e GetInvoice500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice500JSONResponseBodyType enum.
type GetInvoice503JSONResponseBodyObject ¶
type GetInvoice503JSONResponseBodyObject string
GetInvoice503JSONResponseBodyObject defines parameters for GetInvoice.
const (
GetInvoice503JSONResponseBodyObjectError GetInvoice503JSONResponseBodyObject = "error"
)
Defines values for GetInvoice503JSONResponseBodyObject.
func (GetInvoice503JSONResponseBodyObject) Valid ¶
func (e GetInvoice503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice503JSONResponseBodyObject enum.
type GetInvoice503JSONResponseBodyType ¶
type GetInvoice503JSONResponseBodyType string
GetInvoice503JSONResponseBodyType defines parameters for GetInvoice.
const (
GetInvoice503JSONResponseBodyTypeServerError GetInvoice503JSONResponseBodyType = "server_error"
)
Defines values for GetInvoice503JSONResponseBodyType.
func (GetInvoice503JSONResponseBodyType) Valid ¶
func (e GetInvoice503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetInvoice503JSONResponseBodyType enum.
type GetOffering400JSONResponseBodyObject ¶
type GetOffering400JSONResponseBodyObject string
GetOffering400JSONResponseBodyObject defines parameters for GetOffering.
const (
GetOffering400JSONResponseBodyObjectError GetOffering400JSONResponseBodyObject = "error"
)
Defines values for GetOffering400JSONResponseBodyObject.
func (GetOffering400JSONResponseBodyObject) Valid ¶
func (e GetOffering400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOffering400JSONResponseBodyObject enum.
type GetOffering400JSONResponseBodyType ¶
type GetOffering400JSONResponseBodyType string
GetOffering400JSONResponseBodyType defines parameters for GetOffering.
const ( GetOffering400JSONResponseBodyTypeInvalidRequest GetOffering400JSONResponseBodyType = "invalid_request" GetOffering400JSONResponseBodyTypeParameterError GetOffering400JSONResponseBodyType = "parameter_error" )
Defines values for GetOffering400JSONResponseBodyType.
func (GetOffering400JSONResponseBodyType) Valid ¶
func (e GetOffering400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOffering400JSONResponseBodyType enum.
type GetOffering401JSONResponseBodyObject ¶
type GetOffering401JSONResponseBodyObject string
GetOffering401JSONResponseBodyObject defines parameters for GetOffering.
const (
GetOffering401JSONResponseBodyObjectError GetOffering401JSONResponseBodyObject = "error"
)
Defines values for GetOffering401JSONResponseBodyObject.
func (GetOffering401JSONResponseBodyObject) Valid ¶
func (e GetOffering401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOffering401JSONResponseBodyObject enum.
type GetOffering401JSONResponseBodyType ¶
type GetOffering401JSONResponseBodyType string
GetOffering401JSONResponseBodyType defines parameters for GetOffering.
const (
GetOffering401JSONResponseBodyTypeAuthenticationError GetOffering401JSONResponseBodyType = "authentication_error"
)
Defines values for GetOffering401JSONResponseBodyType.
func (GetOffering401JSONResponseBodyType) Valid ¶
func (e GetOffering401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOffering401JSONResponseBodyType enum.
type GetOffering403JSONResponseBodyObject ¶
type GetOffering403JSONResponseBodyObject string
GetOffering403JSONResponseBodyObject defines parameters for GetOffering.
const (
GetOffering403JSONResponseBodyObjectError GetOffering403JSONResponseBodyObject = "error"
)
Defines values for GetOffering403JSONResponseBodyObject.
func (GetOffering403JSONResponseBodyObject) Valid ¶
func (e GetOffering403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOffering403JSONResponseBodyObject enum.
type GetOffering403JSONResponseBodyType ¶
type GetOffering403JSONResponseBodyType string
GetOffering403JSONResponseBodyType defines parameters for GetOffering.
const (
GetOffering403JSONResponseBodyTypeAuthorizationError GetOffering403JSONResponseBodyType = "authorization_error"
)
Defines values for GetOffering403JSONResponseBodyType.
func (GetOffering403JSONResponseBodyType) Valid ¶
func (e GetOffering403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOffering403JSONResponseBodyType enum.
type GetOffering404JSONResponseBodyObject ¶
type GetOffering404JSONResponseBodyObject string
GetOffering404JSONResponseBodyObject defines parameters for GetOffering.
const (
GetOffering404JSONResponseBodyObjectError GetOffering404JSONResponseBodyObject = "error"
)
Defines values for GetOffering404JSONResponseBodyObject.
func (GetOffering404JSONResponseBodyObject) Valid ¶
func (e GetOffering404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOffering404JSONResponseBodyObject enum.
type GetOffering404JSONResponseBodyType ¶
type GetOffering404JSONResponseBodyType string
GetOffering404JSONResponseBodyType defines parameters for GetOffering.
const (
GetOffering404JSONResponseBodyTypeResourceMissing GetOffering404JSONResponseBodyType = "resource_missing"
)
Defines values for GetOffering404JSONResponseBodyType.
func (GetOffering404JSONResponseBodyType) Valid ¶
func (e GetOffering404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOffering404JSONResponseBodyType enum.
type GetOffering423JSONResponseBodyObject ¶
type GetOffering423JSONResponseBodyObject string
GetOffering423JSONResponseBodyObject defines parameters for GetOffering.
const (
GetOffering423JSONResponseBodyObjectError GetOffering423JSONResponseBodyObject = "error"
)
Defines values for GetOffering423JSONResponseBodyObject.
func (GetOffering423JSONResponseBodyObject) Valid ¶
func (e GetOffering423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOffering423JSONResponseBodyObject enum.
type GetOffering423JSONResponseBodyType ¶
type GetOffering423JSONResponseBodyType string
GetOffering423JSONResponseBodyType defines parameters for GetOffering.
const (
GetOffering423JSONResponseBodyTypeResourceLockedError GetOffering423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetOffering423JSONResponseBodyType.
func (GetOffering423JSONResponseBodyType) Valid ¶
func (e GetOffering423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOffering423JSONResponseBodyType enum.
type GetOffering429JSONResponseBodyObject ¶
type GetOffering429JSONResponseBodyObject string
GetOffering429JSONResponseBodyObject defines parameters for GetOffering.
const (
GetOffering429JSONResponseBodyObjectError GetOffering429JSONResponseBodyObject = "error"
)
Defines values for GetOffering429JSONResponseBodyObject.
func (GetOffering429JSONResponseBodyObject) Valid ¶
func (e GetOffering429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOffering429JSONResponseBodyObject enum.
type GetOffering429JSONResponseBodyType ¶
type GetOffering429JSONResponseBodyType string
GetOffering429JSONResponseBodyType defines parameters for GetOffering.
const (
GetOffering429JSONResponseBodyTypeRateLimitError GetOffering429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetOffering429JSONResponseBodyType.
func (GetOffering429JSONResponseBodyType) Valid ¶
func (e GetOffering429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOffering429JSONResponseBodyType enum.
type GetOffering500JSONResponseBodyObject ¶
type GetOffering500JSONResponseBodyObject string
GetOffering500JSONResponseBodyObject defines parameters for GetOffering.
const (
GetOffering500JSONResponseBodyObjectError GetOffering500JSONResponseBodyObject = "error"
)
Defines values for GetOffering500JSONResponseBodyObject.
func (GetOffering500JSONResponseBodyObject) Valid ¶
func (e GetOffering500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOffering500JSONResponseBodyObject enum.
type GetOffering500JSONResponseBodyType ¶
type GetOffering500JSONResponseBodyType string
GetOffering500JSONResponseBodyType defines parameters for GetOffering.
const (
GetOffering500JSONResponseBodyTypeServerError GetOffering500JSONResponseBodyType = "server_error"
)
Defines values for GetOffering500JSONResponseBodyType.
func (GetOffering500JSONResponseBodyType) Valid ¶
func (e GetOffering500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOffering500JSONResponseBodyType enum.
type GetOffering503JSONResponseBodyObject ¶
type GetOffering503JSONResponseBodyObject string
GetOffering503JSONResponseBodyObject defines parameters for GetOffering.
const (
GetOffering503JSONResponseBodyObjectError GetOffering503JSONResponseBodyObject = "error"
)
Defines values for GetOffering503JSONResponseBodyObject.
func (GetOffering503JSONResponseBodyObject) Valid ¶
func (e GetOffering503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOffering503JSONResponseBodyObject enum.
type GetOffering503JSONResponseBodyType ¶
type GetOffering503JSONResponseBodyType string
GetOffering503JSONResponseBodyType defines parameters for GetOffering.
const (
GetOffering503JSONResponseBodyTypeServerError GetOffering503JSONResponseBodyType = "server_error"
)
Defines values for GetOffering503JSONResponseBodyType.
func (GetOffering503JSONResponseBodyType) Valid ¶
func (e GetOffering503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOffering503JSONResponseBodyType enum.
type GetOfferingParams ¶
type GetOfferingParams struct {
// Expand Specifies which fields in the response should be expanded.
// Accepted values are: `package` (requires `project_configuration:packages:read` permission), `package.product` (requires `project_configuration:products:read` permission).
Expand *[]GetOfferingParamsExpand `form:"expand,omitempty" json:"expand,omitempty"`
}
GetOfferingParams defines parameters for GetOffering.
type GetOfferingParamsExpand ¶
type GetOfferingParamsExpand string
GetOfferingParamsExpand defines parameters for GetOffering.
const ( GetOfferingParamsExpandPackage GetOfferingParamsExpand = "package" GetOfferingParamsExpandPackageProduct GetOfferingParamsExpand = "package.product" )
Defines values for GetOfferingParamsExpand.
func (GetOfferingParamsExpand) Valid ¶
func (e GetOfferingParamsExpand) Valid() bool
Valid indicates whether the value is a known member of the GetOfferingParamsExpand enum.
type GetOverviewMetrics400JSONResponseBodyObject ¶
type GetOverviewMetrics400JSONResponseBodyObject string
GetOverviewMetrics400JSONResponseBodyObject defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics400JSONResponseBodyObjectError GetOverviewMetrics400JSONResponseBodyObject = "error"
)
Defines values for GetOverviewMetrics400JSONResponseBodyObject.
func (GetOverviewMetrics400JSONResponseBodyObject) Valid ¶
func (e GetOverviewMetrics400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics400JSONResponseBodyObject enum.
type GetOverviewMetrics400JSONResponseBodyType ¶
type GetOverviewMetrics400JSONResponseBodyType string
GetOverviewMetrics400JSONResponseBodyType defines parameters for GetOverviewMetrics.
const ( GetOverviewMetrics400JSONResponseBodyTypeInvalidRequest GetOverviewMetrics400JSONResponseBodyType = "invalid_request" GetOverviewMetrics400JSONResponseBodyTypeParameterError GetOverviewMetrics400JSONResponseBodyType = "parameter_error" )
Defines values for GetOverviewMetrics400JSONResponseBodyType.
func (GetOverviewMetrics400JSONResponseBodyType) Valid ¶
func (e GetOverviewMetrics400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics400JSONResponseBodyType enum.
type GetOverviewMetrics401JSONResponseBodyObject ¶
type GetOverviewMetrics401JSONResponseBodyObject string
GetOverviewMetrics401JSONResponseBodyObject defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics401JSONResponseBodyObjectError GetOverviewMetrics401JSONResponseBodyObject = "error"
)
Defines values for GetOverviewMetrics401JSONResponseBodyObject.
func (GetOverviewMetrics401JSONResponseBodyObject) Valid ¶
func (e GetOverviewMetrics401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics401JSONResponseBodyObject enum.
type GetOverviewMetrics401JSONResponseBodyType ¶
type GetOverviewMetrics401JSONResponseBodyType string
GetOverviewMetrics401JSONResponseBodyType defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics401JSONResponseBodyTypeAuthenticationError GetOverviewMetrics401JSONResponseBodyType = "authentication_error"
)
Defines values for GetOverviewMetrics401JSONResponseBodyType.
func (GetOverviewMetrics401JSONResponseBodyType) Valid ¶
func (e GetOverviewMetrics401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics401JSONResponseBodyType enum.
type GetOverviewMetrics403JSONResponseBodyObject ¶
type GetOverviewMetrics403JSONResponseBodyObject string
GetOverviewMetrics403JSONResponseBodyObject defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics403JSONResponseBodyObjectError GetOverviewMetrics403JSONResponseBodyObject = "error"
)
Defines values for GetOverviewMetrics403JSONResponseBodyObject.
func (GetOverviewMetrics403JSONResponseBodyObject) Valid ¶
func (e GetOverviewMetrics403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics403JSONResponseBodyObject enum.
type GetOverviewMetrics403JSONResponseBodyType ¶
type GetOverviewMetrics403JSONResponseBodyType string
GetOverviewMetrics403JSONResponseBodyType defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics403JSONResponseBodyTypeAuthorizationError GetOverviewMetrics403JSONResponseBodyType = "authorization_error"
)
Defines values for GetOverviewMetrics403JSONResponseBodyType.
func (GetOverviewMetrics403JSONResponseBodyType) Valid ¶
func (e GetOverviewMetrics403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics403JSONResponseBodyType enum.
type GetOverviewMetrics404JSONResponseBodyObject ¶
type GetOverviewMetrics404JSONResponseBodyObject string
GetOverviewMetrics404JSONResponseBodyObject defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics404JSONResponseBodyObjectError GetOverviewMetrics404JSONResponseBodyObject = "error"
)
Defines values for GetOverviewMetrics404JSONResponseBodyObject.
func (GetOverviewMetrics404JSONResponseBodyObject) Valid ¶
func (e GetOverviewMetrics404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics404JSONResponseBodyObject enum.
type GetOverviewMetrics404JSONResponseBodyType ¶
type GetOverviewMetrics404JSONResponseBodyType string
GetOverviewMetrics404JSONResponseBodyType defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics404JSONResponseBodyTypeResourceMissing GetOverviewMetrics404JSONResponseBodyType = "resource_missing"
)
Defines values for GetOverviewMetrics404JSONResponseBodyType.
func (GetOverviewMetrics404JSONResponseBodyType) Valid ¶
func (e GetOverviewMetrics404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics404JSONResponseBodyType enum.
type GetOverviewMetrics423JSONResponseBodyObject ¶
type GetOverviewMetrics423JSONResponseBodyObject string
GetOverviewMetrics423JSONResponseBodyObject defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics423JSONResponseBodyObjectError GetOverviewMetrics423JSONResponseBodyObject = "error"
)
Defines values for GetOverviewMetrics423JSONResponseBodyObject.
func (GetOverviewMetrics423JSONResponseBodyObject) Valid ¶
func (e GetOverviewMetrics423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics423JSONResponseBodyObject enum.
type GetOverviewMetrics423JSONResponseBodyType ¶
type GetOverviewMetrics423JSONResponseBodyType string
GetOverviewMetrics423JSONResponseBodyType defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics423JSONResponseBodyTypeResourceLockedError GetOverviewMetrics423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetOverviewMetrics423JSONResponseBodyType.
func (GetOverviewMetrics423JSONResponseBodyType) Valid ¶
func (e GetOverviewMetrics423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics423JSONResponseBodyType enum.
type GetOverviewMetrics429JSONResponseBodyObject ¶
type GetOverviewMetrics429JSONResponseBodyObject string
GetOverviewMetrics429JSONResponseBodyObject defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics429JSONResponseBodyObjectError GetOverviewMetrics429JSONResponseBodyObject = "error"
)
Defines values for GetOverviewMetrics429JSONResponseBodyObject.
func (GetOverviewMetrics429JSONResponseBodyObject) Valid ¶
func (e GetOverviewMetrics429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics429JSONResponseBodyObject enum.
type GetOverviewMetrics429JSONResponseBodyType ¶
type GetOverviewMetrics429JSONResponseBodyType string
GetOverviewMetrics429JSONResponseBodyType defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics429JSONResponseBodyTypeRateLimitError GetOverviewMetrics429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetOverviewMetrics429JSONResponseBodyType.
func (GetOverviewMetrics429JSONResponseBodyType) Valid ¶
func (e GetOverviewMetrics429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics429JSONResponseBodyType enum.
type GetOverviewMetrics500JSONResponseBodyObject ¶
type GetOverviewMetrics500JSONResponseBodyObject string
GetOverviewMetrics500JSONResponseBodyObject defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics500JSONResponseBodyObjectError GetOverviewMetrics500JSONResponseBodyObject = "error"
)
Defines values for GetOverviewMetrics500JSONResponseBodyObject.
func (GetOverviewMetrics500JSONResponseBodyObject) Valid ¶
func (e GetOverviewMetrics500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics500JSONResponseBodyObject enum.
type GetOverviewMetrics500JSONResponseBodyType ¶
type GetOverviewMetrics500JSONResponseBodyType string
GetOverviewMetrics500JSONResponseBodyType defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics500JSONResponseBodyTypeServerError GetOverviewMetrics500JSONResponseBodyType = "server_error"
)
Defines values for GetOverviewMetrics500JSONResponseBodyType.
func (GetOverviewMetrics500JSONResponseBodyType) Valid ¶
func (e GetOverviewMetrics500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics500JSONResponseBodyType enum.
type GetOverviewMetrics503JSONResponseBodyObject ¶
type GetOverviewMetrics503JSONResponseBodyObject string
GetOverviewMetrics503JSONResponseBodyObject defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics503JSONResponseBodyObjectError GetOverviewMetrics503JSONResponseBodyObject = "error"
)
Defines values for GetOverviewMetrics503JSONResponseBodyObject.
func (GetOverviewMetrics503JSONResponseBodyObject) Valid ¶
func (e GetOverviewMetrics503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics503JSONResponseBodyObject enum.
type GetOverviewMetrics503JSONResponseBodyType ¶
type GetOverviewMetrics503JSONResponseBodyType string
GetOverviewMetrics503JSONResponseBodyType defines parameters for GetOverviewMetrics.
const (
GetOverviewMetrics503JSONResponseBodyTypeServerError GetOverviewMetrics503JSONResponseBodyType = "server_error"
)
Defines values for GetOverviewMetrics503JSONResponseBodyType.
func (GetOverviewMetrics503JSONResponseBodyType) Valid ¶
func (e GetOverviewMetrics503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetrics503JSONResponseBodyType enum.
type GetOverviewMetricsParams ¶
type GetOverviewMetricsParams struct {
// Currency The currency to return metrics data in
Currency *GetOverviewMetricsParamsCurrency `form:"currency,omitempty" json:"currency,omitempty"`
}
GetOverviewMetricsParams defines parameters for GetOverviewMetrics.
type GetOverviewMetricsParamsCurrency ¶
type GetOverviewMetricsParamsCurrency string
GetOverviewMetricsParamsCurrency defines parameters for GetOverviewMetrics.
const ( GetOverviewMetricsParamsCurrencyAUD GetOverviewMetricsParamsCurrency = "AUD" GetOverviewMetricsParamsCurrencyBRL GetOverviewMetricsParamsCurrency = "BRL" GetOverviewMetricsParamsCurrencyCAD GetOverviewMetricsParamsCurrency = "CAD" GetOverviewMetricsParamsCurrencyCHF GetOverviewMetricsParamsCurrency = "CHF" GetOverviewMetricsParamsCurrencyCNY GetOverviewMetricsParamsCurrency = "CNY" GetOverviewMetricsParamsCurrencyEUR GetOverviewMetricsParamsCurrency = "EUR" GetOverviewMetricsParamsCurrencyGBP GetOverviewMetricsParamsCurrency = "GBP" GetOverviewMetricsParamsCurrencyJPY GetOverviewMetricsParamsCurrency = "JPY" GetOverviewMetricsParamsCurrencyKRW GetOverviewMetricsParamsCurrency = "KRW" GetOverviewMetricsParamsCurrencyMXN GetOverviewMetricsParamsCurrency = "MXN" GetOverviewMetricsParamsCurrencyNZD GetOverviewMetricsParamsCurrency = "NZD" GetOverviewMetricsParamsCurrencyPLN GetOverviewMetricsParamsCurrency = "PLN" GetOverviewMetricsParamsCurrencySEK GetOverviewMetricsParamsCurrency = "SEK" GetOverviewMetricsParamsCurrencyUSD GetOverviewMetricsParamsCurrency = "USD" )
Defines values for GetOverviewMetricsParamsCurrency.
func (GetOverviewMetricsParamsCurrency) Valid ¶
func (e GetOverviewMetricsParamsCurrency) Valid() bool
Valid indicates whether the value is a known member of the GetOverviewMetricsParamsCurrency enum.
type GetPackage400JSONResponseBodyObject ¶
type GetPackage400JSONResponseBodyObject string
GetPackage400JSONResponseBodyObject defines parameters for GetPackage.
const (
GetPackage400JSONResponseBodyObjectError GetPackage400JSONResponseBodyObject = "error"
)
Defines values for GetPackage400JSONResponseBodyObject.
func (GetPackage400JSONResponseBodyObject) Valid ¶
func (e GetPackage400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPackage400JSONResponseBodyObject enum.
type GetPackage400JSONResponseBodyType ¶
type GetPackage400JSONResponseBodyType string
GetPackage400JSONResponseBodyType defines parameters for GetPackage.
const ( GetPackage400JSONResponseBodyTypeInvalidRequest GetPackage400JSONResponseBodyType = "invalid_request" GetPackage400JSONResponseBodyTypeParameterError GetPackage400JSONResponseBodyType = "parameter_error" )
Defines values for GetPackage400JSONResponseBodyType.
func (GetPackage400JSONResponseBodyType) Valid ¶
func (e GetPackage400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPackage400JSONResponseBodyType enum.
type GetPackage401JSONResponseBodyObject ¶
type GetPackage401JSONResponseBodyObject string
GetPackage401JSONResponseBodyObject defines parameters for GetPackage.
const (
GetPackage401JSONResponseBodyObjectError GetPackage401JSONResponseBodyObject = "error"
)
Defines values for GetPackage401JSONResponseBodyObject.
func (GetPackage401JSONResponseBodyObject) Valid ¶
func (e GetPackage401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPackage401JSONResponseBodyObject enum.
type GetPackage401JSONResponseBodyType ¶
type GetPackage401JSONResponseBodyType string
GetPackage401JSONResponseBodyType defines parameters for GetPackage.
const (
GetPackage401JSONResponseBodyTypeAuthenticationError GetPackage401JSONResponseBodyType = "authentication_error"
)
Defines values for GetPackage401JSONResponseBodyType.
func (GetPackage401JSONResponseBodyType) Valid ¶
func (e GetPackage401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPackage401JSONResponseBodyType enum.
type GetPackage403JSONResponseBodyObject ¶
type GetPackage403JSONResponseBodyObject string
GetPackage403JSONResponseBodyObject defines parameters for GetPackage.
const (
GetPackage403JSONResponseBodyObjectError GetPackage403JSONResponseBodyObject = "error"
)
Defines values for GetPackage403JSONResponseBodyObject.
func (GetPackage403JSONResponseBodyObject) Valid ¶
func (e GetPackage403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPackage403JSONResponseBodyObject enum.
type GetPackage403JSONResponseBodyType ¶
type GetPackage403JSONResponseBodyType string
GetPackage403JSONResponseBodyType defines parameters for GetPackage.
const (
GetPackage403JSONResponseBodyTypeAuthorizationError GetPackage403JSONResponseBodyType = "authorization_error"
)
Defines values for GetPackage403JSONResponseBodyType.
func (GetPackage403JSONResponseBodyType) Valid ¶
func (e GetPackage403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPackage403JSONResponseBodyType enum.
type GetPackage404JSONResponseBodyObject ¶
type GetPackage404JSONResponseBodyObject string
GetPackage404JSONResponseBodyObject defines parameters for GetPackage.
const (
GetPackage404JSONResponseBodyObjectError GetPackage404JSONResponseBodyObject = "error"
)
Defines values for GetPackage404JSONResponseBodyObject.
func (GetPackage404JSONResponseBodyObject) Valid ¶
func (e GetPackage404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPackage404JSONResponseBodyObject enum.
type GetPackage404JSONResponseBodyType ¶
type GetPackage404JSONResponseBodyType string
GetPackage404JSONResponseBodyType defines parameters for GetPackage.
const (
GetPackage404JSONResponseBodyTypeResourceMissing GetPackage404JSONResponseBodyType = "resource_missing"
)
Defines values for GetPackage404JSONResponseBodyType.
func (GetPackage404JSONResponseBodyType) Valid ¶
func (e GetPackage404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPackage404JSONResponseBodyType enum.
type GetPackage423JSONResponseBodyObject ¶
type GetPackage423JSONResponseBodyObject string
GetPackage423JSONResponseBodyObject defines parameters for GetPackage.
const (
GetPackage423JSONResponseBodyObjectError GetPackage423JSONResponseBodyObject = "error"
)
Defines values for GetPackage423JSONResponseBodyObject.
func (GetPackage423JSONResponseBodyObject) Valid ¶
func (e GetPackage423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPackage423JSONResponseBodyObject enum.
type GetPackage423JSONResponseBodyType ¶
type GetPackage423JSONResponseBodyType string
GetPackage423JSONResponseBodyType defines parameters for GetPackage.
const (
GetPackage423JSONResponseBodyTypeResourceLockedError GetPackage423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetPackage423JSONResponseBodyType.
func (GetPackage423JSONResponseBodyType) Valid ¶
func (e GetPackage423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPackage423JSONResponseBodyType enum.
type GetPackage429JSONResponseBodyObject ¶
type GetPackage429JSONResponseBodyObject string
GetPackage429JSONResponseBodyObject defines parameters for GetPackage.
const (
GetPackage429JSONResponseBodyObjectError GetPackage429JSONResponseBodyObject = "error"
)
Defines values for GetPackage429JSONResponseBodyObject.
func (GetPackage429JSONResponseBodyObject) Valid ¶
func (e GetPackage429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPackage429JSONResponseBodyObject enum.
type GetPackage429JSONResponseBodyType ¶
type GetPackage429JSONResponseBodyType string
GetPackage429JSONResponseBodyType defines parameters for GetPackage.
const (
GetPackage429JSONResponseBodyTypeRateLimitError GetPackage429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetPackage429JSONResponseBodyType.
func (GetPackage429JSONResponseBodyType) Valid ¶
func (e GetPackage429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPackage429JSONResponseBodyType enum.
type GetPackage500JSONResponseBodyObject ¶
type GetPackage500JSONResponseBodyObject string
GetPackage500JSONResponseBodyObject defines parameters for GetPackage.
const (
GetPackage500JSONResponseBodyObjectError GetPackage500JSONResponseBodyObject = "error"
)
Defines values for GetPackage500JSONResponseBodyObject.
func (GetPackage500JSONResponseBodyObject) Valid ¶
func (e GetPackage500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPackage500JSONResponseBodyObject enum.
type GetPackage500JSONResponseBodyType ¶
type GetPackage500JSONResponseBodyType string
GetPackage500JSONResponseBodyType defines parameters for GetPackage.
const (
GetPackage500JSONResponseBodyTypeServerError GetPackage500JSONResponseBodyType = "server_error"
)
Defines values for GetPackage500JSONResponseBodyType.
func (GetPackage500JSONResponseBodyType) Valid ¶
func (e GetPackage500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPackage500JSONResponseBodyType enum.
type GetPackage503JSONResponseBodyObject ¶
type GetPackage503JSONResponseBodyObject string
GetPackage503JSONResponseBodyObject defines parameters for GetPackage.
const (
GetPackage503JSONResponseBodyObjectError GetPackage503JSONResponseBodyObject = "error"
)
Defines values for GetPackage503JSONResponseBodyObject.
func (GetPackage503JSONResponseBodyObject) Valid ¶
func (e GetPackage503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPackage503JSONResponseBodyObject enum.
type GetPackage503JSONResponseBodyType ¶
type GetPackage503JSONResponseBodyType string
GetPackage503JSONResponseBodyType defines parameters for GetPackage.
const (
GetPackage503JSONResponseBodyTypeServerError GetPackage503JSONResponseBodyType = "server_error"
)
Defines values for GetPackage503JSONResponseBodyType.
func (GetPackage503JSONResponseBodyType) Valid ¶
func (e GetPackage503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPackage503JSONResponseBodyType enum.
type GetPackageParams ¶
type GetPackageParams struct {
// Expand Specifies which fields in the response should be expanded.
// Accepted values are: `product` (requires `project_configuration:products:read` permission).
Expand *[]GetPackageParamsExpand `form:"expand,omitempty" json:"expand,omitempty"`
}
GetPackageParams defines parameters for GetPackage.
type GetPackageParamsExpand ¶
type GetPackageParamsExpand string
GetPackageParamsExpand defines parameters for GetPackage.
const (
GetPackageParamsExpandProduct GetPackageParamsExpand = "product"
)
Defines values for GetPackageParamsExpand.
func (GetPackageParamsExpand) Valid ¶
func (e GetPackageParamsExpand) Valid() bool
Valid indicates whether the value is a known member of the GetPackageParamsExpand enum.
type GetPaywall400JSONResponseBodyObject ¶
type GetPaywall400JSONResponseBodyObject string
GetPaywall400JSONResponseBodyObject defines parameters for GetPaywall.
const (
GetPaywall400JSONResponseBodyObjectError GetPaywall400JSONResponseBodyObject = "error"
)
Defines values for GetPaywall400JSONResponseBodyObject.
func (GetPaywall400JSONResponseBodyObject) Valid ¶
func (e GetPaywall400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall400JSONResponseBodyObject enum.
type GetPaywall400JSONResponseBodyType ¶
type GetPaywall400JSONResponseBodyType string
GetPaywall400JSONResponseBodyType defines parameters for GetPaywall.
const ( GetPaywall400JSONResponseBodyTypeInvalidRequest GetPaywall400JSONResponseBodyType = "invalid_request" GetPaywall400JSONResponseBodyTypeParameterError GetPaywall400JSONResponseBodyType = "parameter_error" )
Defines values for GetPaywall400JSONResponseBodyType.
func (GetPaywall400JSONResponseBodyType) Valid ¶
func (e GetPaywall400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall400JSONResponseBodyType enum.
type GetPaywall401JSONResponseBodyObject ¶
type GetPaywall401JSONResponseBodyObject string
GetPaywall401JSONResponseBodyObject defines parameters for GetPaywall.
const (
GetPaywall401JSONResponseBodyObjectError GetPaywall401JSONResponseBodyObject = "error"
)
Defines values for GetPaywall401JSONResponseBodyObject.
func (GetPaywall401JSONResponseBodyObject) Valid ¶
func (e GetPaywall401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall401JSONResponseBodyObject enum.
type GetPaywall401JSONResponseBodyType ¶
type GetPaywall401JSONResponseBodyType string
GetPaywall401JSONResponseBodyType defines parameters for GetPaywall.
const (
GetPaywall401JSONResponseBodyTypeAuthenticationError GetPaywall401JSONResponseBodyType = "authentication_error"
)
Defines values for GetPaywall401JSONResponseBodyType.
func (GetPaywall401JSONResponseBodyType) Valid ¶
func (e GetPaywall401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall401JSONResponseBodyType enum.
type GetPaywall403JSONResponseBodyObject ¶
type GetPaywall403JSONResponseBodyObject string
GetPaywall403JSONResponseBodyObject defines parameters for GetPaywall.
const (
GetPaywall403JSONResponseBodyObjectError GetPaywall403JSONResponseBodyObject = "error"
)
Defines values for GetPaywall403JSONResponseBodyObject.
func (GetPaywall403JSONResponseBodyObject) Valid ¶
func (e GetPaywall403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall403JSONResponseBodyObject enum.
type GetPaywall403JSONResponseBodyType ¶
type GetPaywall403JSONResponseBodyType string
GetPaywall403JSONResponseBodyType defines parameters for GetPaywall.
const (
GetPaywall403JSONResponseBodyTypeAuthorizationError GetPaywall403JSONResponseBodyType = "authorization_error"
)
Defines values for GetPaywall403JSONResponseBodyType.
func (GetPaywall403JSONResponseBodyType) Valid ¶
func (e GetPaywall403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall403JSONResponseBodyType enum.
type GetPaywall404JSONResponseBodyObject ¶
type GetPaywall404JSONResponseBodyObject string
GetPaywall404JSONResponseBodyObject defines parameters for GetPaywall.
const (
GetPaywall404JSONResponseBodyObjectError GetPaywall404JSONResponseBodyObject = "error"
)
Defines values for GetPaywall404JSONResponseBodyObject.
func (GetPaywall404JSONResponseBodyObject) Valid ¶
func (e GetPaywall404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall404JSONResponseBodyObject enum.
type GetPaywall404JSONResponseBodyType ¶
type GetPaywall404JSONResponseBodyType string
GetPaywall404JSONResponseBodyType defines parameters for GetPaywall.
const (
GetPaywall404JSONResponseBodyTypeResourceMissing GetPaywall404JSONResponseBodyType = "resource_missing"
)
Defines values for GetPaywall404JSONResponseBodyType.
func (GetPaywall404JSONResponseBodyType) Valid ¶
func (e GetPaywall404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall404JSONResponseBodyType enum.
type GetPaywall423JSONResponseBodyObject ¶
type GetPaywall423JSONResponseBodyObject string
GetPaywall423JSONResponseBodyObject defines parameters for GetPaywall.
const (
GetPaywall423JSONResponseBodyObjectError GetPaywall423JSONResponseBodyObject = "error"
)
Defines values for GetPaywall423JSONResponseBodyObject.
func (GetPaywall423JSONResponseBodyObject) Valid ¶
func (e GetPaywall423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall423JSONResponseBodyObject enum.
type GetPaywall423JSONResponseBodyType ¶
type GetPaywall423JSONResponseBodyType string
GetPaywall423JSONResponseBodyType defines parameters for GetPaywall.
const (
GetPaywall423JSONResponseBodyTypeResourceLockedError GetPaywall423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetPaywall423JSONResponseBodyType.
func (GetPaywall423JSONResponseBodyType) Valid ¶
func (e GetPaywall423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall423JSONResponseBodyType enum.
type GetPaywall429JSONResponseBodyObject ¶
type GetPaywall429JSONResponseBodyObject string
GetPaywall429JSONResponseBodyObject defines parameters for GetPaywall.
const (
GetPaywall429JSONResponseBodyObjectError GetPaywall429JSONResponseBodyObject = "error"
)
Defines values for GetPaywall429JSONResponseBodyObject.
func (GetPaywall429JSONResponseBodyObject) Valid ¶
func (e GetPaywall429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall429JSONResponseBodyObject enum.
type GetPaywall429JSONResponseBodyType ¶
type GetPaywall429JSONResponseBodyType string
GetPaywall429JSONResponseBodyType defines parameters for GetPaywall.
const (
GetPaywall429JSONResponseBodyTypeRateLimitError GetPaywall429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetPaywall429JSONResponseBodyType.
func (GetPaywall429JSONResponseBodyType) Valid ¶
func (e GetPaywall429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall429JSONResponseBodyType enum.
type GetPaywall500JSONResponseBodyObject ¶
type GetPaywall500JSONResponseBodyObject string
GetPaywall500JSONResponseBodyObject defines parameters for GetPaywall.
const (
GetPaywall500JSONResponseBodyObjectError GetPaywall500JSONResponseBodyObject = "error"
)
Defines values for GetPaywall500JSONResponseBodyObject.
func (GetPaywall500JSONResponseBodyObject) Valid ¶
func (e GetPaywall500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall500JSONResponseBodyObject enum.
type GetPaywall500JSONResponseBodyType ¶
type GetPaywall500JSONResponseBodyType string
GetPaywall500JSONResponseBodyType defines parameters for GetPaywall.
const (
GetPaywall500JSONResponseBodyTypeServerError GetPaywall500JSONResponseBodyType = "server_error"
)
Defines values for GetPaywall500JSONResponseBodyType.
func (GetPaywall500JSONResponseBodyType) Valid ¶
func (e GetPaywall500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall500JSONResponseBodyType enum.
type GetPaywall503JSONResponseBodyObject ¶
type GetPaywall503JSONResponseBodyObject string
GetPaywall503JSONResponseBodyObject defines parameters for GetPaywall.
const (
GetPaywall503JSONResponseBodyObjectError GetPaywall503JSONResponseBodyObject = "error"
)
Defines values for GetPaywall503JSONResponseBodyObject.
func (GetPaywall503JSONResponseBodyObject) Valid ¶
func (e GetPaywall503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall503JSONResponseBodyObject enum.
type GetPaywall503JSONResponseBodyType ¶
type GetPaywall503JSONResponseBodyType string
GetPaywall503JSONResponseBodyType defines parameters for GetPaywall.
const (
GetPaywall503JSONResponseBodyTypeServerError GetPaywall503JSONResponseBodyType = "server_error"
)
Defines values for GetPaywall503JSONResponseBodyType.
func (GetPaywall503JSONResponseBodyType) Valid ¶
func (e GetPaywall503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywall503JSONResponseBodyType enum.
type GetPaywallParams ¶
type GetPaywallParams struct {
// Expand Specifies which fields in the response should be expanded.
// Accepted values are: `offering` (requires `project_configuration:offerings:read` permission), `components` (requires `project_configuration:offerings:read` permission).
Expand *[]GetPaywallParamsExpand `form:"expand,omitempty" json:"expand,omitempty"`
}
GetPaywallParams defines parameters for GetPaywall.
type GetPaywallParamsExpand ¶
type GetPaywallParamsExpand string
GetPaywallParamsExpand defines parameters for GetPaywall.
const ( GetPaywallParamsExpandComponents GetPaywallParamsExpand = "components" GetPaywallParamsExpandOffering GetPaywallParamsExpand = "offering" )
Defines values for GetPaywallParamsExpand.
func (GetPaywallParamsExpand) Valid ¶
func (e GetPaywallParamsExpand) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallParamsExpand enum.
type GetPaywallVersion400JSONResponseBodyObject ¶
type GetPaywallVersion400JSONResponseBodyObject string
GetPaywallVersion400JSONResponseBodyObject defines parameters for GetPaywallVersion.
const (
GetPaywallVersion400JSONResponseBodyObjectError GetPaywallVersion400JSONResponseBodyObject = "error"
)
Defines values for GetPaywallVersion400JSONResponseBodyObject.
func (GetPaywallVersion400JSONResponseBodyObject) Valid ¶
func (e GetPaywallVersion400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion400JSONResponseBodyObject enum.
type GetPaywallVersion400JSONResponseBodyType ¶
type GetPaywallVersion400JSONResponseBodyType string
GetPaywallVersion400JSONResponseBodyType defines parameters for GetPaywallVersion.
const ( GetPaywallVersion400JSONResponseBodyTypeInvalidRequest GetPaywallVersion400JSONResponseBodyType = "invalid_request" GetPaywallVersion400JSONResponseBodyTypeParameterError GetPaywallVersion400JSONResponseBodyType = "parameter_error" )
Defines values for GetPaywallVersion400JSONResponseBodyType.
func (GetPaywallVersion400JSONResponseBodyType) Valid ¶
func (e GetPaywallVersion400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion400JSONResponseBodyType enum.
type GetPaywallVersion401JSONResponseBodyObject ¶
type GetPaywallVersion401JSONResponseBodyObject string
GetPaywallVersion401JSONResponseBodyObject defines parameters for GetPaywallVersion.
const (
GetPaywallVersion401JSONResponseBodyObjectError GetPaywallVersion401JSONResponseBodyObject = "error"
)
Defines values for GetPaywallVersion401JSONResponseBodyObject.
func (GetPaywallVersion401JSONResponseBodyObject) Valid ¶
func (e GetPaywallVersion401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion401JSONResponseBodyObject enum.
type GetPaywallVersion401JSONResponseBodyType ¶
type GetPaywallVersion401JSONResponseBodyType string
GetPaywallVersion401JSONResponseBodyType defines parameters for GetPaywallVersion.
const (
GetPaywallVersion401JSONResponseBodyTypeAuthenticationError GetPaywallVersion401JSONResponseBodyType = "authentication_error"
)
Defines values for GetPaywallVersion401JSONResponseBodyType.
func (GetPaywallVersion401JSONResponseBodyType) Valid ¶
func (e GetPaywallVersion401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion401JSONResponseBodyType enum.
type GetPaywallVersion403JSONResponseBodyObject ¶
type GetPaywallVersion403JSONResponseBodyObject string
GetPaywallVersion403JSONResponseBodyObject defines parameters for GetPaywallVersion.
const (
GetPaywallVersion403JSONResponseBodyObjectError GetPaywallVersion403JSONResponseBodyObject = "error"
)
Defines values for GetPaywallVersion403JSONResponseBodyObject.
func (GetPaywallVersion403JSONResponseBodyObject) Valid ¶
func (e GetPaywallVersion403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion403JSONResponseBodyObject enum.
type GetPaywallVersion403JSONResponseBodyType ¶
type GetPaywallVersion403JSONResponseBodyType string
GetPaywallVersion403JSONResponseBodyType defines parameters for GetPaywallVersion.
const (
GetPaywallVersion403JSONResponseBodyTypeAuthorizationError GetPaywallVersion403JSONResponseBodyType = "authorization_error"
)
Defines values for GetPaywallVersion403JSONResponseBodyType.
func (GetPaywallVersion403JSONResponseBodyType) Valid ¶
func (e GetPaywallVersion403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion403JSONResponseBodyType enum.
type GetPaywallVersion404JSONResponseBodyObject ¶
type GetPaywallVersion404JSONResponseBodyObject string
GetPaywallVersion404JSONResponseBodyObject defines parameters for GetPaywallVersion.
const (
GetPaywallVersion404JSONResponseBodyObjectError GetPaywallVersion404JSONResponseBodyObject = "error"
)
Defines values for GetPaywallVersion404JSONResponseBodyObject.
func (GetPaywallVersion404JSONResponseBodyObject) Valid ¶
func (e GetPaywallVersion404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion404JSONResponseBodyObject enum.
type GetPaywallVersion404JSONResponseBodyType ¶
type GetPaywallVersion404JSONResponseBodyType string
GetPaywallVersion404JSONResponseBodyType defines parameters for GetPaywallVersion.
const (
GetPaywallVersion404JSONResponseBodyTypeResourceMissing GetPaywallVersion404JSONResponseBodyType = "resource_missing"
)
Defines values for GetPaywallVersion404JSONResponseBodyType.
func (GetPaywallVersion404JSONResponseBodyType) Valid ¶
func (e GetPaywallVersion404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion404JSONResponseBodyType enum.
type GetPaywallVersion423JSONResponseBodyObject ¶
type GetPaywallVersion423JSONResponseBodyObject string
GetPaywallVersion423JSONResponseBodyObject defines parameters for GetPaywallVersion.
const (
GetPaywallVersion423JSONResponseBodyObjectError GetPaywallVersion423JSONResponseBodyObject = "error"
)
Defines values for GetPaywallVersion423JSONResponseBodyObject.
func (GetPaywallVersion423JSONResponseBodyObject) Valid ¶
func (e GetPaywallVersion423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion423JSONResponseBodyObject enum.
type GetPaywallVersion423JSONResponseBodyType ¶
type GetPaywallVersion423JSONResponseBodyType string
GetPaywallVersion423JSONResponseBodyType defines parameters for GetPaywallVersion.
const (
GetPaywallVersion423JSONResponseBodyTypeResourceLockedError GetPaywallVersion423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetPaywallVersion423JSONResponseBodyType.
func (GetPaywallVersion423JSONResponseBodyType) Valid ¶
func (e GetPaywallVersion423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion423JSONResponseBodyType enum.
type GetPaywallVersion429JSONResponseBodyObject ¶
type GetPaywallVersion429JSONResponseBodyObject string
GetPaywallVersion429JSONResponseBodyObject defines parameters for GetPaywallVersion.
const (
GetPaywallVersion429JSONResponseBodyObjectError GetPaywallVersion429JSONResponseBodyObject = "error"
)
Defines values for GetPaywallVersion429JSONResponseBodyObject.
func (GetPaywallVersion429JSONResponseBodyObject) Valid ¶
func (e GetPaywallVersion429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion429JSONResponseBodyObject enum.
type GetPaywallVersion429JSONResponseBodyType ¶
type GetPaywallVersion429JSONResponseBodyType string
GetPaywallVersion429JSONResponseBodyType defines parameters for GetPaywallVersion.
const (
GetPaywallVersion429JSONResponseBodyTypeRateLimitError GetPaywallVersion429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetPaywallVersion429JSONResponseBodyType.
func (GetPaywallVersion429JSONResponseBodyType) Valid ¶
func (e GetPaywallVersion429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion429JSONResponseBodyType enum.
type GetPaywallVersion500JSONResponseBodyObject ¶
type GetPaywallVersion500JSONResponseBodyObject string
GetPaywallVersion500JSONResponseBodyObject defines parameters for GetPaywallVersion.
const (
GetPaywallVersion500JSONResponseBodyObjectError GetPaywallVersion500JSONResponseBodyObject = "error"
)
Defines values for GetPaywallVersion500JSONResponseBodyObject.
func (GetPaywallVersion500JSONResponseBodyObject) Valid ¶
func (e GetPaywallVersion500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion500JSONResponseBodyObject enum.
type GetPaywallVersion500JSONResponseBodyType ¶
type GetPaywallVersion500JSONResponseBodyType string
GetPaywallVersion500JSONResponseBodyType defines parameters for GetPaywallVersion.
const (
GetPaywallVersion500JSONResponseBodyTypeServerError GetPaywallVersion500JSONResponseBodyType = "server_error"
)
Defines values for GetPaywallVersion500JSONResponseBodyType.
func (GetPaywallVersion500JSONResponseBodyType) Valid ¶
func (e GetPaywallVersion500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion500JSONResponseBodyType enum.
type GetPaywallVersion503JSONResponseBodyObject ¶
type GetPaywallVersion503JSONResponseBodyObject string
GetPaywallVersion503JSONResponseBodyObject defines parameters for GetPaywallVersion.
const (
GetPaywallVersion503JSONResponseBodyObjectError GetPaywallVersion503JSONResponseBodyObject = "error"
)
Defines values for GetPaywallVersion503JSONResponseBodyObject.
func (GetPaywallVersion503JSONResponseBodyObject) Valid ¶
func (e GetPaywallVersion503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion503JSONResponseBodyObject enum.
type GetPaywallVersion503JSONResponseBodyType ¶
type GetPaywallVersion503JSONResponseBodyType string
GetPaywallVersion503JSONResponseBodyType defines parameters for GetPaywallVersion.
const (
GetPaywallVersion503JSONResponseBodyTypeServerError GetPaywallVersion503JSONResponseBodyType = "server_error"
)
Defines values for GetPaywallVersion503JSONResponseBodyType.
func (GetPaywallVersion503JSONResponseBodyType) Valid ¶
func (e GetPaywallVersion503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPaywallVersion503JSONResponseBodyType enum.
type GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyObject ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyObject string
GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyObject defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyObjectError GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyObject = "error"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyObject.
type GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyType ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyType string
GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyType defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const ( GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyTypeInvalidRequest GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyType = "invalid_request" GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyTypeParameterError GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyType = "parameter_error" )
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions400JSONResponseBodyType.
type GetPlayStoreOrAppStoreSubscriptionTransactions401JSONResponseBodyObject ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions401JSONResponseBodyObject string
GetPlayStoreOrAppStoreSubscriptionTransactions401JSONResponseBodyObject defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions401JSONResponseBodyObjectError GetPlayStoreOrAppStoreSubscriptionTransactions401JSONResponseBodyObject = "error"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions401JSONResponseBodyObject.
type GetPlayStoreOrAppStoreSubscriptionTransactions401JSONResponseBodyType ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions401JSONResponseBodyType string
GetPlayStoreOrAppStoreSubscriptionTransactions401JSONResponseBodyType defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions401JSONResponseBodyTypeAuthenticationError GetPlayStoreOrAppStoreSubscriptionTransactions401JSONResponseBodyType = "authentication_error"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions401JSONResponseBodyType.
type GetPlayStoreOrAppStoreSubscriptionTransactions403JSONResponseBodyObject ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions403JSONResponseBodyObject string
GetPlayStoreOrAppStoreSubscriptionTransactions403JSONResponseBodyObject defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions403JSONResponseBodyObjectError GetPlayStoreOrAppStoreSubscriptionTransactions403JSONResponseBodyObject = "error"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions403JSONResponseBodyObject.
type GetPlayStoreOrAppStoreSubscriptionTransactions403JSONResponseBodyType ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions403JSONResponseBodyType string
GetPlayStoreOrAppStoreSubscriptionTransactions403JSONResponseBodyType defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions403JSONResponseBodyTypeAuthorizationError GetPlayStoreOrAppStoreSubscriptionTransactions403JSONResponseBodyType = "authorization_error"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions403JSONResponseBodyType.
type GetPlayStoreOrAppStoreSubscriptionTransactions404JSONResponseBodyObject ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions404JSONResponseBodyObject string
GetPlayStoreOrAppStoreSubscriptionTransactions404JSONResponseBodyObject defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions404JSONResponseBodyObjectError GetPlayStoreOrAppStoreSubscriptionTransactions404JSONResponseBodyObject = "error"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions404JSONResponseBodyObject.
type GetPlayStoreOrAppStoreSubscriptionTransactions404JSONResponseBodyType ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions404JSONResponseBodyType string
GetPlayStoreOrAppStoreSubscriptionTransactions404JSONResponseBodyType defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions404JSONResponseBodyTypeResourceMissing GetPlayStoreOrAppStoreSubscriptionTransactions404JSONResponseBodyType = "resource_missing"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions404JSONResponseBodyType.
type GetPlayStoreOrAppStoreSubscriptionTransactions423JSONResponseBodyObject ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions423JSONResponseBodyObject string
GetPlayStoreOrAppStoreSubscriptionTransactions423JSONResponseBodyObject defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions423JSONResponseBodyObjectError GetPlayStoreOrAppStoreSubscriptionTransactions423JSONResponseBodyObject = "error"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions423JSONResponseBodyObject.
type GetPlayStoreOrAppStoreSubscriptionTransactions423JSONResponseBodyType ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions423JSONResponseBodyType string
GetPlayStoreOrAppStoreSubscriptionTransactions423JSONResponseBodyType defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions423JSONResponseBodyTypeResourceLockedError GetPlayStoreOrAppStoreSubscriptionTransactions423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions423JSONResponseBodyType.
type GetPlayStoreOrAppStoreSubscriptionTransactions429JSONResponseBodyObject ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions429JSONResponseBodyObject string
GetPlayStoreOrAppStoreSubscriptionTransactions429JSONResponseBodyObject defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions429JSONResponseBodyObjectError GetPlayStoreOrAppStoreSubscriptionTransactions429JSONResponseBodyObject = "error"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions429JSONResponseBodyObject.
type GetPlayStoreOrAppStoreSubscriptionTransactions429JSONResponseBodyType ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions429JSONResponseBodyType string
GetPlayStoreOrAppStoreSubscriptionTransactions429JSONResponseBodyType defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions429JSONResponseBodyTypeRateLimitError GetPlayStoreOrAppStoreSubscriptionTransactions429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions429JSONResponseBodyType.
type GetPlayStoreOrAppStoreSubscriptionTransactions500JSONResponseBodyObject ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions500JSONResponseBodyObject string
GetPlayStoreOrAppStoreSubscriptionTransactions500JSONResponseBodyObject defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions500JSONResponseBodyObjectError GetPlayStoreOrAppStoreSubscriptionTransactions500JSONResponseBodyObject = "error"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions500JSONResponseBodyObject.
type GetPlayStoreOrAppStoreSubscriptionTransactions500JSONResponseBodyType ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions500JSONResponseBodyType string
GetPlayStoreOrAppStoreSubscriptionTransactions500JSONResponseBodyType defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions500JSONResponseBodyTypeServerError GetPlayStoreOrAppStoreSubscriptionTransactions500JSONResponseBodyType = "server_error"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions500JSONResponseBodyType.
type GetPlayStoreOrAppStoreSubscriptionTransactions503JSONResponseBodyObject ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions503JSONResponseBodyObject string
GetPlayStoreOrAppStoreSubscriptionTransactions503JSONResponseBodyObject defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions503JSONResponseBodyObjectError GetPlayStoreOrAppStoreSubscriptionTransactions503JSONResponseBodyObject = "error"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions503JSONResponseBodyObject.
type GetPlayStoreOrAppStoreSubscriptionTransactions503JSONResponseBodyType ¶
type GetPlayStoreOrAppStoreSubscriptionTransactions503JSONResponseBodyType string
GetPlayStoreOrAppStoreSubscriptionTransactions503JSONResponseBodyType defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const (
GetPlayStoreOrAppStoreSubscriptionTransactions503JSONResponseBodyTypeServerError GetPlayStoreOrAppStoreSubscriptionTransactions503JSONResponseBodyType = "server_error"
)
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactions503JSONResponseBodyType.
type GetPlayStoreOrAppStoreSubscriptionTransactionsParams ¶
type GetPlayStoreOrAppStoreSubscriptionTransactionsParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Sort Column to sort the result list by.
Sort *GetPlayStoreOrAppStoreSubscriptionTransactionsParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
// Direction Sort direction for the result list.
Direction *GetPlayStoreOrAppStoreSubscriptionTransactionsParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
}
GetPlayStoreOrAppStoreSubscriptionTransactionsParams defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
type GetPlayStoreOrAppStoreSubscriptionTransactionsParamsDirection ¶
type GetPlayStoreOrAppStoreSubscriptionTransactionsParamsDirection string
GetPlayStoreOrAppStoreSubscriptionTransactionsParamsDirection defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const ( Asc GetPlayStoreOrAppStoreSubscriptionTransactionsParamsDirection = "asc" Desc GetPlayStoreOrAppStoreSubscriptionTransactionsParamsDirection = "desc" )
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactionsParamsDirection.
func (GetPlayStoreOrAppStoreSubscriptionTransactionsParamsDirection) Valid ¶
func (e GetPlayStoreOrAppStoreSubscriptionTransactionsParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the GetPlayStoreOrAppStoreSubscriptionTransactionsParamsDirection enum.
type GetPlayStoreOrAppStoreSubscriptionTransactionsParamsSort ¶
type GetPlayStoreOrAppStoreSubscriptionTransactionsParamsSort string
GetPlayStoreOrAppStoreSubscriptionTransactionsParamsSort defines parameters for GetPlayStoreOrAppStoreSubscriptionTransactions.
const ( GetPlayStoreOrAppStoreSubscriptionTransactionsParamsSortID GetPlayStoreOrAppStoreSubscriptionTransactionsParamsSort = "id" GetPlayStoreOrAppStoreSubscriptionTransactionsParamsSortPurchasedAt GetPlayStoreOrAppStoreSubscriptionTransactionsParamsSort = "purchased_at" )
Defines values for GetPlayStoreOrAppStoreSubscriptionTransactionsParamsSort.
func (GetPlayStoreOrAppStoreSubscriptionTransactionsParamsSort) Valid ¶
func (e GetPlayStoreOrAppStoreSubscriptionTransactionsParamsSort) Valid() bool
Valid indicates whether the value is a known member of the GetPlayStoreOrAppStoreSubscriptionTransactionsParamsSort enum.
type GetProduct400JSONResponseBodyObject ¶
type GetProduct400JSONResponseBodyObject string
GetProduct400JSONResponseBodyObject defines parameters for GetProduct.
const (
GetProduct400JSONResponseBodyObjectError GetProduct400JSONResponseBodyObject = "error"
)
Defines values for GetProduct400JSONResponseBodyObject.
func (GetProduct400JSONResponseBodyObject) Valid ¶
func (e GetProduct400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProduct400JSONResponseBodyObject enum.
type GetProduct400JSONResponseBodyType ¶
type GetProduct400JSONResponseBodyType string
GetProduct400JSONResponseBodyType defines parameters for GetProduct.
const ( GetProduct400JSONResponseBodyTypeInvalidRequest GetProduct400JSONResponseBodyType = "invalid_request" GetProduct400JSONResponseBodyTypeParameterError GetProduct400JSONResponseBodyType = "parameter_error" )
Defines values for GetProduct400JSONResponseBodyType.
func (GetProduct400JSONResponseBodyType) Valid ¶
func (e GetProduct400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProduct400JSONResponseBodyType enum.
type GetProduct401JSONResponseBodyObject ¶
type GetProduct401JSONResponseBodyObject string
GetProduct401JSONResponseBodyObject defines parameters for GetProduct.
const (
GetProduct401JSONResponseBodyObjectError GetProduct401JSONResponseBodyObject = "error"
)
Defines values for GetProduct401JSONResponseBodyObject.
func (GetProduct401JSONResponseBodyObject) Valid ¶
func (e GetProduct401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProduct401JSONResponseBodyObject enum.
type GetProduct401JSONResponseBodyType ¶
type GetProduct401JSONResponseBodyType string
GetProduct401JSONResponseBodyType defines parameters for GetProduct.
const (
GetProduct401JSONResponseBodyTypeAuthenticationError GetProduct401JSONResponseBodyType = "authentication_error"
)
Defines values for GetProduct401JSONResponseBodyType.
func (GetProduct401JSONResponseBodyType) Valid ¶
func (e GetProduct401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProduct401JSONResponseBodyType enum.
type GetProduct403JSONResponseBodyObject ¶
type GetProduct403JSONResponseBodyObject string
GetProduct403JSONResponseBodyObject defines parameters for GetProduct.
const (
GetProduct403JSONResponseBodyObjectError GetProduct403JSONResponseBodyObject = "error"
)
Defines values for GetProduct403JSONResponseBodyObject.
func (GetProduct403JSONResponseBodyObject) Valid ¶
func (e GetProduct403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProduct403JSONResponseBodyObject enum.
type GetProduct403JSONResponseBodyType ¶
type GetProduct403JSONResponseBodyType string
GetProduct403JSONResponseBodyType defines parameters for GetProduct.
const (
GetProduct403JSONResponseBodyTypeAuthorizationError GetProduct403JSONResponseBodyType = "authorization_error"
)
Defines values for GetProduct403JSONResponseBodyType.
func (GetProduct403JSONResponseBodyType) Valid ¶
func (e GetProduct403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProduct403JSONResponseBodyType enum.
type GetProduct404JSONResponseBodyObject ¶
type GetProduct404JSONResponseBodyObject string
GetProduct404JSONResponseBodyObject defines parameters for GetProduct.
const (
GetProduct404JSONResponseBodyObjectError GetProduct404JSONResponseBodyObject = "error"
)
Defines values for GetProduct404JSONResponseBodyObject.
func (GetProduct404JSONResponseBodyObject) Valid ¶
func (e GetProduct404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProduct404JSONResponseBodyObject enum.
type GetProduct404JSONResponseBodyType ¶
type GetProduct404JSONResponseBodyType string
GetProduct404JSONResponseBodyType defines parameters for GetProduct.
const (
GetProduct404JSONResponseBodyTypeResourceMissing GetProduct404JSONResponseBodyType = "resource_missing"
)
Defines values for GetProduct404JSONResponseBodyType.
func (GetProduct404JSONResponseBodyType) Valid ¶
func (e GetProduct404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProduct404JSONResponseBodyType enum.
type GetProduct423JSONResponseBodyObject ¶
type GetProduct423JSONResponseBodyObject string
GetProduct423JSONResponseBodyObject defines parameters for GetProduct.
const (
GetProduct423JSONResponseBodyObjectError GetProduct423JSONResponseBodyObject = "error"
)
Defines values for GetProduct423JSONResponseBodyObject.
func (GetProduct423JSONResponseBodyObject) Valid ¶
func (e GetProduct423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProduct423JSONResponseBodyObject enum.
type GetProduct423JSONResponseBodyType ¶
type GetProduct423JSONResponseBodyType string
GetProduct423JSONResponseBodyType defines parameters for GetProduct.
const (
GetProduct423JSONResponseBodyTypeResourceLockedError GetProduct423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetProduct423JSONResponseBodyType.
func (GetProduct423JSONResponseBodyType) Valid ¶
func (e GetProduct423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProduct423JSONResponseBodyType enum.
type GetProduct429JSONResponseBodyObject ¶
type GetProduct429JSONResponseBodyObject string
GetProduct429JSONResponseBodyObject defines parameters for GetProduct.
const (
GetProduct429JSONResponseBodyObjectError GetProduct429JSONResponseBodyObject = "error"
)
Defines values for GetProduct429JSONResponseBodyObject.
func (GetProduct429JSONResponseBodyObject) Valid ¶
func (e GetProduct429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProduct429JSONResponseBodyObject enum.
type GetProduct429JSONResponseBodyType ¶
type GetProduct429JSONResponseBodyType string
GetProduct429JSONResponseBodyType defines parameters for GetProduct.
const (
GetProduct429JSONResponseBodyTypeRateLimitError GetProduct429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetProduct429JSONResponseBodyType.
func (GetProduct429JSONResponseBodyType) Valid ¶
func (e GetProduct429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProduct429JSONResponseBodyType enum.
type GetProduct500JSONResponseBodyObject ¶
type GetProduct500JSONResponseBodyObject string
GetProduct500JSONResponseBodyObject defines parameters for GetProduct.
const (
GetProduct500JSONResponseBodyObjectError GetProduct500JSONResponseBodyObject = "error"
)
Defines values for GetProduct500JSONResponseBodyObject.
func (GetProduct500JSONResponseBodyObject) Valid ¶
func (e GetProduct500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProduct500JSONResponseBodyObject enum.
type GetProduct500JSONResponseBodyType ¶
type GetProduct500JSONResponseBodyType string
GetProduct500JSONResponseBodyType defines parameters for GetProduct.
const (
GetProduct500JSONResponseBodyTypeServerError GetProduct500JSONResponseBodyType = "server_error"
)
Defines values for GetProduct500JSONResponseBodyType.
func (GetProduct500JSONResponseBodyType) Valid ¶
func (e GetProduct500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProduct500JSONResponseBodyType enum.
type GetProduct503JSONResponseBodyObject ¶
type GetProduct503JSONResponseBodyObject string
GetProduct503JSONResponseBodyObject defines parameters for GetProduct.
const (
GetProduct503JSONResponseBodyObjectError GetProduct503JSONResponseBodyObject = "error"
)
Defines values for GetProduct503JSONResponseBodyObject.
func (GetProduct503JSONResponseBodyObject) Valid ¶
func (e GetProduct503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProduct503JSONResponseBodyObject enum.
type GetProduct503JSONResponseBodyType ¶
type GetProduct503JSONResponseBodyType string
GetProduct503JSONResponseBodyType defines parameters for GetProduct.
const (
GetProduct503JSONResponseBodyTypeServerError GetProduct503JSONResponseBodyType = "server_error"
)
Defines values for GetProduct503JSONResponseBodyType.
func (GetProduct503JSONResponseBodyType) Valid ¶
func (e GetProduct503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProduct503JSONResponseBodyType enum.
type GetProductParams ¶
type GetProductParams struct {
// Expand Specifies which fields in the response should be expanded.
// Accepted values are: `app` (requires `project_configuration:apps:read` permission), `indicative_price` (requires `project_configuration:products:read` permission).
Expand *[]GetProductParamsExpand `form:"expand,omitempty" json:"expand,omitempty"`
}
GetProductParams defines parameters for GetProduct.
type GetProductParamsExpand ¶
type GetProductParamsExpand string
GetProductParamsExpand defines parameters for GetProduct.
const ( GetProductParamsExpandApp GetProductParamsExpand = "app" GetProductParamsExpandIndicativePrice GetProductParamsExpand = "indicative_price" )
Defines values for GetProductParamsExpand.
func (GetProductParamsExpand) Valid ¶
func (e GetProductParamsExpand) Valid() bool
Valid indicates whether the value is a known member of the GetProductParamsExpand enum.
type GetProductStoreState200JSONResponseBodyStore ¶
type GetProductStoreState200JSONResponseBodyStore string
GetProductStoreState200JSONResponseBodyStore defines parameters for GetProductStoreState.
const ( GetProductStoreState200JSONResponseBodyStoreAppStore GetProductStoreState200JSONResponseBodyStore = "app_store" GetProductStoreState200JSONResponseBodyStorePlayStore GetProductStoreState200JSONResponseBodyStore = "play_store" )
Defines values for GetProductStoreState200JSONResponseBodyStore.
func (GetProductStoreState200JSONResponseBodyStore) Valid ¶
func (e GetProductStoreState200JSONResponseBodyStore) Valid() bool
Valid indicates whether the value is a known member of the GetProductStoreState200JSONResponseBodyStore enum.
type GetProductStoreState200JSONResponseBodyStoreStatusStatus ¶
type GetProductStoreState200JSONResponseBodyStoreStatusStatus string
GetProductStoreState200JSONResponseBodyStoreStatusStatus defines parameters for GetProductStoreState.
const ( GetProductStoreState200JSONResponseBodyStoreStatusStatusNeedsAction GetProductStoreState200JSONResponseBodyStoreStatusStatus = "needs_action" GetProductStoreState200JSONResponseBodyStoreStatusStatusNotFound GetProductStoreState200JSONResponseBodyStoreStatusStatus = "not_found" GetProductStoreState200JSONResponseBodyStoreStatusStatusOk GetProductStoreState200JSONResponseBodyStoreStatusStatus = "ok" )
Defines values for GetProductStoreState200JSONResponseBodyStoreStatusStatus.
func (GetProductStoreState200JSONResponseBodyStoreStatusStatus) Valid ¶
func (e GetProductStoreState200JSONResponseBodyStoreStatusStatus) Valid() bool
Valid indicates whether the value is a known member of the GetProductStoreState200JSONResponseBodyStoreStatusStatus enum.
type GetProductsFromEntitlement400JSONResponseBodyObject ¶
type GetProductsFromEntitlement400JSONResponseBodyObject string
GetProductsFromEntitlement400JSONResponseBodyObject defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement400JSONResponseBodyObjectError GetProductsFromEntitlement400JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromEntitlement400JSONResponseBodyObject.
func (GetProductsFromEntitlement400JSONResponseBodyObject) Valid ¶
func (e GetProductsFromEntitlement400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement400JSONResponseBodyObject enum.
type GetProductsFromEntitlement400JSONResponseBodyType ¶
type GetProductsFromEntitlement400JSONResponseBodyType string
GetProductsFromEntitlement400JSONResponseBodyType defines parameters for GetProductsFromEntitlement.
const ( GetProductsFromEntitlement400JSONResponseBodyTypeInvalidRequest GetProductsFromEntitlement400JSONResponseBodyType = "invalid_request" GetProductsFromEntitlement400JSONResponseBodyTypeParameterError GetProductsFromEntitlement400JSONResponseBodyType = "parameter_error" )
Defines values for GetProductsFromEntitlement400JSONResponseBodyType.
func (GetProductsFromEntitlement400JSONResponseBodyType) Valid ¶
func (e GetProductsFromEntitlement400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement400JSONResponseBodyType enum.
type GetProductsFromEntitlement401JSONResponseBodyObject ¶
type GetProductsFromEntitlement401JSONResponseBodyObject string
GetProductsFromEntitlement401JSONResponseBodyObject defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement401JSONResponseBodyObjectError GetProductsFromEntitlement401JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromEntitlement401JSONResponseBodyObject.
func (GetProductsFromEntitlement401JSONResponseBodyObject) Valid ¶
func (e GetProductsFromEntitlement401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement401JSONResponseBodyObject enum.
type GetProductsFromEntitlement401JSONResponseBodyType ¶
type GetProductsFromEntitlement401JSONResponseBodyType string
GetProductsFromEntitlement401JSONResponseBodyType defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement401JSONResponseBodyTypeAuthenticationError GetProductsFromEntitlement401JSONResponseBodyType = "authentication_error"
)
Defines values for GetProductsFromEntitlement401JSONResponseBodyType.
func (GetProductsFromEntitlement401JSONResponseBodyType) Valid ¶
func (e GetProductsFromEntitlement401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement401JSONResponseBodyType enum.
type GetProductsFromEntitlement403JSONResponseBodyObject ¶
type GetProductsFromEntitlement403JSONResponseBodyObject string
GetProductsFromEntitlement403JSONResponseBodyObject defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement403JSONResponseBodyObjectError GetProductsFromEntitlement403JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromEntitlement403JSONResponseBodyObject.
func (GetProductsFromEntitlement403JSONResponseBodyObject) Valid ¶
func (e GetProductsFromEntitlement403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement403JSONResponseBodyObject enum.
type GetProductsFromEntitlement403JSONResponseBodyType ¶
type GetProductsFromEntitlement403JSONResponseBodyType string
GetProductsFromEntitlement403JSONResponseBodyType defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement403JSONResponseBodyTypeAuthorizationError GetProductsFromEntitlement403JSONResponseBodyType = "authorization_error"
)
Defines values for GetProductsFromEntitlement403JSONResponseBodyType.
func (GetProductsFromEntitlement403JSONResponseBodyType) Valid ¶
func (e GetProductsFromEntitlement403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement403JSONResponseBodyType enum.
type GetProductsFromEntitlement404JSONResponseBodyObject ¶
type GetProductsFromEntitlement404JSONResponseBodyObject string
GetProductsFromEntitlement404JSONResponseBodyObject defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement404JSONResponseBodyObjectError GetProductsFromEntitlement404JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromEntitlement404JSONResponseBodyObject.
func (GetProductsFromEntitlement404JSONResponseBodyObject) Valid ¶
func (e GetProductsFromEntitlement404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement404JSONResponseBodyObject enum.
type GetProductsFromEntitlement404JSONResponseBodyType ¶
type GetProductsFromEntitlement404JSONResponseBodyType string
GetProductsFromEntitlement404JSONResponseBodyType defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement404JSONResponseBodyTypeResourceMissing GetProductsFromEntitlement404JSONResponseBodyType = "resource_missing"
)
Defines values for GetProductsFromEntitlement404JSONResponseBodyType.
func (GetProductsFromEntitlement404JSONResponseBodyType) Valid ¶
func (e GetProductsFromEntitlement404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement404JSONResponseBodyType enum.
type GetProductsFromEntitlement423JSONResponseBodyObject ¶
type GetProductsFromEntitlement423JSONResponseBodyObject string
GetProductsFromEntitlement423JSONResponseBodyObject defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement423JSONResponseBodyObjectError GetProductsFromEntitlement423JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromEntitlement423JSONResponseBodyObject.
func (GetProductsFromEntitlement423JSONResponseBodyObject) Valid ¶
func (e GetProductsFromEntitlement423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement423JSONResponseBodyObject enum.
type GetProductsFromEntitlement423JSONResponseBodyType ¶
type GetProductsFromEntitlement423JSONResponseBodyType string
GetProductsFromEntitlement423JSONResponseBodyType defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement423JSONResponseBodyTypeResourceLockedError GetProductsFromEntitlement423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetProductsFromEntitlement423JSONResponseBodyType.
func (GetProductsFromEntitlement423JSONResponseBodyType) Valid ¶
func (e GetProductsFromEntitlement423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement423JSONResponseBodyType enum.
type GetProductsFromEntitlement429JSONResponseBodyObject ¶
type GetProductsFromEntitlement429JSONResponseBodyObject string
GetProductsFromEntitlement429JSONResponseBodyObject defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement429JSONResponseBodyObjectError GetProductsFromEntitlement429JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromEntitlement429JSONResponseBodyObject.
func (GetProductsFromEntitlement429JSONResponseBodyObject) Valid ¶
func (e GetProductsFromEntitlement429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement429JSONResponseBodyObject enum.
type GetProductsFromEntitlement429JSONResponseBodyType ¶
type GetProductsFromEntitlement429JSONResponseBodyType string
GetProductsFromEntitlement429JSONResponseBodyType defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement429JSONResponseBodyTypeRateLimitError GetProductsFromEntitlement429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetProductsFromEntitlement429JSONResponseBodyType.
func (GetProductsFromEntitlement429JSONResponseBodyType) Valid ¶
func (e GetProductsFromEntitlement429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement429JSONResponseBodyType enum.
type GetProductsFromEntitlement500JSONResponseBodyObject ¶
type GetProductsFromEntitlement500JSONResponseBodyObject string
GetProductsFromEntitlement500JSONResponseBodyObject defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement500JSONResponseBodyObjectError GetProductsFromEntitlement500JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromEntitlement500JSONResponseBodyObject.
func (GetProductsFromEntitlement500JSONResponseBodyObject) Valid ¶
func (e GetProductsFromEntitlement500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement500JSONResponseBodyObject enum.
type GetProductsFromEntitlement500JSONResponseBodyType ¶
type GetProductsFromEntitlement500JSONResponseBodyType string
GetProductsFromEntitlement500JSONResponseBodyType defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement500JSONResponseBodyTypeServerError GetProductsFromEntitlement500JSONResponseBodyType = "server_error"
)
Defines values for GetProductsFromEntitlement500JSONResponseBodyType.
func (GetProductsFromEntitlement500JSONResponseBodyType) Valid ¶
func (e GetProductsFromEntitlement500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement500JSONResponseBodyType enum.
type GetProductsFromEntitlement503JSONResponseBodyObject ¶
type GetProductsFromEntitlement503JSONResponseBodyObject string
GetProductsFromEntitlement503JSONResponseBodyObject defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement503JSONResponseBodyObjectError GetProductsFromEntitlement503JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromEntitlement503JSONResponseBodyObject.
func (GetProductsFromEntitlement503JSONResponseBodyObject) Valid ¶
func (e GetProductsFromEntitlement503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement503JSONResponseBodyObject enum.
type GetProductsFromEntitlement503JSONResponseBodyType ¶
type GetProductsFromEntitlement503JSONResponseBodyType string
GetProductsFromEntitlement503JSONResponseBodyType defines parameters for GetProductsFromEntitlement.
const (
GetProductsFromEntitlement503JSONResponseBodyTypeServerError GetProductsFromEntitlement503JSONResponseBodyType = "server_error"
)
Defines values for GetProductsFromEntitlement503JSONResponseBodyType.
func (GetProductsFromEntitlement503JSONResponseBodyType) Valid ¶
func (e GetProductsFromEntitlement503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromEntitlement503JSONResponseBodyType enum.
type GetProductsFromEntitlementParams ¶
type GetProductsFromEntitlementParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetProductsFromEntitlementParams defines parameters for GetProductsFromEntitlement.
type GetProductsFromPackage400JSONResponseBodyObject ¶
type GetProductsFromPackage400JSONResponseBodyObject string
GetProductsFromPackage400JSONResponseBodyObject defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage400JSONResponseBodyObjectError GetProductsFromPackage400JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromPackage400JSONResponseBodyObject.
func (GetProductsFromPackage400JSONResponseBodyObject) Valid ¶
func (e GetProductsFromPackage400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage400JSONResponseBodyObject enum.
type GetProductsFromPackage400JSONResponseBodyType ¶
type GetProductsFromPackage400JSONResponseBodyType string
GetProductsFromPackage400JSONResponseBodyType defines parameters for GetProductsFromPackage.
const ( GetProductsFromPackage400JSONResponseBodyTypeInvalidRequest GetProductsFromPackage400JSONResponseBodyType = "invalid_request" GetProductsFromPackage400JSONResponseBodyTypeParameterError GetProductsFromPackage400JSONResponseBodyType = "parameter_error" )
Defines values for GetProductsFromPackage400JSONResponseBodyType.
func (GetProductsFromPackage400JSONResponseBodyType) Valid ¶
func (e GetProductsFromPackage400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage400JSONResponseBodyType enum.
type GetProductsFromPackage401JSONResponseBodyObject ¶
type GetProductsFromPackage401JSONResponseBodyObject string
GetProductsFromPackage401JSONResponseBodyObject defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage401JSONResponseBodyObjectError GetProductsFromPackage401JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromPackage401JSONResponseBodyObject.
func (GetProductsFromPackage401JSONResponseBodyObject) Valid ¶
func (e GetProductsFromPackage401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage401JSONResponseBodyObject enum.
type GetProductsFromPackage401JSONResponseBodyType ¶
type GetProductsFromPackage401JSONResponseBodyType string
GetProductsFromPackage401JSONResponseBodyType defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage401JSONResponseBodyTypeAuthenticationError GetProductsFromPackage401JSONResponseBodyType = "authentication_error"
)
Defines values for GetProductsFromPackage401JSONResponseBodyType.
func (GetProductsFromPackage401JSONResponseBodyType) Valid ¶
func (e GetProductsFromPackage401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage401JSONResponseBodyType enum.
type GetProductsFromPackage403JSONResponseBodyObject ¶
type GetProductsFromPackage403JSONResponseBodyObject string
GetProductsFromPackage403JSONResponseBodyObject defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage403JSONResponseBodyObjectError GetProductsFromPackage403JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromPackage403JSONResponseBodyObject.
func (GetProductsFromPackage403JSONResponseBodyObject) Valid ¶
func (e GetProductsFromPackage403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage403JSONResponseBodyObject enum.
type GetProductsFromPackage403JSONResponseBodyType ¶
type GetProductsFromPackage403JSONResponseBodyType string
GetProductsFromPackage403JSONResponseBodyType defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage403JSONResponseBodyTypeAuthorizationError GetProductsFromPackage403JSONResponseBodyType = "authorization_error"
)
Defines values for GetProductsFromPackage403JSONResponseBodyType.
func (GetProductsFromPackage403JSONResponseBodyType) Valid ¶
func (e GetProductsFromPackage403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage403JSONResponseBodyType enum.
type GetProductsFromPackage404JSONResponseBodyObject ¶
type GetProductsFromPackage404JSONResponseBodyObject string
GetProductsFromPackage404JSONResponseBodyObject defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage404JSONResponseBodyObjectError GetProductsFromPackage404JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromPackage404JSONResponseBodyObject.
func (GetProductsFromPackage404JSONResponseBodyObject) Valid ¶
func (e GetProductsFromPackage404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage404JSONResponseBodyObject enum.
type GetProductsFromPackage404JSONResponseBodyType ¶
type GetProductsFromPackage404JSONResponseBodyType string
GetProductsFromPackage404JSONResponseBodyType defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage404JSONResponseBodyTypeResourceMissing GetProductsFromPackage404JSONResponseBodyType = "resource_missing"
)
Defines values for GetProductsFromPackage404JSONResponseBodyType.
func (GetProductsFromPackage404JSONResponseBodyType) Valid ¶
func (e GetProductsFromPackage404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage404JSONResponseBodyType enum.
type GetProductsFromPackage423JSONResponseBodyObject ¶
type GetProductsFromPackage423JSONResponseBodyObject string
GetProductsFromPackage423JSONResponseBodyObject defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage423JSONResponseBodyObjectError GetProductsFromPackage423JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromPackage423JSONResponseBodyObject.
func (GetProductsFromPackage423JSONResponseBodyObject) Valid ¶
func (e GetProductsFromPackage423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage423JSONResponseBodyObject enum.
type GetProductsFromPackage423JSONResponseBodyType ¶
type GetProductsFromPackage423JSONResponseBodyType string
GetProductsFromPackage423JSONResponseBodyType defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage423JSONResponseBodyTypeResourceLockedError GetProductsFromPackage423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetProductsFromPackage423JSONResponseBodyType.
func (GetProductsFromPackage423JSONResponseBodyType) Valid ¶
func (e GetProductsFromPackage423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage423JSONResponseBodyType enum.
type GetProductsFromPackage429JSONResponseBodyObject ¶
type GetProductsFromPackage429JSONResponseBodyObject string
GetProductsFromPackage429JSONResponseBodyObject defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage429JSONResponseBodyObjectError GetProductsFromPackage429JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromPackage429JSONResponseBodyObject.
func (GetProductsFromPackage429JSONResponseBodyObject) Valid ¶
func (e GetProductsFromPackage429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage429JSONResponseBodyObject enum.
type GetProductsFromPackage429JSONResponseBodyType ¶
type GetProductsFromPackage429JSONResponseBodyType string
GetProductsFromPackage429JSONResponseBodyType defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage429JSONResponseBodyTypeRateLimitError GetProductsFromPackage429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetProductsFromPackage429JSONResponseBodyType.
func (GetProductsFromPackage429JSONResponseBodyType) Valid ¶
func (e GetProductsFromPackage429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage429JSONResponseBodyType enum.
type GetProductsFromPackage500JSONResponseBodyObject ¶
type GetProductsFromPackage500JSONResponseBodyObject string
GetProductsFromPackage500JSONResponseBodyObject defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage500JSONResponseBodyObjectError GetProductsFromPackage500JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromPackage500JSONResponseBodyObject.
func (GetProductsFromPackage500JSONResponseBodyObject) Valid ¶
func (e GetProductsFromPackage500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage500JSONResponseBodyObject enum.
type GetProductsFromPackage500JSONResponseBodyType ¶
type GetProductsFromPackage500JSONResponseBodyType string
GetProductsFromPackage500JSONResponseBodyType defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage500JSONResponseBodyTypeServerError GetProductsFromPackage500JSONResponseBodyType = "server_error"
)
Defines values for GetProductsFromPackage500JSONResponseBodyType.
func (GetProductsFromPackage500JSONResponseBodyType) Valid ¶
func (e GetProductsFromPackage500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage500JSONResponseBodyType enum.
type GetProductsFromPackage503JSONResponseBodyObject ¶
type GetProductsFromPackage503JSONResponseBodyObject string
GetProductsFromPackage503JSONResponseBodyObject defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage503JSONResponseBodyObjectError GetProductsFromPackage503JSONResponseBodyObject = "error"
)
Defines values for GetProductsFromPackage503JSONResponseBodyObject.
func (GetProductsFromPackage503JSONResponseBodyObject) Valid ¶
func (e GetProductsFromPackage503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage503JSONResponseBodyObject enum.
type GetProductsFromPackage503JSONResponseBodyType ¶
type GetProductsFromPackage503JSONResponseBodyType string
GetProductsFromPackage503JSONResponseBodyType defines parameters for GetProductsFromPackage.
const (
GetProductsFromPackage503JSONResponseBodyTypeServerError GetProductsFromPackage503JSONResponseBodyType = "server_error"
)
Defines values for GetProductsFromPackage503JSONResponseBodyType.
func (GetProductsFromPackage503JSONResponseBodyType) Valid ¶
func (e GetProductsFromPackage503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetProductsFromPackage503JSONResponseBodyType enum.
type GetProductsFromPackageParams ¶
type GetProductsFromPackageParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetProductsFromPackageParams defines parameters for GetProductsFromPackage.
type GetPurchase400JSONResponseBodyObject ¶
type GetPurchase400JSONResponseBodyObject string
GetPurchase400JSONResponseBodyObject defines parameters for GetPurchase.
const (
GetPurchase400JSONResponseBodyObjectError GetPurchase400JSONResponseBodyObject = "error"
)
Defines values for GetPurchase400JSONResponseBodyObject.
func (GetPurchase400JSONResponseBodyObject) Valid ¶
func (e GetPurchase400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase400JSONResponseBodyObject enum.
type GetPurchase400JSONResponseBodyType ¶
type GetPurchase400JSONResponseBodyType string
GetPurchase400JSONResponseBodyType defines parameters for GetPurchase.
const ( GetPurchase400JSONResponseBodyTypeInvalidRequest GetPurchase400JSONResponseBodyType = "invalid_request" GetPurchase400JSONResponseBodyTypeParameterError GetPurchase400JSONResponseBodyType = "parameter_error" )
Defines values for GetPurchase400JSONResponseBodyType.
func (GetPurchase400JSONResponseBodyType) Valid ¶
func (e GetPurchase400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase400JSONResponseBodyType enum.
type GetPurchase401JSONResponseBodyObject ¶
type GetPurchase401JSONResponseBodyObject string
GetPurchase401JSONResponseBodyObject defines parameters for GetPurchase.
const (
GetPurchase401JSONResponseBodyObjectError GetPurchase401JSONResponseBodyObject = "error"
)
Defines values for GetPurchase401JSONResponseBodyObject.
func (GetPurchase401JSONResponseBodyObject) Valid ¶
func (e GetPurchase401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase401JSONResponseBodyObject enum.
type GetPurchase401JSONResponseBodyType ¶
type GetPurchase401JSONResponseBodyType string
GetPurchase401JSONResponseBodyType defines parameters for GetPurchase.
const (
GetPurchase401JSONResponseBodyTypeAuthenticationError GetPurchase401JSONResponseBodyType = "authentication_error"
)
Defines values for GetPurchase401JSONResponseBodyType.
func (GetPurchase401JSONResponseBodyType) Valid ¶
func (e GetPurchase401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase401JSONResponseBodyType enum.
type GetPurchase403JSONResponseBodyObject ¶
type GetPurchase403JSONResponseBodyObject string
GetPurchase403JSONResponseBodyObject defines parameters for GetPurchase.
const (
GetPurchase403JSONResponseBodyObjectError GetPurchase403JSONResponseBodyObject = "error"
)
Defines values for GetPurchase403JSONResponseBodyObject.
func (GetPurchase403JSONResponseBodyObject) Valid ¶
func (e GetPurchase403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase403JSONResponseBodyObject enum.
type GetPurchase403JSONResponseBodyType ¶
type GetPurchase403JSONResponseBodyType string
GetPurchase403JSONResponseBodyType defines parameters for GetPurchase.
const (
GetPurchase403JSONResponseBodyTypeAuthorizationError GetPurchase403JSONResponseBodyType = "authorization_error"
)
Defines values for GetPurchase403JSONResponseBodyType.
func (GetPurchase403JSONResponseBodyType) Valid ¶
func (e GetPurchase403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase403JSONResponseBodyType enum.
type GetPurchase404JSONResponseBodyObject ¶
type GetPurchase404JSONResponseBodyObject string
GetPurchase404JSONResponseBodyObject defines parameters for GetPurchase.
const (
GetPurchase404JSONResponseBodyObjectError GetPurchase404JSONResponseBodyObject = "error"
)
Defines values for GetPurchase404JSONResponseBodyObject.
func (GetPurchase404JSONResponseBodyObject) Valid ¶
func (e GetPurchase404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase404JSONResponseBodyObject enum.
type GetPurchase404JSONResponseBodyType ¶
type GetPurchase404JSONResponseBodyType string
GetPurchase404JSONResponseBodyType defines parameters for GetPurchase.
const (
GetPurchase404JSONResponseBodyTypeResourceMissing GetPurchase404JSONResponseBodyType = "resource_missing"
)
Defines values for GetPurchase404JSONResponseBodyType.
func (GetPurchase404JSONResponseBodyType) Valid ¶
func (e GetPurchase404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase404JSONResponseBodyType enum.
type GetPurchase423JSONResponseBodyObject ¶
type GetPurchase423JSONResponseBodyObject string
GetPurchase423JSONResponseBodyObject defines parameters for GetPurchase.
const (
GetPurchase423JSONResponseBodyObjectError GetPurchase423JSONResponseBodyObject = "error"
)
Defines values for GetPurchase423JSONResponseBodyObject.
func (GetPurchase423JSONResponseBodyObject) Valid ¶
func (e GetPurchase423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase423JSONResponseBodyObject enum.
type GetPurchase423JSONResponseBodyType ¶
type GetPurchase423JSONResponseBodyType string
GetPurchase423JSONResponseBodyType defines parameters for GetPurchase.
const (
GetPurchase423JSONResponseBodyTypeResourceLockedError GetPurchase423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetPurchase423JSONResponseBodyType.
func (GetPurchase423JSONResponseBodyType) Valid ¶
func (e GetPurchase423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase423JSONResponseBodyType enum.
type GetPurchase429JSONResponseBodyObject ¶
type GetPurchase429JSONResponseBodyObject string
GetPurchase429JSONResponseBodyObject defines parameters for GetPurchase.
const (
GetPurchase429JSONResponseBodyObjectError GetPurchase429JSONResponseBodyObject = "error"
)
Defines values for GetPurchase429JSONResponseBodyObject.
func (GetPurchase429JSONResponseBodyObject) Valid ¶
func (e GetPurchase429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase429JSONResponseBodyObject enum.
type GetPurchase429JSONResponseBodyType ¶
type GetPurchase429JSONResponseBodyType string
GetPurchase429JSONResponseBodyType defines parameters for GetPurchase.
const (
GetPurchase429JSONResponseBodyTypeRateLimitError GetPurchase429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetPurchase429JSONResponseBodyType.
func (GetPurchase429JSONResponseBodyType) Valid ¶
func (e GetPurchase429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase429JSONResponseBodyType enum.
type GetPurchase500JSONResponseBodyObject ¶
type GetPurchase500JSONResponseBodyObject string
GetPurchase500JSONResponseBodyObject defines parameters for GetPurchase.
const (
GetPurchase500JSONResponseBodyObjectError GetPurchase500JSONResponseBodyObject = "error"
)
Defines values for GetPurchase500JSONResponseBodyObject.
func (GetPurchase500JSONResponseBodyObject) Valid ¶
func (e GetPurchase500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase500JSONResponseBodyObject enum.
type GetPurchase500JSONResponseBodyType ¶
type GetPurchase500JSONResponseBodyType string
GetPurchase500JSONResponseBodyType defines parameters for GetPurchase.
const (
GetPurchase500JSONResponseBodyTypeServerError GetPurchase500JSONResponseBodyType = "server_error"
)
Defines values for GetPurchase500JSONResponseBodyType.
func (GetPurchase500JSONResponseBodyType) Valid ¶
func (e GetPurchase500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase500JSONResponseBodyType enum.
type GetPurchase503JSONResponseBodyObject ¶
type GetPurchase503JSONResponseBodyObject string
GetPurchase503JSONResponseBodyObject defines parameters for GetPurchase.
const (
GetPurchase503JSONResponseBodyObjectError GetPurchase503JSONResponseBodyObject = "error"
)
Defines values for GetPurchase503JSONResponseBodyObject.
func (GetPurchase503JSONResponseBodyObject) Valid ¶
func (e GetPurchase503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase503JSONResponseBodyObject enum.
type GetPurchase503JSONResponseBodyType ¶
type GetPurchase503JSONResponseBodyType string
GetPurchase503JSONResponseBodyType defines parameters for GetPurchase.
const (
GetPurchase503JSONResponseBodyTypeServerError GetPurchase503JSONResponseBodyType = "server_error"
)
Defines values for GetPurchase503JSONResponseBodyType.
func (GetPurchase503JSONResponseBodyType) Valid ¶
func (e GetPurchase503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetPurchase503JSONResponseBodyType enum.
type GetRevenueMetric400JSONResponseBodyObject ¶
type GetRevenueMetric400JSONResponseBodyObject string
GetRevenueMetric400JSONResponseBodyObject defines parameters for GetRevenueMetric.
const (
GetRevenueMetric400JSONResponseBodyObjectError GetRevenueMetric400JSONResponseBodyObject = "error"
)
Defines values for GetRevenueMetric400JSONResponseBodyObject.
func (GetRevenueMetric400JSONResponseBodyObject) Valid ¶
func (e GetRevenueMetric400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric400JSONResponseBodyObject enum.
type GetRevenueMetric400JSONResponseBodyType ¶
type GetRevenueMetric400JSONResponseBodyType string
GetRevenueMetric400JSONResponseBodyType defines parameters for GetRevenueMetric.
const ( GetRevenueMetric400JSONResponseBodyTypeInvalidRequest GetRevenueMetric400JSONResponseBodyType = "invalid_request" GetRevenueMetric400JSONResponseBodyTypeParameterError GetRevenueMetric400JSONResponseBodyType = "parameter_error" )
Defines values for GetRevenueMetric400JSONResponseBodyType.
func (GetRevenueMetric400JSONResponseBodyType) Valid ¶
func (e GetRevenueMetric400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric400JSONResponseBodyType enum.
type GetRevenueMetric401JSONResponseBodyObject ¶
type GetRevenueMetric401JSONResponseBodyObject string
GetRevenueMetric401JSONResponseBodyObject defines parameters for GetRevenueMetric.
const (
GetRevenueMetric401JSONResponseBodyObjectError GetRevenueMetric401JSONResponseBodyObject = "error"
)
Defines values for GetRevenueMetric401JSONResponseBodyObject.
func (GetRevenueMetric401JSONResponseBodyObject) Valid ¶
func (e GetRevenueMetric401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric401JSONResponseBodyObject enum.
type GetRevenueMetric401JSONResponseBodyType ¶
type GetRevenueMetric401JSONResponseBodyType string
GetRevenueMetric401JSONResponseBodyType defines parameters for GetRevenueMetric.
const (
GetRevenueMetric401JSONResponseBodyTypeAuthenticationError GetRevenueMetric401JSONResponseBodyType = "authentication_error"
)
Defines values for GetRevenueMetric401JSONResponseBodyType.
func (GetRevenueMetric401JSONResponseBodyType) Valid ¶
func (e GetRevenueMetric401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric401JSONResponseBodyType enum.
type GetRevenueMetric403JSONResponseBodyObject ¶
type GetRevenueMetric403JSONResponseBodyObject string
GetRevenueMetric403JSONResponseBodyObject defines parameters for GetRevenueMetric.
const (
GetRevenueMetric403JSONResponseBodyObjectError GetRevenueMetric403JSONResponseBodyObject = "error"
)
Defines values for GetRevenueMetric403JSONResponseBodyObject.
func (GetRevenueMetric403JSONResponseBodyObject) Valid ¶
func (e GetRevenueMetric403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric403JSONResponseBodyObject enum.
type GetRevenueMetric403JSONResponseBodyType ¶
type GetRevenueMetric403JSONResponseBodyType string
GetRevenueMetric403JSONResponseBodyType defines parameters for GetRevenueMetric.
const (
GetRevenueMetric403JSONResponseBodyTypeAuthorizationError GetRevenueMetric403JSONResponseBodyType = "authorization_error"
)
Defines values for GetRevenueMetric403JSONResponseBodyType.
func (GetRevenueMetric403JSONResponseBodyType) Valid ¶
func (e GetRevenueMetric403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric403JSONResponseBodyType enum.
type GetRevenueMetric404JSONResponseBodyObject ¶
type GetRevenueMetric404JSONResponseBodyObject string
GetRevenueMetric404JSONResponseBodyObject defines parameters for GetRevenueMetric.
const (
GetRevenueMetric404JSONResponseBodyObjectError GetRevenueMetric404JSONResponseBodyObject = "error"
)
Defines values for GetRevenueMetric404JSONResponseBodyObject.
func (GetRevenueMetric404JSONResponseBodyObject) Valid ¶
func (e GetRevenueMetric404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric404JSONResponseBodyObject enum.
type GetRevenueMetric404JSONResponseBodyType ¶
type GetRevenueMetric404JSONResponseBodyType string
GetRevenueMetric404JSONResponseBodyType defines parameters for GetRevenueMetric.
const (
GetRevenueMetric404JSONResponseBodyTypeResourceMissing GetRevenueMetric404JSONResponseBodyType = "resource_missing"
)
Defines values for GetRevenueMetric404JSONResponseBodyType.
func (GetRevenueMetric404JSONResponseBodyType) Valid ¶
func (e GetRevenueMetric404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric404JSONResponseBodyType enum.
type GetRevenueMetric423JSONResponseBodyObject ¶
type GetRevenueMetric423JSONResponseBodyObject string
GetRevenueMetric423JSONResponseBodyObject defines parameters for GetRevenueMetric.
const (
GetRevenueMetric423JSONResponseBodyObjectError GetRevenueMetric423JSONResponseBodyObject = "error"
)
Defines values for GetRevenueMetric423JSONResponseBodyObject.
func (GetRevenueMetric423JSONResponseBodyObject) Valid ¶
func (e GetRevenueMetric423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric423JSONResponseBodyObject enum.
type GetRevenueMetric423JSONResponseBodyType ¶
type GetRevenueMetric423JSONResponseBodyType string
GetRevenueMetric423JSONResponseBodyType defines parameters for GetRevenueMetric.
const (
GetRevenueMetric423JSONResponseBodyTypeResourceLockedError GetRevenueMetric423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetRevenueMetric423JSONResponseBodyType.
func (GetRevenueMetric423JSONResponseBodyType) Valid ¶
func (e GetRevenueMetric423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric423JSONResponseBodyType enum.
type GetRevenueMetric429JSONResponseBodyObject ¶
type GetRevenueMetric429JSONResponseBodyObject string
GetRevenueMetric429JSONResponseBodyObject defines parameters for GetRevenueMetric.
const (
GetRevenueMetric429JSONResponseBodyObjectError GetRevenueMetric429JSONResponseBodyObject = "error"
)
Defines values for GetRevenueMetric429JSONResponseBodyObject.
func (GetRevenueMetric429JSONResponseBodyObject) Valid ¶
func (e GetRevenueMetric429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric429JSONResponseBodyObject enum.
type GetRevenueMetric429JSONResponseBodyType ¶
type GetRevenueMetric429JSONResponseBodyType string
GetRevenueMetric429JSONResponseBodyType defines parameters for GetRevenueMetric.
const (
GetRevenueMetric429JSONResponseBodyTypeRateLimitError GetRevenueMetric429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetRevenueMetric429JSONResponseBodyType.
func (GetRevenueMetric429JSONResponseBodyType) Valid ¶
func (e GetRevenueMetric429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric429JSONResponseBodyType enum.
type GetRevenueMetric500JSONResponseBodyObject ¶
type GetRevenueMetric500JSONResponseBodyObject string
GetRevenueMetric500JSONResponseBodyObject defines parameters for GetRevenueMetric.
const (
GetRevenueMetric500JSONResponseBodyObjectError GetRevenueMetric500JSONResponseBodyObject = "error"
)
Defines values for GetRevenueMetric500JSONResponseBodyObject.
func (GetRevenueMetric500JSONResponseBodyObject) Valid ¶
func (e GetRevenueMetric500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric500JSONResponseBodyObject enum.
type GetRevenueMetric500JSONResponseBodyType ¶
type GetRevenueMetric500JSONResponseBodyType string
GetRevenueMetric500JSONResponseBodyType defines parameters for GetRevenueMetric.
const (
GetRevenueMetric500JSONResponseBodyTypeServerError GetRevenueMetric500JSONResponseBodyType = "server_error"
)
Defines values for GetRevenueMetric500JSONResponseBodyType.
func (GetRevenueMetric500JSONResponseBodyType) Valid ¶
func (e GetRevenueMetric500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric500JSONResponseBodyType enum.
type GetRevenueMetric503JSONResponseBodyObject ¶
type GetRevenueMetric503JSONResponseBodyObject string
GetRevenueMetric503JSONResponseBodyObject defines parameters for GetRevenueMetric.
const (
GetRevenueMetric503JSONResponseBodyObjectError GetRevenueMetric503JSONResponseBodyObject = "error"
)
Defines values for GetRevenueMetric503JSONResponseBodyObject.
func (GetRevenueMetric503JSONResponseBodyObject) Valid ¶
func (e GetRevenueMetric503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric503JSONResponseBodyObject enum.
type GetRevenueMetric503JSONResponseBodyType ¶
type GetRevenueMetric503JSONResponseBodyType string
GetRevenueMetric503JSONResponseBodyType defines parameters for GetRevenueMetric.
const (
GetRevenueMetric503JSONResponseBodyTypeServerError GetRevenueMetric503JSONResponseBodyType = "server_error"
)
Defines values for GetRevenueMetric503JSONResponseBodyType.
func (GetRevenueMetric503JSONResponseBodyType) Valid ¶
func (e GetRevenueMetric503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetric503JSONResponseBodyType enum.
type GetRevenueMetricParams ¶
type GetRevenueMetricParams struct {
// StartDate Start date for the data range (ISO 8601 format)
StartDate openapi_types.Date `form:"start_date" json:"start_date"`
// EndDate End date for the data range (ISO 8601 format)
EndDate openapi_types.Date `form:"end_date" json:"end_date"`
// Currency The currency to return metrics data in
Currency *GetRevenueMetricParamsCurrency `form:"currency,omitempty" json:"currency,omitempty"`
// RevenueType Which revenue definition to return as the metric value:
// - `revenue`: gross revenue.
// - `revenue_net_of_taxes`: revenue with taxes subtracted.
// - `proceeds`: revenue net of both taxes and store commission (the amount the
// developer keeps).
RevenueType *GetRevenueMetricParamsRevenueType `form:"revenue_type,omitempty" json:"revenue_type,omitempty"`
}
GetRevenueMetricParams defines parameters for GetRevenueMetric.
type GetRevenueMetricParamsCurrency ¶
type GetRevenueMetricParamsCurrency string
GetRevenueMetricParamsCurrency defines parameters for GetRevenueMetric.
const ( GetRevenueMetricParamsCurrencyAUD GetRevenueMetricParamsCurrency = "AUD" GetRevenueMetricParamsCurrencyBRL GetRevenueMetricParamsCurrency = "BRL" GetRevenueMetricParamsCurrencyCAD GetRevenueMetricParamsCurrency = "CAD" GetRevenueMetricParamsCurrencyCHF GetRevenueMetricParamsCurrency = "CHF" GetRevenueMetricParamsCurrencyCNY GetRevenueMetricParamsCurrency = "CNY" GetRevenueMetricParamsCurrencyEUR GetRevenueMetricParamsCurrency = "EUR" GetRevenueMetricParamsCurrencyGBP GetRevenueMetricParamsCurrency = "GBP" GetRevenueMetricParamsCurrencyJPY GetRevenueMetricParamsCurrency = "JPY" GetRevenueMetricParamsCurrencyKRW GetRevenueMetricParamsCurrency = "KRW" GetRevenueMetricParamsCurrencyMXN GetRevenueMetricParamsCurrency = "MXN" GetRevenueMetricParamsCurrencyNZD GetRevenueMetricParamsCurrency = "NZD" GetRevenueMetricParamsCurrencyPLN GetRevenueMetricParamsCurrency = "PLN" GetRevenueMetricParamsCurrencySEK GetRevenueMetricParamsCurrency = "SEK" GetRevenueMetricParamsCurrencyUSD GetRevenueMetricParamsCurrency = "USD" )
Defines values for GetRevenueMetricParamsCurrency.
func (GetRevenueMetricParamsCurrency) Valid ¶
func (e GetRevenueMetricParamsCurrency) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetricParamsCurrency enum.
type GetRevenueMetricParamsRevenueType ¶
type GetRevenueMetricParamsRevenueType string
GetRevenueMetricParamsRevenueType defines parameters for GetRevenueMetric.
const ( GetRevenueMetricParamsRevenueTypeProceeds GetRevenueMetricParamsRevenueType = "proceeds" GetRevenueMetricParamsRevenueTypeRevenue GetRevenueMetricParamsRevenueType = "revenue" GetRevenueMetricParamsRevenueTypeRevenueNetOfTaxes GetRevenueMetricParamsRevenueType = "revenue_net_of_taxes" )
Defines values for GetRevenueMetricParamsRevenueType.
func (GetRevenueMetricParamsRevenueType) Valid ¶
func (e GetRevenueMetricParamsRevenueType) Valid() bool
Valid indicates whether the value is a known member of the GetRevenueMetricParamsRevenueType enum.
type GetSubscription400JSONResponseBodyObject ¶
type GetSubscription400JSONResponseBodyObject string
GetSubscription400JSONResponseBodyObject defines parameters for GetSubscription.
const (
GetSubscription400JSONResponseBodyObjectError GetSubscription400JSONResponseBodyObject = "error"
)
Defines values for GetSubscription400JSONResponseBodyObject.
func (GetSubscription400JSONResponseBodyObject) Valid ¶
func (e GetSubscription400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription400JSONResponseBodyObject enum.
type GetSubscription400JSONResponseBodyType ¶
type GetSubscription400JSONResponseBodyType string
GetSubscription400JSONResponseBodyType defines parameters for GetSubscription.
const ( GetSubscription400JSONResponseBodyTypeInvalidRequest GetSubscription400JSONResponseBodyType = "invalid_request" GetSubscription400JSONResponseBodyTypeParameterError GetSubscription400JSONResponseBodyType = "parameter_error" )
Defines values for GetSubscription400JSONResponseBodyType.
func (GetSubscription400JSONResponseBodyType) Valid ¶
func (e GetSubscription400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription400JSONResponseBodyType enum.
type GetSubscription401JSONResponseBodyObject ¶
type GetSubscription401JSONResponseBodyObject string
GetSubscription401JSONResponseBodyObject defines parameters for GetSubscription.
const (
GetSubscription401JSONResponseBodyObjectError GetSubscription401JSONResponseBodyObject = "error"
)
Defines values for GetSubscription401JSONResponseBodyObject.
func (GetSubscription401JSONResponseBodyObject) Valid ¶
func (e GetSubscription401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription401JSONResponseBodyObject enum.
type GetSubscription401JSONResponseBodyType ¶
type GetSubscription401JSONResponseBodyType string
GetSubscription401JSONResponseBodyType defines parameters for GetSubscription.
const (
GetSubscription401JSONResponseBodyTypeAuthenticationError GetSubscription401JSONResponseBodyType = "authentication_error"
)
Defines values for GetSubscription401JSONResponseBodyType.
func (GetSubscription401JSONResponseBodyType) Valid ¶
func (e GetSubscription401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription401JSONResponseBodyType enum.
type GetSubscription403JSONResponseBodyObject ¶
type GetSubscription403JSONResponseBodyObject string
GetSubscription403JSONResponseBodyObject defines parameters for GetSubscription.
const (
GetSubscription403JSONResponseBodyObjectError GetSubscription403JSONResponseBodyObject = "error"
)
Defines values for GetSubscription403JSONResponseBodyObject.
func (GetSubscription403JSONResponseBodyObject) Valid ¶
func (e GetSubscription403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription403JSONResponseBodyObject enum.
type GetSubscription403JSONResponseBodyType ¶
type GetSubscription403JSONResponseBodyType string
GetSubscription403JSONResponseBodyType defines parameters for GetSubscription.
const (
GetSubscription403JSONResponseBodyTypeAuthorizationError GetSubscription403JSONResponseBodyType = "authorization_error"
)
Defines values for GetSubscription403JSONResponseBodyType.
func (GetSubscription403JSONResponseBodyType) Valid ¶
func (e GetSubscription403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription403JSONResponseBodyType enum.
type GetSubscription404JSONResponseBodyObject ¶
type GetSubscription404JSONResponseBodyObject string
GetSubscription404JSONResponseBodyObject defines parameters for GetSubscription.
const (
GetSubscription404JSONResponseBodyObjectError GetSubscription404JSONResponseBodyObject = "error"
)
Defines values for GetSubscription404JSONResponseBodyObject.
func (GetSubscription404JSONResponseBodyObject) Valid ¶
func (e GetSubscription404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription404JSONResponseBodyObject enum.
type GetSubscription404JSONResponseBodyType ¶
type GetSubscription404JSONResponseBodyType string
GetSubscription404JSONResponseBodyType defines parameters for GetSubscription.
const (
GetSubscription404JSONResponseBodyTypeResourceMissing GetSubscription404JSONResponseBodyType = "resource_missing"
)
Defines values for GetSubscription404JSONResponseBodyType.
func (GetSubscription404JSONResponseBodyType) Valid ¶
func (e GetSubscription404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription404JSONResponseBodyType enum.
type GetSubscription423JSONResponseBodyObject ¶
type GetSubscription423JSONResponseBodyObject string
GetSubscription423JSONResponseBodyObject defines parameters for GetSubscription.
const (
GetSubscription423JSONResponseBodyObjectError GetSubscription423JSONResponseBodyObject = "error"
)
Defines values for GetSubscription423JSONResponseBodyObject.
func (GetSubscription423JSONResponseBodyObject) Valid ¶
func (e GetSubscription423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription423JSONResponseBodyObject enum.
type GetSubscription423JSONResponseBodyType ¶
type GetSubscription423JSONResponseBodyType string
GetSubscription423JSONResponseBodyType defines parameters for GetSubscription.
const (
GetSubscription423JSONResponseBodyTypeResourceLockedError GetSubscription423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetSubscription423JSONResponseBodyType.
func (GetSubscription423JSONResponseBodyType) Valid ¶
func (e GetSubscription423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription423JSONResponseBodyType enum.
type GetSubscription429JSONResponseBodyObject ¶
type GetSubscription429JSONResponseBodyObject string
GetSubscription429JSONResponseBodyObject defines parameters for GetSubscription.
const (
GetSubscription429JSONResponseBodyObjectError GetSubscription429JSONResponseBodyObject = "error"
)
Defines values for GetSubscription429JSONResponseBodyObject.
func (GetSubscription429JSONResponseBodyObject) Valid ¶
func (e GetSubscription429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription429JSONResponseBodyObject enum.
type GetSubscription429JSONResponseBodyType ¶
type GetSubscription429JSONResponseBodyType string
GetSubscription429JSONResponseBodyType defines parameters for GetSubscription.
const (
GetSubscription429JSONResponseBodyTypeRateLimitError GetSubscription429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetSubscription429JSONResponseBodyType.
func (GetSubscription429JSONResponseBodyType) Valid ¶
func (e GetSubscription429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription429JSONResponseBodyType enum.
type GetSubscription500JSONResponseBodyObject ¶
type GetSubscription500JSONResponseBodyObject string
GetSubscription500JSONResponseBodyObject defines parameters for GetSubscription.
const (
GetSubscription500JSONResponseBodyObjectError GetSubscription500JSONResponseBodyObject = "error"
)
Defines values for GetSubscription500JSONResponseBodyObject.
func (GetSubscription500JSONResponseBodyObject) Valid ¶
func (e GetSubscription500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription500JSONResponseBodyObject enum.
type GetSubscription500JSONResponseBodyType ¶
type GetSubscription500JSONResponseBodyType string
GetSubscription500JSONResponseBodyType defines parameters for GetSubscription.
const (
GetSubscription500JSONResponseBodyTypeServerError GetSubscription500JSONResponseBodyType = "server_error"
)
Defines values for GetSubscription500JSONResponseBodyType.
func (GetSubscription500JSONResponseBodyType) Valid ¶
func (e GetSubscription500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription500JSONResponseBodyType enum.
type GetSubscription503JSONResponseBodyObject ¶
type GetSubscription503JSONResponseBodyObject string
GetSubscription503JSONResponseBodyObject defines parameters for GetSubscription.
const (
GetSubscription503JSONResponseBodyObjectError GetSubscription503JSONResponseBodyObject = "error"
)
Defines values for GetSubscription503JSONResponseBodyObject.
func (GetSubscription503JSONResponseBodyObject) Valid ¶
func (e GetSubscription503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription503JSONResponseBodyObject enum.
type GetSubscription503JSONResponseBodyType ¶
type GetSubscription503JSONResponseBodyType string
GetSubscription503JSONResponseBodyType defines parameters for GetSubscription.
const (
GetSubscription503JSONResponseBodyTypeServerError GetSubscription503JSONResponseBodyType = "server_error"
)
Defines values for GetSubscription503JSONResponseBodyType.
func (GetSubscription503JSONResponseBodyType) Valid ¶
func (e GetSubscription503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetSubscription503JSONResponseBodyType enum.
type GetVirtualCurrency400JSONResponseBodyObject ¶
type GetVirtualCurrency400JSONResponseBodyObject string
GetVirtualCurrency400JSONResponseBodyObject defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency400JSONResponseBodyObjectError GetVirtualCurrency400JSONResponseBodyObject = "error"
)
Defines values for GetVirtualCurrency400JSONResponseBodyObject.
func (GetVirtualCurrency400JSONResponseBodyObject) Valid ¶
func (e GetVirtualCurrency400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency400JSONResponseBodyObject enum.
type GetVirtualCurrency400JSONResponseBodyType ¶
type GetVirtualCurrency400JSONResponseBodyType string
GetVirtualCurrency400JSONResponseBodyType defines parameters for GetVirtualCurrency.
const ( GetVirtualCurrency400JSONResponseBodyTypeInvalidRequest GetVirtualCurrency400JSONResponseBodyType = "invalid_request" GetVirtualCurrency400JSONResponseBodyTypeParameterError GetVirtualCurrency400JSONResponseBodyType = "parameter_error" )
Defines values for GetVirtualCurrency400JSONResponseBodyType.
func (GetVirtualCurrency400JSONResponseBodyType) Valid ¶
func (e GetVirtualCurrency400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency400JSONResponseBodyType enum.
type GetVirtualCurrency401JSONResponseBodyObject ¶
type GetVirtualCurrency401JSONResponseBodyObject string
GetVirtualCurrency401JSONResponseBodyObject defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency401JSONResponseBodyObjectError GetVirtualCurrency401JSONResponseBodyObject = "error"
)
Defines values for GetVirtualCurrency401JSONResponseBodyObject.
func (GetVirtualCurrency401JSONResponseBodyObject) Valid ¶
func (e GetVirtualCurrency401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency401JSONResponseBodyObject enum.
type GetVirtualCurrency401JSONResponseBodyType ¶
type GetVirtualCurrency401JSONResponseBodyType string
GetVirtualCurrency401JSONResponseBodyType defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency401JSONResponseBodyTypeAuthenticationError GetVirtualCurrency401JSONResponseBodyType = "authentication_error"
)
Defines values for GetVirtualCurrency401JSONResponseBodyType.
func (GetVirtualCurrency401JSONResponseBodyType) Valid ¶
func (e GetVirtualCurrency401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency401JSONResponseBodyType enum.
type GetVirtualCurrency403JSONResponseBodyObject ¶
type GetVirtualCurrency403JSONResponseBodyObject string
GetVirtualCurrency403JSONResponseBodyObject defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency403JSONResponseBodyObjectError GetVirtualCurrency403JSONResponseBodyObject = "error"
)
Defines values for GetVirtualCurrency403JSONResponseBodyObject.
func (GetVirtualCurrency403JSONResponseBodyObject) Valid ¶
func (e GetVirtualCurrency403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency403JSONResponseBodyObject enum.
type GetVirtualCurrency403JSONResponseBodyType ¶
type GetVirtualCurrency403JSONResponseBodyType string
GetVirtualCurrency403JSONResponseBodyType defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency403JSONResponseBodyTypeAuthorizationError GetVirtualCurrency403JSONResponseBodyType = "authorization_error"
)
Defines values for GetVirtualCurrency403JSONResponseBodyType.
func (GetVirtualCurrency403JSONResponseBodyType) Valid ¶
func (e GetVirtualCurrency403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency403JSONResponseBodyType enum.
type GetVirtualCurrency404JSONResponseBodyObject ¶
type GetVirtualCurrency404JSONResponseBodyObject string
GetVirtualCurrency404JSONResponseBodyObject defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency404JSONResponseBodyObjectError GetVirtualCurrency404JSONResponseBodyObject = "error"
)
Defines values for GetVirtualCurrency404JSONResponseBodyObject.
func (GetVirtualCurrency404JSONResponseBodyObject) Valid ¶
func (e GetVirtualCurrency404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency404JSONResponseBodyObject enum.
type GetVirtualCurrency404JSONResponseBodyType ¶
type GetVirtualCurrency404JSONResponseBodyType string
GetVirtualCurrency404JSONResponseBodyType defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency404JSONResponseBodyTypeResourceMissing GetVirtualCurrency404JSONResponseBodyType = "resource_missing"
)
Defines values for GetVirtualCurrency404JSONResponseBodyType.
func (GetVirtualCurrency404JSONResponseBodyType) Valid ¶
func (e GetVirtualCurrency404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency404JSONResponseBodyType enum.
type GetVirtualCurrency423JSONResponseBodyObject ¶
type GetVirtualCurrency423JSONResponseBodyObject string
GetVirtualCurrency423JSONResponseBodyObject defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency423JSONResponseBodyObjectError GetVirtualCurrency423JSONResponseBodyObject = "error"
)
Defines values for GetVirtualCurrency423JSONResponseBodyObject.
func (GetVirtualCurrency423JSONResponseBodyObject) Valid ¶
func (e GetVirtualCurrency423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency423JSONResponseBodyObject enum.
type GetVirtualCurrency423JSONResponseBodyType ¶
type GetVirtualCurrency423JSONResponseBodyType string
GetVirtualCurrency423JSONResponseBodyType defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency423JSONResponseBodyTypeResourceLockedError GetVirtualCurrency423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetVirtualCurrency423JSONResponseBodyType.
func (GetVirtualCurrency423JSONResponseBodyType) Valid ¶
func (e GetVirtualCurrency423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency423JSONResponseBodyType enum.
type GetVirtualCurrency429JSONResponseBodyObject ¶
type GetVirtualCurrency429JSONResponseBodyObject string
GetVirtualCurrency429JSONResponseBodyObject defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency429JSONResponseBodyObjectError GetVirtualCurrency429JSONResponseBodyObject = "error"
)
Defines values for GetVirtualCurrency429JSONResponseBodyObject.
func (GetVirtualCurrency429JSONResponseBodyObject) Valid ¶
func (e GetVirtualCurrency429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency429JSONResponseBodyObject enum.
type GetVirtualCurrency429JSONResponseBodyType ¶
type GetVirtualCurrency429JSONResponseBodyType string
GetVirtualCurrency429JSONResponseBodyType defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency429JSONResponseBodyTypeRateLimitError GetVirtualCurrency429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetVirtualCurrency429JSONResponseBodyType.
func (GetVirtualCurrency429JSONResponseBodyType) Valid ¶
func (e GetVirtualCurrency429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency429JSONResponseBodyType enum.
type GetVirtualCurrency500JSONResponseBodyObject ¶
type GetVirtualCurrency500JSONResponseBodyObject string
GetVirtualCurrency500JSONResponseBodyObject defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency500JSONResponseBodyObjectError GetVirtualCurrency500JSONResponseBodyObject = "error"
)
Defines values for GetVirtualCurrency500JSONResponseBodyObject.
func (GetVirtualCurrency500JSONResponseBodyObject) Valid ¶
func (e GetVirtualCurrency500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency500JSONResponseBodyObject enum.
type GetVirtualCurrency500JSONResponseBodyType ¶
type GetVirtualCurrency500JSONResponseBodyType string
GetVirtualCurrency500JSONResponseBodyType defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency500JSONResponseBodyTypeServerError GetVirtualCurrency500JSONResponseBodyType = "server_error"
)
Defines values for GetVirtualCurrency500JSONResponseBodyType.
func (GetVirtualCurrency500JSONResponseBodyType) Valid ¶
func (e GetVirtualCurrency500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency500JSONResponseBodyType enum.
type GetVirtualCurrency503JSONResponseBodyObject ¶
type GetVirtualCurrency503JSONResponseBodyObject string
GetVirtualCurrency503JSONResponseBodyObject defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency503JSONResponseBodyObjectError GetVirtualCurrency503JSONResponseBodyObject = "error"
)
Defines values for GetVirtualCurrency503JSONResponseBodyObject.
func (GetVirtualCurrency503JSONResponseBodyObject) Valid ¶
func (e GetVirtualCurrency503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency503JSONResponseBodyObject enum.
type GetVirtualCurrency503JSONResponseBodyType ¶
type GetVirtualCurrency503JSONResponseBodyType string
GetVirtualCurrency503JSONResponseBodyType defines parameters for GetVirtualCurrency.
const (
GetVirtualCurrency503JSONResponseBodyTypeServerError GetVirtualCurrency503JSONResponseBodyType = "server_error"
)
Defines values for GetVirtualCurrency503JSONResponseBodyType.
func (GetVirtualCurrency503JSONResponseBodyType) Valid ¶
func (e GetVirtualCurrency503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetVirtualCurrency503JSONResponseBodyType enum.
type GetWebhookIntegration400JSONResponseBodyObject ¶
type GetWebhookIntegration400JSONResponseBodyObject string
GetWebhookIntegration400JSONResponseBodyObject defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration400JSONResponseBodyObjectError GetWebhookIntegration400JSONResponseBodyObject = "error"
)
Defines values for GetWebhookIntegration400JSONResponseBodyObject.
func (GetWebhookIntegration400JSONResponseBodyObject) Valid ¶
func (e GetWebhookIntegration400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration400JSONResponseBodyObject enum.
type GetWebhookIntegration400JSONResponseBodyType ¶
type GetWebhookIntegration400JSONResponseBodyType string
GetWebhookIntegration400JSONResponseBodyType defines parameters for GetWebhookIntegration.
const ( GetWebhookIntegration400JSONResponseBodyTypeInvalidRequest GetWebhookIntegration400JSONResponseBodyType = "invalid_request" GetWebhookIntegration400JSONResponseBodyTypeParameterError GetWebhookIntegration400JSONResponseBodyType = "parameter_error" )
Defines values for GetWebhookIntegration400JSONResponseBodyType.
func (GetWebhookIntegration400JSONResponseBodyType) Valid ¶
func (e GetWebhookIntegration400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration400JSONResponseBodyType enum.
type GetWebhookIntegration401JSONResponseBodyObject ¶
type GetWebhookIntegration401JSONResponseBodyObject string
GetWebhookIntegration401JSONResponseBodyObject defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration401JSONResponseBodyObjectError GetWebhookIntegration401JSONResponseBodyObject = "error"
)
Defines values for GetWebhookIntegration401JSONResponseBodyObject.
func (GetWebhookIntegration401JSONResponseBodyObject) Valid ¶
func (e GetWebhookIntegration401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration401JSONResponseBodyObject enum.
type GetWebhookIntegration401JSONResponseBodyType ¶
type GetWebhookIntegration401JSONResponseBodyType string
GetWebhookIntegration401JSONResponseBodyType defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration401JSONResponseBodyTypeAuthenticationError GetWebhookIntegration401JSONResponseBodyType = "authentication_error"
)
Defines values for GetWebhookIntegration401JSONResponseBodyType.
func (GetWebhookIntegration401JSONResponseBodyType) Valid ¶
func (e GetWebhookIntegration401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration401JSONResponseBodyType enum.
type GetWebhookIntegration403JSONResponseBodyObject ¶
type GetWebhookIntegration403JSONResponseBodyObject string
GetWebhookIntegration403JSONResponseBodyObject defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration403JSONResponseBodyObjectError GetWebhookIntegration403JSONResponseBodyObject = "error"
)
Defines values for GetWebhookIntegration403JSONResponseBodyObject.
func (GetWebhookIntegration403JSONResponseBodyObject) Valid ¶
func (e GetWebhookIntegration403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration403JSONResponseBodyObject enum.
type GetWebhookIntegration403JSONResponseBodyType ¶
type GetWebhookIntegration403JSONResponseBodyType string
GetWebhookIntegration403JSONResponseBodyType defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration403JSONResponseBodyTypeAuthorizationError GetWebhookIntegration403JSONResponseBodyType = "authorization_error"
)
Defines values for GetWebhookIntegration403JSONResponseBodyType.
func (GetWebhookIntegration403JSONResponseBodyType) Valid ¶
func (e GetWebhookIntegration403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration403JSONResponseBodyType enum.
type GetWebhookIntegration404JSONResponseBodyObject ¶
type GetWebhookIntegration404JSONResponseBodyObject string
GetWebhookIntegration404JSONResponseBodyObject defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration404JSONResponseBodyObjectError GetWebhookIntegration404JSONResponseBodyObject = "error"
)
Defines values for GetWebhookIntegration404JSONResponseBodyObject.
func (GetWebhookIntegration404JSONResponseBodyObject) Valid ¶
func (e GetWebhookIntegration404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration404JSONResponseBodyObject enum.
type GetWebhookIntegration404JSONResponseBodyType ¶
type GetWebhookIntegration404JSONResponseBodyType string
GetWebhookIntegration404JSONResponseBodyType defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration404JSONResponseBodyTypeResourceMissing GetWebhookIntegration404JSONResponseBodyType = "resource_missing"
)
Defines values for GetWebhookIntegration404JSONResponseBodyType.
func (GetWebhookIntegration404JSONResponseBodyType) Valid ¶
func (e GetWebhookIntegration404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration404JSONResponseBodyType enum.
type GetWebhookIntegration423JSONResponseBodyObject ¶
type GetWebhookIntegration423JSONResponseBodyObject string
GetWebhookIntegration423JSONResponseBodyObject defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration423JSONResponseBodyObjectError GetWebhookIntegration423JSONResponseBodyObject = "error"
)
Defines values for GetWebhookIntegration423JSONResponseBodyObject.
func (GetWebhookIntegration423JSONResponseBodyObject) Valid ¶
func (e GetWebhookIntegration423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration423JSONResponseBodyObject enum.
type GetWebhookIntegration423JSONResponseBodyType ¶
type GetWebhookIntegration423JSONResponseBodyType string
GetWebhookIntegration423JSONResponseBodyType defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration423JSONResponseBodyTypeResourceLockedError GetWebhookIntegration423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GetWebhookIntegration423JSONResponseBodyType.
func (GetWebhookIntegration423JSONResponseBodyType) Valid ¶
func (e GetWebhookIntegration423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration423JSONResponseBodyType enum.
type GetWebhookIntegration429JSONResponseBodyObject ¶
type GetWebhookIntegration429JSONResponseBodyObject string
GetWebhookIntegration429JSONResponseBodyObject defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration429JSONResponseBodyObjectError GetWebhookIntegration429JSONResponseBodyObject = "error"
)
Defines values for GetWebhookIntegration429JSONResponseBodyObject.
func (GetWebhookIntegration429JSONResponseBodyObject) Valid ¶
func (e GetWebhookIntegration429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration429JSONResponseBodyObject enum.
type GetWebhookIntegration429JSONResponseBodyType ¶
type GetWebhookIntegration429JSONResponseBodyType string
GetWebhookIntegration429JSONResponseBodyType defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration429JSONResponseBodyTypeRateLimitError GetWebhookIntegration429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GetWebhookIntegration429JSONResponseBodyType.
func (GetWebhookIntegration429JSONResponseBodyType) Valid ¶
func (e GetWebhookIntegration429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration429JSONResponseBodyType enum.
type GetWebhookIntegration500JSONResponseBodyObject ¶
type GetWebhookIntegration500JSONResponseBodyObject string
GetWebhookIntegration500JSONResponseBodyObject defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration500JSONResponseBodyObjectError GetWebhookIntegration500JSONResponseBodyObject = "error"
)
Defines values for GetWebhookIntegration500JSONResponseBodyObject.
func (GetWebhookIntegration500JSONResponseBodyObject) Valid ¶
func (e GetWebhookIntegration500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration500JSONResponseBodyObject enum.
type GetWebhookIntegration500JSONResponseBodyType ¶
type GetWebhookIntegration500JSONResponseBodyType string
GetWebhookIntegration500JSONResponseBodyType defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration500JSONResponseBodyTypeServerError GetWebhookIntegration500JSONResponseBodyType = "server_error"
)
Defines values for GetWebhookIntegration500JSONResponseBodyType.
func (GetWebhookIntegration500JSONResponseBodyType) Valid ¶
func (e GetWebhookIntegration500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration500JSONResponseBodyType enum.
type GetWebhookIntegration503JSONResponseBodyObject ¶
type GetWebhookIntegration503JSONResponseBodyObject string
GetWebhookIntegration503JSONResponseBodyObject defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration503JSONResponseBodyObjectError GetWebhookIntegration503JSONResponseBodyObject = "error"
)
Defines values for GetWebhookIntegration503JSONResponseBodyObject.
func (GetWebhookIntegration503JSONResponseBodyObject) Valid ¶
func (e GetWebhookIntegration503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration503JSONResponseBodyObject enum.
type GetWebhookIntegration503JSONResponseBodyType ¶
type GetWebhookIntegration503JSONResponseBodyType string
GetWebhookIntegration503JSONResponseBodyType defines parameters for GetWebhookIntegration.
const (
GetWebhookIntegration503JSONResponseBodyTypeServerError GetWebhookIntegration503JSONResponseBodyType = "server_error"
)
Defines values for GetWebhookIntegration503JSONResponseBodyType.
func (GetWebhookIntegration503JSONResponseBodyType) Valid ¶
func (e GetWebhookIntegration503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GetWebhookIntegration503JSONResponseBodyType enum.
type GrantCustomerEntitlement400JSONResponseBodyObject ¶
type GrantCustomerEntitlement400JSONResponseBodyObject string
GrantCustomerEntitlement400JSONResponseBodyObject defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement400JSONResponseBodyObjectError GrantCustomerEntitlement400JSONResponseBodyObject = "error"
)
Defines values for GrantCustomerEntitlement400JSONResponseBodyObject.
func (GrantCustomerEntitlement400JSONResponseBodyObject) Valid ¶
func (e GrantCustomerEntitlement400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement400JSONResponseBodyObject enum.
type GrantCustomerEntitlement400JSONResponseBodyType ¶
type GrantCustomerEntitlement400JSONResponseBodyType string
GrantCustomerEntitlement400JSONResponseBodyType defines parameters for GrantCustomerEntitlement.
const ( GrantCustomerEntitlement400JSONResponseBodyTypeInvalidRequest GrantCustomerEntitlement400JSONResponseBodyType = "invalid_request" GrantCustomerEntitlement400JSONResponseBodyTypeParameterError GrantCustomerEntitlement400JSONResponseBodyType = "parameter_error" )
Defines values for GrantCustomerEntitlement400JSONResponseBodyType.
func (GrantCustomerEntitlement400JSONResponseBodyType) Valid ¶
func (e GrantCustomerEntitlement400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement400JSONResponseBodyType enum.
type GrantCustomerEntitlement401JSONResponseBodyObject ¶
type GrantCustomerEntitlement401JSONResponseBodyObject string
GrantCustomerEntitlement401JSONResponseBodyObject defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement401JSONResponseBodyObjectError GrantCustomerEntitlement401JSONResponseBodyObject = "error"
)
Defines values for GrantCustomerEntitlement401JSONResponseBodyObject.
func (GrantCustomerEntitlement401JSONResponseBodyObject) Valid ¶
func (e GrantCustomerEntitlement401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement401JSONResponseBodyObject enum.
type GrantCustomerEntitlement401JSONResponseBodyType ¶
type GrantCustomerEntitlement401JSONResponseBodyType string
GrantCustomerEntitlement401JSONResponseBodyType defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement401JSONResponseBodyTypeAuthenticationError GrantCustomerEntitlement401JSONResponseBodyType = "authentication_error"
)
Defines values for GrantCustomerEntitlement401JSONResponseBodyType.
func (GrantCustomerEntitlement401JSONResponseBodyType) Valid ¶
func (e GrantCustomerEntitlement401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement401JSONResponseBodyType enum.
type GrantCustomerEntitlement403JSONResponseBodyObject ¶
type GrantCustomerEntitlement403JSONResponseBodyObject string
GrantCustomerEntitlement403JSONResponseBodyObject defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement403JSONResponseBodyObjectError GrantCustomerEntitlement403JSONResponseBodyObject = "error"
)
Defines values for GrantCustomerEntitlement403JSONResponseBodyObject.
func (GrantCustomerEntitlement403JSONResponseBodyObject) Valid ¶
func (e GrantCustomerEntitlement403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement403JSONResponseBodyObject enum.
type GrantCustomerEntitlement403JSONResponseBodyType ¶
type GrantCustomerEntitlement403JSONResponseBodyType string
GrantCustomerEntitlement403JSONResponseBodyType defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement403JSONResponseBodyTypeAuthorizationError GrantCustomerEntitlement403JSONResponseBodyType = "authorization_error"
)
Defines values for GrantCustomerEntitlement403JSONResponseBodyType.
func (GrantCustomerEntitlement403JSONResponseBodyType) Valid ¶
func (e GrantCustomerEntitlement403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement403JSONResponseBodyType enum.
type GrantCustomerEntitlement404JSONResponseBodyObject ¶
type GrantCustomerEntitlement404JSONResponseBodyObject string
GrantCustomerEntitlement404JSONResponseBodyObject defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement404JSONResponseBodyObjectError GrantCustomerEntitlement404JSONResponseBodyObject = "error"
)
Defines values for GrantCustomerEntitlement404JSONResponseBodyObject.
func (GrantCustomerEntitlement404JSONResponseBodyObject) Valid ¶
func (e GrantCustomerEntitlement404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement404JSONResponseBodyObject enum.
type GrantCustomerEntitlement404JSONResponseBodyType ¶
type GrantCustomerEntitlement404JSONResponseBodyType string
GrantCustomerEntitlement404JSONResponseBodyType defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement404JSONResponseBodyTypeResourceMissing GrantCustomerEntitlement404JSONResponseBodyType = "resource_missing"
)
Defines values for GrantCustomerEntitlement404JSONResponseBodyType.
func (GrantCustomerEntitlement404JSONResponseBodyType) Valid ¶
func (e GrantCustomerEntitlement404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement404JSONResponseBodyType enum.
type GrantCustomerEntitlement409JSONResponseBodyObject ¶
type GrantCustomerEntitlement409JSONResponseBodyObject string
GrantCustomerEntitlement409JSONResponseBodyObject defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement409JSONResponseBodyObjectError GrantCustomerEntitlement409JSONResponseBodyObject = "error"
)
Defines values for GrantCustomerEntitlement409JSONResponseBodyObject.
func (GrantCustomerEntitlement409JSONResponseBodyObject) Valid ¶
func (e GrantCustomerEntitlement409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement409JSONResponseBodyObject enum.
type GrantCustomerEntitlement409JSONResponseBodyType ¶
type GrantCustomerEntitlement409JSONResponseBodyType string
GrantCustomerEntitlement409JSONResponseBodyType defines parameters for GrantCustomerEntitlement.
const ( GrantCustomerEntitlement409JSONResponseBodyTypeIdempotencyError GrantCustomerEntitlement409JSONResponseBodyType = "idempotency_error" GrantCustomerEntitlement409JSONResponseBodyTypeInvalidRequest GrantCustomerEntitlement409JSONResponseBodyType = "invalid_request" GrantCustomerEntitlement409JSONResponseBodyTypeResourceAlreadyExists GrantCustomerEntitlement409JSONResponseBodyType = "resource_already_exists" )
Defines values for GrantCustomerEntitlement409JSONResponseBodyType.
func (GrantCustomerEntitlement409JSONResponseBodyType) Valid ¶
func (e GrantCustomerEntitlement409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement409JSONResponseBodyType enum.
type GrantCustomerEntitlement422JSONResponseBodyObject ¶
type GrantCustomerEntitlement422JSONResponseBodyObject string
GrantCustomerEntitlement422JSONResponseBodyObject defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement422JSONResponseBodyObjectError GrantCustomerEntitlement422JSONResponseBodyObject = "error"
)
Defines values for GrantCustomerEntitlement422JSONResponseBodyObject.
func (GrantCustomerEntitlement422JSONResponseBodyObject) Valid ¶
func (e GrantCustomerEntitlement422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement422JSONResponseBodyObject enum.
type GrantCustomerEntitlement422JSONResponseBodyType ¶
type GrantCustomerEntitlement422JSONResponseBodyType string
GrantCustomerEntitlement422JSONResponseBodyType defines parameters for GrantCustomerEntitlement.
const ( GrantCustomerEntitlement422JSONResponseBodyTypeEntityReferencesArchivedEntities GrantCustomerEntitlement422JSONResponseBodyType = "entity_references_archived_entities" GrantCustomerEntitlement422JSONResponseBodyTypeParameterError GrantCustomerEntitlement422JSONResponseBodyType = "parameter_error" GrantCustomerEntitlement422JSONResponseBodyTypeStoreError GrantCustomerEntitlement422JSONResponseBodyType = "store_error" GrantCustomerEntitlement422JSONResponseBodyTypeUnprocessableEntityError GrantCustomerEntitlement422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for GrantCustomerEntitlement422JSONResponseBodyType.
func (GrantCustomerEntitlement422JSONResponseBodyType) Valid ¶
func (e GrantCustomerEntitlement422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement422JSONResponseBodyType enum.
type GrantCustomerEntitlement423JSONResponseBodyObject ¶
type GrantCustomerEntitlement423JSONResponseBodyObject string
GrantCustomerEntitlement423JSONResponseBodyObject defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement423JSONResponseBodyObjectError GrantCustomerEntitlement423JSONResponseBodyObject = "error"
)
Defines values for GrantCustomerEntitlement423JSONResponseBodyObject.
func (GrantCustomerEntitlement423JSONResponseBodyObject) Valid ¶
func (e GrantCustomerEntitlement423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement423JSONResponseBodyObject enum.
type GrantCustomerEntitlement423JSONResponseBodyType ¶
type GrantCustomerEntitlement423JSONResponseBodyType string
GrantCustomerEntitlement423JSONResponseBodyType defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement423JSONResponseBodyTypeResourceLockedError GrantCustomerEntitlement423JSONResponseBodyType = "resource_locked_error"
)
Defines values for GrantCustomerEntitlement423JSONResponseBodyType.
func (GrantCustomerEntitlement423JSONResponseBodyType) Valid ¶
func (e GrantCustomerEntitlement423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement423JSONResponseBodyType enum.
type GrantCustomerEntitlement429JSONResponseBodyObject ¶
type GrantCustomerEntitlement429JSONResponseBodyObject string
GrantCustomerEntitlement429JSONResponseBodyObject defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement429JSONResponseBodyObjectError GrantCustomerEntitlement429JSONResponseBodyObject = "error"
)
Defines values for GrantCustomerEntitlement429JSONResponseBodyObject.
func (GrantCustomerEntitlement429JSONResponseBodyObject) Valid ¶
func (e GrantCustomerEntitlement429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement429JSONResponseBodyObject enum.
type GrantCustomerEntitlement429JSONResponseBodyType ¶
type GrantCustomerEntitlement429JSONResponseBodyType string
GrantCustomerEntitlement429JSONResponseBodyType defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement429JSONResponseBodyTypeRateLimitError GrantCustomerEntitlement429JSONResponseBodyType = "rate_limit_error"
)
Defines values for GrantCustomerEntitlement429JSONResponseBodyType.
func (GrantCustomerEntitlement429JSONResponseBodyType) Valid ¶
func (e GrantCustomerEntitlement429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement429JSONResponseBodyType enum.
type GrantCustomerEntitlement500JSONResponseBodyObject ¶
type GrantCustomerEntitlement500JSONResponseBodyObject string
GrantCustomerEntitlement500JSONResponseBodyObject defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement500JSONResponseBodyObjectError GrantCustomerEntitlement500JSONResponseBodyObject = "error"
)
Defines values for GrantCustomerEntitlement500JSONResponseBodyObject.
func (GrantCustomerEntitlement500JSONResponseBodyObject) Valid ¶
func (e GrantCustomerEntitlement500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement500JSONResponseBodyObject enum.
type GrantCustomerEntitlement500JSONResponseBodyType ¶
type GrantCustomerEntitlement500JSONResponseBodyType string
GrantCustomerEntitlement500JSONResponseBodyType defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement500JSONResponseBodyTypeServerError GrantCustomerEntitlement500JSONResponseBodyType = "server_error"
)
Defines values for GrantCustomerEntitlement500JSONResponseBodyType.
func (GrantCustomerEntitlement500JSONResponseBodyType) Valid ¶
func (e GrantCustomerEntitlement500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement500JSONResponseBodyType enum.
type GrantCustomerEntitlement503JSONResponseBodyObject ¶
type GrantCustomerEntitlement503JSONResponseBodyObject string
GrantCustomerEntitlement503JSONResponseBodyObject defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement503JSONResponseBodyObjectError GrantCustomerEntitlement503JSONResponseBodyObject = "error"
)
Defines values for GrantCustomerEntitlement503JSONResponseBodyObject.
func (GrantCustomerEntitlement503JSONResponseBodyObject) Valid ¶
func (e GrantCustomerEntitlement503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement503JSONResponseBodyObject enum.
type GrantCustomerEntitlement503JSONResponseBodyType ¶
type GrantCustomerEntitlement503JSONResponseBodyType string
GrantCustomerEntitlement503JSONResponseBodyType defines parameters for GrantCustomerEntitlement.
const (
GrantCustomerEntitlement503JSONResponseBodyTypeServerError GrantCustomerEntitlement503JSONResponseBodyType = "server_error"
)
Defines values for GrantCustomerEntitlement503JSONResponseBodyType.
func (GrantCustomerEntitlement503JSONResponseBodyType) Valid ¶
func (e GrantCustomerEntitlement503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the GrantCustomerEntitlement503JSONResponseBodyType enum.
type GrantCustomerEntitlementJSONBody ¶
type GrantCustomerEntitlementJSONBody struct {
// EntitlementID The ID of the entitlement to grant to the customer.
//
// Example: entla1b2c3d4e5
EntitlementID string `json:"entitlement_id"`
// ExpiresAt The date after which the access to the entitlement expires in ms since epoch.
//
// Example: 1658399423658
ExpiresAt int64 `json:"expires_at"`
}
GrantCustomerEntitlementJSONBody defines parameters for GrantCustomerEntitlement.
type GrantCustomerEntitlementJSONRequestBody ¶
type GrantCustomerEntitlementJSONRequestBody GrantCustomerEntitlementJSONBody
GrantCustomerEntitlementJSONRequestBody defines body for GrantCustomerEntitlement for application/json ContentType.
type IndicativePrice ¶
type IndicativePrice struct {
// AmountMicros The price in micros. For example, USD 1 would be represented as 1000000
//
// Example: For 99.99, the value should be 99990000
AmountMicros AmountMicros `json:"amount_micros"`
// Country The country that the object is associated with, in ISO alpha 2 code
//
// Example: US
Country *Country `json:"country"`
// Currency ISO 4217 currency code
//
// Example: USD
Currency Currency `json:"currency"`
// Object String representing the object's type. Objects of the same type share the same value.
Object IndicativePriceObject `json:"object"`
}
IndicativePrice An indicative price for a product, in the default currency/country (USD / US). Uses the same price source as the get-offering-prices endpoint.
type IndicativePriceObject ¶
type IndicativePriceObject string
IndicativePriceObject String representing the object's type. Objects of the same type share the same value.
const (
IndicativePriceObjectIndicativePrice IndicativePriceObject = "indicative_price"
)
Defines values for IndicativePriceObject.
func (IndicativePriceObject) Valid ¶
func (e IndicativePriceObject) Valid() bool
Valid indicates whether the value is a known member of the IndicativePriceObject enum.
type InternalError ¶
type InternalError struct {
// BackoffMs The ms the client should wait before retrying the request. Only present for retryable errors.
BackoffMs *int `json:"backoff_ms,omitempty"`
// DocURL A URL to more information about the error reported
//
// Example: https://errors.rev.cat/parameter-error
DocURL *string `json:"doc_url,omitempty"`
// Message A message describing the reason of the error
//
// Example: id shouldn't be longer than 1,500 characters
Message string `json:"message"`
// Object String representing the object's type. Objects of the same type share the same value.
//
// Example: error
Object InternalErrorObject `json:"object"`
// Param If the error is parameter-specific, the parameter related to the error
//
// Example: customer_id
Param *string `json:"param,omitempty"`
// ReferencedObjectIds The IDs of related objects relevant to the error, such as the archived entities that need to be made active before the operation can succeed.
//
// Example: ["prodabcd1234","prodwxyz5678"]
ReferencedObjectIds *[]string `json:"referenced_object_ids,omitempty"`
// Retryable Indicates if the error is retryable or not
//
// Example: false
Retryable bool `json:"retryable"`
Type InternalErrorType `json:"type"`
}
InternalError defines model for InternalError.
type InternalErrorObject ¶
type InternalErrorObject string
InternalErrorObject String representing the object's type. Objects of the same type share the same value.
Example: error
const (
InternalErrorObjectError InternalErrorObject = "error"
)
Defines values for InternalErrorObject.
func (InternalErrorObject) Valid ¶
func (e InternalErrorObject) Valid() bool
Valid indicates whether the value is a known member of the InternalErrorObject enum.
type InternalErrorType ¶
type InternalErrorType string
InternalErrorType defines model for InternalError.Type.
const (
InternalErrorTypeServerError InternalErrorType = "server_error"
)
Defines values for InternalErrorType.
func (InternalErrorType) Valid ¶
func (e InternalErrorType) Valid() bool
Valid indicates whether the value is a known member of the InternalErrorType enum.
type InvoicesService ¶
type InvoicesService struct {
// contains filtered or unexported fields
}
func (*InvoicesService) Get ¶
GET /projects/{project_id}/invoices/{id} Inline path: this endpoint isn't in the public spec or the beta overlay, so it has no generated builder.
func (*InvoicesService) ListForCustomer ¶
func (s *InvoicesService) ListForCustomer(ctx context.Context, projectID, customerID string) (*Page[Invoice], error)
GET /projects/{project_id}/customers/{customer_id}/invoices
Lives in the InvoicesService rather than CustomersService because the invoice resource is the noun being listed; the customer is just the filter.
type ListAppPublicAPIKeys400JSONResponseBodyObject ¶
type ListAppPublicAPIKeys400JSONResponseBodyObject string
ListAppPublicAPIKeys400JSONResponseBodyObject defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys400JSONResponseBodyObjectError ListAppPublicAPIKeys400JSONResponseBodyObject = "error"
)
Defines values for ListAppPublicAPIKeys400JSONResponseBodyObject.
func (ListAppPublicAPIKeys400JSONResponseBodyObject) Valid ¶
func (e ListAppPublicAPIKeys400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys400JSONResponseBodyObject enum.
type ListAppPublicAPIKeys400JSONResponseBodyType ¶
type ListAppPublicAPIKeys400JSONResponseBodyType string
ListAppPublicAPIKeys400JSONResponseBodyType defines parameters for ListAppPublicAPIKeys.
const ( ListAppPublicAPIKeys400JSONResponseBodyTypeInvalidRequest ListAppPublicAPIKeys400JSONResponseBodyType = "invalid_request" ListAppPublicAPIKeys400JSONResponseBodyTypeParameterError ListAppPublicAPIKeys400JSONResponseBodyType = "parameter_error" )
Defines values for ListAppPublicAPIKeys400JSONResponseBodyType.
func (ListAppPublicAPIKeys400JSONResponseBodyType) Valid ¶
func (e ListAppPublicAPIKeys400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys400JSONResponseBodyType enum.
type ListAppPublicAPIKeys401JSONResponseBodyObject ¶
type ListAppPublicAPIKeys401JSONResponseBodyObject string
ListAppPublicAPIKeys401JSONResponseBodyObject defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys401JSONResponseBodyObjectError ListAppPublicAPIKeys401JSONResponseBodyObject = "error"
)
Defines values for ListAppPublicAPIKeys401JSONResponseBodyObject.
func (ListAppPublicAPIKeys401JSONResponseBodyObject) Valid ¶
func (e ListAppPublicAPIKeys401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys401JSONResponseBodyObject enum.
type ListAppPublicAPIKeys401JSONResponseBodyType ¶
type ListAppPublicAPIKeys401JSONResponseBodyType string
ListAppPublicAPIKeys401JSONResponseBodyType defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys401JSONResponseBodyTypeAuthenticationError ListAppPublicAPIKeys401JSONResponseBodyType = "authentication_error"
)
Defines values for ListAppPublicAPIKeys401JSONResponseBodyType.
func (ListAppPublicAPIKeys401JSONResponseBodyType) Valid ¶
func (e ListAppPublicAPIKeys401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys401JSONResponseBodyType enum.
type ListAppPublicAPIKeys403JSONResponseBodyObject ¶
type ListAppPublicAPIKeys403JSONResponseBodyObject string
ListAppPublicAPIKeys403JSONResponseBodyObject defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys403JSONResponseBodyObjectError ListAppPublicAPIKeys403JSONResponseBodyObject = "error"
)
Defines values for ListAppPublicAPIKeys403JSONResponseBodyObject.
func (ListAppPublicAPIKeys403JSONResponseBodyObject) Valid ¶
func (e ListAppPublicAPIKeys403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys403JSONResponseBodyObject enum.
type ListAppPublicAPIKeys403JSONResponseBodyType ¶
type ListAppPublicAPIKeys403JSONResponseBodyType string
ListAppPublicAPIKeys403JSONResponseBodyType defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys403JSONResponseBodyTypeAuthorizationError ListAppPublicAPIKeys403JSONResponseBodyType = "authorization_error"
)
Defines values for ListAppPublicAPIKeys403JSONResponseBodyType.
func (ListAppPublicAPIKeys403JSONResponseBodyType) Valid ¶
func (e ListAppPublicAPIKeys403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys403JSONResponseBodyType enum.
type ListAppPublicAPIKeys404JSONResponseBodyObject ¶
type ListAppPublicAPIKeys404JSONResponseBodyObject string
ListAppPublicAPIKeys404JSONResponseBodyObject defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys404JSONResponseBodyObjectError ListAppPublicAPIKeys404JSONResponseBodyObject = "error"
)
Defines values for ListAppPublicAPIKeys404JSONResponseBodyObject.
func (ListAppPublicAPIKeys404JSONResponseBodyObject) Valid ¶
func (e ListAppPublicAPIKeys404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys404JSONResponseBodyObject enum.
type ListAppPublicAPIKeys404JSONResponseBodyType ¶
type ListAppPublicAPIKeys404JSONResponseBodyType string
ListAppPublicAPIKeys404JSONResponseBodyType defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys404JSONResponseBodyTypeResourceMissing ListAppPublicAPIKeys404JSONResponseBodyType = "resource_missing"
)
Defines values for ListAppPublicAPIKeys404JSONResponseBodyType.
func (ListAppPublicAPIKeys404JSONResponseBodyType) Valid ¶
func (e ListAppPublicAPIKeys404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys404JSONResponseBodyType enum.
type ListAppPublicAPIKeys423JSONResponseBodyObject ¶
type ListAppPublicAPIKeys423JSONResponseBodyObject string
ListAppPublicAPIKeys423JSONResponseBodyObject defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys423JSONResponseBodyObjectError ListAppPublicAPIKeys423JSONResponseBodyObject = "error"
)
Defines values for ListAppPublicAPIKeys423JSONResponseBodyObject.
func (ListAppPublicAPIKeys423JSONResponseBodyObject) Valid ¶
func (e ListAppPublicAPIKeys423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys423JSONResponseBodyObject enum.
type ListAppPublicAPIKeys423JSONResponseBodyType ¶
type ListAppPublicAPIKeys423JSONResponseBodyType string
ListAppPublicAPIKeys423JSONResponseBodyType defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys423JSONResponseBodyTypeResourceLockedError ListAppPublicAPIKeys423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListAppPublicAPIKeys423JSONResponseBodyType.
func (ListAppPublicAPIKeys423JSONResponseBodyType) Valid ¶
func (e ListAppPublicAPIKeys423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys423JSONResponseBodyType enum.
type ListAppPublicAPIKeys429JSONResponseBodyObject ¶
type ListAppPublicAPIKeys429JSONResponseBodyObject string
ListAppPublicAPIKeys429JSONResponseBodyObject defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys429JSONResponseBodyObjectError ListAppPublicAPIKeys429JSONResponseBodyObject = "error"
)
Defines values for ListAppPublicAPIKeys429JSONResponseBodyObject.
func (ListAppPublicAPIKeys429JSONResponseBodyObject) Valid ¶
func (e ListAppPublicAPIKeys429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys429JSONResponseBodyObject enum.
type ListAppPublicAPIKeys429JSONResponseBodyType ¶
type ListAppPublicAPIKeys429JSONResponseBodyType string
ListAppPublicAPIKeys429JSONResponseBodyType defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys429JSONResponseBodyTypeRateLimitError ListAppPublicAPIKeys429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListAppPublicAPIKeys429JSONResponseBodyType.
func (ListAppPublicAPIKeys429JSONResponseBodyType) Valid ¶
func (e ListAppPublicAPIKeys429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys429JSONResponseBodyType enum.
type ListAppPublicAPIKeys500JSONResponseBodyObject ¶
type ListAppPublicAPIKeys500JSONResponseBodyObject string
ListAppPublicAPIKeys500JSONResponseBodyObject defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys500JSONResponseBodyObjectError ListAppPublicAPIKeys500JSONResponseBodyObject = "error"
)
Defines values for ListAppPublicAPIKeys500JSONResponseBodyObject.
func (ListAppPublicAPIKeys500JSONResponseBodyObject) Valid ¶
func (e ListAppPublicAPIKeys500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys500JSONResponseBodyObject enum.
type ListAppPublicAPIKeys500JSONResponseBodyType ¶
type ListAppPublicAPIKeys500JSONResponseBodyType string
ListAppPublicAPIKeys500JSONResponseBodyType defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys500JSONResponseBodyTypeServerError ListAppPublicAPIKeys500JSONResponseBodyType = "server_error"
)
Defines values for ListAppPublicAPIKeys500JSONResponseBodyType.
func (ListAppPublicAPIKeys500JSONResponseBodyType) Valid ¶
func (e ListAppPublicAPIKeys500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys500JSONResponseBodyType enum.
type ListAppPublicAPIKeys503JSONResponseBodyObject ¶
type ListAppPublicAPIKeys503JSONResponseBodyObject string
ListAppPublicAPIKeys503JSONResponseBodyObject defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys503JSONResponseBodyObjectError ListAppPublicAPIKeys503JSONResponseBodyObject = "error"
)
Defines values for ListAppPublicAPIKeys503JSONResponseBodyObject.
func (ListAppPublicAPIKeys503JSONResponseBodyObject) Valid ¶
func (e ListAppPublicAPIKeys503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys503JSONResponseBodyObject enum.
type ListAppPublicAPIKeys503JSONResponseBodyType ¶
type ListAppPublicAPIKeys503JSONResponseBodyType string
ListAppPublicAPIKeys503JSONResponseBodyType defines parameters for ListAppPublicAPIKeys.
const (
ListAppPublicAPIKeys503JSONResponseBodyTypeServerError ListAppPublicAPIKeys503JSONResponseBodyType = "server_error"
)
Defines values for ListAppPublicAPIKeys503JSONResponseBodyType.
func (ListAppPublicAPIKeys503JSONResponseBodyType) Valid ¶
func (e ListAppPublicAPIKeys503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAppPublicAPIKeys503JSONResponseBodyType enum.
type ListApps ¶
type ListApps struct {
// Items Details about each object.
Items []App `json:"items"`
// NextPage URL to access the next page of the project's apps. If not present / null, there is no next page
//
// Example: /v2/projects/projec1a2b3c4d/apps?starting_after=app1a2b3c4d
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListAppsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/projec1a2b3c4d/apps
URL string `json:"url"`
}
ListApps defines model for ListApps.
type ListApps400JSONResponseBodyObject ¶
type ListApps400JSONResponseBodyObject string
ListApps400JSONResponseBodyObject defines parameters for ListApps.
const (
ListApps400JSONResponseBodyObjectError ListApps400JSONResponseBodyObject = "error"
)
Defines values for ListApps400JSONResponseBodyObject.
func (ListApps400JSONResponseBodyObject) Valid ¶
func (e ListApps400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListApps400JSONResponseBodyObject enum.
type ListApps400JSONResponseBodyType ¶
type ListApps400JSONResponseBodyType string
ListApps400JSONResponseBodyType defines parameters for ListApps.
const ( ListApps400JSONResponseBodyTypeInvalidRequest ListApps400JSONResponseBodyType = "invalid_request" ListApps400JSONResponseBodyTypeParameterError ListApps400JSONResponseBodyType = "parameter_error" )
Defines values for ListApps400JSONResponseBodyType.
func (ListApps400JSONResponseBodyType) Valid ¶
func (e ListApps400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListApps400JSONResponseBodyType enum.
type ListApps401JSONResponseBodyObject ¶
type ListApps401JSONResponseBodyObject string
ListApps401JSONResponseBodyObject defines parameters for ListApps.
const (
ListApps401JSONResponseBodyObjectError ListApps401JSONResponseBodyObject = "error"
)
Defines values for ListApps401JSONResponseBodyObject.
func (ListApps401JSONResponseBodyObject) Valid ¶
func (e ListApps401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListApps401JSONResponseBodyObject enum.
type ListApps401JSONResponseBodyType ¶
type ListApps401JSONResponseBodyType string
ListApps401JSONResponseBodyType defines parameters for ListApps.
const (
ListApps401JSONResponseBodyTypeAuthenticationError ListApps401JSONResponseBodyType = "authentication_error"
)
Defines values for ListApps401JSONResponseBodyType.
func (ListApps401JSONResponseBodyType) Valid ¶
func (e ListApps401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListApps401JSONResponseBodyType enum.
type ListApps403JSONResponseBodyObject ¶
type ListApps403JSONResponseBodyObject string
ListApps403JSONResponseBodyObject defines parameters for ListApps.
const (
ListApps403JSONResponseBodyObjectError ListApps403JSONResponseBodyObject = "error"
)
Defines values for ListApps403JSONResponseBodyObject.
func (ListApps403JSONResponseBodyObject) Valid ¶
func (e ListApps403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListApps403JSONResponseBodyObject enum.
type ListApps403JSONResponseBodyType ¶
type ListApps403JSONResponseBodyType string
ListApps403JSONResponseBodyType defines parameters for ListApps.
const (
ListApps403JSONResponseBodyTypeAuthorizationError ListApps403JSONResponseBodyType = "authorization_error"
)
Defines values for ListApps403JSONResponseBodyType.
func (ListApps403JSONResponseBodyType) Valid ¶
func (e ListApps403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListApps403JSONResponseBodyType enum.
type ListApps404JSONResponseBodyObject ¶
type ListApps404JSONResponseBodyObject string
ListApps404JSONResponseBodyObject defines parameters for ListApps.
const (
ListApps404JSONResponseBodyObjectError ListApps404JSONResponseBodyObject = "error"
)
Defines values for ListApps404JSONResponseBodyObject.
func (ListApps404JSONResponseBodyObject) Valid ¶
func (e ListApps404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListApps404JSONResponseBodyObject enum.
type ListApps404JSONResponseBodyType ¶
type ListApps404JSONResponseBodyType string
ListApps404JSONResponseBodyType defines parameters for ListApps.
const (
ListApps404JSONResponseBodyTypeResourceMissing ListApps404JSONResponseBodyType = "resource_missing"
)
Defines values for ListApps404JSONResponseBodyType.
func (ListApps404JSONResponseBodyType) Valid ¶
func (e ListApps404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListApps404JSONResponseBodyType enum.
type ListApps423JSONResponseBodyObject ¶
type ListApps423JSONResponseBodyObject string
ListApps423JSONResponseBodyObject defines parameters for ListApps.
const (
ListApps423JSONResponseBodyObjectError ListApps423JSONResponseBodyObject = "error"
)
Defines values for ListApps423JSONResponseBodyObject.
func (ListApps423JSONResponseBodyObject) Valid ¶
func (e ListApps423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListApps423JSONResponseBodyObject enum.
type ListApps423JSONResponseBodyType ¶
type ListApps423JSONResponseBodyType string
ListApps423JSONResponseBodyType defines parameters for ListApps.
const (
ListApps423JSONResponseBodyTypeResourceLockedError ListApps423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListApps423JSONResponseBodyType.
func (ListApps423JSONResponseBodyType) Valid ¶
func (e ListApps423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListApps423JSONResponseBodyType enum.
type ListApps429JSONResponseBodyObject ¶
type ListApps429JSONResponseBodyObject string
ListApps429JSONResponseBodyObject defines parameters for ListApps.
const (
ListApps429JSONResponseBodyObjectError ListApps429JSONResponseBodyObject = "error"
)
Defines values for ListApps429JSONResponseBodyObject.
func (ListApps429JSONResponseBodyObject) Valid ¶
func (e ListApps429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListApps429JSONResponseBodyObject enum.
type ListApps429JSONResponseBodyType ¶
type ListApps429JSONResponseBodyType string
ListApps429JSONResponseBodyType defines parameters for ListApps.
const (
ListApps429JSONResponseBodyTypeRateLimitError ListApps429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListApps429JSONResponseBodyType.
func (ListApps429JSONResponseBodyType) Valid ¶
func (e ListApps429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListApps429JSONResponseBodyType enum.
type ListApps500JSONResponseBodyObject ¶
type ListApps500JSONResponseBodyObject string
ListApps500JSONResponseBodyObject defines parameters for ListApps.
const (
ListApps500JSONResponseBodyObjectError ListApps500JSONResponseBodyObject = "error"
)
Defines values for ListApps500JSONResponseBodyObject.
func (ListApps500JSONResponseBodyObject) Valid ¶
func (e ListApps500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListApps500JSONResponseBodyObject enum.
type ListApps500JSONResponseBodyType ¶
type ListApps500JSONResponseBodyType string
ListApps500JSONResponseBodyType defines parameters for ListApps.
const (
ListApps500JSONResponseBodyTypeServerError ListApps500JSONResponseBodyType = "server_error"
)
Defines values for ListApps500JSONResponseBodyType.
func (ListApps500JSONResponseBodyType) Valid ¶
func (e ListApps500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListApps500JSONResponseBodyType enum.
type ListApps503JSONResponseBodyObject ¶
type ListApps503JSONResponseBodyObject string
ListApps503JSONResponseBodyObject defines parameters for ListApps.
const (
ListApps503JSONResponseBodyObjectError ListApps503JSONResponseBodyObject = "error"
)
Defines values for ListApps503JSONResponseBodyObject.
func (ListApps503JSONResponseBodyObject) Valid ¶
func (e ListApps503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListApps503JSONResponseBodyObject enum.
type ListApps503JSONResponseBodyType ¶
type ListApps503JSONResponseBodyType string
ListApps503JSONResponseBodyType defines parameters for ListApps.
const (
ListApps503JSONResponseBodyTypeServerError ListApps503JSONResponseBodyType = "server_error"
)
Defines values for ListApps503JSONResponseBodyType.
func (ListApps503JSONResponseBodyType) Valid ¶
func (e ListApps503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListApps503JSONResponseBodyType enum.
type ListAppsObject ¶
type ListAppsObject string
ListAppsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListAppsObjectList ListAppsObject = "list"
)
Defines values for ListAppsObject.
func (ListAppsObject) Valid ¶
func (e ListAppsObject) Valid() bool
Valid indicates whether the value is a known member of the ListAppsObject enum.
type ListAppsParams ¶
type ListAppsParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAppsParams defines parameters for ListApps.
type ListAuditLogs ¶
type ListAuditLogs struct {
// Items Details about each audit log.
Items []AuditLog `json:"items"`
// NextPage URL to access the next page of the project's audit logs. If not present / null, there is no next page.
//
// Example: /v2/projects/proj1ab2c3d4/audit_logs?starting_after=log1ab2c3d4e5
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListAuditLogsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/audit_logs
URL string `json:"url"`
}
ListAuditLogs defines model for ListAuditLogs.
type ListAuditLogs400JSONResponseBodyObject ¶
type ListAuditLogs400JSONResponseBodyObject string
ListAuditLogs400JSONResponseBodyObject defines parameters for ListAuditLogs.
const (
ListAuditLogs400JSONResponseBodyObjectError ListAuditLogs400JSONResponseBodyObject = "error"
)
Defines values for ListAuditLogs400JSONResponseBodyObject.
func (ListAuditLogs400JSONResponseBodyObject) Valid ¶
func (e ListAuditLogs400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs400JSONResponseBodyObject enum.
type ListAuditLogs400JSONResponseBodyType ¶
type ListAuditLogs400JSONResponseBodyType string
ListAuditLogs400JSONResponseBodyType defines parameters for ListAuditLogs.
const ( ListAuditLogs400JSONResponseBodyTypeInvalidRequest ListAuditLogs400JSONResponseBodyType = "invalid_request" ListAuditLogs400JSONResponseBodyTypeParameterError ListAuditLogs400JSONResponseBodyType = "parameter_error" )
Defines values for ListAuditLogs400JSONResponseBodyType.
func (ListAuditLogs400JSONResponseBodyType) Valid ¶
func (e ListAuditLogs400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs400JSONResponseBodyType enum.
type ListAuditLogs401JSONResponseBodyObject ¶
type ListAuditLogs401JSONResponseBodyObject string
ListAuditLogs401JSONResponseBodyObject defines parameters for ListAuditLogs.
const (
ListAuditLogs401JSONResponseBodyObjectError ListAuditLogs401JSONResponseBodyObject = "error"
)
Defines values for ListAuditLogs401JSONResponseBodyObject.
func (ListAuditLogs401JSONResponseBodyObject) Valid ¶
func (e ListAuditLogs401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs401JSONResponseBodyObject enum.
type ListAuditLogs401JSONResponseBodyType ¶
type ListAuditLogs401JSONResponseBodyType string
ListAuditLogs401JSONResponseBodyType defines parameters for ListAuditLogs.
const (
ListAuditLogs401JSONResponseBodyTypeAuthenticationError ListAuditLogs401JSONResponseBodyType = "authentication_error"
)
Defines values for ListAuditLogs401JSONResponseBodyType.
func (ListAuditLogs401JSONResponseBodyType) Valid ¶
func (e ListAuditLogs401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs401JSONResponseBodyType enum.
type ListAuditLogs403JSONResponseBodyObject ¶
type ListAuditLogs403JSONResponseBodyObject string
ListAuditLogs403JSONResponseBodyObject defines parameters for ListAuditLogs.
const (
ListAuditLogs403JSONResponseBodyObjectError ListAuditLogs403JSONResponseBodyObject = "error"
)
Defines values for ListAuditLogs403JSONResponseBodyObject.
func (ListAuditLogs403JSONResponseBodyObject) Valid ¶
func (e ListAuditLogs403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs403JSONResponseBodyObject enum.
type ListAuditLogs403JSONResponseBodyType ¶
type ListAuditLogs403JSONResponseBodyType string
ListAuditLogs403JSONResponseBodyType defines parameters for ListAuditLogs.
const (
ListAuditLogs403JSONResponseBodyTypeAuthorizationError ListAuditLogs403JSONResponseBodyType = "authorization_error"
)
Defines values for ListAuditLogs403JSONResponseBodyType.
func (ListAuditLogs403JSONResponseBodyType) Valid ¶
func (e ListAuditLogs403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs403JSONResponseBodyType enum.
type ListAuditLogs404JSONResponseBodyObject ¶
type ListAuditLogs404JSONResponseBodyObject string
ListAuditLogs404JSONResponseBodyObject defines parameters for ListAuditLogs.
const (
ListAuditLogs404JSONResponseBodyObjectError ListAuditLogs404JSONResponseBodyObject = "error"
)
Defines values for ListAuditLogs404JSONResponseBodyObject.
func (ListAuditLogs404JSONResponseBodyObject) Valid ¶
func (e ListAuditLogs404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs404JSONResponseBodyObject enum.
type ListAuditLogs404JSONResponseBodyType ¶
type ListAuditLogs404JSONResponseBodyType string
ListAuditLogs404JSONResponseBodyType defines parameters for ListAuditLogs.
const (
ListAuditLogs404JSONResponseBodyTypeResourceMissing ListAuditLogs404JSONResponseBodyType = "resource_missing"
)
Defines values for ListAuditLogs404JSONResponseBodyType.
func (ListAuditLogs404JSONResponseBodyType) Valid ¶
func (e ListAuditLogs404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs404JSONResponseBodyType enum.
type ListAuditLogs423JSONResponseBodyObject ¶
type ListAuditLogs423JSONResponseBodyObject string
ListAuditLogs423JSONResponseBodyObject defines parameters for ListAuditLogs.
const (
ListAuditLogs423JSONResponseBodyObjectError ListAuditLogs423JSONResponseBodyObject = "error"
)
Defines values for ListAuditLogs423JSONResponseBodyObject.
func (ListAuditLogs423JSONResponseBodyObject) Valid ¶
func (e ListAuditLogs423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs423JSONResponseBodyObject enum.
type ListAuditLogs423JSONResponseBodyType ¶
type ListAuditLogs423JSONResponseBodyType string
ListAuditLogs423JSONResponseBodyType defines parameters for ListAuditLogs.
const (
ListAuditLogs423JSONResponseBodyTypeResourceLockedError ListAuditLogs423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListAuditLogs423JSONResponseBodyType.
func (ListAuditLogs423JSONResponseBodyType) Valid ¶
func (e ListAuditLogs423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs423JSONResponseBodyType enum.
type ListAuditLogs429JSONResponseBodyObject ¶
type ListAuditLogs429JSONResponseBodyObject string
ListAuditLogs429JSONResponseBodyObject defines parameters for ListAuditLogs.
const (
ListAuditLogs429JSONResponseBodyObjectError ListAuditLogs429JSONResponseBodyObject = "error"
)
Defines values for ListAuditLogs429JSONResponseBodyObject.
func (ListAuditLogs429JSONResponseBodyObject) Valid ¶
func (e ListAuditLogs429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs429JSONResponseBodyObject enum.
type ListAuditLogs429JSONResponseBodyType ¶
type ListAuditLogs429JSONResponseBodyType string
ListAuditLogs429JSONResponseBodyType defines parameters for ListAuditLogs.
const (
ListAuditLogs429JSONResponseBodyTypeRateLimitError ListAuditLogs429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListAuditLogs429JSONResponseBodyType.
func (ListAuditLogs429JSONResponseBodyType) Valid ¶
func (e ListAuditLogs429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs429JSONResponseBodyType enum.
type ListAuditLogs500JSONResponseBodyObject ¶
type ListAuditLogs500JSONResponseBodyObject string
ListAuditLogs500JSONResponseBodyObject defines parameters for ListAuditLogs.
const (
ListAuditLogs500JSONResponseBodyObjectError ListAuditLogs500JSONResponseBodyObject = "error"
)
Defines values for ListAuditLogs500JSONResponseBodyObject.
func (ListAuditLogs500JSONResponseBodyObject) Valid ¶
func (e ListAuditLogs500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs500JSONResponseBodyObject enum.
type ListAuditLogs500JSONResponseBodyType ¶
type ListAuditLogs500JSONResponseBodyType string
ListAuditLogs500JSONResponseBodyType defines parameters for ListAuditLogs.
const (
ListAuditLogs500JSONResponseBodyTypeServerError ListAuditLogs500JSONResponseBodyType = "server_error"
)
Defines values for ListAuditLogs500JSONResponseBodyType.
func (ListAuditLogs500JSONResponseBodyType) Valid ¶
func (e ListAuditLogs500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs500JSONResponseBodyType enum.
type ListAuditLogs503JSONResponseBodyObject ¶
type ListAuditLogs503JSONResponseBodyObject string
ListAuditLogs503JSONResponseBodyObject defines parameters for ListAuditLogs.
const (
ListAuditLogs503JSONResponseBodyObjectError ListAuditLogs503JSONResponseBodyObject = "error"
)
Defines values for ListAuditLogs503JSONResponseBodyObject.
func (ListAuditLogs503JSONResponseBodyObject) Valid ¶
func (e ListAuditLogs503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs503JSONResponseBodyObject enum.
type ListAuditLogs503JSONResponseBodyType ¶
type ListAuditLogs503JSONResponseBodyType string
ListAuditLogs503JSONResponseBodyType defines parameters for ListAuditLogs.
const (
ListAuditLogs503JSONResponseBodyTypeServerError ListAuditLogs503JSONResponseBodyType = "server_error"
)
Defines values for ListAuditLogs503JSONResponseBodyType.
func (ListAuditLogs503JSONResponseBodyType) Valid ¶
func (e ListAuditLogs503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogs503JSONResponseBodyType enum.
type ListAuditLogsObject ¶
type ListAuditLogsObject string
ListAuditLogsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListAuditLogsObjectList ListAuditLogsObject = "list"
)
Defines values for ListAuditLogsObject.
func (ListAuditLogsObject) Valid ¶
func (e ListAuditLogsObject) Valid() bool
Valid indicates whether the value is a known member of the ListAuditLogsObject enum.
type ListAuditLogsParams ¶
type ListAuditLogsParams struct {
// StartingAfter Cursor for pagination. Returns audit logs after the specified audit log ID, using descending order by audit log ID.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// StartDate Start date for the data range (ISO 8601 format)
StartDate *openapi_types.Date `form:"start_date,omitempty" json:"start_date,omitempty"`
// EndDate End date for the data range (ISO 8601 format)
EndDate *openapi_types.Date `form:"end_date,omitempty" json:"end_date,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAuditLogsParams defines parameters for ListAuditLogs.
type ListAuditOptions ¶
type ListCollaborators ¶
type ListCollaborators struct {
// Items Details about each object.
Items []Collaborator `json:"items"`
// NextPage URL to access the next page of the project's collaborators. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/collaborators?starting_after=collab1a2b3c4d5
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListCollaboratorsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/collaborators
URL string `json:"url"`
}
ListCollaborators defines model for ListCollaborators.
type ListCollaborators400JSONResponseBodyObject ¶
type ListCollaborators400JSONResponseBodyObject string
ListCollaborators400JSONResponseBodyObject defines parameters for ListCollaborators.
const (
ListCollaborators400JSONResponseBodyObjectError ListCollaborators400JSONResponseBodyObject = "error"
)
Defines values for ListCollaborators400JSONResponseBodyObject.
func (ListCollaborators400JSONResponseBodyObject) Valid ¶
func (e ListCollaborators400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators400JSONResponseBodyObject enum.
type ListCollaborators400JSONResponseBodyType ¶
type ListCollaborators400JSONResponseBodyType string
ListCollaborators400JSONResponseBodyType defines parameters for ListCollaborators.
const ( ListCollaborators400JSONResponseBodyTypeInvalidRequest ListCollaborators400JSONResponseBodyType = "invalid_request" ListCollaborators400JSONResponseBodyTypeParameterError ListCollaborators400JSONResponseBodyType = "parameter_error" )
Defines values for ListCollaborators400JSONResponseBodyType.
func (ListCollaborators400JSONResponseBodyType) Valid ¶
func (e ListCollaborators400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators400JSONResponseBodyType enum.
type ListCollaborators401JSONResponseBodyObject ¶
type ListCollaborators401JSONResponseBodyObject string
ListCollaborators401JSONResponseBodyObject defines parameters for ListCollaborators.
const (
ListCollaborators401JSONResponseBodyObjectError ListCollaborators401JSONResponseBodyObject = "error"
)
Defines values for ListCollaborators401JSONResponseBodyObject.
func (ListCollaborators401JSONResponseBodyObject) Valid ¶
func (e ListCollaborators401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators401JSONResponseBodyObject enum.
type ListCollaborators401JSONResponseBodyType ¶
type ListCollaborators401JSONResponseBodyType string
ListCollaborators401JSONResponseBodyType defines parameters for ListCollaborators.
const (
ListCollaborators401JSONResponseBodyTypeAuthenticationError ListCollaborators401JSONResponseBodyType = "authentication_error"
)
Defines values for ListCollaborators401JSONResponseBodyType.
func (ListCollaborators401JSONResponseBodyType) Valid ¶
func (e ListCollaborators401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators401JSONResponseBodyType enum.
type ListCollaborators403JSONResponseBodyObject ¶
type ListCollaborators403JSONResponseBodyObject string
ListCollaborators403JSONResponseBodyObject defines parameters for ListCollaborators.
const (
ListCollaborators403JSONResponseBodyObjectError ListCollaborators403JSONResponseBodyObject = "error"
)
Defines values for ListCollaborators403JSONResponseBodyObject.
func (ListCollaborators403JSONResponseBodyObject) Valid ¶
func (e ListCollaborators403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators403JSONResponseBodyObject enum.
type ListCollaborators403JSONResponseBodyType ¶
type ListCollaborators403JSONResponseBodyType string
ListCollaborators403JSONResponseBodyType defines parameters for ListCollaborators.
const (
ListCollaborators403JSONResponseBodyTypeAuthorizationError ListCollaborators403JSONResponseBodyType = "authorization_error"
)
Defines values for ListCollaborators403JSONResponseBodyType.
func (ListCollaborators403JSONResponseBodyType) Valid ¶
func (e ListCollaborators403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators403JSONResponseBodyType enum.
type ListCollaborators404JSONResponseBodyObject ¶
type ListCollaborators404JSONResponseBodyObject string
ListCollaborators404JSONResponseBodyObject defines parameters for ListCollaborators.
const (
ListCollaborators404JSONResponseBodyObjectError ListCollaborators404JSONResponseBodyObject = "error"
)
Defines values for ListCollaborators404JSONResponseBodyObject.
func (ListCollaborators404JSONResponseBodyObject) Valid ¶
func (e ListCollaborators404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators404JSONResponseBodyObject enum.
type ListCollaborators404JSONResponseBodyType ¶
type ListCollaborators404JSONResponseBodyType string
ListCollaborators404JSONResponseBodyType defines parameters for ListCollaborators.
const (
ListCollaborators404JSONResponseBodyTypeResourceMissing ListCollaborators404JSONResponseBodyType = "resource_missing"
)
Defines values for ListCollaborators404JSONResponseBodyType.
func (ListCollaborators404JSONResponseBodyType) Valid ¶
func (e ListCollaborators404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators404JSONResponseBodyType enum.
type ListCollaborators423JSONResponseBodyObject ¶
type ListCollaborators423JSONResponseBodyObject string
ListCollaborators423JSONResponseBodyObject defines parameters for ListCollaborators.
const (
ListCollaborators423JSONResponseBodyObjectError ListCollaborators423JSONResponseBodyObject = "error"
)
Defines values for ListCollaborators423JSONResponseBodyObject.
func (ListCollaborators423JSONResponseBodyObject) Valid ¶
func (e ListCollaborators423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators423JSONResponseBodyObject enum.
type ListCollaborators423JSONResponseBodyType ¶
type ListCollaborators423JSONResponseBodyType string
ListCollaborators423JSONResponseBodyType defines parameters for ListCollaborators.
const (
ListCollaborators423JSONResponseBodyTypeResourceLockedError ListCollaborators423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListCollaborators423JSONResponseBodyType.
func (ListCollaborators423JSONResponseBodyType) Valid ¶
func (e ListCollaborators423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators423JSONResponseBodyType enum.
type ListCollaborators429JSONResponseBodyObject ¶
type ListCollaborators429JSONResponseBodyObject string
ListCollaborators429JSONResponseBodyObject defines parameters for ListCollaborators.
const (
ListCollaborators429JSONResponseBodyObjectError ListCollaborators429JSONResponseBodyObject = "error"
)
Defines values for ListCollaborators429JSONResponseBodyObject.
func (ListCollaborators429JSONResponseBodyObject) Valid ¶
func (e ListCollaborators429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators429JSONResponseBodyObject enum.
type ListCollaborators429JSONResponseBodyType ¶
type ListCollaborators429JSONResponseBodyType string
ListCollaborators429JSONResponseBodyType defines parameters for ListCollaborators.
const (
ListCollaborators429JSONResponseBodyTypeRateLimitError ListCollaborators429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListCollaborators429JSONResponseBodyType.
func (ListCollaborators429JSONResponseBodyType) Valid ¶
func (e ListCollaborators429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators429JSONResponseBodyType enum.
type ListCollaborators500JSONResponseBodyObject ¶
type ListCollaborators500JSONResponseBodyObject string
ListCollaborators500JSONResponseBodyObject defines parameters for ListCollaborators.
const (
ListCollaborators500JSONResponseBodyObjectError ListCollaborators500JSONResponseBodyObject = "error"
)
Defines values for ListCollaborators500JSONResponseBodyObject.
func (ListCollaborators500JSONResponseBodyObject) Valid ¶
func (e ListCollaborators500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators500JSONResponseBodyObject enum.
type ListCollaborators500JSONResponseBodyType ¶
type ListCollaborators500JSONResponseBodyType string
ListCollaborators500JSONResponseBodyType defines parameters for ListCollaborators.
const (
ListCollaborators500JSONResponseBodyTypeServerError ListCollaborators500JSONResponseBodyType = "server_error"
)
Defines values for ListCollaborators500JSONResponseBodyType.
func (ListCollaborators500JSONResponseBodyType) Valid ¶
func (e ListCollaborators500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators500JSONResponseBodyType enum.
type ListCollaborators503JSONResponseBodyObject ¶
type ListCollaborators503JSONResponseBodyObject string
ListCollaborators503JSONResponseBodyObject defines parameters for ListCollaborators.
const (
ListCollaborators503JSONResponseBodyObjectError ListCollaborators503JSONResponseBodyObject = "error"
)
Defines values for ListCollaborators503JSONResponseBodyObject.
func (ListCollaborators503JSONResponseBodyObject) Valid ¶
func (e ListCollaborators503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators503JSONResponseBodyObject enum.
type ListCollaborators503JSONResponseBodyType ¶
type ListCollaborators503JSONResponseBodyType string
ListCollaborators503JSONResponseBodyType defines parameters for ListCollaborators.
const (
ListCollaborators503JSONResponseBodyTypeServerError ListCollaborators503JSONResponseBodyType = "server_error"
)
Defines values for ListCollaborators503JSONResponseBodyType.
func (ListCollaborators503JSONResponseBodyType) Valid ¶
func (e ListCollaborators503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCollaborators503JSONResponseBodyType enum.
type ListCollaboratorsObject ¶
type ListCollaboratorsObject string
ListCollaboratorsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListCollaboratorsObjectList ListCollaboratorsObject = "list"
)
Defines values for ListCollaboratorsObject.
func (ListCollaboratorsObject) Valid ¶
func (e ListCollaboratorsObject) Valid() bool
Valid indicates whether the value is a known member of the ListCollaboratorsObject enum.
type ListCollaboratorsParams ¶
type ListCollaboratorsParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListCollaboratorsParams defines parameters for ListCollaborators.
type ListCustomerActiveEntitlements ¶
type ListCustomerActiveEntitlements struct {
// Items Details about each object.
Items []CustomerEntitlement `json:"items"`
// NextPage URL to access the next page of the customer's active entitlements. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements?starting_after=entlab21dac
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListCustomerActiveEntitlementsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements
URL string `json:"url"`
}
ListCustomerActiveEntitlements List of the entitlements currently active for the customer. This property is only available in the "Get a customer" endpoint.
type ListCustomerActiveEntitlements400JSONResponseBodyObject ¶
type ListCustomerActiveEntitlements400JSONResponseBodyObject string
ListCustomerActiveEntitlements400JSONResponseBodyObject defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements400JSONResponseBodyObjectError ListCustomerActiveEntitlements400JSONResponseBodyObject = "error"
)
Defines values for ListCustomerActiveEntitlements400JSONResponseBodyObject.
func (ListCustomerActiveEntitlements400JSONResponseBodyObject) Valid ¶
func (e ListCustomerActiveEntitlements400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements400JSONResponseBodyObject enum.
type ListCustomerActiveEntitlements400JSONResponseBodyType ¶
type ListCustomerActiveEntitlements400JSONResponseBodyType string
ListCustomerActiveEntitlements400JSONResponseBodyType defines parameters for ListCustomerActiveEntitlements.
const ( ListCustomerActiveEntitlements400JSONResponseBodyTypeInvalidRequest ListCustomerActiveEntitlements400JSONResponseBodyType = "invalid_request" ListCustomerActiveEntitlements400JSONResponseBodyTypeParameterError ListCustomerActiveEntitlements400JSONResponseBodyType = "parameter_error" )
Defines values for ListCustomerActiveEntitlements400JSONResponseBodyType.
func (ListCustomerActiveEntitlements400JSONResponseBodyType) Valid ¶
func (e ListCustomerActiveEntitlements400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements400JSONResponseBodyType enum.
type ListCustomerActiveEntitlements401JSONResponseBodyObject ¶
type ListCustomerActiveEntitlements401JSONResponseBodyObject string
ListCustomerActiveEntitlements401JSONResponseBodyObject defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements401JSONResponseBodyObjectError ListCustomerActiveEntitlements401JSONResponseBodyObject = "error"
)
Defines values for ListCustomerActiveEntitlements401JSONResponseBodyObject.
func (ListCustomerActiveEntitlements401JSONResponseBodyObject) Valid ¶
func (e ListCustomerActiveEntitlements401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements401JSONResponseBodyObject enum.
type ListCustomerActiveEntitlements401JSONResponseBodyType ¶
type ListCustomerActiveEntitlements401JSONResponseBodyType string
ListCustomerActiveEntitlements401JSONResponseBodyType defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements401JSONResponseBodyTypeAuthenticationError ListCustomerActiveEntitlements401JSONResponseBodyType = "authentication_error"
)
Defines values for ListCustomerActiveEntitlements401JSONResponseBodyType.
func (ListCustomerActiveEntitlements401JSONResponseBodyType) Valid ¶
func (e ListCustomerActiveEntitlements401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements401JSONResponseBodyType enum.
type ListCustomerActiveEntitlements403JSONResponseBodyObject ¶
type ListCustomerActiveEntitlements403JSONResponseBodyObject string
ListCustomerActiveEntitlements403JSONResponseBodyObject defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements403JSONResponseBodyObjectError ListCustomerActiveEntitlements403JSONResponseBodyObject = "error"
)
Defines values for ListCustomerActiveEntitlements403JSONResponseBodyObject.
func (ListCustomerActiveEntitlements403JSONResponseBodyObject) Valid ¶
func (e ListCustomerActiveEntitlements403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements403JSONResponseBodyObject enum.
type ListCustomerActiveEntitlements403JSONResponseBodyType ¶
type ListCustomerActiveEntitlements403JSONResponseBodyType string
ListCustomerActiveEntitlements403JSONResponseBodyType defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements403JSONResponseBodyTypeAuthorizationError ListCustomerActiveEntitlements403JSONResponseBodyType = "authorization_error"
)
Defines values for ListCustomerActiveEntitlements403JSONResponseBodyType.
func (ListCustomerActiveEntitlements403JSONResponseBodyType) Valid ¶
func (e ListCustomerActiveEntitlements403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements403JSONResponseBodyType enum.
type ListCustomerActiveEntitlements404JSONResponseBodyObject ¶
type ListCustomerActiveEntitlements404JSONResponseBodyObject string
ListCustomerActiveEntitlements404JSONResponseBodyObject defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements404JSONResponseBodyObjectError ListCustomerActiveEntitlements404JSONResponseBodyObject = "error"
)
Defines values for ListCustomerActiveEntitlements404JSONResponseBodyObject.
func (ListCustomerActiveEntitlements404JSONResponseBodyObject) Valid ¶
func (e ListCustomerActiveEntitlements404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements404JSONResponseBodyObject enum.
type ListCustomerActiveEntitlements404JSONResponseBodyType ¶
type ListCustomerActiveEntitlements404JSONResponseBodyType string
ListCustomerActiveEntitlements404JSONResponseBodyType defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements404JSONResponseBodyTypeResourceMissing ListCustomerActiveEntitlements404JSONResponseBodyType = "resource_missing"
)
Defines values for ListCustomerActiveEntitlements404JSONResponseBodyType.
func (ListCustomerActiveEntitlements404JSONResponseBodyType) Valid ¶
func (e ListCustomerActiveEntitlements404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements404JSONResponseBodyType enum.
type ListCustomerActiveEntitlements423JSONResponseBodyObject ¶
type ListCustomerActiveEntitlements423JSONResponseBodyObject string
ListCustomerActiveEntitlements423JSONResponseBodyObject defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements423JSONResponseBodyObjectError ListCustomerActiveEntitlements423JSONResponseBodyObject = "error"
)
Defines values for ListCustomerActiveEntitlements423JSONResponseBodyObject.
func (ListCustomerActiveEntitlements423JSONResponseBodyObject) Valid ¶
func (e ListCustomerActiveEntitlements423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements423JSONResponseBodyObject enum.
type ListCustomerActiveEntitlements423JSONResponseBodyType ¶
type ListCustomerActiveEntitlements423JSONResponseBodyType string
ListCustomerActiveEntitlements423JSONResponseBodyType defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements423JSONResponseBodyTypeResourceLockedError ListCustomerActiveEntitlements423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListCustomerActiveEntitlements423JSONResponseBodyType.
func (ListCustomerActiveEntitlements423JSONResponseBodyType) Valid ¶
func (e ListCustomerActiveEntitlements423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements423JSONResponseBodyType enum.
type ListCustomerActiveEntitlements429JSONResponseBodyObject ¶
type ListCustomerActiveEntitlements429JSONResponseBodyObject string
ListCustomerActiveEntitlements429JSONResponseBodyObject defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements429JSONResponseBodyObjectError ListCustomerActiveEntitlements429JSONResponseBodyObject = "error"
)
Defines values for ListCustomerActiveEntitlements429JSONResponseBodyObject.
func (ListCustomerActiveEntitlements429JSONResponseBodyObject) Valid ¶
func (e ListCustomerActiveEntitlements429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements429JSONResponseBodyObject enum.
type ListCustomerActiveEntitlements429JSONResponseBodyType ¶
type ListCustomerActiveEntitlements429JSONResponseBodyType string
ListCustomerActiveEntitlements429JSONResponseBodyType defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements429JSONResponseBodyTypeRateLimitError ListCustomerActiveEntitlements429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListCustomerActiveEntitlements429JSONResponseBodyType.
func (ListCustomerActiveEntitlements429JSONResponseBodyType) Valid ¶
func (e ListCustomerActiveEntitlements429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements429JSONResponseBodyType enum.
type ListCustomerActiveEntitlements500JSONResponseBodyObject ¶
type ListCustomerActiveEntitlements500JSONResponseBodyObject string
ListCustomerActiveEntitlements500JSONResponseBodyObject defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements500JSONResponseBodyObjectError ListCustomerActiveEntitlements500JSONResponseBodyObject = "error"
)
Defines values for ListCustomerActiveEntitlements500JSONResponseBodyObject.
func (ListCustomerActiveEntitlements500JSONResponseBodyObject) Valid ¶
func (e ListCustomerActiveEntitlements500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements500JSONResponseBodyObject enum.
type ListCustomerActiveEntitlements500JSONResponseBodyType ¶
type ListCustomerActiveEntitlements500JSONResponseBodyType string
ListCustomerActiveEntitlements500JSONResponseBodyType defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements500JSONResponseBodyTypeServerError ListCustomerActiveEntitlements500JSONResponseBodyType = "server_error"
)
Defines values for ListCustomerActiveEntitlements500JSONResponseBodyType.
func (ListCustomerActiveEntitlements500JSONResponseBodyType) Valid ¶
func (e ListCustomerActiveEntitlements500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements500JSONResponseBodyType enum.
type ListCustomerActiveEntitlements503JSONResponseBodyObject ¶
type ListCustomerActiveEntitlements503JSONResponseBodyObject string
ListCustomerActiveEntitlements503JSONResponseBodyObject defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements503JSONResponseBodyObjectError ListCustomerActiveEntitlements503JSONResponseBodyObject = "error"
)
Defines values for ListCustomerActiveEntitlements503JSONResponseBodyObject.
func (ListCustomerActiveEntitlements503JSONResponseBodyObject) Valid ¶
func (e ListCustomerActiveEntitlements503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements503JSONResponseBodyObject enum.
type ListCustomerActiveEntitlements503JSONResponseBodyType ¶
type ListCustomerActiveEntitlements503JSONResponseBodyType string
ListCustomerActiveEntitlements503JSONResponseBodyType defines parameters for ListCustomerActiveEntitlements.
const (
ListCustomerActiveEntitlements503JSONResponseBodyTypeServerError ListCustomerActiveEntitlements503JSONResponseBodyType = "server_error"
)
Defines values for ListCustomerActiveEntitlements503JSONResponseBodyType.
func (ListCustomerActiveEntitlements503JSONResponseBodyType) Valid ¶
func (e ListCustomerActiveEntitlements503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlements503JSONResponseBodyType enum.
type ListCustomerActiveEntitlementsObject ¶
type ListCustomerActiveEntitlementsObject string
ListCustomerActiveEntitlementsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListCustomerActiveEntitlementsObjectList ListCustomerActiveEntitlementsObject = "list"
)
Defines values for ListCustomerActiveEntitlementsObject.
func (ListCustomerActiveEntitlementsObject) Valid ¶
func (e ListCustomerActiveEntitlementsObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerActiveEntitlementsObject enum.
type ListCustomerActiveEntitlementsParams ¶
type ListCustomerActiveEntitlementsParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListCustomerActiveEntitlementsParams defines parameters for ListCustomerActiveEntitlements.
type ListCustomerAliases ¶
type ListCustomerAliases struct {
// Items Details about each object.
Items []CustomerAlias `json:"items"`
// NextPage URL to access the next page of the customer's aliases. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/aliases?starting_after=9fjeja8fjed
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListCustomerAliasesObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/aliases
URL string `json:"url"`
}
ListCustomerAliases defines model for ListCustomerAliases.
type ListCustomerAliases400JSONResponseBodyObject ¶
type ListCustomerAliases400JSONResponseBodyObject string
ListCustomerAliases400JSONResponseBodyObject defines parameters for ListCustomerAliases.
const (
ListCustomerAliases400JSONResponseBodyObjectError ListCustomerAliases400JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAliases400JSONResponseBodyObject.
func (ListCustomerAliases400JSONResponseBodyObject) Valid ¶
func (e ListCustomerAliases400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases400JSONResponseBodyObject enum.
type ListCustomerAliases400JSONResponseBodyType ¶
type ListCustomerAliases400JSONResponseBodyType string
ListCustomerAliases400JSONResponseBodyType defines parameters for ListCustomerAliases.
const ( ListCustomerAliases400JSONResponseBodyTypeInvalidRequest ListCustomerAliases400JSONResponseBodyType = "invalid_request" ListCustomerAliases400JSONResponseBodyTypeParameterError ListCustomerAliases400JSONResponseBodyType = "parameter_error" )
Defines values for ListCustomerAliases400JSONResponseBodyType.
func (ListCustomerAliases400JSONResponseBodyType) Valid ¶
func (e ListCustomerAliases400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases400JSONResponseBodyType enum.
type ListCustomerAliases401JSONResponseBodyObject ¶
type ListCustomerAliases401JSONResponseBodyObject string
ListCustomerAliases401JSONResponseBodyObject defines parameters for ListCustomerAliases.
const (
ListCustomerAliases401JSONResponseBodyObjectError ListCustomerAliases401JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAliases401JSONResponseBodyObject.
func (ListCustomerAliases401JSONResponseBodyObject) Valid ¶
func (e ListCustomerAliases401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases401JSONResponseBodyObject enum.
type ListCustomerAliases401JSONResponseBodyType ¶
type ListCustomerAliases401JSONResponseBodyType string
ListCustomerAliases401JSONResponseBodyType defines parameters for ListCustomerAliases.
const (
ListCustomerAliases401JSONResponseBodyTypeAuthenticationError ListCustomerAliases401JSONResponseBodyType = "authentication_error"
)
Defines values for ListCustomerAliases401JSONResponseBodyType.
func (ListCustomerAliases401JSONResponseBodyType) Valid ¶
func (e ListCustomerAliases401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases401JSONResponseBodyType enum.
type ListCustomerAliases403JSONResponseBodyObject ¶
type ListCustomerAliases403JSONResponseBodyObject string
ListCustomerAliases403JSONResponseBodyObject defines parameters for ListCustomerAliases.
const (
ListCustomerAliases403JSONResponseBodyObjectError ListCustomerAliases403JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAliases403JSONResponseBodyObject.
func (ListCustomerAliases403JSONResponseBodyObject) Valid ¶
func (e ListCustomerAliases403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases403JSONResponseBodyObject enum.
type ListCustomerAliases403JSONResponseBodyType ¶
type ListCustomerAliases403JSONResponseBodyType string
ListCustomerAliases403JSONResponseBodyType defines parameters for ListCustomerAliases.
const (
ListCustomerAliases403JSONResponseBodyTypeAuthorizationError ListCustomerAliases403JSONResponseBodyType = "authorization_error"
)
Defines values for ListCustomerAliases403JSONResponseBodyType.
func (ListCustomerAliases403JSONResponseBodyType) Valid ¶
func (e ListCustomerAliases403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases403JSONResponseBodyType enum.
type ListCustomerAliases404JSONResponseBodyObject ¶
type ListCustomerAliases404JSONResponseBodyObject string
ListCustomerAliases404JSONResponseBodyObject defines parameters for ListCustomerAliases.
const (
ListCustomerAliases404JSONResponseBodyObjectError ListCustomerAliases404JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAliases404JSONResponseBodyObject.
func (ListCustomerAliases404JSONResponseBodyObject) Valid ¶
func (e ListCustomerAliases404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases404JSONResponseBodyObject enum.
type ListCustomerAliases404JSONResponseBodyType ¶
type ListCustomerAliases404JSONResponseBodyType string
ListCustomerAliases404JSONResponseBodyType defines parameters for ListCustomerAliases.
const (
ListCustomerAliases404JSONResponseBodyTypeResourceMissing ListCustomerAliases404JSONResponseBodyType = "resource_missing"
)
Defines values for ListCustomerAliases404JSONResponseBodyType.
func (ListCustomerAliases404JSONResponseBodyType) Valid ¶
func (e ListCustomerAliases404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases404JSONResponseBodyType enum.
type ListCustomerAliases423JSONResponseBodyObject ¶
type ListCustomerAliases423JSONResponseBodyObject string
ListCustomerAliases423JSONResponseBodyObject defines parameters for ListCustomerAliases.
const (
ListCustomerAliases423JSONResponseBodyObjectError ListCustomerAliases423JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAliases423JSONResponseBodyObject.
func (ListCustomerAliases423JSONResponseBodyObject) Valid ¶
func (e ListCustomerAliases423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases423JSONResponseBodyObject enum.
type ListCustomerAliases423JSONResponseBodyType ¶
type ListCustomerAliases423JSONResponseBodyType string
ListCustomerAliases423JSONResponseBodyType defines parameters for ListCustomerAliases.
const (
ListCustomerAliases423JSONResponseBodyTypeResourceLockedError ListCustomerAliases423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListCustomerAliases423JSONResponseBodyType.
func (ListCustomerAliases423JSONResponseBodyType) Valid ¶
func (e ListCustomerAliases423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases423JSONResponseBodyType enum.
type ListCustomerAliases429JSONResponseBodyObject ¶
type ListCustomerAliases429JSONResponseBodyObject string
ListCustomerAliases429JSONResponseBodyObject defines parameters for ListCustomerAliases.
const (
ListCustomerAliases429JSONResponseBodyObjectError ListCustomerAliases429JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAliases429JSONResponseBodyObject.
func (ListCustomerAliases429JSONResponseBodyObject) Valid ¶
func (e ListCustomerAliases429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases429JSONResponseBodyObject enum.
type ListCustomerAliases429JSONResponseBodyType ¶
type ListCustomerAliases429JSONResponseBodyType string
ListCustomerAliases429JSONResponseBodyType defines parameters for ListCustomerAliases.
const (
ListCustomerAliases429JSONResponseBodyTypeRateLimitError ListCustomerAliases429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListCustomerAliases429JSONResponseBodyType.
func (ListCustomerAliases429JSONResponseBodyType) Valid ¶
func (e ListCustomerAliases429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases429JSONResponseBodyType enum.
type ListCustomerAliases500JSONResponseBodyObject ¶
type ListCustomerAliases500JSONResponseBodyObject string
ListCustomerAliases500JSONResponseBodyObject defines parameters for ListCustomerAliases.
const (
ListCustomerAliases500JSONResponseBodyObjectError ListCustomerAliases500JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAliases500JSONResponseBodyObject.
func (ListCustomerAliases500JSONResponseBodyObject) Valid ¶
func (e ListCustomerAliases500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases500JSONResponseBodyObject enum.
type ListCustomerAliases500JSONResponseBodyType ¶
type ListCustomerAliases500JSONResponseBodyType string
ListCustomerAliases500JSONResponseBodyType defines parameters for ListCustomerAliases.
const (
ListCustomerAliases500JSONResponseBodyTypeServerError ListCustomerAliases500JSONResponseBodyType = "server_error"
)
Defines values for ListCustomerAliases500JSONResponseBodyType.
func (ListCustomerAliases500JSONResponseBodyType) Valid ¶
func (e ListCustomerAliases500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases500JSONResponseBodyType enum.
type ListCustomerAliases503JSONResponseBodyObject ¶
type ListCustomerAliases503JSONResponseBodyObject string
ListCustomerAliases503JSONResponseBodyObject defines parameters for ListCustomerAliases.
const (
ListCustomerAliases503JSONResponseBodyObjectError ListCustomerAliases503JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAliases503JSONResponseBodyObject.
func (ListCustomerAliases503JSONResponseBodyObject) Valid ¶
func (e ListCustomerAliases503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases503JSONResponseBodyObject enum.
type ListCustomerAliases503JSONResponseBodyType ¶
type ListCustomerAliases503JSONResponseBodyType string
ListCustomerAliases503JSONResponseBodyType defines parameters for ListCustomerAliases.
const (
ListCustomerAliases503JSONResponseBodyTypeServerError ListCustomerAliases503JSONResponseBodyType = "server_error"
)
Defines values for ListCustomerAliases503JSONResponseBodyType.
func (ListCustomerAliases503JSONResponseBodyType) Valid ¶
func (e ListCustomerAliases503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliases503JSONResponseBodyType enum.
type ListCustomerAliasesObject ¶
type ListCustomerAliasesObject string
ListCustomerAliasesObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListCustomerAliasesObjectList ListCustomerAliasesObject = "list"
)
Defines values for ListCustomerAliasesObject.
func (ListCustomerAliasesObject) Valid ¶
func (e ListCustomerAliasesObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAliasesObject enum.
type ListCustomerAliasesParams ¶
type ListCustomerAliasesParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListCustomerAliasesParams defines parameters for ListCustomerAliases.
type ListCustomerAttributes ¶
type ListCustomerAttributes struct {
// Items Details about each object.
Items []CustomerAttribute `json:"items"`
// NextPage URL to access the next page of the customer's aliases. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes?starting_after=myCustomAttribute
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListCustomerAttributesObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes
URL string `json:"url"`
}
ListCustomerAttributes defines model for ListCustomerAttributes.
type ListCustomerAttributes400JSONResponseBodyObject ¶
type ListCustomerAttributes400JSONResponseBodyObject string
ListCustomerAttributes400JSONResponseBodyObject defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes400JSONResponseBodyObjectError ListCustomerAttributes400JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAttributes400JSONResponseBodyObject.
func (ListCustomerAttributes400JSONResponseBodyObject) Valid ¶
func (e ListCustomerAttributes400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes400JSONResponseBodyObject enum.
type ListCustomerAttributes400JSONResponseBodyType ¶
type ListCustomerAttributes400JSONResponseBodyType string
ListCustomerAttributes400JSONResponseBodyType defines parameters for ListCustomerAttributes.
const ( ListCustomerAttributes400JSONResponseBodyTypeInvalidRequest ListCustomerAttributes400JSONResponseBodyType = "invalid_request" ListCustomerAttributes400JSONResponseBodyTypeParameterError ListCustomerAttributes400JSONResponseBodyType = "parameter_error" )
Defines values for ListCustomerAttributes400JSONResponseBodyType.
func (ListCustomerAttributes400JSONResponseBodyType) Valid ¶
func (e ListCustomerAttributes400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes400JSONResponseBodyType enum.
type ListCustomerAttributes401JSONResponseBodyObject ¶
type ListCustomerAttributes401JSONResponseBodyObject string
ListCustomerAttributes401JSONResponseBodyObject defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes401JSONResponseBodyObjectError ListCustomerAttributes401JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAttributes401JSONResponseBodyObject.
func (ListCustomerAttributes401JSONResponseBodyObject) Valid ¶
func (e ListCustomerAttributes401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes401JSONResponseBodyObject enum.
type ListCustomerAttributes401JSONResponseBodyType ¶
type ListCustomerAttributes401JSONResponseBodyType string
ListCustomerAttributes401JSONResponseBodyType defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes401JSONResponseBodyTypeAuthenticationError ListCustomerAttributes401JSONResponseBodyType = "authentication_error"
)
Defines values for ListCustomerAttributes401JSONResponseBodyType.
func (ListCustomerAttributes401JSONResponseBodyType) Valid ¶
func (e ListCustomerAttributes401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes401JSONResponseBodyType enum.
type ListCustomerAttributes403JSONResponseBodyObject ¶
type ListCustomerAttributes403JSONResponseBodyObject string
ListCustomerAttributes403JSONResponseBodyObject defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes403JSONResponseBodyObjectError ListCustomerAttributes403JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAttributes403JSONResponseBodyObject.
func (ListCustomerAttributes403JSONResponseBodyObject) Valid ¶
func (e ListCustomerAttributes403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes403JSONResponseBodyObject enum.
type ListCustomerAttributes403JSONResponseBodyType ¶
type ListCustomerAttributes403JSONResponseBodyType string
ListCustomerAttributes403JSONResponseBodyType defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes403JSONResponseBodyTypeAuthorizationError ListCustomerAttributes403JSONResponseBodyType = "authorization_error"
)
Defines values for ListCustomerAttributes403JSONResponseBodyType.
func (ListCustomerAttributes403JSONResponseBodyType) Valid ¶
func (e ListCustomerAttributes403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes403JSONResponseBodyType enum.
type ListCustomerAttributes404JSONResponseBodyObject ¶
type ListCustomerAttributes404JSONResponseBodyObject string
ListCustomerAttributes404JSONResponseBodyObject defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes404JSONResponseBodyObjectError ListCustomerAttributes404JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAttributes404JSONResponseBodyObject.
func (ListCustomerAttributes404JSONResponseBodyObject) Valid ¶
func (e ListCustomerAttributes404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes404JSONResponseBodyObject enum.
type ListCustomerAttributes404JSONResponseBodyType ¶
type ListCustomerAttributes404JSONResponseBodyType string
ListCustomerAttributes404JSONResponseBodyType defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes404JSONResponseBodyTypeResourceMissing ListCustomerAttributes404JSONResponseBodyType = "resource_missing"
)
Defines values for ListCustomerAttributes404JSONResponseBodyType.
func (ListCustomerAttributes404JSONResponseBodyType) Valid ¶
func (e ListCustomerAttributes404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes404JSONResponseBodyType enum.
type ListCustomerAttributes423JSONResponseBodyObject ¶
type ListCustomerAttributes423JSONResponseBodyObject string
ListCustomerAttributes423JSONResponseBodyObject defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes423JSONResponseBodyObjectError ListCustomerAttributes423JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAttributes423JSONResponseBodyObject.
func (ListCustomerAttributes423JSONResponseBodyObject) Valid ¶
func (e ListCustomerAttributes423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes423JSONResponseBodyObject enum.
type ListCustomerAttributes423JSONResponseBodyType ¶
type ListCustomerAttributes423JSONResponseBodyType string
ListCustomerAttributes423JSONResponseBodyType defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes423JSONResponseBodyTypeResourceLockedError ListCustomerAttributes423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListCustomerAttributes423JSONResponseBodyType.
func (ListCustomerAttributes423JSONResponseBodyType) Valid ¶
func (e ListCustomerAttributes423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes423JSONResponseBodyType enum.
type ListCustomerAttributes429JSONResponseBodyObject ¶
type ListCustomerAttributes429JSONResponseBodyObject string
ListCustomerAttributes429JSONResponseBodyObject defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes429JSONResponseBodyObjectError ListCustomerAttributes429JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAttributes429JSONResponseBodyObject.
func (ListCustomerAttributes429JSONResponseBodyObject) Valid ¶
func (e ListCustomerAttributes429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes429JSONResponseBodyObject enum.
type ListCustomerAttributes429JSONResponseBodyType ¶
type ListCustomerAttributes429JSONResponseBodyType string
ListCustomerAttributes429JSONResponseBodyType defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes429JSONResponseBodyTypeRateLimitError ListCustomerAttributes429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListCustomerAttributes429JSONResponseBodyType.
func (ListCustomerAttributes429JSONResponseBodyType) Valid ¶
func (e ListCustomerAttributes429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes429JSONResponseBodyType enum.
type ListCustomerAttributes500JSONResponseBodyObject ¶
type ListCustomerAttributes500JSONResponseBodyObject string
ListCustomerAttributes500JSONResponseBodyObject defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes500JSONResponseBodyObjectError ListCustomerAttributes500JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAttributes500JSONResponseBodyObject.
func (ListCustomerAttributes500JSONResponseBodyObject) Valid ¶
func (e ListCustomerAttributes500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes500JSONResponseBodyObject enum.
type ListCustomerAttributes500JSONResponseBodyType ¶
type ListCustomerAttributes500JSONResponseBodyType string
ListCustomerAttributes500JSONResponseBodyType defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes500JSONResponseBodyTypeServerError ListCustomerAttributes500JSONResponseBodyType = "server_error"
)
Defines values for ListCustomerAttributes500JSONResponseBodyType.
func (ListCustomerAttributes500JSONResponseBodyType) Valid ¶
func (e ListCustomerAttributes500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes500JSONResponseBodyType enum.
type ListCustomerAttributes503JSONResponseBodyObject ¶
type ListCustomerAttributes503JSONResponseBodyObject string
ListCustomerAttributes503JSONResponseBodyObject defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes503JSONResponseBodyObjectError ListCustomerAttributes503JSONResponseBodyObject = "error"
)
Defines values for ListCustomerAttributes503JSONResponseBodyObject.
func (ListCustomerAttributes503JSONResponseBodyObject) Valid ¶
func (e ListCustomerAttributes503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes503JSONResponseBodyObject enum.
type ListCustomerAttributes503JSONResponseBodyType ¶
type ListCustomerAttributes503JSONResponseBodyType string
ListCustomerAttributes503JSONResponseBodyType defines parameters for ListCustomerAttributes.
const (
ListCustomerAttributes503JSONResponseBodyTypeServerError ListCustomerAttributes503JSONResponseBodyType = "server_error"
)
Defines values for ListCustomerAttributes503JSONResponseBodyType.
func (ListCustomerAttributes503JSONResponseBodyType) Valid ¶
func (e ListCustomerAttributes503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributes503JSONResponseBodyType enum.
type ListCustomerAttributesObject ¶
type ListCustomerAttributesObject string
ListCustomerAttributesObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListCustomerAttributesObjectList ListCustomerAttributesObject = "list"
)
Defines values for ListCustomerAttributesObject.
func (ListCustomerAttributesObject) Valid ¶
func (e ListCustomerAttributesObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerAttributesObject enum.
type ListCustomerAttributesParams ¶
type ListCustomerAttributesParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListCustomerAttributesParams defines parameters for ListCustomerAttributes.
type ListCustomerEvents ¶
type ListCustomerEvents struct {
// Items Details about each event.
Items []CustomerEvent `json:"items"`
// NextPage URL to access the next page of customer events. If not present / null, there is no next page.
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/events?starting_after=2e4ff4cd-27e5-4632-a236-5963c22f36b9&limit=20
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListCustomerEventsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/events
URL string `json:"url"`
}
ListCustomerEvents defines model for ListCustomerEvents.
type ListCustomerEvents400JSONResponseBodyObject ¶
type ListCustomerEvents400JSONResponseBodyObject string
ListCustomerEvents400JSONResponseBodyObject defines parameters for ListCustomerEvents.
const (
ListCustomerEvents400JSONResponseBodyObjectError ListCustomerEvents400JSONResponseBodyObject = "error"
)
Defines values for ListCustomerEvents400JSONResponseBodyObject.
func (ListCustomerEvents400JSONResponseBodyObject) Valid ¶
func (e ListCustomerEvents400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents400JSONResponseBodyObject enum.
type ListCustomerEvents400JSONResponseBodyType ¶
type ListCustomerEvents400JSONResponseBodyType string
ListCustomerEvents400JSONResponseBodyType defines parameters for ListCustomerEvents.
const ( ListCustomerEvents400JSONResponseBodyTypeInvalidRequest ListCustomerEvents400JSONResponseBodyType = "invalid_request" ListCustomerEvents400JSONResponseBodyTypeParameterError ListCustomerEvents400JSONResponseBodyType = "parameter_error" )
Defines values for ListCustomerEvents400JSONResponseBodyType.
func (ListCustomerEvents400JSONResponseBodyType) Valid ¶
func (e ListCustomerEvents400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents400JSONResponseBodyType enum.
type ListCustomerEvents401JSONResponseBodyObject ¶
type ListCustomerEvents401JSONResponseBodyObject string
ListCustomerEvents401JSONResponseBodyObject defines parameters for ListCustomerEvents.
const (
ListCustomerEvents401JSONResponseBodyObjectError ListCustomerEvents401JSONResponseBodyObject = "error"
)
Defines values for ListCustomerEvents401JSONResponseBodyObject.
func (ListCustomerEvents401JSONResponseBodyObject) Valid ¶
func (e ListCustomerEvents401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents401JSONResponseBodyObject enum.
type ListCustomerEvents401JSONResponseBodyType ¶
type ListCustomerEvents401JSONResponseBodyType string
ListCustomerEvents401JSONResponseBodyType defines parameters for ListCustomerEvents.
const (
ListCustomerEvents401JSONResponseBodyTypeAuthenticationError ListCustomerEvents401JSONResponseBodyType = "authentication_error"
)
Defines values for ListCustomerEvents401JSONResponseBodyType.
func (ListCustomerEvents401JSONResponseBodyType) Valid ¶
func (e ListCustomerEvents401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents401JSONResponseBodyType enum.
type ListCustomerEvents403JSONResponseBodyObject ¶
type ListCustomerEvents403JSONResponseBodyObject string
ListCustomerEvents403JSONResponseBodyObject defines parameters for ListCustomerEvents.
const (
ListCustomerEvents403JSONResponseBodyObjectError ListCustomerEvents403JSONResponseBodyObject = "error"
)
Defines values for ListCustomerEvents403JSONResponseBodyObject.
func (ListCustomerEvents403JSONResponseBodyObject) Valid ¶
func (e ListCustomerEvents403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents403JSONResponseBodyObject enum.
type ListCustomerEvents403JSONResponseBodyType ¶
type ListCustomerEvents403JSONResponseBodyType string
ListCustomerEvents403JSONResponseBodyType defines parameters for ListCustomerEvents.
const (
ListCustomerEvents403JSONResponseBodyTypeAuthorizationError ListCustomerEvents403JSONResponseBodyType = "authorization_error"
)
Defines values for ListCustomerEvents403JSONResponseBodyType.
func (ListCustomerEvents403JSONResponseBodyType) Valid ¶
func (e ListCustomerEvents403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents403JSONResponseBodyType enum.
type ListCustomerEvents404JSONResponseBodyObject ¶
type ListCustomerEvents404JSONResponseBodyObject string
ListCustomerEvents404JSONResponseBodyObject defines parameters for ListCustomerEvents.
const (
ListCustomerEvents404JSONResponseBodyObjectError ListCustomerEvents404JSONResponseBodyObject = "error"
)
Defines values for ListCustomerEvents404JSONResponseBodyObject.
func (ListCustomerEvents404JSONResponseBodyObject) Valid ¶
func (e ListCustomerEvents404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents404JSONResponseBodyObject enum.
type ListCustomerEvents404JSONResponseBodyType ¶
type ListCustomerEvents404JSONResponseBodyType string
ListCustomerEvents404JSONResponseBodyType defines parameters for ListCustomerEvents.
const (
ListCustomerEvents404JSONResponseBodyTypeResourceMissing ListCustomerEvents404JSONResponseBodyType = "resource_missing"
)
Defines values for ListCustomerEvents404JSONResponseBodyType.
func (ListCustomerEvents404JSONResponseBodyType) Valid ¶
func (e ListCustomerEvents404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents404JSONResponseBodyType enum.
type ListCustomerEvents423JSONResponseBodyObject ¶
type ListCustomerEvents423JSONResponseBodyObject string
ListCustomerEvents423JSONResponseBodyObject defines parameters for ListCustomerEvents.
const (
ListCustomerEvents423JSONResponseBodyObjectError ListCustomerEvents423JSONResponseBodyObject = "error"
)
Defines values for ListCustomerEvents423JSONResponseBodyObject.
func (ListCustomerEvents423JSONResponseBodyObject) Valid ¶
func (e ListCustomerEvents423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents423JSONResponseBodyObject enum.
type ListCustomerEvents423JSONResponseBodyType ¶
type ListCustomerEvents423JSONResponseBodyType string
ListCustomerEvents423JSONResponseBodyType defines parameters for ListCustomerEvents.
const (
ListCustomerEvents423JSONResponseBodyTypeResourceLockedError ListCustomerEvents423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListCustomerEvents423JSONResponseBodyType.
func (ListCustomerEvents423JSONResponseBodyType) Valid ¶
func (e ListCustomerEvents423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents423JSONResponseBodyType enum.
type ListCustomerEvents429JSONResponseBodyObject ¶
type ListCustomerEvents429JSONResponseBodyObject string
ListCustomerEvents429JSONResponseBodyObject defines parameters for ListCustomerEvents.
const (
ListCustomerEvents429JSONResponseBodyObjectError ListCustomerEvents429JSONResponseBodyObject = "error"
)
Defines values for ListCustomerEvents429JSONResponseBodyObject.
func (ListCustomerEvents429JSONResponseBodyObject) Valid ¶
func (e ListCustomerEvents429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents429JSONResponseBodyObject enum.
type ListCustomerEvents429JSONResponseBodyType ¶
type ListCustomerEvents429JSONResponseBodyType string
ListCustomerEvents429JSONResponseBodyType defines parameters for ListCustomerEvents.
const (
ListCustomerEvents429JSONResponseBodyTypeRateLimitError ListCustomerEvents429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListCustomerEvents429JSONResponseBodyType.
func (ListCustomerEvents429JSONResponseBodyType) Valid ¶
func (e ListCustomerEvents429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents429JSONResponseBodyType enum.
type ListCustomerEvents500JSONResponseBodyObject ¶
type ListCustomerEvents500JSONResponseBodyObject string
ListCustomerEvents500JSONResponseBodyObject defines parameters for ListCustomerEvents.
const (
ListCustomerEvents500JSONResponseBodyObjectError ListCustomerEvents500JSONResponseBodyObject = "error"
)
Defines values for ListCustomerEvents500JSONResponseBodyObject.
func (ListCustomerEvents500JSONResponseBodyObject) Valid ¶
func (e ListCustomerEvents500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents500JSONResponseBodyObject enum.
type ListCustomerEvents500JSONResponseBodyType ¶
type ListCustomerEvents500JSONResponseBodyType string
ListCustomerEvents500JSONResponseBodyType defines parameters for ListCustomerEvents.
const (
ListCustomerEvents500JSONResponseBodyTypeServerError ListCustomerEvents500JSONResponseBodyType = "server_error"
)
Defines values for ListCustomerEvents500JSONResponseBodyType.
func (ListCustomerEvents500JSONResponseBodyType) Valid ¶
func (e ListCustomerEvents500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents500JSONResponseBodyType enum.
type ListCustomerEvents503JSONResponseBodyObject ¶
type ListCustomerEvents503JSONResponseBodyObject string
ListCustomerEvents503JSONResponseBodyObject defines parameters for ListCustomerEvents.
const (
ListCustomerEvents503JSONResponseBodyObjectError ListCustomerEvents503JSONResponseBodyObject = "error"
)
Defines values for ListCustomerEvents503JSONResponseBodyObject.
func (ListCustomerEvents503JSONResponseBodyObject) Valid ¶
func (e ListCustomerEvents503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents503JSONResponseBodyObject enum.
type ListCustomerEvents503JSONResponseBodyType ¶
type ListCustomerEvents503JSONResponseBodyType string
ListCustomerEvents503JSONResponseBodyType defines parameters for ListCustomerEvents.
const (
ListCustomerEvents503JSONResponseBodyTypeServerError ListCustomerEvents503JSONResponseBodyType = "server_error"
)
Defines values for ListCustomerEvents503JSONResponseBodyType.
func (ListCustomerEvents503JSONResponseBodyType) Valid ¶
func (e ListCustomerEvents503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEvents503JSONResponseBodyType enum.
type ListCustomerEventsObject ¶
type ListCustomerEventsObject string
ListCustomerEventsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListCustomerEventsObjectList ListCustomerEventsObject = "list"
)
Defines values for ListCustomerEventsObject.
func (ListCustomerEventsObject) Valid ¶
func (e ListCustomerEventsObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEventsObject enum.
type ListCustomerEventsParams ¶
type ListCustomerEventsParams struct {
// Environment Filter by environment, omit to include both.
Environment *ListCustomerEventsParamsEnvironment `form:"environment,omitempty" json:"environment,omitempty"`
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListCustomerEventsParams defines parameters for ListCustomerEvents.
type ListCustomerEventsParamsEnvironment ¶
type ListCustomerEventsParamsEnvironment string
ListCustomerEventsParamsEnvironment defines parameters for ListCustomerEvents.
const ( ListCustomerEventsParamsEnvironmentProduction ListCustomerEventsParamsEnvironment = "production" ListCustomerEventsParamsEnvironmentSandbox ListCustomerEventsParamsEnvironment = "sandbox" )
Defines values for ListCustomerEventsParamsEnvironment.
func (ListCustomerEventsParamsEnvironment) Valid ¶
func (e ListCustomerEventsParamsEnvironment) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerEventsParamsEnvironment enum.
type ListCustomerInvoices ¶
type ListCustomerInvoices struct {
// Items Details about each object.
Items []Invoice `json:"items"`
// NextPage URL to access the next page of the customer's invoice. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/invoices?starting_after=rcbin1a2b3c4d5e
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListCustomerInvoicesObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/invoices
URL string `json:"url"`
}
ListCustomerInvoices defines model for ListCustomerInvoices.
type ListCustomerInvoices400JSONResponseBodyObject ¶
type ListCustomerInvoices400JSONResponseBodyObject string
ListCustomerInvoices400JSONResponseBodyObject defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices400JSONResponseBodyObjectError ListCustomerInvoices400JSONResponseBodyObject = "error"
)
Defines values for ListCustomerInvoices400JSONResponseBodyObject.
func (ListCustomerInvoices400JSONResponseBodyObject) Valid ¶
func (e ListCustomerInvoices400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices400JSONResponseBodyObject enum.
type ListCustomerInvoices400JSONResponseBodyType ¶
type ListCustomerInvoices400JSONResponseBodyType string
ListCustomerInvoices400JSONResponseBodyType defines parameters for ListCustomerInvoices.
const ( ListCustomerInvoices400JSONResponseBodyTypeInvalidRequest ListCustomerInvoices400JSONResponseBodyType = "invalid_request" ListCustomerInvoices400JSONResponseBodyTypeParameterError ListCustomerInvoices400JSONResponseBodyType = "parameter_error" )
Defines values for ListCustomerInvoices400JSONResponseBodyType.
func (ListCustomerInvoices400JSONResponseBodyType) Valid ¶
func (e ListCustomerInvoices400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices400JSONResponseBodyType enum.
type ListCustomerInvoices401JSONResponseBodyObject ¶
type ListCustomerInvoices401JSONResponseBodyObject string
ListCustomerInvoices401JSONResponseBodyObject defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices401JSONResponseBodyObjectError ListCustomerInvoices401JSONResponseBodyObject = "error"
)
Defines values for ListCustomerInvoices401JSONResponseBodyObject.
func (ListCustomerInvoices401JSONResponseBodyObject) Valid ¶
func (e ListCustomerInvoices401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices401JSONResponseBodyObject enum.
type ListCustomerInvoices401JSONResponseBodyType ¶
type ListCustomerInvoices401JSONResponseBodyType string
ListCustomerInvoices401JSONResponseBodyType defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices401JSONResponseBodyTypeAuthenticationError ListCustomerInvoices401JSONResponseBodyType = "authentication_error"
)
Defines values for ListCustomerInvoices401JSONResponseBodyType.
func (ListCustomerInvoices401JSONResponseBodyType) Valid ¶
func (e ListCustomerInvoices401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices401JSONResponseBodyType enum.
type ListCustomerInvoices403JSONResponseBodyObject ¶
type ListCustomerInvoices403JSONResponseBodyObject string
ListCustomerInvoices403JSONResponseBodyObject defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices403JSONResponseBodyObjectError ListCustomerInvoices403JSONResponseBodyObject = "error"
)
Defines values for ListCustomerInvoices403JSONResponseBodyObject.
func (ListCustomerInvoices403JSONResponseBodyObject) Valid ¶
func (e ListCustomerInvoices403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices403JSONResponseBodyObject enum.
type ListCustomerInvoices403JSONResponseBodyType ¶
type ListCustomerInvoices403JSONResponseBodyType string
ListCustomerInvoices403JSONResponseBodyType defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices403JSONResponseBodyTypeAuthorizationError ListCustomerInvoices403JSONResponseBodyType = "authorization_error"
)
Defines values for ListCustomerInvoices403JSONResponseBodyType.
func (ListCustomerInvoices403JSONResponseBodyType) Valid ¶
func (e ListCustomerInvoices403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices403JSONResponseBodyType enum.
type ListCustomerInvoices404JSONResponseBodyObject ¶
type ListCustomerInvoices404JSONResponseBodyObject string
ListCustomerInvoices404JSONResponseBodyObject defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices404JSONResponseBodyObjectError ListCustomerInvoices404JSONResponseBodyObject = "error"
)
Defines values for ListCustomerInvoices404JSONResponseBodyObject.
func (ListCustomerInvoices404JSONResponseBodyObject) Valid ¶
func (e ListCustomerInvoices404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices404JSONResponseBodyObject enum.
type ListCustomerInvoices404JSONResponseBodyType ¶
type ListCustomerInvoices404JSONResponseBodyType string
ListCustomerInvoices404JSONResponseBodyType defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices404JSONResponseBodyTypeResourceMissing ListCustomerInvoices404JSONResponseBodyType = "resource_missing"
)
Defines values for ListCustomerInvoices404JSONResponseBodyType.
func (ListCustomerInvoices404JSONResponseBodyType) Valid ¶
func (e ListCustomerInvoices404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices404JSONResponseBodyType enum.
type ListCustomerInvoices423JSONResponseBodyObject ¶
type ListCustomerInvoices423JSONResponseBodyObject string
ListCustomerInvoices423JSONResponseBodyObject defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices423JSONResponseBodyObjectError ListCustomerInvoices423JSONResponseBodyObject = "error"
)
Defines values for ListCustomerInvoices423JSONResponseBodyObject.
func (ListCustomerInvoices423JSONResponseBodyObject) Valid ¶
func (e ListCustomerInvoices423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices423JSONResponseBodyObject enum.
type ListCustomerInvoices423JSONResponseBodyType ¶
type ListCustomerInvoices423JSONResponseBodyType string
ListCustomerInvoices423JSONResponseBodyType defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices423JSONResponseBodyTypeResourceLockedError ListCustomerInvoices423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListCustomerInvoices423JSONResponseBodyType.
func (ListCustomerInvoices423JSONResponseBodyType) Valid ¶
func (e ListCustomerInvoices423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices423JSONResponseBodyType enum.
type ListCustomerInvoices429JSONResponseBodyObject ¶
type ListCustomerInvoices429JSONResponseBodyObject string
ListCustomerInvoices429JSONResponseBodyObject defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices429JSONResponseBodyObjectError ListCustomerInvoices429JSONResponseBodyObject = "error"
)
Defines values for ListCustomerInvoices429JSONResponseBodyObject.
func (ListCustomerInvoices429JSONResponseBodyObject) Valid ¶
func (e ListCustomerInvoices429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices429JSONResponseBodyObject enum.
type ListCustomerInvoices429JSONResponseBodyType ¶
type ListCustomerInvoices429JSONResponseBodyType string
ListCustomerInvoices429JSONResponseBodyType defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices429JSONResponseBodyTypeRateLimitError ListCustomerInvoices429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListCustomerInvoices429JSONResponseBodyType.
func (ListCustomerInvoices429JSONResponseBodyType) Valid ¶
func (e ListCustomerInvoices429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices429JSONResponseBodyType enum.
type ListCustomerInvoices500JSONResponseBodyObject ¶
type ListCustomerInvoices500JSONResponseBodyObject string
ListCustomerInvoices500JSONResponseBodyObject defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices500JSONResponseBodyObjectError ListCustomerInvoices500JSONResponseBodyObject = "error"
)
Defines values for ListCustomerInvoices500JSONResponseBodyObject.
func (ListCustomerInvoices500JSONResponseBodyObject) Valid ¶
func (e ListCustomerInvoices500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices500JSONResponseBodyObject enum.
type ListCustomerInvoices500JSONResponseBodyType ¶
type ListCustomerInvoices500JSONResponseBodyType string
ListCustomerInvoices500JSONResponseBodyType defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices500JSONResponseBodyTypeServerError ListCustomerInvoices500JSONResponseBodyType = "server_error"
)
Defines values for ListCustomerInvoices500JSONResponseBodyType.
func (ListCustomerInvoices500JSONResponseBodyType) Valid ¶
func (e ListCustomerInvoices500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices500JSONResponseBodyType enum.
type ListCustomerInvoices503JSONResponseBodyObject ¶
type ListCustomerInvoices503JSONResponseBodyObject string
ListCustomerInvoices503JSONResponseBodyObject defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices503JSONResponseBodyObjectError ListCustomerInvoices503JSONResponseBodyObject = "error"
)
Defines values for ListCustomerInvoices503JSONResponseBodyObject.
func (ListCustomerInvoices503JSONResponseBodyObject) Valid ¶
func (e ListCustomerInvoices503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices503JSONResponseBodyObject enum.
type ListCustomerInvoices503JSONResponseBodyType ¶
type ListCustomerInvoices503JSONResponseBodyType string
ListCustomerInvoices503JSONResponseBodyType defines parameters for ListCustomerInvoices.
const (
ListCustomerInvoices503JSONResponseBodyTypeServerError ListCustomerInvoices503JSONResponseBodyType = "server_error"
)
Defines values for ListCustomerInvoices503JSONResponseBodyType.
func (ListCustomerInvoices503JSONResponseBodyType) Valid ¶
func (e ListCustomerInvoices503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoices503JSONResponseBodyType enum.
type ListCustomerInvoicesObject ¶
type ListCustomerInvoicesObject string
ListCustomerInvoicesObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListCustomerInvoicesObjectList ListCustomerInvoicesObject = "list"
)
Defines values for ListCustomerInvoicesObject.
func (ListCustomerInvoicesObject) Valid ¶
func (e ListCustomerInvoicesObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomerInvoicesObject enum.
type ListCustomerInvoicesParams ¶
type ListCustomerInvoicesParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListCustomerInvoicesParams defines parameters for ListCustomerInvoices.
type ListCustomers ¶
type ListCustomers struct {
// Items Details about each object.
Items []Customer `json:"items"`
// NextPage URL to access the next page of the project's customers. If not present / null, there is no next page
//
// Example: /v2/projects/projec1a2b3c4d/customers?starting_after=223xx1100
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListCustomersObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/projec1a2b3c4d/customers
URL string `json:"url"`
}
ListCustomers defines model for ListCustomers.
type ListCustomers400JSONResponseBodyObject ¶
type ListCustomers400JSONResponseBodyObject string
ListCustomers400JSONResponseBodyObject defines parameters for ListCustomers.
const (
ListCustomers400JSONResponseBodyObjectError ListCustomers400JSONResponseBodyObject = "error"
)
Defines values for ListCustomers400JSONResponseBodyObject.
func (ListCustomers400JSONResponseBodyObject) Valid ¶
func (e ListCustomers400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers400JSONResponseBodyObject enum.
type ListCustomers400JSONResponseBodyType ¶
type ListCustomers400JSONResponseBodyType string
ListCustomers400JSONResponseBodyType defines parameters for ListCustomers.
const ( ListCustomers400JSONResponseBodyTypeInvalidRequest ListCustomers400JSONResponseBodyType = "invalid_request" ListCustomers400JSONResponseBodyTypeParameterError ListCustomers400JSONResponseBodyType = "parameter_error" )
Defines values for ListCustomers400JSONResponseBodyType.
func (ListCustomers400JSONResponseBodyType) Valid ¶
func (e ListCustomers400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers400JSONResponseBodyType enum.
type ListCustomers401JSONResponseBodyObject ¶
type ListCustomers401JSONResponseBodyObject string
ListCustomers401JSONResponseBodyObject defines parameters for ListCustomers.
const (
ListCustomers401JSONResponseBodyObjectError ListCustomers401JSONResponseBodyObject = "error"
)
Defines values for ListCustomers401JSONResponseBodyObject.
func (ListCustomers401JSONResponseBodyObject) Valid ¶
func (e ListCustomers401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers401JSONResponseBodyObject enum.
type ListCustomers401JSONResponseBodyType ¶
type ListCustomers401JSONResponseBodyType string
ListCustomers401JSONResponseBodyType defines parameters for ListCustomers.
const (
ListCustomers401JSONResponseBodyTypeAuthenticationError ListCustomers401JSONResponseBodyType = "authentication_error"
)
Defines values for ListCustomers401JSONResponseBodyType.
func (ListCustomers401JSONResponseBodyType) Valid ¶
func (e ListCustomers401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers401JSONResponseBodyType enum.
type ListCustomers403JSONResponseBodyObject ¶
type ListCustomers403JSONResponseBodyObject string
ListCustomers403JSONResponseBodyObject defines parameters for ListCustomers.
const (
ListCustomers403JSONResponseBodyObjectError ListCustomers403JSONResponseBodyObject = "error"
)
Defines values for ListCustomers403JSONResponseBodyObject.
func (ListCustomers403JSONResponseBodyObject) Valid ¶
func (e ListCustomers403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers403JSONResponseBodyObject enum.
type ListCustomers403JSONResponseBodyType ¶
type ListCustomers403JSONResponseBodyType string
ListCustomers403JSONResponseBodyType defines parameters for ListCustomers.
const (
ListCustomers403JSONResponseBodyTypeAuthorizationError ListCustomers403JSONResponseBodyType = "authorization_error"
)
Defines values for ListCustomers403JSONResponseBodyType.
func (ListCustomers403JSONResponseBodyType) Valid ¶
func (e ListCustomers403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers403JSONResponseBodyType enum.
type ListCustomers404JSONResponseBodyObject ¶
type ListCustomers404JSONResponseBodyObject string
ListCustomers404JSONResponseBodyObject defines parameters for ListCustomers.
const (
ListCustomers404JSONResponseBodyObjectError ListCustomers404JSONResponseBodyObject = "error"
)
Defines values for ListCustomers404JSONResponseBodyObject.
func (ListCustomers404JSONResponseBodyObject) Valid ¶
func (e ListCustomers404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers404JSONResponseBodyObject enum.
type ListCustomers404JSONResponseBodyType ¶
type ListCustomers404JSONResponseBodyType string
ListCustomers404JSONResponseBodyType defines parameters for ListCustomers.
const (
ListCustomers404JSONResponseBodyTypeResourceMissing ListCustomers404JSONResponseBodyType = "resource_missing"
)
Defines values for ListCustomers404JSONResponseBodyType.
func (ListCustomers404JSONResponseBodyType) Valid ¶
func (e ListCustomers404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers404JSONResponseBodyType enum.
type ListCustomers423JSONResponseBodyObject ¶
type ListCustomers423JSONResponseBodyObject string
ListCustomers423JSONResponseBodyObject defines parameters for ListCustomers.
const (
ListCustomers423JSONResponseBodyObjectError ListCustomers423JSONResponseBodyObject = "error"
)
Defines values for ListCustomers423JSONResponseBodyObject.
func (ListCustomers423JSONResponseBodyObject) Valid ¶
func (e ListCustomers423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers423JSONResponseBodyObject enum.
type ListCustomers423JSONResponseBodyType ¶
type ListCustomers423JSONResponseBodyType string
ListCustomers423JSONResponseBodyType defines parameters for ListCustomers.
const (
ListCustomers423JSONResponseBodyTypeResourceLockedError ListCustomers423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListCustomers423JSONResponseBodyType.
func (ListCustomers423JSONResponseBodyType) Valid ¶
func (e ListCustomers423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers423JSONResponseBodyType enum.
type ListCustomers429JSONResponseBodyObject ¶
type ListCustomers429JSONResponseBodyObject string
ListCustomers429JSONResponseBodyObject defines parameters for ListCustomers.
const (
ListCustomers429JSONResponseBodyObjectError ListCustomers429JSONResponseBodyObject = "error"
)
Defines values for ListCustomers429JSONResponseBodyObject.
func (ListCustomers429JSONResponseBodyObject) Valid ¶
func (e ListCustomers429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers429JSONResponseBodyObject enum.
type ListCustomers429JSONResponseBodyType ¶
type ListCustomers429JSONResponseBodyType string
ListCustomers429JSONResponseBodyType defines parameters for ListCustomers.
const (
ListCustomers429JSONResponseBodyTypeRateLimitError ListCustomers429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListCustomers429JSONResponseBodyType.
func (ListCustomers429JSONResponseBodyType) Valid ¶
func (e ListCustomers429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers429JSONResponseBodyType enum.
type ListCustomers500JSONResponseBodyObject ¶
type ListCustomers500JSONResponseBodyObject string
ListCustomers500JSONResponseBodyObject defines parameters for ListCustomers.
const (
ListCustomers500JSONResponseBodyObjectError ListCustomers500JSONResponseBodyObject = "error"
)
Defines values for ListCustomers500JSONResponseBodyObject.
func (ListCustomers500JSONResponseBodyObject) Valid ¶
func (e ListCustomers500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers500JSONResponseBodyObject enum.
type ListCustomers500JSONResponseBodyType ¶
type ListCustomers500JSONResponseBodyType string
ListCustomers500JSONResponseBodyType defines parameters for ListCustomers.
const (
ListCustomers500JSONResponseBodyTypeServerError ListCustomers500JSONResponseBodyType = "server_error"
)
Defines values for ListCustomers500JSONResponseBodyType.
func (ListCustomers500JSONResponseBodyType) Valid ¶
func (e ListCustomers500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers500JSONResponseBodyType enum.
type ListCustomers503JSONResponseBodyObject ¶
type ListCustomers503JSONResponseBodyObject string
ListCustomers503JSONResponseBodyObject defines parameters for ListCustomers.
const (
ListCustomers503JSONResponseBodyObjectError ListCustomers503JSONResponseBodyObject = "error"
)
Defines values for ListCustomers503JSONResponseBodyObject.
func (ListCustomers503JSONResponseBodyObject) Valid ¶
func (e ListCustomers503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers503JSONResponseBodyObject enum.
type ListCustomers503JSONResponseBodyType ¶
type ListCustomers503JSONResponseBodyType string
ListCustomers503JSONResponseBodyType defines parameters for ListCustomers.
const (
ListCustomers503JSONResponseBodyTypeServerError ListCustomers503JSONResponseBodyType = "server_error"
)
Defines values for ListCustomers503JSONResponseBodyType.
func (ListCustomers503JSONResponseBodyType) Valid ¶
func (e ListCustomers503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListCustomers503JSONResponseBodyType enum.
type ListCustomersObject ¶
type ListCustomersObject string
ListCustomersObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListCustomersObjectList ListCustomersObject = "list"
)
Defines values for ListCustomersObject.
func (ListCustomersObject) Valid ¶
func (e ListCustomersObject) Valid() bool
Valid indicates whether the value is a known member of the ListCustomersObject enum.
type ListCustomersOptions ¶
type ListCustomersParams ¶
type ListCustomersParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Search Search term used to find matching customers within the project. The term is matched against, in order: the $email attribute (exact match), the customer's app user IDs, store transaction identifiers (Apple, Google Play and Amazon), and Apple order IDs. Email searches are paginated; all other identifier searches return a single page of matches.
Search *string `form:"search,omitempty" json:"search,omitempty"`
}
ListCustomersParams defines parameters for ListCustomers.
type ListEntitlements ¶
type ListEntitlements struct {
// Items Details about each object.
Items []Entitlement `json:"items"`
// NextPage URL to access the next page of the project's entitlements. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/entitlements?starting_after=entlab21dac
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListEntitlementsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/entitlements
URL string `json:"url"`
}
ListEntitlements defines model for ListEntitlements.
type ListEntitlements400JSONResponseBodyObject ¶
type ListEntitlements400JSONResponseBodyObject string
ListEntitlements400JSONResponseBodyObject defines parameters for ListEntitlements.
const (
ListEntitlements400JSONResponseBodyObjectError ListEntitlements400JSONResponseBodyObject = "error"
)
Defines values for ListEntitlements400JSONResponseBodyObject.
func (ListEntitlements400JSONResponseBodyObject) Valid ¶
func (e ListEntitlements400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements400JSONResponseBodyObject enum.
type ListEntitlements400JSONResponseBodyType ¶
type ListEntitlements400JSONResponseBodyType string
ListEntitlements400JSONResponseBodyType defines parameters for ListEntitlements.
const ( ListEntitlements400JSONResponseBodyTypeInvalidRequest ListEntitlements400JSONResponseBodyType = "invalid_request" ListEntitlements400JSONResponseBodyTypeParameterError ListEntitlements400JSONResponseBodyType = "parameter_error" )
Defines values for ListEntitlements400JSONResponseBodyType.
func (ListEntitlements400JSONResponseBodyType) Valid ¶
func (e ListEntitlements400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements400JSONResponseBodyType enum.
type ListEntitlements401JSONResponseBodyObject ¶
type ListEntitlements401JSONResponseBodyObject string
ListEntitlements401JSONResponseBodyObject defines parameters for ListEntitlements.
const (
ListEntitlements401JSONResponseBodyObjectError ListEntitlements401JSONResponseBodyObject = "error"
)
Defines values for ListEntitlements401JSONResponseBodyObject.
func (ListEntitlements401JSONResponseBodyObject) Valid ¶
func (e ListEntitlements401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements401JSONResponseBodyObject enum.
type ListEntitlements401JSONResponseBodyType ¶
type ListEntitlements401JSONResponseBodyType string
ListEntitlements401JSONResponseBodyType defines parameters for ListEntitlements.
const (
ListEntitlements401JSONResponseBodyTypeAuthenticationError ListEntitlements401JSONResponseBodyType = "authentication_error"
)
Defines values for ListEntitlements401JSONResponseBodyType.
func (ListEntitlements401JSONResponseBodyType) Valid ¶
func (e ListEntitlements401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements401JSONResponseBodyType enum.
type ListEntitlements403JSONResponseBodyObject ¶
type ListEntitlements403JSONResponseBodyObject string
ListEntitlements403JSONResponseBodyObject defines parameters for ListEntitlements.
const (
ListEntitlements403JSONResponseBodyObjectError ListEntitlements403JSONResponseBodyObject = "error"
)
Defines values for ListEntitlements403JSONResponseBodyObject.
func (ListEntitlements403JSONResponseBodyObject) Valid ¶
func (e ListEntitlements403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements403JSONResponseBodyObject enum.
type ListEntitlements403JSONResponseBodyType ¶
type ListEntitlements403JSONResponseBodyType string
ListEntitlements403JSONResponseBodyType defines parameters for ListEntitlements.
const (
ListEntitlements403JSONResponseBodyTypeAuthorizationError ListEntitlements403JSONResponseBodyType = "authorization_error"
)
Defines values for ListEntitlements403JSONResponseBodyType.
func (ListEntitlements403JSONResponseBodyType) Valid ¶
func (e ListEntitlements403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements403JSONResponseBodyType enum.
type ListEntitlements404JSONResponseBodyObject ¶
type ListEntitlements404JSONResponseBodyObject string
ListEntitlements404JSONResponseBodyObject defines parameters for ListEntitlements.
const (
ListEntitlements404JSONResponseBodyObjectError ListEntitlements404JSONResponseBodyObject = "error"
)
Defines values for ListEntitlements404JSONResponseBodyObject.
func (ListEntitlements404JSONResponseBodyObject) Valid ¶
func (e ListEntitlements404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements404JSONResponseBodyObject enum.
type ListEntitlements404JSONResponseBodyType ¶
type ListEntitlements404JSONResponseBodyType string
ListEntitlements404JSONResponseBodyType defines parameters for ListEntitlements.
const (
ListEntitlements404JSONResponseBodyTypeResourceMissing ListEntitlements404JSONResponseBodyType = "resource_missing"
)
Defines values for ListEntitlements404JSONResponseBodyType.
func (ListEntitlements404JSONResponseBodyType) Valid ¶
func (e ListEntitlements404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements404JSONResponseBodyType enum.
type ListEntitlements423JSONResponseBodyObject ¶
type ListEntitlements423JSONResponseBodyObject string
ListEntitlements423JSONResponseBodyObject defines parameters for ListEntitlements.
const (
ListEntitlements423JSONResponseBodyObjectError ListEntitlements423JSONResponseBodyObject = "error"
)
Defines values for ListEntitlements423JSONResponseBodyObject.
func (ListEntitlements423JSONResponseBodyObject) Valid ¶
func (e ListEntitlements423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements423JSONResponseBodyObject enum.
type ListEntitlements423JSONResponseBodyType ¶
type ListEntitlements423JSONResponseBodyType string
ListEntitlements423JSONResponseBodyType defines parameters for ListEntitlements.
const (
ListEntitlements423JSONResponseBodyTypeResourceLockedError ListEntitlements423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListEntitlements423JSONResponseBodyType.
func (ListEntitlements423JSONResponseBodyType) Valid ¶
func (e ListEntitlements423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements423JSONResponseBodyType enum.
type ListEntitlements429JSONResponseBodyObject ¶
type ListEntitlements429JSONResponseBodyObject string
ListEntitlements429JSONResponseBodyObject defines parameters for ListEntitlements.
const (
ListEntitlements429JSONResponseBodyObjectError ListEntitlements429JSONResponseBodyObject = "error"
)
Defines values for ListEntitlements429JSONResponseBodyObject.
func (ListEntitlements429JSONResponseBodyObject) Valid ¶
func (e ListEntitlements429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements429JSONResponseBodyObject enum.
type ListEntitlements429JSONResponseBodyType ¶
type ListEntitlements429JSONResponseBodyType string
ListEntitlements429JSONResponseBodyType defines parameters for ListEntitlements.
const (
ListEntitlements429JSONResponseBodyTypeRateLimitError ListEntitlements429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListEntitlements429JSONResponseBodyType.
func (ListEntitlements429JSONResponseBodyType) Valid ¶
func (e ListEntitlements429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements429JSONResponseBodyType enum.
type ListEntitlements500JSONResponseBodyObject ¶
type ListEntitlements500JSONResponseBodyObject string
ListEntitlements500JSONResponseBodyObject defines parameters for ListEntitlements.
const (
ListEntitlements500JSONResponseBodyObjectError ListEntitlements500JSONResponseBodyObject = "error"
)
Defines values for ListEntitlements500JSONResponseBodyObject.
func (ListEntitlements500JSONResponseBodyObject) Valid ¶
func (e ListEntitlements500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements500JSONResponseBodyObject enum.
type ListEntitlements500JSONResponseBodyType ¶
type ListEntitlements500JSONResponseBodyType string
ListEntitlements500JSONResponseBodyType defines parameters for ListEntitlements.
const (
ListEntitlements500JSONResponseBodyTypeServerError ListEntitlements500JSONResponseBodyType = "server_error"
)
Defines values for ListEntitlements500JSONResponseBodyType.
func (ListEntitlements500JSONResponseBodyType) Valid ¶
func (e ListEntitlements500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements500JSONResponseBodyType enum.
type ListEntitlements503JSONResponseBodyObject ¶
type ListEntitlements503JSONResponseBodyObject string
ListEntitlements503JSONResponseBodyObject defines parameters for ListEntitlements.
const (
ListEntitlements503JSONResponseBodyObjectError ListEntitlements503JSONResponseBodyObject = "error"
)
Defines values for ListEntitlements503JSONResponseBodyObject.
func (ListEntitlements503JSONResponseBodyObject) Valid ¶
func (e ListEntitlements503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements503JSONResponseBodyObject enum.
type ListEntitlements503JSONResponseBodyType ¶
type ListEntitlements503JSONResponseBodyType string
ListEntitlements503JSONResponseBodyType defines parameters for ListEntitlements.
const (
ListEntitlements503JSONResponseBodyTypeServerError ListEntitlements503JSONResponseBodyType = "server_error"
)
Defines values for ListEntitlements503JSONResponseBodyType.
func (ListEntitlements503JSONResponseBodyType) Valid ¶
func (e ListEntitlements503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlements503JSONResponseBodyType enum.
type ListEntitlementsObject ¶
type ListEntitlementsObject string
ListEntitlementsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListEntitlementsObjectList ListEntitlementsObject = "list"
)
Defines values for ListEntitlementsObject.
func (ListEntitlementsObject) Valid ¶
func (e ListEntitlementsObject) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlementsObject enum.
type ListEntitlementsParams ¶
type ListEntitlementsParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Expand Specifies which fields in the response should be expanded.
// Accepted values are: `items.product` (requires `project_configuration:products:read` permission).
Expand *[]ListEntitlementsParamsExpand `form:"expand,omitempty" json:"expand,omitempty"`
}
ListEntitlementsParams defines parameters for ListEntitlements.
type ListEntitlementsParamsExpand ¶
type ListEntitlementsParamsExpand string
ListEntitlementsParamsExpand defines parameters for ListEntitlements.
const (
ListEntitlementsParamsExpandItemsProduct ListEntitlementsParamsExpand = "items.product"
)
Defines values for ListEntitlementsParamsExpand.
func (ListEntitlementsParamsExpand) Valid ¶
func (e ListEntitlementsParamsExpand) Valid() bool
Valid indicates whether the value is a known member of the ListEntitlementsParamsExpand enum.
type ListOfferings ¶
type ListOfferings struct {
// Items Details about each object.
Items []Offering `json:"items"`
// NextPage URL to access the next page of the project's offerings. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/offerings?starting_after=ofrngeab21da
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListOfferingsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/offerings
URL string `json:"url"`
}
ListOfferings defines model for ListOfferings.
type ListOfferings400JSONResponseBodyObject ¶
type ListOfferings400JSONResponseBodyObject string
ListOfferings400JSONResponseBodyObject defines parameters for ListOfferings.
const (
ListOfferings400JSONResponseBodyObjectError ListOfferings400JSONResponseBodyObject = "error"
)
Defines values for ListOfferings400JSONResponseBodyObject.
func (ListOfferings400JSONResponseBodyObject) Valid ¶
func (e ListOfferings400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings400JSONResponseBodyObject enum.
type ListOfferings400JSONResponseBodyType ¶
type ListOfferings400JSONResponseBodyType string
ListOfferings400JSONResponseBodyType defines parameters for ListOfferings.
const ( ListOfferings400JSONResponseBodyTypeInvalidRequest ListOfferings400JSONResponseBodyType = "invalid_request" ListOfferings400JSONResponseBodyTypeParameterError ListOfferings400JSONResponseBodyType = "parameter_error" )
Defines values for ListOfferings400JSONResponseBodyType.
func (ListOfferings400JSONResponseBodyType) Valid ¶
func (e ListOfferings400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings400JSONResponseBodyType enum.
type ListOfferings401JSONResponseBodyObject ¶
type ListOfferings401JSONResponseBodyObject string
ListOfferings401JSONResponseBodyObject defines parameters for ListOfferings.
const (
ListOfferings401JSONResponseBodyObjectError ListOfferings401JSONResponseBodyObject = "error"
)
Defines values for ListOfferings401JSONResponseBodyObject.
func (ListOfferings401JSONResponseBodyObject) Valid ¶
func (e ListOfferings401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings401JSONResponseBodyObject enum.
type ListOfferings401JSONResponseBodyType ¶
type ListOfferings401JSONResponseBodyType string
ListOfferings401JSONResponseBodyType defines parameters for ListOfferings.
const (
ListOfferings401JSONResponseBodyTypeAuthenticationError ListOfferings401JSONResponseBodyType = "authentication_error"
)
Defines values for ListOfferings401JSONResponseBodyType.
func (ListOfferings401JSONResponseBodyType) Valid ¶
func (e ListOfferings401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings401JSONResponseBodyType enum.
type ListOfferings403JSONResponseBodyObject ¶
type ListOfferings403JSONResponseBodyObject string
ListOfferings403JSONResponseBodyObject defines parameters for ListOfferings.
const (
ListOfferings403JSONResponseBodyObjectError ListOfferings403JSONResponseBodyObject = "error"
)
Defines values for ListOfferings403JSONResponseBodyObject.
func (ListOfferings403JSONResponseBodyObject) Valid ¶
func (e ListOfferings403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings403JSONResponseBodyObject enum.
type ListOfferings403JSONResponseBodyType ¶
type ListOfferings403JSONResponseBodyType string
ListOfferings403JSONResponseBodyType defines parameters for ListOfferings.
const (
ListOfferings403JSONResponseBodyTypeAuthorizationError ListOfferings403JSONResponseBodyType = "authorization_error"
)
Defines values for ListOfferings403JSONResponseBodyType.
func (ListOfferings403JSONResponseBodyType) Valid ¶
func (e ListOfferings403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings403JSONResponseBodyType enum.
type ListOfferings404JSONResponseBodyObject ¶
type ListOfferings404JSONResponseBodyObject string
ListOfferings404JSONResponseBodyObject defines parameters for ListOfferings.
const (
ListOfferings404JSONResponseBodyObjectError ListOfferings404JSONResponseBodyObject = "error"
)
Defines values for ListOfferings404JSONResponseBodyObject.
func (ListOfferings404JSONResponseBodyObject) Valid ¶
func (e ListOfferings404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings404JSONResponseBodyObject enum.
type ListOfferings404JSONResponseBodyType ¶
type ListOfferings404JSONResponseBodyType string
ListOfferings404JSONResponseBodyType defines parameters for ListOfferings.
const (
ListOfferings404JSONResponseBodyTypeResourceMissing ListOfferings404JSONResponseBodyType = "resource_missing"
)
Defines values for ListOfferings404JSONResponseBodyType.
func (ListOfferings404JSONResponseBodyType) Valid ¶
func (e ListOfferings404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings404JSONResponseBodyType enum.
type ListOfferings423JSONResponseBodyObject ¶
type ListOfferings423JSONResponseBodyObject string
ListOfferings423JSONResponseBodyObject defines parameters for ListOfferings.
const (
ListOfferings423JSONResponseBodyObjectError ListOfferings423JSONResponseBodyObject = "error"
)
Defines values for ListOfferings423JSONResponseBodyObject.
func (ListOfferings423JSONResponseBodyObject) Valid ¶
func (e ListOfferings423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings423JSONResponseBodyObject enum.
type ListOfferings423JSONResponseBodyType ¶
type ListOfferings423JSONResponseBodyType string
ListOfferings423JSONResponseBodyType defines parameters for ListOfferings.
const (
ListOfferings423JSONResponseBodyTypeResourceLockedError ListOfferings423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListOfferings423JSONResponseBodyType.
func (ListOfferings423JSONResponseBodyType) Valid ¶
func (e ListOfferings423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings423JSONResponseBodyType enum.
type ListOfferings429JSONResponseBodyObject ¶
type ListOfferings429JSONResponseBodyObject string
ListOfferings429JSONResponseBodyObject defines parameters for ListOfferings.
const (
ListOfferings429JSONResponseBodyObjectError ListOfferings429JSONResponseBodyObject = "error"
)
Defines values for ListOfferings429JSONResponseBodyObject.
func (ListOfferings429JSONResponseBodyObject) Valid ¶
func (e ListOfferings429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings429JSONResponseBodyObject enum.
type ListOfferings429JSONResponseBodyType ¶
type ListOfferings429JSONResponseBodyType string
ListOfferings429JSONResponseBodyType defines parameters for ListOfferings.
const (
ListOfferings429JSONResponseBodyTypeRateLimitError ListOfferings429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListOfferings429JSONResponseBodyType.
func (ListOfferings429JSONResponseBodyType) Valid ¶
func (e ListOfferings429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings429JSONResponseBodyType enum.
type ListOfferings500JSONResponseBodyObject ¶
type ListOfferings500JSONResponseBodyObject string
ListOfferings500JSONResponseBodyObject defines parameters for ListOfferings.
const (
ListOfferings500JSONResponseBodyObjectError ListOfferings500JSONResponseBodyObject = "error"
)
Defines values for ListOfferings500JSONResponseBodyObject.
func (ListOfferings500JSONResponseBodyObject) Valid ¶
func (e ListOfferings500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings500JSONResponseBodyObject enum.
type ListOfferings500JSONResponseBodyType ¶
type ListOfferings500JSONResponseBodyType string
ListOfferings500JSONResponseBodyType defines parameters for ListOfferings.
const (
ListOfferings500JSONResponseBodyTypeServerError ListOfferings500JSONResponseBodyType = "server_error"
)
Defines values for ListOfferings500JSONResponseBodyType.
func (ListOfferings500JSONResponseBodyType) Valid ¶
func (e ListOfferings500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings500JSONResponseBodyType enum.
type ListOfferings503JSONResponseBodyObject ¶
type ListOfferings503JSONResponseBodyObject string
ListOfferings503JSONResponseBodyObject defines parameters for ListOfferings.
const (
ListOfferings503JSONResponseBodyObjectError ListOfferings503JSONResponseBodyObject = "error"
)
Defines values for ListOfferings503JSONResponseBodyObject.
func (ListOfferings503JSONResponseBodyObject) Valid ¶
func (e ListOfferings503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings503JSONResponseBodyObject enum.
type ListOfferings503JSONResponseBodyType ¶
type ListOfferings503JSONResponseBodyType string
ListOfferings503JSONResponseBodyType defines parameters for ListOfferings.
const (
ListOfferings503JSONResponseBodyTypeServerError ListOfferings503JSONResponseBodyType = "server_error"
)
Defines values for ListOfferings503JSONResponseBodyType.
func (ListOfferings503JSONResponseBodyType) Valid ¶
func (e ListOfferings503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListOfferings503JSONResponseBodyType enum.
type ListOfferingsObject ¶
type ListOfferingsObject string
ListOfferingsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListOfferingsObjectList ListOfferingsObject = "list"
)
Defines values for ListOfferingsObject.
func (ListOfferingsObject) Valid ¶
func (e ListOfferingsObject) Valid() bool
Valid indicates whether the value is a known member of the ListOfferingsObject enum.
type ListOfferingsParams ¶
type ListOfferingsParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Expand Specifies which fields in the response should be expanded.
// Accepted values are: `items.package` (requires `project_configuration:packages:read` permission), `items.package.product` (requires `project_configuration:products:read` permission).
Expand *[]ListOfferingsParamsExpand `form:"expand,omitempty" json:"expand,omitempty"`
}
ListOfferingsParams defines parameters for ListOfferings.
type ListOfferingsParamsExpand ¶
type ListOfferingsParamsExpand string
ListOfferingsParamsExpand defines parameters for ListOfferings.
const ( ItemsPackage ListOfferingsParamsExpand = "items.package" ItemsPackageProduct ListOfferingsParamsExpand = "items.package.product" )
Defines values for ListOfferingsParamsExpand.
func (ListOfferingsParamsExpand) Valid ¶
func (e ListOfferingsParamsExpand) Valid() bool
Valid indicates whether the value is a known member of the ListOfferingsParamsExpand enum.
type ListOptions ¶
ListOptions are shared cursor-pagination params.
type ListPackages ¶
type ListPackages struct {
// Items Details about each object.
Items []Package `json:"items"`
// NextPage URL to access the next page of the project's packages. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages?starting_after=pkgeab21dac
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListPackagesObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages
URL string `json:"url"`
}
ListPackages defines model for ListPackages.
type ListPackages400JSONResponseBodyObject ¶
type ListPackages400JSONResponseBodyObject string
ListPackages400JSONResponseBodyObject defines parameters for ListPackages.
const (
ListPackages400JSONResponseBodyObjectError ListPackages400JSONResponseBodyObject = "error"
)
Defines values for ListPackages400JSONResponseBodyObject.
func (ListPackages400JSONResponseBodyObject) Valid ¶
func (e ListPackages400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPackages400JSONResponseBodyObject enum.
type ListPackages400JSONResponseBodyType ¶
type ListPackages400JSONResponseBodyType string
ListPackages400JSONResponseBodyType defines parameters for ListPackages.
const ( ListPackages400JSONResponseBodyTypeInvalidRequest ListPackages400JSONResponseBodyType = "invalid_request" ListPackages400JSONResponseBodyTypeParameterError ListPackages400JSONResponseBodyType = "parameter_error" )
Defines values for ListPackages400JSONResponseBodyType.
func (ListPackages400JSONResponseBodyType) Valid ¶
func (e ListPackages400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPackages400JSONResponseBodyType enum.
type ListPackages401JSONResponseBodyObject ¶
type ListPackages401JSONResponseBodyObject string
ListPackages401JSONResponseBodyObject defines parameters for ListPackages.
const (
ListPackages401JSONResponseBodyObjectError ListPackages401JSONResponseBodyObject = "error"
)
Defines values for ListPackages401JSONResponseBodyObject.
func (ListPackages401JSONResponseBodyObject) Valid ¶
func (e ListPackages401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPackages401JSONResponseBodyObject enum.
type ListPackages401JSONResponseBodyType ¶
type ListPackages401JSONResponseBodyType string
ListPackages401JSONResponseBodyType defines parameters for ListPackages.
const (
ListPackages401JSONResponseBodyTypeAuthenticationError ListPackages401JSONResponseBodyType = "authentication_error"
)
Defines values for ListPackages401JSONResponseBodyType.
func (ListPackages401JSONResponseBodyType) Valid ¶
func (e ListPackages401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPackages401JSONResponseBodyType enum.
type ListPackages403JSONResponseBodyObject ¶
type ListPackages403JSONResponseBodyObject string
ListPackages403JSONResponseBodyObject defines parameters for ListPackages.
const (
ListPackages403JSONResponseBodyObjectError ListPackages403JSONResponseBodyObject = "error"
)
Defines values for ListPackages403JSONResponseBodyObject.
func (ListPackages403JSONResponseBodyObject) Valid ¶
func (e ListPackages403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPackages403JSONResponseBodyObject enum.
type ListPackages403JSONResponseBodyType ¶
type ListPackages403JSONResponseBodyType string
ListPackages403JSONResponseBodyType defines parameters for ListPackages.
const (
ListPackages403JSONResponseBodyTypeAuthorizationError ListPackages403JSONResponseBodyType = "authorization_error"
)
Defines values for ListPackages403JSONResponseBodyType.
func (ListPackages403JSONResponseBodyType) Valid ¶
func (e ListPackages403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPackages403JSONResponseBodyType enum.
type ListPackages404JSONResponseBodyObject ¶
type ListPackages404JSONResponseBodyObject string
ListPackages404JSONResponseBodyObject defines parameters for ListPackages.
const (
ListPackages404JSONResponseBodyObjectError ListPackages404JSONResponseBodyObject = "error"
)
Defines values for ListPackages404JSONResponseBodyObject.
func (ListPackages404JSONResponseBodyObject) Valid ¶
func (e ListPackages404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPackages404JSONResponseBodyObject enum.
type ListPackages404JSONResponseBodyType ¶
type ListPackages404JSONResponseBodyType string
ListPackages404JSONResponseBodyType defines parameters for ListPackages.
const (
ListPackages404JSONResponseBodyTypeResourceMissing ListPackages404JSONResponseBodyType = "resource_missing"
)
Defines values for ListPackages404JSONResponseBodyType.
func (ListPackages404JSONResponseBodyType) Valid ¶
func (e ListPackages404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPackages404JSONResponseBodyType enum.
type ListPackages423JSONResponseBodyObject ¶
type ListPackages423JSONResponseBodyObject string
ListPackages423JSONResponseBodyObject defines parameters for ListPackages.
const (
ListPackages423JSONResponseBodyObjectError ListPackages423JSONResponseBodyObject = "error"
)
Defines values for ListPackages423JSONResponseBodyObject.
func (ListPackages423JSONResponseBodyObject) Valid ¶
func (e ListPackages423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPackages423JSONResponseBodyObject enum.
type ListPackages423JSONResponseBodyType ¶
type ListPackages423JSONResponseBodyType string
ListPackages423JSONResponseBodyType defines parameters for ListPackages.
const (
ListPackages423JSONResponseBodyTypeResourceLockedError ListPackages423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListPackages423JSONResponseBodyType.
func (ListPackages423JSONResponseBodyType) Valid ¶
func (e ListPackages423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPackages423JSONResponseBodyType enum.
type ListPackages429JSONResponseBodyObject ¶
type ListPackages429JSONResponseBodyObject string
ListPackages429JSONResponseBodyObject defines parameters for ListPackages.
const (
ListPackages429JSONResponseBodyObjectError ListPackages429JSONResponseBodyObject = "error"
)
Defines values for ListPackages429JSONResponseBodyObject.
func (ListPackages429JSONResponseBodyObject) Valid ¶
func (e ListPackages429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPackages429JSONResponseBodyObject enum.
type ListPackages429JSONResponseBodyType ¶
type ListPackages429JSONResponseBodyType string
ListPackages429JSONResponseBodyType defines parameters for ListPackages.
const (
ListPackages429JSONResponseBodyTypeRateLimitError ListPackages429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListPackages429JSONResponseBodyType.
func (ListPackages429JSONResponseBodyType) Valid ¶
func (e ListPackages429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPackages429JSONResponseBodyType enum.
type ListPackages500JSONResponseBodyObject ¶
type ListPackages500JSONResponseBodyObject string
ListPackages500JSONResponseBodyObject defines parameters for ListPackages.
const (
ListPackages500JSONResponseBodyObjectError ListPackages500JSONResponseBodyObject = "error"
)
Defines values for ListPackages500JSONResponseBodyObject.
func (ListPackages500JSONResponseBodyObject) Valid ¶
func (e ListPackages500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPackages500JSONResponseBodyObject enum.
type ListPackages500JSONResponseBodyType ¶
type ListPackages500JSONResponseBodyType string
ListPackages500JSONResponseBodyType defines parameters for ListPackages.
const (
ListPackages500JSONResponseBodyTypeServerError ListPackages500JSONResponseBodyType = "server_error"
)
Defines values for ListPackages500JSONResponseBodyType.
func (ListPackages500JSONResponseBodyType) Valid ¶
func (e ListPackages500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPackages500JSONResponseBodyType enum.
type ListPackages503JSONResponseBodyObject ¶
type ListPackages503JSONResponseBodyObject string
ListPackages503JSONResponseBodyObject defines parameters for ListPackages.
const (
ListPackages503JSONResponseBodyObjectError ListPackages503JSONResponseBodyObject = "error"
)
Defines values for ListPackages503JSONResponseBodyObject.
func (ListPackages503JSONResponseBodyObject) Valid ¶
func (e ListPackages503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPackages503JSONResponseBodyObject enum.
type ListPackages503JSONResponseBodyType ¶
type ListPackages503JSONResponseBodyType string
ListPackages503JSONResponseBodyType defines parameters for ListPackages.
const (
ListPackages503JSONResponseBodyTypeServerError ListPackages503JSONResponseBodyType = "server_error"
)
Defines values for ListPackages503JSONResponseBodyType.
func (ListPackages503JSONResponseBodyType) Valid ¶
func (e ListPackages503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPackages503JSONResponseBodyType enum.
type ListPackagesObject ¶
type ListPackagesObject string
ListPackagesObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListPackagesObjectList ListPackagesObject = "list"
)
Defines values for ListPackagesObject.
func (ListPackagesObject) Valid ¶
func (e ListPackagesObject) Valid() bool
Valid indicates whether the value is a known member of the ListPackagesObject enum.
type ListPackagesParams ¶
type ListPackagesParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Expand Specifies which fields in the response should be expanded.
// Accepted values are: `items.product` (requires `project_configuration:products:read` permission).
Expand *[]ListPackagesParamsExpand `form:"expand,omitempty" json:"expand,omitempty"`
}
ListPackagesParams defines parameters for ListPackages.
type ListPackagesParamsExpand ¶
type ListPackagesParamsExpand string
ListPackagesParamsExpand defines parameters for ListPackages.
const (
ListPackagesParamsExpandItemsProduct ListPackagesParamsExpand = "items.product"
)
Defines values for ListPackagesParamsExpand.
func (ListPackagesParamsExpand) Valid ¶
func (e ListPackagesParamsExpand) Valid() bool
Valid indicates whether the value is a known member of the ListPackagesParamsExpand enum.
type ListPaywalls ¶
type ListPaywalls struct {
// Items Details about each object.
Items []Paywall `json:"items"`
// NextPage URL to access the next page of the project's paywalls. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/paywalls?starting_after=pwXXXXXXXXXXXXXX
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListPaywallsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/paywalls
URL string `json:"url"`
}
ListPaywalls defines model for ListPaywalls.
type ListPaywalls400JSONResponseBodyObject ¶
type ListPaywalls400JSONResponseBodyObject string
ListPaywalls400JSONResponseBodyObject defines parameters for ListPaywalls.
const (
ListPaywalls400JSONResponseBodyObjectError ListPaywalls400JSONResponseBodyObject = "error"
)
Defines values for ListPaywalls400JSONResponseBodyObject.
func (ListPaywalls400JSONResponseBodyObject) Valid ¶
func (e ListPaywalls400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls400JSONResponseBodyObject enum.
type ListPaywalls400JSONResponseBodyType ¶
type ListPaywalls400JSONResponseBodyType string
ListPaywalls400JSONResponseBodyType defines parameters for ListPaywalls.
const ( ListPaywalls400JSONResponseBodyTypeInvalidRequest ListPaywalls400JSONResponseBodyType = "invalid_request" ListPaywalls400JSONResponseBodyTypeParameterError ListPaywalls400JSONResponseBodyType = "parameter_error" )
Defines values for ListPaywalls400JSONResponseBodyType.
func (ListPaywalls400JSONResponseBodyType) Valid ¶
func (e ListPaywalls400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls400JSONResponseBodyType enum.
type ListPaywalls401JSONResponseBodyObject ¶
type ListPaywalls401JSONResponseBodyObject string
ListPaywalls401JSONResponseBodyObject defines parameters for ListPaywalls.
const (
ListPaywalls401JSONResponseBodyObjectError ListPaywalls401JSONResponseBodyObject = "error"
)
Defines values for ListPaywalls401JSONResponseBodyObject.
func (ListPaywalls401JSONResponseBodyObject) Valid ¶
func (e ListPaywalls401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls401JSONResponseBodyObject enum.
type ListPaywalls401JSONResponseBodyType ¶
type ListPaywalls401JSONResponseBodyType string
ListPaywalls401JSONResponseBodyType defines parameters for ListPaywalls.
const (
ListPaywalls401JSONResponseBodyTypeAuthenticationError ListPaywalls401JSONResponseBodyType = "authentication_error"
)
Defines values for ListPaywalls401JSONResponseBodyType.
func (ListPaywalls401JSONResponseBodyType) Valid ¶
func (e ListPaywalls401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls401JSONResponseBodyType enum.
type ListPaywalls403JSONResponseBodyObject ¶
type ListPaywalls403JSONResponseBodyObject string
ListPaywalls403JSONResponseBodyObject defines parameters for ListPaywalls.
const (
ListPaywalls403JSONResponseBodyObjectError ListPaywalls403JSONResponseBodyObject = "error"
)
Defines values for ListPaywalls403JSONResponseBodyObject.
func (ListPaywalls403JSONResponseBodyObject) Valid ¶
func (e ListPaywalls403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls403JSONResponseBodyObject enum.
type ListPaywalls403JSONResponseBodyType ¶
type ListPaywalls403JSONResponseBodyType string
ListPaywalls403JSONResponseBodyType defines parameters for ListPaywalls.
const (
ListPaywalls403JSONResponseBodyTypeAuthorizationError ListPaywalls403JSONResponseBodyType = "authorization_error"
)
Defines values for ListPaywalls403JSONResponseBodyType.
func (ListPaywalls403JSONResponseBodyType) Valid ¶
func (e ListPaywalls403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls403JSONResponseBodyType enum.
type ListPaywalls404JSONResponseBodyObject ¶
type ListPaywalls404JSONResponseBodyObject string
ListPaywalls404JSONResponseBodyObject defines parameters for ListPaywalls.
const (
ListPaywalls404JSONResponseBodyObjectError ListPaywalls404JSONResponseBodyObject = "error"
)
Defines values for ListPaywalls404JSONResponseBodyObject.
func (ListPaywalls404JSONResponseBodyObject) Valid ¶
func (e ListPaywalls404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls404JSONResponseBodyObject enum.
type ListPaywalls404JSONResponseBodyType ¶
type ListPaywalls404JSONResponseBodyType string
ListPaywalls404JSONResponseBodyType defines parameters for ListPaywalls.
const (
ListPaywalls404JSONResponseBodyTypeResourceMissing ListPaywalls404JSONResponseBodyType = "resource_missing"
)
Defines values for ListPaywalls404JSONResponseBodyType.
func (ListPaywalls404JSONResponseBodyType) Valid ¶
func (e ListPaywalls404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls404JSONResponseBodyType enum.
type ListPaywalls423JSONResponseBodyObject ¶
type ListPaywalls423JSONResponseBodyObject string
ListPaywalls423JSONResponseBodyObject defines parameters for ListPaywalls.
const (
ListPaywalls423JSONResponseBodyObjectError ListPaywalls423JSONResponseBodyObject = "error"
)
Defines values for ListPaywalls423JSONResponseBodyObject.
func (ListPaywalls423JSONResponseBodyObject) Valid ¶
func (e ListPaywalls423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls423JSONResponseBodyObject enum.
type ListPaywalls423JSONResponseBodyType ¶
type ListPaywalls423JSONResponseBodyType string
ListPaywalls423JSONResponseBodyType defines parameters for ListPaywalls.
const (
ListPaywalls423JSONResponseBodyTypeResourceLockedError ListPaywalls423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListPaywalls423JSONResponseBodyType.
func (ListPaywalls423JSONResponseBodyType) Valid ¶
func (e ListPaywalls423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls423JSONResponseBodyType enum.
type ListPaywalls429JSONResponseBodyObject ¶
type ListPaywalls429JSONResponseBodyObject string
ListPaywalls429JSONResponseBodyObject defines parameters for ListPaywalls.
const (
ListPaywalls429JSONResponseBodyObjectError ListPaywalls429JSONResponseBodyObject = "error"
)
Defines values for ListPaywalls429JSONResponseBodyObject.
func (ListPaywalls429JSONResponseBodyObject) Valid ¶
func (e ListPaywalls429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls429JSONResponseBodyObject enum.
type ListPaywalls429JSONResponseBodyType ¶
type ListPaywalls429JSONResponseBodyType string
ListPaywalls429JSONResponseBodyType defines parameters for ListPaywalls.
const (
ListPaywalls429JSONResponseBodyTypeRateLimitError ListPaywalls429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListPaywalls429JSONResponseBodyType.
func (ListPaywalls429JSONResponseBodyType) Valid ¶
func (e ListPaywalls429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls429JSONResponseBodyType enum.
type ListPaywalls500JSONResponseBodyObject ¶
type ListPaywalls500JSONResponseBodyObject string
ListPaywalls500JSONResponseBodyObject defines parameters for ListPaywalls.
const (
ListPaywalls500JSONResponseBodyObjectError ListPaywalls500JSONResponseBodyObject = "error"
)
Defines values for ListPaywalls500JSONResponseBodyObject.
func (ListPaywalls500JSONResponseBodyObject) Valid ¶
func (e ListPaywalls500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls500JSONResponseBodyObject enum.
type ListPaywalls500JSONResponseBodyType ¶
type ListPaywalls500JSONResponseBodyType string
ListPaywalls500JSONResponseBodyType defines parameters for ListPaywalls.
const (
ListPaywalls500JSONResponseBodyTypeServerError ListPaywalls500JSONResponseBodyType = "server_error"
)
Defines values for ListPaywalls500JSONResponseBodyType.
func (ListPaywalls500JSONResponseBodyType) Valid ¶
func (e ListPaywalls500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls500JSONResponseBodyType enum.
type ListPaywalls503JSONResponseBodyObject ¶
type ListPaywalls503JSONResponseBodyObject string
ListPaywalls503JSONResponseBodyObject defines parameters for ListPaywalls.
const (
ListPaywalls503JSONResponseBodyObjectError ListPaywalls503JSONResponseBodyObject = "error"
)
Defines values for ListPaywalls503JSONResponseBodyObject.
func (ListPaywalls503JSONResponseBodyObject) Valid ¶
func (e ListPaywalls503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls503JSONResponseBodyObject enum.
type ListPaywalls503JSONResponseBodyType ¶
type ListPaywalls503JSONResponseBodyType string
ListPaywalls503JSONResponseBodyType defines parameters for ListPaywalls.
const (
ListPaywalls503JSONResponseBodyTypeServerError ListPaywalls503JSONResponseBodyType = "server_error"
)
Defines values for ListPaywalls503JSONResponseBodyType.
func (ListPaywalls503JSONResponseBodyType) Valid ¶
func (e ListPaywalls503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPaywalls503JSONResponseBodyType enum.
type ListPaywallsObject ¶
type ListPaywallsObject string
ListPaywallsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListPaywallsObjectList ListPaywallsObject = "list"
)
Defines values for ListPaywallsObject.
func (ListPaywallsObject) Valid ¶
func (e ListPaywallsObject) Valid() bool
Valid indicates whether the value is a known member of the ListPaywallsObject enum.
type ListPaywallsParams ¶
type ListPaywallsParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Expand Specifies which fields in the response should be expanded.
// Accepted values are: `items.offering` (requires `project_configuration:offerings:read` permission).
Expand *[]ListPaywallsParamsExpand `form:"expand,omitempty" json:"expand,omitempty"`
}
ListPaywallsParams defines parameters for ListPaywalls.
type ListPaywallsParamsExpand ¶
type ListPaywallsParamsExpand string
ListPaywallsParamsExpand defines parameters for ListPaywalls.
const (
ItemsOffering ListPaywallsParamsExpand = "items.offering"
)
Defines values for ListPaywallsParamsExpand.
func (ListPaywallsParamsExpand) Valid ¶
func (e ListPaywallsParamsExpand) Valid() bool
Valid indicates whether the value is a known member of the ListPaywallsParamsExpand enum.
type ListProductStoreStatePlansParams ¶
type ListProductStoreStatePlansParams struct {
// Status Filter plans by status
Status *ListProductStoreStatePlansParamsStatus `form:"status,omitempty" json:"status,omitempty"`
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListProductStoreStatePlansParams defines parameters for ListProductStoreStatePlans.
type ListProductStoreStatePlansParamsStatus ¶
type ListProductStoreStatePlansParamsStatus string
ListProductStoreStatePlansParamsStatus defines parameters for ListProductStoreStatePlans.
const ( ListProductStoreStatePlansParamsStatusApplied ListProductStoreStatePlansParamsStatus = "applied" ListProductStoreStatePlansParamsStatusApplyErrored ListProductStoreStatePlansParamsStatus = "apply_errored" ListProductStoreStatePlansParamsStatusApplyQueued ListProductStoreStatePlansParamsStatus = "apply_queued" ListProductStoreStatePlansParamsStatusApplying ListProductStoreStatePlansParamsStatus = "applying" ListProductStoreStatePlansParamsStatusCancelled ListProductStoreStatePlansParamsStatus = "cancelled" ListProductStoreStatePlansParamsStatusDiscarded ListProductStoreStatePlansParamsStatus = "discarded" ListProductStoreStatePlansParamsStatusDraft ListProductStoreStatePlansParamsStatus = "draft" ListProductStoreStatePlansParamsStatusExpired ListProductStoreStatePlansParamsStatus = "expired" ListProductStoreStatePlansParamsStatusPlanErrored ListProductStoreStatePlansParamsStatus = "plan_errored" ListProductStoreStatePlansParamsStatusPlanQueued ListProductStoreStatePlansParamsStatus = "plan_queued" ListProductStoreStatePlansParamsStatusPlanned ListProductStoreStatePlansParamsStatus = "planned" ListProductStoreStatePlansParamsStatusPlannedAndFinished ListProductStoreStatePlansParamsStatus = "planned_and_finished" ListProductStoreStatePlansParamsStatusPlanning ListProductStoreStatePlansParamsStatus = "planning" )
Defines values for ListProductStoreStatePlansParamsStatus.
func (ListProductStoreStatePlansParamsStatus) Valid ¶
func (e ListProductStoreStatePlansParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListProductStoreStatePlansParamsStatus enum.
type ListProducts ¶
type ListProducts struct {
// Items Details about each object.
Items []Product `json:"items"`
// NextPage URL to access the next page of the project's products. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/products?starting_after=prodab21dac
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListProductsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/products
URL string `json:"url"`
}
ListProducts defines model for ListProducts.
type ListProducts400JSONResponseBodyObject ¶
type ListProducts400JSONResponseBodyObject string
ListProducts400JSONResponseBodyObject defines parameters for ListProducts.
const (
ListProducts400JSONResponseBodyObjectError ListProducts400JSONResponseBodyObject = "error"
)
Defines values for ListProducts400JSONResponseBodyObject.
func (ListProducts400JSONResponseBodyObject) Valid ¶
func (e ListProducts400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProducts400JSONResponseBodyObject enum.
type ListProducts400JSONResponseBodyType ¶
type ListProducts400JSONResponseBodyType string
ListProducts400JSONResponseBodyType defines parameters for ListProducts.
const ( ListProducts400JSONResponseBodyTypeInvalidRequest ListProducts400JSONResponseBodyType = "invalid_request" ListProducts400JSONResponseBodyTypeParameterError ListProducts400JSONResponseBodyType = "parameter_error" )
Defines values for ListProducts400JSONResponseBodyType.
func (ListProducts400JSONResponseBodyType) Valid ¶
func (e ListProducts400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProducts400JSONResponseBodyType enum.
type ListProducts401JSONResponseBodyObject ¶
type ListProducts401JSONResponseBodyObject string
ListProducts401JSONResponseBodyObject defines parameters for ListProducts.
const (
ListProducts401JSONResponseBodyObjectError ListProducts401JSONResponseBodyObject = "error"
)
Defines values for ListProducts401JSONResponseBodyObject.
func (ListProducts401JSONResponseBodyObject) Valid ¶
func (e ListProducts401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProducts401JSONResponseBodyObject enum.
type ListProducts401JSONResponseBodyType ¶
type ListProducts401JSONResponseBodyType string
ListProducts401JSONResponseBodyType defines parameters for ListProducts.
const (
ListProducts401JSONResponseBodyTypeAuthenticationError ListProducts401JSONResponseBodyType = "authentication_error"
)
Defines values for ListProducts401JSONResponseBodyType.
func (ListProducts401JSONResponseBodyType) Valid ¶
func (e ListProducts401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProducts401JSONResponseBodyType enum.
type ListProducts403JSONResponseBodyObject ¶
type ListProducts403JSONResponseBodyObject string
ListProducts403JSONResponseBodyObject defines parameters for ListProducts.
const (
ListProducts403JSONResponseBodyObjectError ListProducts403JSONResponseBodyObject = "error"
)
Defines values for ListProducts403JSONResponseBodyObject.
func (ListProducts403JSONResponseBodyObject) Valid ¶
func (e ListProducts403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProducts403JSONResponseBodyObject enum.
type ListProducts403JSONResponseBodyType ¶
type ListProducts403JSONResponseBodyType string
ListProducts403JSONResponseBodyType defines parameters for ListProducts.
const (
ListProducts403JSONResponseBodyTypeAuthorizationError ListProducts403JSONResponseBodyType = "authorization_error"
)
Defines values for ListProducts403JSONResponseBodyType.
func (ListProducts403JSONResponseBodyType) Valid ¶
func (e ListProducts403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProducts403JSONResponseBodyType enum.
type ListProducts404JSONResponseBodyObject ¶
type ListProducts404JSONResponseBodyObject string
ListProducts404JSONResponseBodyObject defines parameters for ListProducts.
const (
ListProducts404JSONResponseBodyObjectError ListProducts404JSONResponseBodyObject = "error"
)
Defines values for ListProducts404JSONResponseBodyObject.
func (ListProducts404JSONResponseBodyObject) Valid ¶
func (e ListProducts404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProducts404JSONResponseBodyObject enum.
type ListProducts404JSONResponseBodyType ¶
type ListProducts404JSONResponseBodyType string
ListProducts404JSONResponseBodyType defines parameters for ListProducts.
const (
ListProducts404JSONResponseBodyTypeResourceMissing ListProducts404JSONResponseBodyType = "resource_missing"
)
Defines values for ListProducts404JSONResponseBodyType.
func (ListProducts404JSONResponseBodyType) Valid ¶
func (e ListProducts404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProducts404JSONResponseBodyType enum.
type ListProducts423JSONResponseBodyObject ¶
type ListProducts423JSONResponseBodyObject string
ListProducts423JSONResponseBodyObject defines parameters for ListProducts.
const (
ListProducts423JSONResponseBodyObjectError ListProducts423JSONResponseBodyObject = "error"
)
Defines values for ListProducts423JSONResponseBodyObject.
func (ListProducts423JSONResponseBodyObject) Valid ¶
func (e ListProducts423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProducts423JSONResponseBodyObject enum.
type ListProducts423JSONResponseBodyType ¶
type ListProducts423JSONResponseBodyType string
ListProducts423JSONResponseBodyType defines parameters for ListProducts.
const (
ListProducts423JSONResponseBodyTypeResourceLockedError ListProducts423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListProducts423JSONResponseBodyType.
func (ListProducts423JSONResponseBodyType) Valid ¶
func (e ListProducts423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProducts423JSONResponseBodyType enum.
type ListProducts429JSONResponseBodyObject ¶
type ListProducts429JSONResponseBodyObject string
ListProducts429JSONResponseBodyObject defines parameters for ListProducts.
const (
ListProducts429JSONResponseBodyObjectError ListProducts429JSONResponseBodyObject = "error"
)
Defines values for ListProducts429JSONResponseBodyObject.
func (ListProducts429JSONResponseBodyObject) Valid ¶
func (e ListProducts429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProducts429JSONResponseBodyObject enum.
type ListProducts429JSONResponseBodyType ¶
type ListProducts429JSONResponseBodyType string
ListProducts429JSONResponseBodyType defines parameters for ListProducts.
const (
ListProducts429JSONResponseBodyTypeRateLimitError ListProducts429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListProducts429JSONResponseBodyType.
func (ListProducts429JSONResponseBodyType) Valid ¶
func (e ListProducts429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProducts429JSONResponseBodyType enum.
type ListProducts500JSONResponseBodyObject ¶
type ListProducts500JSONResponseBodyObject string
ListProducts500JSONResponseBodyObject defines parameters for ListProducts.
const (
ListProducts500JSONResponseBodyObjectError ListProducts500JSONResponseBodyObject = "error"
)
Defines values for ListProducts500JSONResponseBodyObject.
func (ListProducts500JSONResponseBodyObject) Valid ¶
func (e ListProducts500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProducts500JSONResponseBodyObject enum.
type ListProducts500JSONResponseBodyType ¶
type ListProducts500JSONResponseBodyType string
ListProducts500JSONResponseBodyType defines parameters for ListProducts.
const (
ListProducts500JSONResponseBodyTypeServerError ListProducts500JSONResponseBodyType = "server_error"
)
Defines values for ListProducts500JSONResponseBodyType.
func (ListProducts500JSONResponseBodyType) Valid ¶
func (e ListProducts500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProducts500JSONResponseBodyType enum.
type ListProducts503JSONResponseBodyObject ¶
type ListProducts503JSONResponseBodyObject string
ListProducts503JSONResponseBodyObject defines parameters for ListProducts.
const (
ListProducts503JSONResponseBodyObjectError ListProducts503JSONResponseBodyObject = "error"
)
Defines values for ListProducts503JSONResponseBodyObject.
func (ListProducts503JSONResponseBodyObject) Valid ¶
func (e ListProducts503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProducts503JSONResponseBodyObject enum.
type ListProducts503JSONResponseBodyType ¶
type ListProducts503JSONResponseBodyType string
ListProducts503JSONResponseBodyType defines parameters for ListProducts.
const (
ListProducts503JSONResponseBodyTypeServerError ListProducts503JSONResponseBodyType = "server_error"
)
Defines values for ListProducts503JSONResponseBodyType.
func (ListProducts503JSONResponseBodyType) Valid ¶
func (e ListProducts503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProducts503JSONResponseBodyType enum.
type ListProductsObject ¶
type ListProductsObject string
ListProductsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListProductsObjectList ListProductsObject = "list"
)
Defines values for ListProductsObject.
func (ListProductsObject) Valid ¶
func (e ListProductsObject) Valid() bool
Valid indicates whether the value is a known member of the ListProductsObject enum.
type ListProductsParams ¶
type ListProductsParams struct {
// AppID This is an optional query parameter to get a list of products of a given entitlement associated with a particular app
AppID *string `form:"app_id,omitempty" json:"app_id,omitempty"`
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Expand Specifies which fields in the response should be expanded.
// Accepted values are: `items.app` (requires `project_configuration:apps:read` permission), `items.indicative_price` (requires `project_configuration:products:read` permission).
Expand *[]ListProductsParamsExpand `form:"expand,omitempty" json:"expand,omitempty"`
}
ListProductsParams defines parameters for ListProducts.
type ListProductsParamsExpand ¶
type ListProductsParamsExpand string
ListProductsParamsExpand defines parameters for ListProducts.
const ( ItemsApp ListProductsParamsExpand = "items.app" ItemsIndicativePrice ListProductsParamsExpand = "items.indicative_price" )
Defines values for ListProductsParamsExpand.
func (ListProductsParamsExpand) Valid ¶
func (e ListProductsParamsExpand) Valid() bool
Valid indicates whether the value is a known member of the ListProductsParamsExpand enum.
type ListProjects ¶
type ListProjects struct {
// Items Details about each object.
Items []Project `json:"items"`
// NextPage URL to access the next page of the projects. If not present / null, there is no next page
//
// Example: /v2/projects?starting_after=projab21dac
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListProjectsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects
URL string `json:"url"`
}
ListProjects defines model for ListProjects.
type ListProjects400JSONResponseBodyObject ¶
type ListProjects400JSONResponseBodyObject string
ListProjects400JSONResponseBodyObject defines parameters for ListProjects.
const (
ListProjects400JSONResponseBodyObjectError ListProjects400JSONResponseBodyObject = "error"
)
Defines values for ListProjects400JSONResponseBodyObject.
func (ListProjects400JSONResponseBodyObject) Valid ¶
func (e ListProjects400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProjects400JSONResponseBodyObject enum.
type ListProjects400JSONResponseBodyType ¶
type ListProjects400JSONResponseBodyType string
ListProjects400JSONResponseBodyType defines parameters for ListProjects.
const ( ListProjects400JSONResponseBodyTypeInvalidRequest ListProjects400JSONResponseBodyType = "invalid_request" ListProjects400JSONResponseBodyTypeParameterError ListProjects400JSONResponseBodyType = "parameter_error" )
Defines values for ListProjects400JSONResponseBodyType.
func (ListProjects400JSONResponseBodyType) Valid ¶
func (e ListProjects400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProjects400JSONResponseBodyType enum.
type ListProjects401JSONResponseBodyObject ¶
type ListProjects401JSONResponseBodyObject string
ListProjects401JSONResponseBodyObject defines parameters for ListProjects.
const (
ListProjects401JSONResponseBodyObjectError ListProjects401JSONResponseBodyObject = "error"
)
Defines values for ListProjects401JSONResponseBodyObject.
func (ListProjects401JSONResponseBodyObject) Valid ¶
func (e ListProjects401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProjects401JSONResponseBodyObject enum.
type ListProjects401JSONResponseBodyType ¶
type ListProjects401JSONResponseBodyType string
ListProjects401JSONResponseBodyType defines parameters for ListProjects.
const (
ListProjects401JSONResponseBodyTypeAuthenticationError ListProjects401JSONResponseBodyType = "authentication_error"
)
Defines values for ListProjects401JSONResponseBodyType.
func (ListProjects401JSONResponseBodyType) Valid ¶
func (e ListProjects401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProjects401JSONResponseBodyType enum.
type ListProjects403JSONResponseBodyObject ¶
type ListProjects403JSONResponseBodyObject string
ListProjects403JSONResponseBodyObject defines parameters for ListProjects.
const (
ListProjects403JSONResponseBodyObjectError ListProjects403JSONResponseBodyObject = "error"
)
Defines values for ListProjects403JSONResponseBodyObject.
func (ListProjects403JSONResponseBodyObject) Valid ¶
func (e ListProjects403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProjects403JSONResponseBodyObject enum.
type ListProjects403JSONResponseBodyType ¶
type ListProjects403JSONResponseBodyType string
ListProjects403JSONResponseBodyType defines parameters for ListProjects.
const (
ListProjects403JSONResponseBodyTypeAuthorizationError ListProjects403JSONResponseBodyType = "authorization_error"
)
Defines values for ListProjects403JSONResponseBodyType.
func (ListProjects403JSONResponseBodyType) Valid ¶
func (e ListProjects403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProjects403JSONResponseBodyType enum.
type ListProjects404JSONResponseBodyObject ¶
type ListProjects404JSONResponseBodyObject string
ListProjects404JSONResponseBodyObject defines parameters for ListProjects.
const (
ListProjects404JSONResponseBodyObjectError ListProjects404JSONResponseBodyObject = "error"
)
Defines values for ListProjects404JSONResponseBodyObject.
func (ListProjects404JSONResponseBodyObject) Valid ¶
func (e ListProjects404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProjects404JSONResponseBodyObject enum.
type ListProjects404JSONResponseBodyType ¶
type ListProjects404JSONResponseBodyType string
ListProjects404JSONResponseBodyType defines parameters for ListProjects.
const (
ListProjects404JSONResponseBodyTypeResourceMissing ListProjects404JSONResponseBodyType = "resource_missing"
)
Defines values for ListProjects404JSONResponseBodyType.
func (ListProjects404JSONResponseBodyType) Valid ¶
func (e ListProjects404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProjects404JSONResponseBodyType enum.
type ListProjects423JSONResponseBodyObject ¶
type ListProjects423JSONResponseBodyObject string
ListProjects423JSONResponseBodyObject defines parameters for ListProjects.
const (
ListProjects423JSONResponseBodyObjectError ListProjects423JSONResponseBodyObject = "error"
)
Defines values for ListProjects423JSONResponseBodyObject.
func (ListProjects423JSONResponseBodyObject) Valid ¶
func (e ListProjects423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProjects423JSONResponseBodyObject enum.
type ListProjects423JSONResponseBodyType ¶
type ListProjects423JSONResponseBodyType string
ListProjects423JSONResponseBodyType defines parameters for ListProjects.
const (
ListProjects423JSONResponseBodyTypeResourceLockedError ListProjects423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListProjects423JSONResponseBodyType.
func (ListProjects423JSONResponseBodyType) Valid ¶
func (e ListProjects423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProjects423JSONResponseBodyType enum.
type ListProjects429JSONResponseBodyObject ¶
type ListProjects429JSONResponseBodyObject string
ListProjects429JSONResponseBodyObject defines parameters for ListProjects.
const (
ListProjects429JSONResponseBodyObjectError ListProjects429JSONResponseBodyObject = "error"
)
Defines values for ListProjects429JSONResponseBodyObject.
func (ListProjects429JSONResponseBodyObject) Valid ¶
func (e ListProjects429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProjects429JSONResponseBodyObject enum.
type ListProjects429JSONResponseBodyType ¶
type ListProjects429JSONResponseBodyType string
ListProjects429JSONResponseBodyType defines parameters for ListProjects.
const (
ListProjects429JSONResponseBodyTypeRateLimitError ListProjects429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListProjects429JSONResponseBodyType.
func (ListProjects429JSONResponseBodyType) Valid ¶
func (e ListProjects429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProjects429JSONResponseBodyType enum.
type ListProjects500JSONResponseBodyObject ¶
type ListProjects500JSONResponseBodyObject string
ListProjects500JSONResponseBodyObject defines parameters for ListProjects.
const (
ListProjects500JSONResponseBodyObjectError ListProjects500JSONResponseBodyObject = "error"
)
Defines values for ListProjects500JSONResponseBodyObject.
func (ListProjects500JSONResponseBodyObject) Valid ¶
func (e ListProjects500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProjects500JSONResponseBodyObject enum.
type ListProjects500JSONResponseBodyType ¶
type ListProjects500JSONResponseBodyType string
ListProjects500JSONResponseBodyType defines parameters for ListProjects.
const (
ListProjects500JSONResponseBodyTypeServerError ListProjects500JSONResponseBodyType = "server_error"
)
Defines values for ListProjects500JSONResponseBodyType.
func (ListProjects500JSONResponseBodyType) Valid ¶
func (e ListProjects500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProjects500JSONResponseBodyType enum.
type ListProjects503JSONResponseBodyObject ¶
type ListProjects503JSONResponseBodyObject string
ListProjects503JSONResponseBodyObject defines parameters for ListProjects.
const (
ListProjects503JSONResponseBodyObjectError ListProjects503JSONResponseBodyObject = "error"
)
Defines values for ListProjects503JSONResponseBodyObject.
func (ListProjects503JSONResponseBodyObject) Valid ¶
func (e ListProjects503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListProjects503JSONResponseBodyObject enum.
type ListProjects503JSONResponseBodyType ¶
type ListProjects503JSONResponseBodyType string
ListProjects503JSONResponseBodyType defines parameters for ListProjects.
const (
ListProjects503JSONResponseBodyTypeServerError ListProjects503JSONResponseBodyType = "server_error"
)
Defines values for ListProjects503JSONResponseBodyType.
func (ListProjects503JSONResponseBodyType) Valid ¶
func (e ListProjects503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListProjects503JSONResponseBodyType enum.
type ListProjectsObject ¶
type ListProjectsObject string
ListProjectsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListProjectsObjectList ListProjectsObject = "list"
)
Defines values for ListProjectsObject.
func (ListProjectsObject) Valid ¶
func (e ListProjectsObject) Valid() bool
Valid indicates whether the value is a known member of the ListProjectsObject enum.
type ListProjectsParams ¶
type ListProjectsParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListProjectsParams defines parameters for ListProjects.
type ListPublicAPIKeys ¶
type ListPublicAPIKeys struct {
// Items Details about each object.
Items []PublicAPIKey `json:"items"`
// NextPage URL to access the next page of the app's public API keys. If not present / null, there is no next page
//
// Example: /v2/projects/projec1a2b3c4d/apps/app1a2b3c4d/public_api_keys?starting_after=pub1a2b3c4d
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListPublicAPIKeysObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/projec1a2b3c4d/apps/app1a2b3c4d/public_api_keys
URL string `json:"url"`
}
ListPublicAPIKeys defines model for ListPublicApiKeys.
type ListPublicAPIKeysObject ¶
type ListPublicAPIKeysObject string
ListPublicAPIKeysObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListPublicAPIKeysObjectList ListPublicAPIKeysObject = "list"
)
Defines values for ListPublicAPIKeysObject.
func (ListPublicAPIKeysObject) Valid ¶
func (e ListPublicAPIKeysObject) Valid() bool
Valid indicates whether the value is a known member of the ListPublicAPIKeysObject enum.
type ListPurchaseEntitlements400JSONResponseBodyObject ¶
type ListPurchaseEntitlements400JSONResponseBodyObject string
ListPurchaseEntitlements400JSONResponseBodyObject defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements400JSONResponseBodyObjectError ListPurchaseEntitlements400JSONResponseBodyObject = "error"
)
Defines values for ListPurchaseEntitlements400JSONResponseBodyObject.
func (ListPurchaseEntitlements400JSONResponseBodyObject) Valid ¶
func (e ListPurchaseEntitlements400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements400JSONResponseBodyObject enum.
type ListPurchaseEntitlements400JSONResponseBodyType ¶
type ListPurchaseEntitlements400JSONResponseBodyType string
ListPurchaseEntitlements400JSONResponseBodyType defines parameters for ListPurchaseEntitlements.
const ( ListPurchaseEntitlements400JSONResponseBodyTypeInvalidRequest ListPurchaseEntitlements400JSONResponseBodyType = "invalid_request" ListPurchaseEntitlements400JSONResponseBodyTypeParameterError ListPurchaseEntitlements400JSONResponseBodyType = "parameter_error" )
Defines values for ListPurchaseEntitlements400JSONResponseBodyType.
func (ListPurchaseEntitlements400JSONResponseBodyType) Valid ¶
func (e ListPurchaseEntitlements400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements400JSONResponseBodyType enum.
type ListPurchaseEntitlements401JSONResponseBodyObject ¶
type ListPurchaseEntitlements401JSONResponseBodyObject string
ListPurchaseEntitlements401JSONResponseBodyObject defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements401JSONResponseBodyObjectError ListPurchaseEntitlements401JSONResponseBodyObject = "error"
)
Defines values for ListPurchaseEntitlements401JSONResponseBodyObject.
func (ListPurchaseEntitlements401JSONResponseBodyObject) Valid ¶
func (e ListPurchaseEntitlements401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements401JSONResponseBodyObject enum.
type ListPurchaseEntitlements401JSONResponseBodyType ¶
type ListPurchaseEntitlements401JSONResponseBodyType string
ListPurchaseEntitlements401JSONResponseBodyType defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements401JSONResponseBodyTypeAuthenticationError ListPurchaseEntitlements401JSONResponseBodyType = "authentication_error"
)
Defines values for ListPurchaseEntitlements401JSONResponseBodyType.
func (ListPurchaseEntitlements401JSONResponseBodyType) Valid ¶
func (e ListPurchaseEntitlements401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements401JSONResponseBodyType enum.
type ListPurchaseEntitlements403JSONResponseBodyObject ¶
type ListPurchaseEntitlements403JSONResponseBodyObject string
ListPurchaseEntitlements403JSONResponseBodyObject defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements403JSONResponseBodyObjectError ListPurchaseEntitlements403JSONResponseBodyObject = "error"
)
Defines values for ListPurchaseEntitlements403JSONResponseBodyObject.
func (ListPurchaseEntitlements403JSONResponseBodyObject) Valid ¶
func (e ListPurchaseEntitlements403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements403JSONResponseBodyObject enum.
type ListPurchaseEntitlements403JSONResponseBodyType ¶
type ListPurchaseEntitlements403JSONResponseBodyType string
ListPurchaseEntitlements403JSONResponseBodyType defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements403JSONResponseBodyTypeAuthorizationError ListPurchaseEntitlements403JSONResponseBodyType = "authorization_error"
)
Defines values for ListPurchaseEntitlements403JSONResponseBodyType.
func (ListPurchaseEntitlements403JSONResponseBodyType) Valid ¶
func (e ListPurchaseEntitlements403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements403JSONResponseBodyType enum.
type ListPurchaseEntitlements404JSONResponseBodyObject ¶
type ListPurchaseEntitlements404JSONResponseBodyObject string
ListPurchaseEntitlements404JSONResponseBodyObject defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements404JSONResponseBodyObjectError ListPurchaseEntitlements404JSONResponseBodyObject = "error"
)
Defines values for ListPurchaseEntitlements404JSONResponseBodyObject.
func (ListPurchaseEntitlements404JSONResponseBodyObject) Valid ¶
func (e ListPurchaseEntitlements404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements404JSONResponseBodyObject enum.
type ListPurchaseEntitlements404JSONResponseBodyType ¶
type ListPurchaseEntitlements404JSONResponseBodyType string
ListPurchaseEntitlements404JSONResponseBodyType defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements404JSONResponseBodyTypeResourceMissing ListPurchaseEntitlements404JSONResponseBodyType = "resource_missing"
)
Defines values for ListPurchaseEntitlements404JSONResponseBodyType.
func (ListPurchaseEntitlements404JSONResponseBodyType) Valid ¶
func (e ListPurchaseEntitlements404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements404JSONResponseBodyType enum.
type ListPurchaseEntitlements423JSONResponseBodyObject ¶
type ListPurchaseEntitlements423JSONResponseBodyObject string
ListPurchaseEntitlements423JSONResponseBodyObject defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements423JSONResponseBodyObjectError ListPurchaseEntitlements423JSONResponseBodyObject = "error"
)
Defines values for ListPurchaseEntitlements423JSONResponseBodyObject.
func (ListPurchaseEntitlements423JSONResponseBodyObject) Valid ¶
func (e ListPurchaseEntitlements423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements423JSONResponseBodyObject enum.
type ListPurchaseEntitlements423JSONResponseBodyType ¶
type ListPurchaseEntitlements423JSONResponseBodyType string
ListPurchaseEntitlements423JSONResponseBodyType defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements423JSONResponseBodyTypeResourceLockedError ListPurchaseEntitlements423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListPurchaseEntitlements423JSONResponseBodyType.
func (ListPurchaseEntitlements423JSONResponseBodyType) Valid ¶
func (e ListPurchaseEntitlements423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements423JSONResponseBodyType enum.
type ListPurchaseEntitlements429JSONResponseBodyObject ¶
type ListPurchaseEntitlements429JSONResponseBodyObject string
ListPurchaseEntitlements429JSONResponseBodyObject defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements429JSONResponseBodyObjectError ListPurchaseEntitlements429JSONResponseBodyObject = "error"
)
Defines values for ListPurchaseEntitlements429JSONResponseBodyObject.
func (ListPurchaseEntitlements429JSONResponseBodyObject) Valid ¶
func (e ListPurchaseEntitlements429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements429JSONResponseBodyObject enum.
type ListPurchaseEntitlements429JSONResponseBodyType ¶
type ListPurchaseEntitlements429JSONResponseBodyType string
ListPurchaseEntitlements429JSONResponseBodyType defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements429JSONResponseBodyTypeRateLimitError ListPurchaseEntitlements429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListPurchaseEntitlements429JSONResponseBodyType.
func (ListPurchaseEntitlements429JSONResponseBodyType) Valid ¶
func (e ListPurchaseEntitlements429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements429JSONResponseBodyType enum.
type ListPurchaseEntitlements500JSONResponseBodyObject ¶
type ListPurchaseEntitlements500JSONResponseBodyObject string
ListPurchaseEntitlements500JSONResponseBodyObject defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements500JSONResponseBodyObjectError ListPurchaseEntitlements500JSONResponseBodyObject = "error"
)
Defines values for ListPurchaseEntitlements500JSONResponseBodyObject.
func (ListPurchaseEntitlements500JSONResponseBodyObject) Valid ¶
func (e ListPurchaseEntitlements500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements500JSONResponseBodyObject enum.
type ListPurchaseEntitlements500JSONResponseBodyType ¶
type ListPurchaseEntitlements500JSONResponseBodyType string
ListPurchaseEntitlements500JSONResponseBodyType defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements500JSONResponseBodyTypeServerError ListPurchaseEntitlements500JSONResponseBodyType = "server_error"
)
Defines values for ListPurchaseEntitlements500JSONResponseBodyType.
func (ListPurchaseEntitlements500JSONResponseBodyType) Valid ¶
func (e ListPurchaseEntitlements500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements500JSONResponseBodyType enum.
type ListPurchaseEntitlements503JSONResponseBodyObject ¶
type ListPurchaseEntitlements503JSONResponseBodyObject string
ListPurchaseEntitlements503JSONResponseBodyObject defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements503JSONResponseBodyObjectError ListPurchaseEntitlements503JSONResponseBodyObject = "error"
)
Defines values for ListPurchaseEntitlements503JSONResponseBodyObject.
func (ListPurchaseEntitlements503JSONResponseBodyObject) Valid ¶
func (e ListPurchaseEntitlements503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements503JSONResponseBodyObject enum.
type ListPurchaseEntitlements503JSONResponseBodyType ¶
type ListPurchaseEntitlements503JSONResponseBodyType string
ListPurchaseEntitlements503JSONResponseBodyType defines parameters for ListPurchaseEntitlements.
const (
ListPurchaseEntitlements503JSONResponseBodyTypeServerError ListPurchaseEntitlements503JSONResponseBodyType = "server_error"
)
Defines values for ListPurchaseEntitlements503JSONResponseBodyType.
func (ListPurchaseEntitlements503JSONResponseBodyType) Valid ¶
func (e ListPurchaseEntitlements503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchaseEntitlements503JSONResponseBodyType enum.
type ListPurchaseEntitlementsParams ¶
type ListPurchaseEntitlementsParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListPurchaseEntitlementsParams defines parameters for ListPurchaseEntitlements.
type ListPurchases ¶
type ListPurchases struct {
// Items Details about each object.
Items []Purchase `json:"items"`
// NextPage URL to access the next page of the customer's purchases. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/purchases?starting_after=purc1a2b3c4d5e
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListPurchasesObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/purchases
URL string `json:"url"`
}
ListPurchases defines model for ListPurchases.
type ListPurchases400JSONResponseBodyObject ¶
type ListPurchases400JSONResponseBodyObject string
ListPurchases400JSONResponseBodyObject defines parameters for ListPurchases.
const (
ListPurchases400JSONResponseBodyObjectError ListPurchases400JSONResponseBodyObject = "error"
)
Defines values for ListPurchases400JSONResponseBodyObject.
func (ListPurchases400JSONResponseBodyObject) Valid ¶
func (e ListPurchases400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases400JSONResponseBodyObject enum.
type ListPurchases400JSONResponseBodyType ¶
type ListPurchases400JSONResponseBodyType string
ListPurchases400JSONResponseBodyType defines parameters for ListPurchases.
const ( ListPurchases400JSONResponseBodyTypeInvalidRequest ListPurchases400JSONResponseBodyType = "invalid_request" ListPurchases400JSONResponseBodyTypeParameterError ListPurchases400JSONResponseBodyType = "parameter_error" )
Defines values for ListPurchases400JSONResponseBodyType.
func (ListPurchases400JSONResponseBodyType) Valid ¶
func (e ListPurchases400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases400JSONResponseBodyType enum.
type ListPurchases401JSONResponseBodyObject ¶
type ListPurchases401JSONResponseBodyObject string
ListPurchases401JSONResponseBodyObject defines parameters for ListPurchases.
const (
ListPurchases401JSONResponseBodyObjectError ListPurchases401JSONResponseBodyObject = "error"
)
Defines values for ListPurchases401JSONResponseBodyObject.
func (ListPurchases401JSONResponseBodyObject) Valid ¶
func (e ListPurchases401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases401JSONResponseBodyObject enum.
type ListPurchases401JSONResponseBodyType ¶
type ListPurchases401JSONResponseBodyType string
ListPurchases401JSONResponseBodyType defines parameters for ListPurchases.
const (
ListPurchases401JSONResponseBodyTypeAuthenticationError ListPurchases401JSONResponseBodyType = "authentication_error"
)
Defines values for ListPurchases401JSONResponseBodyType.
func (ListPurchases401JSONResponseBodyType) Valid ¶
func (e ListPurchases401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases401JSONResponseBodyType enum.
type ListPurchases403JSONResponseBodyObject ¶
type ListPurchases403JSONResponseBodyObject string
ListPurchases403JSONResponseBodyObject defines parameters for ListPurchases.
const (
ListPurchases403JSONResponseBodyObjectError ListPurchases403JSONResponseBodyObject = "error"
)
Defines values for ListPurchases403JSONResponseBodyObject.
func (ListPurchases403JSONResponseBodyObject) Valid ¶
func (e ListPurchases403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases403JSONResponseBodyObject enum.
type ListPurchases403JSONResponseBodyType ¶
type ListPurchases403JSONResponseBodyType string
ListPurchases403JSONResponseBodyType defines parameters for ListPurchases.
const (
ListPurchases403JSONResponseBodyTypeAuthorizationError ListPurchases403JSONResponseBodyType = "authorization_error"
)
Defines values for ListPurchases403JSONResponseBodyType.
func (ListPurchases403JSONResponseBodyType) Valid ¶
func (e ListPurchases403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases403JSONResponseBodyType enum.
type ListPurchases404JSONResponseBodyObject ¶
type ListPurchases404JSONResponseBodyObject string
ListPurchases404JSONResponseBodyObject defines parameters for ListPurchases.
const (
ListPurchases404JSONResponseBodyObjectError ListPurchases404JSONResponseBodyObject = "error"
)
Defines values for ListPurchases404JSONResponseBodyObject.
func (ListPurchases404JSONResponseBodyObject) Valid ¶
func (e ListPurchases404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases404JSONResponseBodyObject enum.
type ListPurchases404JSONResponseBodyType ¶
type ListPurchases404JSONResponseBodyType string
ListPurchases404JSONResponseBodyType defines parameters for ListPurchases.
const (
ListPurchases404JSONResponseBodyTypeResourceMissing ListPurchases404JSONResponseBodyType = "resource_missing"
)
Defines values for ListPurchases404JSONResponseBodyType.
func (ListPurchases404JSONResponseBodyType) Valid ¶
func (e ListPurchases404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases404JSONResponseBodyType enum.
type ListPurchases423JSONResponseBodyObject ¶
type ListPurchases423JSONResponseBodyObject string
ListPurchases423JSONResponseBodyObject defines parameters for ListPurchases.
const (
ListPurchases423JSONResponseBodyObjectError ListPurchases423JSONResponseBodyObject = "error"
)
Defines values for ListPurchases423JSONResponseBodyObject.
func (ListPurchases423JSONResponseBodyObject) Valid ¶
func (e ListPurchases423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases423JSONResponseBodyObject enum.
type ListPurchases423JSONResponseBodyType ¶
type ListPurchases423JSONResponseBodyType string
ListPurchases423JSONResponseBodyType defines parameters for ListPurchases.
const (
ListPurchases423JSONResponseBodyTypeResourceLockedError ListPurchases423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListPurchases423JSONResponseBodyType.
func (ListPurchases423JSONResponseBodyType) Valid ¶
func (e ListPurchases423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases423JSONResponseBodyType enum.
type ListPurchases429JSONResponseBodyObject ¶
type ListPurchases429JSONResponseBodyObject string
ListPurchases429JSONResponseBodyObject defines parameters for ListPurchases.
const (
ListPurchases429JSONResponseBodyObjectError ListPurchases429JSONResponseBodyObject = "error"
)
Defines values for ListPurchases429JSONResponseBodyObject.
func (ListPurchases429JSONResponseBodyObject) Valid ¶
func (e ListPurchases429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases429JSONResponseBodyObject enum.
type ListPurchases429JSONResponseBodyType ¶
type ListPurchases429JSONResponseBodyType string
ListPurchases429JSONResponseBodyType defines parameters for ListPurchases.
const (
ListPurchases429JSONResponseBodyTypeRateLimitError ListPurchases429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListPurchases429JSONResponseBodyType.
func (ListPurchases429JSONResponseBodyType) Valid ¶
func (e ListPurchases429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases429JSONResponseBodyType enum.
type ListPurchases500JSONResponseBodyObject ¶
type ListPurchases500JSONResponseBodyObject string
ListPurchases500JSONResponseBodyObject defines parameters for ListPurchases.
const (
ListPurchases500JSONResponseBodyObjectError ListPurchases500JSONResponseBodyObject = "error"
)
Defines values for ListPurchases500JSONResponseBodyObject.
func (ListPurchases500JSONResponseBodyObject) Valid ¶
func (e ListPurchases500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases500JSONResponseBodyObject enum.
type ListPurchases500JSONResponseBodyType ¶
type ListPurchases500JSONResponseBodyType string
ListPurchases500JSONResponseBodyType defines parameters for ListPurchases.
const (
ListPurchases500JSONResponseBodyTypeServerError ListPurchases500JSONResponseBodyType = "server_error"
)
Defines values for ListPurchases500JSONResponseBodyType.
func (ListPurchases500JSONResponseBodyType) Valid ¶
func (e ListPurchases500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases500JSONResponseBodyType enum.
type ListPurchases503JSONResponseBodyObject ¶
type ListPurchases503JSONResponseBodyObject string
ListPurchases503JSONResponseBodyObject defines parameters for ListPurchases.
const (
ListPurchases503JSONResponseBodyObjectError ListPurchases503JSONResponseBodyObject = "error"
)
Defines values for ListPurchases503JSONResponseBodyObject.
func (ListPurchases503JSONResponseBodyObject) Valid ¶
func (e ListPurchases503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases503JSONResponseBodyObject enum.
type ListPurchases503JSONResponseBodyType ¶
type ListPurchases503JSONResponseBodyType string
ListPurchases503JSONResponseBodyType defines parameters for ListPurchases.
const (
ListPurchases503JSONResponseBodyTypeServerError ListPurchases503JSONResponseBodyType = "server_error"
)
Defines values for ListPurchases503JSONResponseBodyType.
func (ListPurchases503JSONResponseBodyType) Valid ¶
func (e ListPurchases503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListPurchases503JSONResponseBodyType enum.
type ListPurchasesObject ¶
type ListPurchasesObject string
ListPurchasesObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListPurchasesObjectList ListPurchasesObject = "list"
)
Defines values for ListPurchasesObject.
func (ListPurchasesObject) Valid ¶
func (e ListPurchasesObject) Valid() bool
Valid indicates whether the value is a known member of the ListPurchasesObject enum.
type ListPurchasesParams ¶
type ListPurchasesParams struct {
// Environment Filter by environment, omit to include both.
Environment *ListPurchasesParamsEnvironment `form:"environment,omitempty" json:"environment,omitempty"`
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListPurchasesParams defines parameters for ListPurchases.
type ListPurchasesParamsEnvironment ¶
type ListPurchasesParamsEnvironment string
ListPurchasesParamsEnvironment defines parameters for ListPurchases.
const ( ListPurchasesParamsEnvironmentProduction ListPurchasesParamsEnvironment = "production" ListPurchasesParamsEnvironmentSandbox ListPurchasesParamsEnvironment = "sandbox" )
Defines values for ListPurchasesParamsEnvironment.
func (ListPurchasesParamsEnvironment) Valid ¶
func (e ListPurchasesParamsEnvironment) Valid() bool
Valid indicates whether the value is a known member of the ListPurchasesParamsEnvironment enum.
type ListSubscriptionEntitlements400JSONResponseBodyObject ¶
type ListSubscriptionEntitlements400JSONResponseBodyObject string
ListSubscriptionEntitlements400JSONResponseBodyObject defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements400JSONResponseBodyObjectError ListSubscriptionEntitlements400JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptionEntitlements400JSONResponseBodyObject.
func (ListSubscriptionEntitlements400JSONResponseBodyObject) Valid ¶
func (e ListSubscriptionEntitlements400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements400JSONResponseBodyObject enum.
type ListSubscriptionEntitlements400JSONResponseBodyType ¶
type ListSubscriptionEntitlements400JSONResponseBodyType string
ListSubscriptionEntitlements400JSONResponseBodyType defines parameters for ListSubscriptionEntitlements.
const ( ListSubscriptionEntitlements400JSONResponseBodyTypeInvalidRequest ListSubscriptionEntitlements400JSONResponseBodyType = "invalid_request" ListSubscriptionEntitlements400JSONResponseBodyTypeParameterError ListSubscriptionEntitlements400JSONResponseBodyType = "parameter_error" )
Defines values for ListSubscriptionEntitlements400JSONResponseBodyType.
func (ListSubscriptionEntitlements400JSONResponseBodyType) Valid ¶
func (e ListSubscriptionEntitlements400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements400JSONResponseBodyType enum.
type ListSubscriptionEntitlements401JSONResponseBodyObject ¶
type ListSubscriptionEntitlements401JSONResponseBodyObject string
ListSubscriptionEntitlements401JSONResponseBodyObject defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements401JSONResponseBodyObjectError ListSubscriptionEntitlements401JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptionEntitlements401JSONResponseBodyObject.
func (ListSubscriptionEntitlements401JSONResponseBodyObject) Valid ¶
func (e ListSubscriptionEntitlements401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements401JSONResponseBodyObject enum.
type ListSubscriptionEntitlements401JSONResponseBodyType ¶
type ListSubscriptionEntitlements401JSONResponseBodyType string
ListSubscriptionEntitlements401JSONResponseBodyType defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements401JSONResponseBodyTypeAuthenticationError ListSubscriptionEntitlements401JSONResponseBodyType = "authentication_error"
)
Defines values for ListSubscriptionEntitlements401JSONResponseBodyType.
func (ListSubscriptionEntitlements401JSONResponseBodyType) Valid ¶
func (e ListSubscriptionEntitlements401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements401JSONResponseBodyType enum.
type ListSubscriptionEntitlements403JSONResponseBodyObject ¶
type ListSubscriptionEntitlements403JSONResponseBodyObject string
ListSubscriptionEntitlements403JSONResponseBodyObject defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements403JSONResponseBodyObjectError ListSubscriptionEntitlements403JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptionEntitlements403JSONResponseBodyObject.
func (ListSubscriptionEntitlements403JSONResponseBodyObject) Valid ¶
func (e ListSubscriptionEntitlements403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements403JSONResponseBodyObject enum.
type ListSubscriptionEntitlements403JSONResponseBodyType ¶
type ListSubscriptionEntitlements403JSONResponseBodyType string
ListSubscriptionEntitlements403JSONResponseBodyType defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements403JSONResponseBodyTypeAuthorizationError ListSubscriptionEntitlements403JSONResponseBodyType = "authorization_error"
)
Defines values for ListSubscriptionEntitlements403JSONResponseBodyType.
func (ListSubscriptionEntitlements403JSONResponseBodyType) Valid ¶
func (e ListSubscriptionEntitlements403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements403JSONResponseBodyType enum.
type ListSubscriptionEntitlements404JSONResponseBodyObject ¶
type ListSubscriptionEntitlements404JSONResponseBodyObject string
ListSubscriptionEntitlements404JSONResponseBodyObject defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements404JSONResponseBodyObjectError ListSubscriptionEntitlements404JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptionEntitlements404JSONResponseBodyObject.
func (ListSubscriptionEntitlements404JSONResponseBodyObject) Valid ¶
func (e ListSubscriptionEntitlements404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements404JSONResponseBodyObject enum.
type ListSubscriptionEntitlements404JSONResponseBodyType ¶
type ListSubscriptionEntitlements404JSONResponseBodyType string
ListSubscriptionEntitlements404JSONResponseBodyType defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements404JSONResponseBodyTypeResourceMissing ListSubscriptionEntitlements404JSONResponseBodyType = "resource_missing"
)
Defines values for ListSubscriptionEntitlements404JSONResponseBodyType.
func (ListSubscriptionEntitlements404JSONResponseBodyType) Valid ¶
func (e ListSubscriptionEntitlements404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements404JSONResponseBodyType enum.
type ListSubscriptionEntitlements423JSONResponseBodyObject ¶
type ListSubscriptionEntitlements423JSONResponseBodyObject string
ListSubscriptionEntitlements423JSONResponseBodyObject defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements423JSONResponseBodyObjectError ListSubscriptionEntitlements423JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptionEntitlements423JSONResponseBodyObject.
func (ListSubscriptionEntitlements423JSONResponseBodyObject) Valid ¶
func (e ListSubscriptionEntitlements423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements423JSONResponseBodyObject enum.
type ListSubscriptionEntitlements423JSONResponseBodyType ¶
type ListSubscriptionEntitlements423JSONResponseBodyType string
ListSubscriptionEntitlements423JSONResponseBodyType defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements423JSONResponseBodyTypeResourceLockedError ListSubscriptionEntitlements423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListSubscriptionEntitlements423JSONResponseBodyType.
func (ListSubscriptionEntitlements423JSONResponseBodyType) Valid ¶
func (e ListSubscriptionEntitlements423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements423JSONResponseBodyType enum.
type ListSubscriptionEntitlements429JSONResponseBodyObject ¶
type ListSubscriptionEntitlements429JSONResponseBodyObject string
ListSubscriptionEntitlements429JSONResponseBodyObject defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements429JSONResponseBodyObjectError ListSubscriptionEntitlements429JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptionEntitlements429JSONResponseBodyObject.
func (ListSubscriptionEntitlements429JSONResponseBodyObject) Valid ¶
func (e ListSubscriptionEntitlements429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements429JSONResponseBodyObject enum.
type ListSubscriptionEntitlements429JSONResponseBodyType ¶
type ListSubscriptionEntitlements429JSONResponseBodyType string
ListSubscriptionEntitlements429JSONResponseBodyType defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements429JSONResponseBodyTypeRateLimitError ListSubscriptionEntitlements429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListSubscriptionEntitlements429JSONResponseBodyType.
func (ListSubscriptionEntitlements429JSONResponseBodyType) Valid ¶
func (e ListSubscriptionEntitlements429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements429JSONResponseBodyType enum.
type ListSubscriptionEntitlements500JSONResponseBodyObject ¶
type ListSubscriptionEntitlements500JSONResponseBodyObject string
ListSubscriptionEntitlements500JSONResponseBodyObject defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements500JSONResponseBodyObjectError ListSubscriptionEntitlements500JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptionEntitlements500JSONResponseBodyObject.
func (ListSubscriptionEntitlements500JSONResponseBodyObject) Valid ¶
func (e ListSubscriptionEntitlements500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements500JSONResponseBodyObject enum.
type ListSubscriptionEntitlements500JSONResponseBodyType ¶
type ListSubscriptionEntitlements500JSONResponseBodyType string
ListSubscriptionEntitlements500JSONResponseBodyType defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements500JSONResponseBodyTypeServerError ListSubscriptionEntitlements500JSONResponseBodyType = "server_error"
)
Defines values for ListSubscriptionEntitlements500JSONResponseBodyType.
func (ListSubscriptionEntitlements500JSONResponseBodyType) Valid ¶
func (e ListSubscriptionEntitlements500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements500JSONResponseBodyType enum.
type ListSubscriptionEntitlements503JSONResponseBodyObject ¶
type ListSubscriptionEntitlements503JSONResponseBodyObject string
ListSubscriptionEntitlements503JSONResponseBodyObject defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements503JSONResponseBodyObjectError ListSubscriptionEntitlements503JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptionEntitlements503JSONResponseBodyObject.
func (ListSubscriptionEntitlements503JSONResponseBodyObject) Valid ¶
func (e ListSubscriptionEntitlements503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements503JSONResponseBodyObject enum.
type ListSubscriptionEntitlements503JSONResponseBodyType ¶
type ListSubscriptionEntitlements503JSONResponseBodyType string
ListSubscriptionEntitlements503JSONResponseBodyType defines parameters for ListSubscriptionEntitlements.
const (
ListSubscriptionEntitlements503JSONResponseBodyTypeServerError ListSubscriptionEntitlements503JSONResponseBodyType = "server_error"
)
Defines values for ListSubscriptionEntitlements503JSONResponseBodyType.
func (ListSubscriptionEntitlements503JSONResponseBodyType) Valid ¶
func (e ListSubscriptionEntitlements503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionEntitlements503JSONResponseBodyType enum.
type ListSubscriptionEntitlementsParams ¶
type ListSubscriptionEntitlementsParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListSubscriptionEntitlementsParams defines parameters for ListSubscriptionEntitlements.
type ListSubscriptionTransaction ¶
type ListSubscriptionTransaction struct {
// Items Details about each object.
Items []SubscriptionTransaction `json:"items"`
// NextPage URL to access the next page of the projects. If not present / null, there is no next page
//
// Example: /v2/projects/proj123/subscriptions/sub123/transactions?starting_after=GPA.0000-0000-0000-00000
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListSubscriptionTransactionObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj123/subscriptions/sub123/transactions
URL string `json:"url"`
}
ListSubscriptionTransaction defines model for ListSubscriptionTransaction.
type ListSubscriptionTransactionObject ¶
type ListSubscriptionTransactionObject string
ListSubscriptionTransactionObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListSubscriptionTransactionObjectList ListSubscriptionTransactionObject = "list"
)
Defines values for ListSubscriptionTransactionObject.
func (ListSubscriptionTransactionObject) Valid ¶
func (e ListSubscriptionTransactionObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionTransactionObject enum.
type ListSubscriptions ¶
type ListSubscriptions struct {
// Items Details about each object.
Items []Subscription `json:"items"`
// NextPage URL to access the next page of the customer's subscriptions. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/subscriptions?starting_after=sub1a2b3c4d
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListSubscriptionsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/subscriptions
URL string `json:"url"`
}
ListSubscriptions defines model for ListSubscriptions.
type ListSubscriptions400JSONResponseBodyObject ¶
type ListSubscriptions400JSONResponseBodyObject string
ListSubscriptions400JSONResponseBodyObject defines parameters for ListSubscriptions.
const (
ListSubscriptions400JSONResponseBodyObjectError ListSubscriptions400JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptions400JSONResponseBodyObject.
func (ListSubscriptions400JSONResponseBodyObject) Valid ¶
func (e ListSubscriptions400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions400JSONResponseBodyObject enum.
type ListSubscriptions400JSONResponseBodyType ¶
type ListSubscriptions400JSONResponseBodyType string
ListSubscriptions400JSONResponseBodyType defines parameters for ListSubscriptions.
const ( ListSubscriptions400JSONResponseBodyTypeInvalidRequest ListSubscriptions400JSONResponseBodyType = "invalid_request" ListSubscriptions400JSONResponseBodyTypeParameterError ListSubscriptions400JSONResponseBodyType = "parameter_error" )
Defines values for ListSubscriptions400JSONResponseBodyType.
func (ListSubscriptions400JSONResponseBodyType) Valid ¶
func (e ListSubscriptions400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions400JSONResponseBodyType enum.
type ListSubscriptions401JSONResponseBodyObject ¶
type ListSubscriptions401JSONResponseBodyObject string
ListSubscriptions401JSONResponseBodyObject defines parameters for ListSubscriptions.
const (
ListSubscriptions401JSONResponseBodyObjectError ListSubscriptions401JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptions401JSONResponseBodyObject.
func (ListSubscriptions401JSONResponseBodyObject) Valid ¶
func (e ListSubscriptions401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions401JSONResponseBodyObject enum.
type ListSubscriptions401JSONResponseBodyType ¶
type ListSubscriptions401JSONResponseBodyType string
ListSubscriptions401JSONResponseBodyType defines parameters for ListSubscriptions.
const (
ListSubscriptions401JSONResponseBodyTypeAuthenticationError ListSubscriptions401JSONResponseBodyType = "authentication_error"
)
Defines values for ListSubscriptions401JSONResponseBodyType.
func (ListSubscriptions401JSONResponseBodyType) Valid ¶
func (e ListSubscriptions401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions401JSONResponseBodyType enum.
type ListSubscriptions403JSONResponseBodyObject ¶
type ListSubscriptions403JSONResponseBodyObject string
ListSubscriptions403JSONResponseBodyObject defines parameters for ListSubscriptions.
const (
ListSubscriptions403JSONResponseBodyObjectError ListSubscriptions403JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptions403JSONResponseBodyObject.
func (ListSubscriptions403JSONResponseBodyObject) Valid ¶
func (e ListSubscriptions403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions403JSONResponseBodyObject enum.
type ListSubscriptions403JSONResponseBodyType ¶
type ListSubscriptions403JSONResponseBodyType string
ListSubscriptions403JSONResponseBodyType defines parameters for ListSubscriptions.
const (
ListSubscriptions403JSONResponseBodyTypeAuthorizationError ListSubscriptions403JSONResponseBodyType = "authorization_error"
)
Defines values for ListSubscriptions403JSONResponseBodyType.
func (ListSubscriptions403JSONResponseBodyType) Valid ¶
func (e ListSubscriptions403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions403JSONResponseBodyType enum.
type ListSubscriptions404JSONResponseBodyObject ¶
type ListSubscriptions404JSONResponseBodyObject string
ListSubscriptions404JSONResponseBodyObject defines parameters for ListSubscriptions.
const (
ListSubscriptions404JSONResponseBodyObjectError ListSubscriptions404JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptions404JSONResponseBodyObject.
func (ListSubscriptions404JSONResponseBodyObject) Valid ¶
func (e ListSubscriptions404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions404JSONResponseBodyObject enum.
type ListSubscriptions404JSONResponseBodyType ¶
type ListSubscriptions404JSONResponseBodyType string
ListSubscriptions404JSONResponseBodyType defines parameters for ListSubscriptions.
const (
ListSubscriptions404JSONResponseBodyTypeResourceMissing ListSubscriptions404JSONResponseBodyType = "resource_missing"
)
Defines values for ListSubscriptions404JSONResponseBodyType.
func (ListSubscriptions404JSONResponseBodyType) Valid ¶
func (e ListSubscriptions404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions404JSONResponseBodyType enum.
type ListSubscriptions423JSONResponseBodyObject ¶
type ListSubscriptions423JSONResponseBodyObject string
ListSubscriptions423JSONResponseBodyObject defines parameters for ListSubscriptions.
const (
ListSubscriptions423JSONResponseBodyObjectError ListSubscriptions423JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptions423JSONResponseBodyObject.
func (ListSubscriptions423JSONResponseBodyObject) Valid ¶
func (e ListSubscriptions423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions423JSONResponseBodyObject enum.
type ListSubscriptions423JSONResponseBodyType ¶
type ListSubscriptions423JSONResponseBodyType string
ListSubscriptions423JSONResponseBodyType defines parameters for ListSubscriptions.
const (
ListSubscriptions423JSONResponseBodyTypeResourceLockedError ListSubscriptions423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListSubscriptions423JSONResponseBodyType.
func (ListSubscriptions423JSONResponseBodyType) Valid ¶
func (e ListSubscriptions423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions423JSONResponseBodyType enum.
type ListSubscriptions429JSONResponseBodyObject ¶
type ListSubscriptions429JSONResponseBodyObject string
ListSubscriptions429JSONResponseBodyObject defines parameters for ListSubscriptions.
const (
ListSubscriptions429JSONResponseBodyObjectError ListSubscriptions429JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptions429JSONResponseBodyObject.
func (ListSubscriptions429JSONResponseBodyObject) Valid ¶
func (e ListSubscriptions429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions429JSONResponseBodyObject enum.
type ListSubscriptions429JSONResponseBodyType ¶
type ListSubscriptions429JSONResponseBodyType string
ListSubscriptions429JSONResponseBodyType defines parameters for ListSubscriptions.
const (
ListSubscriptions429JSONResponseBodyTypeRateLimitError ListSubscriptions429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListSubscriptions429JSONResponseBodyType.
func (ListSubscriptions429JSONResponseBodyType) Valid ¶
func (e ListSubscriptions429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions429JSONResponseBodyType enum.
type ListSubscriptions500JSONResponseBodyObject ¶
type ListSubscriptions500JSONResponseBodyObject string
ListSubscriptions500JSONResponseBodyObject defines parameters for ListSubscriptions.
const (
ListSubscriptions500JSONResponseBodyObjectError ListSubscriptions500JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptions500JSONResponseBodyObject.
func (ListSubscriptions500JSONResponseBodyObject) Valid ¶
func (e ListSubscriptions500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions500JSONResponseBodyObject enum.
type ListSubscriptions500JSONResponseBodyType ¶
type ListSubscriptions500JSONResponseBodyType string
ListSubscriptions500JSONResponseBodyType defines parameters for ListSubscriptions.
const (
ListSubscriptions500JSONResponseBodyTypeServerError ListSubscriptions500JSONResponseBodyType = "server_error"
)
Defines values for ListSubscriptions500JSONResponseBodyType.
func (ListSubscriptions500JSONResponseBodyType) Valid ¶
func (e ListSubscriptions500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions500JSONResponseBodyType enum.
type ListSubscriptions503JSONResponseBodyObject ¶
type ListSubscriptions503JSONResponseBodyObject string
ListSubscriptions503JSONResponseBodyObject defines parameters for ListSubscriptions.
const (
ListSubscriptions503JSONResponseBodyObjectError ListSubscriptions503JSONResponseBodyObject = "error"
)
Defines values for ListSubscriptions503JSONResponseBodyObject.
func (ListSubscriptions503JSONResponseBodyObject) Valid ¶
func (e ListSubscriptions503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions503JSONResponseBodyObject enum.
type ListSubscriptions503JSONResponseBodyType ¶
type ListSubscriptions503JSONResponseBodyType string
ListSubscriptions503JSONResponseBodyType defines parameters for ListSubscriptions.
const (
ListSubscriptions503JSONResponseBodyTypeServerError ListSubscriptions503JSONResponseBodyType = "server_error"
)
Defines values for ListSubscriptions503JSONResponseBodyType.
func (ListSubscriptions503JSONResponseBodyType) Valid ¶
func (e ListSubscriptions503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptions503JSONResponseBodyType enum.
type ListSubscriptionsObject ¶
type ListSubscriptionsObject string
ListSubscriptionsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListSubscriptionsObjectList ListSubscriptionsObject = "list"
)
Defines values for ListSubscriptionsObject.
func (ListSubscriptionsObject) Valid ¶
func (e ListSubscriptionsObject) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionsObject enum.
type ListSubscriptionsParams ¶
type ListSubscriptionsParams struct {
// Environment Filter by environment, omit to include both.
Environment *ListSubscriptionsParamsEnvironment `form:"environment,omitempty" json:"environment,omitempty"`
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListSubscriptionsParams defines parameters for ListSubscriptions.
type ListSubscriptionsParamsEnvironment ¶
type ListSubscriptionsParamsEnvironment string
ListSubscriptionsParamsEnvironment defines parameters for ListSubscriptions.
const ( ListSubscriptionsParamsEnvironmentProduction ListSubscriptionsParamsEnvironment = "production" ListSubscriptionsParamsEnvironmentSandbox ListSubscriptionsParamsEnvironment = "sandbox" )
Defines values for ListSubscriptionsParamsEnvironment.
func (ListSubscriptionsParamsEnvironment) Valid ¶
func (e ListSubscriptionsParamsEnvironment) Valid() bool
Valid indicates whether the value is a known member of the ListSubscriptionsParamsEnvironment enum.
type ListVirtualCurrencies ¶
type ListVirtualCurrencies struct {
// Items Details about each object.
Items []VirtualCurrency `json:"items"`
// NextPage URL to access the next page of the project's virtual currencies. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/virtual_currencies?starting_after=GLD
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ListVirtualCurrenciesObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/virtual_currencies
URL string `json:"url"`
}
ListVirtualCurrencies defines model for ListVirtualCurrencies.
type ListVirtualCurrencies400JSONResponseBodyObject ¶
type ListVirtualCurrencies400JSONResponseBodyObject string
ListVirtualCurrencies400JSONResponseBodyObject defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies400JSONResponseBodyObjectError ListVirtualCurrencies400JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrencies400JSONResponseBodyObject.
func (ListVirtualCurrencies400JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrencies400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies400JSONResponseBodyObject enum.
type ListVirtualCurrencies400JSONResponseBodyType ¶
type ListVirtualCurrencies400JSONResponseBodyType string
ListVirtualCurrencies400JSONResponseBodyType defines parameters for ListVirtualCurrencies.
const ( ListVirtualCurrencies400JSONResponseBodyTypeInvalidRequest ListVirtualCurrencies400JSONResponseBodyType = "invalid_request" ListVirtualCurrencies400JSONResponseBodyTypeParameterError ListVirtualCurrencies400JSONResponseBodyType = "parameter_error" )
Defines values for ListVirtualCurrencies400JSONResponseBodyType.
func (ListVirtualCurrencies400JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrencies400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies400JSONResponseBodyType enum.
type ListVirtualCurrencies401JSONResponseBodyObject ¶
type ListVirtualCurrencies401JSONResponseBodyObject string
ListVirtualCurrencies401JSONResponseBodyObject defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies401JSONResponseBodyObjectError ListVirtualCurrencies401JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrencies401JSONResponseBodyObject.
func (ListVirtualCurrencies401JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrencies401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies401JSONResponseBodyObject enum.
type ListVirtualCurrencies401JSONResponseBodyType ¶
type ListVirtualCurrencies401JSONResponseBodyType string
ListVirtualCurrencies401JSONResponseBodyType defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies401JSONResponseBodyTypeAuthenticationError ListVirtualCurrencies401JSONResponseBodyType = "authentication_error"
)
Defines values for ListVirtualCurrencies401JSONResponseBodyType.
func (ListVirtualCurrencies401JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrencies401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies401JSONResponseBodyType enum.
type ListVirtualCurrencies403JSONResponseBodyObject ¶
type ListVirtualCurrencies403JSONResponseBodyObject string
ListVirtualCurrencies403JSONResponseBodyObject defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies403JSONResponseBodyObjectError ListVirtualCurrencies403JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrencies403JSONResponseBodyObject.
func (ListVirtualCurrencies403JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrencies403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies403JSONResponseBodyObject enum.
type ListVirtualCurrencies403JSONResponseBodyType ¶
type ListVirtualCurrencies403JSONResponseBodyType string
ListVirtualCurrencies403JSONResponseBodyType defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies403JSONResponseBodyTypeAuthorizationError ListVirtualCurrencies403JSONResponseBodyType = "authorization_error"
)
Defines values for ListVirtualCurrencies403JSONResponseBodyType.
func (ListVirtualCurrencies403JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrencies403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies403JSONResponseBodyType enum.
type ListVirtualCurrencies404JSONResponseBodyObject ¶
type ListVirtualCurrencies404JSONResponseBodyObject string
ListVirtualCurrencies404JSONResponseBodyObject defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies404JSONResponseBodyObjectError ListVirtualCurrencies404JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrencies404JSONResponseBodyObject.
func (ListVirtualCurrencies404JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrencies404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies404JSONResponseBodyObject enum.
type ListVirtualCurrencies404JSONResponseBodyType ¶
type ListVirtualCurrencies404JSONResponseBodyType string
ListVirtualCurrencies404JSONResponseBodyType defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies404JSONResponseBodyTypeResourceMissing ListVirtualCurrencies404JSONResponseBodyType = "resource_missing"
)
Defines values for ListVirtualCurrencies404JSONResponseBodyType.
func (ListVirtualCurrencies404JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrencies404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies404JSONResponseBodyType enum.
type ListVirtualCurrencies423JSONResponseBodyObject ¶
type ListVirtualCurrencies423JSONResponseBodyObject string
ListVirtualCurrencies423JSONResponseBodyObject defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies423JSONResponseBodyObjectError ListVirtualCurrencies423JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrencies423JSONResponseBodyObject.
func (ListVirtualCurrencies423JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrencies423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies423JSONResponseBodyObject enum.
type ListVirtualCurrencies423JSONResponseBodyType ¶
type ListVirtualCurrencies423JSONResponseBodyType string
ListVirtualCurrencies423JSONResponseBodyType defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies423JSONResponseBodyTypeResourceLockedError ListVirtualCurrencies423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListVirtualCurrencies423JSONResponseBodyType.
func (ListVirtualCurrencies423JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrencies423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies423JSONResponseBodyType enum.
type ListVirtualCurrencies429JSONResponseBodyObject ¶
type ListVirtualCurrencies429JSONResponseBodyObject string
ListVirtualCurrencies429JSONResponseBodyObject defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies429JSONResponseBodyObjectError ListVirtualCurrencies429JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrencies429JSONResponseBodyObject.
func (ListVirtualCurrencies429JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrencies429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies429JSONResponseBodyObject enum.
type ListVirtualCurrencies429JSONResponseBodyType ¶
type ListVirtualCurrencies429JSONResponseBodyType string
ListVirtualCurrencies429JSONResponseBodyType defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies429JSONResponseBodyTypeRateLimitError ListVirtualCurrencies429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListVirtualCurrencies429JSONResponseBodyType.
func (ListVirtualCurrencies429JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrencies429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies429JSONResponseBodyType enum.
type ListVirtualCurrencies500JSONResponseBodyObject ¶
type ListVirtualCurrencies500JSONResponseBodyObject string
ListVirtualCurrencies500JSONResponseBodyObject defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies500JSONResponseBodyObjectError ListVirtualCurrencies500JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrencies500JSONResponseBodyObject.
func (ListVirtualCurrencies500JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrencies500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies500JSONResponseBodyObject enum.
type ListVirtualCurrencies500JSONResponseBodyType ¶
type ListVirtualCurrencies500JSONResponseBodyType string
ListVirtualCurrencies500JSONResponseBodyType defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies500JSONResponseBodyTypeServerError ListVirtualCurrencies500JSONResponseBodyType = "server_error"
)
Defines values for ListVirtualCurrencies500JSONResponseBodyType.
func (ListVirtualCurrencies500JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrencies500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies500JSONResponseBodyType enum.
type ListVirtualCurrencies503JSONResponseBodyObject ¶
type ListVirtualCurrencies503JSONResponseBodyObject string
ListVirtualCurrencies503JSONResponseBodyObject defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies503JSONResponseBodyObjectError ListVirtualCurrencies503JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrencies503JSONResponseBodyObject.
func (ListVirtualCurrencies503JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrencies503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies503JSONResponseBodyObject enum.
type ListVirtualCurrencies503JSONResponseBodyType ¶
type ListVirtualCurrencies503JSONResponseBodyType string
ListVirtualCurrencies503JSONResponseBodyType defines parameters for ListVirtualCurrencies.
const (
ListVirtualCurrencies503JSONResponseBodyTypeServerError ListVirtualCurrencies503JSONResponseBodyType = "server_error"
)
Defines values for ListVirtualCurrencies503JSONResponseBodyType.
func (ListVirtualCurrencies503JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrencies503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrencies503JSONResponseBodyType enum.
type ListVirtualCurrenciesBalances ¶
type ListVirtualCurrenciesBalances struct {
// Items Details about each object.
Items []VirtualCurrencyBalance `json:"items"`
// NextPage URL to access the next page of the customer's balances. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/virtual_currencies?starting_after=9fjeja8fjed
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value.
Object ListVirtualCurrenciesBalancesObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/virtual_currencies
URL string `json:"url"`
}
ListVirtualCurrenciesBalances defines model for ListVirtualCurrenciesBalances.
type ListVirtualCurrenciesBalances400JSONResponseBodyObject ¶
type ListVirtualCurrenciesBalances400JSONResponseBodyObject string
ListVirtualCurrenciesBalances400JSONResponseBodyObject defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances400JSONResponseBodyObjectError ListVirtualCurrenciesBalances400JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrenciesBalances400JSONResponseBodyObject.
func (ListVirtualCurrenciesBalances400JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrenciesBalances400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances400JSONResponseBodyObject enum.
type ListVirtualCurrenciesBalances400JSONResponseBodyType ¶
type ListVirtualCurrenciesBalances400JSONResponseBodyType string
ListVirtualCurrenciesBalances400JSONResponseBodyType defines parameters for ListVirtualCurrenciesBalances.
const ( ListVirtualCurrenciesBalances400JSONResponseBodyTypeInvalidRequest ListVirtualCurrenciesBalances400JSONResponseBodyType = "invalid_request" ListVirtualCurrenciesBalances400JSONResponseBodyTypeParameterError ListVirtualCurrenciesBalances400JSONResponseBodyType = "parameter_error" )
Defines values for ListVirtualCurrenciesBalances400JSONResponseBodyType.
func (ListVirtualCurrenciesBalances400JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrenciesBalances400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances400JSONResponseBodyType enum.
type ListVirtualCurrenciesBalances401JSONResponseBodyObject ¶
type ListVirtualCurrenciesBalances401JSONResponseBodyObject string
ListVirtualCurrenciesBalances401JSONResponseBodyObject defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances401JSONResponseBodyObjectError ListVirtualCurrenciesBalances401JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrenciesBalances401JSONResponseBodyObject.
func (ListVirtualCurrenciesBalances401JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrenciesBalances401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances401JSONResponseBodyObject enum.
type ListVirtualCurrenciesBalances401JSONResponseBodyType ¶
type ListVirtualCurrenciesBalances401JSONResponseBodyType string
ListVirtualCurrenciesBalances401JSONResponseBodyType defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances401JSONResponseBodyTypeAuthenticationError ListVirtualCurrenciesBalances401JSONResponseBodyType = "authentication_error"
)
Defines values for ListVirtualCurrenciesBalances401JSONResponseBodyType.
func (ListVirtualCurrenciesBalances401JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrenciesBalances401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances401JSONResponseBodyType enum.
type ListVirtualCurrenciesBalances403JSONResponseBodyObject ¶
type ListVirtualCurrenciesBalances403JSONResponseBodyObject string
ListVirtualCurrenciesBalances403JSONResponseBodyObject defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances403JSONResponseBodyObjectError ListVirtualCurrenciesBalances403JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrenciesBalances403JSONResponseBodyObject.
func (ListVirtualCurrenciesBalances403JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrenciesBalances403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances403JSONResponseBodyObject enum.
type ListVirtualCurrenciesBalances403JSONResponseBodyType ¶
type ListVirtualCurrenciesBalances403JSONResponseBodyType string
ListVirtualCurrenciesBalances403JSONResponseBodyType defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances403JSONResponseBodyTypeAuthorizationError ListVirtualCurrenciesBalances403JSONResponseBodyType = "authorization_error"
)
Defines values for ListVirtualCurrenciesBalances403JSONResponseBodyType.
func (ListVirtualCurrenciesBalances403JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrenciesBalances403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances403JSONResponseBodyType enum.
type ListVirtualCurrenciesBalances404JSONResponseBodyObject ¶
type ListVirtualCurrenciesBalances404JSONResponseBodyObject string
ListVirtualCurrenciesBalances404JSONResponseBodyObject defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances404JSONResponseBodyObjectError ListVirtualCurrenciesBalances404JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrenciesBalances404JSONResponseBodyObject.
func (ListVirtualCurrenciesBalances404JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrenciesBalances404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances404JSONResponseBodyObject enum.
type ListVirtualCurrenciesBalances404JSONResponseBodyType ¶
type ListVirtualCurrenciesBalances404JSONResponseBodyType string
ListVirtualCurrenciesBalances404JSONResponseBodyType defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances404JSONResponseBodyTypeResourceMissing ListVirtualCurrenciesBalances404JSONResponseBodyType = "resource_missing"
)
Defines values for ListVirtualCurrenciesBalances404JSONResponseBodyType.
func (ListVirtualCurrenciesBalances404JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrenciesBalances404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances404JSONResponseBodyType enum.
type ListVirtualCurrenciesBalances423JSONResponseBodyObject ¶
type ListVirtualCurrenciesBalances423JSONResponseBodyObject string
ListVirtualCurrenciesBalances423JSONResponseBodyObject defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances423JSONResponseBodyObjectError ListVirtualCurrenciesBalances423JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrenciesBalances423JSONResponseBodyObject.
func (ListVirtualCurrenciesBalances423JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrenciesBalances423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances423JSONResponseBodyObject enum.
type ListVirtualCurrenciesBalances423JSONResponseBodyType ¶
type ListVirtualCurrenciesBalances423JSONResponseBodyType string
ListVirtualCurrenciesBalances423JSONResponseBodyType defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances423JSONResponseBodyTypeResourceLockedError ListVirtualCurrenciesBalances423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListVirtualCurrenciesBalances423JSONResponseBodyType.
func (ListVirtualCurrenciesBalances423JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrenciesBalances423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances423JSONResponseBodyType enum.
type ListVirtualCurrenciesBalances429JSONResponseBodyObject ¶
type ListVirtualCurrenciesBalances429JSONResponseBodyObject string
ListVirtualCurrenciesBalances429JSONResponseBodyObject defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances429JSONResponseBodyObjectError ListVirtualCurrenciesBalances429JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrenciesBalances429JSONResponseBodyObject.
func (ListVirtualCurrenciesBalances429JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrenciesBalances429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances429JSONResponseBodyObject enum.
type ListVirtualCurrenciesBalances429JSONResponseBodyType ¶
type ListVirtualCurrenciesBalances429JSONResponseBodyType string
ListVirtualCurrenciesBalances429JSONResponseBodyType defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances429JSONResponseBodyTypeRateLimitError ListVirtualCurrenciesBalances429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListVirtualCurrenciesBalances429JSONResponseBodyType.
func (ListVirtualCurrenciesBalances429JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrenciesBalances429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances429JSONResponseBodyType enum.
type ListVirtualCurrenciesBalances500JSONResponseBodyObject ¶
type ListVirtualCurrenciesBalances500JSONResponseBodyObject string
ListVirtualCurrenciesBalances500JSONResponseBodyObject defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances500JSONResponseBodyObjectError ListVirtualCurrenciesBalances500JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrenciesBalances500JSONResponseBodyObject.
func (ListVirtualCurrenciesBalances500JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrenciesBalances500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances500JSONResponseBodyObject enum.
type ListVirtualCurrenciesBalances500JSONResponseBodyType ¶
type ListVirtualCurrenciesBalances500JSONResponseBodyType string
ListVirtualCurrenciesBalances500JSONResponseBodyType defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances500JSONResponseBodyTypeServerError ListVirtualCurrenciesBalances500JSONResponseBodyType = "server_error"
)
Defines values for ListVirtualCurrenciesBalances500JSONResponseBodyType.
func (ListVirtualCurrenciesBalances500JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrenciesBalances500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances500JSONResponseBodyType enum.
type ListVirtualCurrenciesBalances503JSONResponseBodyObject ¶
type ListVirtualCurrenciesBalances503JSONResponseBodyObject string
ListVirtualCurrenciesBalances503JSONResponseBodyObject defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances503JSONResponseBodyObjectError ListVirtualCurrenciesBalances503JSONResponseBodyObject = "error"
)
Defines values for ListVirtualCurrenciesBalances503JSONResponseBodyObject.
func (ListVirtualCurrenciesBalances503JSONResponseBodyObject) Valid ¶
func (e ListVirtualCurrenciesBalances503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances503JSONResponseBodyObject enum.
type ListVirtualCurrenciesBalances503JSONResponseBodyType ¶
type ListVirtualCurrenciesBalances503JSONResponseBodyType string
ListVirtualCurrenciesBalances503JSONResponseBodyType defines parameters for ListVirtualCurrenciesBalances.
const (
ListVirtualCurrenciesBalances503JSONResponseBodyTypeServerError ListVirtualCurrenciesBalances503JSONResponseBodyType = "server_error"
)
Defines values for ListVirtualCurrenciesBalances503JSONResponseBodyType.
func (ListVirtualCurrenciesBalances503JSONResponseBodyType) Valid ¶
func (e ListVirtualCurrenciesBalances503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalances503JSONResponseBodyType enum.
type ListVirtualCurrenciesBalancesObject ¶
type ListVirtualCurrenciesBalancesObject string
ListVirtualCurrenciesBalancesObject String representing the object's type. Objects of the same type share the same value.
const (
ListVirtualCurrenciesBalancesObjectList ListVirtualCurrenciesBalancesObject = "list"
)
Defines values for ListVirtualCurrenciesBalancesObject.
func (ListVirtualCurrenciesBalancesObject) Valid ¶
func (e ListVirtualCurrenciesBalancesObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesBalancesObject enum.
type ListVirtualCurrenciesBalancesParams ¶
type ListVirtualCurrenciesBalancesParams struct {
// IncludeEmptyBalances Whether to include virtual currencies with a zero balance (default false).
IncludeEmptyBalances *bool `form:"include_empty_balances,omitempty" json:"include_empty_balances,omitempty"`
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListVirtualCurrenciesBalancesParams defines parameters for ListVirtualCurrenciesBalances.
type ListVirtualCurrenciesObject ¶
type ListVirtualCurrenciesObject string
ListVirtualCurrenciesObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ListVirtualCurrenciesObjectList ListVirtualCurrenciesObject = "list"
)
Defines values for ListVirtualCurrenciesObject.
func (ListVirtualCurrenciesObject) Valid ¶
func (e ListVirtualCurrenciesObject) Valid() bool
Valid indicates whether the value is a known member of the ListVirtualCurrenciesObject enum.
type ListVirtualCurrenciesParams ¶
type ListVirtualCurrenciesParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListVirtualCurrenciesParams defines parameters for ListVirtualCurrencies.
type ListWebhookIntegrations400JSONResponseBodyObject ¶
type ListWebhookIntegrations400JSONResponseBodyObject string
ListWebhookIntegrations400JSONResponseBodyObject defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations400JSONResponseBodyObjectError ListWebhookIntegrations400JSONResponseBodyObject = "error"
)
Defines values for ListWebhookIntegrations400JSONResponseBodyObject.
func (ListWebhookIntegrations400JSONResponseBodyObject) Valid ¶
func (e ListWebhookIntegrations400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations400JSONResponseBodyObject enum.
type ListWebhookIntegrations400JSONResponseBodyType ¶
type ListWebhookIntegrations400JSONResponseBodyType string
ListWebhookIntegrations400JSONResponseBodyType defines parameters for ListWebhookIntegrations.
const ( ListWebhookIntegrations400JSONResponseBodyTypeInvalidRequest ListWebhookIntegrations400JSONResponseBodyType = "invalid_request" ListWebhookIntegrations400JSONResponseBodyTypeParameterError ListWebhookIntegrations400JSONResponseBodyType = "parameter_error" )
Defines values for ListWebhookIntegrations400JSONResponseBodyType.
func (ListWebhookIntegrations400JSONResponseBodyType) Valid ¶
func (e ListWebhookIntegrations400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations400JSONResponseBodyType enum.
type ListWebhookIntegrations401JSONResponseBodyObject ¶
type ListWebhookIntegrations401JSONResponseBodyObject string
ListWebhookIntegrations401JSONResponseBodyObject defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations401JSONResponseBodyObjectError ListWebhookIntegrations401JSONResponseBodyObject = "error"
)
Defines values for ListWebhookIntegrations401JSONResponseBodyObject.
func (ListWebhookIntegrations401JSONResponseBodyObject) Valid ¶
func (e ListWebhookIntegrations401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations401JSONResponseBodyObject enum.
type ListWebhookIntegrations401JSONResponseBodyType ¶
type ListWebhookIntegrations401JSONResponseBodyType string
ListWebhookIntegrations401JSONResponseBodyType defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations401JSONResponseBodyTypeAuthenticationError ListWebhookIntegrations401JSONResponseBodyType = "authentication_error"
)
Defines values for ListWebhookIntegrations401JSONResponseBodyType.
func (ListWebhookIntegrations401JSONResponseBodyType) Valid ¶
func (e ListWebhookIntegrations401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations401JSONResponseBodyType enum.
type ListWebhookIntegrations403JSONResponseBodyObject ¶
type ListWebhookIntegrations403JSONResponseBodyObject string
ListWebhookIntegrations403JSONResponseBodyObject defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations403JSONResponseBodyObjectError ListWebhookIntegrations403JSONResponseBodyObject = "error"
)
Defines values for ListWebhookIntegrations403JSONResponseBodyObject.
func (ListWebhookIntegrations403JSONResponseBodyObject) Valid ¶
func (e ListWebhookIntegrations403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations403JSONResponseBodyObject enum.
type ListWebhookIntegrations403JSONResponseBodyType ¶
type ListWebhookIntegrations403JSONResponseBodyType string
ListWebhookIntegrations403JSONResponseBodyType defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations403JSONResponseBodyTypeAuthorizationError ListWebhookIntegrations403JSONResponseBodyType = "authorization_error"
)
Defines values for ListWebhookIntegrations403JSONResponseBodyType.
func (ListWebhookIntegrations403JSONResponseBodyType) Valid ¶
func (e ListWebhookIntegrations403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations403JSONResponseBodyType enum.
type ListWebhookIntegrations404JSONResponseBodyObject ¶
type ListWebhookIntegrations404JSONResponseBodyObject string
ListWebhookIntegrations404JSONResponseBodyObject defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations404JSONResponseBodyObjectError ListWebhookIntegrations404JSONResponseBodyObject = "error"
)
Defines values for ListWebhookIntegrations404JSONResponseBodyObject.
func (ListWebhookIntegrations404JSONResponseBodyObject) Valid ¶
func (e ListWebhookIntegrations404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations404JSONResponseBodyObject enum.
type ListWebhookIntegrations404JSONResponseBodyType ¶
type ListWebhookIntegrations404JSONResponseBodyType string
ListWebhookIntegrations404JSONResponseBodyType defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations404JSONResponseBodyTypeResourceMissing ListWebhookIntegrations404JSONResponseBodyType = "resource_missing"
)
Defines values for ListWebhookIntegrations404JSONResponseBodyType.
func (ListWebhookIntegrations404JSONResponseBodyType) Valid ¶
func (e ListWebhookIntegrations404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations404JSONResponseBodyType enum.
type ListWebhookIntegrations423JSONResponseBodyObject ¶
type ListWebhookIntegrations423JSONResponseBodyObject string
ListWebhookIntegrations423JSONResponseBodyObject defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations423JSONResponseBodyObjectError ListWebhookIntegrations423JSONResponseBodyObject = "error"
)
Defines values for ListWebhookIntegrations423JSONResponseBodyObject.
func (ListWebhookIntegrations423JSONResponseBodyObject) Valid ¶
func (e ListWebhookIntegrations423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations423JSONResponseBodyObject enum.
type ListWebhookIntegrations423JSONResponseBodyType ¶
type ListWebhookIntegrations423JSONResponseBodyType string
ListWebhookIntegrations423JSONResponseBodyType defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations423JSONResponseBodyTypeResourceLockedError ListWebhookIntegrations423JSONResponseBodyType = "resource_locked_error"
)
Defines values for ListWebhookIntegrations423JSONResponseBodyType.
func (ListWebhookIntegrations423JSONResponseBodyType) Valid ¶
func (e ListWebhookIntegrations423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations423JSONResponseBodyType enum.
type ListWebhookIntegrations429JSONResponseBodyObject ¶
type ListWebhookIntegrations429JSONResponseBodyObject string
ListWebhookIntegrations429JSONResponseBodyObject defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations429JSONResponseBodyObjectError ListWebhookIntegrations429JSONResponseBodyObject = "error"
)
Defines values for ListWebhookIntegrations429JSONResponseBodyObject.
func (ListWebhookIntegrations429JSONResponseBodyObject) Valid ¶
func (e ListWebhookIntegrations429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations429JSONResponseBodyObject enum.
type ListWebhookIntegrations429JSONResponseBodyType ¶
type ListWebhookIntegrations429JSONResponseBodyType string
ListWebhookIntegrations429JSONResponseBodyType defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations429JSONResponseBodyTypeRateLimitError ListWebhookIntegrations429JSONResponseBodyType = "rate_limit_error"
)
Defines values for ListWebhookIntegrations429JSONResponseBodyType.
func (ListWebhookIntegrations429JSONResponseBodyType) Valid ¶
func (e ListWebhookIntegrations429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations429JSONResponseBodyType enum.
type ListWebhookIntegrations500JSONResponseBodyObject ¶
type ListWebhookIntegrations500JSONResponseBodyObject string
ListWebhookIntegrations500JSONResponseBodyObject defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations500JSONResponseBodyObjectError ListWebhookIntegrations500JSONResponseBodyObject = "error"
)
Defines values for ListWebhookIntegrations500JSONResponseBodyObject.
func (ListWebhookIntegrations500JSONResponseBodyObject) Valid ¶
func (e ListWebhookIntegrations500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations500JSONResponseBodyObject enum.
type ListWebhookIntegrations500JSONResponseBodyType ¶
type ListWebhookIntegrations500JSONResponseBodyType string
ListWebhookIntegrations500JSONResponseBodyType defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations500JSONResponseBodyTypeServerError ListWebhookIntegrations500JSONResponseBodyType = "server_error"
)
Defines values for ListWebhookIntegrations500JSONResponseBodyType.
func (ListWebhookIntegrations500JSONResponseBodyType) Valid ¶
func (e ListWebhookIntegrations500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations500JSONResponseBodyType enum.
type ListWebhookIntegrations503JSONResponseBodyObject ¶
type ListWebhookIntegrations503JSONResponseBodyObject string
ListWebhookIntegrations503JSONResponseBodyObject defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations503JSONResponseBodyObjectError ListWebhookIntegrations503JSONResponseBodyObject = "error"
)
Defines values for ListWebhookIntegrations503JSONResponseBodyObject.
func (ListWebhookIntegrations503JSONResponseBodyObject) Valid ¶
func (e ListWebhookIntegrations503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations503JSONResponseBodyObject enum.
type ListWebhookIntegrations503JSONResponseBodyType ¶
type ListWebhookIntegrations503JSONResponseBodyType string
ListWebhookIntegrations503JSONResponseBodyType defines parameters for ListWebhookIntegrations.
const (
ListWebhookIntegrations503JSONResponseBodyTypeServerError ListWebhookIntegrations503JSONResponseBodyType = "server_error"
)
Defines values for ListWebhookIntegrations503JSONResponseBodyType.
func (ListWebhookIntegrations503JSONResponseBodyType) Valid ¶
func (e ListWebhookIntegrations503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookIntegrations503JSONResponseBodyType enum.
type ListWebhookIntegrationsParams ¶
type ListWebhookIntegrationsParams struct {
// StartingAfter Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
StartingAfter *string `form:"starting_after,omitempty" json:"starting_after,omitempty"`
// Limit Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListWebhookIntegrationsParams defines parameters for ListWebhookIntegrations.
type LiveStoreState ¶
type LiveStoreState struct {
ProjectID string `json:"project_id"`
ProductID string `json:"product_id"`
Store string `json:"store"`
StoreStatus *StoreStatus `json:"store_status"`
Common *StoreStateCommon `json:"common"`
StoreState map[string]any `json:"store_state"`
// Warnings is a live-only field: human-readable notes about what's missing
// or needs attention (e.g. incomplete territory pricing). Empty when clean.
Warnings []string `json:"warnings"`
}
LiveStoreState is the live read of a product's state in its store. Pricing is the next effective price per territory (scheduled changes carry start_date).
type Locked ¶
type Locked struct {
// BackoffMs The ms the client should wait before retrying the request. Only present for retryable errors.
BackoffMs *int `json:"backoff_ms,omitempty"`
// DocURL A URL to more information about the error reported
//
// Example: https://errors.rev.cat/parameter-error
DocURL *string `json:"doc_url,omitempty"`
// Message A message describing the reason of the error
//
// Example: id shouldn't be longer than 1,500 characters
Message string `json:"message"`
// Object String representing the object's type. Objects of the same type share the same value.
//
// Example: error
Object LockedObject `json:"object"`
// Param If the error is parameter-specific, the parameter related to the error
//
// Example: customer_id
Param *string `json:"param,omitempty"`
// ReferencedObjectIds The IDs of related objects relevant to the error, such as the archived entities that need to be made active before the operation can succeed.
//
// Example: ["prodabcd1234","prodwxyz5678"]
ReferencedObjectIds *[]string `json:"referenced_object_ids,omitempty"`
// Retryable Indicates if the error is retryable or not
//
// Example: false
Retryable bool `json:"retryable"`
Type LockedType `json:"type"`
}
Locked defines model for Locked.
type LockedObject ¶
type LockedObject string
LockedObject String representing the object's type. Objects of the same type share the same value.
Example: error
const (
LockedObjectError LockedObject = "error"
)
Defines values for LockedObject.
func (LockedObject) Valid ¶
func (e LockedObject) Valid() bool
Valid indicates whether the value is a known member of the LockedObject enum.
type LockedType ¶
type LockedType string
LockedType defines model for Locked.Type.
const (
LockedTypeResourceLockedError LockedType = "resource_locked_error"
)
Defines values for LockedType.
func (LockedType) Valid ¶
func (e LockedType) Valid() bool
Valid indicates whether the value is a known member of the LockedType enum.
type LoginResponse ¶
type LoginResponse struct {
AuthenticationToken string `json:"authentication_token"`
}
type MacAppStoreApp ¶
type MacAppStoreApp struct {
// CreatedAt The date when the app was created in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// CustomURLScheme The custom URL scheme for the app, derived from the app's public ID.
//
// Example: rc-1a2b3c4
CustomURLScheme string `json:"custom_url_scheme"`
// ID The id of the app
//
// Example: app1a2b3c4
ID string `json:"id"`
// MacAppStore Legacy Mac App Store type details
MacAppStore MacAppStoreApp_MacAppStore `json:"mac_app_store"`
// Name The name of the app
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object MacAppStoreAppObject `json:"object"`
// ProjectID The id of the project
//
// Example: proj1a2b3c4
ProjectID string `json:"project_id"`
// Type The platform of the app
//
// Example: mac_app_store
Type MacAppStoreAppType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MacAppStoreApp defines model for MacAppStoreApp.
func (MacAppStoreApp) Get ¶
func (a MacAppStoreApp) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MacAppStoreApp. Returns the specified element and whether it was found
func (MacAppStoreApp) MarshalJSON ¶
func (a MacAppStoreApp) MarshalJSON() ([]byte, error)
Override default JSON handling for MacAppStoreApp to handle AdditionalProperties
func (*MacAppStoreApp) Set ¶
func (a *MacAppStoreApp) Set(fieldName string, value interface{})
Setter for additional properties for MacAppStoreApp
func (*MacAppStoreApp) UnmarshalJSON ¶
func (a *MacAppStoreApp) UnmarshalJSON(b []byte) error
Override default JSON handling for MacAppStoreApp to handle AdditionalProperties
type MacAppStoreAppCreate ¶
type MacAppStoreAppCreate struct {
// MacAppStore Mac App Store type details. Should only be used when type is mac_app_store.
MacAppStore struct {
// BundleID The bundle ID of the app
BundleID string `json:"bundle_id"`
// SharedSecret The shared secret of the app
SharedSecret *string `json:"shared_secret,omitempty"`
} `json:"mac_app_store"`
// Name The name of the app
Name string `json:"name"`
// Type The platform of the app.
// Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
Type MacAppStoreAppCreateType `json:"type"`
}
MacAppStoreAppCreate defines model for MacAppStoreAppCreate.
type MacAppStoreAppCreateType ¶
type MacAppStoreAppCreateType string
MacAppStoreAppCreateType The platform of the app. Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
const (
MacAppStoreAppCreateTypeMacAppStore MacAppStoreAppCreateType = "mac_app_store"
)
Defines values for MacAppStoreAppCreateType.
func (MacAppStoreAppCreateType) Valid ¶
func (e MacAppStoreAppCreateType) Valid() bool
Valid indicates whether the value is a known member of the MacAppStoreAppCreateType enum.
type MacAppStoreAppObject ¶
type MacAppStoreAppObject string
MacAppStoreAppObject String representing the object's type. Objects of the same type share the same value.
const (
MacAppStoreAppObjectApp MacAppStoreAppObject = "app"
)
Defines values for MacAppStoreAppObject.
func (MacAppStoreAppObject) Valid ¶
func (e MacAppStoreAppObject) Valid() bool
Valid indicates whether the value is a known member of the MacAppStoreAppObject enum.
type MacAppStoreAppType ¶
type MacAppStoreAppType string
MacAppStoreAppType The platform of the app
Example: mac_app_store
const (
MacAppStoreAppTypeMacAppStore MacAppStoreAppType = "mac_app_store"
)
Defines values for MacAppStoreAppType.
func (MacAppStoreAppType) Valid ¶
func (e MacAppStoreAppType) Valid() bool
Valid indicates whether the value is a known member of the MacAppStoreAppType enum.
type MacAppStoreApp_MacAppStore ¶
type MacAppStoreApp_MacAppStore struct {
// BundleID The bundle ID of the app
BundleID string `json:"bundle_id"`
// CustomURLScheme The custom URL scheme for the app, derived from the app's public ID.
//
// Example: rc-1a2b3c4
CustomURLScheme *string `json:"custom_url_scheme,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MacAppStoreApp_MacAppStore Legacy Mac App Store type details
func (MacAppStoreApp_MacAppStore) Get ¶
func (a MacAppStoreApp_MacAppStore) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MacAppStoreApp_MacAppStore. Returns the specified element and whether it was found
func (MacAppStoreApp_MacAppStore) MarshalJSON ¶
func (a MacAppStoreApp_MacAppStore) MarshalJSON() ([]byte, error)
Override default JSON handling for MacAppStoreApp_MacAppStore to handle AdditionalProperties
func (*MacAppStoreApp_MacAppStore) Set ¶
func (a *MacAppStoreApp_MacAppStore) Set(fieldName string, value interface{})
Setter for additional properties for MacAppStoreApp_MacAppStore
func (*MacAppStoreApp_MacAppStore) UnmarshalJSON ¶
func (a *MacAppStoreApp_MacAppStore) UnmarshalJSON(b []byte) error
Override default JSON handling for MacAppStoreApp_MacAppStore to handle AdditionalProperties
type MacAppStoreConfig ¶
type MacAppStoreConfig struct {
BundleID string `json:"bundle_id"`
}
type ManagementURL ¶
ManagementURL is returned by GET subscriptions/{id}/authenticated_management_url. The endpoint emits a tiny object rather than a bare string.
type MediaAsset ¶
type MediaAsset struct {
// AltText Alt text for the asset.
//
// Example: A dog looking at a phone
AltText *string `json:"alt_text"`
// AssetBaseURL The base URL where asset object names can be resolved.
//
// Example: https://paywalls-assets.revenuecat.com
AssetBaseURL *string `json:"asset_base_url"`
// AssetType The media asset type.
//
// Example: image
AssetType MediaAssetAssetType `json:"asset_type"`
// Formats Rendered image formats keyed by format name.
Formats *map[string]MediaAssetFormat `json:"formats"`
// ID The ID of the media asset.
//
// Example: mediaasset123456789abcdef
ID string `json:"id"`
// IsDecorative Whether this asset is decorative.
//
// Example: false
IsDecorative bool `json:"is_decorative"`
// Object String representing the object's type. Objects of the same type share the same value.
//
// Example: media_asset
Object MediaAssetObject `json:"object"`
// ObjectName The storage object name for the original asset.
//
// Example: paywalls/originals/abc123.webp
ObjectName string `json:"object_name"`
// OriginalHeight The original image height in pixels.
//
// Example: 1024
OriginalHeight *int `json:"original_height"`
// OriginalName The uploaded file name.
//
// Example: hero.webp
OriginalName string `json:"original_name"`
// OriginalSize The original file size in kilobytes.
//
// Example: 12345
OriginalSize int64 `json:"original_size"`
// OriginalWidth The original image width in pixels.
//
// Example: 1024
OriginalWidth *int `json:"original_width"`
// TranscodingStatus The video transcoding status, if this is a video asset.
TranscodingStatus *string `json:"transcoding_status"`
// VideoMetadata Video metadata, if this is a video asset.
VideoMetadata *map[string]interface{} `json:"video_metadata"`
}
MediaAsset defines model for MediaAsset.
type MediaAssetAssetType ¶
type MediaAssetAssetType string
MediaAssetAssetType The media asset type.
Example: image
const ( Image MediaAssetAssetType = "image" Video MediaAssetAssetType = "video" )
Defines values for MediaAssetAssetType.
func (MediaAssetAssetType) Valid ¶
func (e MediaAssetAssetType) Valid() bool
Valid indicates whether the value is a known member of the MediaAssetAssetType enum.
type MediaAssetFormat ¶
type MediaAssetFormat struct {
// Height The image height in pixels.
//
// Example: 1024
Height *int `json:"height"`
// Object String representing the object's type. Objects of the same type share the same value.
//
// Example: media_asset_format
Object MediaAssetFormatObject `json:"object"`
// ObjectName The storage object name for this rendered asset format.
//
// Example: paywalls/abc123.webp
ObjectName string `json:"object_name"`
// Size The file size in kilobytes.
//
// Example: 12345
Size int64 `json:"size"`
// Width The image width in pixels.
//
// Example: 1024
Width *int `json:"width"`
}
MediaAssetFormat defines model for MediaAssetFormat.
type MediaAssetFormatObject ¶
type MediaAssetFormatObject string
MediaAssetFormatObject String representing the object's type. Objects of the same type share the same value.
Example: media_asset_format
const (
MediaAssetFormatObjectMediaAssetFormat MediaAssetFormatObject = "media_asset_format"
)
Defines values for MediaAssetFormatObject.
func (MediaAssetFormatObject) Valid ¶
func (e MediaAssetFormatObject) Valid() bool
Valid indicates whether the value is a known member of the MediaAssetFormatObject enum.
type MediaAssetObject ¶
type MediaAssetObject string
MediaAssetObject String representing the object's type. Objects of the same type share the same value.
Example: media_asset
const (
MediaAssetObjectMediaAsset MediaAssetObject = "media_asset"
)
Defines values for MediaAssetObject.
func (MediaAssetObject) Valid ¶
func (e MediaAssetObject) Valid() bool
Valid indicates whether the value is a known member of the MediaAssetObject enum.
type MediaAssetsService ¶
type MediaAssetsService struct {
// contains filtered or unexported fields
}
func (*MediaAssetsService) Create ¶
func (s *MediaAssetsService) Create(ctx context.Context, projectID string, body CreateMediaAssetJSONBody) (*MediaAsset, error)
func (*MediaAssetsService) List ¶
func (s *MediaAssetsService) List(ctx context.Context, projectID string, opts *ListOptions) (*Page[MediaAsset], error)
type MetricsService ¶
type MetricsService struct {
// contains filtered or unexported fields
}
func (*MetricsService) Overview ¶
func (s *MetricsService) Overview(ctx context.Context, projectID string) (*OverviewMetrics, error)
GET /projects/{project_id}/metrics/overview
Not paginated; returns a fixed bundle of project-wide KPIs.
type Millis ¶
type Millis int64
Millis is a unix-millisecond timestamp. The v2 API emits these as ints.
type MonetaryAmount ¶
type MonetaryAmount struct {
// Commission Store commission or payment processor fees deducted from gross revenue (if any)
//
// Example: 2.99
Commission *float32 `json:"commission,omitempty"`
// Currency ISO 4217 currency code
//
// Example: USD
Currency Currency `json:"currency"`
// Gross Total revenue generated (excluding taxes and commission)
//
// Example: 9.99
Gross float32 `json:"gross"`
// Proceeds Net revenue after store commission / fees and taxes
//
// Example: 6.25
Proceeds float32 `json:"proceeds"`
// Tax Estimated taxes deducted from gross revenue
//
// Example: 0.75
Tax float32 `json:"tax"`
AdditionalProperties map[string]interface{} `json:"-"`
}
MonetaryAmount defines model for MonetaryAmount.
func (MonetaryAmount) Get ¶
func (a MonetaryAmount) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for MonetaryAmount. Returns the specified element and whether it was found
func (MonetaryAmount) MarshalJSON ¶
func (a MonetaryAmount) MarshalJSON() ([]byte, error)
Override default JSON handling for MonetaryAmount to handle AdditionalProperties
func (*MonetaryAmount) Set ¶
func (a *MonetaryAmount) Set(fieldName string, value interface{})
Setter for additional properties for MonetaryAmount
func (*MonetaryAmount) UnmarshalJSON ¶
func (a *MonetaryAmount) UnmarshalJSON(b []byte) error
Override default JSON handling for MonetaryAmount to handle AdditionalProperties
type NotFound ¶
type NotFound struct {
// BackoffMs The ms the client should wait before retrying the request. Only present for retryable errors.
BackoffMs *int `json:"backoff_ms,omitempty"`
// DocURL A URL to more information about the error reported
//
// Example: https://errors.rev.cat/parameter-error
DocURL *string `json:"doc_url,omitempty"`
// Message A message describing the reason of the error
//
// Example: id shouldn't be longer than 1,500 characters
Message string `json:"message"`
// Object String representing the object's type. Objects of the same type share the same value.
//
// Example: error
Object NotFoundObject `json:"object"`
// Param If the error is parameter-specific, the parameter related to the error
//
// Example: customer_id
Param *string `json:"param,omitempty"`
// ReferencedObjectIds The IDs of related objects relevant to the error, such as the archived entities that need to be made active before the operation can succeed.
//
// Example: ["prodabcd1234","prodwxyz5678"]
ReferencedObjectIds *[]string `json:"referenced_object_ids,omitempty"`
// Retryable Indicates if the error is retryable or not
//
// Example: false
Retryable bool `json:"retryable"`
Type NotFoundType `json:"type"`
}
NotFound defines model for NotFound.
type NotFoundObject ¶
type NotFoundObject string
NotFoundObject String representing the object's type. Objects of the same type share the same value.
Example: error
const (
NotFoundObjectError NotFoundObject = "error"
)
Defines values for NotFoundObject.
func (NotFoundObject) Valid ¶
func (e NotFoundObject) Valid() bool
Valid indicates whether the value is a known member of the NotFoundObject enum.
type NotFoundType ¶
type NotFoundType string
NotFoundType defines model for NotFound.Type.
const (
NotFoundTypeResourceMissing NotFoundType = "resource_missing"
)
Defines values for NotFoundType.
func (NotFoundType) Valid ¶
func (e NotFoundType) Valid() bool
Valid indicates whether the value is a known member of the NotFoundType enum.
type OAuthService ¶
type OAuthService struct {
// contains filtered or unexported fields
}
OAuthService handles the token endpoint only — the browser redirect and callback server live in the CLI layer since they have user-facing side effects.
func NewOAuthService ¶
func NewOAuthService(baseURL, clientID string) *OAuthService
func (*OAuthService) AuthorizeURL ¶
func (s *OAuthService) AuthorizeURL(redirectURI, challenge, state string) string
AuthorizeURL builds the /oauth2/authorize URL the user's browser should visit. state is a caller-generated random value that the server echoes back; callers must verify it in the callback to prevent CSRF.
func (*OAuthService) AuthorizeWithLoginToken ¶
func (*OAuthService) ExchangeCode ¶
func (s *OAuthService) ExchangeCode(ctx context.Context, code, redirectURI, verifier string) (*TokenResponse, error)
ExchangeCode exchanges an authorization code for tokens.
func (*OAuthService) Login ¶
func (s *OAuthService) Login(ctx context.Context, email, password string) (*LoginResponse, error)
func (*OAuthService) LogoutLoginToken ¶
func (s *OAuthService) LogoutLoginToken(ctx context.Context, loginToken string) error
func (*OAuthService) ProvisionAccount ¶
func (s *OAuthService) ProvisionAccount(ctx context.Context, account ProvisionAccountRequest) error
func (*OAuthService) Refresh ¶
func (s *OAuthService) Refresh(ctx context.Context, refreshToken string) (*TokenResponse, error)
Refresh exchanges a refresh token for a new token pair.
type Offering ¶
type Offering struct {
// CreatedAt The date the offering was created at in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// DisplayName The display name of the offering
//
// Example: The standard set of packages
DisplayName string `json:"display_name"`
// ID The id of the offering
//
// Example: ofrnge1a2b3c4d5
ID string `json:"id"`
// IsCurrent Indicates if the offering is the current offering
//
// Example: true
IsCurrent bool `json:"is_current"`
// LookupKey A custom identifier of the entitlement
//
// Example: default
LookupKey string `json:"lookup_key"`
// Metadata Custom metadata of the offering
//
// Example: {"call_to_action":"Subscribe Now!","color":"blue"}
Metadata *OfferingMetadata `json:"metadata,omitempty"`
// Object String representing the object's type. Objects of the same type share the same value.
Object OfferingObject `json:"object"`
Packages *struct {
// Items Details about each object.
Items []Package `json:"items"`
// NextPage URL to access the next page of the Offering's packages. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages?starting_after=pkgeab21dac
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object OfferingPackagesObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages
URL string `json:"url"`
} `json:"packages,omitempty"`
// PaywallID ID of the v2-visible paywall attached to this offering, or null if none.
//
// Example: pw12345abcde
PaywallID *string `json:"paywall_id"`
// ProjectID ID of the project to which the offering belongs
//
// Example: proj1ab2c3d4
ProjectID string `json:"project_id"`
// State Whether the offering is active or inactive (archived). Inactive offerings are not returned by the SDK.
//
// Example: active
State OfferingState `json:"state"`
}
Offering defines model for Offering.
type OfferingCreate ¶
type OfferingMetadata ¶
type OfferingMetadata map[string]interface{}
OfferingMetadata Custom metadata of the offering
Example: {"call_to_action":"Subscribe Now!","color":"blue"}
type OfferingObject ¶
type OfferingObject string
OfferingObject String representing the object's type. Objects of the same type share the same value.
const (
OfferingObjectOffering OfferingObject = "offering"
)
Defines values for OfferingObject.
func (OfferingObject) Valid ¶
func (e OfferingObject) Valid() bool
Valid indicates whether the value is a known member of the OfferingObject enum.
type OfferingPackagesObject ¶
type OfferingPackagesObject string
OfferingPackagesObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
OfferingPackagesObjectList OfferingPackagesObject = "list"
)
Defines values for OfferingPackagesObject.
func (OfferingPackagesObject) Valid ¶
func (e OfferingPackagesObject) Valid() bool
Valid indicates whether the value is a known member of the OfferingPackagesObject enum.
type OfferingState ¶
type OfferingState string
OfferingState Whether the offering is active or inactive (archived). Inactive offerings are not returned by the SDK.
Example: active
const ( OfferingStateActive OfferingState = "active" OfferingStateInactive OfferingState = "inactive" )
Defines values for OfferingState.
func (OfferingState) Valid ¶
func (e OfferingState) Valid() bool
Valid indicates whether the value is a known member of the OfferingState enum.
type OfferingUpdate ¶
type OfferingsService ¶
type OfferingsService struct {
// contains filtered or unexported fields
}
func (*OfferingsService) Create ¶
func (s *OfferingsService) Create(ctx context.Context, projectID string, body OfferingCreate) (*Offering, error)
func (*OfferingsService) Delete ¶
func (s *OfferingsService) Delete(ctx context.Context, projectID, id string) error
func (*OfferingsService) Update ¶
func (s *OfferingsService) Update(ctx context.Context, projectID, id string, body OfferingUpdate) (*Offering, error)
type OneTimeProduct ¶
type OneTimeProduct struct {
// IsConsumable Indicates whether the product is consumable or not.
//
// Example: true
IsConsumable *bool `json:"is_consumable"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OneTimeProduct defines model for OneTimeProduct.
func (OneTimeProduct) Get ¶
func (a OneTimeProduct) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for OneTimeProduct. Returns the specified element and whether it was found
func (OneTimeProduct) MarshalJSON ¶
func (a OneTimeProduct) MarshalJSON() ([]byte, error)
Override default JSON handling for OneTimeProduct to handle AdditionalProperties
func (*OneTimeProduct) Set ¶
func (a *OneTimeProduct) Set(fieldName string, value interface{})
Setter for additional properties for OneTimeProduct
func (*OneTimeProduct) UnmarshalJSON ¶
func (a *OneTimeProduct) UnmarshalJSON(b []byte) error
Override default JSON handling for OneTimeProduct to handle AdditionalProperties
type OverviewMetric ¶
type OverviewMetric struct {
// Description Description of the overview metric
Description string `json:"description"`
// ID Id of the overview metric
//
// Example: active_trials
ID string `json:"id"`
// LastUpdatedAt Last time the overview metric was updated in ms since epoch
//
// Example: 1658399423658
LastUpdatedAt *int64 `json:"last_updated_at"`
// LastUpdatedAtIso8601 Last time the overview metric was updated datetime in ISO 8601 format
//
// Example: 2022-10-13 09:45:00.123000+00:00
LastUpdatedAtIso8601 *time.Time `json:"last_updated_at_iso8601"`
// Name Display name of the overview metric
//
// Example: Active Trials
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object OverviewMetricObject `json:"object"`
// Period Length of time during which metric data is collected in ISO 8601 format. Zero period means metric data was collected now
//
// Example: P0D
Period OverviewMetricPeriod `json:"period"`
// Unit Unit of the overview metric
//
// Example: $
Unit string `json:"unit"`
// Value Value of the overview metric
//
// Example: 34765
Value float32 `json:"value"`
}
OverviewMetric defines model for OverviewMetric.
type OverviewMetricObject ¶
type OverviewMetricObject string
OverviewMetricObject String representing the object's type. Objects of the same type share the same value.
const (
OverviewMetricObjectOverviewMetric OverviewMetricObject = "overview_metric"
)
Defines values for OverviewMetricObject.
func (OverviewMetricObject) Valid ¶
func (e OverviewMetricObject) Valid() bool
Valid indicates whether the value is a known member of the OverviewMetricObject enum.
type OverviewMetricPeriod ¶
type OverviewMetricPeriod string
OverviewMetricPeriod Length of time during which metric data is collected in ISO 8601 format. Zero period means metric data was collected now
Example: P0D
const ( P0D OverviewMetricPeriod = "P0D" P28D OverviewMetricPeriod = "P28D" )
Defines values for OverviewMetricPeriod.
func (OverviewMetricPeriod) Valid ¶
func (e OverviewMetricPeriod) Valid() bool
Valid indicates whether the value is a known member of the OverviewMetricPeriod enum.
type OverviewMetrics ¶
type OverviewMetrics struct {
// Currency The currency that monetary metric values are expressed in. Defaults to USD. When the request is authenticated with a developer JWT/OAuth token and no `currency` query parameter is provided, this reflects the developer's saved dashboard display currency.
//
// Example: EUR
Currency OverviewMetricsCurrency `json:"currency"`
// Metrics Details about each overview metric.
Metrics []OverviewMetric `json:"metrics"`
// Object String representing the object's type. Objects of the same type share the same value.
Object OverviewMetricsObject `json:"object"`
}
OverviewMetrics defines model for OverviewMetrics.
type OverviewMetricsCurrency ¶
type OverviewMetricsCurrency string
OverviewMetricsCurrency The currency that monetary metric values are expressed in. Defaults to USD. When the request is authenticated with a developer JWT/OAuth token and no `currency` query parameter is provided, this reflects the developer's saved dashboard display currency.
Example: EUR
const ( OverviewMetricsCurrencyAUD OverviewMetricsCurrency = "AUD" OverviewMetricsCurrencyBRL OverviewMetricsCurrency = "BRL" OverviewMetricsCurrencyCAD OverviewMetricsCurrency = "CAD" OverviewMetricsCurrencyCHF OverviewMetricsCurrency = "CHF" OverviewMetricsCurrencyCNY OverviewMetricsCurrency = "CNY" OverviewMetricsCurrencyEUR OverviewMetricsCurrency = "EUR" OverviewMetricsCurrencyGBP OverviewMetricsCurrency = "GBP" OverviewMetricsCurrencyJPY OverviewMetricsCurrency = "JPY" OverviewMetricsCurrencyKRW OverviewMetricsCurrency = "KRW" OverviewMetricsCurrencyMXN OverviewMetricsCurrency = "MXN" OverviewMetricsCurrencyNZD OverviewMetricsCurrency = "NZD" OverviewMetricsCurrencyPLN OverviewMetricsCurrency = "PLN" OverviewMetricsCurrencySEK OverviewMetricsCurrency = "SEK" OverviewMetricsCurrencyUSD OverviewMetricsCurrency = "USD" )
Defines values for OverviewMetricsCurrency.
func (OverviewMetricsCurrency) Valid ¶
func (e OverviewMetricsCurrency) Valid() bool
Valid indicates whether the value is a known member of the OverviewMetricsCurrency enum.
type OverviewMetricsObject ¶
type OverviewMetricsObject string
OverviewMetricsObject String representing the object's type. Objects of the same type share the same value.
const (
OverviewMetricsObjectOverviewMetrics OverviewMetricsObject = "overview_metrics"
)
Defines values for OverviewMetricsObject.
func (OverviewMetricsObject) Valid ¶
func (e OverviewMetricsObject) Valid() bool
Valid indicates whether the value is a known member of the OverviewMetricsObject enum.
type Ownership ¶
type Ownership string
Ownership Example: purchased
const ( Purchased Ownership = "purchased" )
Defines values for Ownership.
type Package ¶
type Package struct {
// CreatedAt The date the package was created at in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// DisplayName The display name of the package
//
// Example: Monthly discounted with 3-day trial
DisplayName string `json:"display_name"`
// ID The id of the package
//
// Example: pkge1a2b3c4d5
ID string `json:"id"`
// LookupKey The lookup_key of the package
//
// Example: monthly
LookupKey string `json:"lookup_key"`
// Object String representing the object's type. Objects of the same type share the same value.
Object PackageObject `json:"object"`
// Position The position of the package within the offering
//
// Example: 1
Position *int `json:"position"`
Products *struct {
// Items Product association
Items []PackageProductAssociation `json:"items"`
// NextPage URL to access the next page of the project's products. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object PackageProductsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products
URL string `json:"url"`
} `json:"products,omitempty"`
}
Package defines model for Package.
type PackageCreate ¶
type PackageObject ¶
type PackageObject string
PackageObject String representing the object's type. Objects of the same type share the same value.
const (
PackageObjectPackage PackageObject = "package"
)
Defines values for PackageObject.
func (PackageObject) Valid ¶
func (e PackageObject) Valid() bool
Valid indicates whether the value is a known member of the PackageObject enum.
type PackageProductAssociation ¶
type PackageProductAssociation struct {
EligibilityCriteria EligibilityCriteria `json:"eligibility_criteria"`
Product Product `json:"product"`
AdditionalProperties map[string]interface{} `json:"-"`
}
PackageProductAssociation defines model for PackageProductAssociation.
func (PackageProductAssociation) Get ¶
func (a PackageProductAssociation) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for PackageProductAssociation. Returns the specified element and whether it was found
func (PackageProductAssociation) MarshalJSON ¶
func (a PackageProductAssociation) MarshalJSON() ([]byte, error)
Override default JSON handling for PackageProductAssociation to handle AdditionalProperties
func (*PackageProductAssociation) Set ¶
func (a *PackageProductAssociation) Set(fieldName string, value interface{})
Setter for additional properties for PackageProductAssociation
func (*PackageProductAssociation) UnmarshalJSON ¶
func (a *PackageProductAssociation) UnmarshalJSON(b []byte) error
Override default JSON handling for PackageProductAssociation to handle AdditionalProperties
type PackageProductIDAssociation ¶
type PackageProductIDAssociation struct {
EligibilityCriteria EligibilityCriteria `json:"eligibility_criteria"`
ProductID string `json:"product_id"`
}
PackageProductIDAssociation defines model for PackageProductIDAssociation.
type PackageProductsObject ¶
type PackageProductsObject string
PackageProductsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
PackageProductsObjectList PackageProductsObject = "list"
)
Defines values for PackageProductsObject.
func (PackageProductsObject) Valid ¶
func (e PackageProductsObject) Valid() bool
Valid indicates whether the value is a known member of the PackageProductsObject enum.
type PackageUpdate ¶
type PackagesService ¶
type PackagesService struct {
// contains filtered or unexported fields
}
func (*PackagesService) AttachProducts ¶
func (*PackagesService) Create ¶
func (s *PackagesService) Create(ctx context.Context, projectID, offeringID string, body PackageCreate) (*Package, error)
func (*PackagesService) Delete ¶
func (s *PackagesService) Delete(ctx context.Context, projectID, id string) error
func (*PackagesService) DetachProducts ¶
func (*PackagesService) ListProducts ¶
func (s *PackagesService) ListProducts(ctx context.Context, projectID, id string) (*ProductsFromPackage, error)
func (*PackagesService) Update ¶
func (s *PackagesService) Update(ctx context.Context, projectID, id string, body PackageUpdate) (*Package, error)
type PaddleApp ¶
type PaddleApp struct {
// CreatedAt The date when the app was created in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// CustomURLScheme The custom URL scheme for the app, derived from the app's public ID.
//
// Example: rc-1a2b3c4
CustomURLScheme string `json:"custom_url_scheme"`
// ID The id of the app
//
// Example: app1a2b3c4
ID string `json:"id"`
// Name The name of the app
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object PaddleAppObject `json:"object"`
// Paddle Paddle Billing type details
Paddle PaddleApp_Paddle `json:"paddle"`
// ProjectID The id of the project
//
// Example: proj1a2b3c4
ProjectID string `json:"project_id"`
// Type The platform of the app
//
// Example: paddle
Type PaddleAppType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
PaddleApp defines model for PaddleApp.
func (PaddleApp) Get ¶
Getter for additional properties for PaddleApp. Returns the specified element and whether it was found
func (PaddleApp) MarshalJSON ¶
Override default JSON handling for PaddleApp to handle AdditionalProperties
func (*PaddleApp) UnmarshalJSON ¶
Override default JSON handling for PaddleApp to handle AdditionalProperties
type PaddleAppConfig ¶
type PaddleAppCreate ¶
type PaddleAppCreate struct {
// Name The name of the app
Name string `json:"name"`
// Paddle Paddle Billing details. Should only be used when type is paddle.
Paddle *struct {
// PaddleAPIKey Paddle Server-side API key provided on the Paddle dashboard.
PaddleAPIKey *string `json:"paddle_api_key,omitempty"`
// PaddleIsSandbox [Deprecated] Whether the app is tied to the sandbox environment.
// This field is deprecated and will be removed in the future.
// The environment is determined by the `paddle_api_key` format.
//
//
// Example: true
PaddleIsSandbox *bool `json:"paddle_is_sandbox,omitempty"`
} `json:"paddle,omitempty"`
// Type The platform of the app.
// Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
Type PaddleAppCreateType `json:"type"`
}
PaddleAppCreate defines model for PaddleAppCreate.
type PaddleAppCreateType ¶
type PaddleAppCreateType string
PaddleAppCreateType The platform of the app. Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
const (
PaddleAppCreateTypePaddle PaddleAppCreateType = "paddle"
)
Defines values for PaddleAppCreateType.
func (PaddleAppCreateType) Valid ¶
func (e PaddleAppCreateType) Valid() bool
Valid indicates whether the value is a known member of the PaddleAppCreateType enum.
type PaddleAppObject ¶
type PaddleAppObject string
PaddleAppObject String representing the object's type. Objects of the same type share the same value.
const (
PaddleAppObjectApp PaddleAppObject = "app"
)
Defines values for PaddleAppObject.
func (PaddleAppObject) Valid ¶
func (e PaddleAppObject) Valid() bool
Valid indicates whether the value is a known member of the PaddleAppObject enum.
type PaddleAppType ¶
type PaddleAppType string
PaddleAppType The platform of the app
Example: paddle
const (
PaddleAppTypePaddle PaddleAppType = "paddle"
)
Defines values for PaddleAppType.
func (PaddleAppType) Valid ¶
func (e PaddleAppType) Valid() bool
Valid indicates whether the value is a known member of the PaddleAppType enum.
type PaddleApp_Paddle ¶
type PaddleApp_Paddle struct {
// PaddleAPIKey Paddle Server-side API key provided on the Paddle dashboard.
PaddleAPIKey *string `json:"paddle_api_key,omitempty"`
// PaddleIsSandbox Whether the app is tied to the sandbox environment.
//
// Example: true
PaddleIsSandbox *bool `json:"paddle_is_sandbox,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
PaddleApp_Paddle Paddle Billing type details
func (PaddleApp_Paddle) Get ¶
func (a PaddleApp_Paddle) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for PaddleApp_Paddle. Returns the specified element and whether it was found
func (PaddleApp_Paddle) MarshalJSON ¶
func (a PaddleApp_Paddle) MarshalJSON() ([]byte, error)
Override default JSON handling for PaddleApp_Paddle to handle AdditionalProperties
func (*PaddleApp_Paddle) Set ¶
func (a *PaddleApp_Paddle) Set(fieldName string, value interface{})
Setter for additional properties for PaddleApp_Paddle
func (*PaddleApp_Paddle) UnmarshalJSON ¶
func (a *PaddleApp_Paddle) UnmarshalJSON(b []byte) error
Override default JSON handling for PaddleApp_Paddle to handle AdditionalProperties
type Page ¶
type Page[T any] struct { Items []T `json:"items"` NextPage string `json:"next_page,omitempty"` Object string `json:"object,omitempty"` URL string `json:"url,omitempty"` }
Page wraps cursor-paginated list responses.
RevenueCat v2 uses Stripe-style envelopes: a full URL in `next_page` is the cursor for the next request, or null when exhausted. `object` is always "list"; `url` is the canonical URL of this page.
func (Page[T]) NextCursor ¶
NextCursor is the starting_after cursor for the next page, read from the next_page URL. Empty on the last page.
type Paywall ¶
type Paywall struct {
ID string `json:"id"`
Name string `json:"name,omitempty"`
OfferingID string `json:"offering_id,omitempty"`
AutomaticallyScaleFontSize bool `json:"automatically_scale_font_size,omitempty"`
CreatedAt Millis `json:"created_at,omitempty"`
PublishedAt *Millis `json:"published_at"`
Components *PaywallComponents `json:"components,omitempty"`
Object string `json:"object,omitempty"`
}
type PaywallComponents ¶
type PaywallComponents struct {
Published *PaywallComponentsVersion `json:"published"`
Draft *PaywallComponentsVersion `json:"draft"`
}
PaywallComponents carries the published and draft component versions when a paywall is fetched with expand=components.
type PaywallComponentsCreate ¶
type PaywallComponentsCreate struct {
OfferingID string `json:"offering_id,omitempty"`
Name string `json:"name,omitempty"`
ComponentsConfig json.RawMessage `json:"components_config"`
ComponentsLocalizations json.RawMessage `json:"components_localizations"`
DefaultLocale string `json:"default_locale,omitempty"`
}
PaywallComponentsCreate is the from-components create variant: offering optional, so paywalls can exist standalone and attach later.
type PaywallComponentsVersion ¶
type PaywallComponentsVersion struct {
Revision *int `json:"revision"`
ComponentsConfig json.RawMessage `json:"components_config"`
ComponentsLocalizations json.RawMessage `json:"components_localizations"`
StateDeclarations json.RawMessage `json:"state_declarations,omitempty"`
DefaultLocale string `json:"default_locale"`
AutomaticallyScaleFontSize bool `json:"automatically_scale_font_size"`
}
type PaywallDraftCreate ¶
type PaywallDraftCreate struct {
// AutomaticallyScaleFontSize Whether font sizes should automatically scale for this paywall. Defaults to true.
//
// Example: true
AutomaticallyScaleFontSize *bool `json:"automatically_scale_font_size,omitempty"`
// ComponentsConfig The raw paywall components configuration to save as the draft.
//
// Example: {"base":{"stack":{"components":[],"id":"main_stack","type":"stack"}}}
ComponentsConfig map[string]interface{} `json:"components_config"`
// ComponentsLocalizations Localized component values keyed by locale.
//
// Example: {"en_US":{"title":"Premium"}}
ComponentsLocalizations map[string]map[string]interface{} `json:"components_localizations"`
// DefaultLocale The default locale for this paywall. Defaults to en_US.
//
// Example: en_US
DefaultLocale *string `json:"default_locale,omitempty"`
// Name Optional paywall name.
//
// Example: Main Paywall
Name *string `json:"name,omitempty"`
// OfferingID The optional ID of the offering the paywall draft will be attached to.
//
//
// Example: ofrng123456789a
OfferingID *string `json:"offering_id,omitempty"`
}
PaywallDraftCreate defines model for PaywallDraftCreate.
type PaywallDraftUpdate ¶
type PaywallDraftUpdate struct {
Revision int `json:"revision"`
ComponentsConfig json.RawMessage `json:"components_config"`
ComponentsLocalizations json.RawMessage `json:"components_localizations"`
// Unset must marshal as an omitted field, never as null: the server keeps
// stored declarations when the field is absent but clears them on explicit null.
StateDeclarations json.RawMessage `json:"state_declarations,omitempty"`
DefaultLocale string `json:"default_locale"`
Name *string `json:"name,omitempty"`
}
PaywallDraftUpdate is the PATCH body that saves component state onto a paywall draft. Revision must match the server's current draft revision; stale writes are rejected with HTTP 409.
type PaywallVersion ¶
type PaywallVersion struct {
// AutomaticallyScaleFontSize Whether font sizes should automatically scale for this paywall version.
//
// Example: true
AutomaticallyScaleFontSize bool `json:"automatically_scale_font_size"`
// ComponentsConfig The raw paywall components configuration captured by this version.
//
// Example: {"base":{"stack":{"components":[],"id":"main_stack","type":"stack"}}}
ComponentsConfig *map[string]interface{} `json:"components_config"`
// ComponentsLocalizations Localized component values keyed by locale.
//
// Example: {"en_US":{"title":"Premium"}}
ComponentsLocalizations *map[string]map[string]interface{} `json:"components_localizations"`
// CreatedAt The date the paywall version was created at in ms since epoch.
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// DefaultLocale The default locale captured by this version.
//
// Example: en_US
DefaultLocale *string `json:"default_locale"`
// ExitOffers Exit offer configuration captured by this version.
//
// Example: {"dismiss":{"offering_id":"ofrng123456789abcdef"}}
ExitOffers *map[string]interface{} `json:"exit_offers"`
// ID The id of the paywall version.
//
// Example: pwv123456789abcdef
ID string `json:"id"`
// Name The name of the paywall version.
//
// Example: Before AI edit
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object PaywallVersionObject `json:"object"`
// PlayStoreProductChangeMode Play Store product change mode configuration captured by this version.
//
// Example: {"upgrade_replacement_mode":"deferred"}
PlayStoreProductChangeMode *map[string]interface{} `json:"play_store_product_change_mode"`
// Revision The paywall revision captured by this version.
//
// Example: 3
Revision int `json:"revision"`
// StateDeclarations State declarations captured by this version.
//
// Example: {"selectedPackage":{"default":"monthly","type":"string"}}
StateDeclarations *map[string]interface{} `json:"state_declarations"`
AdditionalProperties map[string]interface{} `json:"-"`
}
PaywallVersion defines model for PaywallVersion.
func (PaywallVersion) Get ¶
func (a PaywallVersion) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for PaywallVersion. Returns the specified element and whether it was found
func (PaywallVersion) MarshalJSON ¶
func (a PaywallVersion) MarshalJSON() ([]byte, error)
Override default JSON handling for PaywallVersion to handle AdditionalProperties
func (*PaywallVersion) Set ¶
func (a *PaywallVersion) Set(fieldName string, value interface{})
Setter for additional properties for PaywallVersion
func (*PaywallVersion) UnmarshalJSON ¶
func (a *PaywallVersion) UnmarshalJSON(b []byte) error
Override default JSON handling for PaywallVersion to handle AdditionalProperties
type PaywallVersionObject ¶
type PaywallVersionObject string
PaywallVersionObject String representing the object's type. Objects of the same type share the same value.
const (
PaywallVersionObjectPaywallVersion PaywallVersionObject = "paywall_version"
)
Defines values for PaywallVersionObject.
func (PaywallVersionObject) Valid ¶
func (e PaywallVersionObject) Valid() bool
Valid indicates whether the value is a known member of the PaywallVersionObject enum.
type PaywallsService ¶
type PaywallsService struct {
// contains filtered or unexported fields
}
func (*PaywallsService) CreateFromComponents ¶
func (s *PaywallsService) CreateFromComponents(ctx context.Context, projectID string, body PaywallComponentsCreate) (*Paywall, error)
func (*PaywallsService) Delete ¶
func (s *PaywallsService) Delete(ctx context.Context, projectID, id string) error
func (*PaywallsService) GetWithComponents ¶
func (s *PaywallsService) GetWithComponents(ctx context.Context, projectID, id string) (*Paywall, error)
GetWithComponents fetches a paywall including its published and draft component versions.
func (*PaywallsService) SetOffering ¶
func (s *PaywallsService) SetOffering(ctx context.Context, projectID, id string, revision int, offeringID *string) (*Paywall, error)
SetOffering attaches (non-nil) or detaches (nil) the paywall's offering.
func (*PaywallsService) UpdateDraft ¶
func (s *PaywallsService) UpdateDraft(ctx context.Context, projectID, id string, body PaywallDraftUpdate) (*Paywall, error)
UpdateDraft saves component state onto the paywall draft.
type PlayStoreApp ¶
type PlayStoreApp struct {
// CreatedAt The date when the app was created in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// CustomURLScheme The custom URL scheme for the app, derived from the app's public ID.
//
// Example: rc-1a2b3c4
CustomURLScheme string `json:"custom_url_scheme"`
// ID The id of the app
//
// Example: app1a2b3c4
ID string `json:"id"`
// Name The name of the app
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object PlayStoreAppObject `json:"object"`
// PlayStore Play Store type details
PlayStore PlayStoreApp_PlayStore `json:"play_store"`
// ProjectID The id of the project
//
// Example: proj1a2b3c4
ProjectID string `json:"project_id"`
// Type The platform of the app
//
// Example: play_store
Type PlayStoreAppType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
PlayStoreApp defines model for PlayStoreApp.
func (PlayStoreApp) Get ¶
func (a PlayStoreApp) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for PlayStoreApp. Returns the specified element and whether it was found
func (PlayStoreApp) MarshalJSON ¶
func (a PlayStoreApp) MarshalJSON() ([]byte, error)
Override default JSON handling for PlayStoreApp to handle AdditionalProperties
func (*PlayStoreApp) Set ¶
func (a *PlayStoreApp) Set(fieldName string, value interface{})
Setter for additional properties for PlayStoreApp
func (*PlayStoreApp) UnmarshalJSON ¶
func (a *PlayStoreApp) UnmarshalJSON(b []byte) error
Override default JSON handling for PlayStoreApp to handle AdditionalProperties
type PlayStoreAppConfig ¶
type PlayStoreAppConfig struct {
PackageName string `json:"package_name,omitempty"`
// PlayServiceAccountCredentialsJSON is the Google service-account key JSON,
// write-only. Set on an app update to upload the Play credential. The read
// model never returns it — see PlayServiceAccountCredentialsConfigured.
PlayServiceAccountCredentialsJSON *string `json:"play_service_account_credentials_json,omitempty"`
}
type PlayStoreAppCreate ¶
type PlayStoreAppCreate struct {
// Name The name of the app
Name string `json:"name"`
// PlayStore Play Store type details. Should only be used when type is play_store.
PlayStore struct {
// PackageName The package name of the app
PackageName string `json:"package_name"`
} `json:"play_store"`
// Type The platform of the app.
// Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
Type PlayStoreAppCreateType `json:"type"`
}
PlayStoreAppCreate defines model for PlayStoreAppCreate.
type PlayStoreAppCreateType ¶
type PlayStoreAppCreateType string
PlayStoreAppCreateType The platform of the app. Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
const (
PlayStoreAppCreateTypePlayStore PlayStoreAppCreateType = "play_store"
)
Defines values for PlayStoreAppCreateType.
func (PlayStoreAppCreateType) Valid ¶
func (e PlayStoreAppCreateType) Valid() bool
Valid indicates whether the value is a known member of the PlayStoreAppCreateType enum.
type PlayStoreAppObject ¶
type PlayStoreAppObject string
PlayStoreAppObject String representing the object's type. Objects of the same type share the same value.
const (
PlayStoreAppObjectApp PlayStoreAppObject = "app"
)
Defines values for PlayStoreAppObject.
func (PlayStoreAppObject) Valid ¶
func (e PlayStoreAppObject) Valid() bool
Valid indicates whether the value is a known member of the PlayStoreAppObject enum.
type PlayStoreAppType ¶
type PlayStoreAppType string
PlayStoreAppType The platform of the app
Example: play_store
const (
PlayStoreAppTypePlayStore PlayStoreAppType = "play_store"
)
Defines values for PlayStoreAppType.
func (PlayStoreAppType) Valid ¶
func (e PlayStoreAppType) Valid() bool
Valid indicates whether the value is a known member of the PlayStoreAppType enum.
type PlayStoreApp_PlayStore ¶
type PlayStoreApp_PlayStore struct {
// CustomURLScheme The custom URL scheme for the app, derived from the app's public ID.
//
// Example: rc-1a2b3c4
CustomURLScheme *string `json:"custom_url_scheme,omitempty"`
// PackageName The package name of the app
PackageName string `json:"package_name"`
AdditionalProperties map[string]interface{} `json:"-"`
}
PlayStoreApp_PlayStore Play Store type details
func (PlayStoreApp_PlayStore) Get ¶
func (a PlayStoreApp_PlayStore) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for PlayStoreApp_PlayStore. Returns the specified element and whether it was found
func (PlayStoreApp_PlayStore) MarshalJSON ¶
func (a PlayStoreApp_PlayStore) MarshalJSON() ([]byte, error)
Override default JSON handling for PlayStoreApp_PlayStore to handle AdditionalProperties
func (*PlayStoreApp_PlayStore) Set ¶
func (a *PlayStoreApp_PlayStore) Set(fieldName string, value interface{})
Setter for additional properties for PlayStoreApp_PlayStore
func (*PlayStoreApp_PlayStore) UnmarshalJSON ¶
func (a *PlayStoreApp_PlayStore) UnmarshalJSON(b []byte) error
Override default JSON handling for PlayStoreApp_PlayStore to handle AdditionalProperties
type Product ¶
type Product struct {
App *App `json:"app,omitempty"`
// AppID The id of the app
//
// Example: app1a2b3c4
AppID string `json:"app_id"`
// CreatedAt The date when the product was created in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// DisplayName The display name of the product
//
// Example: Premium Monthly 2023
DisplayName *string `json:"display_name"`
// ID The id of the product
//
// Example: prod1a2b3c4d5e
ID string `json:"id"`
// IndicativePrice An indicative price for a product, in the default currency/country (USD / US). Uses the same price source as the get-offering-prices endpoint.
IndicativePrice *IndicativePrice `json:"indicative_price,omitempty"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ProductObject `json:"object"`
OneTime *OneTimeProduct `json:"one_time,omitempty"`
// State Whether the product is active or inactive (archived).
//
// Example: active
State ProductState `json:"state"`
// StoreIdentifier The store product identifier
//
// Example: rc_1w_199
StoreIdentifier string `json:"store_identifier"`
Subscription *SubscriptionProduct `json:"subscription,omitempty"`
Type ProductType `json:"type"`
}
Product defines model for Product.
type ProductCreate ¶
type ProductCreate struct {
StoreIdentifier string `json:"store_identifier"`
Type string `json:"type"` // "subscription" | "one_time"
AppID string `json:"app_id"`
DisplayName string `json:"display_name,omitempty"`
Title string `json:"title,omitempty"`
Subscription *ProductSubscriptionInput `json:"subscription,omitempty"`
}
type ProductListOptions ¶
type ProductListOptions struct {
AppID string
}
type ProductObject ¶
type ProductObject string
ProductObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ProductObjectProduct ProductObject = "product"
)
Defines values for ProductObject.
func (ProductObject) Valid ¶
func (e ProductObject) Valid() bool
Valid indicates whether the value is a known member of the ProductObject enum.
type ProductPrice ¶
type ProductPriceInput ¶
type ProductPriceUpdate ¶
type ProductPriceUpdate struct {
AmountMicros int64 `json:"amount_micros"`
}
type ProductPricesCreate ¶
type ProductPricesCreate struct {
Prices []ProductPriceInput `json:"prices"`
}
type ProductState ¶
type ProductState string
ProductState Whether the product is active or inactive (archived).
Example: active
const ( ProductStateActive ProductState = "active" ProductStateInactive ProductState = "inactive" )
Defines values for ProductState.
func (ProductState) Valid ¶
func (e ProductState) Valid() bool
Valid indicates whether the value is a known member of the ProductState enum.
type ProductSubscriptionInput ¶
type ProductSubscriptionInput struct {
// Duration The duration of the product subscription. This field is only supported for the test store and it is ignored for other stores.
//
// Example: P1W
Duration Duration `json:"duration"`
}
ProductSubscriptionInput Subscription parameters for product creation. Only supported for simulated store products.
type ProductType ¶
type ProductType string
ProductType defines model for ProductType.
const ( ProductTypeConsumable ProductType = "consumable" ProductTypeNonConsumable ProductType = "non_consumable" ProductTypeNonRenewingSubscription ProductType = "non_renewing_subscription" ProductTypeOneTime ProductType = "one_time" ProductTypeSubscription ProductType = "subscription" )
Defines values for ProductType.
func (ProductType) Valid ¶
func (e ProductType) Valid() bool
Valid indicates whether the value is a known member of the ProductType enum.
type ProductUpdate ¶
type ProductUpdate struct {
DisplayName *string `json:"display_name,omitempty"`
}
type ProductsFromEntitlement ¶
type ProductsFromEntitlement struct {
// Items Details about each object.
Items []Product `json:"items"`
// NextPage URL to access the next page of the entitlement's products. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/entitlements/entla1b2c3d4e5/products?starting_after=prod1a2b3c4d5
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ProductsFromEntitlementObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/entitlements/entla1b2c3d4e5/products
URL string `json:"url"`
}
ProductsFromEntitlement defines model for ProductsFromEntitlement.
type ProductsFromEntitlementObject ¶
type ProductsFromEntitlementObject string
ProductsFromEntitlementObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ProductsFromEntitlementObjectList ProductsFromEntitlementObject = "list"
)
Defines values for ProductsFromEntitlementObject.
func (ProductsFromEntitlementObject) Valid ¶
func (e ProductsFromEntitlementObject) Valid() bool
Valid indicates whether the value is a known member of the ProductsFromEntitlementObject enum.
type ProductsFromPackage ¶
type ProductsFromPackage struct {
// Items Details about each object.
Items []PackageProductAssociation `json:"items"`
// NextPage URL to access the next page of the entitlement's products. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/packages/pkge1a2b3c4d5/products?starting_after=prod1a2b3c4d5
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object ProductsFromPackageObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/packages/pkge1a2b3c4d5/products
URL string `json:"url"`
}
ProductsFromPackage defines model for ProductsFromPackage.
type ProductsFromPackageObject ¶
type ProductsFromPackageObject string
ProductsFromPackageObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
ProductsFromPackageObjectList ProductsFromPackageObject = "list"
)
Defines values for ProductsFromPackageObject.
func (ProductsFromPackageObject) Valid ¶
func (e ProductsFromPackageObject) Valid() bool
Valid indicates whether the value is a known member of the ProductsFromPackageObject enum.
type ProductsService ¶
type ProductsService struct {
// contains filtered or unexported fields
}
func (*ProductsService) Create ¶
func (s *ProductsService) Create(ctx context.Context, projectID string, body ProductCreate) (*Product, error)
func (*ProductsService) CreateTestStorePrices ¶
func (s *ProductsService) CreateTestStorePrices(ctx context.Context, projectID, productID string, body ProductPricesCreate) ([]ProductPrice, error)
func (*ProductsService) Delete ¶
func (s *ProductsService) Delete(ctx context.Context, projectID, id string) error
func (*ProductsService) List ¶
func (s *ProductsService) List(ctx context.Context, projectID string, opts *ProductListOptions) (*Page[Product], error)
func (*ProductsService) ListPrices ¶
func (s *ProductsService) ListPrices(ctx context.Context, projectID, productID string) ([]ProductPrice, error)
func (*ProductsService) Push ¶
func (s *ProductsService) Push(ctx context.Context, projectID, id string) error
POST /projects/{project_id}/products/{id}/create_in_store
Push the product configuration to the underlying store.
func (*ProductsService) Update ¶
func (s *ProductsService) Update(ctx context.Context, projectID, id string, body ProductUpdate) (*Product, error)
func (*ProductsService) UpdatePrice ¶
func (s *ProductsService) UpdatePrice(ctx context.Context, projectID, productID, currency string, body ProductPriceUpdate) (*ProductPrice, error)
type Project ¶
type Project struct {
// CreatedAt The date when the project was created in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// IconURL The URL of the project's icon (small size)
//
// Example: https://www.appatar.io/abc123/small
IconURL *string `json:"icon_url,omitempty"`
// IconURLLarge The URL of the project's icon (large size)
//
// Example: https://www.appatar.io/abc123/large
IconURLLarge *string `json:"icon_url_large,omitempty"`
// ID The id of the project
//
// Example: proj1ab2c3d4
ID string `json:"id"`
// Name The name of the project
//
// Example: MagicWeather
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object ProjectObject `json:"object"`
}
Project defines model for Project.
type ProjectCreate ¶
type ProjectCreate struct {
// Name The name of the project
Name string `json:"name"`
}
ProjectCreate defines model for ProjectCreate.
type ProjectObject ¶
type ProjectObject string
ProjectObject String representing the object's type. Objects of the same type share the same value.
const (
ProjectObjectProject ProjectObject = "project"
)
Defines values for ProjectObject.
func (ProjectObject) Valid ¶
func (e ProjectObject) Valid() bool
Valid indicates whether the value is a known member of the ProjectObject enum.
type ProjectsService ¶
type ProjectsService struct {
// contains filtered or unexported fields
}
func (*ProjectsService) Create ¶
func (s *ProjectsService) Create(ctx context.Context, body ProjectCreate) (*Project, error)
POST /projects
func (*ProjectsService) Get ¶
Get resolves a single project by ID. The v2 API doesn't expose a per-project GET endpoint yet, so this lists and filters. Callers don't need to know. Replace with a direct GET when it ships.
func (*ProjectsService) List ¶
GET /projects, following next_page until the account's projects are drained. next_page is a full URL; we re-request through the base-relative path using its starting_after cursor. If a page reports no cursor, we stop with what we have (no worse than a single-page fetch).
type ProvisionAccountRequest ¶
type PublicAPIKey ¶
type PublicAPIKey struct {
// AppID The ID of the app the public API key is for
//
// Example: app1a2b3c4
AppID string `json:"app_id"`
// CreatedAt The date when the public API key was created in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// Environment The environment the public API key is for
Environment PublicAPIKeyEnvironment `json:"environment"`
// ID The ID of the public API key
//
// Example: apikey12345
ID string `json:"id"`
// Key The value of the public API key
//
// Example: goog_1ab2c3d4
Key string `json:"key"`
// Object String representing the object's type. Objects of the same type share the same value.
Object PublicAPIKeyObject `json:"object"`
}
PublicAPIKey defines model for PublicApiKey.
type PublicAPIKeyEnvironment ¶
type PublicAPIKeyEnvironment string
PublicAPIKeyEnvironment The environment the public API key is for
const ( PublicAPIKeyEnvironmentProduction PublicAPIKeyEnvironment = "production" PublicAPIKeyEnvironmentSandbox PublicAPIKeyEnvironment = "sandbox" )
Defines values for PublicAPIKeyEnvironment.
func (PublicAPIKeyEnvironment) Valid ¶
func (e PublicAPIKeyEnvironment) Valid() bool
Valid indicates whether the value is a known member of the PublicAPIKeyEnvironment enum.
type PublicAPIKeyObject ¶
type PublicAPIKeyObject string
PublicAPIKeyObject String representing the object's type. Objects of the same type share the same value.
const (
PublicAPIKeyObjectPublicAPIKey PublicAPIKeyObject = "public_api_key"
)
Defines values for PublicAPIKeyObject.
func (PublicAPIKeyObject) Valid ¶
func (e PublicAPIKeyObject) Valid() bool
Valid indicates whether the value is a known member of the PublicAPIKeyObject enum.
type PublishPaywall400JSONResponseBodyObject ¶
type PublishPaywall400JSONResponseBodyObject string
PublishPaywall400JSONResponseBodyObject defines parameters for PublishPaywall.
const (
PublishPaywall400JSONResponseBodyObjectError PublishPaywall400JSONResponseBodyObject = "error"
)
Defines values for PublishPaywall400JSONResponseBodyObject.
func (PublishPaywall400JSONResponseBodyObject) Valid ¶
func (e PublishPaywall400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall400JSONResponseBodyObject enum.
type PublishPaywall400JSONResponseBodyType ¶
type PublishPaywall400JSONResponseBodyType string
PublishPaywall400JSONResponseBodyType defines parameters for PublishPaywall.
const ( PublishPaywall400JSONResponseBodyTypeInvalidRequest PublishPaywall400JSONResponseBodyType = "invalid_request" PublishPaywall400JSONResponseBodyTypeParameterError PublishPaywall400JSONResponseBodyType = "parameter_error" )
Defines values for PublishPaywall400JSONResponseBodyType.
func (PublishPaywall400JSONResponseBodyType) Valid ¶
func (e PublishPaywall400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall400JSONResponseBodyType enum.
type PublishPaywall401JSONResponseBodyObject ¶
type PublishPaywall401JSONResponseBodyObject string
PublishPaywall401JSONResponseBodyObject defines parameters for PublishPaywall.
const (
PublishPaywall401JSONResponseBodyObjectError PublishPaywall401JSONResponseBodyObject = "error"
)
Defines values for PublishPaywall401JSONResponseBodyObject.
func (PublishPaywall401JSONResponseBodyObject) Valid ¶
func (e PublishPaywall401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall401JSONResponseBodyObject enum.
type PublishPaywall401JSONResponseBodyType ¶
type PublishPaywall401JSONResponseBodyType string
PublishPaywall401JSONResponseBodyType defines parameters for PublishPaywall.
const (
PublishPaywall401JSONResponseBodyTypeAuthenticationError PublishPaywall401JSONResponseBodyType = "authentication_error"
)
Defines values for PublishPaywall401JSONResponseBodyType.
func (PublishPaywall401JSONResponseBodyType) Valid ¶
func (e PublishPaywall401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall401JSONResponseBodyType enum.
type PublishPaywall403JSONResponseBodyObject ¶
type PublishPaywall403JSONResponseBodyObject string
PublishPaywall403JSONResponseBodyObject defines parameters for PublishPaywall.
const (
PublishPaywall403JSONResponseBodyObjectError PublishPaywall403JSONResponseBodyObject = "error"
)
Defines values for PublishPaywall403JSONResponseBodyObject.
func (PublishPaywall403JSONResponseBodyObject) Valid ¶
func (e PublishPaywall403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall403JSONResponseBodyObject enum.
type PublishPaywall403JSONResponseBodyType ¶
type PublishPaywall403JSONResponseBodyType string
PublishPaywall403JSONResponseBodyType defines parameters for PublishPaywall.
const (
PublishPaywall403JSONResponseBodyTypeAuthorizationError PublishPaywall403JSONResponseBodyType = "authorization_error"
)
Defines values for PublishPaywall403JSONResponseBodyType.
func (PublishPaywall403JSONResponseBodyType) Valid ¶
func (e PublishPaywall403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall403JSONResponseBodyType enum.
type PublishPaywall404JSONResponseBodyObject ¶
type PublishPaywall404JSONResponseBodyObject string
PublishPaywall404JSONResponseBodyObject defines parameters for PublishPaywall.
const (
PublishPaywall404JSONResponseBodyObjectError PublishPaywall404JSONResponseBodyObject = "error"
)
Defines values for PublishPaywall404JSONResponseBodyObject.
func (PublishPaywall404JSONResponseBodyObject) Valid ¶
func (e PublishPaywall404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall404JSONResponseBodyObject enum.
type PublishPaywall404JSONResponseBodyType ¶
type PublishPaywall404JSONResponseBodyType string
PublishPaywall404JSONResponseBodyType defines parameters for PublishPaywall.
const (
PublishPaywall404JSONResponseBodyTypeResourceMissing PublishPaywall404JSONResponseBodyType = "resource_missing"
)
Defines values for PublishPaywall404JSONResponseBodyType.
func (PublishPaywall404JSONResponseBodyType) Valid ¶
func (e PublishPaywall404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall404JSONResponseBodyType enum.
type PublishPaywall409JSONResponseBodyObject ¶
type PublishPaywall409JSONResponseBodyObject string
PublishPaywall409JSONResponseBodyObject defines parameters for PublishPaywall.
const (
PublishPaywall409JSONResponseBodyObjectError PublishPaywall409JSONResponseBodyObject = "error"
)
Defines values for PublishPaywall409JSONResponseBodyObject.
func (PublishPaywall409JSONResponseBodyObject) Valid ¶
func (e PublishPaywall409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall409JSONResponseBodyObject enum.
type PublishPaywall409JSONResponseBodyType ¶
type PublishPaywall409JSONResponseBodyType string
PublishPaywall409JSONResponseBodyType defines parameters for PublishPaywall.
const ( PublishPaywall409JSONResponseBodyTypeIdempotencyError PublishPaywall409JSONResponseBodyType = "idempotency_error" PublishPaywall409JSONResponseBodyTypeInvalidRequest PublishPaywall409JSONResponseBodyType = "invalid_request" PublishPaywall409JSONResponseBodyTypeResourceAlreadyExists PublishPaywall409JSONResponseBodyType = "resource_already_exists" )
Defines values for PublishPaywall409JSONResponseBodyType.
func (PublishPaywall409JSONResponseBodyType) Valid ¶
func (e PublishPaywall409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall409JSONResponseBodyType enum.
type PublishPaywall422JSONResponseBodyObject ¶
type PublishPaywall422JSONResponseBodyObject string
PublishPaywall422JSONResponseBodyObject defines parameters for PublishPaywall.
const (
PublishPaywall422JSONResponseBodyObjectError PublishPaywall422JSONResponseBodyObject = "error"
)
Defines values for PublishPaywall422JSONResponseBodyObject.
func (PublishPaywall422JSONResponseBodyObject) Valid ¶
func (e PublishPaywall422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall422JSONResponseBodyObject enum.
type PublishPaywall422JSONResponseBodyType ¶
type PublishPaywall422JSONResponseBodyType string
PublishPaywall422JSONResponseBodyType defines parameters for PublishPaywall.
const ( PublishPaywall422JSONResponseBodyTypeEntityReferencesArchivedEntities PublishPaywall422JSONResponseBodyType = "entity_references_archived_entities" PublishPaywall422JSONResponseBodyTypeParameterError PublishPaywall422JSONResponseBodyType = "parameter_error" PublishPaywall422JSONResponseBodyTypeStoreError PublishPaywall422JSONResponseBodyType = "store_error" PublishPaywall422JSONResponseBodyTypeUnprocessableEntityError PublishPaywall422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for PublishPaywall422JSONResponseBodyType.
func (PublishPaywall422JSONResponseBodyType) Valid ¶
func (e PublishPaywall422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall422JSONResponseBodyType enum.
type PublishPaywall423JSONResponseBodyObject ¶
type PublishPaywall423JSONResponseBodyObject string
PublishPaywall423JSONResponseBodyObject defines parameters for PublishPaywall.
const (
PublishPaywall423JSONResponseBodyObjectError PublishPaywall423JSONResponseBodyObject = "error"
)
Defines values for PublishPaywall423JSONResponseBodyObject.
func (PublishPaywall423JSONResponseBodyObject) Valid ¶
func (e PublishPaywall423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall423JSONResponseBodyObject enum.
type PublishPaywall423JSONResponseBodyType ¶
type PublishPaywall423JSONResponseBodyType string
PublishPaywall423JSONResponseBodyType defines parameters for PublishPaywall.
const (
PublishPaywall423JSONResponseBodyTypeResourceLockedError PublishPaywall423JSONResponseBodyType = "resource_locked_error"
)
Defines values for PublishPaywall423JSONResponseBodyType.
func (PublishPaywall423JSONResponseBodyType) Valid ¶
func (e PublishPaywall423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall423JSONResponseBodyType enum.
type PublishPaywall429JSONResponseBodyObject ¶
type PublishPaywall429JSONResponseBodyObject string
PublishPaywall429JSONResponseBodyObject defines parameters for PublishPaywall.
const (
PublishPaywall429JSONResponseBodyObjectError PublishPaywall429JSONResponseBodyObject = "error"
)
Defines values for PublishPaywall429JSONResponseBodyObject.
func (PublishPaywall429JSONResponseBodyObject) Valid ¶
func (e PublishPaywall429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall429JSONResponseBodyObject enum.
type PublishPaywall429JSONResponseBodyType ¶
type PublishPaywall429JSONResponseBodyType string
PublishPaywall429JSONResponseBodyType defines parameters for PublishPaywall.
const (
PublishPaywall429JSONResponseBodyTypeRateLimitError PublishPaywall429JSONResponseBodyType = "rate_limit_error"
)
Defines values for PublishPaywall429JSONResponseBodyType.
func (PublishPaywall429JSONResponseBodyType) Valid ¶
func (e PublishPaywall429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall429JSONResponseBodyType enum.
type PublishPaywall500JSONResponseBodyObject ¶
type PublishPaywall500JSONResponseBodyObject string
PublishPaywall500JSONResponseBodyObject defines parameters for PublishPaywall.
const (
PublishPaywall500JSONResponseBodyObjectError PublishPaywall500JSONResponseBodyObject = "error"
)
Defines values for PublishPaywall500JSONResponseBodyObject.
func (PublishPaywall500JSONResponseBodyObject) Valid ¶
func (e PublishPaywall500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall500JSONResponseBodyObject enum.
type PublishPaywall500JSONResponseBodyType ¶
type PublishPaywall500JSONResponseBodyType string
PublishPaywall500JSONResponseBodyType defines parameters for PublishPaywall.
const (
PublishPaywall500JSONResponseBodyTypeServerError PublishPaywall500JSONResponseBodyType = "server_error"
)
Defines values for PublishPaywall500JSONResponseBodyType.
func (PublishPaywall500JSONResponseBodyType) Valid ¶
func (e PublishPaywall500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall500JSONResponseBodyType enum.
type PublishPaywall503JSONResponseBodyObject ¶
type PublishPaywall503JSONResponseBodyObject string
PublishPaywall503JSONResponseBodyObject defines parameters for PublishPaywall.
const (
PublishPaywall503JSONResponseBodyObjectError PublishPaywall503JSONResponseBodyObject = "error"
)
Defines values for PublishPaywall503JSONResponseBodyObject.
func (PublishPaywall503JSONResponseBodyObject) Valid ¶
func (e PublishPaywall503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall503JSONResponseBodyObject enum.
type PublishPaywall503JSONResponseBodyType ¶
type PublishPaywall503JSONResponseBodyType string
PublishPaywall503JSONResponseBodyType defines parameters for PublishPaywall.
const (
PublishPaywall503JSONResponseBodyTypeServerError PublishPaywall503JSONResponseBodyType = "server_error"
)
Defines values for PublishPaywall503JSONResponseBodyType.
func (PublishPaywall503JSONResponseBodyType) Valid ¶
func (e PublishPaywall503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the PublishPaywall503JSONResponseBodyType enum.
type Purchase ¶
type Purchase struct {
// Country The country that the object is associated with, in ISO alpha 2 code
//
// Example: US
Country *Country `json:"country,omitempty"`
// CustomerID The id of the customer
//
// Example: 19b8de26-77c1-49f1-aa18-019a391603e2
CustomerID string `json:"customer_id"`
Entitlements struct {
// Items Details about each object.
Items []Entitlement `json:"items"`
// NextPage URL to access the next page of the customer's entitlements. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/purchases/sub1a2b3c4d5e/entitlements?status=active&starting_after=entlab21dac
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object PurchaseEntitlementsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/purchases/sub1a2b3c4d5e/entitlements
URL string `json:"url"`
} `json:"entitlements"`
// Environment The store environment
//
// Example: production
Environment Environment `json:"environment"`
// ID The id of the purchase
//
// Example: purch1a2b3c4d5e
ID string `json:"id"`
// Object String representing the object's type. Objects of the same type share the same value.
Object PurchaseObject `json:"object"`
// OriginalCustomerID The ID of the original customer
//
// Example: 19b8de26-77c1-49f1-aa18-019a391603e2
OriginalCustomerID string `json:"original_customer_id"`
// Ownership Ownership of the purchase
Ownership Purchase_Ownership `json:"ownership"`
// PresentedOfferingID The ID of the offering the customer saw when they did the purchase
//
// Example: ofrnge1a2b3c4d5
PresentedOfferingID *string `json:"presented_offering_id"`
// ProductID The ID of the product that was purchased
//
// Example: prod1a2b3c4d5e
ProductID string `json:"product_id"`
// PurchasedAt The date when the purchase was made in ms since epoch
//
// Example: 1658399423658
PurchasedAt int64 `json:"purchased_at"`
// Quantity The quantity of the product purchased in one transaction
//
// Example: 1
Quantity int `json:"quantity"`
// RevenueInUsd The revenue generated by the purchase in USD
RevenueInUsd Purchase_RevenueInUsd `json:"revenue_in_usd"`
// Status The status of a purchase
//
// Example: owned
Status PurchaseStatus `json:"status"`
// Store Store the purchase belongs to
//
// Example: amazon
Store PurchaseStore `json:"store"`
// StorePurchaseIdentifier The store purchase identifier
//
// Example: 12345678
StorePurchaseIdentifier string `json:"store_purchase_identifier"`
}
Purchase defines model for Purchase.
type PurchaseEntitlementsObject ¶
type PurchaseEntitlementsObject string
PurchaseEntitlementsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
PurchaseEntitlementsObjectList PurchaseEntitlementsObject = "list"
)
Defines values for PurchaseEntitlementsObject.
func (PurchaseEntitlementsObject) Valid ¶
func (e PurchaseEntitlementsObject) Valid() bool
Valid indicates whether the value is a known member of the PurchaseEntitlementsObject enum.
type PurchaseObject ¶
type PurchaseObject string
PurchaseObject String representing the object's type. Objects of the same type share the same value.
const (
PurchaseObjectPurchase PurchaseObject = "purchase"
)
Defines values for PurchaseObject.
func (PurchaseObject) Valid ¶
func (e PurchaseObject) Valid() bool
Valid indicates whether the value is a known member of the PurchaseObject enum.
type PurchaseStatus ¶
type PurchaseStatus string
PurchaseStatus The status of a purchase
Example: owned
const ( Owned PurchaseStatus = "owned" Refunded PurchaseStatus = "refunded" )
Defines values for PurchaseStatus.
func (PurchaseStatus) Valid ¶
func (e PurchaseStatus) Valid() bool
Valid indicates whether the value is a known member of the PurchaseStatus enum.
type PurchaseStore ¶
type PurchaseStore string
PurchaseStore Store the purchase belongs to
Example: amazon
const ( PurchaseStoreAmazon PurchaseStore = "amazon" PurchaseStoreAppStore PurchaseStore = "app_store" PurchaseStoreExternal PurchaseStore = "external" PurchaseStoreGalaxy PurchaseStore = "galaxy" PurchaseStoreMacAppStore PurchaseStore = "mac_app_store" PurchaseStorePaddle PurchaseStore = "paddle" PurchaseStorePaypal PurchaseStore = "paypal" PurchaseStorePlayStore PurchaseStore = "play_store" PurchaseStorePromotional PurchaseStore = "promotional" PurchaseStoreRcBilling PurchaseStore = "rc_billing" PurchaseStoreRoku PurchaseStore = "roku" PurchaseStoreStripe PurchaseStore = "stripe" PurchaseStoreTestStore PurchaseStore = "test_store" )
Defines values for PurchaseStore.
func (PurchaseStore) Valid ¶
func (e PurchaseStore) Valid() bool
Valid indicates whether the value is a known member of the PurchaseStore enum.
type Purchase_Ownership ¶
type Purchase_Ownership struct {
// contains filtered or unexported fields
}
Purchase_Ownership Ownership of the purchase
func (Purchase_Ownership) AsOwnership ¶
func (t Purchase_Ownership) AsOwnership() (Ownership, error)
AsOwnership returns the union data inside the Purchase_Ownership as a Ownership
func (*Purchase_Ownership) FromOwnership ¶
func (t *Purchase_Ownership) FromOwnership(v Ownership) error
FromOwnership overwrites any union data inside the Purchase_Ownership as the provided Ownership
func (Purchase_Ownership) MarshalJSON ¶
func (t Purchase_Ownership) MarshalJSON() ([]byte, error)
func (*Purchase_Ownership) MergeOwnership ¶
func (t *Purchase_Ownership) MergeOwnership(v Ownership) error
MergeOwnership performs a merge with any union data inside the Purchase_Ownership, using the provided Ownership
func (*Purchase_Ownership) UnmarshalJSON ¶
func (t *Purchase_Ownership) UnmarshalJSON(b []byte) error
type Purchase_RevenueInUsd ¶
type Purchase_RevenueInUsd struct {
// contains filtered or unexported fields
}
Purchase_RevenueInUsd The revenue generated by the purchase in USD
func (Purchase_RevenueInUsd) AsMonetaryAmount ¶
func (t Purchase_RevenueInUsd) AsMonetaryAmount() (MonetaryAmount, error)
AsMonetaryAmount returns the union data inside the Purchase_RevenueInUsd as a MonetaryAmount
func (*Purchase_RevenueInUsd) FromMonetaryAmount ¶
func (t *Purchase_RevenueInUsd) FromMonetaryAmount(v MonetaryAmount) error
FromMonetaryAmount overwrites any union data inside the Purchase_RevenueInUsd as the provided MonetaryAmount
func (Purchase_RevenueInUsd) MarshalJSON ¶
func (t Purchase_RevenueInUsd) MarshalJSON() ([]byte, error)
func (*Purchase_RevenueInUsd) MergeMonetaryAmount ¶
func (t *Purchase_RevenueInUsd) MergeMonetaryAmount(v MonetaryAmount) error
MergeMonetaryAmount performs a merge with any union data inside the Purchase_RevenueInUsd, using the provided MonetaryAmount
func (*Purchase_RevenueInUsd) UnmarshalJSON ¶
func (t *Purchase_RevenueInUsd) UnmarshalJSON(b []byte) error
type PurchasesService ¶
type PurchasesService struct {
// contains filtered or unexported fields
}
func (*PurchasesService) Entitlements ¶
func (s *PurchasesService) Entitlements(ctx context.Context, projectID, id string) (*Page[Entitlement], error)
GET /projects/{project_id}/purchases/{id}/entitlements
type RCBillingApp ¶
type RCBillingApp struct {
// CreatedAt The date when the app was created in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// CustomURLScheme The custom URL scheme for the app, derived from the app's public ID.
//
// Example: rc-1a2b3c4
CustomURLScheme string `json:"custom_url_scheme"`
// ID The id of the app
//
// Example: app1a2b3c4
ID string `json:"id"`
// Name The name of the app
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object RCBillingAppObject `json:"object"`
// ProjectID The id of the project
//
// Example: proj1a2b3c4
ProjectID string `json:"project_id"`
// RcBilling Revenue Cat Billing Store type details
RcBilling RCBillingApp_RcBilling `json:"rc_billing"`
// Type The platform of the app
//
// Example: rc_billing
Type RCBillingAppType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RCBillingApp defines model for RCBillingApp.
func (RCBillingApp) Get ¶
func (a RCBillingApp) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for RCBillingApp. Returns the specified element and whether it was found
func (RCBillingApp) MarshalJSON ¶
func (a RCBillingApp) MarshalJSON() ([]byte, error)
Override default JSON handling for RCBillingApp to handle AdditionalProperties
func (*RCBillingApp) Set ¶
func (a *RCBillingApp) Set(fieldName string, value interface{})
Setter for additional properties for RCBillingApp
func (*RCBillingApp) UnmarshalJSON ¶
func (a *RCBillingApp) UnmarshalJSON(b []byte) error
Override default JSON handling for RCBillingApp to handle AdditionalProperties
type RCBillingAppCreate ¶
type RCBillingAppCreate struct {
// Name The name of the app
Name string `json:"name"`
// RcBilling Revenue Cat Billing Store type details
RcBilling *struct {
// AppName Shown in checkout, emails, and receipts sent to customers.
AppName string `json:"app_name"`
// DefaultCurrency ISO 4217 currency code
//
// Example: USD
DefaultCurrency *RCBillingCurrency `json:"default_currency,omitempty"`
// StripeAccountID It needs to be connected to your RevenueCat account. It can be omitted if you only have a single Stripe account connected to your RevenueCat account.
StripeAccountID *string `json:"stripe_account_id,omitempty"`
// SupportEmail Used as the `reply to` address in all emails sent to customers, to allow them to receive support. If you leave this field blank, your RevenueCat account email address will be used.
SupportEmail *string `json:"support_email,omitempty"`
} `json:"rc_billing,omitempty"`
// Type The platform of the app.
// Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
Type RCBillingAppCreateType `json:"type"`
}
RCBillingAppCreate defines model for RCBillingAppCreate.
type RCBillingAppCreateType ¶
type RCBillingAppCreateType string
RCBillingAppCreateType The platform of the app. Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
const (
RCBillingAppCreateTypeRcBilling RCBillingAppCreateType = "rc_billing"
)
Defines values for RCBillingAppCreateType.
func (RCBillingAppCreateType) Valid ¶
func (e RCBillingAppCreateType) Valid() bool
Valid indicates whether the value is a known member of the RCBillingAppCreateType enum.
type RCBillingAppObject ¶
type RCBillingAppObject string
RCBillingAppObject String representing the object's type. Objects of the same type share the same value.
const (
RCBillingAppObjectApp RCBillingAppObject = "app"
)
Defines values for RCBillingAppObject.
func (RCBillingAppObject) Valid ¶
func (e RCBillingAppObject) Valid() bool
Valid indicates whether the value is a known member of the RCBillingAppObject enum.
type RCBillingAppType ¶
type RCBillingAppType string
RCBillingAppType The platform of the app
Example: rc_billing
const (
RCBillingAppTypeRcBilling RCBillingAppType = "rc_billing"
)
Defines values for RCBillingAppType.
func (RCBillingAppType) Valid ¶
func (e RCBillingAppType) Valid() bool
Valid indicates whether the value is a known member of the RCBillingAppType enum.
type RCBillingApp_RcBilling ¶
type RCBillingApp_RcBilling struct {
// AppName Shown in checkout, emails, and receipts sent to customers.
AppName *string `json:"app_name,omitempty"`
// DefaultCurrency ISO 4217 currency code
//
// Example: USD
DefaultCurrency RCBillingCurrency `json:"default_currency"`
// SellerCompanyName The company name. This field is deprecated. Please, use `app_name` instead.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
SellerCompanyName string `json:"seller_company_name"`
// SellerCompanySupportEmail The company support email. This field is deprecated. Please, use `support_email` instead.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
SellerCompanySupportEmail *string `json:"seller_company_support_email,omitempty"`
// StripeAccountID Stripe account connected to your RevenueCat account.
StripeAccountID *string `json:"stripe_account_id,omitempty"`
// SupportEmail Used as the `reply to` address in all emails sent to customers, to allow them to receive support.
SupportEmail *string `json:"support_email,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RCBillingApp_RcBilling Revenue Cat Billing Store type details
func (RCBillingApp_RcBilling) Get ¶
func (a RCBillingApp_RcBilling) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for RCBillingApp_RcBilling. Returns the specified element and whether it was found
func (RCBillingApp_RcBilling) MarshalJSON ¶
func (a RCBillingApp_RcBilling) MarshalJSON() ([]byte, error)
Override default JSON handling for RCBillingApp_RcBilling to handle AdditionalProperties
func (*RCBillingApp_RcBilling) Set ¶
func (a *RCBillingApp_RcBilling) Set(fieldName string, value interface{})
Setter for additional properties for RCBillingApp_RcBilling
func (*RCBillingApp_RcBilling) UnmarshalJSON ¶
func (a *RCBillingApp_RcBilling) UnmarshalJSON(b []byte) error
Override default JSON handling for RCBillingApp_RcBilling to handle AdditionalProperties
type RCBillingConfig ¶
type RCBillingCurrency ¶
type RCBillingCurrency string
RCBillingCurrency ISO 4217 currency code
Example: USD
const ( RCBillingCurrencyAED RCBillingCurrency = "AED" RCBillingCurrencyAUD RCBillingCurrency = "AUD" RCBillingCurrencyBRL RCBillingCurrency = "BRL" RCBillingCurrencyCAD RCBillingCurrency = "CAD" RCBillingCurrencyCHF RCBillingCurrency = "CHF" RCBillingCurrencyCLP RCBillingCurrency = "CLP" RCBillingCurrencyCNY RCBillingCurrency = "CNY" RCBillingCurrencyCOP RCBillingCurrency = "COP" RCBillingCurrencyCRC RCBillingCurrency = "CRC" RCBillingCurrencyCZK RCBillingCurrency = "CZK" RCBillingCurrencyDKK RCBillingCurrency = "DKK" RCBillingCurrencyEUR RCBillingCurrency = "EUR" RCBillingCurrencyGBP RCBillingCurrency = "GBP" RCBillingCurrencyGEL RCBillingCurrency = "GEL" RCBillingCurrencyHKD RCBillingCurrency = "HKD" RCBillingCurrencyHUF RCBillingCurrency = "HUF" RCBillingCurrencyIDR RCBillingCurrency = "IDR" RCBillingCurrencyILS RCBillingCurrency = "ILS" RCBillingCurrencyIQD RCBillingCurrency = "IQD" RCBillingCurrencyJOD RCBillingCurrency = "JOD" RCBillingCurrencyJPY RCBillingCurrency = "JPY" RCBillingCurrencyKES RCBillingCurrency = "KES" RCBillingCurrencyKRW RCBillingCurrency = "KRW" RCBillingCurrencyKZT RCBillingCurrency = "KZT" RCBillingCurrencyMAD RCBillingCurrency = "MAD" RCBillingCurrencyMXN RCBillingCurrency = "MXN" RCBillingCurrencyMYR RCBillingCurrency = "MYR" RCBillingCurrencyNOK RCBillingCurrency = "NOK" RCBillingCurrencyNZD RCBillingCurrency = "NZD" RCBillingCurrencyPEN RCBillingCurrency = "PEN" RCBillingCurrencyPHP RCBillingCurrency = "PHP" RCBillingCurrencyPLN RCBillingCurrency = "PLN" RCBillingCurrencyQAR RCBillingCurrency = "QAR" RCBillingCurrencyRON RCBillingCurrency = "RON" RCBillingCurrencyRSD RCBillingCurrency = "RSD" RCBillingCurrencySAR RCBillingCurrency = "SAR" RCBillingCurrencySEK RCBillingCurrency = "SEK" RCBillingCurrencySGD RCBillingCurrency = "SGD" RCBillingCurrencyTHB RCBillingCurrency = "THB" RCBillingCurrencyTRY RCBillingCurrency = "TRY" RCBillingCurrencyTWD RCBillingCurrency = "TWD" RCBillingCurrencyTZS RCBillingCurrency = "TZS" RCBillingCurrencyUAH RCBillingCurrency = "UAH" RCBillingCurrencyUSD RCBillingCurrency = "USD" RCBillingCurrencyVND RCBillingCurrency = "VND" RCBillingCurrencyZAR RCBillingCurrency = "ZAR" )
Defines values for RCBillingCurrency.
func (RCBillingCurrency) Valid ¶
func (e RCBillingCurrency) Valid() bool
Valid indicates whether the value is a known member of the RCBillingCurrency enum.
type RateLimited ¶
type RateLimited struct {
// BackoffMs The ms the client should wait before retrying the request. Only present for retryable errors.
BackoffMs *int `json:"backoff_ms,omitempty"`
// DocURL A URL to more information about the error reported
//
// Example: https://errors.rev.cat/parameter-error
DocURL *string `json:"doc_url,omitempty"`
// Message A message describing the reason of the error
//
// Example: id shouldn't be longer than 1,500 characters
Message string `json:"message"`
// Object String representing the object's type. Objects of the same type share the same value.
//
// Example: error
Object RateLimitedObject `json:"object"`
// Param If the error is parameter-specific, the parameter related to the error
//
// Example: customer_id
Param *string `json:"param,omitempty"`
// ReferencedObjectIds The IDs of related objects relevant to the error, such as the archived entities that need to be made active before the operation can succeed.
//
// Example: ["prodabcd1234","prodwxyz5678"]
ReferencedObjectIds *[]string `json:"referenced_object_ids,omitempty"`
// Retryable Indicates if the error is retryable or not
//
// Example: false
Retryable bool `json:"retryable"`
Type RateLimitedType `json:"type"`
}
RateLimited defines model for RateLimited.
type RateLimitedObject ¶
type RateLimitedObject string
RateLimitedObject String representing the object's type. Objects of the same type share the same value.
Example: error
const (
RateLimitedObjectError RateLimitedObject = "error"
)
Defines values for RateLimitedObject.
func (RateLimitedObject) Valid ¶
func (e RateLimitedObject) Valid() bool
Valid indicates whether the value is a known member of the RateLimitedObject enum.
type RateLimitedType ¶
type RateLimitedType string
RateLimitedType defines model for RateLimited.Type.
const (
RateLimitedTypeRateLimitError RateLimitedType = "rate_limit_error"
)
Defines values for RateLimitedType.
func (RateLimitedType) Valid ¶
func (e RateLimitedType) Valid() bool
Valid indicates whether the value is a known member of the RateLimitedType enum.
type RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyObject ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyObject string
RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyObject defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyObjectError RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyObject = "error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyObject.
type RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyType ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyType string
RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyType defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const ( RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyTypeInvalidRequest RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyType = "invalid_request" RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyTypeParameterError RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyType = "parameter_error" )
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction400JSONResponseBodyType.
type RefundPlayStoreOrGalaxySubscriptionTransaction401JSONResponseBodyObject ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction401JSONResponseBodyObject string
RefundPlayStoreOrGalaxySubscriptionTransaction401JSONResponseBodyObject defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction401JSONResponseBodyObjectError RefundPlayStoreOrGalaxySubscriptionTransaction401JSONResponseBodyObject = "error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction401JSONResponseBodyObject.
type RefundPlayStoreOrGalaxySubscriptionTransaction401JSONResponseBodyType ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction401JSONResponseBodyType string
RefundPlayStoreOrGalaxySubscriptionTransaction401JSONResponseBodyType defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction401JSONResponseBodyTypeAuthenticationError RefundPlayStoreOrGalaxySubscriptionTransaction401JSONResponseBodyType = "authentication_error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction401JSONResponseBodyType.
type RefundPlayStoreOrGalaxySubscriptionTransaction403JSONResponseBodyObject ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction403JSONResponseBodyObject string
RefundPlayStoreOrGalaxySubscriptionTransaction403JSONResponseBodyObject defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction403JSONResponseBodyObjectError RefundPlayStoreOrGalaxySubscriptionTransaction403JSONResponseBodyObject = "error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction403JSONResponseBodyObject.
type RefundPlayStoreOrGalaxySubscriptionTransaction403JSONResponseBodyType ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction403JSONResponseBodyType string
RefundPlayStoreOrGalaxySubscriptionTransaction403JSONResponseBodyType defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction403JSONResponseBodyTypeAuthorizationError RefundPlayStoreOrGalaxySubscriptionTransaction403JSONResponseBodyType = "authorization_error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction403JSONResponseBodyType.
type RefundPlayStoreOrGalaxySubscriptionTransaction404JSONResponseBodyObject ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction404JSONResponseBodyObject string
RefundPlayStoreOrGalaxySubscriptionTransaction404JSONResponseBodyObject defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction404JSONResponseBodyObjectError RefundPlayStoreOrGalaxySubscriptionTransaction404JSONResponseBodyObject = "error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction404JSONResponseBodyObject.
type RefundPlayStoreOrGalaxySubscriptionTransaction404JSONResponseBodyType ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction404JSONResponseBodyType string
RefundPlayStoreOrGalaxySubscriptionTransaction404JSONResponseBodyType defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction404JSONResponseBodyTypeResourceMissing RefundPlayStoreOrGalaxySubscriptionTransaction404JSONResponseBodyType = "resource_missing"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction404JSONResponseBodyType.
type RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyObject ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyObject string
RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyObject defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyObjectError RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyObject = "error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyObject.
type RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyType ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyType string
RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyType defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const ( RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyTypeIdempotencyError RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyType = "idempotency_error" RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyTypeInvalidRequest RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyType = "invalid_request" RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyTypeResourceAlreadyExists RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyType = "resource_already_exists" )
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction409JSONResponseBodyType.
type RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyObject ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyObject string
RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyObject defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyObjectError RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyObject = "error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyObject.
type RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyType ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyType string
RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyType defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const ( RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyTypeEntityReferencesArchivedEntities RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyType = "entity_references_archived_entities" RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyTypeParameterError RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyType = "parameter_error" RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyTypeStoreError RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyType = "store_error" RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyTypeUnprocessableEntityError RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction422JSONResponseBodyType.
type RefundPlayStoreOrGalaxySubscriptionTransaction423JSONResponseBodyObject ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction423JSONResponseBodyObject string
RefundPlayStoreOrGalaxySubscriptionTransaction423JSONResponseBodyObject defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction423JSONResponseBodyObjectError RefundPlayStoreOrGalaxySubscriptionTransaction423JSONResponseBodyObject = "error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction423JSONResponseBodyObject.
type RefundPlayStoreOrGalaxySubscriptionTransaction423JSONResponseBodyType ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction423JSONResponseBodyType string
RefundPlayStoreOrGalaxySubscriptionTransaction423JSONResponseBodyType defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction423JSONResponseBodyTypeResourceLockedError RefundPlayStoreOrGalaxySubscriptionTransaction423JSONResponseBodyType = "resource_locked_error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction423JSONResponseBodyType.
type RefundPlayStoreOrGalaxySubscriptionTransaction429JSONResponseBodyObject ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction429JSONResponseBodyObject string
RefundPlayStoreOrGalaxySubscriptionTransaction429JSONResponseBodyObject defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction429JSONResponseBodyObjectError RefundPlayStoreOrGalaxySubscriptionTransaction429JSONResponseBodyObject = "error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction429JSONResponseBodyObject.
type RefundPlayStoreOrGalaxySubscriptionTransaction429JSONResponseBodyType ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction429JSONResponseBodyType string
RefundPlayStoreOrGalaxySubscriptionTransaction429JSONResponseBodyType defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction429JSONResponseBodyTypeRateLimitError RefundPlayStoreOrGalaxySubscriptionTransaction429JSONResponseBodyType = "rate_limit_error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction429JSONResponseBodyType.
type RefundPlayStoreOrGalaxySubscriptionTransaction500JSONResponseBodyObject ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction500JSONResponseBodyObject string
RefundPlayStoreOrGalaxySubscriptionTransaction500JSONResponseBodyObject defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction500JSONResponseBodyObjectError RefundPlayStoreOrGalaxySubscriptionTransaction500JSONResponseBodyObject = "error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction500JSONResponseBodyObject.
type RefundPlayStoreOrGalaxySubscriptionTransaction500JSONResponseBodyType ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction500JSONResponseBodyType string
RefundPlayStoreOrGalaxySubscriptionTransaction500JSONResponseBodyType defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction500JSONResponseBodyTypeServerError RefundPlayStoreOrGalaxySubscriptionTransaction500JSONResponseBodyType = "server_error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction500JSONResponseBodyType.
type RefundPlayStoreOrGalaxySubscriptionTransaction503JSONResponseBodyObject ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction503JSONResponseBodyObject string
RefundPlayStoreOrGalaxySubscriptionTransaction503JSONResponseBodyObject defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction503JSONResponseBodyObjectError RefundPlayStoreOrGalaxySubscriptionTransaction503JSONResponseBodyObject = "error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction503JSONResponseBodyObject.
type RefundPlayStoreOrGalaxySubscriptionTransaction503JSONResponseBodyType ¶
type RefundPlayStoreOrGalaxySubscriptionTransaction503JSONResponseBodyType string
RefundPlayStoreOrGalaxySubscriptionTransaction503JSONResponseBodyType defines parameters for RefundPlayStoreOrGalaxySubscriptionTransaction.
const (
RefundPlayStoreOrGalaxySubscriptionTransaction503JSONResponseBodyTypeServerError RefundPlayStoreOrGalaxySubscriptionTransaction503JSONResponseBodyType = "server_error"
)
Defines values for RefundPlayStoreOrGalaxySubscriptionTransaction503JSONResponseBodyType.
type RefundPurchase400JSONResponseBodyObject ¶
type RefundPurchase400JSONResponseBodyObject string
RefundPurchase400JSONResponseBodyObject defines parameters for RefundPurchase.
const (
RefundPurchase400JSONResponseBodyObjectError RefundPurchase400JSONResponseBodyObject = "error"
)
Defines values for RefundPurchase400JSONResponseBodyObject.
func (RefundPurchase400JSONResponseBodyObject) Valid ¶
func (e RefundPurchase400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase400JSONResponseBodyObject enum.
type RefundPurchase400JSONResponseBodyType ¶
type RefundPurchase400JSONResponseBodyType string
RefundPurchase400JSONResponseBodyType defines parameters for RefundPurchase.
const ( RefundPurchase400JSONResponseBodyTypeInvalidRequest RefundPurchase400JSONResponseBodyType = "invalid_request" RefundPurchase400JSONResponseBodyTypeParameterError RefundPurchase400JSONResponseBodyType = "parameter_error" )
Defines values for RefundPurchase400JSONResponseBodyType.
func (RefundPurchase400JSONResponseBodyType) Valid ¶
func (e RefundPurchase400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase400JSONResponseBodyType enum.
type RefundPurchase401JSONResponseBodyObject ¶
type RefundPurchase401JSONResponseBodyObject string
RefundPurchase401JSONResponseBodyObject defines parameters for RefundPurchase.
const (
RefundPurchase401JSONResponseBodyObjectError RefundPurchase401JSONResponseBodyObject = "error"
)
Defines values for RefundPurchase401JSONResponseBodyObject.
func (RefundPurchase401JSONResponseBodyObject) Valid ¶
func (e RefundPurchase401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase401JSONResponseBodyObject enum.
type RefundPurchase401JSONResponseBodyType ¶
type RefundPurchase401JSONResponseBodyType string
RefundPurchase401JSONResponseBodyType defines parameters for RefundPurchase.
const (
RefundPurchase401JSONResponseBodyTypeAuthenticationError RefundPurchase401JSONResponseBodyType = "authentication_error"
)
Defines values for RefundPurchase401JSONResponseBodyType.
func (RefundPurchase401JSONResponseBodyType) Valid ¶
func (e RefundPurchase401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase401JSONResponseBodyType enum.
type RefundPurchase403JSONResponseBodyObject ¶
type RefundPurchase403JSONResponseBodyObject string
RefundPurchase403JSONResponseBodyObject defines parameters for RefundPurchase.
const (
RefundPurchase403JSONResponseBodyObjectError RefundPurchase403JSONResponseBodyObject = "error"
)
Defines values for RefundPurchase403JSONResponseBodyObject.
func (RefundPurchase403JSONResponseBodyObject) Valid ¶
func (e RefundPurchase403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase403JSONResponseBodyObject enum.
type RefundPurchase403JSONResponseBodyType ¶
type RefundPurchase403JSONResponseBodyType string
RefundPurchase403JSONResponseBodyType defines parameters for RefundPurchase.
const (
RefundPurchase403JSONResponseBodyTypeAuthorizationError RefundPurchase403JSONResponseBodyType = "authorization_error"
)
Defines values for RefundPurchase403JSONResponseBodyType.
func (RefundPurchase403JSONResponseBodyType) Valid ¶
func (e RefundPurchase403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase403JSONResponseBodyType enum.
type RefundPurchase404JSONResponseBodyObject ¶
type RefundPurchase404JSONResponseBodyObject string
RefundPurchase404JSONResponseBodyObject defines parameters for RefundPurchase.
const (
RefundPurchase404JSONResponseBodyObjectError RefundPurchase404JSONResponseBodyObject = "error"
)
Defines values for RefundPurchase404JSONResponseBodyObject.
func (RefundPurchase404JSONResponseBodyObject) Valid ¶
func (e RefundPurchase404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase404JSONResponseBodyObject enum.
type RefundPurchase404JSONResponseBodyType ¶
type RefundPurchase404JSONResponseBodyType string
RefundPurchase404JSONResponseBodyType defines parameters for RefundPurchase.
const (
RefundPurchase404JSONResponseBodyTypeResourceMissing RefundPurchase404JSONResponseBodyType = "resource_missing"
)
Defines values for RefundPurchase404JSONResponseBodyType.
func (RefundPurchase404JSONResponseBodyType) Valid ¶
func (e RefundPurchase404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase404JSONResponseBodyType enum.
type RefundPurchase409JSONResponseBodyObject ¶
type RefundPurchase409JSONResponseBodyObject string
RefundPurchase409JSONResponseBodyObject defines parameters for RefundPurchase.
const (
RefundPurchase409JSONResponseBodyObjectError RefundPurchase409JSONResponseBodyObject = "error"
)
Defines values for RefundPurchase409JSONResponseBodyObject.
func (RefundPurchase409JSONResponseBodyObject) Valid ¶
func (e RefundPurchase409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase409JSONResponseBodyObject enum.
type RefundPurchase409JSONResponseBodyType ¶
type RefundPurchase409JSONResponseBodyType string
RefundPurchase409JSONResponseBodyType defines parameters for RefundPurchase.
const ( RefundPurchase409JSONResponseBodyTypeIdempotencyError RefundPurchase409JSONResponseBodyType = "idempotency_error" RefundPurchase409JSONResponseBodyTypeInvalidRequest RefundPurchase409JSONResponseBodyType = "invalid_request" RefundPurchase409JSONResponseBodyTypeResourceAlreadyExists RefundPurchase409JSONResponseBodyType = "resource_already_exists" )
Defines values for RefundPurchase409JSONResponseBodyType.
func (RefundPurchase409JSONResponseBodyType) Valid ¶
func (e RefundPurchase409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase409JSONResponseBodyType enum.
type RefundPurchase422JSONResponseBodyObject ¶
type RefundPurchase422JSONResponseBodyObject string
RefundPurchase422JSONResponseBodyObject defines parameters for RefundPurchase.
const (
RefundPurchase422JSONResponseBodyObjectError RefundPurchase422JSONResponseBodyObject = "error"
)
Defines values for RefundPurchase422JSONResponseBodyObject.
func (RefundPurchase422JSONResponseBodyObject) Valid ¶
func (e RefundPurchase422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase422JSONResponseBodyObject enum.
type RefundPurchase422JSONResponseBodyType ¶
type RefundPurchase422JSONResponseBodyType string
RefundPurchase422JSONResponseBodyType defines parameters for RefundPurchase.
const ( RefundPurchase422JSONResponseBodyTypeEntityReferencesArchivedEntities RefundPurchase422JSONResponseBodyType = "entity_references_archived_entities" RefundPurchase422JSONResponseBodyTypeParameterError RefundPurchase422JSONResponseBodyType = "parameter_error" RefundPurchase422JSONResponseBodyTypeStoreError RefundPurchase422JSONResponseBodyType = "store_error" RefundPurchase422JSONResponseBodyTypeUnprocessableEntityError RefundPurchase422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for RefundPurchase422JSONResponseBodyType.
func (RefundPurchase422JSONResponseBodyType) Valid ¶
func (e RefundPurchase422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase422JSONResponseBodyType enum.
type RefundPurchase423JSONResponseBodyObject ¶
type RefundPurchase423JSONResponseBodyObject string
RefundPurchase423JSONResponseBodyObject defines parameters for RefundPurchase.
const (
RefundPurchase423JSONResponseBodyObjectError RefundPurchase423JSONResponseBodyObject = "error"
)
Defines values for RefundPurchase423JSONResponseBodyObject.
func (RefundPurchase423JSONResponseBodyObject) Valid ¶
func (e RefundPurchase423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase423JSONResponseBodyObject enum.
type RefundPurchase423JSONResponseBodyType ¶
type RefundPurchase423JSONResponseBodyType string
RefundPurchase423JSONResponseBodyType defines parameters for RefundPurchase.
const (
RefundPurchase423JSONResponseBodyTypeResourceLockedError RefundPurchase423JSONResponseBodyType = "resource_locked_error"
)
Defines values for RefundPurchase423JSONResponseBodyType.
func (RefundPurchase423JSONResponseBodyType) Valid ¶
func (e RefundPurchase423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase423JSONResponseBodyType enum.
type RefundPurchase429JSONResponseBodyObject ¶
type RefundPurchase429JSONResponseBodyObject string
RefundPurchase429JSONResponseBodyObject defines parameters for RefundPurchase.
const (
RefundPurchase429JSONResponseBodyObjectError RefundPurchase429JSONResponseBodyObject = "error"
)
Defines values for RefundPurchase429JSONResponseBodyObject.
func (RefundPurchase429JSONResponseBodyObject) Valid ¶
func (e RefundPurchase429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase429JSONResponseBodyObject enum.
type RefundPurchase429JSONResponseBodyType ¶
type RefundPurchase429JSONResponseBodyType string
RefundPurchase429JSONResponseBodyType defines parameters for RefundPurchase.
const (
RefundPurchase429JSONResponseBodyTypeRateLimitError RefundPurchase429JSONResponseBodyType = "rate_limit_error"
)
Defines values for RefundPurchase429JSONResponseBodyType.
func (RefundPurchase429JSONResponseBodyType) Valid ¶
func (e RefundPurchase429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase429JSONResponseBodyType enum.
type RefundPurchase500JSONResponseBodyObject ¶
type RefundPurchase500JSONResponseBodyObject string
RefundPurchase500JSONResponseBodyObject defines parameters for RefundPurchase.
const (
RefundPurchase500JSONResponseBodyObjectError RefundPurchase500JSONResponseBodyObject = "error"
)
Defines values for RefundPurchase500JSONResponseBodyObject.
func (RefundPurchase500JSONResponseBodyObject) Valid ¶
func (e RefundPurchase500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase500JSONResponseBodyObject enum.
type RefundPurchase500JSONResponseBodyType ¶
type RefundPurchase500JSONResponseBodyType string
RefundPurchase500JSONResponseBodyType defines parameters for RefundPurchase.
const (
RefundPurchase500JSONResponseBodyTypeServerError RefundPurchase500JSONResponseBodyType = "server_error"
)
Defines values for RefundPurchase500JSONResponseBodyType.
func (RefundPurchase500JSONResponseBodyType) Valid ¶
func (e RefundPurchase500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase500JSONResponseBodyType enum.
type RefundPurchase503JSONResponseBodyObject ¶
type RefundPurchase503JSONResponseBodyObject string
RefundPurchase503JSONResponseBodyObject defines parameters for RefundPurchase.
const (
RefundPurchase503JSONResponseBodyObjectError RefundPurchase503JSONResponseBodyObject = "error"
)
Defines values for RefundPurchase503JSONResponseBodyObject.
func (RefundPurchase503JSONResponseBodyObject) Valid ¶
func (e RefundPurchase503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase503JSONResponseBodyObject enum.
type RefundPurchase503JSONResponseBodyType ¶
type RefundPurchase503JSONResponseBodyType string
RefundPurchase503JSONResponseBodyType defines parameters for RefundPurchase.
const (
RefundPurchase503JSONResponseBodyTypeServerError RefundPurchase503JSONResponseBodyType = "server_error"
)
Defines values for RefundPurchase503JSONResponseBodyType.
func (RefundPurchase503JSONResponseBodyType) Valid ¶
func (e RefundPurchase503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundPurchase503JSONResponseBodyType enum.
type RefundSubscription400JSONResponseBodyObject ¶
type RefundSubscription400JSONResponseBodyObject string
RefundSubscription400JSONResponseBodyObject defines parameters for RefundSubscription.
const (
RefundSubscription400JSONResponseBodyObjectError RefundSubscription400JSONResponseBodyObject = "error"
)
Defines values for RefundSubscription400JSONResponseBodyObject.
func (RefundSubscription400JSONResponseBodyObject) Valid ¶
func (e RefundSubscription400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription400JSONResponseBodyObject enum.
type RefundSubscription400JSONResponseBodyType ¶
type RefundSubscription400JSONResponseBodyType string
RefundSubscription400JSONResponseBodyType defines parameters for RefundSubscription.
const ( RefundSubscription400JSONResponseBodyTypeInvalidRequest RefundSubscription400JSONResponseBodyType = "invalid_request" RefundSubscription400JSONResponseBodyTypeParameterError RefundSubscription400JSONResponseBodyType = "parameter_error" )
Defines values for RefundSubscription400JSONResponseBodyType.
func (RefundSubscription400JSONResponseBodyType) Valid ¶
func (e RefundSubscription400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription400JSONResponseBodyType enum.
type RefundSubscription401JSONResponseBodyObject ¶
type RefundSubscription401JSONResponseBodyObject string
RefundSubscription401JSONResponseBodyObject defines parameters for RefundSubscription.
const (
RefundSubscription401JSONResponseBodyObjectError RefundSubscription401JSONResponseBodyObject = "error"
)
Defines values for RefundSubscription401JSONResponseBodyObject.
func (RefundSubscription401JSONResponseBodyObject) Valid ¶
func (e RefundSubscription401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription401JSONResponseBodyObject enum.
type RefundSubscription401JSONResponseBodyType ¶
type RefundSubscription401JSONResponseBodyType string
RefundSubscription401JSONResponseBodyType defines parameters for RefundSubscription.
const (
RefundSubscription401JSONResponseBodyTypeAuthenticationError RefundSubscription401JSONResponseBodyType = "authentication_error"
)
Defines values for RefundSubscription401JSONResponseBodyType.
func (RefundSubscription401JSONResponseBodyType) Valid ¶
func (e RefundSubscription401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription401JSONResponseBodyType enum.
type RefundSubscription403JSONResponseBodyObject ¶
type RefundSubscription403JSONResponseBodyObject string
RefundSubscription403JSONResponseBodyObject defines parameters for RefundSubscription.
const (
RefundSubscription403JSONResponseBodyObjectError RefundSubscription403JSONResponseBodyObject = "error"
)
Defines values for RefundSubscription403JSONResponseBodyObject.
func (RefundSubscription403JSONResponseBodyObject) Valid ¶
func (e RefundSubscription403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription403JSONResponseBodyObject enum.
type RefundSubscription403JSONResponseBodyType ¶
type RefundSubscription403JSONResponseBodyType string
RefundSubscription403JSONResponseBodyType defines parameters for RefundSubscription.
const (
RefundSubscription403JSONResponseBodyTypeAuthorizationError RefundSubscription403JSONResponseBodyType = "authorization_error"
)
Defines values for RefundSubscription403JSONResponseBodyType.
func (RefundSubscription403JSONResponseBodyType) Valid ¶
func (e RefundSubscription403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription403JSONResponseBodyType enum.
type RefundSubscription404JSONResponseBodyObject ¶
type RefundSubscription404JSONResponseBodyObject string
RefundSubscription404JSONResponseBodyObject defines parameters for RefundSubscription.
const (
RefundSubscription404JSONResponseBodyObjectError RefundSubscription404JSONResponseBodyObject = "error"
)
Defines values for RefundSubscription404JSONResponseBodyObject.
func (RefundSubscription404JSONResponseBodyObject) Valid ¶
func (e RefundSubscription404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription404JSONResponseBodyObject enum.
type RefundSubscription404JSONResponseBodyType ¶
type RefundSubscription404JSONResponseBodyType string
RefundSubscription404JSONResponseBodyType defines parameters for RefundSubscription.
const (
RefundSubscription404JSONResponseBodyTypeResourceMissing RefundSubscription404JSONResponseBodyType = "resource_missing"
)
Defines values for RefundSubscription404JSONResponseBodyType.
func (RefundSubscription404JSONResponseBodyType) Valid ¶
func (e RefundSubscription404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription404JSONResponseBodyType enum.
type RefundSubscription409JSONResponseBodyObject ¶
type RefundSubscription409JSONResponseBodyObject string
RefundSubscription409JSONResponseBodyObject defines parameters for RefundSubscription.
const (
RefundSubscription409JSONResponseBodyObjectError RefundSubscription409JSONResponseBodyObject = "error"
)
Defines values for RefundSubscription409JSONResponseBodyObject.
func (RefundSubscription409JSONResponseBodyObject) Valid ¶
func (e RefundSubscription409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription409JSONResponseBodyObject enum.
type RefundSubscription409JSONResponseBodyType ¶
type RefundSubscription409JSONResponseBodyType string
RefundSubscription409JSONResponseBodyType defines parameters for RefundSubscription.
const ( RefundSubscription409JSONResponseBodyTypeIdempotencyError RefundSubscription409JSONResponseBodyType = "idempotency_error" RefundSubscription409JSONResponseBodyTypeInvalidRequest RefundSubscription409JSONResponseBodyType = "invalid_request" RefundSubscription409JSONResponseBodyTypeResourceAlreadyExists RefundSubscription409JSONResponseBodyType = "resource_already_exists" )
Defines values for RefundSubscription409JSONResponseBodyType.
func (RefundSubscription409JSONResponseBodyType) Valid ¶
func (e RefundSubscription409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription409JSONResponseBodyType enum.
type RefundSubscription422JSONResponseBodyObject ¶
type RefundSubscription422JSONResponseBodyObject string
RefundSubscription422JSONResponseBodyObject defines parameters for RefundSubscription.
const (
RefundSubscription422JSONResponseBodyObjectError RefundSubscription422JSONResponseBodyObject = "error"
)
Defines values for RefundSubscription422JSONResponseBodyObject.
func (RefundSubscription422JSONResponseBodyObject) Valid ¶
func (e RefundSubscription422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription422JSONResponseBodyObject enum.
type RefundSubscription422JSONResponseBodyType ¶
type RefundSubscription422JSONResponseBodyType string
RefundSubscription422JSONResponseBodyType defines parameters for RefundSubscription.
const ( RefundSubscription422JSONResponseBodyTypeEntityReferencesArchivedEntities RefundSubscription422JSONResponseBodyType = "entity_references_archived_entities" RefundSubscription422JSONResponseBodyTypeParameterError RefundSubscription422JSONResponseBodyType = "parameter_error" RefundSubscription422JSONResponseBodyTypeStoreError RefundSubscription422JSONResponseBodyType = "store_error" RefundSubscription422JSONResponseBodyTypeUnprocessableEntityError RefundSubscription422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for RefundSubscription422JSONResponseBodyType.
func (RefundSubscription422JSONResponseBodyType) Valid ¶
func (e RefundSubscription422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription422JSONResponseBodyType enum.
type RefundSubscription423JSONResponseBodyObject ¶
type RefundSubscription423JSONResponseBodyObject string
RefundSubscription423JSONResponseBodyObject defines parameters for RefundSubscription.
const (
RefundSubscription423JSONResponseBodyObjectError RefundSubscription423JSONResponseBodyObject = "error"
)
Defines values for RefundSubscription423JSONResponseBodyObject.
func (RefundSubscription423JSONResponseBodyObject) Valid ¶
func (e RefundSubscription423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription423JSONResponseBodyObject enum.
type RefundSubscription423JSONResponseBodyType ¶
type RefundSubscription423JSONResponseBodyType string
RefundSubscription423JSONResponseBodyType defines parameters for RefundSubscription.
const (
RefundSubscription423JSONResponseBodyTypeResourceLockedError RefundSubscription423JSONResponseBodyType = "resource_locked_error"
)
Defines values for RefundSubscription423JSONResponseBodyType.
func (RefundSubscription423JSONResponseBodyType) Valid ¶
func (e RefundSubscription423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription423JSONResponseBodyType enum.
type RefundSubscription429JSONResponseBodyObject ¶
type RefundSubscription429JSONResponseBodyObject string
RefundSubscription429JSONResponseBodyObject defines parameters for RefundSubscription.
const (
RefundSubscription429JSONResponseBodyObjectError RefundSubscription429JSONResponseBodyObject = "error"
)
Defines values for RefundSubscription429JSONResponseBodyObject.
func (RefundSubscription429JSONResponseBodyObject) Valid ¶
func (e RefundSubscription429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription429JSONResponseBodyObject enum.
type RefundSubscription429JSONResponseBodyType ¶
type RefundSubscription429JSONResponseBodyType string
RefundSubscription429JSONResponseBodyType defines parameters for RefundSubscription.
const (
RefundSubscription429JSONResponseBodyTypeRateLimitError RefundSubscription429JSONResponseBodyType = "rate_limit_error"
)
Defines values for RefundSubscription429JSONResponseBodyType.
func (RefundSubscription429JSONResponseBodyType) Valid ¶
func (e RefundSubscription429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription429JSONResponseBodyType enum.
type RefundSubscription500JSONResponseBodyObject ¶
type RefundSubscription500JSONResponseBodyObject string
RefundSubscription500JSONResponseBodyObject defines parameters for RefundSubscription.
const (
RefundSubscription500JSONResponseBodyObjectError RefundSubscription500JSONResponseBodyObject = "error"
)
Defines values for RefundSubscription500JSONResponseBodyObject.
func (RefundSubscription500JSONResponseBodyObject) Valid ¶
func (e RefundSubscription500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription500JSONResponseBodyObject enum.
type RefundSubscription500JSONResponseBodyType ¶
type RefundSubscription500JSONResponseBodyType string
RefundSubscription500JSONResponseBodyType defines parameters for RefundSubscription.
const (
RefundSubscription500JSONResponseBodyTypeServerError RefundSubscription500JSONResponseBodyType = "server_error"
)
Defines values for RefundSubscription500JSONResponseBodyType.
func (RefundSubscription500JSONResponseBodyType) Valid ¶
func (e RefundSubscription500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription500JSONResponseBodyType enum.
type RefundSubscription503JSONResponseBodyObject ¶
type RefundSubscription503JSONResponseBodyObject string
RefundSubscription503JSONResponseBodyObject defines parameters for RefundSubscription.
const (
RefundSubscription503JSONResponseBodyObjectError RefundSubscription503JSONResponseBodyObject = "error"
)
Defines values for RefundSubscription503JSONResponseBodyObject.
func (RefundSubscription503JSONResponseBodyObject) Valid ¶
func (e RefundSubscription503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription503JSONResponseBodyObject enum.
type RefundSubscription503JSONResponseBodyType ¶
type RefundSubscription503JSONResponseBodyType string
RefundSubscription503JSONResponseBodyType defines parameters for RefundSubscription.
const (
RefundSubscription503JSONResponseBodyTypeServerError RefundSubscription503JSONResponseBodyType = "server_error"
)
Defines values for RefundSubscription503JSONResponseBodyType.
func (RefundSubscription503JSONResponseBodyType) Valid ¶
func (e RefundSubscription503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RefundSubscription503JSONResponseBodyType enum.
type RestorePurchaseByOrderID400JSONResponseBodyObject ¶
type RestorePurchaseByOrderID400JSONResponseBodyObject string
RestorePurchaseByOrderID400JSONResponseBodyObject defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID400JSONResponseBodyObjectError RestorePurchaseByOrderID400JSONResponseBodyObject = "error"
)
Defines values for RestorePurchaseByOrderID400JSONResponseBodyObject.
func (RestorePurchaseByOrderID400JSONResponseBodyObject) Valid ¶
func (e RestorePurchaseByOrderID400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID400JSONResponseBodyObject enum.
type RestorePurchaseByOrderID400JSONResponseBodyType ¶
type RestorePurchaseByOrderID400JSONResponseBodyType string
RestorePurchaseByOrderID400JSONResponseBodyType defines parameters for RestorePurchaseByOrderID.
const ( RestorePurchaseByOrderID400JSONResponseBodyTypeInvalidRequest RestorePurchaseByOrderID400JSONResponseBodyType = "invalid_request" RestorePurchaseByOrderID400JSONResponseBodyTypeParameterError RestorePurchaseByOrderID400JSONResponseBodyType = "parameter_error" )
Defines values for RestorePurchaseByOrderID400JSONResponseBodyType.
func (RestorePurchaseByOrderID400JSONResponseBodyType) Valid ¶
func (e RestorePurchaseByOrderID400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID400JSONResponseBodyType enum.
type RestorePurchaseByOrderID401JSONResponseBodyObject ¶
type RestorePurchaseByOrderID401JSONResponseBodyObject string
RestorePurchaseByOrderID401JSONResponseBodyObject defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID401JSONResponseBodyObjectError RestorePurchaseByOrderID401JSONResponseBodyObject = "error"
)
Defines values for RestorePurchaseByOrderID401JSONResponseBodyObject.
func (RestorePurchaseByOrderID401JSONResponseBodyObject) Valid ¶
func (e RestorePurchaseByOrderID401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID401JSONResponseBodyObject enum.
type RestorePurchaseByOrderID401JSONResponseBodyType ¶
type RestorePurchaseByOrderID401JSONResponseBodyType string
RestorePurchaseByOrderID401JSONResponseBodyType defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID401JSONResponseBodyTypeAuthenticationError RestorePurchaseByOrderID401JSONResponseBodyType = "authentication_error"
)
Defines values for RestorePurchaseByOrderID401JSONResponseBodyType.
func (RestorePurchaseByOrderID401JSONResponseBodyType) Valid ¶
func (e RestorePurchaseByOrderID401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID401JSONResponseBodyType enum.
type RestorePurchaseByOrderID403JSONResponseBodyObject ¶
type RestorePurchaseByOrderID403JSONResponseBodyObject string
RestorePurchaseByOrderID403JSONResponseBodyObject defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID403JSONResponseBodyObjectError RestorePurchaseByOrderID403JSONResponseBodyObject = "error"
)
Defines values for RestorePurchaseByOrderID403JSONResponseBodyObject.
func (RestorePurchaseByOrderID403JSONResponseBodyObject) Valid ¶
func (e RestorePurchaseByOrderID403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID403JSONResponseBodyObject enum.
type RestorePurchaseByOrderID403JSONResponseBodyType ¶
type RestorePurchaseByOrderID403JSONResponseBodyType string
RestorePurchaseByOrderID403JSONResponseBodyType defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID403JSONResponseBodyTypeAuthorizationError RestorePurchaseByOrderID403JSONResponseBodyType = "authorization_error"
)
Defines values for RestorePurchaseByOrderID403JSONResponseBodyType.
func (RestorePurchaseByOrderID403JSONResponseBodyType) Valid ¶
func (e RestorePurchaseByOrderID403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID403JSONResponseBodyType enum.
type RestorePurchaseByOrderID404JSONResponseBodyObject ¶
type RestorePurchaseByOrderID404JSONResponseBodyObject string
RestorePurchaseByOrderID404JSONResponseBodyObject defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID404JSONResponseBodyObjectError RestorePurchaseByOrderID404JSONResponseBodyObject = "error"
)
Defines values for RestorePurchaseByOrderID404JSONResponseBodyObject.
func (RestorePurchaseByOrderID404JSONResponseBodyObject) Valid ¶
func (e RestorePurchaseByOrderID404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID404JSONResponseBodyObject enum.
type RestorePurchaseByOrderID404JSONResponseBodyType ¶
type RestorePurchaseByOrderID404JSONResponseBodyType string
RestorePurchaseByOrderID404JSONResponseBodyType defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID404JSONResponseBodyTypeResourceMissing RestorePurchaseByOrderID404JSONResponseBodyType = "resource_missing"
)
Defines values for RestorePurchaseByOrderID404JSONResponseBodyType.
func (RestorePurchaseByOrderID404JSONResponseBodyType) Valid ¶
func (e RestorePurchaseByOrderID404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID404JSONResponseBodyType enum.
type RestorePurchaseByOrderID409JSONResponseBodyObject ¶
type RestorePurchaseByOrderID409JSONResponseBodyObject string
RestorePurchaseByOrderID409JSONResponseBodyObject defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID409JSONResponseBodyObjectError RestorePurchaseByOrderID409JSONResponseBodyObject = "error"
)
Defines values for RestorePurchaseByOrderID409JSONResponseBodyObject.
func (RestorePurchaseByOrderID409JSONResponseBodyObject) Valid ¶
func (e RestorePurchaseByOrderID409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID409JSONResponseBodyObject enum.
type RestorePurchaseByOrderID409JSONResponseBodyType ¶
type RestorePurchaseByOrderID409JSONResponseBodyType string
RestorePurchaseByOrderID409JSONResponseBodyType defines parameters for RestorePurchaseByOrderID.
const ( RestorePurchaseByOrderID409JSONResponseBodyTypeIdempotencyError RestorePurchaseByOrderID409JSONResponseBodyType = "idempotency_error" RestorePurchaseByOrderID409JSONResponseBodyTypeInvalidRequest RestorePurchaseByOrderID409JSONResponseBodyType = "invalid_request" RestorePurchaseByOrderID409JSONResponseBodyTypeResourceAlreadyExists RestorePurchaseByOrderID409JSONResponseBodyType = "resource_already_exists" )
Defines values for RestorePurchaseByOrderID409JSONResponseBodyType.
func (RestorePurchaseByOrderID409JSONResponseBodyType) Valid ¶
func (e RestorePurchaseByOrderID409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID409JSONResponseBodyType enum.
type RestorePurchaseByOrderID422JSONResponseBodyObject ¶
type RestorePurchaseByOrderID422JSONResponseBodyObject string
RestorePurchaseByOrderID422JSONResponseBodyObject defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID422JSONResponseBodyObjectError RestorePurchaseByOrderID422JSONResponseBodyObject = "error"
)
Defines values for RestorePurchaseByOrderID422JSONResponseBodyObject.
func (RestorePurchaseByOrderID422JSONResponseBodyObject) Valid ¶
func (e RestorePurchaseByOrderID422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID422JSONResponseBodyObject enum.
type RestorePurchaseByOrderID422JSONResponseBodyType ¶
type RestorePurchaseByOrderID422JSONResponseBodyType string
RestorePurchaseByOrderID422JSONResponseBodyType defines parameters for RestorePurchaseByOrderID.
const ( RestorePurchaseByOrderID422JSONResponseBodyTypeEntityReferencesArchivedEntities RestorePurchaseByOrderID422JSONResponseBodyType = "entity_references_archived_entities" RestorePurchaseByOrderID422JSONResponseBodyTypeParameterError RestorePurchaseByOrderID422JSONResponseBodyType = "parameter_error" RestorePurchaseByOrderID422JSONResponseBodyTypeStoreError RestorePurchaseByOrderID422JSONResponseBodyType = "store_error" RestorePurchaseByOrderID422JSONResponseBodyTypeUnprocessableEntityError RestorePurchaseByOrderID422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for RestorePurchaseByOrderID422JSONResponseBodyType.
func (RestorePurchaseByOrderID422JSONResponseBodyType) Valid ¶
func (e RestorePurchaseByOrderID422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID422JSONResponseBodyType enum.
type RestorePurchaseByOrderID423JSONResponseBodyObject ¶
type RestorePurchaseByOrderID423JSONResponseBodyObject string
RestorePurchaseByOrderID423JSONResponseBodyObject defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID423JSONResponseBodyObjectError RestorePurchaseByOrderID423JSONResponseBodyObject = "error"
)
Defines values for RestorePurchaseByOrderID423JSONResponseBodyObject.
func (RestorePurchaseByOrderID423JSONResponseBodyObject) Valid ¶
func (e RestorePurchaseByOrderID423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID423JSONResponseBodyObject enum.
type RestorePurchaseByOrderID423JSONResponseBodyType ¶
type RestorePurchaseByOrderID423JSONResponseBodyType string
RestorePurchaseByOrderID423JSONResponseBodyType defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID423JSONResponseBodyTypeResourceLockedError RestorePurchaseByOrderID423JSONResponseBodyType = "resource_locked_error"
)
Defines values for RestorePurchaseByOrderID423JSONResponseBodyType.
func (RestorePurchaseByOrderID423JSONResponseBodyType) Valid ¶
func (e RestorePurchaseByOrderID423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID423JSONResponseBodyType enum.
type RestorePurchaseByOrderID429JSONResponseBodyObject ¶
type RestorePurchaseByOrderID429JSONResponseBodyObject string
RestorePurchaseByOrderID429JSONResponseBodyObject defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID429JSONResponseBodyObjectError RestorePurchaseByOrderID429JSONResponseBodyObject = "error"
)
Defines values for RestorePurchaseByOrderID429JSONResponseBodyObject.
func (RestorePurchaseByOrderID429JSONResponseBodyObject) Valid ¶
func (e RestorePurchaseByOrderID429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID429JSONResponseBodyObject enum.
type RestorePurchaseByOrderID429JSONResponseBodyType ¶
type RestorePurchaseByOrderID429JSONResponseBodyType string
RestorePurchaseByOrderID429JSONResponseBodyType defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID429JSONResponseBodyTypeRateLimitError RestorePurchaseByOrderID429JSONResponseBodyType = "rate_limit_error"
)
Defines values for RestorePurchaseByOrderID429JSONResponseBodyType.
func (RestorePurchaseByOrderID429JSONResponseBodyType) Valid ¶
func (e RestorePurchaseByOrderID429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID429JSONResponseBodyType enum.
type RestorePurchaseByOrderID500JSONResponseBodyObject ¶
type RestorePurchaseByOrderID500JSONResponseBodyObject string
RestorePurchaseByOrderID500JSONResponseBodyObject defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID500JSONResponseBodyObjectError RestorePurchaseByOrderID500JSONResponseBodyObject = "error"
)
Defines values for RestorePurchaseByOrderID500JSONResponseBodyObject.
func (RestorePurchaseByOrderID500JSONResponseBodyObject) Valid ¶
func (e RestorePurchaseByOrderID500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID500JSONResponseBodyObject enum.
type RestorePurchaseByOrderID500JSONResponseBodyType ¶
type RestorePurchaseByOrderID500JSONResponseBodyType string
RestorePurchaseByOrderID500JSONResponseBodyType defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID500JSONResponseBodyTypeServerError RestorePurchaseByOrderID500JSONResponseBodyType = "server_error"
)
Defines values for RestorePurchaseByOrderID500JSONResponseBodyType.
func (RestorePurchaseByOrderID500JSONResponseBodyType) Valid ¶
func (e RestorePurchaseByOrderID500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID500JSONResponseBodyType enum.
type RestorePurchaseByOrderID503JSONResponseBodyObject ¶
type RestorePurchaseByOrderID503JSONResponseBodyObject string
RestorePurchaseByOrderID503JSONResponseBodyObject defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID503JSONResponseBodyObjectError RestorePurchaseByOrderID503JSONResponseBodyObject = "error"
)
Defines values for RestorePurchaseByOrderID503JSONResponseBodyObject.
func (RestorePurchaseByOrderID503JSONResponseBodyObject) Valid ¶
func (e RestorePurchaseByOrderID503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID503JSONResponseBodyObject enum.
type RestorePurchaseByOrderID503JSONResponseBodyType ¶
type RestorePurchaseByOrderID503JSONResponseBodyType string
RestorePurchaseByOrderID503JSONResponseBodyType defines parameters for RestorePurchaseByOrderID.
const (
RestorePurchaseByOrderID503JSONResponseBodyTypeServerError RestorePurchaseByOrderID503JSONResponseBodyType = "server_error"
)
Defines values for RestorePurchaseByOrderID503JSONResponseBodyType.
func (RestorePurchaseByOrderID503JSONResponseBodyType) Valid ¶
func (e RestorePurchaseByOrderID503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RestorePurchaseByOrderID503JSONResponseBodyType enum.
type RestorePurchaseByOrderIDJSONBody ¶
type RestorePurchaseByOrderIDJSONBody struct {
// OrderID The Google Play order ID to restore.
//
// Example: GPA.1234-5678-9012-34567
OrderID string `json:"order_id"`
}
RestorePurchaseByOrderIDJSONBody defines parameters for RestorePurchaseByOrderID.
type RestorePurchaseByOrderIDJSONRequestBody ¶
type RestorePurchaseByOrderIDJSONRequestBody RestorePurchaseByOrderIDJSONBody
RestorePurchaseByOrderIDJSONRequestBody defines body for RestorePurchaseByOrderID for application/json ContentType.
type RevenueMetric ¶
type RevenueMetric struct {
// Currency The ISO 4217 currency code that the revenue value is expressed in.
//
// Example: USD
Currency string `json:"currency"`
// EndDate End date of the revenue range, inclusive (ISO 8601 format).
//
// Example: 2026-01-31
EndDate openapi_types.Date `json:"end_date"`
// Object String representing the object's type. Objects of the same type share the same value.
//
// Example: revenue_metric
Object RevenueMetricObject `json:"object"`
// RevenueType The revenue definition that `value` represents: `revenue` (gross), `revenue_net_of_taxes`, or `proceeds` (net of both taxes and store commission). Matches the `revenue_type` request parameter.
//
// Example: proceeds
RevenueType RevenueMetricRevenueType `json:"revenue_type"`
// StartDate Start date of the revenue range, inclusive (ISO 8601 format).
//
// Example: 2026-01-01
StartDate openapi_types.Date `json:"start_date"`
// Value Revenue for the date range, expressed in `currency`, for the revenue definition selected by the `revenue_type` request parameter. Two-decimal precision.
//
// Example: 12345.67
Value float32 `json:"value"`
}
RevenueMetric defines model for RevenueMetric.
type RevenueMetricObject ¶
type RevenueMetricObject string
RevenueMetricObject String representing the object's type. Objects of the same type share the same value.
Example: revenue_metric
const (
RevenueMetricObjectRevenueMetric RevenueMetricObject = "revenue_metric"
)
Defines values for RevenueMetricObject.
func (RevenueMetricObject) Valid ¶
func (e RevenueMetricObject) Valid() bool
Valid indicates whether the value is a known member of the RevenueMetricObject enum.
type RevenueMetricRevenueType ¶
type RevenueMetricRevenueType string
RevenueMetricRevenueType The revenue definition that `value` represents: `revenue` (gross), `revenue_net_of_taxes`, or `proceeds` (net of both taxes and store commission). Matches the `revenue_type` request parameter.
Example: proceeds
const ( RevenueMetricRevenueTypeProceeds RevenueMetricRevenueType = "proceeds" RevenueMetricRevenueTypeRevenue RevenueMetricRevenueType = "revenue" RevenueMetricRevenueTypeRevenueNetOfTaxes RevenueMetricRevenueType = "revenue_net_of_taxes" )
Defines values for RevenueMetricRevenueType.
func (RevenueMetricRevenueType) Valid ¶
func (e RevenueMetricRevenueType) Valid() bool
Valid indicates whether the value is a known member of the RevenueMetricRevenueType enum.
type RevokeCustomerGrantedEntitlement400JSONResponseBodyObject ¶
type RevokeCustomerGrantedEntitlement400JSONResponseBodyObject string
RevokeCustomerGrantedEntitlement400JSONResponseBodyObject defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement400JSONResponseBodyObjectError RevokeCustomerGrantedEntitlement400JSONResponseBodyObject = "error"
)
Defines values for RevokeCustomerGrantedEntitlement400JSONResponseBodyObject.
func (RevokeCustomerGrantedEntitlement400JSONResponseBodyObject) Valid ¶
func (e RevokeCustomerGrantedEntitlement400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement400JSONResponseBodyObject enum.
type RevokeCustomerGrantedEntitlement400JSONResponseBodyType ¶
type RevokeCustomerGrantedEntitlement400JSONResponseBodyType string
RevokeCustomerGrantedEntitlement400JSONResponseBodyType defines parameters for RevokeCustomerGrantedEntitlement.
const ( RevokeCustomerGrantedEntitlement400JSONResponseBodyTypeInvalidRequest RevokeCustomerGrantedEntitlement400JSONResponseBodyType = "invalid_request" RevokeCustomerGrantedEntitlement400JSONResponseBodyTypeParameterError RevokeCustomerGrantedEntitlement400JSONResponseBodyType = "parameter_error" )
Defines values for RevokeCustomerGrantedEntitlement400JSONResponseBodyType.
func (RevokeCustomerGrantedEntitlement400JSONResponseBodyType) Valid ¶
func (e RevokeCustomerGrantedEntitlement400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement400JSONResponseBodyType enum.
type RevokeCustomerGrantedEntitlement401JSONResponseBodyObject ¶
type RevokeCustomerGrantedEntitlement401JSONResponseBodyObject string
RevokeCustomerGrantedEntitlement401JSONResponseBodyObject defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement401JSONResponseBodyObjectError RevokeCustomerGrantedEntitlement401JSONResponseBodyObject = "error"
)
Defines values for RevokeCustomerGrantedEntitlement401JSONResponseBodyObject.
func (RevokeCustomerGrantedEntitlement401JSONResponseBodyObject) Valid ¶
func (e RevokeCustomerGrantedEntitlement401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement401JSONResponseBodyObject enum.
type RevokeCustomerGrantedEntitlement401JSONResponseBodyType ¶
type RevokeCustomerGrantedEntitlement401JSONResponseBodyType string
RevokeCustomerGrantedEntitlement401JSONResponseBodyType defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement401JSONResponseBodyTypeAuthenticationError RevokeCustomerGrantedEntitlement401JSONResponseBodyType = "authentication_error"
)
Defines values for RevokeCustomerGrantedEntitlement401JSONResponseBodyType.
func (RevokeCustomerGrantedEntitlement401JSONResponseBodyType) Valid ¶
func (e RevokeCustomerGrantedEntitlement401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement401JSONResponseBodyType enum.
type RevokeCustomerGrantedEntitlement403JSONResponseBodyObject ¶
type RevokeCustomerGrantedEntitlement403JSONResponseBodyObject string
RevokeCustomerGrantedEntitlement403JSONResponseBodyObject defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement403JSONResponseBodyObjectError RevokeCustomerGrantedEntitlement403JSONResponseBodyObject = "error"
)
Defines values for RevokeCustomerGrantedEntitlement403JSONResponseBodyObject.
func (RevokeCustomerGrantedEntitlement403JSONResponseBodyObject) Valid ¶
func (e RevokeCustomerGrantedEntitlement403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement403JSONResponseBodyObject enum.
type RevokeCustomerGrantedEntitlement403JSONResponseBodyType ¶
type RevokeCustomerGrantedEntitlement403JSONResponseBodyType string
RevokeCustomerGrantedEntitlement403JSONResponseBodyType defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement403JSONResponseBodyTypeAuthorizationError RevokeCustomerGrantedEntitlement403JSONResponseBodyType = "authorization_error"
)
Defines values for RevokeCustomerGrantedEntitlement403JSONResponseBodyType.
func (RevokeCustomerGrantedEntitlement403JSONResponseBodyType) Valid ¶
func (e RevokeCustomerGrantedEntitlement403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement403JSONResponseBodyType enum.
type RevokeCustomerGrantedEntitlement404JSONResponseBodyObject ¶
type RevokeCustomerGrantedEntitlement404JSONResponseBodyObject string
RevokeCustomerGrantedEntitlement404JSONResponseBodyObject defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement404JSONResponseBodyObjectError RevokeCustomerGrantedEntitlement404JSONResponseBodyObject = "error"
)
Defines values for RevokeCustomerGrantedEntitlement404JSONResponseBodyObject.
func (RevokeCustomerGrantedEntitlement404JSONResponseBodyObject) Valid ¶
func (e RevokeCustomerGrantedEntitlement404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement404JSONResponseBodyObject enum.
type RevokeCustomerGrantedEntitlement404JSONResponseBodyType ¶
type RevokeCustomerGrantedEntitlement404JSONResponseBodyType string
RevokeCustomerGrantedEntitlement404JSONResponseBodyType defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement404JSONResponseBodyTypeResourceMissing RevokeCustomerGrantedEntitlement404JSONResponseBodyType = "resource_missing"
)
Defines values for RevokeCustomerGrantedEntitlement404JSONResponseBodyType.
func (RevokeCustomerGrantedEntitlement404JSONResponseBodyType) Valid ¶
func (e RevokeCustomerGrantedEntitlement404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement404JSONResponseBodyType enum.
type RevokeCustomerGrantedEntitlement409JSONResponseBodyObject ¶
type RevokeCustomerGrantedEntitlement409JSONResponseBodyObject string
RevokeCustomerGrantedEntitlement409JSONResponseBodyObject defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement409JSONResponseBodyObjectError RevokeCustomerGrantedEntitlement409JSONResponseBodyObject = "error"
)
Defines values for RevokeCustomerGrantedEntitlement409JSONResponseBodyObject.
func (RevokeCustomerGrantedEntitlement409JSONResponseBodyObject) Valid ¶
func (e RevokeCustomerGrantedEntitlement409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement409JSONResponseBodyObject enum.
type RevokeCustomerGrantedEntitlement409JSONResponseBodyType ¶
type RevokeCustomerGrantedEntitlement409JSONResponseBodyType string
RevokeCustomerGrantedEntitlement409JSONResponseBodyType defines parameters for RevokeCustomerGrantedEntitlement.
const ( RevokeCustomerGrantedEntitlement409JSONResponseBodyTypeIdempotencyError RevokeCustomerGrantedEntitlement409JSONResponseBodyType = "idempotency_error" RevokeCustomerGrantedEntitlement409JSONResponseBodyTypeInvalidRequest RevokeCustomerGrantedEntitlement409JSONResponseBodyType = "invalid_request" RevokeCustomerGrantedEntitlement409JSONResponseBodyTypeResourceAlreadyExists RevokeCustomerGrantedEntitlement409JSONResponseBodyType = "resource_already_exists" )
Defines values for RevokeCustomerGrantedEntitlement409JSONResponseBodyType.
func (RevokeCustomerGrantedEntitlement409JSONResponseBodyType) Valid ¶
func (e RevokeCustomerGrantedEntitlement409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement409JSONResponseBodyType enum.
type RevokeCustomerGrantedEntitlement422JSONResponseBodyObject ¶
type RevokeCustomerGrantedEntitlement422JSONResponseBodyObject string
RevokeCustomerGrantedEntitlement422JSONResponseBodyObject defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement422JSONResponseBodyObjectError RevokeCustomerGrantedEntitlement422JSONResponseBodyObject = "error"
)
Defines values for RevokeCustomerGrantedEntitlement422JSONResponseBodyObject.
func (RevokeCustomerGrantedEntitlement422JSONResponseBodyObject) Valid ¶
func (e RevokeCustomerGrantedEntitlement422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement422JSONResponseBodyObject enum.
type RevokeCustomerGrantedEntitlement422JSONResponseBodyType ¶
type RevokeCustomerGrantedEntitlement422JSONResponseBodyType string
RevokeCustomerGrantedEntitlement422JSONResponseBodyType defines parameters for RevokeCustomerGrantedEntitlement.
const ( RevokeCustomerGrantedEntitlement422JSONResponseBodyTypeEntityReferencesArchivedEntities RevokeCustomerGrantedEntitlement422JSONResponseBodyType = "entity_references_archived_entities" RevokeCustomerGrantedEntitlement422JSONResponseBodyTypeParameterError RevokeCustomerGrantedEntitlement422JSONResponseBodyType = "parameter_error" RevokeCustomerGrantedEntitlement422JSONResponseBodyTypeStoreError RevokeCustomerGrantedEntitlement422JSONResponseBodyType = "store_error" RevokeCustomerGrantedEntitlement422JSONResponseBodyTypeUnprocessableEntityError RevokeCustomerGrantedEntitlement422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for RevokeCustomerGrantedEntitlement422JSONResponseBodyType.
func (RevokeCustomerGrantedEntitlement422JSONResponseBodyType) Valid ¶
func (e RevokeCustomerGrantedEntitlement422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement422JSONResponseBodyType enum.
type RevokeCustomerGrantedEntitlement423JSONResponseBodyObject ¶
type RevokeCustomerGrantedEntitlement423JSONResponseBodyObject string
RevokeCustomerGrantedEntitlement423JSONResponseBodyObject defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement423JSONResponseBodyObjectError RevokeCustomerGrantedEntitlement423JSONResponseBodyObject = "error"
)
Defines values for RevokeCustomerGrantedEntitlement423JSONResponseBodyObject.
func (RevokeCustomerGrantedEntitlement423JSONResponseBodyObject) Valid ¶
func (e RevokeCustomerGrantedEntitlement423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement423JSONResponseBodyObject enum.
type RevokeCustomerGrantedEntitlement423JSONResponseBodyType ¶
type RevokeCustomerGrantedEntitlement423JSONResponseBodyType string
RevokeCustomerGrantedEntitlement423JSONResponseBodyType defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement423JSONResponseBodyTypeResourceLockedError RevokeCustomerGrantedEntitlement423JSONResponseBodyType = "resource_locked_error"
)
Defines values for RevokeCustomerGrantedEntitlement423JSONResponseBodyType.
func (RevokeCustomerGrantedEntitlement423JSONResponseBodyType) Valid ¶
func (e RevokeCustomerGrantedEntitlement423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement423JSONResponseBodyType enum.
type RevokeCustomerGrantedEntitlement429JSONResponseBodyObject ¶
type RevokeCustomerGrantedEntitlement429JSONResponseBodyObject string
RevokeCustomerGrantedEntitlement429JSONResponseBodyObject defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement429JSONResponseBodyObjectError RevokeCustomerGrantedEntitlement429JSONResponseBodyObject = "error"
)
Defines values for RevokeCustomerGrantedEntitlement429JSONResponseBodyObject.
func (RevokeCustomerGrantedEntitlement429JSONResponseBodyObject) Valid ¶
func (e RevokeCustomerGrantedEntitlement429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement429JSONResponseBodyObject enum.
type RevokeCustomerGrantedEntitlement429JSONResponseBodyType ¶
type RevokeCustomerGrantedEntitlement429JSONResponseBodyType string
RevokeCustomerGrantedEntitlement429JSONResponseBodyType defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement429JSONResponseBodyTypeRateLimitError RevokeCustomerGrantedEntitlement429JSONResponseBodyType = "rate_limit_error"
)
Defines values for RevokeCustomerGrantedEntitlement429JSONResponseBodyType.
func (RevokeCustomerGrantedEntitlement429JSONResponseBodyType) Valid ¶
func (e RevokeCustomerGrantedEntitlement429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement429JSONResponseBodyType enum.
type RevokeCustomerGrantedEntitlement500JSONResponseBodyObject ¶
type RevokeCustomerGrantedEntitlement500JSONResponseBodyObject string
RevokeCustomerGrantedEntitlement500JSONResponseBodyObject defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement500JSONResponseBodyObjectError RevokeCustomerGrantedEntitlement500JSONResponseBodyObject = "error"
)
Defines values for RevokeCustomerGrantedEntitlement500JSONResponseBodyObject.
func (RevokeCustomerGrantedEntitlement500JSONResponseBodyObject) Valid ¶
func (e RevokeCustomerGrantedEntitlement500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement500JSONResponseBodyObject enum.
type RevokeCustomerGrantedEntitlement500JSONResponseBodyType ¶
type RevokeCustomerGrantedEntitlement500JSONResponseBodyType string
RevokeCustomerGrantedEntitlement500JSONResponseBodyType defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement500JSONResponseBodyTypeServerError RevokeCustomerGrantedEntitlement500JSONResponseBodyType = "server_error"
)
Defines values for RevokeCustomerGrantedEntitlement500JSONResponseBodyType.
func (RevokeCustomerGrantedEntitlement500JSONResponseBodyType) Valid ¶
func (e RevokeCustomerGrantedEntitlement500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement500JSONResponseBodyType enum.
type RevokeCustomerGrantedEntitlement503JSONResponseBodyObject ¶
type RevokeCustomerGrantedEntitlement503JSONResponseBodyObject string
RevokeCustomerGrantedEntitlement503JSONResponseBodyObject defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement503JSONResponseBodyObjectError RevokeCustomerGrantedEntitlement503JSONResponseBodyObject = "error"
)
Defines values for RevokeCustomerGrantedEntitlement503JSONResponseBodyObject.
func (RevokeCustomerGrantedEntitlement503JSONResponseBodyObject) Valid ¶
func (e RevokeCustomerGrantedEntitlement503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement503JSONResponseBodyObject enum.
type RevokeCustomerGrantedEntitlement503JSONResponseBodyType ¶
type RevokeCustomerGrantedEntitlement503JSONResponseBodyType string
RevokeCustomerGrantedEntitlement503JSONResponseBodyType defines parameters for RevokeCustomerGrantedEntitlement.
const (
RevokeCustomerGrantedEntitlement503JSONResponseBodyTypeServerError RevokeCustomerGrantedEntitlement503JSONResponseBodyType = "server_error"
)
Defines values for RevokeCustomerGrantedEntitlement503JSONResponseBodyType.
func (RevokeCustomerGrantedEntitlement503JSONResponseBodyType) Valid ¶
func (e RevokeCustomerGrantedEntitlement503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the RevokeCustomerGrantedEntitlement503JSONResponseBodyType enum.
type RevokeCustomerGrantedEntitlementJSONBody ¶
type RevokeCustomerGrantedEntitlementJSONBody struct {
// EntitlementID The ID of the granted entitlement to revoke from the customer.
//
// Example: entla1b2c3d4e5
EntitlementID string `json:"entitlement_id"`
}
RevokeCustomerGrantedEntitlementJSONBody defines parameters for RevokeCustomerGrantedEntitlement.
type RevokeCustomerGrantedEntitlementJSONRequestBody ¶
type RevokeCustomerGrantedEntitlementJSONRequestBody RevokeCustomerGrantedEntitlementJSONBody
RevokeCustomerGrantedEntitlementJSONRequestBody defines body for RevokeCustomerGrantedEntitlement for application/json ContentType.
type RokuApp ¶
type RokuApp struct {
// CreatedAt The date when the app was created in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// CustomURLScheme The custom URL scheme for the app, derived from the app's public ID.
//
// Example: rc-1a2b3c4
CustomURLScheme string `json:"custom_url_scheme"`
// ID The id of the app
//
// Example: app1a2b3c4
ID string `json:"id"`
// Name The name of the app
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object RokuAppObject `json:"object"`
// ProjectID The id of the project
//
// Example: proj1a2b3c4
ProjectID string `json:"project_id"`
// Roku Roku Channel Store type details
Roku RokuApp_Roku `json:"roku"`
// Type The platform of the app
//
// Example: roku
Type RokuAppType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RokuApp defines model for RokuApp.
func (RokuApp) Get ¶
Getter for additional properties for RokuApp. Returns the specified element and whether it was found
func (RokuApp) MarshalJSON ¶
Override default JSON handling for RokuApp to handle AdditionalProperties
func (*RokuApp) UnmarshalJSON ¶
Override default JSON handling for RokuApp to handle AdditionalProperties
type RokuAppConfig ¶
type RokuAppCreate ¶
type RokuAppCreate struct {
// Name The name of the app
Name string `json:"name"`
// Roku Roku Channel Store details. Should only be used when type is roku.
Roku *struct {
// RokuAPIKey Roku Pay API key provided on the Roku Pay Web Services page.
RokuAPIKey *string `json:"roku_api_key,omitempty"`
// RokuChannelID Channel ID provided on the Roku Channel page.
RokuChannelID *string `json:"roku_channel_id,omitempty"`
// RokuChannelName Channel name that is displayed on the Roku Channel page.
RokuChannelName *string `json:"roku_channel_name,omitempty"`
} `json:"roku,omitempty"`
// Type The platform of the app.
// Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
Type RokuAppCreateType `json:"type"`
}
RokuAppCreate defines model for RokuAppCreate.
type RokuAppCreateType ¶
type RokuAppCreateType string
RokuAppCreateType The platform of the app. Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
const (
RokuAppCreateTypeRoku RokuAppCreateType = "roku"
)
Defines values for RokuAppCreateType.
func (RokuAppCreateType) Valid ¶
func (e RokuAppCreateType) Valid() bool
Valid indicates whether the value is a known member of the RokuAppCreateType enum.
type RokuAppObject ¶
type RokuAppObject string
RokuAppObject String representing the object's type. Objects of the same type share the same value.
const (
RokuAppObjectApp RokuAppObject = "app"
)
Defines values for RokuAppObject.
func (RokuAppObject) Valid ¶
func (e RokuAppObject) Valid() bool
Valid indicates whether the value is a known member of the RokuAppObject enum.
type RokuAppType ¶
type RokuAppType string
RokuAppType The platform of the app
Example: roku
const (
RokuAppTypeRoku RokuAppType = "roku"
)
Defines values for RokuAppType.
func (RokuAppType) Valid ¶
func (e RokuAppType) Valid() bool
Valid indicates whether the value is a known member of the RokuAppType enum.
type RokuApp_Roku ¶
type RokuApp_Roku struct {
// RokuChannelID Channel ID provided on the Roku Channel page.
RokuChannelID *string `json:"roku_channel_id,omitempty"`
// RokuChannelName Channel name that is displayed on the Roku Channel page.
RokuChannelName *string `json:"roku_channel_name,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RokuApp_Roku Roku Channel Store type details
func (RokuApp_Roku) Get ¶
func (a RokuApp_Roku) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for RokuApp_Roku. Returns the specified element and whether it was found
func (RokuApp_Roku) MarshalJSON ¶
func (a RokuApp_Roku) MarshalJSON() ([]byte, error)
Override default JSON handling for RokuApp_Roku to handle AdditionalProperties
func (*RokuApp_Roku) Set ¶
func (a *RokuApp_Roku) Set(fieldName string, value interface{})
Setter for additional properties for RokuApp_Roku
func (*RokuApp_Roku) UnmarshalJSON ¶
func (a *RokuApp_Roku) UnmarshalJSON(b []byte) error
Override default JSON handling for RokuApp_Roku to handle AdditionalProperties
type SDKService ¶
type SDKService struct {
// contains filtered or unexported fields
}
func NewSDKService ¶
func NewSDKService(v2BaseURL string, httpClient *http.Client, userAgent string) *SDKService
func (*SDKService) Offerings ¶
func (s *SDKService) Offerings(ctx context.Context, publicAPIKey, appUserID string) (json.RawMessage, error)
func (*SDKService) SimulatePurchase ¶
func (s *SDKService) SimulatePurchase(ctx context.Context, publicAPIKey string, purchase SimulatedPurchase) (json.RawMessage, error)
type ScreenshotUploadReservation ¶
type ScreenshotUploadReservation struct {
ScreenshotID string `json:"screenshot_id"`
Filename *string `json:"filename"`
FileSize *int64 `json:"file_size"`
UploadOperations []UploadOperation `json:"upload_operations"`
}
ScreenshotUploadReservation is the response of the screenshot_upload endpoint: an App Store Connect slot plus presigned upload operations the client executes directly against Apple.
type SearchPurchases400JSONResponseBodyObject ¶
type SearchPurchases400JSONResponseBodyObject string
SearchPurchases400JSONResponseBodyObject defines parameters for SearchPurchases.
const (
SearchPurchases400JSONResponseBodyObjectError SearchPurchases400JSONResponseBodyObject = "error"
)
Defines values for SearchPurchases400JSONResponseBodyObject.
func (SearchPurchases400JSONResponseBodyObject) Valid ¶
func (e SearchPurchases400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases400JSONResponseBodyObject enum.
type SearchPurchases400JSONResponseBodyType ¶
type SearchPurchases400JSONResponseBodyType string
SearchPurchases400JSONResponseBodyType defines parameters for SearchPurchases.
const ( SearchPurchases400JSONResponseBodyTypeInvalidRequest SearchPurchases400JSONResponseBodyType = "invalid_request" SearchPurchases400JSONResponseBodyTypeParameterError SearchPurchases400JSONResponseBodyType = "parameter_error" )
Defines values for SearchPurchases400JSONResponseBodyType.
func (SearchPurchases400JSONResponseBodyType) Valid ¶
func (e SearchPurchases400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases400JSONResponseBodyType enum.
type SearchPurchases401JSONResponseBodyObject ¶
type SearchPurchases401JSONResponseBodyObject string
SearchPurchases401JSONResponseBodyObject defines parameters for SearchPurchases.
const (
SearchPurchases401JSONResponseBodyObjectError SearchPurchases401JSONResponseBodyObject = "error"
)
Defines values for SearchPurchases401JSONResponseBodyObject.
func (SearchPurchases401JSONResponseBodyObject) Valid ¶
func (e SearchPurchases401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases401JSONResponseBodyObject enum.
type SearchPurchases401JSONResponseBodyType ¶
type SearchPurchases401JSONResponseBodyType string
SearchPurchases401JSONResponseBodyType defines parameters for SearchPurchases.
const (
SearchPurchases401JSONResponseBodyTypeAuthenticationError SearchPurchases401JSONResponseBodyType = "authentication_error"
)
Defines values for SearchPurchases401JSONResponseBodyType.
func (SearchPurchases401JSONResponseBodyType) Valid ¶
func (e SearchPurchases401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases401JSONResponseBodyType enum.
type SearchPurchases403JSONResponseBodyObject ¶
type SearchPurchases403JSONResponseBodyObject string
SearchPurchases403JSONResponseBodyObject defines parameters for SearchPurchases.
const (
SearchPurchases403JSONResponseBodyObjectError SearchPurchases403JSONResponseBodyObject = "error"
)
Defines values for SearchPurchases403JSONResponseBodyObject.
func (SearchPurchases403JSONResponseBodyObject) Valid ¶
func (e SearchPurchases403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases403JSONResponseBodyObject enum.
type SearchPurchases403JSONResponseBodyType ¶
type SearchPurchases403JSONResponseBodyType string
SearchPurchases403JSONResponseBodyType defines parameters for SearchPurchases.
const (
SearchPurchases403JSONResponseBodyTypeAuthorizationError SearchPurchases403JSONResponseBodyType = "authorization_error"
)
Defines values for SearchPurchases403JSONResponseBodyType.
func (SearchPurchases403JSONResponseBodyType) Valid ¶
func (e SearchPurchases403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases403JSONResponseBodyType enum.
type SearchPurchases404JSONResponseBodyObject ¶
type SearchPurchases404JSONResponseBodyObject string
SearchPurchases404JSONResponseBodyObject defines parameters for SearchPurchases.
const (
SearchPurchases404JSONResponseBodyObjectError SearchPurchases404JSONResponseBodyObject = "error"
)
Defines values for SearchPurchases404JSONResponseBodyObject.
func (SearchPurchases404JSONResponseBodyObject) Valid ¶
func (e SearchPurchases404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases404JSONResponseBodyObject enum.
type SearchPurchases404JSONResponseBodyType ¶
type SearchPurchases404JSONResponseBodyType string
SearchPurchases404JSONResponseBodyType defines parameters for SearchPurchases.
const (
SearchPurchases404JSONResponseBodyTypeResourceMissing SearchPurchases404JSONResponseBodyType = "resource_missing"
)
Defines values for SearchPurchases404JSONResponseBodyType.
func (SearchPurchases404JSONResponseBodyType) Valid ¶
func (e SearchPurchases404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases404JSONResponseBodyType enum.
type SearchPurchases423JSONResponseBodyObject ¶
type SearchPurchases423JSONResponseBodyObject string
SearchPurchases423JSONResponseBodyObject defines parameters for SearchPurchases.
const (
SearchPurchases423JSONResponseBodyObjectError SearchPurchases423JSONResponseBodyObject = "error"
)
Defines values for SearchPurchases423JSONResponseBodyObject.
func (SearchPurchases423JSONResponseBodyObject) Valid ¶
func (e SearchPurchases423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases423JSONResponseBodyObject enum.
type SearchPurchases423JSONResponseBodyType ¶
type SearchPurchases423JSONResponseBodyType string
SearchPurchases423JSONResponseBodyType defines parameters for SearchPurchases.
const (
SearchPurchases423JSONResponseBodyTypeResourceLockedError SearchPurchases423JSONResponseBodyType = "resource_locked_error"
)
Defines values for SearchPurchases423JSONResponseBodyType.
func (SearchPurchases423JSONResponseBodyType) Valid ¶
func (e SearchPurchases423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases423JSONResponseBodyType enum.
type SearchPurchases429JSONResponseBodyObject ¶
type SearchPurchases429JSONResponseBodyObject string
SearchPurchases429JSONResponseBodyObject defines parameters for SearchPurchases.
const (
SearchPurchases429JSONResponseBodyObjectError SearchPurchases429JSONResponseBodyObject = "error"
)
Defines values for SearchPurchases429JSONResponseBodyObject.
func (SearchPurchases429JSONResponseBodyObject) Valid ¶
func (e SearchPurchases429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases429JSONResponseBodyObject enum.
type SearchPurchases429JSONResponseBodyType ¶
type SearchPurchases429JSONResponseBodyType string
SearchPurchases429JSONResponseBodyType defines parameters for SearchPurchases.
const (
SearchPurchases429JSONResponseBodyTypeRateLimitError SearchPurchases429JSONResponseBodyType = "rate_limit_error"
)
Defines values for SearchPurchases429JSONResponseBodyType.
func (SearchPurchases429JSONResponseBodyType) Valid ¶
func (e SearchPurchases429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases429JSONResponseBodyType enum.
type SearchPurchases500JSONResponseBodyObject ¶
type SearchPurchases500JSONResponseBodyObject string
SearchPurchases500JSONResponseBodyObject defines parameters for SearchPurchases.
const (
SearchPurchases500JSONResponseBodyObjectError SearchPurchases500JSONResponseBodyObject = "error"
)
Defines values for SearchPurchases500JSONResponseBodyObject.
func (SearchPurchases500JSONResponseBodyObject) Valid ¶
func (e SearchPurchases500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases500JSONResponseBodyObject enum.
type SearchPurchases500JSONResponseBodyType ¶
type SearchPurchases500JSONResponseBodyType string
SearchPurchases500JSONResponseBodyType defines parameters for SearchPurchases.
const (
SearchPurchases500JSONResponseBodyTypeServerError SearchPurchases500JSONResponseBodyType = "server_error"
)
Defines values for SearchPurchases500JSONResponseBodyType.
func (SearchPurchases500JSONResponseBodyType) Valid ¶
func (e SearchPurchases500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases500JSONResponseBodyType enum.
type SearchPurchases503JSONResponseBodyObject ¶
type SearchPurchases503JSONResponseBodyObject string
SearchPurchases503JSONResponseBodyObject defines parameters for SearchPurchases.
const (
SearchPurchases503JSONResponseBodyObjectError SearchPurchases503JSONResponseBodyObject = "error"
)
Defines values for SearchPurchases503JSONResponseBodyObject.
func (SearchPurchases503JSONResponseBodyObject) Valid ¶
func (e SearchPurchases503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases503JSONResponseBodyObject enum.
type SearchPurchases503JSONResponseBodyType ¶
type SearchPurchases503JSONResponseBodyType string
SearchPurchases503JSONResponseBodyType defines parameters for SearchPurchases.
const (
SearchPurchases503JSONResponseBodyTypeServerError SearchPurchases503JSONResponseBodyType = "server_error"
)
Defines values for SearchPurchases503JSONResponseBodyType.
func (SearchPurchases503JSONResponseBodyType) Valid ¶
func (e SearchPurchases503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchPurchases503JSONResponseBodyType enum.
type SearchPurchasesParams ¶
type SearchPurchasesParams struct {
// StorePurchaseIdentifier Store ID associated with the one-time purchase.
StorePurchaseIdentifier string `form:"store_purchase_identifier" json:"store_purchase_identifier"`
}
SearchPurchasesParams defines parameters for SearchPurchases.
type SearchSubscriptions400JSONResponseBodyObject ¶
type SearchSubscriptions400JSONResponseBodyObject string
SearchSubscriptions400JSONResponseBodyObject defines parameters for SearchSubscriptions.
const (
SearchSubscriptions400JSONResponseBodyObjectError SearchSubscriptions400JSONResponseBodyObject = "error"
)
Defines values for SearchSubscriptions400JSONResponseBodyObject.
func (SearchSubscriptions400JSONResponseBodyObject) Valid ¶
func (e SearchSubscriptions400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions400JSONResponseBodyObject enum.
type SearchSubscriptions400JSONResponseBodyType ¶
type SearchSubscriptions400JSONResponseBodyType string
SearchSubscriptions400JSONResponseBodyType defines parameters for SearchSubscriptions.
const ( SearchSubscriptions400JSONResponseBodyTypeInvalidRequest SearchSubscriptions400JSONResponseBodyType = "invalid_request" SearchSubscriptions400JSONResponseBodyTypeParameterError SearchSubscriptions400JSONResponseBodyType = "parameter_error" )
Defines values for SearchSubscriptions400JSONResponseBodyType.
func (SearchSubscriptions400JSONResponseBodyType) Valid ¶
func (e SearchSubscriptions400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions400JSONResponseBodyType enum.
type SearchSubscriptions401JSONResponseBodyObject ¶
type SearchSubscriptions401JSONResponseBodyObject string
SearchSubscriptions401JSONResponseBodyObject defines parameters for SearchSubscriptions.
const (
SearchSubscriptions401JSONResponseBodyObjectError SearchSubscriptions401JSONResponseBodyObject = "error"
)
Defines values for SearchSubscriptions401JSONResponseBodyObject.
func (SearchSubscriptions401JSONResponseBodyObject) Valid ¶
func (e SearchSubscriptions401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions401JSONResponseBodyObject enum.
type SearchSubscriptions401JSONResponseBodyType ¶
type SearchSubscriptions401JSONResponseBodyType string
SearchSubscriptions401JSONResponseBodyType defines parameters for SearchSubscriptions.
const (
SearchSubscriptions401JSONResponseBodyTypeAuthenticationError SearchSubscriptions401JSONResponseBodyType = "authentication_error"
)
Defines values for SearchSubscriptions401JSONResponseBodyType.
func (SearchSubscriptions401JSONResponseBodyType) Valid ¶
func (e SearchSubscriptions401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions401JSONResponseBodyType enum.
type SearchSubscriptions403JSONResponseBodyObject ¶
type SearchSubscriptions403JSONResponseBodyObject string
SearchSubscriptions403JSONResponseBodyObject defines parameters for SearchSubscriptions.
const (
SearchSubscriptions403JSONResponseBodyObjectError SearchSubscriptions403JSONResponseBodyObject = "error"
)
Defines values for SearchSubscriptions403JSONResponseBodyObject.
func (SearchSubscriptions403JSONResponseBodyObject) Valid ¶
func (e SearchSubscriptions403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions403JSONResponseBodyObject enum.
type SearchSubscriptions403JSONResponseBodyType ¶
type SearchSubscriptions403JSONResponseBodyType string
SearchSubscriptions403JSONResponseBodyType defines parameters for SearchSubscriptions.
const (
SearchSubscriptions403JSONResponseBodyTypeAuthorizationError SearchSubscriptions403JSONResponseBodyType = "authorization_error"
)
Defines values for SearchSubscriptions403JSONResponseBodyType.
func (SearchSubscriptions403JSONResponseBodyType) Valid ¶
func (e SearchSubscriptions403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions403JSONResponseBodyType enum.
type SearchSubscriptions404JSONResponseBodyObject ¶
type SearchSubscriptions404JSONResponseBodyObject string
SearchSubscriptions404JSONResponseBodyObject defines parameters for SearchSubscriptions.
const (
SearchSubscriptions404JSONResponseBodyObjectError SearchSubscriptions404JSONResponseBodyObject = "error"
)
Defines values for SearchSubscriptions404JSONResponseBodyObject.
func (SearchSubscriptions404JSONResponseBodyObject) Valid ¶
func (e SearchSubscriptions404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions404JSONResponseBodyObject enum.
type SearchSubscriptions404JSONResponseBodyType ¶
type SearchSubscriptions404JSONResponseBodyType string
SearchSubscriptions404JSONResponseBodyType defines parameters for SearchSubscriptions.
const (
SearchSubscriptions404JSONResponseBodyTypeResourceMissing SearchSubscriptions404JSONResponseBodyType = "resource_missing"
)
Defines values for SearchSubscriptions404JSONResponseBodyType.
func (SearchSubscriptions404JSONResponseBodyType) Valid ¶
func (e SearchSubscriptions404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions404JSONResponseBodyType enum.
type SearchSubscriptions423JSONResponseBodyObject ¶
type SearchSubscriptions423JSONResponseBodyObject string
SearchSubscriptions423JSONResponseBodyObject defines parameters for SearchSubscriptions.
const (
SearchSubscriptions423JSONResponseBodyObjectError SearchSubscriptions423JSONResponseBodyObject = "error"
)
Defines values for SearchSubscriptions423JSONResponseBodyObject.
func (SearchSubscriptions423JSONResponseBodyObject) Valid ¶
func (e SearchSubscriptions423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions423JSONResponseBodyObject enum.
type SearchSubscriptions423JSONResponseBodyType ¶
type SearchSubscriptions423JSONResponseBodyType string
SearchSubscriptions423JSONResponseBodyType defines parameters for SearchSubscriptions.
const (
SearchSubscriptions423JSONResponseBodyTypeResourceLockedError SearchSubscriptions423JSONResponseBodyType = "resource_locked_error"
)
Defines values for SearchSubscriptions423JSONResponseBodyType.
func (SearchSubscriptions423JSONResponseBodyType) Valid ¶
func (e SearchSubscriptions423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions423JSONResponseBodyType enum.
type SearchSubscriptions429JSONResponseBodyObject ¶
type SearchSubscriptions429JSONResponseBodyObject string
SearchSubscriptions429JSONResponseBodyObject defines parameters for SearchSubscriptions.
const (
SearchSubscriptions429JSONResponseBodyObjectError SearchSubscriptions429JSONResponseBodyObject = "error"
)
Defines values for SearchSubscriptions429JSONResponseBodyObject.
func (SearchSubscriptions429JSONResponseBodyObject) Valid ¶
func (e SearchSubscriptions429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions429JSONResponseBodyObject enum.
type SearchSubscriptions429JSONResponseBodyType ¶
type SearchSubscriptions429JSONResponseBodyType string
SearchSubscriptions429JSONResponseBodyType defines parameters for SearchSubscriptions.
const (
SearchSubscriptions429JSONResponseBodyTypeRateLimitError SearchSubscriptions429JSONResponseBodyType = "rate_limit_error"
)
Defines values for SearchSubscriptions429JSONResponseBodyType.
func (SearchSubscriptions429JSONResponseBodyType) Valid ¶
func (e SearchSubscriptions429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions429JSONResponseBodyType enum.
type SearchSubscriptions500JSONResponseBodyObject ¶
type SearchSubscriptions500JSONResponseBodyObject string
SearchSubscriptions500JSONResponseBodyObject defines parameters for SearchSubscriptions.
const (
SearchSubscriptions500JSONResponseBodyObjectError SearchSubscriptions500JSONResponseBodyObject = "error"
)
Defines values for SearchSubscriptions500JSONResponseBodyObject.
func (SearchSubscriptions500JSONResponseBodyObject) Valid ¶
func (e SearchSubscriptions500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions500JSONResponseBodyObject enum.
type SearchSubscriptions500JSONResponseBodyType ¶
type SearchSubscriptions500JSONResponseBodyType string
SearchSubscriptions500JSONResponseBodyType defines parameters for SearchSubscriptions.
const (
SearchSubscriptions500JSONResponseBodyTypeServerError SearchSubscriptions500JSONResponseBodyType = "server_error"
)
Defines values for SearchSubscriptions500JSONResponseBodyType.
func (SearchSubscriptions500JSONResponseBodyType) Valid ¶
func (e SearchSubscriptions500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions500JSONResponseBodyType enum.
type SearchSubscriptions503JSONResponseBodyObject ¶
type SearchSubscriptions503JSONResponseBodyObject string
SearchSubscriptions503JSONResponseBodyObject defines parameters for SearchSubscriptions.
const (
SearchSubscriptions503JSONResponseBodyObjectError SearchSubscriptions503JSONResponseBodyObject = "error"
)
Defines values for SearchSubscriptions503JSONResponseBodyObject.
func (SearchSubscriptions503JSONResponseBodyObject) Valid ¶
func (e SearchSubscriptions503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions503JSONResponseBodyObject enum.
type SearchSubscriptions503JSONResponseBodyType ¶
type SearchSubscriptions503JSONResponseBodyType string
SearchSubscriptions503JSONResponseBodyType defines parameters for SearchSubscriptions.
const (
SearchSubscriptions503JSONResponseBodyTypeServerError SearchSubscriptions503JSONResponseBodyType = "server_error"
)
Defines values for SearchSubscriptions503JSONResponseBodyType.
func (SearchSubscriptions503JSONResponseBodyType) Valid ¶
func (e SearchSubscriptions503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SearchSubscriptions503JSONResponseBodyType enum.
type SearchSubscriptionsParams ¶
type SearchSubscriptionsParams struct {
// StoreSubscriptionIdentifier Store ID associated with the subscription for the current or next period.
StoreSubscriptionIdentifier string `form:"store_subscription_identifier" json:"store_subscription_identifier"`
// IncludeScheduled When true, includes subscriptions scheduled to start in the future in the response.
IncludeScheduled *bool `form:"include_scheduled,omitempty" json:"include_scheduled,omitempty"`
}
SearchSubscriptionsParams defines parameters for SearchSubscriptions.
type SetCustomerAttributes400JSONResponseBodyObject ¶
type SetCustomerAttributes400JSONResponseBodyObject string
SetCustomerAttributes400JSONResponseBodyObject defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes400JSONResponseBodyObjectError SetCustomerAttributes400JSONResponseBodyObject = "error"
)
Defines values for SetCustomerAttributes400JSONResponseBodyObject.
func (SetCustomerAttributes400JSONResponseBodyObject) Valid ¶
func (e SetCustomerAttributes400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes400JSONResponseBodyObject enum.
type SetCustomerAttributes400JSONResponseBodyType ¶
type SetCustomerAttributes400JSONResponseBodyType string
SetCustomerAttributes400JSONResponseBodyType defines parameters for SetCustomerAttributes.
const ( SetCustomerAttributes400JSONResponseBodyTypeInvalidRequest SetCustomerAttributes400JSONResponseBodyType = "invalid_request" SetCustomerAttributes400JSONResponseBodyTypeParameterError SetCustomerAttributes400JSONResponseBodyType = "parameter_error" )
Defines values for SetCustomerAttributes400JSONResponseBodyType.
func (SetCustomerAttributes400JSONResponseBodyType) Valid ¶
func (e SetCustomerAttributes400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes400JSONResponseBodyType enum.
type SetCustomerAttributes401JSONResponseBodyObject ¶
type SetCustomerAttributes401JSONResponseBodyObject string
SetCustomerAttributes401JSONResponseBodyObject defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes401JSONResponseBodyObjectError SetCustomerAttributes401JSONResponseBodyObject = "error"
)
Defines values for SetCustomerAttributes401JSONResponseBodyObject.
func (SetCustomerAttributes401JSONResponseBodyObject) Valid ¶
func (e SetCustomerAttributes401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes401JSONResponseBodyObject enum.
type SetCustomerAttributes401JSONResponseBodyType ¶
type SetCustomerAttributes401JSONResponseBodyType string
SetCustomerAttributes401JSONResponseBodyType defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes401JSONResponseBodyTypeAuthenticationError SetCustomerAttributes401JSONResponseBodyType = "authentication_error"
)
Defines values for SetCustomerAttributes401JSONResponseBodyType.
func (SetCustomerAttributes401JSONResponseBodyType) Valid ¶
func (e SetCustomerAttributes401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes401JSONResponseBodyType enum.
type SetCustomerAttributes403JSONResponseBodyObject ¶
type SetCustomerAttributes403JSONResponseBodyObject string
SetCustomerAttributes403JSONResponseBodyObject defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes403JSONResponseBodyObjectError SetCustomerAttributes403JSONResponseBodyObject = "error"
)
Defines values for SetCustomerAttributes403JSONResponseBodyObject.
func (SetCustomerAttributes403JSONResponseBodyObject) Valid ¶
func (e SetCustomerAttributes403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes403JSONResponseBodyObject enum.
type SetCustomerAttributes403JSONResponseBodyType ¶
type SetCustomerAttributes403JSONResponseBodyType string
SetCustomerAttributes403JSONResponseBodyType defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes403JSONResponseBodyTypeAuthorizationError SetCustomerAttributes403JSONResponseBodyType = "authorization_error"
)
Defines values for SetCustomerAttributes403JSONResponseBodyType.
func (SetCustomerAttributes403JSONResponseBodyType) Valid ¶
func (e SetCustomerAttributes403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes403JSONResponseBodyType enum.
type SetCustomerAttributes404JSONResponseBodyObject ¶
type SetCustomerAttributes404JSONResponseBodyObject string
SetCustomerAttributes404JSONResponseBodyObject defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes404JSONResponseBodyObjectError SetCustomerAttributes404JSONResponseBodyObject = "error"
)
Defines values for SetCustomerAttributes404JSONResponseBodyObject.
func (SetCustomerAttributes404JSONResponseBodyObject) Valid ¶
func (e SetCustomerAttributes404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes404JSONResponseBodyObject enum.
type SetCustomerAttributes404JSONResponseBodyType ¶
type SetCustomerAttributes404JSONResponseBodyType string
SetCustomerAttributes404JSONResponseBodyType defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes404JSONResponseBodyTypeResourceMissing SetCustomerAttributes404JSONResponseBodyType = "resource_missing"
)
Defines values for SetCustomerAttributes404JSONResponseBodyType.
func (SetCustomerAttributes404JSONResponseBodyType) Valid ¶
func (e SetCustomerAttributes404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes404JSONResponseBodyType enum.
type SetCustomerAttributes409JSONResponseBodyObject ¶
type SetCustomerAttributes409JSONResponseBodyObject string
SetCustomerAttributes409JSONResponseBodyObject defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes409JSONResponseBodyObjectError SetCustomerAttributes409JSONResponseBodyObject = "error"
)
Defines values for SetCustomerAttributes409JSONResponseBodyObject.
func (SetCustomerAttributes409JSONResponseBodyObject) Valid ¶
func (e SetCustomerAttributes409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes409JSONResponseBodyObject enum.
type SetCustomerAttributes409JSONResponseBodyType ¶
type SetCustomerAttributes409JSONResponseBodyType string
SetCustomerAttributes409JSONResponseBodyType defines parameters for SetCustomerAttributes.
const ( SetCustomerAttributes409JSONResponseBodyTypeIdempotencyError SetCustomerAttributes409JSONResponseBodyType = "idempotency_error" SetCustomerAttributes409JSONResponseBodyTypeInvalidRequest SetCustomerAttributes409JSONResponseBodyType = "invalid_request" SetCustomerAttributes409JSONResponseBodyTypeResourceAlreadyExists SetCustomerAttributes409JSONResponseBodyType = "resource_already_exists" )
Defines values for SetCustomerAttributes409JSONResponseBodyType.
func (SetCustomerAttributes409JSONResponseBodyType) Valid ¶
func (e SetCustomerAttributes409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes409JSONResponseBodyType enum.
type SetCustomerAttributes422JSONResponseBodyObject ¶
type SetCustomerAttributes422JSONResponseBodyObject string
SetCustomerAttributes422JSONResponseBodyObject defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes422JSONResponseBodyObjectError SetCustomerAttributes422JSONResponseBodyObject = "error"
)
Defines values for SetCustomerAttributes422JSONResponseBodyObject.
func (SetCustomerAttributes422JSONResponseBodyObject) Valid ¶
func (e SetCustomerAttributes422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes422JSONResponseBodyObject enum.
type SetCustomerAttributes422JSONResponseBodyType ¶
type SetCustomerAttributes422JSONResponseBodyType string
SetCustomerAttributes422JSONResponseBodyType defines parameters for SetCustomerAttributes.
const ( SetCustomerAttributes422JSONResponseBodyTypeEntityReferencesArchivedEntities SetCustomerAttributes422JSONResponseBodyType = "entity_references_archived_entities" SetCustomerAttributes422JSONResponseBodyTypeParameterError SetCustomerAttributes422JSONResponseBodyType = "parameter_error" SetCustomerAttributes422JSONResponseBodyTypeStoreError SetCustomerAttributes422JSONResponseBodyType = "store_error" SetCustomerAttributes422JSONResponseBodyTypeUnprocessableEntityError SetCustomerAttributes422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for SetCustomerAttributes422JSONResponseBodyType.
func (SetCustomerAttributes422JSONResponseBodyType) Valid ¶
func (e SetCustomerAttributes422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes422JSONResponseBodyType enum.
type SetCustomerAttributes423JSONResponseBodyObject ¶
type SetCustomerAttributes423JSONResponseBodyObject string
SetCustomerAttributes423JSONResponseBodyObject defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes423JSONResponseBodyObjectError SetCustomerAttributes423JSONResponseBodyObject = "error"
)
Defines values for SetCustomerAttributes423JSONResponseBodyObject.
func (SetCustomerAttributes423JSONResponseBodyObject) Valid ¶
func (e SetCustomerAttributes423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes423JSONResponseBodyObject enum.
type SetCustomerAttributes423JSONResponseBodyType ¶
type SetCustomerAttributes423JSONResponseBodyType string
SetCustomerAttributes423JSONResponseBodyType defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes423JSONResponseBodyTypeResourceLockedError SetCustomerAttributes423JSONResponseBodyType = "resource_locked_error"
)
Defines values for SetCustomerAttributes423JSONResponseBodyType.
func (SetCustomerAttributes423JSONResponseBodyType) Valid ¶
func (e SetCustomerAttributes423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes423JSONResponseBodyType enum.
type SetCustomerAttributes429JSONResponseBodyObject ¶
type SetCustomerAttributes429JSONResponseBodyObject string
SetCustomerAttributes429JSONResponseBodyObject defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes429JSONResponseBodyObjectError SetCustomerAttributes429JSONResponseBodyObject = "error"
)
Defines values for SetCustomerAttributes429JSONResponseBodyObject.
func (SetCustomerAttributes429JSONResponseBodyObject) Valid ¶
func (e SetCustomerAttributes429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes429JSONResponseBodyObject enum.
type SetCustomerAttributes429JSONResponseBodyType ¶
type SetCustomerAttributes429JSONResponseBodyType string
SetCustomerAttributes429JSONResponseBodyType defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes429JSONResponseBodyTypeRateLimitError SetCustomerAttributes429JSONResponseBodyType = "rate_limit_error"
)
Defines values for SetCustomerAttributes429JSONResponseBodyType.
func (SetCustomerAttributes429JSONResponseBodyType) Valid ¶
func (e SetCustomerAttributes429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes429JSONResponseBodyType enum.
type SetCustomerAttributes500JSONResponseBodyObject ¶
type SetCustomerAttributes500JSONResponseBodyObject string
SetCustomerAttributes500JSONResponseBodyObject defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes500JSONResponseBodyObjectError SetCustomerAttributes500JSONResponseBodyObject = "error"
)
Defines values for SetCustomerAttributes500JSONResponseBodyObject.
func (SetCustomerAttributes500JSONResponseBodyObject) Valid ¶
func (e SetCustomerAttributes500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes500JSONResponseBodyObject enum.
type SetCustomerAttributes500JSONResponseBodyType ¶
type SetCustomerAttributes500JSONResponseBodyType string
SetCustomerAttributes500JSONResponseBodyType defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes500JSONResponseBodyTypeServerError SetCustomerAttributes500JSONResponseBodyType = "server_error"
)
Defines values for SetCustomerAttributes500JSONResponseBodyType.
func (SetCustomerAttributes500JSONResponseBodyType) Valid ¶
func (e SetCustomerAttributes500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes500JSONResponseBodyType enum.
type SetCustomerAttributes503JSONResponseBodyObject ¶
type SetCustomerAttributes503JSONResponseBodyObject string
SetCustomerAttributes503JSONResponseBodyObject defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes503JSONResponseBodyObjectError SetCustomerAttributes503JSONResponseBodyObject = "error"
)
Defines values for SetCustomerAttributes503JSONResponseBodyObject.
func (SetCustomerAttributes503JSONResponseBodyObject) Valid ¶
func (e SetCustomerAttributes503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes503JSONResponseBodyObject enum.
type SetCustomerAttributes503JSONResponseBodyType ¶
type SetCustomerAttributes503JSONResponseBodyType string
SetCustomerAttributes503JSONResponseBodyType defines parameters for SetCustomerAttributes.
const (
SetCustomerAttributes503JSONResponseBodyTypeServerError SetCustomerAttributes503JSONResponseBodyType = "server_error"
)
Defines values for SetCustomerAttributes503JSONResponseBodyType.
func (SetCustomerAttributes503JSONResponseBodyType) Valid ¶
func (e SetCustomerAttributes503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the SetCustomerAttributes503JSONResponseBodyType enum.
type SetCustomerAttributesJSONBody ¶
type SetCustomerAttributesJSONBody struct {
Attributes []struct {
// Name The name of the attribute
//
// Example: $email
Name SetCustomerAttributesJSONBody_Attributes_Name `json:"name"`
// Value The value of the attribute. Use null to delete the attribute.
Value *string `json:"value"`
} `json:"attributes"`
}
SetCustomerAttributesJSONBody defines parameters for SetCustomerAttributes.
type SetCustomerAttributesJSONBody_Attributes_Name ¶
type SetCustomerAttributesJSONBody_Attributes_Name struct {
// contains filtered or unexported fields
}
SetCustomerAttributesJSONBody_Attributes_Name defines parameters for SetCustomerAttributes.
func (SetCustomerAttributesJSONBody_Attributes_Name) AsCustomerAttributeCustomName ¶
func (t SetCustomerAttributesJSONBody_Attributes_Name) AsCustomerAttributeCustomName() (CustomerAttributeCustomName, error)
AsCustomerAttributeCustomName returns the union data inside the SetCustomerAttributesJSONBody_Attributes_Name as a CustomerAttributeCustomName
func (SetCustomerAttributesJSONBody_Attributes_Name) AsCustomerAttributeReservedName ¶
func (t SetCustomerAttributesJSONBody_Attributes_Name) AsCustomerAttributeReservedName() (CustomerAttributeReservedName, error)
AsCustomerAttributeReservedName returns the union data inside the SetCustomerAttributesJSONBody_Attributes_Name as a CustomerAttributeReservedName
func (*SetCustomerAttributesJSONBody_Attributes_Name) FromCustomerAttributeCustomName ¶
func (t *SetCustomerAttributesJSONBody_Attributes_Name) FromCustomerAttributeCustomName(v CustomerAttributeCustomName) error
FromCustomerAttributeCustomName overwrites any union data inside the SetCustomerAttributesJSONBody_Attributes_Name as the provided CustomerAttributeCustomName
func (*SetCustomerAttributesJSONBody_Attributes_Name) FromCustomerAttributeReservedName ¶
func (t *SetCustomerAttributesJSONBody_Attributes_Name) FromCustomerAttributeReservedName(v CustomerAttributeReservedName) error
FromCustomerAttributeReservedName overwrites any union data inside the SetCustomerAttributesJSONBody_Attributes_Name as the provided CustomerAttributeReservedName
func (SetCustomerAttributesJSONBody_Attributes_Name) MarshalJSON ¶
func (t SetCustomerAttributesJSONBody_Attributes_Name) MarshalJSON() ([]byte, error)
func (*SetCustomerAttributesJSONBody_Attributes_Name) MergeCustomerAttributeCustomName ¶
func (t *SetCustomerAttributesJSONBody_Attributes_Name) MergeCustomerAttributeCustomName(v CustomerAttributeCustomName) error
MergeCustomerAttributeCustomName performs a merge with any union data inside the SetCustomerAttributesJSONBody_Attributes_Name, using the provided CustomerAttributeCustomName
func (*SetCustomerAttributesJSONBody_Attributes_Name) MergeCustomerAttributeReservedName ¶
func (t *SetCustomerAttributesJSONBody_Attributes_Name) MergeCustomerAttributeReservedName(v CustomerAttributeReservedName) error
MergeCustomerAttributeReservedName performs a merge with any union data inside the SetCustomerAttributesJSONBody_Attributes_Name, using the provided CustomerAttributeReservedName
func (*SetCustomerAttributesJSONBody_Attributes_Name) UnmarshalJSON ¶
func (t *SetCustomerAttributesJSONBody_Attributes_Name) UnmarshalJSON(b []byte) error
type SetCustomerAttributesJSONRequestBody ¶
type SetCustomerAttributesJSONRequestBody SetCustomerAttributesJSONBody
SetCustomerAttributesJSONRequestBody defines body for SetCustomerAttributes for application/json ContentType.
type SimulatedPurchase ¶
type StateDeclaration ¶ added in v0.1.2
type StateDeclaration struct {
// contains filtered or unexported fields
}
StateDeclaration Declaration of a single paywall state key, giving its value type and a default value matching that type.
func (StateDeclaration) AsStateDeclarationBooleanVariant ¶ added in v0.1.2
func (t StateDeclaration) AsStateDeclarationBooleanVariant() (StateDeclarationBooleanVariant, error)
AsStateDeclarationBooleanVariant returns the union data inside the StateDeclaration as a StateDeclarationBooleanVariant
func (StateDeclaration) AsStateDeclarationDoubleVariant ¶ added in v0.1.2
func (t StateDeclaration) AsStateDeclarationDoubleVariant() (StateDeclarationDoubleVariant, error)
AsStateDeclarationDoubleVariant returns the union data inside the StateDeclaration as a StateDeclarationDoubleVariant
func (StateDeclaration) AsStateDeclarationIntegerVariant ¶ added in v0.1.2
func (t StateDeclaration) AsStateDeclarationIntegerVariant() (StateDeclarationIntegerVariant, error)
AsStateDeclarationIntegerVariant returns the union data inside the StateDeclaration as a StateDeclarationIntegerVariant
func (StateDeclaration) AsStateDeclarationStringVariant ¶ added in v0.1.2
func (t StateDeclaration) AsStateDeclarationStringVariant() (StateDeclarationStringVariant, error)
AsStateDeclarationStringVariant returns the union data inside the StateDeclaration as a StateDeclarationStringVariant
func (StateDeclaration) Discriminator ¶ added in v0.1.2
func (t StateDeclaration) Discriminator() (string, error)
func (*StateDeclaration) FromStateDeclarationBooleanVariant ¶ added in v0.1.2
func (t *StateDeclaration) FromStateDeclarationBooleanVariant(v StateDeclarationBooleanVariant) error
FromStateDeclarationBooleanVariant overwrites any union data inside the StateDeclaration as the provided StateDeclarationBooleanVariant
func (*StateDeclaration) FromStateDeclarationDoubleVariant ¶ added in v0.1.2
func (t *StateDeclaration) FromStateDeclarationDoubleVariant(v StateDeclarationDoubleVariant) error
FromStateDeclarationDoubleVariant overwrites any union data inside the StateDeclaration as the provided StateDeclarationDoubleVariant
func (*StateDeclaration) FromStateDeclarationIntegerVariant ¶ added in v0.1.2
func (t *StateDeclaration) FromStateDeclarationIntegerVariant(v StateDeclarationIntegerVariant) error
FromStateDeclarationIntegerVariant overwrites any union data inside the StateDeclaration as the provided StateDeclarationIntegerVariant
func (*StateDeclaration) FromStateDeclarationStringVariant ¶ added in v0.1.2
func (t *StateDeclaration) FromStateDeclarationStringVariant(v StateDeclarationStringVariant) error
FromStateDeclarationStringVariant overwrites any union data inside the StateDeclaration as the provided StateDeclarationStringVariant
func (StateDeclaration) MarshalJSON ¶ added in v0.1.2
func (t StateDeclaration) MarshalJSON() ([]byte, error)
func (*StateDeclaration) MergeStateDeclarationBooleanVariant ¶ added in v0.1.2
func (t *StateDeclaration) MergeStateDeclarationBooleanVariant(v StateDeclarationBooleanVariant) error
MergeStateDeclarationBooleanVariant performs a merge with any union data inside the StateDeclaration, using the provided StateDeclarationBooleanVariant
func (*StateDeclaration) MergeStateDeclarationDoubleVariant ¶ added in v0.1.2
func (t *StateDeclaration) MergeStateDeclarationDoubleVariant(v StateDeclarationDoubleVariant) error
MergeStateDeclarationDoubleVariant performs a merge with any union data inside the StateDeclaration, using the provided StateDeclarationDoubleVariant
func (*StateDeclaration) MergeStateDeclarationIntegerVariant ¶ added in v0.1.2
func (t *StateDeclaration) MergeStateDeclarationIntegerVariant(v StateDeclarationIntegerVariant) error
MergeStateDeclarationIntegerVariant performs a merge with any union data inside the StateDeclaration, using the provided StateDeclarationIntegerVariant
func (*StateDeclaration) MergeStateDeclarationStringVariant ¶ added in v0.1.2
func (t *StateDeclaration) MergeStateDeclarationStringVariant(v StateDeclarationStringVariant) error
MergeStateDeclarationStringVariant performs a merge with any union data inside the StateDeclaration, using the provided StateDeclarationStringVariant
func (*StateDeclaration) UnmarshalJSON ¶ added in v0.1.2
func (t *StateDeclaration) UnmarshalJSON(b []byte) error
func (StateDeclaration) ValueByDiscriminator ¶ added in v0.1.2
func (t StateDeclaration) ValueByDiscriminator() (interface{}, error)
type StateDeclarationBooleanVariant ¶ added in v0.1.2
type StateDeclarationBooleanVariant struct {
// Default The initial value for the state key.
//
// Example: true
Default bool `json:"default"`
// Type The value type of the state key.
//
// Example: boolean
Type StateDeclarationBooleanVariantType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StateDeclarationBooleanVariant Declaration of a boolean-valued paywall state key.
func (StateDeclarationBooleanVariant) Get ¶ added in v0.1.2
func (a StateDeclarationBooleanVariant) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for StateDeclarationBooleanVariant. Returns the specified element and whether it was found
func (StateDeclarationBooleanVariant) MarshalJSON ¶ added in v0.1.2
func (a StateDeclarationBooleanVariant) MarshalJSON() ([]byte, error)
Override default JSON handling for StateDeclarationBooleanVariant to handle AdditionalProperties
func (*StateDeclarationBooleanVariant) Set ¶ added in v0.1.2
func (a *StateDeclarationBooleanVariant) Set(fieldName string, value interface{})
Setter for additional properties for StateDeclarationBooleanVariant
func (*StateDeclarationBooleanVariant) UnmarshalJSON ¶ added in v0.1.2
func (a *StateDeclarationBooleanVariant) UnmarshalJSON(b []byte) error
Override default JSON handling for StateDeclarationBooleanVariant to handle AdditionalProperties
type StateDeclarationBooleanVariantType ¶ added in v0.1.2
type StateDeclarationBooleanVariantType string
StateDeclarationBooleanVariantType The value type of the state key.
Example: boolean
const (
Boolean StateDeclarationBooleanVariantType = "boolean"
)
Defines values for StateDeclarationBooleanVariantType.
func (StateDeclarationBooleanVariantType) Valid ¶ added in v0.1.2
func (e StateDeclarationBooleanVariantType) Valid() bool
Valid indicates whether the value is a known member of the StateDeclarationBooleanVariantType enum.
type StateDeclarationDoubleVariant ¶ added in v0.1.2
type StateDeclarationDoubleVariant struct {
// Default The initial value for the state key.
//
// Example: 0.25
Default float32 `json:"default"`
// Type The value type of the state key.
//
// Example: double
Type StateDeclarationDoubleVariantType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StateDeclarationDoubleVariant Declaration of a double-valued paywall state key.
func (StateDeclarationDoubleVariant) Get ¶ added in v0.1.2
func (a StateDeclarationDoubleVariant) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for StateDeclarationDoubleVariant. Returns the specified element and whether it was found
func (StateDeclarationDoubleVariant) MarshalJSON ¶ added in v0.1.2
func (a StateDeclarationDoubleVariant) MarshalJSON() ([]byte, error)
Override default JSON handling for StateDeclarationDoubleVariant to handle AdditionalProperties
func (*StateDeclarationDoubleVariant) Set ¶ added in v0.1.2
func (a *StateDeclarationDoubleVariant) Set(fieldName string, value interface{})
Setter for additional properties for StateDeclarationDoubleVariant
func (*StateDeclarationDoubleVariant) UnmarshalJSON ¶ added in v0.1.2
func (a *StateDeclarationDoubleVariant) UnmarshalJSON(b []byte) error
Override default JSON handling for StateDeclarationDoubleVariant to handle AdditionalProperties
type StateDeclarationDoubleVariantType ¶ added in v0.1.2
type StateDeclarationDoubleVariantType string
StateDeclarationDoubleVariantType The value type of the state key.
Example: double
const (
Double StateDeclarationDoubleVariantType = "double"
)
Defines values for StateDeclarationDoubleVariantType.
func (StateDeclarationDoubleVariantType) Valid ¶ added in v0.1.2
func (e StateDeclarationDoubleVariantType) Valid() bool
Valid indicates whether the value is a known member of the StateDeclarationDoubleVariantType enum.
type StateDeclarationIntegerVariant ¶ added in v0.1.2
type StateDeclarationIntegerVariant struct {
// Default The initial value for the state key.
//
// Example: 3
Default int `json:"default"`
// Type The value type of the state key.
//
// Example: integer
Type StateDeclarationIntegerVariantType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StateDeclarationIntegerVariant Declaration of a integer-valued paywall state key.
func (StateDeclarationIntegerVariant) Get ¶ added in v0.1.2
func (a StateDeclarationIntegerVariant) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for StateDeclarationIntegerVariant. Returns the specified element and whether it was found
func (StateDeclarationIntegerVariant) MarshalJSON ¶ added in v0.1.2
func (a StateDeclarationIntegerVariant) MarshalJSON() ([]byte, error)
Override default JSON handling for StateDeclarationIntegerVariant to handle AdditionalProperties
func (*StateDeclarationIntegerVariant) Set ¶ added in v0.1.2
func (a *StateDeclarationIntegerVariant) Set(fieldName string, value interface{})
Setter for additional properties for StateDeclarationIntegerVariant
func (*StateDeclarationIntegerVariant) UnmarshalJSON ¶ added in v0.1.2
func (a *StateDeclarationIntegerVariant) UnmarshalJSON(b []byte) error
Override default JSON handling for StateDeclarationIntegerVariant to handle AdditionalProperties
type StateDeclarationIntegerVariantType ¶ added in v0.1.2
type StateDeclarationIntegerVariantType string
StateDeclarationIntegerVariantType The value type of the state key.
Example: integer
const (
Integer StateDeclarationIntegerVariantType = "integer"
)
Defines values for StateDeclarationIntegerVariantType.
func (StateDeclarationIntegerVariantType) Valid ¶ added in v0.1.2
func (e StateDeclarationIntegerVariantType) Valid() bool
Valid indicates whether the value is a known member of the StateDeclarationIntegerVariantType enum.
type StateDeclarationStringVariant ¶ added in v0.1.2
type StateDeclarationStringVariant struct {
// Default The initial value for the state key.
//
// Example: monthly
Default string `json:"default"`
// Type The value type of the state key.
//
// Example: string
Type StateDeclarationStringVariantType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StateDeclarationStringVariant Declaration of a string-valued paywall state key.
func (StateDeclarationStringVariant) Get ¶ added in v0.1.2
func (a StateDeclarationStringVariant) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for StateDeclarationStringVariant. Returns the specified element and whether it was found
func (StateDeclarationStringVariant) MarshalJSON ¶ added in v0.1.2
func (a StateDeclarationStringVariant) MarshalJSON() ([]byte, error)
Override default JSON handling for StateDeclarationStringVariant to handle AdditionalProperties
func (*StateDeclarationStringVariant) Set ¶ added in v0.1.2
func (a *StateDeclarationStringVariant) Set(fieldName string, value interface{})
Setter for additional properties for StateDeclarationStringVariant
func (*StateDeclarationStringVariant) UnmarshalJSON ¶ added in v0.1.2
func (a *StateDeclarationStringVariant) UnmarshalJSON(b []byte) error
Override default JSON handling for StateDeclarationStringVariant to handle AdditionalProperties
type StateDeclarationStringVariantType ¶ added in v0.1.2
type StateDeclarationStringVariantType string
StateDeclarationStringVariantType The value type of the state key.
Example: string
const (
String StateDeclarationStringVariantType = "string"
)
Defines values for StateDeclarationStringVariantType.
func (StateDeclarationStringVariantType) Valid ¶ added in v0.1.2
func (e StateDeclarationStringVariantType) Valid() bool
Valid indicates whether the value is a known member of the StateDeclarationStringVariantType enum.
type StoreKitConfigFile ¶
type StoreKitConfigFile struct {
// Contents Contents of the StoreKit config file
Contents map[string]interface{} `json:"contents"`
// Object String representing the object's type. Objects of the same type share the same value.
Object StoreKitConfigFileObject `json:"object"`
}
StoreKitConfigFile Contents of a generated StoreKit config file for an app
type StoreKitConfigFileObject ¶
type StoreKitConfigFileObject string
StoreKitConfigFileObject String representing the object's type. Objects of the same type share the same value.
const (
StoreKitConfigFileObjectStoreKitConfigFile StoreKitConfigFileObject = "store_kit_config_file"
)
Defines values for StoreKitConfigFileObject.
func (StoreKitConfigFileObject) Valid ¶
func (e StoreKitConfigFileObject) Valid() bool
Valid indicates whether the value is a known member of the StoreKitConfigFileObject enum.
type StoreProduct ¶
type StoreProduct struct {
// ID The unique identifier of the product in the store (e.g., App Store Connect product ID)
//
// Example: 1234567890
ID string `json:"id"`
// Name The name of the store product
//
// Example: Premium Monthly Subscription
Name *string `json:"name,omitempty"`
// Object String representing the object's type. Objects of the same type share the same value.
Object StoreProductObject `json:"object"`
// ProductIdentifier The product identifier used in the store
//
// Example: com.example.premium_monthly
ProductIdentifier string `json:"product_identifier"`
}
StoreProduct defines model for StoreProduct.
type StoreProductObject ¶
type StoreProductObject string
StoreProductObject String representing the object's type. Objects of the same type share the same value.
const (
StoreProductObjectStoreProduct StoreProductObject = "store_product"
)
Defines values for StoreProductObject.
func (StoreProductObject) Valid ¶
func (e StoreProductObject) Valid() bool
Valid indicates whether the value is a known member of the StoreProductObject enum.
type StoreStateCommon ¶
type StoreStateCommon struct {
Pricing *struct {
TerritoryPrices map[string]TerritoryPrice `json:"territory_prices"`
} `json:"pricing"`
Availability *struct {
Territories map[string]bool `json:"territories"`
} `json:"availability"`
Localizations map[string]struct {
Name string `json:"name"`
Description *string `json:"description"`
} `json:"localizations"`
}
type StoreStateOperation ¶
type StoreStatePlan ¶
type StoreStatePlan struct {
ID string `json:"id"`
Object string `json:"object"`
Status string `json:"status"`
HasChanges *bool `json:"has_changes"`
Actions []string `json:"actions"`
Summary *StoreStatePlanSummary `json:"summary"`
DesiredStates []StoreStatePlanDesiredState `json:"desired_states"`
PlanItems []StoreStatePlanItem `json:"plan_items"`
ErrorMessage *string `json:"error_message"`
Warnings []StoreStatePlanWarning `json:"warnings"`
}
type StoreStatePlanCreate ¶
type StoreStatePlanCreate struct {
DesiredStates []StoreStatePlanDesiredState `json:"desired_states"`
}
type StoreStatePlanDesiredState ¶
type StoreStatePlanDesiredState struct {
ProductID string `json:"product_id,omitempty"`
CreateRevenueCatProduct *StoreStatePlanProductCreate `json:"create_revenuecat_product,omitempty"`
Store string `json:"store"`
Common map[string]any `json:"common,omitempty"`
StoreState map[string]any `json:"store_state,omitempty"`
}
type StoreStatePlanDiff ¶
type StoreStatePlanItem ¶
type StoreStatePlanItem struct {
ProductID *string `json:"product_id"`
AppID *string `json:"app_id"`
StoreIdentifier *string `json:"store_identifier"`
Action string `json:"action"`
Diff []StoreStatePlanDiff `json:"diff"`
Warnings []StoreStatePlanWarning `json:"warnings"`
ErrorMessage *string `json:"error_message"`
ApplyStatus *string `json:"apply_status"`
ApplyErrorMessage *string `json:"apply_error_message"`
}
type StoreStatePlanSummary ¶
type StoreStatePlanWarning ¶
type StoreStatePlansService ¶
type StoreStatePlansService struct {
// contains filtered or unexported fields
}
func (*StoreStatePlansService) Apply ¶
func (s *StoreStatePlansService) Apply(ctx context.Context, projectID, planID string) (*StoreStatePlanActionResponse, error)
func (*StoreStatePlansService) Create ¶
func (s *StoreStatePlansService) Create(ctx context.Context, projectID string, body StoreStatePlanCreate) (*StoreStatePlanActionResponse, error)
func (*StoreStatePlansService) Discard ¶
func (s *StoreStatePlansService) Discard(ctx context.Context, projectID, planID string) (*StoreStatePlanActionResponse, error)
func (*StoreStatePlansService) Get ¶
func (s *StoreStatePlansService) Get(ctx context.Context, projectID, planID string) (*StoreStatePlan, error)
func (*StoreStatePlansService) List ¶
func (s *StoreStatePlansService) List(ctx context.Context, projectID, status string) (*Page[StoreStatePlan], error)
func (*StoreStatePlansService) Plan ¶
func (s *StoreStatePlansService) Plan(ctx context.Context, projectID, planID string) (*StoreStatePlanActionResponse, error)
type StoreStateService ¶
type StoreStateService struct {
// contains filtered or unexported fields
}
StoreStateService covers the direct per-product store-state endpoints (POST /products/{id}/store_state and friends), as opposed to the plan/review/apply lifecycle in StoreStatePlansService.
func (*StoreStateService) Get ¶
func (s *StoreStateService) Get(ctx context.Context, projectID, productID string) (*LiveStoreState, error)
func (*StoreStateService) GetOperation ¶
func (s *StoreStateService) GetOperation(ctx context.Context, projectID, productID, operationID string) (*StoreStateOperation, error)
func (*StoreStateService) ReserveScreenshotUpload ¶
func (s *StoreStateService) ReserveScreenshotUpload(ctx context.Context, projectID, productID, filename string, fileSize int64) (*ScreenshotUploadReservation, error)
func (*StoreStateService) Set ¶
func (s *StoreStateService) Set(ctx context.Context, projectID, productID string, body map[string]any) (*StoreStateOperationQueued, error)
Set enqueues a partial store-state update for a product; omitted fields leave App Store Connect unchanged.
type StoreStatus ¶
type StoreStatus struct {
// Status is RevenueCat's normalized health: ok | needs_action | not_found.
Status string `json:"status"`
// RawStoreStatus is the store's own state passed through verbatim (e.g. the
// App Store's MISSING_METADATA, READY_TO_SUBMIT, APPROVED); nil when the
// product has no store presence yet (e.g. Test Store).
RawStoreStatus *string `json:"raw_store_status"`
}
type StripeApp ¶
type StripeApp struct {
// CreatedAt The date when the app was created in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// CustomURLScheme The custom URL scheme for the app, derived from the app's public ID.
//
// Example: rc-1a2b3c4
CustomURLScheme string `json:"custom_url_scheme"`
// ID The id of the app
//
// Example: app1a2b3c4
ID string `json:"id"`
// Name The name of the app
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object StripeAppObject `json:"object"`
// ProjectID The id of the project
//
// Example: proj1a2b3c4
ProjectID string `json:"project_id"`
// Stripe Stripe type details
Stripe StripeApp_Stripe `json:"stripe"`
// Type The platform of the app
//
// Example: stripe
Type StripeAppType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StripeApp defines model for StripeApp.
func (StripeApp) Get ¶
Getter for additional properties for StripeApp. Returns the specified element and whether it was found
func (StripeApp) MarshalJSON ¶
Override default JSON handling for StripeApp to handle AdditionalProperties
func (*StripeApp) UnmarshalJSON ¶
Override default JSON handling for StripeApp to handle AdditionalProperties
type StripeAppConfig ¶
type StripeAppConfig struct {
StripeAccountID *string `json:"stripe_account_id,omitempty"`
}
type StripeAppCreate ¶
type StripeAppCreate struct {
// Name The name of the app
Name string `json:"name"`
// Stripe Stripe type details. Should only be used when type is stripe.
Stripe *struct {
// StripeAccountID It needs to be connected to your RevenueCat account. It can be omitted if you only have a single Stripe account connected to your RevenueCat account.
StripeAccountID *string `json:"stripe_account_id,omitempty"`
} `json:"stripe,omitempty"`
// Type The platform of the app.
// Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
Type StripeAppCreateType `json:"type"`
}
StripeAppCreate defines model for StripeAppCreate.
type StripeAppCreateType ¶
type StripeAppCreateType string
StripeAppCreateType The platform of the app. Mac App Store is disabled by default. See [Legacy Mac Apps](https://www.revenuecat.com/docs/legacy-mac-apps) for more details.
const (
StripeAppCreateTypeStripe StripeAppCreateType = "stripe"
)
Defines values for StripeAppCreateType.
func (StripeAppCreateType) Valid ¶
func (e StripeAppCreateType) Valid() bool
Valid indicates whether the value is a known member of the StripeAppCreateType enum.
type StripeAppObject ¶
type StripeAppObject string
StripeAppObject String representing the object's type. Objects of the same type share the same value.
const (
StripeAppObjectApp StripeAppObject = "app"
)
Defines values for StripeAppObject.
func (StripeAppObject) Valid ¶
func (e StripeAppObject) Valid() bool
Valid indicates whether the value is a known member of the StripeAppObject enum.
type StripeAppType ¶
type StripeAppType string
StripeAppType The platform of the app
Example: stripe
const (
StripeAppTypeStripe StripeAppType = "stripe"
)
Defines values for StripeAppType.
func (StripeAppType) Valid ¶
func (e StripeAppType) Valid() bool
Valid indicates whether the value is a known member of the StripeAppType enum.
type StripeApp_Stripe ¶
type StripeApp_Stripe struct {
// StripeAccountID Stripe account connected to your RevenueCat account.
StripeAccountID *string `json:"stripe_account_id,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StripeApp_Stripe Stripe type details
func (StripeApp_Stripe) Get ¶
func (a StripeApp_Stripe) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for StripeApp_Stripe. Returns the specified element and whether it was found
func (StripeApp_Stripe) MarshalJSON ¶
func (a StripeApp_Stripe) MarshalJSON() ([]byte, error)
Override default JSON handling for StripeApp_Stripe to handle AdditionalProperties
func (*StripeApp_Stripe) Set ¶
func (a *StripeApp_Stripe) Set(fieldName string, value interface{})
Setter for additional properties for StripeApp_Stripe
func (*StripeApp_Stripe) UnmarshalJSON ¶
func (a *StripeApp_Stripe) UnmarshalJSON(b []byte) error
Override default JSON handling for StripeApp_Stripe to handle AdditionalProperties
type Subscription ¶
type Subscription struct {
// AutoRenewalStatus The auto renewal status of a subscription.<br><br>Possible values:<br>• `will_renew`: the subscription is currently set to automatically renew<br>• `will_not_renew`: the subscription is currently set to expire at the end of the period<br>• `will_change_product`: the subscription is currently set to change product at the end of the period (which might start a new subscription)<br>• `will_pause`: the subscription is currently set to pause at the end of the current period<br>• `requires_price_increase_consent`: the subscription will expire at the end of the current period unless the customer consents to the price increase<br>• `has_already_renewed`: the customer has already been charged for the upcoming renewal (so the renewal will take place even if the customer opts out of auto-renewal before the end of the period)
//
//
// Example: will_renew
AutoRenewalStatus SubscriptionAutoRenewalStatus `json:"auto_renewal_status"`
// Country The country that the object is associated with, in ISO alpha 2 code
//
// Example: US
Country *Country `json:"country,omitempty"`
// CurrentPeriodEndsAt The date when the subscription billing period is expected to end in ms since epoch. Can be null if the subscription is paused until an indefinite date.
//
// Example: 1658399423658
CurrentPeriodEndsAt *int64 `json:"current_period_ends_at"`
// CurrentPeriodStartsAt The date when the subscription billing period started in ms since epoch
//
// Example: 1658399423658
CurrentPeriodStartsAt int64 `json:"current_period_starts_at"`
// CustomerID The ID of the customer
//
// Example: 19b8de26-77c1-49f1-aa18-019a391603e2
CustomerID string `json:"customer_id"`
// EndsAt The date when the latest subscription billing period is expected to end in ms since epoch. It will only be different from `current_period_ends_at` if `auto_renewal_status` is `has_already_renewed`, in which case it indicates the end of the next billing period. Can be null if the subscription is paused until an indefinite date.
//
// Example: 1658399423658
EndsAt *int64 `json:"ends_at"`
Entitlements struct {
// Items Details about each object.
Items []Entitlement `json:"items"`
// NextPage URL to access the next page of the customer's entitlements. If not present / null, there is no next page
//
// Example: /v2/projects/proj1ab2c3d4/subscriptions/sub1a2b3c4d5e/entitlements?status=active&starting_after=entlab21dac
NextPage *string `json:"next_page"`
// Object String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Object SubscriptionEntitlementsObject `json:"object"`
// URL The URL where this list can be accessed.
//
// Example: /v2/projects/proj1ab2c3d4/subscriptions/sub1a2b3c4d5e/entitlements
URL string `json:"url"`
} `json:"entitlements"`
// Environment The store environment
Environment Subscription_Environment `json:"environment"`
// GivesAccess Determines whether the customer should currently be provided access to the entitlements associated with the subscription
//
// Example: true
GivesAccess bool `json:"gives_access"`
// ID The ID of the subscription (generated by RevenueCat)
//
// Example: sub1ab2c3d4e5
ID string `json:"id"`
// ManagementURL The URL to manage the subscription
//
// Example: https://apps.apple.com/account/subscriptions
ManagementURL *string `json:"management_url"`
// Object String representing the object's type. Objects of the same type share the same value.
Object SubscriptionObject `json:"object"`
// OriginalCustomerID The ID of the original customer. Relevant for subscriptions that were transferred from one customer to another
//
// Example: 19b8de26-77c1-49f1-aa18-019a391603e2
OriginalCustomerID string `json:"original_customer_id"`
// Ownership Ownership of the subscription
Ownership Subscription_Ownership `json:"ownership"`
// PendingChanges Expected changes to the subscription that will occur at the end of the current period. Present when the subscription has a pending product change, has already renewed for the next period, or has a failed upcoming renewal. Only fields that differ from the current subscription state are included.
PendingChanges *Subscription_PendingChanges `json:"pending_changes,omitempty"`
// PendingPayment Determines whether there is a pending payment associated with the subscription
//
// Example: true
PendingPayment bool `json:"pending_payment"`
// PresentedOfferingID The ID of the offering the customer saw when purchasing the subscription
//
// Example: ofrnge1a2b3c4d5
PresentedOfferingID *string `json:"presented_offering_id"`
// ProductID The RevenueCat ID of the product that the customer is subscribed to. Exists for all store types except for promotional.
//
// Example: prod1a2b3c4d5e
ProductID *string `json:"product_id"`
// StartsAt The date when the subscription originally started in ms since epoch
//
// Example: 1658399423658
StartsAt int64 `json:"starts_at"`
// Status The status of a subscription. Please note that additional states might be added in the future. To determine whether or not a subscription currently provides access to any associated entitlements, use the _gives_access_ field.<br><br>Possible values:<br>• `trialing`: the subscription is in a free trial period<br>• `active`: the subscription is active, in a paid period<br>• `expired`: the subscription is expired and no longer active<br>• `in_grace_period`: the subscription is past its regular expiry date and experienced a billing issue, but is currently still in an access-granting grace period<br>• `in_billing_retry`: the subscription has experienced a billing issue. Billing is being retried, access is suspended.-paused: the subscription is currently paused and should not provide access.<br>• `unknown`: the subscription is in an unknown state. Refer to the _gives_access_ field to determine whether or not to grant access.<br>• `incomplete`: the subscription is in an incomplete state, maybe due to incorrect billing details or because it's scheduled to start in the future.
//
//
// Example: trialing
Status SubscriptionStatus `json:"status"`
// Store Store the subscription belongs to
//
// Example: amazon
Store SubscriptionStore `json:"store"`
// StoreSubscriptionIdentifier The subscription identifier as per the store (e.g, for Apple App Store, the `transaction_id` of the latest transaction of the subscription, or for Google Play Store, the Order ID of the last renewal of the subscription)
//
// Example: 12345678
StoreSubscriptionIdentifier string `json:"store_subscription_identifier"`
// TotalRevenueInUsd Total revenue generated by a subscription in USD
TotalRevenueInUsd Subscription_TotalRevenueInUsd `json:"total_revenue_in_usd"`
}
Subscription defines model for Subscription.
type SubscriptionAutoRenewalStatus ¶
type SubscriptionAutoRenewalStatus string
SubscriptionAutoRenewalStatus The auto renewal status of a subscription.<br><br>Possible values:<br>• `will_renew`: the subscription is currently set to automatically renew<br>• `will_not_renew`: the subscription is currently set to expire at the end of the period<br>• `will_change_product`: the subscription is currently set to change product at the end of the period (which might start a new subscription)<br>• `will_pause`: the subscription is currently set to pause at the end of the current period<br>• `requires_price_increase_consent`: the subscription will expire at the end of the current period unless the customer consents to the price increase<br>• `has_already_renewed`: the customer has already been charged for the upcoming renewal (so the renewal will take place even if the customer opts out of auto-renewal before the end of the period)
Example: will_renew
const ( SubscriptionAutoRenewalStatusHasAlreadyRenewed SubscriptionAutoRenewalStatus = "has_already_renewed" SubscriptionAutoRenewalStatusRequiresPriceIncreaseConsent SubscriptionAutoRenewalStatus = "requires_price_increase_consent" SubscriptionAutoRenewalStatusWillChangeProduct SubscriptionAutoRenewalStatus = "will_change_product" SubscriptionAutoRenewalStatusWillNotRenew SubscriptionAutoRenewalStatus = "will_not_renew" SubscriptionAutoRenewalStatusWillPause SubscriptionAutoRenewalStatus = "will_pause" SubscriptionAutoRenewalStatusWillRenew SubscriptionAutoRenewalStatus = "will_renew" )
Defines values for SubscriptionAutoRenewalStatus.
func (SubscriptionAutoRenewalStatus) Valid ¶
func (e SubscriptionAutoRenewalStatus) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionAutoRenewalStatus enum.
type SubscriptionEntitlementsObject ¶
type SubscriptionEntitlementsObject string
SubscriptionEntitlementsObject String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
const (
SubscriptionEntitlementsObjectList SubscriptionEntitlementsObject = "list"
)
Defines values for SubscriptionEntitlementsObject.
func (SubscriptionEntitlementsObject) Valid ¶
func (e SubscriptionEntitlementsObject) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionEntitlementsObject enum.
type SubscriptionObject ¶
type SubscriptionObject string
SubscriptionObject String representing the object's type. Objects of the same type share the same value.
const (
SubscriptionObjectSubscription SubscriptionObject = "subscription"
)
Defines values for SubscriptionObject.
func (SubscriptionObject) Valid ¶
func (e SubscriptionObject) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionObject enum.
type SubscriptionPendingChangesAutoRenewalStatus ¶
type SubscriptionPendingChangesAutoRenewalStatus string
SubscriptionPendingChangesAutoRenewalStatus Expected auto renewal status for the next period. Omitted when unchanged from the current subscription.
Example: will_renew
const ( SubscriptionPendingChangesAutoRenewalStatusHasAlreadyRenewed SubscriptionPendingChangesAutoRenewalStatus = "has_already_renewed" SubscriptionPendingChangesAutoRenewalStatusRequiresPriceIncreaseConsent SubscriptionPendingChangesAutoRenewalStatus = "requires_price_increase_consent" SubscriptionPendingChangesAutoRenewalStatusWillChangeProduct SubscriptionPendingChangesAutoRenewalStatus = "will_change_product" SubscriptionPendingChangesAutoRenewalStatusWillNotRenew SubscriptionPendingChangesAutoRenewalStatus = "will_not_renew" SubscriptionPendingChangesAutoRenewalStatusWillPause SubscriptionPendingChangesAutoRenewalStatus = "will_pause" SubscriptionPendingChangesAutoRenewalStatusWillRenew SubscriptionPendingChangesAutoRenewalStatus = "will_renew" )
Defines values for SubscriptionPendingChangesAutoRenewalStatus.
func (SubscriptionPendingChangesAutoRenewalStatus) Valid ¶
func (e SubscriptionPendingChangesAutoRenewalStatus) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionPendingChangesAutoRenewalStatus enum.
type SubscriptionPendingChangesStatus ¶
type SubscriptionPendingChangesStatus string
SubscriptionPendingChangesStatus Expected subscription status for the next period. Omitted when unchanged from the current subscription.
Example: active
const ( SubscriptionPendingChangesStatusActive SubscriptionPendingChangesStatus = "active" SubscriptionPendingChangesStatusExpired SubscriptionPendingChangesStatus = "expired" SubscriptionPendingChangesStatusInBillingRetry SubscriptionPendingChangesStatus = "in_billing_retry" SubscriptionPendingChangesStatusInGracePeriod SubscriptionPendingChangesStatus = "in_grace_period" SubscriptionPendingChangesStatusIncomplete SubscriptionPendingChangesStatus = "incomplete" SubscriptionPendingChangesStatusPaused SubscriptionPendingChangesStatus = "paused" SubscriptionPendingChangesStatusTrialing SubscriptionPendingChangesStatus = "trialing" SubscriptionPendingChangesStatusUnknown SubscriptionPendingChangesStatus = "unknown" )
Defines values for SubscriptionPendingChangesStatus.
func (SubscriptionPendingChangesStatus) Valid ¶
func (e SubscriptionPendingChangesStatus) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionPendingChangesStatus enum.
type SubscriptionProduct ¶
type SubscriptionProduct struct {
// Duration The duration of the subscription in ISO-8601 standard
//
// Example: P1M
Duration *string `json:"duration"`
// GracePeriodDuration The duration of the subscription's grace period in ISO-8601 standard
//
// Example: P3D
GracePeriodDuration *string `json:"grace_period_duration"`
// TrialDuration The duration of the subscription's trial period in ISO-8601 standard
//
// Example: P1W
TrialDuration *string `json:"trial_duration"`
AdditionalProperties map[string]interface{} `json:"-"`
}
SubscriptionProduct defines model for SubscriptionProduct.
func (SubscriptionProduct) Get ¶
func (a SubscriptionProduct) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for SubscriptionProduct. Returns the specified element and whether it was found
func (SubscriptionProduct) MarshalJSON ¶
func (a SubscriptionProduct) MarshalJSON() ([]byte, error)
Override default JSON handling for SubscriptionProduct to handle AdditionalProperties
func (*SubscriptionProduct) Set ¶
func (a *SubscriptionProduct) Set(fieldName string, value interface{})
Setter for additional properties for SubscriptionProduct
func (*SubscriptionProduct) UnmarshalJSON ¶
func (a *SubscriptionProduct) UnmarshalJSON(b []byte) error
Override default JSON handling for SubscriptionProduct to handle AdditionalProperties
type SubscriptionStatus ¶
type SubscriptionStatus string
SubscriptionStatus The status of a subscription. Please note that additional states might be added in the future. To determine whether or not a subscription currently provides access to any associated entitlements, use the _gives_access_ field.<br><br>Possible values:<br>• `trialing`: the subscription is in a free trial period<br>• `active`: the subscription is active, in a paid period<br>• `expired`: the subscription is expired and no longer active<br>• `in_grace_period`: the subscription is past its regular expiry date and experienced a billing issue, but is currently still in an access-granting grace period<br>• `in_billing_retry`: the subscription has experienced a billing issue. Billing is being retried, access is suspended.-paused: the subscription is currently paused and should not provide access.<br>• `unknown`: the subscription is in an unknown state. Refer to the _gives_access_ field to determine whether or not to grant access.<br>• `incomplete`: the subscription is in an incomplete state, maybe due to incorrect billing details or because it's scheduled to start in the future.
Example: trialing
const ( SubscriptionStatusActive SubscriptionStatus = "active" SubscriptionStatusExpired SubscriptionStatus = "expired" SubscriptionStatusInBillingRetry SubscriptionStatus = "in_billing_retry" SubscriptionStatusInGracePeriod SubscriptionStatus = "in_grace_period" SubscriptionStatusIncomplete SubscriptionStatus = "incomplete" SubscriptionStatusPaused SubscriptionStatus = "paused" SubscriptionStatusTrialing SubscriptionStatus = "trialing" SubscriptionStatusUnknown SubscriptionStatus = "unknown" )
Defines values for SubscriptionStatus.
func (SubscriptionStatus) Valid ¶
func (e SubscriptionStatus) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionStatus enum.
type SubscriptionStore ¶
type SubscriptionStore string
SubscriptionStore Store the subscription belongs to
Example: amazon
const ( SubscriptionStoreAmazon SubscriptionStore = "amazon" SubscriptionStoreAppStore SubscriptionStore = "app_store" SubscriptionStoreExternal SubscriptionStore = "external" SubscriptionStoreGalaxy SubscriptionStore = "galaxy" SubscriptionStoreMacAppStore SubscriptionStore = "mac_app_store" SubscriptionStorePaddle SubscriptionStore = "paddle" SubscriptionStorePaypal SubscriptionStore = "paypal" SubscriptionStorePlayStore SubscriptionStore = "play_store" SubscriptionStorePromotional SubscriptionStore = "promotional" SubscriptionStoreRcBilling SubscriptionStore = "rc_billing" SubscriptionStoreRoku SubscriptionStore = "roku" SubscriptionStoreStripe SubscriptionStore = "stripe" SubscriptionStoreTestStore SubscriptionStore = "test_store" )
Defines values for SubscriptionStore.
func (SubscriptionStore) Valid ¶
func (e SubscriptionStore) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionStore enum.
type SubscriptionTransaction ¶
type SubscriptionTransaction struct {
// EffectiveExpirationDate The effective expiration date of the transaction in ms since epoch, including potential grace period
//
// Example: 1658399423658
EffectiveExpirationDate *int64 `json:"effective_expiration_date,omitempty"`
// ExpirationDate The expiration date of the transaction in ms since epoch
//
// Example: 1658399423658
ExpirationDate *int64 `json:"expiration_date,omitempty"`
// ID The ID of the subscription transaction in the store
//
// Example: GPA.0000-0000-0000-00000
ID string `json:"id"`
// Object String representing the object's type. Objects of the same type share the same value.
Object SubscriptionTransactionObject `json:"object"`
// ProductStoreIdentifier The store identifier of the purchased product
//
// Example: com.example.product
ProductStoreIdentifier string `json:"product_store_identifier"`
// PurchasedAt The date of the transaction in ms since epoch
//
// Example: 1658399423658
PurchasedAt int64 `json:"purchased_at"`
// RevenueInLocalCurrency The revenue generated by the transaction in the customer's purchased currency
RevenueInLocalCurrency *SubscriptionTransaction_RevenueInLocalCurrency `json:"revenue_in_local_currency,omitempty"`
// RevenueInUsd The revenue generated by the transaction in USD
RevenueInUsd *SubscriptionTransaction_RevenueInUsd `json:"revenue_in_usd,omitempty"`
}
SubscriptionTransaction defines model for SubscriptionTransaction.
type SubscriptionTransactionObject ¶
type SubscriptionTransactionObject string
SubscriptionTransactionObject String representing the object's type. Objects of the same type share the same value.
const (
SubscriptionTransactionObjectSubscriptionTransaction SubscriptionTransactionObject = "subscription_transaction"
)
Defines values for SubscriptionTransactionObject.
func (SubscriptionTransactionObject) Valid ¶
func (e SubscriptionTransactionObject) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionTransactionObject enum.
type SubscriptionTransaction_RevenueInLocalCurrency ¶
type SubscriptionTransaction_RevenueInLocalCurrency struct {
// contains filtered or unexported fields
}
SubscriptionTransaction_RevenueInLocalCurrency The revenue generated by the transaction in the customer's purchased currency
func (SubscriptionTransaction_RevenueInLocalCurrency) AsMonetaryAmount ¶
func (t SubscriptionTransaction_RevenueInLocalCurrency) AsMonetaryAmount() (MonetaryAmount, error)
AsMonetaryAmount returns the union data inside the SubscriptionTransaction_RevenueInLocalCurrency as a MonetaryAmount
func (*SubscriptionTransaction_RevenueInLocalCurrency) FromMonetaryAmount ¶
func (t *SubscriptionTransaction_RevenueInLocalCurrency) FromMonetaryAmount(v MonetaryAmount) error
FromMonetaryAmount overwrites any union data inside the SubscriptionTransaction_RevenueInLocalCurrency as the provided MonetaryAmount
func (SubscriptionTransaction_RevenueInLocalCurrency) MarshalJSON ¶
func (t SubscriptionTransaction_RevenueInLocalCurrency) MarshalJSON() ([]byte, error)
func (*SubscriptionTransaction_RevenueInLocalCurrency) MergeMonetaryAmount ¶
func (t *SubscriptionTransaction_RevenueInLocalCurrency) MergeMonetaryAmount(v MonetaryAmount) error
MergeMonetaryAmount performs a merge with any union data inside the SubscriptionTransaction_RevenueInLocalCurrency, using the provided MonetaryAmount
func (*SubscriptionTransaction_RevenueInLocalCurrency) UnmarshalJSON ¶
func (t *SubscriptionTransaction_RevenueInLocalCurrency) UnmarshalJSON(b []byte) error
type SubscriptionTransaction_RevenueInUsd ¶
type SubscriptionTransaction_RevenueInUsd struct {
// contains filtered or unexported fields
}
SubscriptionTransaction_RevenueInUsd The revenue generated by the transaction in USD
func (SubscriptionTransaction_RevenueInUsd) AsMonetaryAmount ¶
func (t SubscriptionTransaction_RevenueInUsd) AsMonetaryAmount() (MonetaryAmount, error)
AsMonetaryAmount returns the union data inside the SubscriptionTransaction_RevenueInUsd as a MonetaryAmount
func (*SubscriptionTransaction_RevenueInUsd) FromMonetaryAmount ¶
func (t *SubscriptionTransaction_RevenueInUsd) FromMonetaryAmount(v MonetaryAmount) error
FromMonetaryAmount overwrites any union data inside the SubscriptionTransaction_RevenueInUsd as the provided MonetaryAmount
func (SubscriptionTransaction_RevenueInUsd) MarshalJSON ¶
func (t SubscriptionTransaction_RevenueInUsd) MarshalJSON() ([]byte, error)
func (*SubscriptionTransaction_RevenueInUsd) MergeMonetaryAmount ¶
func (t *SubscriptionTransaction_RevenueInUsd) MergeMonetaryAmount(v MonetaryAmount) error
MergeMonetaryAmount performs a merge with any union data inside the SubscriptionTransaction_RevenueInUsd, using the provided MonetaryAmount
func (*SubscriptionTransaction_RevenueInUsd) UnmarshalJSON ¶
func (t *SubscriptionTransaction_RevenueInUsd) UnmarshalJSON(b []byte) error
type Subscription_Environment ¶
type Subscription_Environment struct {
// contains filtered or unexported fields
}
Subscription_Environment The store environment
func (Subscription_Environment) AsEnvironment ¶
func (t Subscription_Environment) AsEnvironment() (Environment, error)
AsEnvironment returns the union data inside the Subscription_Environment as a Environment
func (*Subscription_Environment) FromEnvironment ¶
func (t *Subscription_Environment) FromEnvironment(v Environment) error
FromEnvironment overwrites any union data inside the Subscription_Environment as the provided Environment
func (Subscription_Environment) MarshalJSON ¶
func (t Subscription_Environment) MarshalJSON() ([]byte, error)
func (*Subscription_Environment) MergeEnvironment ¶
func (t *Subscription_Environment) MergeEnvironment(v Environment) error
MergeEnvironment performs a merge with any union data inside the Subscription_Environment, using the provided Environment
func (*Subscription_Environment) UnmarshalJSON ¶
func (t *Subscription_Environment) UnmarshalJSON(b []byte) error
type Subscription_Ownership ¶
type Subscription_Ownership struct {
// contains filtered or unexported fields
}
Subscription_Ownership Ownership of the subscription
func (Subscription_Ownership) AsOwnership ¶
func (t Subscription_Ownership) AsOwnership() (Ownership, error)
AsOwnership returns the union data inside the Subscription_Ownership as a Ownership
func (*Subscription_Ownership) FromOwnership ¶
func (t *Subscription_Ownership) FromOwnership(v Ownership) error
FromOwnership overwrites any union data inside the Subscription_Ownership as the provided Ownership
func (Subscription_Ownership) MarshalJSON ¶
func (t Subscription_Ownership) MarshalJSON() ([]byte, error)
func (*Subscription_Ownership) MergeOwnership ¶
func (t *Subscription_Ownership) MergeOwnership(v Ownership) error
MergeOwnership performs a merge with any union data inside the Subscription_Ownership, using the provided Ownership
func (*Subscription_Ownership) UnmarshalJSON ¶
func (t *Subscription_Ownership) UnmarshalJSON(b []byte) error
type Subscription_PendingChanges ¶
type Subscription_PendingChanges struct {
// AutoRenewalStatus Expected auto renewal status for the next period. Omitted when unchanged from the current subscription.
//
// Example: will_renew
AutoRenewalStatus *SubscriptionPendingChangesAutoRenewalStatus `json:"auto_renewal_status,omitempty"`
// CurrentPeriodEndsAt Expected end of the next billing period in ms since epoch. Omitted when unchanged from the current subscription.
//
// Example: 1660991423658
CurrentPeriodEndsAt *int64 `json:"current_period_ends_at,omitempty"`
// CurrentPeriodStartsAt Expected start of the next billing period in ms since epoch. Omitted when unchanged from the current subscription.
//
// Example: 1658399423658
CurrentPeriodStartsAt *int64 `json:"current_period_starts_at,omitempty"`
// GivesAccess Expected access flag for the next period. Omitted when unchanged from the current subscription.
//
// Example: true
GivesAccess *bool `json:"gives_access,omitempty"`
// PendingPayment Expected pending payment flag for the next period. Omitted when unchanged from the current subscription.
//
// Example: false
PendingPayment *bool `json:"pending_payment,omitempty"`
// Product The product that will be active as of the next renewal
Product *Product `json:"product,omitempty"`
// Status Expected subscription status for the next period. Omitted when unchanged from the current subscription.
//
// Example: active
Status *SubscriptionPendingChangesStatus `json:"status,omitempty"`
// StoreSubscriptionIdentifier Expected store subscription identifier for the next period. Omitted when unchanged from the current subscription.
//
// Example: 12345679
StoreSubscriptionIdentifier *string `json:"store_subscription_identifier,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Subscription_PendingChanges Expected changes to the subscription that will occur at the end of the current period. Present when the subscription has a pending product change, has already renewed for the next period, or has a failed upcoming renewal. Only fields that differ from the current subscription state are included.
func (Subscription_PendingChanges) Get ¶
func (a Subscription_PendingChanges) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for Subscription_PendingChanges. Returns the specified element and whether it was found
func (Subscription_PendingChanges) MarshalJSON ¶
func (a Subscription_PendingChanges) MarshalJSON() ([]byte, error)
Override default JSON handling for Subscription_PendingChanges to handle AdditionalProperties
func (*Subscription_PendingChanges) Set ¶
func (a *Subscription_PendingChanges) Set(fieldName string, value interface{})
Setter for additional properties for Subscription_PendingChanges
func (*Subscription_PendingChanges) UnmarshalJSON ¶
func (a *Subscription_PendingChanges) UnmarshalJSON(b []byte) error
Override default JSON handling for Subscription_PendingChanges to handle AdditionalProperties
type Subscription_TotalRevenueInUsd ¶
type Subscription_TotalRevenueInUsd struct {
// contains filtered or unexported fields
}
Subscription_TotalRevenueInUsd Total revenue generated by a subscription in USD
func (Subscription_TotalRevenueInUsd) AsMonetaryAmount ¶
func (t Subscription_TotalRevenueInUsd) AsMonetaryAmount() (MonetaryAmount, error)
AsMonetaryAmount returns the union data inside the Subscription_TotalRevenueInUsd as a MonetaryAmount
func (*Subscription_TotalRevenueInUsd) FromMonetaryAmount ¶
func (t *Subscription_TotalRevenueInUsd) FromMonetaryAmount(v MonetaryAmount) error
FromMonetaryAmount overwrites any union data inside the Subscription_TotalRevenueInUsd as the provided MonetaryAmount
func (Subscription_TotalRevenueInUsd) MarshalJSON ¶
func (t Subscription_TotalRevenueInUsd) MarshalJSON() ([]byte, error)
func (*Subscription_TotalRevenueInUsd) MergeMonetaryAmount ¶
func (t *Subscription_TotalRevenueInUsd) MergeMonetaryAmount(v MonetaryAmount) error
MergeMonetaryAmount performs a merge with any union data inside the Subscription_TotalRevenueInUsd, using the provided MonetaryAmount
func (*Subscription_TotalRevenueInUsd) UnmarshalJSON ¶
func (t *Subscription_TotalRevenueInUsd) UnmarshalJSON(b []byte) error
type SubscriptionsService ¶
type SubscriptionsService struct {
// contains filtered or unexported fields
}
func (*SubscriptionsService) Cancel ¶
func (s *SubscriptionsService) Cancel(ctx context.Context, projectID, id string) (*Subscription, error)
POST /projects/{project_id}/subscriptions/{id}/actions/cancel Web Billing subscriptions only.
func (*SubscriptionsService) Entitlements ¶
func (s *SubscriptionsService) Entitlements(ctx context.Context, projectID, id string) (*Page[Entitlement], error)
GET /projects/{project_id}/subscriptions/{id}/entitlements
func (*SubscriptionsService) Extend ¶
func (s *SubscriptionsService) Extend(ctx context.Context, projectID, id, duration string) (*Subscription, error)
POST /projects/{project_id}/subscriptions/{id}/actions/extend duration is ISO 8601 (e.g. "P1M", "P7D").
func (*SubscriptionsService) Get ¶
func (s *SubscriptionsService) Get(ctx context.Context, projectID, id string) (*Subscription, error)
GET /projects/{project_id}/subscriptions/{id}
func (*SubscriptionsService) ManagementURL ¶
func (s *SubscriptionsService) ManagementURL(ctx context.Context, projectID, id string) (*ManagementURL, error)
GET /projects/{project_id}/subscriptions/{id}/authenticated_management_url
func (*SubscriptionsService) Refund ¶
func (s *SubscriptionsService) Refund(ctx context.Context, projectID, id string) error
POST /projects/{project_id}/subscriptions/{id}/actions/refund Web Billing subscriptions only.
func (*SubscriptionsService) Transactions ¶
func (s *SubscriptionsService) Transactions(ctx context.Context, projectID, id string) (*Page[Transaction], error)
GET /projects/{project_id}/subscriptions/{id}/transactions
type TerritoryPrice ¶
type TestStoreApp ¶
type TestStoreApp struct {
// CreatedAt The date when the app was created in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// CustomURLScheme The custom URL scheme for the app, derived from the app's public ID.
//
// Example: rc-1a2b3c4
CustomURLScheme string `json:"custom_url_scheme"`
// ID The id of the app
//
// Example: app1a2b3c4
ID string `json:"id"`
// Name The name of the app
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object TestStoreAppObject `json:"object"`
// ProjectID The id of the project
//
// Example: proj1a2b3c4
ProjectID string `json:"project_id"`
// Type The platform of the app
//
// Example: test_store
Type TestStoreAppType `json:"type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
TestStoreApp defines model for TestStoreApp.
func (TestStoreApp) Get ¶
func (a TestStoreApp) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for TestStoreApp. Returns the specified element and whether it was found
func (TestStoreApp) MarshalJSON ¶
func (a TestStoreApp) MarshalJSON() ([]byte, error)
Override default JSON handling for TestStoreApp to handle AdditionalProperties
func (*TestStoreApp) Set ¶
func (a *TestStoreApp) Set(fieldName string, value interface{})
Setter for additional properties for TestStoreApp
func (*TestStoreApp) UnmarshalJSON ¶
func (a *TestStoreApp) UnmarshalJSON(b []byte) error
Override default JSON handling for TestStoreApp to handle AdditionalProperties
type TestStoreAppObject ¶
type TestStoreAppObject string
TestStoreAppObject String representing the object's type. Objects of the same type share the same value.
const (
TestStoreAppObjectApp TestStoreAppObject = "app"
)
Defines values for TestStoreAppObject.
func (TestStoreAppObject) Valid ¶
func (e TestStoreAppObject) Valid() bool
Valid indicates whether the value is a known member of the TestStoreAppObject enum.
type TestStoreAppType ¶
type TestStoreAppType string
TestStoreAppType The platform of the app
Example: test_store
const (
TestStoreAppTypeTestStore TestStoreAppType = "test_store"
)
Defines values for TestStoreAppType.
func (TestStoreAppType) Valid ¶
func (e TestStoreAppType) Valid() bool
Valid indicates whether the value is a known member of the TestStoreAppType enum.
type TokenResponse ¶
type TokenResponse struct {
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
ExpiresIn int `json:"expires_in"` // seconds
TokenType string `json:"token_type"`
}
TokenResponse is the successful response from /oauth2/token.
type Transaction ¶
type Transfer ¶
type Transfer struct {
SourceCustomer Customer `json:"source_customer"`
TargetCustomer Customer `json:"target_customer"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Transfer defines model for Transfer.
func (Transfer) Get ¶
Getter for additional properties for Transfer. Returns the specified element and whether it was found
func (Transfer) MarshalJSON ¶
Override default JSON handling for Transfer to handle AdditionalProperties
func (*Transfer) UnmarshalJSON ¶
Override default JSON handling for Transfer to handle AdditionalProperties
type TransferCustomerData400JSONResponseBodyObject ¶
type TransferCustomerData400JSONResponseBodyObject string
TransferCustomerData400JSONResponseBodyObject defines parameters for TransferCustomerData.
const (
TransferCustomerData400JSONResponseBodyObjectError TransferCustomerData400JSONResponseBodyObject = "error"
)
Defines values for TransferCustomerData400JSONResponseBodyObject.
func (TransferCustomerData400JSONResponseBodyObject) Valid ¶
func (e TransferCustomerData400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData400JSONResponseBodyObject enum.
type TransferCustomerData400JSONResponseBodyType ¶
type TransferCustomerData400JSONResponseBodyType string
TransferCustomerData400JSONResponseBodyType defines parameters for TransferCustomerData.
const ( TransferCustomerData400JSONResponseBodyTypeInvalidRequest TransferCustomerData400JSONResponseBodyType = "invalid_request" TransferCustomerData400JSONResponseBodyTypeParameterError TransferCustomerData400JSONResponseBodyType = "parameter_error" )
Defines values for TransferCustomerData400JSONResponseBodyType.
func (TransferCustomerData400JSONResponseBodyType) Valid ¶
func (e TransferCustomerData400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData400JSONResponseBodyType enum.
type TransferCustomerData401JSONResponseBodyObject ¶
type TransferCustomerData401JSONResponseBodyObject string
TransferCustomerData401JSONResponseBodyObject defines parameters for TransferCustomerData.
const (
TransferCustomerData401JSONResponseBodyObjectError TransferCustomerData401JSONResponseBodyObject = "error"
)
Defines values for TransferCustomerData401JSONResponseBodyObject.
func (TransferCustomerData401JSONResponseBodyObject) Valid ¶
func (e TransferCustomerData401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData401JSONResponseBodyObject enum.
type TransferCustomerData401JSONResponseBodyType ¶
type TransferCustomerData401JSONResponseBodyType string
TransferCustomerData401JSONResponseBodyType defines parameters for TransferCustomerData.
const (
TransferCustomerData401JSONResponseBodyTypeAuthenticationError TransferCustomerData401JSONResponseBodyType = "authentication_error"
)
Defines values for TransferCustomerData401JSONResponseBodyType.
func (TransferCustomerData401JSONResponseBodyType) Valid ¶
func (e TransferCustomerData401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData401JSONResponseBodyType enum.
type TransferCustomerData403JSONResponseBodyObject ¶
type TransferCustomerData403JSONResponseBodyObject string
TransferCustomerData403JSONResponseBodyObject defines parameters for TransferCustomerData.
const (
TransferCustomerData403JSONResponseBodyObjectError TransferCustomerData403JSONResponseBodyObject = "error"
)
Defines values for TransferCustomerData403JSONResponseBodyObject.
func (TransferCustomerData403JSONResponseBodyObject) Valid ¶
func (e TransferCustomerData403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData403JSONResponseBodyObject enum.
type TransferCustomerData403JSONResponseBodyType ¶
type TransferCustomerData403JSONResponseBodyType string
TransferCustomerData403JSONResponseBodyType defines parameters for TransferCustomerData.
const (
TransferCustomerData403JSONResponseBodyTypeAuthorizationError TransferCustomerData403JSONResponseBodyType = "authorization_error"
)
Defines values for TransferCustomerData403JSONResponseBodyType.
func (TransferCustomerData403JSONResponseBodyType) Valid ¶
func (e TransferCustomerData403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData403JSONResponseBodyType enum.
type TransferCustomerData404JSONResponseBodyObject ¶
type TransferCustomerData404JSONResponseBodyObject string
TransferCustomerData404JSONResponseBodyObject defines parameters for TransferCustomerData.
const (
TransferCustomerData404JSONResponseBodyObjectError TransferCustomerData404JSONResponseBodyObject = "error"
)
Defines values for TransferCustomerData404JSONResponseBodyObject.
func (TransferCustomerData404JSONResponseBodyObject) Valid ¶
func (e TransferCustomerData404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData404JSONResponseBodyObject enum.
type TransferCustomerData404JSONResponseBodyType ¶
type TransferCustomerData404JSONResponseBodyType string
TransferCustomerData404JSONResponseBodyType defines parameters for TransferCustomerData.
const (
TransferCustomerData404JSONResponseBodyTypeResourceMissing TransferCustomerData404JSONResponseBodyType = "resource_missing"
)
Defines values for TransferCustomerData404JSONResponseBodyType.
func (TransferCustomerData404JSONResponseBodyType) Valid ¶
func (e TransferCustomerData404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData404JSONResponseBodyType enum.
type TransferCustomerData409JSONResponseBodyObject ¶
type TransferCustomerData409JSONResponseBodyObject string
TransferCustomerData409JSONResponseBodyObject defines parameters for TransferCustomerData.
const (
TransferCustomerData409JSONResponseBodyObjectError TransferCustomerData409JSONResponseBodyObject = "error"
)
Defines values for TransferCustomerData409JSONResponseBodyObject.
func (TransferCustomerData409JSONResponseBodyObject) Valid ¶
func (e TransferCustomerData409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData409JSONResponseBodyObject enum.
type TransferCustomerData409JSONResponseBodyType ¶
type TransferCustomerData409JSONResponseBodyType string
TransferCustomerData409JSONResponseBodyType defines parameters for TransferCustomerData.
const ( TransferCustomerData409JSONResponseBodyTypeIdempotencyError TransferCustomerData409JSONResponseBodyType = "idempotency_error" TransferCustomerData409JSONResponseBodyTypeInvalidRequest TransferCustomerData409JSONResponseBodyType = "invalid_request" TransferCustomerData409JSONResponseBodyTypeResourceAlreadyExists TransferCustomerData409JSONResponseBodyType = "resource_already_exists" )
Defines values for TransferCustomerData409JSONResponseBodyType.
func (TransferCustomerData409JSONResponseBodyType) Valid ¶
func (e TransferCustomerData409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData409JSONResponseBodyType enum.
type TransferCustomerData422JSONResponseBodyObject ¶
type TransferCustomerData422JSONResponseBodyObject string
TransferCustomerData422JSONResponseBodyObject defines parameters for TransferCustomerData.
const (
TransferCustomerData422JSONResponseBodyObjectError TransferCustomerData422JSONResponseBodyObject = "error"
)
Defines values for TransferCustomerData422JSONResponseBodyObject.
func (TransferCustomerData422JSONResponseBodyObject) Valid ¶
func (e TransferCustomerData422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData422JSONResponseBodyObject enum.
type TransferCustomerData422JSONResponseBodyType ¶
type TransferCustomerData422JSONResponseBodyType string
TransferCustomerData422JSONResponseBodyType defines parameters for TransferCustomerData.
const ( TransferCustomerData422JSONResponseBodyTypeEntityReferencesArchivedEntities TransferCustomerData422JSONResponseBodyType = "entity_references_archived_entities" TransferCustomerData422JSONResponseBodyTypeParameterError TransferCustomerData422JSONResponseBodyType = "parameter_error" TransferCustomerData422JSONResponseBodyTypeStoreError TransferCustomerData422JSONResponseBodyType = "store_error" TransferCustomerData422JSONResponseBodyTypeUnprocessableEntityError TransferCustomerData422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for TransferCustomerData422JSONResponseBodyType.
func (TransferCustomerData422JSONResponseBodyType) Valid ¶
func (e TransferCustomerData422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData422JSONResponseBodyType enum.
type TransferCustomerData423JSONResponseBodyObject ¶
type TransferCustomerData423JSONResponseBodyObject string
TransferCustomerData423JSONResponseBodyObject defines parameters for TransferCustomerData.
const (
TransferCustomerData423JSONResponseBodyObjectError TransferCustomerData423JSONResponseBodyObject = "error"
)
Defines values for TransferCustomerData423JSONResponseBodyObject.
func (TransferCustomerData423JSONResponseBodyObject) Valid ¶
func (e TransferCustomerData423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData423JSONResponseBodyObject enum.
type TransferCustomerData423JSONResponseBodyType ¶
type TransferCustomerData423JSONResponseBodyType string
TransferCustomerData423JSONResponseBodyType defines parameters for TransferCustomerData.
const (
TransferCustomerData423JSONResponseBodyTypeResourceLockedError TransferCustomerData423JSONResponseBodyType = "resource_locked_error"
)
Defines values for TransferCustomerData423JSONResponseBodyType.
func (TransferCustomerData423JSONResponseBodyType) Valid ¶
func (e TransferCustomerData423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData423JSONResponseBodyType enum.
type TransferCustomerData429JSONResponseBodyObject ¶
type TransferCustomerData429JSONResponseBodyObject string
TransferCustomerData429JSONResponseBodyObject defines parameters for TransferCustomerData.
const (
TransferCustomerData429JSONResponseBodyObjectError TransferCustomerData429JSONResponseBodyObject = "error"
)
Defines values for TransferCustomerData429JSONResponseBodyObject.
func (TransferCustomerData429JSONResponseBodyObject) Valid ¶
func (e TransferCustomerData429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData429JSONResponseBodyObject enum.
type TransferCustomerData429JSONResponseBodyType ¶
type TransferCustomerData429JSONResponseBodyType string
TransferCustomerData429JSONResponseBodyType defines parameters for TransferCustomerData.
const (
TransferCustomerData429JSONResponseBodyTypeRateLimitError TransferCustomerData429JSONResponseBodyType = "rate_limit_error"
)
Defines values for TransferCustomerData429JSONResponseBodyType.
func (TransferCustomerData429JSONResponseBodyType) Valid ¶
func (e TransferCustomerData429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData429JSONResponseBodyType enum.
type TransferCustomerData500JSONResponseBodyObject ¶
type TransferCustomerData500JSONResponseBodyObject string
TransferCustomerData500JSONResponseBodyObject defines parameters for TransferCustomerData.
const (
TransferCustomerData500JSONResponseBodyObjectError TransferCustomerData500JSONResponseBodyObject = "error"
)
Defines values for TransferCustomerData500JSONResponseBodyObject.
func (TransferCustomerData500JSONResponseBodyObject) Valid ¶
func (e TransferCustomerData500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData500JSONResponseBodyObject enum.
type TransferCustomerData500JSONResponseBodyType ¶
type TransferCustomerData500JSONResponseBodyType string
TransferCustomerData500JSONResponseBodyType defines parameters for TransferCustomerData.
const (
TransferCustomerData500JSONResponseBodyTypeServerError TransferCustomerData500JSONResponseBodyType = "server_error"
)
Defines values for TransferCustomerData500JSONResponseBodyType.
func (TransferCustomerData500JSONResponseBodyType) Valid ¶
func (e TransferCustomerData500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData500JSONResponseBodyType enum.
type TransferCustomerData503JSONResponseBodyObject ¶
type TransferCustomerData503JSONResponseBodyObject string
TransferCustomerData503JSONResponseBodyObject defines parameters for TransferCustomerData.
const (
TransferCustomerData503JSONResponseBodyObjectError TransferCustomerData503JSONResponseBodyObject = "error"
)
Defines values for TransferCustomerData503JSONResponseBodyObject.
func (TransferCustomerData503JSONResponseBodyObject) Valid ¶
func (e TransferCustomerData503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData503JSONResponseBodyObject enum.
type TransferCustomerData503JSONResponseBodyType ¶
type TransferCustomerData503JSONResponseBodyType string
TransferCustomerData503JSONResponseBodyType defines parameters for TransferCustomerData.
const (
TransferCustomerData503JSONResponseBodyTypeServerError TransferCustomerData503JSONResponseBodyType = "server_error"
)
Defines values for TransferCustomerData503JSONResponseBodyType.
func (TransferCustomerData503JSONResponseBodyType) Valid ¶
func (e TransferCustomerData503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the TransferCustomerData503JSONResponseBodyType enum.
type TransferCustomerDataJSONBody ¶
type TransferCustomerDataJSONBody struct {
// AppIds Optional. The IDs of the apps to filter the transfer by. When specified, only purchases and subscriptions associated with these apps will be transferred.
AppIds *[]string `json:"app_ids,omitempty"`
// TargetCustomerID The ID of the customer to whom the subscriptions and one-time purchases will be transferred.
TargetCustomerID string `json:"target_customer_id"`
}
TransferCustomerDataJSONBody defines parameters for TransferCustomerData.
type TransferCustomerDataJSONRequestBody ¶
type TransferCustomerDataJSONRequestBody TransferCustomerDataJSONBody
TransferCustomerDataJSONRequestBody defines body for TransferCustomerData for application/json ContentType.
type UnarchiveEntitlement400JSONResponseBodyObject ¶
type UnarchiveEntitlement400JSONResponseBodyObject string
UnarchiveEntitlement400JSONResponseBodyObject defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement400JSONResponseBodyObjectError UnarchiveEntitlement400JSONResponseBodyObject = "error"
)
Defines values for UnarchiveEntitlement400JSONResponseBodyObject.
func (UnarchiveEntitlement400JSONResponseBodyObject) Valid ¶
func (e UnarchiveEntitlement400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement400JSONResponseBodyObject enum.
type UnarchiveEntitlement400JSONResponseBodyType ¶
type UnarchiveEntitlement400JSONResponseBodyType string
UnarchiveEntitlement400JSONResponseBodyType defines parameters for UnarchiveEntitlement.
const ( UnarchiveEntitlement400JSONResponseBodyTypeInvalidRequest UnarchiveEntitlement400JSONResponseBodyType = "invalid_request" UnarchiveEntitlement400JSONResponseBodyTypeParameterError UnarchiveEntitlement400JSONResponseBodyType = "parameter_error" )
Defines values for UnarchiveEntitlement400JSONResponseBodyType.
func (UnarchiveEntitlement400JSONResponseBodyType) Valid ¶
func (e UnarchiveEntitlement400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement400JSONResponseBodyType enum.
type UnarchiveEntitlement401JSONResponseBodyObject ¶
type UnarchiveEntitlement401JSONResponseBodyObject string
UnarchiveEntitlement401JSONResponseBodyObject defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement401JSONResponseBodyObjectError UnarchiveEntitlement401JSONResponseBodyObject = "error"
)
Defines values for UnarchiveEntitlement401JSONResponseBodyObject.
func (UnarchiveEntitlement401JSONResponseBodyObject) Valid ¶
func (e UnarchiveEntitlement401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement401JSONResponseBodyObject enum.
type UnarchiveEntitlement401JSONResponseBodyType ¶
type UnarchiveEntitlement401JSONResponseBodyType string
UnarchiveEntitlement401JSONResponseBodyType defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement401JSONResponseBodyTypeAuthenticationError UnarchiveEntitlement401JSONResponseBodyType = "authentication_error"
)
Defines values for UnarchiveEntitlement401JSONResponseBodyType.
func (UnarchiveEntitlement401JSONResponseBodyType) Valid ¶
func (e UnarchiveEntitlement401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement401JSONResponseBodyType enum.
type UnarchiveEntitlement403JSONResponseBodyObject ¶
type UnarchiveEntitlement403JSONResponseBodyObject string
UnarchiveEntitlement403JSONResponseBodyObject defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement403JSONResponseBodyObjectError UnarchiveEntitlement403JSONResponseBodyObject = "error"
)
Defines values for UnarchiveEntitlement403JSONResponseBodyObject.
func (UnarchiveEntitlement403JSONResponseBodyObject) Valid ¶
func (e UnarchiveEntitlement403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement403JSONResponseBodyObject enum.
type UnarchiveEntitlement403JSONResponseBodyType ¶
type UnarchiveEntitlement403JSONResponseBodyType string
UnarchiveEntitlement403JSONResponseBodyType defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement403JSONResponseBodyTypeAuthorizationError UnarchiveEntitlement403JSONResponseBodyType = "authorization_error"
)
Defines values for UnarchiveEntitlement403JSONResponseBodyType.
func (UnarchiveEntitlement403JSONResponseBodyType) Valid ¶
func (e UnarchiveEntitlement403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement403JSONResponseBodyType enum.
type UnarchiveEntitlement404JSONResponseBodyObject ¶
type UnarchiveEntitlement404JSONResponseBodyObject string
UnarchiveEntitlement404JSONResponseBodyObject defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement404JSONResponseBodyObjectError UnarchiveEntitlement404JSONResponseBodyObject = "error"
)
Defines values for UnarchiveEntitlement404JSONResponseBodyObject.
func (UnarchiveEntitlement404JSONResponseBodyObject) Valid ¶
func (e UnarchiveEntitlement404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement404JSONResponseBodyObject enum.
type UnarchiveEntitlement404JSONResponseBodyType ¶
type UnarchiveEntitlement404JSONResponseBodyType string
UnarchiveEntitlement404JSONResponseBodyType defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement404JSONResponseBodyTypeResourceMissing UnarchiveEntitlement404JSONResponseBodyType = "resource_missing"
)
Defines values for UnarchiveEntitlement404JSONResponseBodyType.
func (UnarchiveEntitlement404JSONResponseBodyType) Valid ¶
func (e UnarchiveEntitlement404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement404JSONResponseBodyType enum.
type UnarchiveEntitlement409JSONResponseBodyObject ¶
type UnarchiveEntitlement409JSONResponseBodyObject string
UnarchiveEntitlement409JSONResponseBodyObject defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement409JSONResponseBodyObjectError UnarchiveEntitlement409JSONResponseBodyObject = "error"
)
Defines values for UnarchiveEntitlement409JSONResponseBodyObject.
func (UnarchiveEntitlement409JSONResponseBodyObject) Valid ¶
func (e UnarchiveEntitlement409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement409JSONResponseBodyObject enum.
type UnarchiveEntitlement409JSONResponseBodyType ¶
type UnarchiveEntitlement409JSONResponseBodyType string
UnarchiveEntitlement409JSONResponseBodyType defines parameters for UnarchiveEntitlement.
const ( UnarchiveEntitlement409JSONResponseBodyTypeIdempotencyError UnarchiveEntitlement409JSONResponseBodyType = "idempotency_error" UnarchiveEntitlement409JSONResponseBodyTypeInvalidRequest UnarchiveEntitlement409JSONResponseBodyType = "invalid_request" UnarchiveEntitlement409JSONResponseBodyTypeResourceAlreadyExists UnarchiveEntitlement409JSONResponseBodyType = "resource_already_exists" )
Defines values for UnarchiveEntitlement409JSONResponseBodyType.
func (UnarchiveEntitlement409JSONResponseBodyType) Valid ¶
func (e UnarchiveEntitlement409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement409JSONResponseBodyType enum.
type UnarchiveEntitlement422JSONResponseBodyObject ¶
type UnarchiveEntitlement422JSONResponseBodyObject string
UnarchiveEntitlement422JSONResponseBodyObject defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement422JSONResponseBodyObjectError UnarchiveEntitlement422JSONResponseBodyObject = "error"
)
Defines values for UnarchiveEntitlement422JSONResponseBodyObject.
func (UnarchiveEntitlement422JSONResponseBodyObject) Valid ¶
func (e UnarchiveEntitlement422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement422JSONResponseBodyObject enum.
type UnarchiveEntitlement422JSONResponseBodyType ¶
type UnarchiveEntitlement422JSONResponseBodyType string
UnarchiveEntitlement422JSONResponseBodyType defines parameters for UnarchiveEntitlement.
const ( UnarchiveEntitlement422JSONResponseBodyTypeEntityReferencesArchivedEntities UnarchiveEntitlement422JSONResponseBodyType = "entity_references_archived_entities" UnarchiveEntitlement422JSONResponseBodyTypeParameterError UnarchiveEntitlement422JSONResponseBodyType = "parameter_error" UnarchiveEntitlement422JSONResponseBodyTypeStoreError UnarchiveEntitlement422JSONResponseBodyType = "store_error" UnarchiveEntitlement422JSONResponseBodyTypeUnprocessableEntityError UnarchiveEntitlement422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for UnarchiveEntitlement422JSONResponseBodyType.
func (UnarchiveEntitlement422JSONResponseBodyType) Valid ¶
func (e UnarchiveEntitlement422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement422JSONResponseBodyType enum.
type UnarchiveEntitlement423JSONResponseBodyObject ¶
type UnarchiveEntitlement423JSONResponseBodyObject string
UnarchiveEntitlement423JSONResponseBodyObject defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement423JSONResponseBodyObjectError UnarchiveEntitlement423JSONResponseBodyObject = "error"
)
Defines values for UnarchiveEntitlement423JSONResponseBodyObject.
func (UnarchiveEntitlement423JSONResponseBodyObject) Valid ¶
func (e UnarchiveEntitlement423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement423JSONResponseBodyObject enum.
type UnarchiveEntitlement423JSONResponseBodyType ¶
type UnarchiveEntitlement423JSONResponseBodyType string
UnarchiveEntitlement423JSONResponseBodyType defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement423JSONResponseBodyTypeResourceLockedError UnarchiveEntitlement423JSONResponseBodyType = "resource_locked_error"
)
Defines values for UnarchiveEntitlement423JSONResponseBodyType.
func (UnarchiveEntitlement423JSONResponseBodyType) Valid ¶
func (e UnarchiveEntitlement423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement423JSONResponseBodyType enum.
type UnarchiveEntitlement429JSONResponseBodyObject ¶
type UnarchiveEntitlement429JSONResponseBodyObject string
UnarchiveEntitlement429JSONResponseBodyObject defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement429JSONResponseBodyObjectError UnarchiveEntitlement429JSONResponseBodyObject = "error"
)
Defines values for UnarchiveEntitlement429JSONResponseBodyObject.
func (UnarchiveEntitlement429JSONResponseBodyObject) Valid ¶
func (e UnarchiveEntitlement429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement429JSONResponseBodyObject enum.
type UnarchiveEntitlement429JSONResponseBodyType ¶
type UnarchiveEntitlement429JSONResponseBodyType string
UnarchiveEntitlement429JSONResponseBodyType defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement429JSONResponseBodyTypeRateLimitError UnarchiveEntitlement429JSONResponseBodyType = "rate_limit_error"
)
Defines values for UnarchiveEntitlement429JSONResponseBodyType.
func (UnarchiveEntitlement429JSONResponseBodyType) Valid ¶
func (e UnarchiveEntitlement429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement429JSONResponseBodyType enum.
type UnarchiveEntitlement500JSONResponseBodyObject ¶
type UnarchiveEntitlement500JSONResponseBodyObject string
UnarchiveEntitlement500JSONResponseBodyObject defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement500JSONResponseBodyObjectError UnarchiveEntitlement500JSONResponseBodyObject = "error"
)
Defines values for UnarchiveEntitlement500JSONResponseBodyObject.
func (UnarchiveEntitlement500JSONResponseBodyObject) Valid ¶
func (e UnarchiveEntitlement500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement500JSONResponseBodyObject enum.
type UnarchiveEntitlement500JSONResponseBodyType ¶
type UnarchiveEntitlement500JSONResponseBodyType string
UnarchiveEntitlement500JSONResponseBodyType defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement500JSONResponseBodyTypeServerError UnarchiveEntitlement500JSONResponseBodyType = "server_error"
)
Defines values for UnarchiveEntitlement500JSONResponseBodyType.
func (UnarchiveEntitlement500JSONResponseBodyType) Valid ¶
func (e UnarchiveEntitlement500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement500JSONResponseBodyType enum.
type UnarchiveEntitlement503JSONResponseBodyObject ¶
type UnarchiveEntitlement503JSONResponseBodyObject string
UnarchiveEntitlement503JSONResponseBodyObject defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement503JSONResponseBodyObjectError UnarchiveEntitlement503JSONResponseBodyObject = "error"
)
Defines values for UnarchiveEntitlement503JSONResponseBodyObject.
func (UnarchiveEntitlement503JSONResponseBodyObject) Valid ¶
func (e UnarchiveEntitlement503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement503JSONResponseBodyObject enum.
type UnarchiveEntitlement503JSONResponseBodyType ¶
type UnarchiveEntitlement503JSONResponseBodyType string
UnarchiveEntitlement503JSONResponseBodyType defines parameters for UnarchiveEntitlement.
const (
UnarchiveEntitlement503JSONResponseBodyTypeServerError UnarchiveEntitlement503JSONResponseBodyType = "server_error"
)
Defines values for UnarchiveEntitlement503JSONResponseBodyType.
func (UnarchiveEntitlement503JSONResponseBodyType) Valid ¶
func (e UnarchiveEntitlement503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveEntitlement503JSONResponseBodyType enum.
type UnarchiveOffering400JSONResponseBodyObject ¶
type UnarchiveOffering400JSONResponseBodyObject string
UnarchiveOffering400JSONResponseBodyObject defines parameters for UnarchiveOffering.
const (
UnarchiveOffering400JSONResponseBodyObjectError UnarchiveOffering400JSONResponseBodyObject = "error"
)
Defines values for UnarchiveOffering400JSONResponseBodyObject.
func (UnarchiveOffering400JSONResponseBodyObject) Valid ¶
func (e UnarchiveOffering400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering400JSONResponseBodyObject enum.
type UnarchiveOffering400JSONResponseBodyType ¶
type UnarchiveOffering400JSONResponseBodyType string
UnarchiveOffering400JSONResponseBodyType defines parameters for UnarchiveOffering.
const ( UnarchiveOffering400JSONResponseBodyTypeInvalidRequest UnarchiveOffering400JSONResponseBodyType = "invalid_request" UnarchiveOffering400JSONResponseBodyTypeParameterError UnarchiveOffering400JSONResponseBodyType = "parameter_error" )
Defines values for UnarchiveOffering400JSONResponseBodyType.
func (UnarchiveOffering400JSONResponseBodyType) Valid ¶
func (e UnarchiveOffering400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering400JSONResponseBodyType enum.
type UnarchiveOffering401JSONResponseBodyObject ¶
type UnarchiveOffering401JSONResponseBodyObject string
UnarchiveOffering401JSONResponseBodyObject defines parameters for UnarchiveOffering.
const (
UnarchiveOffering401JSONResponseBodyObjectError UnarchiveOffering401JSONResponseBodyObject = "error"
)
Defines values for UnarchiveOffering401JSONResponseBodyObject.
func (UnarchiveOffering401JSONResponseBodyObject) Valid ¶
func (e UnarchiveOffering401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering401JSONResponseBodyObject enum.
type UnarchiveOffering401JSONResponseBodyType ¶
type UnarchiveOffering401JSONResponseBodyType string
UnarchiveOffering401JSONResponseBodyType defines parameters for UnarchiveOffering.
const (
UnarchiveOffering401JSONResponseBodyTypeAuthenticationError UnarchiveOffering401JSONResponseBodyType = "authentication_error"
)
Defines values for UnarchiveOffering401JSONResponseBodyType.
func (UnarchiveOffering401JSONResponseBodyType) Valid ¶
func (e UnarchiveOffering401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering401JSONResponseBodyType enum.
type UnarchiveOffering403JSONResponseBodyObject ¶
type UnarchiveOffering403JSONResponseBodyObject string
UnarchiveOffering403JSONResponseBodyObject defines parameters for UnarchiveOffering.
const (
UnarchiveOffering403JSONResponseBodyObjectError UnarchiveOffering403JSONResponseBodyObject = "error"
)
Defines values for UnarchiveOffering403JSONResponseBodyObject.
func (UnarchiveOffering403JSONResponseBodyObject) Valid ¶
func (e UnarchiveOffering403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering403JSONResponseBodyObject enum.
type UnarchiveOffering403JSONResponseBodyType ¶
type UnarchiveOffering403JSONResponseBodyType string
UnarchiveOffering403JSONResponseBodyType defines parameters for UnarchiveOffering.
const (
UnarchiveOffering403JSONResponseBodyTypeAuthorizationError UnarchiveOffering403JSONResponseBodyType = "authorization_error"
)
Defines values for UnarchiveOffering403JSONResponseBodyType.
func (UnarchiveOffering403JSONResponseBodyType) Valid ¶
func (e UnarchiveOffering403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering403JSONResponseBodyType enum.
type UnarchiveOffering404JSONResponseBodyObject ¶
type UnarchiveOffering404JSONResponseBodyObject string
UnarchiveOffering404JSONResponseBodyObject defines parameters for UnarchiveOffering.
const (
UnarchiveOffering404JSONResponseBodyObjectError UnarchiveOffering404JSONResponseBodyObject = "error"
)
Defines values for UnarchiveOffering404JSONResponseBodyObject.
func (UnarchiveOffering404JSONResponseBodyObject) Valid ¶
func (e UnarchiveOffering404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering404JSONResponseBodyObject enum.
type UnarchiveOffering404JSONResponseBodyType ¶
type UnarchiveOffering404JSONResponseBodyType string
UnarchiveOffering404JSONResponseBodyType defines parameters for UnarchiveOffering.
const (
UnarchiveOffering404JSONResponseBodyTypeResourceMissing UnarchiveOffering404JSONResponseBodyType = "resource_missing"
)
Defines values for UnarchiveOffering404JSONResponseBodyType.
func (UnarchiveOffering404JSONResponseBodyType) Valid ¶
func (e UnarchiveOffering404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering404JSONResponseBodyType enum.
type UnarchiveOffering409JSONResponseBodyObject ¶
type UnarchiveOffering409JSONResponseBodyObject string
UnarchiveOffering409JSONResponseBodyObject defines parameters for UnarchiveOffering.
const (
UnarchiveOffering409JSONResponseBodyObjectError UnarchiveOffering409JSONResponseBodyObject = "error"
)
Defines values for UnarchiveOffering409JSONResponseBodyObject.
func (UnarchiveOffering409JSONResponseBodyObject) Valid ¶
func (e UnarchiveOffering409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering409JSONResponseBodyObject enum.
type UnarchiveOffering409JSONResponseBodyType ¶
type UnarchiveOffering409JSONResponseBodyType string
UnarchiveOffering409JSONResponseBodyType defines parameters for UnarchiveOffering.
const ( UnarchiveOffering409JSONResponseBodyTypeIdempotencyError UnarchiveOffering409JSONResponseBodyType = "idempotency_error" UnarchiveOffering409JSONResponseBodyTypeInvalidRequest UnarchiveOffering409JSONResponseBodyType = "invalid_request" UnarchiveOffering409JSONResponseBodyTypeResourceAlreadyExists UnarchiveOffering409JSONResponseBodyType = "resource_already_exists" )
Defines values for UnarchiveOffering409JSONResponseBodyType.
func (UnarchiveOffering409JSONResponseBodyType) Valid ¶
func (e UnarchiveOffering409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering409JSONResponseBodyType enum.
type UnarchiveOffering422JSONResponseBodyObject ¶
type UnarchiveOffering422JSONResponseBodyObject string
UnarchiveOffering422JSONResponseBodyObject defines parameters for UnarchiveOffering.
const (
UnarchiveOffering422JSONResponseBodyObjectError UnarchiveOffering422JSONResponseBodyObject = "error"
)
Defines values for UnarchiveOffering422JSONResponseBodyObject.
func (UnarchiveOffering422JSONResponseBodyObject) Valid ¶
func (e UnarchiveOffering422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering422JSONResponseBodyObject enum.
type UnarchiveOffering422JSONResponseBodyType ¶
type UnarchiveOffering422JSONResponseBodyType string
UnarchiveOffering422JSONResponseBodyType defines parameters for UnarchiveOffering.
const ( UnarchiveOffering422JSONResponseBodyTypeEntityReferencesArchivedEntities UnarchiveOffering422JSONResponseBodyType = "entity_references_archived_entities" UnarchiveOffering422JSONResponseBodyTypeParameterError UnarchiveOffering422JSONResponseBodyType = "parameter_error" UnarchiveOffering422JSONResponseBodyTypeStoreError UnarchiveOffering422JSONResponseBodyType = "store_error" UnarchiveOffering422JSONResponseBodyTypeUnprocessableEntityError UnarchiveOffering422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for UnarchiveOffering422JSONResponseBodyType.
func (UnarchiveOffering422JSONResponseBodyType) Valid ¶
func (e UnarchiveOffering422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering422JSONResponseBodyType enum.
type UnarchiveOffering423JSONResponseBodyObject ¶
type UnarchiveOffering423JSONResponseBodyObject string
UnarchiveOffering423JSONResponseBodyObject defines parameters for UnarchiveOffering.
const (
UnarchiveOffering423JSONResponseBodyObjectError UnarchiveOffering423JSONResponseBodyObject = "error"
)
Defines values for UnarchiveOffering423JSONResponseBodyObject.
func (UnarchiveOffering423JSONResponseBodyObject) Valid ¶
func (e UnarchiveOffering423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering423JSONResponseBodyObject enum.
type UnarchiveOffering423JSONResponseBodyType ¶
type UnarchiveOffering423JSONResponseBodyType string
UnarchiveOffering423JSONResponseBodyType defines parameters for UnarchiveOffering.
const (
UnarchiveOffering423JSONResponseBodyTypeResourceLockedError UnarchiveOffering423JSONResponseBodyType = "resource_locked_error"
)
Defines values for UnarchiveOffering423JSONResponseBodyType.
func (UnarchiveOffering423JSONResponseBodyType) Valid ¶
func (e UnarchiveOffering423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering423JSONResponseBodyType enum.
type UnarchiveOffering429JSONResponseBodyObject ¶
type UnarchiveOffering429JSONResponseBodyObject string
UnarchiveOffering429JSONResponseBodyObject defines parameters for UnarchiveOffering.
const (
UnarchiveOffering429JSONResponseBodyObjectError UnarchiveOffering429JSONResponseBodyObject = "error"
)
Defines values for UnarchiveOffering429JSONResponseBodyObject.
func (UnarchiveOffering429JSONResponseBodyObject) Valid ¶
func (e UnarchiveOffering429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering429JSONResponseBodyObject enum.
type UnarchiveOffering429JSONResponseBodyType ¶
type UnarchiveOffering429JSONResponseBodyType string
UnarchiveOffering429JSONResponseBodyType defines parameters for UnarchiveOffering.
const (
UnarchiveOffering429JSONResponseBodyTypeRateLimitError UnarchiveOffering429JSONResponseBodyType = "rate_limit_error"
)
Defines values for UnarchiveOffering429JSONResponseBodyType.
func (UnarchiveOffering429JSONResponseBodyType) Valid ¶
func (e UnarchiveOffering429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering429JSONResponseBodyType enum.
type UnarchiveOffering500JSONResponseBodyObject ¶
type UnarchiveOffering500JSONResponseBodyObject string
UnarchiveOffering500JSONResponseBodyObject defines parameters for UnarchiveOffering.
const (
UnarchiveOffering500JSONResponseBodyObjectError UnarchiveOffering500JSONResponseBodyObject = "error"
)
Defines values for UnarchiveOffering500JSONResponseBodyObject.
func (UnarchiveOffering500JSONResponseBodyObject) Valid ¶
func (e UnarchiveOffering500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering500JSONResponseBodyObject enum.
type UnarchiveOffering500JSONResponseBodyType ¶
type UnarchiveOffering500JSONResponseBodyType string
UnarchiveOffering500JSONResponseBodyType defines parameters for UnarchiveOffering.
const (
UnarchiveOffering500JSONResponseBodyTypeServerError UnarchiveOffering500JSONResponseBodyType = "server_error"
)
Defines values for UnarchiveOffering500JSONResponseBodyType.
func (UnarchiveOffering500JSONResponseBodyType) Valid ¶
func (e UnarchiveOffering500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering500JSONResponseBodyType enum.
type UnarchiveOffering503JSONResponseBodyObject ¶
type UnarchiveOffering503JSONResponseBodyObject string
UnarchiveOffering503JSONResponseBodyObject defines parameters for UnarchiveOffering.
const (
UnarchiveOffering503JSONResponseBodyObjectError UnarchiveOffering503JSONResponseBodyObject = "error"
)
Defines values for UnarchiveOffering503JSONResponseBodyObject.
func (UnarchiveOffering503JSONResponseBodyObject) Valid ¶
func (e UnarchiveOffering503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering503JSONResponseBodyObject enum.
type UnarchiveOffering503JSONResponseBodyType ¶
type UnarchiveOffering503JSONResponseBodyType string
UnarchiveOffering503JSONResponseBodyType defines parameters for UnarchiveOffering.
const (
UnarchiveOffering503JSONResponseBodyTypeServerError UnarchiveOffering503JSONResponseBodyType = "server_error"
)
Defines values for UnarchiveOffering503JSONResponseBodyType.
func (UnarchiveOffering503JSONResponseBodyType) Valid ¶
func (e UnarchiveOffering503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveOffering503JSONResponseBodyType enum.
type UnarchiveOfferingJSONBody ¶
type UnarchiveOfferingJSONBody struct {
// UnarchiveReferencedEntities If true, also unarchive any archived products referenced by this offering's packages.
UnarchiveReferencedEntities *bool `json:"unarchive_referenced_entities,omitempty"`
}
UnarchiveOfferingJSONBody defines parameters for UnarchiveOffering.
type UnarchiveOfferingJSONRequestBody ¶
type UnarchiveOfferingJSONRequestBody UnarchiveOfferingJSONBody
UnarchiveOfferingJSONRequestBody defines body for UnarchiveOffering for application/json ContentType.
type UnarchiveProduct400JSONResponseBodyObject ¶
type UnarchiveProduct400JSONResponseBodyObject string
UnarchiveProduct400JSONResponseBodyObject defines parameters for UnarchiveProduct.
const (
UnarchiveProduct400JSONResponseBodyObjectError UnarchiveProduct400JSONResponseBodyObject = "error"
)
Defines values for UnarchiveProduct400JSONResponseBodyObject.
func (UnarchiveProduct400JSONResponseBodyObject) Valid ¶
func (e UnarchiveProduct400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct400JSONResponseBodyObject enum.
type UnarchiveProduct400JSONResponseBodyType ¶
type UnarchiveProduct400JSONResponseBodyType string
UnarchiveProduct400JSONResponseBodyType defines parameters for UnarchiveProduct.
const ( UnarchiveProduct400JSONResponseBodyTypeInvalidRequest UnarchiveProduct400JSONResponseBodyType = "invalid_request" UnarchiveProduct400JSONResponseBodyTypeParameterError UnarchiveProduct400JSONResponseBodyType = "parameter_error" )
Defines values for UnarchiveProduct400JSONResponseBodyType.
func (UnarchiveProduct400JSONResponseBodyType) Valid ¶
func (e UnarchiveProduct400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct400JSONResponseBodyType enum.
type UnarchiveProduct401JSONResponseBodyObject ¶
type UnarchiveProduct401JSONResponseBodyObject string
UnarchiveProduct401JSONResponseBodyObject defines parameters for UnarchiveProduct.
const (
UnarchiveProduct401JSONResponseBodyObjectError UnarchiveProduct401JSONResponseBodyObject = "error"
)
Defines values for UnarchiveProduct401JSONResponseBodyObject.
func (UnarchiveProduct401JSONResponseBodyObject) Valid ¶
func (e UnarchiveProduct401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct401JSONResponseBodyObject enum.
type UnarchiveProduct401JSONResponseBodyType ¶
type UnarchiveProduct401JSONResponseBodyType string
UnarchiveProduct401JSONResponseBodyType defines parameters for UnarchiveProduct.
const (
UnarchiveProduct401JSONResponseBodyTypeAuthenticationError UnarchiveProduct401JSONResponseBodyType = "authentication_error"
)
Defines values for UnarchiveProduct401JSONResponseBodyType.
func (UnarchiveProduct401JSONResponseBodyType) Valid ¶
func (e UnarchiveProduct401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct401JSONResponseBodyType enum.
type UnarchiveProduct403JSONResponseBodyObject ¶
type UnarchiveProduct403JSONResponseBodyObject string
UnarchiveProduct403JSONResponseBodyObject defines parameters for UnarchiveProduct.
const (
UnarchiveProduct403JSONResponseBodyObjectError UnarchiveProduct403JSONResponseBodyObject = "error"
)
Defines values for UnarchiveProduct403JSONResponseBodyObject.
func (UnarchiveProduct403JSONResponseBodyObject) Valid ¶
func (e UnarchiveProduct403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct403JSONResponseBodyObject enum.
type UnarchiveProduct403JSONResponseBodyType ¶
type UnarchiveProduct403JSONResponseBodyType string
UnarchiveProduct403JSONResponseBodyType defines parameters for UnarchiveProduct.
const (
UnarchiveProduct403JSONResponseBodyTypeAuthorizationError UnarchiveProduct403JSONResponseBodyType = "authorization_error"
)
Defines values for UnarchiveProduct403JSONResponseBodyType.
func (UnarchiveProduct403JSONResponseBodyType) Valid ¶
func (e UnarchiveProduct403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct403JSONResponseBodyType enum.
type UnarchiveProduct404JSONResponseBodyObject ¶
type UnarchiveProduct404JSONResponseBodyObject string
UnarchiveProduct404JSONResponseBodyObject defines parameters for UnarchiveProduct.
const (
UnarchiveProduct404JSONResponseBodyObjectError UnarchiveProduct404JSONResponseBodyObject = "error"
)
Defines values for UnarchiveProduct404JSONResponseBodyObject.
func (UnarchiveProduct404JSONResponseBodyObject) Valid ¶
func (e UnarchiveProduct404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct404JSONResponseBodyObject enum.
type UnarchiveProduct404JSONResponseBodyType ¶
type UnarchiveProduct404JSONResponseBodyType string
UnarchiveProduct404JSONResponseBodyType defines parameters for UnarchiveProduct.
const (
UnarchiveProduct404JSONResponseBodyTypeResourceMissing UnarchiveProduct404JSONResponseBodyType = "resource_missing"
)
Defines values for UnarchiveProduct404JSONResponseBodyType.
func (UnarchiveProduct404JSONResponseBodyType) Valid ¶
func (e UnarchiveProduct404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct404JSONResponseBodyType enum.
type UnarchiveProduct409JSONResponseBodyObject ¶
type UnarchiveProduct409JSONResponseBodyObject string
UnarchiveProduct409JSONResponseBodyObject defines parameters for UnarchiveProduct.
const (
UnarchiveProduct409JSONResponseBodyObjectError UnarchiveProduct409JSONResponseBodyObject = "error"
)
Defines values for UnarchiveProduct409JSONResponseBodyObject.
func (UnarchiveProduct409JSONResponseBodyObject) Valid ¶
func (e UnarchiveProduct409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct409JSONResponseBodyObject enum.
type UnarchiveProduct409JSONResponseBodyType ¶
type UnarchiveProduct409JSONResponseBodyType string
UnarchiveProduct409JSONResponseBodyType defines parameters for UnarchiveProduct.
const ( UnarchiveProduct409JSONResponseBodyTypeIdempotencyError UnarchiveProduct409JSONResponseBodyType = "idempotency_error" UnarchiveProduct409JSONResponseBodyTypeInvalidRequest UnarchiveProduct409JSONResponseBodyType = "invalid_request" UnarchiveProduct409JSONResponseBodyTypeResourceAlreadyExists UnarchiveProduct409JSONResponseBodyType = "resource_already_exists" )
Defines values for UnarchiveProduct409JSONResponseBodyType.
func (UnarchiveProduct409JSONResponseBodyType) Valid ¶
func (e UnarchiveProduct409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct409JSONResponseBodyType enum.
type UnarchiveProduct422JSONResponseBodyObject ¶
type UnarchiveProduct422JSONResponseBodyObject string
UnarchiveProduct422JSONResponseBodyObject defines parameters for UnarchiveProduct.
const (
UnarchiveProduct422JSONResponseBodyObjectError UnarchiveProduct422JSONResponseBodyObject = "error"
)
Defines values for UnarchiveProduct422JSONResponseBodyObject.
func (UnarchiveProduct422JSONResponseBodyObject) Valid ¶
func (e UnarchiveProduct422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct422JSONResponseBodyObject enum.
type UnarchiveProduct422JSONResponseBodyType ¶
type UnarchiveProduct422JSONResponseBodyType string
UnarchiveProduct422JSONResponseBodyType defines parameters for UnarchiveProduct.
const ( UnarchiveProduct422JSONResponseBodyTypeEntityReferencesArchivedEntities UnarchiveProduct422JSONResponseBodyType = "entity_references_archived_entities" UnarchiveProduct422JSONResponseBodyTypeParameterError UnarchiveProduct422JSONResponseBodyType = "parameter_error" UnarchiveProduct422JSONResponseBodyTypeStoreError UnarchiveProduct422JSONResponseBodyType = "store_error" UnarchiveProduct422JSONResponseBodyTypeUnprocessableEntityError UnarchiveProduct422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for UnarchiveProduct422JSONResponseBodyType.
func (UnarchiveProduct422JSONResponseBodyType) Valid ¶
func (e UnarchiveProduct422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct422JSONResponseBodyType enum.
type UnarchiveProduct423JSONResponseBodyObject ¶
type UnarchiveProduct423JSONResponseBodyObject string
UnarchiveProduct423JSONResponseBodyObject defines parameters for UnarchiveProduct.
const (
UnarchiveProduct423JSONResponseBodyObjectError UnarchiveProduct423JSONResponseBodyObject = "error"
)
Defines values for UnarchiveProduct423JSONResponseBodyObject.
func (UnarchiveProduct423JSONResponseBodyObject) Valid ¶
func (e UnarchiveProduct423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct423JSONResponseBodyObject enum.
type UnarchiveProduct423JSONResponseBodyType ¶
type UnarchiveProduct423JSONResponseBodyType string
UnarchiveProduct423JSONResponseBodyType defines parameters for UnarchiveProduct.
const (
UnarchiveProduct423JSONResponseBodyTypeResourceLockedError UnarchiveProduct423JSONResponseBodyType = "resource_locked_error"
)
Defines values for UnarchiveProduct423JSONResponseBodyType.
func (UnarchiveProduct423JSONResponseBodyType) Valid ¶
func (e UnarchiveProduct423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct423JSONResponseBodyType enum.
type UnarchiveProduct429JSONResponseBodyObject ¶
type UnarchiveProduct429JSONResponseBodyObject string
UnarchiveProduct429JSONResponseBodyObject defines parameters for UnarchiveProduct.
const (
UnarchiveProduct429JSONResponseBodyObjectError UnarchiveProduct429JSONResponseBodyObject = "error"
)
Defines values for UnarchiveProduct429JSONResponseBodyObject.
func (UnarchiveProduct429JSONResponseBodyObject) Valid ¶
func (e UnarchiveProduct429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct429JSONResponseBodyObject enum.
type UnarchiveProduct429JSONResponseBodyType ¶
type UnarchiveProduct429JSONResponseBodyType string
UnarchiveProduct429JSONResponseBodyType defines parameters for UnarchiveProduct.
const (
UnarchiveProduct429JSONResponseBodyTypeRateLimitError UnarchiveProduct429JSONResponseBodyType = "rate_limit_error"
)
Defines values for UnarchiveProduct429JSONResponseBodyType.
func (UnarchiveProduct429JSONResponseBodyType) Valid ¶
func (e UnarchiveProduct429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct429JSONResponseBodyType enum.
type UnarchiveProduct500JSONResponseBodyObject ¶
type UnarchiveProduct500JSONResponseBodyObject string
UnarchiveProduct500JSONResponseBodyObject defines parameters for UnarchiveProduct.
const (
UnarchiveProduct500JSONResponseBodyObjectError UnarchiveProduct500JSONResponseBodyObject = "error"
)
Defines values for UnarchiveProduct500JSONResponseBodyObject.
func (UnarchiveProduct500JSONResponseBodyObject) Valid ¶
func (e UnarchiveProduct500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct500JSONResponseBodyObject enum.
type UnarchiveProduct500JSONResponseBodyType ¶
type UnarchiveProduct500JSONResponseBodyType string
UnarchiveProduct500JSONResponseBodyType defines parameters for UnarchiveProduct.
const (
UnarchiveProduct500JSONResponseBodyTypeServerError UnarchiveProduct500JSONResponseBodyType = "server_error"
)
Defines values for UnarchiveProduct500JSONResponseBodyType.
func (UnarchiveProduct500JSONResponseBodyType) Valid ¶
func (e UnarchiveProduct500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct500JSONResponseBodyType enum.
type UnarchiveProduct503JSONResponseBodyObject ¶
type UnarchiveProduct503JSONResponseBodyObject string
UnarchiveProduct503JSONResponseBodyObject defines parameters for UnarchiveProduct.
const (
UnarchiveProduct503JSONResponseBodyObjectError UnarchiveProduct503JSONResponseBodyObject = "error"
)
Defines values for UnarchiveProduct503JSONResponseBodyObject.
func (UnarchiveProduct503JSONResponseBodyObject) Valid ¶
func (e UnarchiveProduct503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct503JSONResponseBodyObject enum.
type UnarchiveProduct503JSONResponseBodyType ¶
type UnarchiveProduct503JSONResponseBodyType string
UnarchiveProduct503JSONResponseBodyType defines parameters for UnarchiveProduct.
const (
UnarchiveProduct503JSONResponseBodyTypeServerError UnarchiveProduct503JSONResponseBodyType = "server_error"
)
Defines values for UnarchiveProduct503JSONResponseBodyType.
func (UnarchiveProduct503JSONResponseBodyType) Valid ¶
func (e UnarchiveProduct503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveProduct503JSONResponseBodyType enum.
type UnarchiveVirtualCurrency400JSONResponseBodyObject ¶
type UnarchiveVirtualCurrency400JSONResponseBodyObject string
UnarchiveVirtualCurrency400JSONResponseBodyObject defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency400JSONResponseBodyObjectError UnarchiveVirtualCurrency400JSONResponseBodyObject = "error"
)
Defines values for UnarchiveVirtualCurrency400JSONResponseBodyObject.
func (UnarchiveVirtualCurrency400JSONResponseBodyObject) Valid ¶
func (e UnarchiveVirtualCurrency400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency400JSONResponseBodyObject enum.
type UnarchiveVirtualCurrency400JSONResponseBodyType ¶
type UnarchiveVirtualCurrency400JSONResponseBodyType string
UnarchiveVirtualCurrency400JSONResponseBodyType defines parameters for UnarchiveVirtualCurrency.
const ( UnarchiveVirtualCurrency400JSONResponseBodyTypeInvalidRequest UnarchiveVirtualCurrency400JSONResponseBodyType = "invalid_request" UnarchiveVirtualCurrency400JSONResponseBodyTypeParameterError UnarchiveVirtualCurrency400JSONResponseBodyType = "parameter_error" )
Defines values for UnarchiveVirtualCurrency400JSONResponseBodyType.
func (UnarchiveVirtualCurrency400JSONResponseBodyType) Valid ¶
func (e UnarchiveVirtualCurrency400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency400JSONResponseBodyType enum.
type UnarchiveVirtualCurrency401JSONResponseBodyObject ¶
type UnarchiveVirtualCurrency401JSONResponseBodyObject string
UnarchiveVirtualCurrency401JSONResponseBodyObject defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency401JSONResponseBodyObjectError UnarchiveVirtualCurrency401JSONResponseBodyObject = "error"
)
Defines values for UnarchiveVirtualCurrency401JSONResponseBodyObject.
func (UnarchiveVirtualCurrency401JSONResponseBodyObject) Valid ¶
func (e UnarchiveVirtualCurrency401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency401JSONResponseBodyObject enum.
type UnarchiveVirtualCurrency401JSONResponseBodyType ¶
type UnarchiveVirtualCurrency401JSONResponseBodyType string
UnarchiveVirtualCurrency401JSONResponseBodyType defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency401JSONResponseBodyTypeAuthenticationError UnarchiveVirtualCurrency401JSONResponseBodyType = "authentication_error"
)
Defines values for UnarchiveVirtualCurrency401JSONResponseBodyType.
func (UnarchiveVirtualCurrency401JSONResponseBodyType) Valid ¶
func (e UnarchiveVirtualCurrency401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency401JSONResponseBodyType enum.
type UnarchiveVirtualCurrency403JSONResponseBodyObject ¶
type UnarchiveVirtualCurrency403JSONResponseBodyObject string
UnarchiveVirtualCurrency403JSONResponseBodyObject defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency403JSONResponseBodyObjectError UnarchiveVirtualCurrency403JSONResponseBodyObject = "error"
)
Defines values for UnarchiveVirtualCurrency403JSONResponseBodyObject.
func (UnarchiveVirtualCurrency403JSONResponseBodyObject) Valid ¶
func (e UnarchiveVirtualCurrency403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency403JSONResponseBodyObject enum.
type UnarchiveVirtualCurrency403JSONResponseBodyType ¶
type UnarchiveVirtualCurrency403JSONResponseBodyType string
UnarchiveVirtualCurrency403JSONResponseBodyType defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency403JSONResponseBodyTypeAuthorizationError UnarchiveVirtualCurrency403JSONResponseBodyType = "authorization_error"
)
Defines values for UnarchiveVirtualCurrency403JSONResponseBodyType.
func (UnarchiveVirtualCurrency403JSONResponseBodyType) Valid ¶
func (e UnarchiveVirtualCurrency403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency403JSONResponseBodyType enum.
type UnarchiveVirtualCurrency404JSONResponseBodyObject ¶
type UnarchiveVirtualCurrency404JSONResponseBodyObject string
UnarchiveVirtualCurrency404JSONResponseBodyObject defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency404JSONResponseBodyObjectError UnarchiveVirtualCurrency404JSONResponseBodyObject = "error"
)
Defines values for UnarchiveVirtualCurrency404JSONResponseBodyObject.
func (UnarchiveVirtualCurrency404JSONResponseBodyObject) Valid ¶
func (e UnarchiveVirtualCurrency404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency404JSONResponseBodyObject enum.
type UnarchiveVirtualCurrency404JSONResponseBodyType ¶
type UnarchiveVirtualCurrency404JSONResponseBodyType string
UnarchiveVirtualCurrency404JSONResponseBodyType defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency404JSONResponseBodyTypeResourceMissing UnarchiveVirtualCurrency404JSONResponseBodyType = "resource_missing"
)
Defines values for UnarchiveVirtualCurrency404JSONResponseBodyType.
func (UnarchiveVirtualCurrency404JSONResponseBodyType) Valid ¶
func (e UnarchiveVirtualCurrency404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency404JSONResponseBodyType enum.
type UnarchiveVirtualCurrency409JSONResponseBodyObject ¶
type UnarchiveVirtualCurrency409JSONResponseBodyObject string
UnarchiveVirtualCurrency409JSONResponseBodyObject defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency409JSONResponseBodyObjectError UnarchiveVirtualCurrency409JSONResponseBodyObject = "error"
)
Defines values for UnarchiveVirtualCurrency409JSONResponseBodyObject.
func (UnarchiveVirtualCurrency409JSONResponseBodyObject) Valid ¶
func (e UnarchiveVirtualCurrency409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency409JSONResponseBodyObject enum.
type UnarchiveVirtualCurrency409JSONResponseBodyType ¶
type UnarchiveVirtualCurrency409JSONResponseBodyType string
UnarchiveVirtualCurrency409JSONResponseBodyType defines parameters for UnarchiveVirtualCurrency.
const ( UnarchiveVirtualCurrency409JSONResponseBodyTypeIdempotencyError UnarchiveVirtualCurrency409JSONResponseBodyType = "idempotency_error" UnarchiveVirtualCurrency409JSONResponseBodyTypeInvalidRequest UnarchiveVirtualCurrency409JSONResponseBodyType = "invalid_request" UnarchiveVirtualCurrency409JSONResponseBodyTypeResourceAlreadyExists UnarchiveVirtualCurrency409JSONResponseBodyType = "resource_already_exists" )
Defines values for UnarchiveVirtualCurrency409JSONResponseBodyType.
func (UnarchiveVirtualCurrency409JSONResponseBodyType) Valid ¶
func (e UnarchiveVirtualCurrency409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency409JSONResponseBodyType enum.
type UnarchiveVirtualCurrency422JSONResponseBodyObject ¶
type UnarchiveVirtualCurrency422JSONResponseBodyObject string
UnarchiveVirtualCurrency422JSONResponseBodyObject defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency422JSONResponseBodyObjectError UnarchiveVirtualCurrency422JSONResponseBodyObject = "error"
)
Defines values for UnarchiveVirtualCurrency422JSONResponseBodyObject.
func (UnarchiveVirtualCurrency422JSONResponseBodyObject) Valid ¶
func (e UnarchiveVirtualCurrency422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency422JSONResponseBodyObject enum.
type UnarchiveVirtualCurrency422JSONResponseBodyType ¶
type UnarchiveVirtualCurrency422JSONResponseBodyType string
UnarchiveVirtualCurrency422JSONResponseBodyType defines parameters for UnarchiveVirtualCurrency.
const ( UnarchiveVirtualCurrency422JSONResponseBodyTypeEntityReferencesArchivedEntities UnarchiveVirtualCurrency422JSONResponseBodyType = "entity_references_archived_entities" UnarchiveVirtualCurrency422JSONResponseBodyTypeParameterError UnarchiveVirtualCurrency422JSONResponseBodyType = "parameter_error" UnarchiveVirtualCurrency422JSONResponseBodyTypeStoreError UnarchiveVirtualCurrency422JSONResponseBodyType = "store_error" UnarchiveVirtualCurrency422JSONResponseBodyTypeUnprocessableEntityError UnarchiveVirtualCurrency422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for UnarchiveVirtualCurrency422JSONResponseBodyType.
func (UnarchiveVirtualCurrency422JSONResponseBodyType) Valid ¶
func (e UnarchiveVirtualCurrency422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency422JSONResponseBodyType enum.
type UnarchiveVirtualCurrency423JSONResponseBodyObject ¶
type UnarchiveVirtualCurrency423JSONResponseBodyObject string
UnarchiveVirtualCurrency423JSONResponseBodyObject defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency423JSONResponseBodyObjectError UnarchiveVirtualCurrency423JSONResponseBodyObject = "error"
)
Defines values for UnarchiveVirtualCurrency423JSONResponseBodyObject.
func (UnarchiveVirtualCurrency423JSONResponseBodyObject) Valid ¶
func (e UnarchiveVirtualCurrency423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency423JSONResponseBodyObject enum.
type UnarchiveVirtualCurrency423JSONResponseBodyType ¶
type UnarchiveVirtualCurrency423JSONResponseBodyType string
UnarchiveVirtualCurrency423JSONResponseBodyType defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency423JSONResponseBodyTypeResourceLockedError UnarchiveVirtualCurrency423JSONResponseBodyType = "resource_locked_error"
)
Defines values for UnarchiveVirtualCurrency423JSONResponseBodyType.
func (UnarchiveVirtualCurrency423JSONResponseBodyType) Valid ¶
func (e UnarchiveVirtualCurrency423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency423JSONResponseBodyType enum.
type UnarchiveVirtualCurrency429JSONResponseBodyObject ¶
type UnarchiveVirtualCurrency429JSONResponseBodyObject string
UnarchiveVirtualCurrency429JSONResponseBodyObject defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency429JSONResponseBodyObjectError UnarchiveVirtualCurrency429JSONResponseBodyObject = "error"
)
Defines values for UnarchiveVirtualCurrency429JSONResponseBodyObject.
func (UnarchiveVirtualCurrency429JSONResponseBodyObject) Valid ¶
func (e UnarchiveVirtualCurrency429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency429JSONResponseBodyObject enum.
type UnarchiveVirtualCurrency429JSONResponseBodyType ¶
type UnarchiveVirtualCurrency429JSONResponseBodyType string
UnarchiveVirtualCurrency429JSONResponseBodyType defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency429JSONResponseBodyTypeRateLimitError UnarchiveVirtualCurrency429JSONResponseBodyType = "rate_limit_error"
)
Defines values for UnarchiveVirtualCurrency429JSONResponseBodyType.
func (UnarchiveVirtualCurrency429JSONResponseBodyType) Valid ¶
func (e UnarchiveVirtualCurrency429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency429JSONResponseBodyType enum.
type UnarchiveVirtualCurrency500JSONResponseBodyObject ¶
type UnarchiveVirtualCurrency500JSONResponseBodyObject string
UnarchiveVirtualCurrency500JSONResponseBodyObject defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency500JSONResponseBodyObjectError UnarchiveVirtualCurrency500JSONResponseBodyObject = "error"
)
Defines values for UnarchiveVirtualCurrency500JSONResponseBodyObject.
func (UnarchiveVirtualCurrency500JSONResponseBodyObject) Valid ¶
func (e UnarchiveVirtualCurrency500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency500JSONResponseBodyObject enum.
type UnarchiveVirtualCurrency500JSONResponseBodyType ¶
type UnarchiveVirtualCurrency500JSONResponseBodyType string
UnarchiveVirtualCurrency500JSONResponseBodyType defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency500JSONResponseBodyTypeServerError UnarchiveVirtualCurrency500JSONResponseBodyType = "server_error"
)
Defines values for UnarchiveVirtualCurrency500JSONResponseBodyType.
func (UnarchiveVirtualCurrency500JSONResponseBodyType) Valid ¶
func (e UnarchiveVirtualCurrency500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency500JSONResponseBodyType enum.
type UnarchiveVirtualCurrency503JSONResponseBodyObject ¶
type UnarchiveVirtualCurrency503JSONResponseBodyObject string
UnarchiveVirtualCurrency503JSONResponseBodyObject defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency503JSONResponseBodyObjectError UnarchiveVirtualCurrency503JSONResponseBodyObject = "error"
)
Defines values for UnarchiveVirtualCurrency503JSONResponseBodyObject.
func (UnarchiveVirtualCurrency503JSONResponseBodyObject) Valid ¶
func (e UnarchiveVirtualCurrency503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency503JSONResponseBodyObject enum.
type UnarchiveVirtualCurrency503JSONResponseBodyType ¶
type UnarchiveVirtualCurrency503JSONResponseBodyType string
UnarchiveVirtualCurrency503JSONResponseBodyType defines parameters for UnarchiveVirtualCurrency.
const (
UnarchiveVirtualCurrency503JSONResponseBodyTypeServerError UnarchiveVirtualCurrency503JSONResponseBodyType = "server_error"
)
Defines values for UnarchiveVirtualCurrency503JSONResponseBodyType.
func (UnarchiveVirtualCurrency503JSONResponseBodyType) Valid ¶
func (e UnarchiveVirtualCurrency503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnarchiveVirtualCurrency503JSONResponseBodyType enum.
type Unauthorized ¶
type Unauthorized struct {
BackoffMs *int `json:"backoff_ms,omitempty"`
//
// Example: https://errors.rev.cat/parameter-error
DocURL *string `json:"doc_url,omitempty"`
//
// Example: id shouldn't be longer than 1,500 characters
Message string `json:"message"`
//
// Example: error
Object UnauthorizedObject `json:"object"`
//
// Example: customer_id
Param *string `json:"param,omitempty"`
//
// Example: ["prodabcd1234","prodwxyz5678"]
ReferencedObjectIds *[]string `json:"referenced_object_ids,omitempty"`
// Retryable Indicates if the error is retryable or not
//
// Example: false
}
Unauthorized defines model for Unauthorized.
type UnauthorizedObject ¶
type UnauthorizedObject string
UnauthorizedObject String representing the object's type. Objects of the same type share the same value.
Example: error
const (
)
Defines values for UnauthorizedObject.
func (UnauthorizedObject) Valid ¶
func (e UnauthorizedObject) Valid() bool
Valid indicates whether the value is a known member of the UnauthorizedObject enum.
type UnauthorizedType ¶
type UnauthorizedType string
UnauthorizedType defines model for Unauthorized.Type.
const (
)
Defines values for UnauthorizedType.
func (UnauthorizedType) Valid ¶
func (e UnauthorizedType) Valid() bool
Valid indicates whether the value is a known member of the UnauthorizedType enum.
type UnprocessableEntity ¶
type UnprocessableEntity struct {
// BackoffMs The ms the client should wait before retrying the request. Only present for retryable errors.
BackoffMs *int `json:"backoff_ms,omitempty"`
// DocURL A URL to more information about the error reported
//
// Example: https://errors.rev.cat/parameter-error
DocURL *string `json:"doc_url,omitempty"`
// Message A message describing the reason of the error
//
// Example: id shouldn't be longer than 1,500 characters
Message string `json:"message"`
// Object String representing the object's type. Objects of the same type share the same value.
//
// Example: error
Object UnprocessableEntityObject `json:"object"`
// Param If the error is parameter-specific, the parameter related to the error
//
// Example: customer_id
Param *string `json:"param,omitempty"`
// ReferencedObjectIds The IDs of related objects relevant to the error, such as the archived entities that need to be made active before the operation can succeed.
//
// Example: ["prodabcd1234","prodwxyz5678"]
ReferencedObjectIds *[]string `json:"referenced_object_ids,omitempty"`
// Retryable Indicates if the error is retryable or not
//
// Example: false
Retryable bool `json:"retryable"`
Type UnprocessableEntityType `json:"type"`
}
UnprocessableEntity defines model for UnprocessableEntity.
type UnprocessableEntityObject ¶
type UnprocessableEntityObject string
UnprocessableEntityObject String representing the object's type. Objects of the same type share the same value.
Example: error
const (
UnprocessableEntityObjectError UnprocessableEntityObject = "error"
)
Defines values for UnprocessableEntityObject.
func (UnprocessableEntityObject) Valid ¶
func (e UnprocessableEntityObject) Valid() bool
Valid indicates whether the value is a known member of the UnprocessableEntityObject enum.
type UnprocessableEntityType ¶
type UnprocessableEntityType string
UnprocessableEntityType defines model for UnprocessableEntity.Type.
const ( UnprocessableEntityTypeEntityReferencesArchivedEntities UnprocessableEntityType = "entity_references_archived_entities" UnprocessableEntityTypeParameterError UnprocessableEntityType = "parameter_error" UnprocessableEntityTypeStoreError UnprocessableEntityType = "store_error" UnprocessableEntityTypeUnprocessableEntityError UnprocessableEntityType = "unprocessable_entity_error" )
Defines values for UnprocessableEntityType.
func (UnprocessableEntityType) Valid ¶
func (e UnprocessableEntityType) Valid() bool
Valid indicates whether the value is a known member of the UnprocessableEntityType enum.
type UnpublishPaywall400JSONResponseBodyObject ¶
type UnpublishPaywall400JSONResponseBodyObject string
UnpublishPaywall400JSONResponseBodyObject defines parameters for UnpublishPaywall.
const (
UnpublishPaywall400JSONResponseBodyObjectError UnpublishPaywall400JSONResponseBodyObject = "error"
)
Defines values for UnpublishPaywall400JSONResponseBodyObject.
func (UnpublishPaywall400JSONResponseBodyObject) Valid ¶
func (e UnpublishPaywall400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall400JSONResponseBodyObject enum.
type UnpublishPaywall400JSONResponseBodyType ¶
type UnpublishPaywall400JSONResponseBodyType string
UnpublishPaywall400JSONResponseBodyType defines parameters for UnpublishPaywall.
const ( UnpublishPaywall400JSONResponseBodyTypeInvalidRequest UnpublishPaywall400JSONResponseBodyType = "invalid_request" UnpublishPaywall400JSONResponseBodyTypeParameterError UnpublishPaywall400JSONResponseBodyType = "parameter_error" )
Defines values for UnpublishPaywall400JSONResponseBodyType.
func (UnpublishPaywall400JSONResponseBodyType) Valid ¶
func (e UnpublishPaywall400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall400JSONResponseBodyType enum.
type UnpublishPaywall401JSONResponseBodyObject ¶
type UnpublishPaywall401JSONResponseBodyObject string
UnpublishPaywall401JSONResponseBodyObject defines parameters for UnpublishPaywall.
const (
UnpublishPaywall401JSONResponseBodyObjectError UnpublishPaywall401JSONResponseBodyObject = "error"
)
Defines values for UnpublishPaywall401JSONResponseBodyObject.
func (UnpublishPaywall401JSONResponseBodyObject) Valid ¶
func (e UnpublishPaywall401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall401JSONResponseBodyObject enum.
type UnpublishPaywall401JSONResponseBodyType ¶
type UnpublishPaywall401JSONResponseBodyType string
UnpublishPaywall401JSONResponseBodyType defines parameters for UnpublishPaywall.
const (
UnpublishPaywall401JSONResponseBodyTypeAuthenticationError UnpublishPaywall401JSONResponseBodyType = "authentication_error"
)
Defines values for UnpublishPaywall401JSONResponseBodyType.
func (UnpublishPaywall401JSONResponseBodyType) Valid ¶
func (e UnpublishPaywall401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall401JSONResponseBodyType enum.
type UnpublishPaywall403JSONResponseBodyObject ¶
type UnpublishPaywall403JSONResponseBodyObject string
UnpublishPaywall403JSONResponseBodyObject defines parameters for UnpublishPaywall.
const (
UnpublishPaywall403JSONResponseBodyObjectError UnpublishPaywall403JSONResponseBodyObject = "error"
)
Defines values for UnpublishPaywall403JSONResponseBodyObject.
func (UnpublishPaywall403JSONResponseBodyObject) Valid ¶
func (e UnpublishPaywall403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall403JSONResponseBodyObject enum.
type UnpublishPaywall403JSONResponseBodyType ¶
type UnpublishPaywall403JSONResponseBodyType string
UnpublishPaywall403JSONResponseBodyType defines parameters for UnpublishPaywall.
const (
UnpublishPaywall403JSONResponseBodyTypeAuthorizationError UnpublishPaywall403JSONResponseBodyType = "authorization_error"
)
Defines values for UnpublishPaywall403JSONResponseBodyType.
func (UnpublishPaywall403JSONResponseBodyType) Valid ¶
func (e UnpublishPaywall403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall403JSONResponseBodyType enum.
type UnpublishPaywall404JSONResponseBodyObject ¶
type UnpublishPaywall404JSONResponseBodyObject string
UnpublishPaywall404JSONResponseBodyObject defines parameters for UnpublishPaywall.
const (
UnpublishPaywall404JSONResponseBodyObjectError UnpublishPaywall404JSONResponseBodyObject = "error"
)
Defines values for UnpublishPaywall404JSONResponseBodyObject.
func (UnpublishPaywall404JSONResponseBodyObject) Valid ¶
func (e UnpublishPaywall404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall404JSONResponseBodyObject enum.
type UnpublishPaywall404JSONResponseBodyType ¶
type UnpublishPaywall404JSONResponseBodyType string
UnpublishPaywall404JSONResponseBodyType defines parameters for UnpublishPaywall.
const (
UnpublishPaywall404JSONResponseBodyTypeResourceMissing UnpublishPaywall404JSONResponseBodyType = "resource_missing"
)
Defines values for UnpublishPaywall404JSONResponseBodyType.
func (UnpublishPaywall404JSONResponseBodyType) Valid ¶
func (e UnpublishPaywall404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall404JSONResponseBodyType enum.
type UnpublishPaywall409JSONResponseBodyObject ¶
type UnpublishPaywall409JSONResponseBodyObject string
UnpublishPaywall409JSONResponseBodyObject defines parameters for UnpublishPaywall.
const (
UnpublishPaywall409JSONResponseBodyObjectError UnpublishPaywall409JSONResponseBodyObject = "error"
)
Defines values for UnpublishPaywall409JSONResponseBodyObject.
func (UnpublishPaywall409JSONResponseBodyObject) Valid ¶
func (e UnpublishPaywall409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall409JSONResponseBodyObject enum.
type UnpublishPaywall409JSONResponseBodyType ¶
type UnpublishPaywall409JSONResponseBodyType string
UnpublishPaywall409JSONResponseBodyType defines parameters for UnpublishPaywall.
const ( UnpublishPaywall409JSONResponseBodyTypeIdempotencyError UnpublishPaywall409JSONResponseBodyType = "idempotency_error" UnpublishPaywall409JSONResponseBodyTypeInvalidRequest UnpublishPaywall409JSONResponseBodyType = "invalid_request" UnpublishPaywall409JSONResponseBodyTypeResourceAlreadyExists UnpublishPaywall409JSONResponseBodyType = "resource_already_exists" )
Defines values for UnpublishPaywall409JSONResponseBodyType.
func (UnpublishPaywall409JSONResponseBodyType) Valid ¶
func (e UnpublishPaywall409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall409JSONResponseBodyType enum.
type UnpublishPaywall422JSONResponseBodyObject ¶
type UnpublishPaywall422JSONResponseBodyObject string
UnpublishPaywall422JSONResponseBodyObject defines parameters for UnpublishPaywall.
const (
UnpublishPaywall422JSONResponseBodyObjectError UnpublishPaywall422JSONResponseBodyObject = "error"
)
Defines values for UnpublishPaywall422JSONResponseBodyObject.
func (UnpublishPaywall422JSONResponseBodyObject) Valid ¶
func (e UnpublishPaywall422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall422JSONResponseBodyObject enum.
type UnpublishPaywall422JSONResponseBodyType ¶
type UnpublishPaywall422JSONResponseBodyType string
UnpublishPaywall422JSONResponseBodyType defines parameters for UnpublishPaywall.
const ( UnpublishPaywall422JSONResponseBodyTypeEntityReferencesArchivedEntities UnpublishPaywall422JSONResponseBodyType = "entity_references_archived_entities" UnpublishPaywall422JSONResponseBodyTypeParameterError UnpublishPaywall422JSONResponseBodyType = "parameter_error" UnpublishPaywall422JSONResponseBodyTypeStoreError UnpublishPaywall422JSONResponseBodyType = "store_error" UnpublishPaywall422JSONResponseBodyTypeUnprocessableEntityError UnpublishPaywall422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for UnpublishPaywall422JSONResponseBodyType.
func (UnpublishPaywall422JSONResponseBodyType) Valid ¶
func (e UnpublishPaywall422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall422JSONResponseBodyType enum.
type UnpublishPaywall423JSONResponseBodyObject ¶
type UnpublishPaywall423JSONResponseBodyObject string
UnpublishPaywall423JSONResponseBodyObject defines parameters for UnpublishPaywall.
const (
UnpublishPaywall423JSONResponseBodyObjectError UnpublishPaywall423JSONResponseBodyObject = "error"
)
Defines values for UnpublishPaywall423JSONResponseBodyObject.
func (UnpublishPaywall423JSONResponseBodyObject) Valid ¶
func (e UnpublishPaywall423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall423JSONResponseBodyObject enum.
type UnpublishPaywall423JSONResponseBodyType ¶
type UnpublishPaywall423JSONResponseBodyType string
UnpublishPaywall423JSONResponseBodyType defines parameters for UnpublishPaywall.
const (
UnpublishPaywall423JSONResponseBodyTypeResourceLockedError UnpublishPaywall423JSONResponseBodyType = "resource_locked_error"
)
Defines values for UnpublishPaywall423JSONResponseBodyType.
func (UnpublishPaywall423JSONResponseBodyType) Valid ¶
func (e UnpublishPaywall423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall423JSONResponseBodyType enum.
type UnpublishPaywall429JSONResponseBodyObject ¶
type UnpublishPaywall429JSONResponseBodyObject string
UnpublishPaywall429JSONResponseBodyObject defines parameters for UnpublishPaywall.
const (
UnpublishPaywall429JSONResponseBodyObjectError UnpublishPaywall429JSONResponseBodyObject = "error"
)
Defines values for UnpublishPaywall429JSONResponseBodyObject.
func (UnpublishPaywall429JSONResponseBodyObject) Valid ¶
func (e UnpublishPaywall429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall429JSONResponseBodyObject enum.
type UnpublishPaywall429JSONResponseBodyType ¶
type UnpublishPaywall429JSONResponseBodyType string
UnpublishPaywall429JSONResponseBodyType defines parameters for UnpublishPaywall.
const (
UnpublishPaywall429JSONResponseBodyTypeRateLimitError UnpublishPaywall429JSONResponseBodyType = "rate_limit_error"
)
Defines values for UnpublishPaywall429JSONResponseBodyType.
func (UnpublishPaywall429JSONResponseBodyType) Valid ¶
func (e UnpublishPaywall429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall429JSONResponseBodyType enum.
type UnpublishPaywall500JSONResponseBodyObject ¶
type UnpublishPaywall500JSONResponseBodyObject string
UnpublishPaywall500JSONResponseBodyObject defines parameters for UnpublishPaywall.
const (
UnpublishPaywall500JSONResponseBodyObjectError UnpublishPaywall500JSONResponseBodyObject = "error"
)
Defines values for UnpublishPaywall500JSONResponseBodyObject.
func (UnpublishPaywall500JSONResponseBodyObject) Valid ¶
func (e UnpublishPaywall500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall500JSONResponseBodyObject enum.
type UnpublishPaywall500JSONResponseBodyType ¶
type UnpublishPaywall500JSONResponseBodyType string
UnpublishPaywall500JSONResponseBodyType defines parameters for UnpublishPaywall.
const (
UnpublishPaywall500JSONResponseBodyTypeServerError UnpublishPaywall500JSONResponseBodyType = "server_error"
)
Defines values for UnpublishPaywall500JSONResponseBodyType.
func (UnpublishPaywall500JSONResponseBodyType) Valid ¶
func (e UnpublishPaywall500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall500JSONResponseBodyType enum.
type UnpublishPaywall503JSONResponseBodyObject ¶
type UnpublishPaywall503JSONResponseBodyObject string
UnpublishPaywall503JSONResponseBodyObject defines parameters for UnpublishPaywall.
const (
UnpublishPaywall503JSONResponseBodyObjectError UnpublishPaywall503JSONResponseBodyObject = "error"
)
Defines values for UnpublishPaywall503JSONResponseBodyObject.
func (UnpublishPaywall503JSONResponseBodyObject) Valid ¶
func (e UnpublishPaywall503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall503JSONResponseBodyObject enum.
type UnpublishPaywall503JSONResponseBodyType ¶
type UnpublishPaywall503JSONResponseBodyType string
UnpublishPaywall503JSONResponseBodyType defines parameters for UnpublishPaywall.
const (
UnpublishPaywall503JSONResponseBodyTypeServerError UnpublishPaywall503JSONResponseBodyType = "server_error"
)
Defines values for UnpublishPaywall503JSONResponseBodyType.
func (UnpublishPaywall503JSONResponseBodyType) Valid ¶
func (e UnpublishPaywall503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPaywall503JSONResponseBodyType enum.
type UpdateApp400JSONResponseBodyObject ¶
type UpdateApp400JSONResponseBodyObject string
UpdateApp400JSONResponseBodyObject defines parameters for UpdateApp.
const (
UpdateApp400JSONResponseBodyObjectError UpdateApp400JSONResponseBodyObject = "error"
)
Defines values for UpdateApp400JSONResponseBodyObject.
func (UpdateApp400JSONResponseBodyObject) Valid ¶
func (e UpdateApp400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp400JSONResponseBodyObject enum.
type UpdateApp400JSONResponseBodyType ¶
type UpdateApp400JSONResponseBodyType string
UpdateApp400JSONResponseBodyType defines parameters for UpdateApp.
const ( UpdateApp400JSONResponseBodyTypeInvalidRequest UpdateApp400JSONResponseBodyType = "invalid_request" UpdateApp400JSONResponseBodyTypeParameterError UpdateApp400JSONResponseBodyType = "parameter_error" )
Defines values for UpdateApp400JSONResponseBodyType.
func (UpdateApp400JSONResponseBodyType) Valid ¶
func (e UpdateApp400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp400JSONResponseBodyType enum.
type UpdateApp401JSONResponseBodyObject ¶
type UpdateApp401JSONResponseBodyObject string
UpdateApp401JSONResponseBodyObject defines parameters for UpdateApp.
const (
UpdateApp401JSONResponseBodyObjectError UpdateApp401JSONResponseBodyObject = "error"
)
Defines values for UpdateApp401JSONResponseBodyObject.
func (UpdateApp401JSONResponseBodyObject) Valid ¶
func (e UpdateApp401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp401JSONResponseBodyObject enum.
type UpdateApp401JSONResponseBodyType ¶
type UpdateApp401JSONResponseBodyType string
UpdateApp401JSONResponseBodyType defines parameters for UpdateApp.
const (
UpdateApp401JSONResponseBodyTypeAuthenticationError UpdateApp401JSONResponseBodyType = "authentication_error"
)
Defines values for UpdateApp401JSONResponseBodyType.
func (UpdateApp401JSONResponseBodyType) Valid ¶
func (e UpdateApp401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp401JSONResponseBodyType enum.
type UpdateApp403JSONResponseBodyObject ¶
type UpdateApp403JSONResponseBodyObject string
UpdateApp403JSONResponseBodyObject defines parameters for UpdateApp.
const (
UpdateApp403JSONResponseBodyObjectError UpdateApp403JSONResponseBodyObject = "error"
)
Defines values for UpdateApp403JSONResponseBodyObject.
func (UpdateApp403JSONResponseBodyObject) Valid ¶
func (e UpdateApp403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp403JSONResponseBodyObject enum.
type UpdateApp403JSONResponseBodyType ¶
type UpdateApp403JSONResponseBodyType string
UpdateApp403JSONResponseBodyType defines parameters for UpdateApp.
const (
UpdateApp403JSONResponseBodyTypeAuthorizationError UpdateApp403JSONResponseBodyType = "authorization_error"
)
Defines values for UpdateApp403JSONResponseBodyType.
func (UpdateApp403JSONResponseBodyType) Valid ¶
func (e UpdateApp403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp403JSONResponseBodyType enum.
type UpdateApp404JSONResponseBodyObject ¶
type UpdateApp404JSONResponseBodyObject string
UpdateApp404JSONResponseBodyObject defines parameters for UpdateApp.
const (
UpdateApp404JSONResponseBodyObjectError UpdateApp404JSONResponseBodyObject = "error"
)
Defines values for UpdateApp404JSONResponseBodyObject.
func (UpdateApp404JSONResponseBodyObject) Valid ¶
func (e UpdateApp404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp404JSONResponseBodyObject enum.
type UpdateApp404JSONResponseBodyType ¶
type UpdateApp404JSONResponseBodyType string
UpdateApp404JSONResponseBodyType defines parameters for UpdateApp.
const (
UpdateApp404JSONResponseBodyTypeResourceMissing UpdateApp404JSONResponseBodyType = "resource_missing"
)
Defines values for UpdateApp404JSONResponseBodyType.
func (UpdateApp404JSONResponseBodyType) Valid ¶
func (e UpdateApp404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp404JSONResponseBodyType enum.
type UpdateApp409JSONResponseBodyObject ¶
type UpdateApp409JSONResponseBodyObject string
UpdateApp409JSONResponseBodyObject defines parameters for UpdateApp.
const (
UpdateApp409JSONResponseBodyObjectError UpdateApp409JSONResponseBodyObject = "error"
)
Defines values for UpdateApp409JSONResponseBodyObject.
func (UpdateApp409JSONResponseBodyObject) Valid ¶
func (e UpdateApp409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp409JSONResponseBodyObject enum.
type UpdateApp409JSONResponseBodyType ¶
type UpdateApp409JSONResponseBodyType string
UpdateApp409JSONResponseBodyType defines parameters for UpdateApp.
const ( UpdateApp409JSONResponseBodyTypeIdempotencyError UpdateApp409JSONResponseBodyType = "idempotency_error" UpdateApp409JSONResponseBodyTypeInvalidRequest UpdateApp409JSONResponseBodyType = "invalid_request" UpdateApp409JSONResponseBodyTypeResourceAlreadyExists UpdateApp409JSONResponseBodyType = "resource_already_exists" )
Defines values for UpdateApp409JSONResponseBodyType.
func (UpdateApp409JSONResponseBodyType) Valid ¶
func (e UpdateApp409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp409JSONResponseBodyType enum.
type UpdateApp422JSONResponseBodyObject ¶
type UpdateApp422JSONResponseBodyObject string
UpdateApp422JSONResponseBodyObject defines parameters for UpdateApp.
const (
UpdateApp422JSONResponseBodyObjectError UpdateApp422JSONResponseBodyObject = "error"
)
Defines values for UpdateApp422JSONResponseBodyObject.
func (UpdateApp422JSONResponseBodyObject) Valid ¶
func (e UpdateApp422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp422JSONResponseBodyObject enum.
type UpdateApp422JSONResponseBodyType ¶
type UpdateApp422JSONResponseBodyType string
UpdateApp422JSONResponseBodyType defines parameters for UpdateApp.
const ( UpdateApp422JSONResponseBodyTypeEntityReferencesArchivedEntities UpdateApp422JSONResponseBodyType = "entity_references_archived_entities" UpdateApp422JSONResponseBodyTypeParameterError UpdateApp422JSONResponseBodyType = "parameter_error" UpdateApp422JSONResponseBodyTypeStoreError UpdateApp422JSONResponseBodyType = "store_error" UpdateApp422JSONResponseBodyTypeUnprocessableEntityError UpdateApp422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for UpdateApp422JSONResponseBodyType.
func (UpdateApp422JSONResponseBodyType) Valid ¶
func (e UpdateApp422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp422JSONResponseBodyType enum.
type UpdateApp423JSONResponseBodyObject ¶
type UpdateApp423JSONResponseBodyObject string
UpdateApp423JSONResponseBodyObject defines parameters for UpdateApp.
const (
UpdateApp423JSONResponseBodyObjectError UpdateApp423JSONResponseBodyObject = "error"
)
Defines values for UpdateApp423JSONResponseBodyObject.
func (UpdateApp423JSONResponseBodyObject) Valid ¶
func (e UpdateApp423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp423JSONResponseBodyObject enum.
type UpdateApp423JSONResponseBodyType ¶
type UpdateApp423JSONResponseBodyType string
UpdateApp423JSONResponseBodyType defines parameters for UpdateApp.
const (
UpdateApp423JSONResponseBodyTypeResourceLockedError UpdateApp423JSONResponseBodyType = "resource_locked_error"
)
Defines values for UpdateApp423JSONResponseBodyType.
func (UpdateApp423JSONResponseBodyType) Valid ¶
func (e UpdateApp423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp423JSONResponseBodyType enum.
type UpdateApp429JSONResponseBodyObject ¶
type UpdateApp429JSONResponseBodyObject string
UpdateApp429JSONResponseBodyObject defines parameters for UpdateApp.
const (
UpdateApp429JSONResponseBodyObjectError UpdateApp429JSONResponseBodyObject = "error"
)
Defines values for UpdateApp429JSONResponseBodyObject.
func (UpdateApp429JSONResponseBodyObject) Valid ¶
func (e UpdateApp429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp429JSONResponseBodyObject enum.
type UpdateApp429JSONResponseBodyType ¶
type UpdateApp429JSONResponseBodyType string
UpdateApp429JSONResponseBodyType defines parameters for UpdateApp.
const (
UpdateApp429JSONResponseBodyTypeRateLimitError UpdateApp429JSONResponseBodyType = "rate_limit_error"
)
Defines values for UpdateApp429JSONResponseBodyType.
func (UpdateApp429JSONResponseBodyType) Valid ¶
func (e UpdateApp429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp429JSONResponseBodyType enum.
type UpdateApp500JSONResponseBodyObject ¶
type UpdateApp500JSONResponseBodyObject string
UpdateApp500JSONResponseBodyObject defines parameters for UpdateApp.
const (
UpdateApp500JSONResponseBodyObjectError UpdateApp500JSONResponseBodyObject = "error"
)
Defines values for UpdateApp500JSONResponseBodyObject.
func (UpdateApp500JSONResponseBodyObject) Valid ¶
func (e UpdateApp500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp500JSONResponseBodyObject enum.
type UpdateApp500JSONResponseBodyType ¶
type UpdateApp500JSONResponseBodyType string
UpdateApp500JSONResponseBodyType defines parameters for UpdateApp.
const (
UpdateApp500JSONResponseBodyTypeServerError UpdateApp500JSONResponseBodyType = "server_error"
)
Defines values for UpdateApp500JSONResponseBodyType.
func (UpdateApp500JSONResponseBodyType) Valid ¶
func (e UpdateApp500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp500JSONResponseBodyType enum.
type UpdateApp502JSONResponseBodyObject ¶
type UpdateApp502JSONResponseBodyObject string
UpdateApp502JSONResponseBodyObject defines parameters for UpdateApp.
const (
UpdateApp502JSONResponseBodyObjectError UpdateApp502JSONResponseBodyObject = "error"
)
Defines values for UpdateApp502JSONResponseBodyObject.
func (UpdateApp502JSONResponseBodyObject) Valid ¶
func (e UpdateApp502JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp502JSONResponseBodyObject enum.
type UpdateApp502JSONResponseBodyType ¶
type UpdateApp502JSONResponseBodyType string
UpdateApp502JSONResponseBodyType defines parameters for UpdateApp.
const (
UpdateApp502JSONResponseBodyTypeServerError UpdateApp502JSONResponseBodyType = "server_error"
)
Defines values for UpdateApp502JSONResponseBodyType.
func (UpdateApp502JSONResponseBodyType) Valid ¶
func (e UpdateApp502JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp502JSONResponseBodyType enum.
type UpdateApp503JSONResponseBodyObject ¶
type UpdateApp503JSONResponseBodyObject string
UpdateApp503JSONResponseBodyObject defines parameters for UpdateApp.
const (
UpdateApp503JSONResponseBodyObjectError UpdateApp503JSONResponseBodyObject = "error"
)
Defines values for UpdateApp503JSONResponseBodyObject.
func (UpdateApp503JSONResponseBodyObject) Valid ¶
func (e UpdateApp503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp503JSONResponseBodyObject enum.
type UpdateApp503JSONResponseBodyType ¶
type UpdateApp503JSONResponseBodyType string
UpdateApp503JSONResponseBodyType defines parameters for UpdateApp.
const (
UpdateApp503JSONResponseBodyTypeServerError UpdateApp503JSONResponseBodyType = "server_error"
)
Defines values for UpdateApp503JSONResponseBodyType.
func (UpdateApp503JSONResponseBodyType) Valid ¶
func (e UpdateApp503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateApp503JSONResponseBodyType enum.
type UpdateAppJSONBody ¶
type UpdateAppJSONBody struct {
// Amazon Amazon type details. Should only be used when type is amazon.
Amazon *struct {
// PackageName The package name of the app
PackageName *string `json:"package_name,omitempty"`
// SharedSecret Your Amazon Developer Identity Shared Key
SharedSecret *string `json:"shared_secret,omitempty"`
} `json:"amazon,omitempty"`
// AppStore App Store type details. Should only be used when type is app_store.
AppStore *struct {
// AppStoreConnectAPIKey App Store Connect API Key downloaded from App Store Connect in PEM format. Copy the contents of the file in this field. This is optional and used for advanced features like product imports.
AppStoreConnectAPIKey *string `json:"app_store_connect_api_key,omitempty"`
// AppStoreConnectAPIKeyID App Store Connect API Key ID. The ID of the downloaded API key. You can get it from App Store Connect.
AppStoreConnectAPIKeyID *string `json:"app_store_connect_api_key_id,omitempty"`
// AppStoreConnectAPIKeyIssuer App Store Connect API Key Issuer ID.
AppStoreConnectAPIKeyIssuer *string `json:"app_store_connect_api_key_issuer,omitempty"`
// AppStoreConnectVendorNumber Your vendor number from App Store Connect. Required for some features like financial reports.
AppStoreConnectVendorNumber *string `json:"app_store_connect_vendor_number,omitempty"`
// BundleID The bundle ID of the app
BundleID *string `json:"bundle_id,omitempty"`
// SharedSecret The shared secret of the app
SharedSecret *string `json:"shared_secret,omitempty"`
// SubscriptionKeyID In App Key id. The ID of the downloaded in app key. You can get it from App Store Connect
SubscriptionKeyID *string `json:"subscription_key_id,omitempty"`
// SubscriptionKeyIssuer The key Issuer id. See instructions on how to obtain this in https://www.revenuecat.com/docs/in-app-purchase-key-configuration#3-providing-the-issuer-id-to-revenuecat
SubscriptionKeyIssuer *string `json:"subscription_key_issuer,omitempty"`
// SubscriptionPrivateKey PKCS
SubscriptionPrivateKey *string `json:"subscription_private_key,omitempty"`
} `json:"app_store,omitempty"`
// MacAppStore Legacy Mac App Store type details. Should only be used when type is mac_app_store.
MacAppStore *struct {
// BundleID The bundle ID of the app
BundleID *string `json:"bundle_id,omitempty"`
// SharedSecret The shared secret of the app
SharedSecret *string `json:"shared_secret,omitempty"`
} `json:"mac_app_store,omitempty"`
// Name The name of the app
//
// Example: My App
Name *string `json:"name,omitempty"`
// Paddle Paddle Billing type details. Should only be used when type is paddle.
Paddle *struct {
// PaddleAPIKey Paddle Server-side API key provided on the Paddle dashboard.
PaddleAPIKey *string `json:"paddle_api_key,omitempty"`
// PaddleIsSandbox Whether the app is tied to the sandbox environment.
//
// Example: true
PaddleIsSandbox *bool `json:"paddle_is_sandbox,omitempty"`
} `json:"paddle,omitempty"`
// PlayStore Play Store type details. Should only be used when type is play_store.
PlayStore *struct {
// PackageName The package name of the app
PackageName string `json:"package_name"`
} `json:"play_store,omitempty"`
// RcBilling Web Billing type details. Should only be used when type is rc_billing.
RcBilling *struct {
// AppName Shown in checkout, emails, and receipts sent to customers.
AppName *string `json:"app_name,omitempty"`
// DefaultCurrency ISO 4217 currency code
//
// Example: USD
DefaultCurrency *RCBillingCurrency `json:"default_currency,omitempty"`
// StripeAccountID It needs to be connected to your RevenueCat account. It can be omitted if you only have a single Stripe account connected to your RevenueCat account.
StripeAccountID *string `json:"stripe_account_id,omitempty"`
// SupportEmail Used as the `reply to` address in all emails sent to customers, to allow them to receive support. If you leave this field blank, your RevenueCat account email address will be used.
SupportEmail *string `json:"support_email,omitempty"`
} `json:"rc_billing,omitempty"`
// Roku Roku Channel Store type details. Should only be used when type is roku.
Roku *struct {
// RokuAPIKey Roku Pay API key provided on the Roku Pay Web Services page.
RokuAPIKey *string `json:"roku_api_key,omitempty"`
// RokuChannelID Channel ID provided on the Roku Channel page.
RokuChannelID *string `json:"roku_channel_id,omitempty"`
// RokuChannelName Channel name that is displayed on the Roku Channel page.
RokuChannelName *string `json:"roku_channel_name,omitempty"`
} `json:"roku,omitempty"`
// Stripe Stripe type details. Should only be used when type is stripe.
Stripe *struct {
// StripeAccountID It needs to be connected to your RevenueCat account. It can be omitted if you only have a single Stripe account connected to your RevenueCat account.
StripeAccountID *string `json:"stripe_account_id,omitempty"`
} `json:"stripe,omitempty"`
}
UpdateAppJSONBody defines parameters for UpdateApp.
type UpdateAppJSONRequestBody ¶
type UpdateAppJSONRequestBody UpdateAppJSONBody
UpdateAppJSONRequestBody defines body for UpdateApp for application/json ContentType.
type UpdateEntitlement400JSONResponseBodyObject ¶
type UpdateEntitlement400JSONResponseBodyObject string
UpdateEntitlement400JSONResponseBodyObject defines parameters for UpdateEntitlement.
const (
UpdateEntitlement400JSONResponseBodyObjectError UpdateEntitlement400JSONResponseBodyObject = "error"
)
Defines values for UpdateEntitlement400JSONResponseBodyObject.
func (UpdateEntitlement400JSONResponseBodyObject) Valid ¶
func (e UpdateEntitlement400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement400JSONResponseBodyObject enum.
type UpdateEntitlement400JSONResponseBodyType ¶
type UpdateEntitlement400JSONResponseBodyType string
UpdateEntitlement400JSONResponseBodyType defines parameters for UpdateEntitlement.
const ( UpdateEntitlement400JSONResponseBodyTypeInvalidRequest UpdateEntitlement400JSONResponseBodyType = "invalid_request" UpdateEntitlement400JSONResponseBodyTypeParameterError UpdateEntitlement400JSONResponseBodyType = "parameter_error" )
Defines values for UpdateEntitlement400JSONResponseBodyType.
func (UpdateEntitlement400JSONResponseBodyType) Valid ¶
func (e UpdateEntitlement400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement400JSONResponseBodyType enum.
type UpdateEntitlement401JSONResponseBodyObject ¶
type UpdateEntitlement401JSONResponseBodyObject string
UpdateEntitlement401JSONResponseBodyObject defines parameters for UpdateEntitlement.
const (
UpdateEntitlement401JSONResponseBodyObjectError UpdateEntitlement401JSONResponseBodyObject = "error"
)
Defines values for UpdateEntitlement401JSONResponseBodyObject.
func (UpdateEntitlement401JSONResponseBodyObject) Valid ¶
func (e UpdateEntitlement401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement401JSONResponseBodyObject enum.
type UpdateEntitlement401JSONResponseBodyType ¶
type UpdateEntitlement401JSONResponseBodyType string
UpdateEntitlement401JSONResponseBodyType defines parameters for UpdateEntitlement.
const (
UpdateEntitlement401JSONResponseBodyTypeAuthenticationError UpdateEntitlement401JSONResponseBodyType = "authentication_error"
)
Defines values for UpdateEntitlement401JSONResponseBodyType.
func (UpdateEntitlement401JSONResponseBodyType) Valid ¶
func (e UpdateEntitlement401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement401JSONResponseBodyType enum.
type UpdateEntitlement403JSONResponseBodyObject ¶
type UpdateEntitlement403JSONResponseBodyObject string
UpdateEntitlement403JSONResponseBodyObject defines parameters for UpdateEntitlement.
const (
UpdateEntitlement403JSONResponseBodyObjectError UpdateEntitlement403JSONResponseBodyObject = "error"
)
Defines values for UpdateEntitlement403JSONResponseBodyObject.
func (UpdateEntitlement403JSONResponseBodyObject) Valid ¶
func (e UpdateEntitlement403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement403JSONResponseBodyObject enum.
type UpdateEntitlement403JSONResponseBodyType ¶
type UpdateEntitlement403JSONResponseBodyType string
UpdateEntitlement403JSONResponseBodyType defines parameters for UpdateEntitlement.
const (
UpdateEntitlement403JSONResponseBodyTypeAuthorizationError UpdateEntitlement403JSONResponseBodyType = "authorization_error"
)
Defines values for UpdateEntitlement403JSONResponseBodyType.
func (UpdateEntitlement403JSONResponseBodyType) Valid ¶
func (e UpdateEntitlement403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement403JSONResponseBodyType enum.
type UpdateEntitlement404JSONResponseBodyObject ¶
type UpdateEntitlement404JSONResponseBodyObject string
UpdateEntitlement404JSONResponseBodyObject defines parameters for UpdateEntitlement.
const (
UpdateEntitlement404JSONResponseBodyObjectError UpdateEntitlement404JSONResponseBodyObject = "error"
)
Defines values for UpdateEntitlement404JSONResponseBodyObject.
func (UpdateEntitlement404JSONResponseBodyObject) Valid ¶
func (e UpdateEntitlement404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement404JSONResponseBodyObject enum.
type UpdateEntitlement404JSONResponseBodyType ¶
type UpdateEntitlement404JSONResponseBodyType string
UpdateEntitlement404JSONResponseBodyType defines parameters for UpdateEntitlement.
const (
UpdateEntitlement404JSONResponseBodyTypeResourceMissing UpdateEntitlement404JSONResponseBodyType = "resource_missing"
)
Defines values for UpdateEntitlement404JSONResponseBodyType.
func (UpdateEntitlement404JSONResponseBodyType) Valid ¶
func (e UpdateEntitlement404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement404JSONResponseBodyType enum.
type UpdateEntitlement409JSONResponseBodyObject ¶
type UpdateEntitlement409JSONResponseBodyObject string
UpdateEntitlement409JSONResponseBodyObject defines parameters for UpdateEntitlement.
const (
UpdateEntitlement409JSONResponseBodyObjectError UpdateEntitlement409JSONResponseBodyObject = "error"
)
Defines values for UpdateEntitlement409JSONResponseBodyObject.
func (UpdateEntitlement409JSONResponseBodyObject) Valid ¶
func (e UpdateEntitlement409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement409JSONResponseBodyObject enum.
type UpdateEntitlement409JSONResponseBodyType ¶
type UpdateEntitlement409JSONResponseBodyType string
UpdateEntitlement409JSONResponseBodyType defines parameters for UpdateEntitlement.
const ( UpdateEntitlement409JSONResponseBodyTypeIdempotencyError UpdateEntitlement409JSONResponseBodyType = "idempotency_error" UpdateEntitlement409JSONResponseBodyTypeInvalidRequest UpdateEntitlement409JSONResponseBodyType = "invalid_request" UpdateEntitlement409JSONResponseBodyTypeResourceAlreadyExists UpdateEntitlement409JSONResponseBodyType = "resource_already_exists" )
Defines values for UpdateEntitlement409JSONResponseBodyType.
func (UpdateEntitlement409JSONResponseBodyType) Valid ¶
func (e UpdateEntitlement409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement409JSONResponseBodyType enum.
type UpdateEntitlement422JSONResponseBodyObject ¶
type UpdateEntitlement422JSONResponseBodyObject string
UpdateEntitlement422JSONResponseBodyObject defines parameters for UpdateEntitlement.
const (
UpdateEntitlement422JSONResponseBodyObjectError UpdateEntitlement422JSONResponseBodyObject = "error"
)
Defines values for UpdateEntitlement422JSONResponseBodyObject.
func (UpdateEntitlement422JSONResponseBodyObject) Valid ¶
func (e UpdateEntitlement422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement422JSONResponseBodyObject enum.
type UpdateEntitlement422JSONResponseBodyType ¶
type UpdateEntitlement422JSONResponseBodyType string
UpdateEntitlement422JSONResponseBodyType defines parameters for UpdateEntitlement.
const ( UpdateEntitlement422JSONResponseBodyTypeEntityReferencesArchivedEntities UpdateEntitlement422JSONResponseBodyType = "entity_references_archived_entities" UpdateEntitlement422JSONResponseBodyTypeParameterError UpdateEntitlement422JSONResponseBodyType = "parameter_error" UpdateEntitlement422JSONResponseBodyTypeStoreError UpdateEntitlement422JSONResponseBodyType = "store_error" UpdateEntitlement422JSONResponseBodyTypeUnprocessableEntityError UpdateEntitlement422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for UpdateEntitlement422JSONResponseBodyType.
func (UpdateEntitlement422JSONResponseBodyType) Valid ¶
func (e UpdateEntitlement422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement422JSONResponseBodyType enum.
type UpdateEntitlement423JSONResponseBodyObject ¶
type UpdateEntitlement423JSONResponseBodyObject string
UpdateEntitlement423JSONResponseBodyObject defines parameters for UpdateEntitlement.
const (
UpdateEntitlement423JSONResponseBodyObjectError UpdateEntitlement423JSONResponseBodyObject = "error"
)
Defines values for UpdateEntitlement423JSONResponseBodyObject.
func (UpdateEntitlement423JSONResponseBodyObject) Valid ¶
func (e UpdateEntitlement423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement423JSONResponseBodyObject enum.
type UpdateEntitlement423JSONResponseBodyType ¶
type UpdateEntitlement423JSONResponseBodyType string
UpdateEntitlement423JSONResponseBodyType defines parameters for UpdateEntitlement.
const (
UpdateEntitlement423JSONResponseBodyTypeResourceLockedError UpdateEntitlement423JSONResponseBodyType = "resource_locked_error"
)
Defines values for UpdateEntitlement423JSONResponseBodyType.
func (UpdateEntitlement423JSONResponseBodyType) Valid ¶
func (e UpdateEntitlement423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement423JSONResponseBodyType enum.
type UpdateEntitlement429JSONResponseBodyObject ¶
type UpdateEntitlement429JSONResponseBodyObject string
UpdateEntitlement429JSONResponseBodyObject defines parameters for UpdateEntitlement.
const (
UpdateEntitlement429JSONResponseBodyObjectError UpdateEntitlement429JSONResponseBodyObject = "error"
)
Defines values for UpdateEntitlement429JSONResponseBodyObject.
func (UpdateEntitlement429JSONResponseBodyObject) Valid ¶
func (e UpdateEntitlement429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement429JSONResponseBodyObject enum.
type UpdateEntitlement429JSONResponseBodyType ¶
type UpdateEntitlement429JSONResponseBodyType string
UpdateEntitlement429JSONResponseBodyType defines parameters for UpdateEntitlement.
const (
UpdateEntitlement429JSONResponseBodyTypeRateLimitError UpdateEntitlement429JSONResponseBodyType = "rate_limit_error"
)
Defines values for UpdateEntitlement429JSONResponseBodyType.
func (UpdateEntitlement429JSONResponseBodyType) Valid ¶
func (e UpdateEntitlement429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement429JSONResponseBodyType enum.
type UpdateEntitlement500JSONResponseBodyObject ¶
type UpdateEntitlement500JSONResponseBodyObject string
UpdateEntitlement500JSONResponseBodyObject defines parameters for UpdateEntitlement.
const (
UpdateEntitlement500JSONResponseBodyObjectError UpdateEntitlement500JSONResponseBodyObject = "error"
)
Defines values for UpdateEntitlement500JSONResponseBodyObject.
func (UpdateEntitlement500JSONResponseBodyObject) Valid ¶
func (e UpdateEntitlement500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement500JSONResponseBodyObject enum.
type UpdateEntitlement500JSONResponseBodyType ¶
type UpdateEntitlement500JSONResponseBodyType string
UpdateEntitlement500JSONResponseBodyType defines parameters for UpdateEntitlement.
const (
UpdateEntitlement500JSONResponseBodyTypeServerError UpdateEntitlement500JSONResponseBodyType = "server_error"
)
Defines values for UpdateEntitlement500JSONResponseBodyType.
func (UpdateEntitlement500JSONResponseBodyType) Valid ¶
func (e UpdateEntitlement500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement500JSONResponseBodyType enum.
type UpdateEntitlement503JSONResponseBodyObject ¶
type UpdateEntitlement503JSONResponseBodyObject string
UpdateEntitlement503JSONResponseBodyObject defines parameters for UpdateEntitlement.
const (
UpdateEntitlement503JSONResponseBodyObjectError UpdateEntitlement503JSONResponseBodyObject = "error"
)
Defines values for UpdateEntitlement503JSONResponseBodyObject.
func (UpdateEntitlement503JSONResponseBodyObject) Valid ¶
func (e UpdateEntitlement503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement503JSONResponseBodyObject enum.
type UpdateEntitlement503JSONResponseBodyType ¶
type UpdateEntitlement503JSONResponseBodyType string
UpdateEntitlement503JSONResponseBodyType defines parameters for UpdateEntitlement.
const (
UpdateEntitlement503JSONResponseBodyTypeServerError UpdateEntitlement503JSONResponseBodyType = "server_error"
)
Defines values for UpdateEntitlement503JSONResponseBodyType.
func (UpdateEntitlement503JSONResponseBodyType) Valid ¶
func (e UpdateEntitlement503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateEntitlement503JSONResponseBodyType enum.
type UpdateEntitlementJSONBody ¶
type UpdateEntitlementJSONBody struct {
// DisplayName The display name of the entitlement
//
// Example: Premium
DisplayName string `json:"display_name"`
}
UpdateEntitlementJSONBody defines parameters for UpdateEntitlement.
type UpdateEntitlementJSONRequestBody ¶
type UpdateEntitlementJSONRequestBody UpdateEntitlementJSONBody
UpdateEntitlementJSONRequestBody defines body for UpdateEntitlement for application/json ContentType.
type UpdateOffering400JSONResponseBodyObject ¶
type UpdateOffering400JSONResponseBodyObject string
UpdateOffering400JSONResponseBodyObject defines parameters for UpdateOffering.
const (
UpdateOffering400JSONResponseBodyObjectError UpdateOffering400JSONResponseBodyObject = "error"
)
Defines values for UpdateOffering400JSONResponseBodyObject.
func (UpdateOffering400JSONResponseBodyObject) Valid ¶
func (e UpdateOffering400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering400JSONResponseBodyObject enum.
type UpdateOffering400JSONResponseBodyType ¶
type UpdateOffering400JSONResponseBodyType string
UpdateOffering400JSONResponseBodyType defines parameters for UpdateOffering.
const ( UpdateOffering400JSONResponseBodyTypeInvalidRequest UpdateOffering400JSONResponseBodyType = "invalid_request" UpdateOffering400JSONResponseBodyTypeParameterError UpdateOffering400JSONResponseBodyType = "parameter_error" )
Defines values for UpdateOffering400JSONResponseBodyType.
func (UpdateOffering400JSONResponseBodyType) Valid ¶
func (e UpdateOffering400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering400JSONResponseBodyType enum.
type UpdateOffering401JSONResponseBodyObject ¶
type UpdateOffering401JSONResponseBodyObject string
UpdateOffering401JSONResponseBodyObject defines parameters for UpdateOffering.
const (
UpdateOffering401JSONResponseBodyObjectError UpdateOffering401JSONResponseBodyObject = "error"
)
Defines values for UpdateOffering401JSONResponseBodyObject.
func (UpdateOffering401JSONResponseBodyObject) Valid ¶
func (e UpdateOffering401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering401JSONResponseBodyObject enum.
type UpdateOffering401JSONResponseBodyType ¶
type UpdateOffering401JSONResponseBodyType string
UpdateOffering401JSONResponseBodyType defines parameters for UpdateOffering.
const (
UpdateOffering401JSONResponseBodyTypeAuthenticationError UpdateOffering401JSONResponseBodyType = "authentication_error"
)
Defines values for UpdateOffering401JSONResponseBodyType.
func (UpdateOffering401JSONResponseBodyType) Valid ¶
func (e UpdateOffering401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering401JSONResponseBodyType enum.
type UpdateOffering403JSONResponseBodyObject ¶
type UpdateOffering403JSONResponseBodyObject string
UpdateOffering403JSONResponseBodyObject defines parameters for UpdateOffering.
const (
UpdateOffering403JSONResponseBodyObjectError UpdateOffering403JSONResponseBodyObject = "error"
)
Defines values for UpdateOffering403JSONResponseBodyObject.
func (UpdateOffering403JSONResponseBodyObject) Valid ¶
func (e UpdateOffering403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering403JSONResponseBodyObject enum.
type UpdateOffering403JSONResponseBodyType ¶
type UpdateOffering403JSONResponseBodyType string
UpdateOffering403JSONResponseBodyType defines parameters for UpdateOffering.
const (
UpdateOffering403JSONResponseBodyTypeAuthorizationError UpdateOffering403JSONResponseBodyType = "authorization_error"
)
Defines values for UpdateOffering403JSONResponseBodyType.
func (UpdateOffering403JSONResponseBodyType) Valid ¶
func (e UpdateOffering403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering403JSONResponseBodyType enum.
type UpdateOffering404JSONResponseBodyObject ¶
type UpdateOffering404JSONResponseBodyObject string
UpdateOffering404JSONResponseBodyObject defines parameters for UpdateOffering.
const (
UpdateOffering404JSONResponseBodyObjectError UpdateOffering404JSONResponseBodyObject = "error"
)
Defines values for UpdateOffering404JSONResponseBodyObject.
func (UpdateOffering404JSONResponseBodyObject) Valid ¶
func (e UpdateOffering404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering404JSONResponseBodyObject enum.
type UpdateOffering404JSONResponseBodyType ¶
type UpdateOffering404JSONResponseBodyType string
UpdateOffering404JSONResponseBodyType defines parameters for UpdateOffering.
const (
UpdateOffering404JSONResponseBodyTypeResourceMissing UpdateOffering404JSONResponseBodyType = "resource_missing"
)
Defines values for UpdateOffering404JSONResponseBodyType.
func (UpdateOffering404JSONResponseBodyType) Valid ¶
func (e UpdateOffering404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering404JSONResponseBodyType enum.
type UpdateOffering409JSONResponseBodyObject ¶
type UpdateOffering409JSONResponseBodyObject string
UpdateOffering409JSONResponseBodyObject defines parameters for UpdateOffering.
const (
UpdateOffering409JSONResponseBodyObjectError UpdateOffering409JSONResponseBodyObject = "error"
)
Defines values for UpdateOffering409JSONResponseBodyObject.
func (UpdateOffering409JSONResponseBodyObject) Valid ¶
func (e UpdateOffering409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering409JSONResponseBodyObject enum.
type UpdateOffering409JSONResponseBodyType ¶
type UpdateOffering409JSONResponseBodyType string
UpdateOffering409JSONResponseBodyType defines parameters for UpdateOffering.
const ( UpdateOffering409JSONResponseBodyTypeIdempotencyError UpdateOffering409JSONResponseBodyType = "idempotency_error" UpdateOffering409JSONResponseBodyTypeInvalidRequest UpdateOffering409JSONResponseBodyType = "invalid_request" UpdateOffering409JSONResponseBodyTypeResourceAlreadyExists UpdateOffering409JSONResponseBodyType = "resource_already_exists" )
Defines values for UpdateOffering409JSONResponseBodyType.
func (UpdateOffering409JSONResponseBodyType) Valid ¶
func (e UpdateOffering409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering409JSONResponseBodyType enum.
type UpdateOffering422JSONResponseBodyObject ¶
type UpdateOffering422JSONResponseBodyObject string
UpdateOffering422JSONResponseBodyObject defines parameters for UpdateOffering.
const (
UpdateOffering422JSONResponseBodyObjectError UpdateOffering422JSONResponseBodyObject = "error"
)
Defines values for UpdateOffering422JSONResponseBodyObject.
func (UpdateOffering422JSONResponseBodyObject) Valid ¶
func (e UpdateOffering422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering422JSONResponseBodyObject enum.
type UpdateOffering422JSONResponseBodyType ¶
type UpdateOffering422JSONResponseBodyType string
UpdateOffering422JSONResponseBodyType defines parameters for UpdateOffering.
const ( UpdateOffering422JSONResponseBodyTypeEntityReferencesArchivedEntities UpdateOffering422JSONResponseBodyType = "entity_references_archived_entities" UpdateOffering422JSONResponseBodyTypeParameterError UpdateOffering422JSONResponseBodyType = "parameter_error" UpdateOffering422JSONResponseBodyTypeStoreError UpdateOffering422JSONResponseBodyType = "store_error" UpdateOffering422JSONResponseBodyTypeUnprocessableEntityError UpdateOffering422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for UpdateOffering422JSONResponseBodyType.
func (UpdateOffering422JSONResponseBodyType) Valid ¶
func (e UpdateOffering422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering422JSONResponseBodyType enum.
type UpdateOffering423JSONResponseBodyObject ¶
type UpdateOffering423JSONResponseBodyObject string
UpdateOffering423JSONResponseBodyObject defines parameters for UpdateOffering.
const (
UpdateOffering423JSONResponseBodyObjectError UpdateOffering423JSONResponseBodyObject = "error"
)
Defines values for UpdateOffering423JSONResponseBodyObject.
func (UpdateOffering423JSONResponseBodyObject) Valid ¶
func (e UpdateOffering423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering423JSONResponseBodyObject enum.
type UpdateOffering423JSONResponseBodyType ¶
type UpdateOffering423JSONResponseBodyType string
UpdateOffering423JSONResponseBodyType defines parameters for UpdateOffering.
const (
UpdateOffering423JSONResponseBodyTypeResourceLockedError UpdateOffering423JSONResponseBodyType = "resource_locked_error"
)
Defines values for UpdateOffering423JSONResponseBodyType.
func (UpdateOffering423JSONResponseBodyType) Valid ¶
func (e UpdateOffering423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering423JSONResponseBodyType enum.
type UpdateOffering429JSONResponseBodyObject ¶
type UpdateOffering429JSONResponseBodyObject string
UpdateOffering429JSONResponseBodyObject defines parameters for UpdateOffering.
const (
UpdateOffering429JSONResponseBodyObjectError UpdateOffering429JSONResponseBodyObject = "error"
)
Defines values for UpdateOffering429JSONResponseBodyObject.
func (UpdateOffering429JSONResponseBodyObject) Valid ¶
func (e UpdateOffering429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering429JSONResponseBodyObject enum.
type UpdateOffering429JSONResponseBodyType ¶
type UpdateOffering429JSONResponseBodyType string
UpdateOffering429JSONResponseBodyType defines parameters for UpdateOffering.
const (
UpdateOffering429JSONResponseBodyTypeRateLimitError UpdateOffering429JSONResponseBodyType = "rate_limit_error"
)
Defines values for UpdateOffering429JSONResponseBodyType.
func (UpdateOffering429JSONResponseBodyType) Valid ¶
func (e UpdateOffering429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering429JSONResponseBodyType enum.
type UpdateOffering500JSONResponseBodyObject ¶
type UpdateOffering500JSONResponseBodyObject string
UpdateOffering500JSONResponseBodyObject defines parameters for UpdateOffering.
const (
UpdateOffering500JSONResponseBodyObjectError UpdateOffering500JSONResponseBodyObject = "error"
)
Defines values for UpdateOffering500JSONResponseBodyObject.
func (UpdateOffering500JSONResponseBodyObject) Valid ¶
func (e UpdateOffering500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering500JSONResponseBodyObject enum.
type UpdateOffering500JSONResponseBodyType ¶
type UpdateOffering500JSONResponseBodyType string
UpdateOffering500JSONResponseBodyType defines parameters for UpdateOffering.
const (
UpdateOffering500JSONResponseBodyTypeServerError UpdateOffering500JSONResponseBodyType = "server_error"
)
Defines values for UpdateOffering500JSONResponseBodyType.
func (UpdateOffering500JSONResponseBodyType) Valid ¶
func (e UpdateOffering500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering500JSONResponseBodyType enum.
type UpdateOffering503JSONResponseBodyObject ¶
type UpdateOffering503JSONResponseBodyObject string
UpdateOffering503JSONResponseBodyObject defines parameters for UpdateOffering.
const (
UpdateOffering503JSONResponseBodyObjectError UpdateOffering503JSONResponseBodyObject = "error"
)
Defines values for UpdateOffering503JSONResponseBodyObject.
func (UpdateOffering503JSONResponseBodyObject) Valid ¶
func (e UpdateOffering503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering503JSONResponseBodyObject enum.
type UpdateOffering503JSONResponseBodyType ¶
type UpdateOffering503JSONResponseBodyType string
UpdateOffering503JSONResponseBodyType defines parameters for UpdateOffering.
const (
UpdateOffering503JSONResponseBodyTypeServerError UpdateOffering503JSONResponseBodyType = "server_error"
)
Defines values for UpdateOffering503JSONResponseBodyType.
func (UpdateOffering503JSONResponseBodyType) Valid ¶
func (e UpdateOffering503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateOffering503JSONResponseBodyType enum.
type UpdateOfferingJSONBody ¶
type UpdateOfferingJSONBody struct {
// DisplayName The display name of the offering
//
// Example: premium access to features
DisplayName *string `json:"display_name,omitempty"`
// IsCurrent Indicates if the offering is the current offering
//
// Example: true
IsCurrent *bool `json:"is_current,omitempty"`
// Metadata Custom metadata of the offering
//
// Example: {"call_to_action":"Subscribe Now!","color":"blue"}
Metadata *OfferingMetadata `json:"metadata,omitempty"`
}
UpdateOfferingJSONBody defines parameters for UpdateOffering.
type UpdateOfferingJSONRequestBody ¶
type UpdateOfferingJSONRequestBody UpdateOfferingJSONBody
UpdateOfferingJSONRequestBody defines body for UpdateOffering for application/json ContentType.
type UpdatePackage400JSONResponseBodyObject ¶
type UpdatePackage400JSONResponseBodyObject string
UpdatePackage400JSONResponseBodyObject defines parameters for UpdatePackage.
const (
UpdatePackage400JSONResponseBodyObjectError UpdatePackage400JSONResponseBodyObject = "error"
)
Defines values for UpdatePackage400JSONResponseBodyObject.
func (UpdatePackage400JSONResponseBodyObject) Valid ¶
func (e UpdatePackage400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage400JSONResponseBodyObject enum.
type UpdatePackage400JSONResponseBodyType ¶
type UpdatePackage400JSONResponseBodyType string
UpdatePackage400JSONResponseBodyType defines parameters for UpdatePackage.
const ( UpdatePackage400JSONResponseBodyTypeInvalidRequest UpdatePackage400JSONResponseBodyType = "invalid_request" UpdatePackage400JSONResponseBodyTypeParameterError UpdatePackage400JSONResponseBodyType = "parameter_error" )
Defines values for UpdatePackage400JSONResponseBodyType.
func (UpdatePackage400JSONResponseBodyType) Valid ¶
func (e UpdatePackage400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage400JSONResponseBodyType enum.
type UpdatePackage401JSONResponseBodyObject ¶
type UpdatePackage401JSONResponseBodyObject string
UpdatePackage401JSONResponseBodyObject defines parameters for UpdatePackage.
const (
UpdatePackage401JSONResponseBodyObjectError UpdatePackage401JSONResponseBodyObject = "error"
)
Defines values for UpdatePackage401JSONResponseBodyObject.
func (UpdatePackage401JSONResponseBodyObject) Valid ¶
func (e UpdatePackage401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage401JSONResponseBodyObject enum.
type UpdatePackage401JSONResponseBodyType ¶
type UpdatePackage401JSONResponseBodyType string
UpdatePackage401JSONResponseBodyType defines parameters for UpdatePackage.
const (
UpdatePackage401JSONResponseBodyTypeAuthenticationError UpdatePackage401JSONResponseBodyType = "authentication_error"
)
Defines values for UpdatePackage401JSONResponseBodyType.
func (UpdatePackage401JSONResponseBodyType) Valid ¶
func (e UpdatePackage401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage401JSONResponseBodyType enum.
type UpdatePackage403JSONResponseBodyObject ¶
type UpdatePackage403JSONResponseBodyObject string
UpdatePackage403JSONResponseBodyObject defines parameters for UpdatePackage.
const (
UpdatePackage403JSONResponseBodyObjectError UpdatePackage403JSONResponseBodyObject = "error"
)
Defines values for UpdatePackage403JSONResponseBodyObject.
func (UpdatePackage403JSONResponseBodyObject) Valid ¶
func (e UpdatePackage403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage403JSONResponseBodyObject enum.
type UpdatePackage403JSONResponseBodyType ¶
type UpdatePackage403JSONResponseBodyType string
UpdatePackage403JSONResponseBodyType defines parameters for UpdatePackage.
const (
UpdatePackage403JSONResponseBodyTypeAuthorizationError UpdatePackage403JSONResponseBodyType = "authorization_error"
)
Defines values for UpdatePackage403JSONResponseBodyType.
func (UpdatePackage403JSONResponseBodyType) Valid ¶
func (e UpdatePackage403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage403JSONResponseBodyType enum.
type UpdatePackage404JSONResponseBodyObject ¶
type UpdatePackage404JSONResponseBodyObject string
UpdatePackage404JSONResponseBodyObject defines parameters for UpdatePackage.
const (
UpdatePackage404JSONResponseBodyObjectError UpdatePackage404JSONResponseBodyObject = "error"
)
Defines values for UpdatePackage404JSONResponseBodyObject.
func (UpdatePackage404JSONResponseBodyObject) Valid ¶
func (e UpdatePackage404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage404JSONResponseBodyObject enum.
type UpdatePackage404JSONResponseBodyType ¶
type UpdatePackage404JSONResponseBodyType string
UpdatePackage404JSONResponseBodyType defines parameters for UpdatePackage.
const (
UpdatePackage404JSONResponseBodyTypeResourceMissing UpdatePackage404JSONResponseBodyType = "resource_missing"
)
Defines values for UpdatePackage404JSONResponseBodyType.
func (UpdatePackage404JSONResponseBodyType) Valid ¶
func (e UpdatePackage404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage404JSONResponseBodyType enum.
type UpdatePackage409JSONResponseBodyObject ¶
type UpdatePackage409JSONResponseBodyObject string
UpdatePackage409JSONResponseBodyObject defines parameters for UpdatePackage.
const (
UpdatePackage409JSONResponseBodyObjectError UpdatePackage409JSONResponseBodyObject = "error"
)
Defines values for UpdatePackage409JSONResponseBodyObject.
func (UpdatePackage409JSONResponseBodyObject) Valid ¶
func (e UpdatePackage409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage409JSONResponseBodyObject enum.
type UpdatePackage409JSONResponseBodyType ¶
type UpdatePackage409JSONResponseBodyType string
UpdatePackage409JSONResponseBodyType defines parameters for UpdatePackage.
const ( UpdatePackage409JSONResponseBodyTypeIdempotencyError UpdatePackage409JSONResponseBodyType = "idempotency_error" UpdatePackage409JSONResponseBodyTypeInvalidRequest UpdatePackage409JSONResponseBodyType = "invalid_request" UpdatePackage409JSONResponseBodyTypeResourceAlreadyExists UpdatePackage409JSONResponseBodyType = "resource_already_exists" )
Defines values for UpdatePackage409JSONResponseBodyType.
func (UpdatePackage409JSONResponseBodyType) Valid ¶
func (e UpdatePackage409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage409JSONResponseBodyType enum.
type UpdatePackage422JSONResponseBodyObject ¶
type UpdatePackage422JSONResponseBodyObject string
UpdatePackage422JSONResponseBodyObject defines parameters for UpdatePackage.
const (
UpdatePackage422JSONResponseBodyObjectError UpdatePackage422JSONResponseBodyObject = "error"
)
Defines values for UpdatePackage422JSONResponseBodyObject.
func (UpdatePackage422JSONResponseBodyObject) Valid ¶
func (e UpdatePackage422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage422JSONResponseBodyObject enum.
type UpdatePackage422JSONResponseBodyType ¶
type UpdatePackage422JSONResponseBodyType string
UpdatePackage422JSONResponseBodyType defines parameters for UpdatePackage.
const ( UpdatePackage422JSONResponseBodyTypeEntityReferencesArchivedEntities UpdatePackage422JSONResponseBodyType = "entity_references_archived_entities" UpdatePackage422JSONResponseBodyTypeParameterError UpdatePackage422JSONResponseBodyType = "parameter_error" UpdatePackage422JSONResponseBodyTypeStoreError UpdatePackage422JSONResponseBodyType = "store_error" UpdatePackage422JSONResponseBodyTypeUnprocessableEntityError UpdatePackage422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for UpdatePackage422JSONResponseBodyType.
func (UpdatePackage422JSONResponseBodyType) Valid ¶
func (e UpdatePackage422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage422JSONResponseBodyType enum.
type UpdatePackage423JSONResponseBodyObject ¶
type UpdatePackage423JSONResponseBodyObject string
UpdatePackage423JSONResponseBodyObject defines parameters for UpdatePackage.
const (
UpdatePackage423JSONResponseBodyObjectError UpdatePackage423JSONResponseBodyObject = "error"
)
Defines values for UpdatePackage423JSONResponseBodyObject.
func (UpdatePackage423JSONResponseBodyObject) Valid ¶
func (e UpdatePackage423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage423JSONResponseBodyObject enum.
type UpdatePackage423JSONResponseBodyType ¶
type UpdatePackage423JSONResponseBodyType string
UpdatePackage423JSONResponseBodyType defines parameters for UpdatePackage.
const (
UpdatePackage423JSONResponseBodyTypeResourceLockedError UpdatePackage423JSONResponseBodyType = "resource_locked_error"
)
Defines values for UpdatePackage423JSONResponseBodyType.
func (UpdatePackage423JSONResponseBodyType) Valid ¶
func (e UpdatePackage423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage423JSONResponseBodyType enum.
type UpdatePackage429JSONResponseBodyObject ¶
type UpdatePackage429JSONResponseBodyObject string
UpdatePackage429JSONResponseBodyObject defines parameters for UpdatePackage.
const (
UpdatePackage429JSONResponseBodyObjectError UpdatePackage429JSONResponseBodyObject = "error"
)
Defines values for UpdatePackage429JSONResponseBodyObject.
func (UpdatePackage429JSONResponseBodyObject) Valid ¶
func (e UpdatePackage429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage429JSONResponseBodyObject enum.
type UpdatePackage429JSONResponseBodyType ¶
type UpdatePackage429JSONResponseBodyType string
UpdatePackage429JSONResponseBodyType defines parameters for UpdatePackage.
const (
UpdatePackage429JSONResponseBodyTypeRateLimitError UpdatePackage429JSONResponseBodyType = "rate_limit_error"
)
Defines values for UpdatePackage429JSONResponseBodyType.
func (UpdatePackage429JSONResponseBodyType) Valid ¶
func (e UpdatePackage429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage429JSONResponseBodyType enum.
type UpdatePackage500JSONResponseBodyObject ¶
type UpdatePackage500JSONResponseBodyObject string
UpdatePackage500JSONResponseBodyObject defines parameters for UpdatePackage.
const (
UpdatePackage500JSONResponseBodyObjectError UpdatePackage500JSONResponseBodyObject = "error"
)
Defines values for UpdatePackage500JSONResponseBodyObject.
func (UpdatePackage500JSONResponseBodyObject) Valid ¶
func (e UpdatePackage500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage500JSONResponseBodyObject enum.
type UpdatePackage500JSONResponseBodyType ¶
type UpdatePackage500JSONResponseBodyType string
UpdatePackage500JSONResponseBodyType defines parameters for UpdatePackage.
const (
UpdatePackage500JSONResponseBodyTypeServerError UpdatePackage500JSONResponseBodyType = "server_error"
)
Defines values for UpdatePackage500JSONResponseBodyType.
func (UpdatePackage500JSONResponseBodyType) Valid ¶
func (e UpdatePackage500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage500JSONResponseBodyType enum.
type UpdatePackage503JSONResponseBodyObject ¶
type UpdatePackage503JSONResponseBodyObject string
UpdatePackage503JSONResponseBodyObject defines parameters for UpdatePackage.
const (
UpdatePackage503JSONResponseBodyObjectError UpdatePackage503JSONResponseBodyObject = "error"
)
Defines values for UpdatePackage503JSONResponseBodyObject.
func (UpdatePackage503JSONResponseBodyObject) Valid ¶
func (e UpdatePackage503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage503JSONResponseBodyObject enum.
type UpdatePackage503JSONResponseBodyType ¶
type UpdatePackage503JSONResponseBodyType string
UpdatePackage503JSONResponseBodyType defines parameters for UpdatePackage.
const (
UpdatePackage503JSONResponseBodyTypeServerError UpdatePackage503JSONResponseBodyType = "server_error"
)
Defines values for UpdatePackage503JSONResponseBodyType.
func (UpdatePackage503JSONResponseBodyType) Valid ¶
func (e UpdatePackage503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePackage503JSONResponseBodyType enum.
type UpdatePackageJSONBody ¶
type UpdatePackageJSONBody struct {
// DisplayName The display name of the package
//
// Example: monthly with one-week trial
DisplayName *string `json:"display_name,omitempty"`
// Position The position of the package within the offering
//
// Example: 2
Position *int `json:"position,omitempty"`
}
UpdatePackageJSONBody defines parameters for UpdatePackage.
type UpdatePackageJSONRequestBody ¶
type UpdatePackageJSONRequestBody UpdatePackageJSONBody
UpdatePackageJSONRequestBody defines body for UpdatePackage for application/json ContentType.
type UpdatePaywall400JSONResponseBodyObject ¶
type UpdatePaywall400JSONResponseBodyObject string
UpdatePaywall400JSONResponseBodyObject defines parameters for UpdatePaywall.
const (
UpdatePaywall400JSONResponseBodyObjectError UpdatePaywall400JSONResponseBodyObject = "error"
)
Defines values for UpdatePaywall400JSONResponseBodyObject.
func (UpdatePaywall400JSONResponseBodyObject) Valid ¶
func (e UpdatePaywall400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall400JSONResponseBodyObject enum.
type UpdatePaywall400JSONResponseBodyType ¶
type UpdatePaywall400JSONResponseBodyType string
UpdatePaywall400JSONResponseBodyType defines parameters for UpdatePaywall.
const ( UpdatePaywall400JSONResponseBodyTypeInvalidRequest UpdatePaywall400JSONResponseBodyType = "invalid_request" UpdatePaywall400JSONResponseBodyTypeParameterError UpdatePaywall400JSONResponseBodyType = "parameter_error" )
Defines values for UpdatePaywall400JSONResponseBodyType.
func (UpdatePaywall400JSONResponseBodyType) Valid ¶
func (e UpdatePaywall400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall400JSONResponseBodyType enum.
type UpdatePaywall401JSONResponseBodyObject ¶
type UpdatePaywall401JSONResponseBodyObject string
UpdatePaywall401JSONResponseBodyObject defines parameters for UpdatePaywall.
const (
UpdatePaywall401JSONResponseBodyObjectError UpdatePaywall401JSONResponseBodyObject = "error"
)
Defines values for UpdatePaywall401JSONResponseBodyObject.
func (UpdatePaywall401JSONResponseBodyObject) Valid ¶
func (e UpdatePaywall401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall401JSONResponseBodyObject enum.
type UpdatePaywall401JSONResponseBodyType ¶
type UpdatePaywall401JSONResponseBodyType string
UpdatePaywall401JSONResponseBodyType defines parameters for UpdatePaywall.
const (
UpdatePaywall401JSONResponseBodyTypeAuthenticationError UpdatePaywall401JSONResponseBodyType = "authentication_error"
)
Defines values for UpdatePaywall401JSONResponseBodyType.
func (UpdatePaywall401JSONResponseBodyType) Valid ¶
func (e UpdatePaywall401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall401JSONResponseBodyType enum.
type UpdatePaywall403JSONResponseBodyObject ¶
type UpdatePaywall403JSONResponseBodyObject string
UpdatePaywall403JSONResponseBodyObject defines parameters for UpdatePaywall.
const (
UpdatePaywall403JSONResponseBodyObjectError UpdatePaywall403JSONResponseBodyObject = "error"
)
Defines values for UpdatePaywall403JSONResponseBodyObject.
func (UpdatePaywall403JSONResponseBodyObject) Valid ¶
func (e UpdatePaywall403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall403JSONResponseBodyObject enum.
type UpdatePaywall403JSONResponseBodyType ¶
type UpdatePaywall403JSONResponseBodyType string
UpdatePaywall403JSONResponseBodyType defines parameters for UpdatePaywall.
const (
UpdatePaywall403JSONResponseBodyTypeAuthorizationError UpdatePaywall403JSONResponseBodyType = "authorization_error"
)
Defines values for UpdatePaywall403JSONResponseBodyType.
func (UpdatePaywall403JSONResponseBodyType) Valid ¶
func (e UpdatePaywall403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall403JSONResponseBodyType enum.
type UpdatePaywall404JSONResponseBodyObject ¶
type UpdatePaywall404JSONResponseBodyObject string
UpdatePaywall404JSONResponseBodyObject defines parameters for UpdatePaywall.
const (
UpdatePaywall404JSONResponseBodyObjectError UpdatePaywall404JSONResponseBodyObject = "error"
)
Defines values for UpdatePaywall404JSONResponseBodyObject.
func (UpdatePaywall404JSONResponseBodyObject) Valid ¶
func (e UpdatePaywall404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall404JSONResponseBodyObject enum.
type UpdatePaywall404JSONResponseBodyType ¶
type UpdatePaywall404JSONResponseBodyType string
UpdatePaywall404JSONResponseBodyType defines parameters for UpdatePaywall.
const (
UpdatePaywall404JSONResponseBodyTypeResourceMissing UpdatePaywall404JSONResponseBodyType = "resource_missing"
)
Defines values for UpdatePaywall404JSONResponseBodyType.
func (UpdatePaywall404JSONResponseBodyType) Valid ¶
func (e UpdatePaywall404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall404JSONResponseBodyType enum.
type UpdatePaywall409JSONResponseBodyObject ¶
type UpdatePaywall409JSONResponseBodyObject string
UpdatePaywall409JSONResponseBodyObject defines parameters for UpdatePaywall.
const (
UpdatePaywall409JSONResponseBodyObjectError UpdatePaywall409JSONResponseBodyObject = "error"
)
Defines values for UpdatePaywall409JSONResponseBodyObject.
func (UpdatePaywall409JSONResponseBodyObject) Valid ¶
func (e UpdatePaywall409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall409JSONResponseBodyObject enum.
type UpdatePaywall409JSONResponseBodyType ¶
type UpdatePaywall409JSONResponseBodyType string
UpdatePaywall409JSONResponseBodyType defines parameters for UpdatePaywall.
const ( UpdatePaywall409JSONResponseBodyTypeIdempotencyError UpdatePaywall409JSONResponseBodyType = "idempotency_error" UpdatePaywall409JSONResponseBodyTypeInvalidRequest UpdatePaywall409JSONResponseBodyType = "invalid_request" UpdatePaywall409JSONResponseBodyTypeResourceAlreadyExists UpdatePaywall409JSONResponseBodyType = "resource_already_exists" )
Defines values for UpdatePaywall409JSONResponseBodyType.
func (UpdatePaywall409JSONResponseBodyType) Valid ¶
func (e UpdatePaywall409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall409JSONResponseBodyType enum.
type UpdatePaywall422JSONResponseBodyObject ¶
type UpdatePaywall422JSONResponseBodyObject string
UpdatePaywall422JSONResponseBodyObject defines parameters for UpdatePaywall.
const (
UpdatePaywall422JSONResponseBodyObjectError UpdatePaywall422JSONResponseBodyObject = "error"
)
Defines values for UpdatePaywall422JSONResponseBodyObject.
func (UpdatePaywall422JSONResponseBodyObject) Valid ¶
func (e UpdatePaywall422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall422JSONResponseBodyObject enum.
type UpdatePaywall422JSONResponseBodyType ¶
type UpdatePaywall422JSONResponseBodyType string
UpdatePaywall422JSONResponseBodyType defines parameters for UpdatePaywall.
const ( UpdatePaywall422JSONResponseBodyTypeEntityReferencesArchivedEntities UpdatePaywall422JSONResponseBodyType = "entity_references_archived_entities" UpdatePaywall422JSONResponseBodyTypeParameterError UpdatePaywall422JSONResponseBodyType = "parameter_error" UpdatePaywall422JSONResponseBodyTypeStoreError UpdatePaywall422JSONResponseBodyType = "store_error" UpdatePaywall422JSONResponseBodyTypeUnprocessableEntityError UpdatePaywall422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for UpdatePaywall422JSONResponseBodyType.
func (UpdatePaywall422JSONResponseBodyType) Valid ¶
func (e UpdatePaywall422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall422JSONResponseBodyType enum.
type UpdatePaywall423JSONResponseBodyObject ¶
type UpdatePaywall423JSONResponseBodyObject string
UpdatePaywall423JSONResponseBodyObject defines parameters for UpdatePaywall.
const (
UpdatePaywall423JSONResponseBodyObjectError UpdatePaywall423JSONResponseBodyObject = "error"
)
Defines values for UpdatePaywall423JSONResponseBodyObject.
func (UpdatePaywall423JSONResponseBodyObject) Valid ¶
func (e UpdatePaywall423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall423JSONResponseBodyObject enum.
type UpdatePaywall423JSONResponseBodyType ¶
type UpdatePaywall423JSONResponseBodyType string
UpdatePaywall423JSONResponseBodyType defines parameters for UpdatePaywall.
const (
UpdatePaywall423JSONResponseBodyTypeResourceLockedError UpdatePaywall423JSONResponseBodyType = "resource_locked_error"
)
Defines values for UpdatePaywall423JSONResponseBodyType.
func (UpdatePaywall423JSONResponseBodyType) Valid ¶
func (e UpdatePaywall423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall423JSONResponseBodyType enum.
type UpdatePaywall429JSONResponseBodyObject ¶
type UpdatePaywall429JSONResponseBodyObject string
UpdatePaywall429JSONResponseBodyObject defines parameters for UpdatePaywall.
const (
UpdatePaywall429JSONResponseBodyObjectError UpdatePaywall429JSONResponseBodyObject = "error"
)
Defines values for UpdatePaywall429JSONResponseBodyObject.
func (UpdatePaywall429JSONResponseBodyObject) Valid ¶
func (e UpdatePaywall429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall429JSONResponseBodyObject enum.
type UpdatePaywall429JSONResponseBodyType ¶
type UpdatePaywall429JSONResponseBodyType string
UpdatePaywall429JSONResponseBodyType defines parameters for UpdatePaywall.
const (
UpdatePaywall429JSONResponseBodyTypeRateLimitError UpdatePaywall429JSONResponseBodyType = "rate_limit_error"
)
Defines values for UpdatePaywall429JSONResponseBodyType.
func (UpdatePaywall429JSONResponseBodyType) Valid ¶
func (e UpdatePaywall429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall429JSONResponseBodyType enum.
type UpdatePaywall500JSONResponseBodyObject ¶
type UpdatePaywall500JSONResponseBodyObject string
UpdatePaywall500JSONResponseBodyObject defines parameters for UpdatePaywall.
const (
UpdatePaywall500JSONResponseBodyObjectError UpdatePaywall500JSONResponseBodyObject = "error"
)
Defines values for UpdatePaywall500JSONResponseBodyObject.
func (UpdatePaywall500JSONResponseBodyObject) Valid ¶
func (e UpdatePaywall500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall500JSONResponseBodyObject enum.
type UpdatePaywall500JSONResponseBodyType ¶
type UpdatePaywall500JSONResponseBodyType string
UpdatePaywall500JSONResponseBodyType defines parameters for UpdatePaywall.
const (
UpdatePaywall500JSONResponseBodyTypeServerError UpdatePaywall500JSONResponseBodyType = "server_error"
)
Defines values for UpdatePaywall500JSONResponseBodyType.
func (UpdatePaywall500JSONResponseBodyType) Valid ¶
func (e UpdatePaywall500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall500JSONResponseBodyType enum.
type UpdatePaywall503JSONResponseBodyObject ¶
type UpdatePaywall503JSONResponseBodyObject string
UpdatePaywall503JSONResponseBodyObject defines parameters for UpdatePaywall.
const (
UpdatePaywall503JSONResponseBodyObjectError UpdatePaywall503JSONResponseBodyObject = "error"
)
Defines values for UpdatePaywall503JSONResponseBodyObject.
func (UpdatePaywall503JSONResponseBodyObject) Valid ¶
func (e UpdatePaywall503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall503JSONResponseBodyObject enum.
type UpdatePaywall503JSONResponseBodyType ¶
type UpdatePaywall503JSONResponseBodyType string
UpdatePaywall503JSONResponseBodyType defines parameters for UpdatePaywall.
const (
UpdatePaywall503JSONResponseBodyTypeServerError UpdatePaywall503JSONResponseBodyType = "server_error"
)
Defines values for UpdatePaywall503JSONResponseBodyType.
func (UpdatePaywall503JSONResponseBodyType) Valid ¶
func (e UpdatePaywall503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdatePaywall503JSONResponseBodyType enum.
type UpdatePaywallJSONRequestBody ¶
type UpdatePaywallJSONRequestBody = PaywallDraftUpdate
UpdatePaywallJSONRequestBody defines body for UpdatePaywall for application/json ContentType.
type UpdateProduct400JSONResponseBodyObject ¶
type UpdateProduct400JSONResponseBodyObject string
UpdateProduct400JSONResponseBodyObject defines parameters for UpdateProduct.
const (
UpdateProduct400JSONResponseBodyObjectError UpdateProduct400JSONResponseBodyObject = "error"
)
Defines values for UpdateProduct400JSONResponseBodyObject.
func (UpdateProduct400JSONResponseBodyObject) Valid ¶
func (e UpdateProduct400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct400JSONResponseBodyObject enum.
type UpdateProduct400JSONResponseBodyType ¶
type UpdateProduct400JSONResponseBodyType string
UpdateProduct400JSONResponseBodyType defines parameters for UpdateProduct.
const ( UpdateProduct400JSONResponseBodyTypeInvalidRequest UpdateProduct400JSONResponseBodyType = "invalid_request" UpdateProduct400JSONResponseBodyTypeParameterError UpdateProduct400JSONResponseBodyType = "parameter_error" )
Defines values for UpdateProduct400JSONResponseBodyType.
func (UpdateProduct400JSONResponseBodyType) Valid ¶
func (e UpdateProduct400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct400JSONResponseBodyType enum.
type UpdateProduct401JSONResponseBodyObject ¶
type UpdateProduct401JSONResponseBodyObject string
UpdateProduct401JSONResponseBodyObject defines parameters for UpdateProduct.
const (
UpdateProduct401JSONResponseBodyObjectError UpdateProduct401JSONResponseBodyObject = "error"
)
Defines values for UpdateProduct401JSONResponseBodyObject.
func (UpdateProduct401JSONResponseBodyObject) Valid ¶
func (e UpdateProduct401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct401JSONResponseBodyObject enum.
type UpdateProduct401JSONResponseBodyType ¶
type UpdateProduct401JSONResponseBodyType string
UpdateProduct401JSONResponseBodyType defines parameters for UpdateProduct.
const (
UpdateProduct401JSONResponseBodyTypeAuthenticationError UpdateProduct401JSONResponseBodyType = "authentication_error"
)
Defines values for UpdateProduct401JSONResponseBodyType.
func (UpdateProduct401JSONResponseBodyType) Valid ¶
func (e UpdateProduct401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct401JSONResponseBodyType enum.
type UpdateProduct403JSONResponseBodyObject ¶
type UpdateProduct403JSONResponseBodyObject string
UpdateProduct403JSONResponseBodyObject defines parameters for UpdateProduct.
const (
UpdateProduct403JSONResponseBodyObjectError UpdateProduct403JSONResponseBodyObject = "error"
)
Defines values for UpdateProduct403JSONResponseBodyObject.
func (UpdateProduct403JSONResponseBodyObject) Valid ¶
func (e UpdateProduct403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct403JSONResponseBodyObject enum.
type UpdateProduct403JSONResponseBodyType ¶
type UpdateProduct403JSONResponseBodyType string
UpdateProduct403JSONResponseBodyType defines parameters for UpdateProduct.
const (
UpdateProduct403JSONResponseBodyTypeAuthorizationError UpdateProduct403JSONResponseBodyType = "authorization_error"
)
Defines values for UpdateProduct403JSONResponseBodyType.
func (UpdateProduct403JSONResponseBodyType) Valid ¶
func (e UpdateProduct403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct403JSONResponseBodyType enum.
type UpdateProduct404JSONResponseBodyObject ¶
type UpdateProduct404JSONResponseBodyObject string
UpdateProduct404JSONResponseBodyObject defines parameters for UpdateProduct.
const (
UpdateProduct404JSONResponseBodyObjectError UpdateProduct404JSONResponseBodyObject = "error"
)
Defines values for UpdateProduct404JSONResponseBodyObject.
func (UpdateProduct404JSONResponseBodyObject) Valid ¶
func (e UpdateProduct404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct404JSONResponseBodyObject enum.
type UpdateProduct404JSONResponseBodyType ¶
type UpdateProduct404JSONResponseBodyType string
UpdateProduct404JSONResponseBodyType defines parameters for UpdateProduct.
const (
UpdateProduct404JSONResponseBodyTypeResourceMissing UpdateProduct404JSONResponseBodyType = "resource_missing"
)
Defines values for UpdateProduct404JSONResponseBodyType.
func (UpdateProduct404JSONResponseBodyType) Valid ¶
func (e UpdateProduct404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct404JSONResponseBodyType enum.
type UpdateProduct409JSONResponseBodyObject ¶
type UpdateProduct409JSONResponseBodyObject string
UpdateProduct409JSONResponseBodyObject defines parameters for UpdateProduct.
const (
UpdateProduct409JSONResponseBodyObjectError UpdateProduct409JSONResponseBodyObject = "error"
)
Defines values for UpdateProduct409JSONResponseBodyObject.
func (UpdateProduct409JSONResponseBodyObject) Valid ¶
func (e UpdateProduct409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct409JSONResponseBodyObject enum.
type UpdateProduct409JSONResponseBodyType ¶
type UpdateProduct409JSONResponseBodyType string
UpdateProduct409JSONResponseBodyType defines parameters for UpdateProduct.
const ( UpdateProduct409JSONResponseBodyTypeIdempotencyError UpdateProduct409JSONResponseBodyType = "idempotency_error" UpdateProduct409JSONResponseBodyTypeInvalidRequest UpdateProduct409JSONResponseBodyType = "invalid_request" UpdateProduct409JSONResponseBodyTypeResourceAlreadyExists UpdateProduct409JSONResponseBodyType = "resource_already_exists" )
Defines values for UpdateProduct409JSONResponseBodyType.
func (UpdateProduct409JSONResponseBodyType) Valid ¶
func (e UpdateProduct409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct409JSONResponseBodyType enum.
type UpdateProduct422JSONResponseBodyObject ¶
type UpdateProduct422JSONResponseBodyObject string
UpdateProduct422JSONResponseBodyObject defines parameters for UpdateProduct.
const (
UpdateProduct422JSONResponseBodyObjectError UpdateProduct422JSONResponseBodyObject = "error"
)
Defines values for UpdateProduct422JSONResponseBodyObject.
func (UpdateProduct422JSONResponseBodyObject) Valid ¶
func (e UpdateProduct422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct422JSONResponseBodyObject enum.
type UpdateProduct422JSONResponseBodyType ¶
type UpdateProduct422JSONResponseBodyType string
UpdateProduct422JSONResponseBodyType defines parameters for UpdateProduct.
const ( UpdateProduct422JSONResponseBodyTypeEntityReferencesArchivedEntities UpdateProduct422JSONResponseBodyType = "entity_references_archived_entities" UpdateProduct422JSONResponseBodyTypeParameterError UpdateProduct422JSONResponseBodyType = "parameter_error" UpdateProduct422JSONResponseBodyTypeStoreError UpdateProduct422JSONResponseBodyType = "store_error" UpdateProduct422JSONResponseBodyTypeUnprocessableEntityError UpdateProduct422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for UpdateProduct422JSONResponseBodyType.
func (UpdateProduct422JSONResponseBodyType) Valid ¶
func (e UpdateProduct422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct422JSONResponseBodyType enum.
type UpdateProduct423JSONResponseBodyObject ¶
type UpdateProduct423JSONResponseBodyObject string
UpdateProduct423JSONResponseBodyObject defines parameters for UpdateProduct.
const (
UpdateProduct423JSONResponseBodyObjectError UpdateProduct423JSONResponseBodyObject = "error"
)
Defines values for UpdateProduct423JSONResponseBodyObject.
func (UpdateProduct423JSONResponseBodyObject) Valid ¶
func (e UpdateProduct423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct423JSONResponseBodyObject enum.
type UpdateProduct423JSONResponseBodyType ¶
type UpdateProduct423JSONResponseBodyType string
UpdateProduct423JSONResponseBodyType defines parameters for UpdateProduct.
const (
UpdateProduct423JSONResponseBodyTypeResourceLockedError UpdateProduct423JSONResponseBodyType = "resource_locked_error"
)
Defines values for UpdateProduct423JSONResponseBodyType.
func (UpdateProduct423JSONResponseBodyType) Valid ¶
func (e UpdateProduct423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct423JSONResponseBodyType enum.
type UpdateProduct429JSONResponseBodyObject ¶
type UpdateProduct429JSONResponseBodyObject string
UpdateProduct429JSONResponseBodyObject defines parameters for UpdateProduct.
const (
UpdateProduct429JSONResponseBodyObjectError UpdateProduct429JSONResponseBodyObject = "error"
)
Defines values for UpdateProduct429JSONResponseBodyObject.
func (UpdateProduct429JSONResponseBodyObject) Valid ¶
func (e UpdateProduct429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct429JSONResponseBodyObject enum.
type UpdateProduct429JSONResponseBodyType ¶
type UpdateProduct429JSONResponseBodyType string
UpdateProduct429JSONResponseBodyType defines parameters for UpdateProduct.
const (
UpdateProduct429JSONResponseBodyTypeRateLimitError UpdateProduct429JSONResponseBodyType = "rate_limit_error"
)
Defines values for UpdateProduct429JSONResponseBodyType.
func (UpdateProduct429JSONResponseBodyType) Valid ¶
func (e UpdateProduct429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct429JSONResponseBodyType enum.
type UpdateProduct500JSONResponseBodyObject ¶
type UpdateProduct500JSONResponseBodyObject string
UpdateProduct500JSONResponseBodyObject defines parameters for UpdateProduct.
const (
UpdateProduct500JSONResponseBodyObjectError UpdateProduct500JSONResponseBodyObject = "error"
)
Defines values for UpdateProduct500JSONResponseBodyObject.
func (UpdateProduct500JSONResponseBodyObject) Valid ¶
func (e UpdateProduct500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct500JSONResponseBodyObject enum.
type UpdateProduct500JSONResponseBodyType ¶
type UpdateProduct500JSONResponseBodyType string
UpdateProduct500JSONResponseBodyType defines parameters for UpdateProduct.
const (
UpdateProduct500JSONResponseBodyTypeServerError UpdateProduct500JSONResponseBodyType = "server_error"
)
Defines values for UpdateProduct500JSONResponseBodyType.
func (UpdateProduct500JSONResponseBodyType) Valid ¶
func (e UpdateProduct500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct500JSONResponseBodyType enum.
type UpdateProduct503JSONResponseBodyObject ¶
type UpdateProduct503JSONResponseBodyObject string
UpdateProduct503JSONResponseBodyObject defines parameters for UpdateProduct.
const (
UpdateProduct503JSONResponseBodyObjectError UpdateProduct503JSONResponseBodyObject = "error"
)
Defines values for UpdateProduct503JSONResponseBodyObject.
func (UpdateProduct503JSONResponseBodyObject) Valid ¶
func (e UpdateProduct503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct503JSONResponseBodyObject enum.
type UpdateProduct503JSONResponseBodyType ¶
type UpdateProduct503JSONResponseBodyType string
UpdateProduct503JSONResponseBodyType defines parameters for UpdateProduct.
const (
UpdateProduct503JSONResponseBodyTypeServerError UpdateProduct503JSONResponseBodyType = "server_error"
)
Defines values for UpdateProduct503JSONResponseBodyType.
func (UpdateProduct503JSONResponseBodyType) Valid ¶
func (e UpdateProduct503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateProduct503JSONResponseBodyType enum.
type UpdateProductJSONBody ¶
type UpdateProductJSONBody struct {
// DisplayName The display name of the product
DisplayName *string `json:"display_name,omitempty"`
}
UpdateProductJSONBody defines parameters for UpdateProduct.
type UpdateProductJSONRequestBody ¶
type UpdateProductJSONRequestBody UpdateProductJSONBody
UpdateProductJSONRequestBody defines body for UpdateProduct for application/json ContentType.
type UpdateProductParams ¶
type UpdateProductParams struct {
// Expand Specifies which fields in the response should be expanded.
Expand *[]string `form:"expand,omitempty" json:"expand,omitempty"`
}
UpdateProductParams defines parameters for UpdateProduct.
type UpdateVirtualCurrenciesBalance400JSONResponseBodyObject ¶
type UpdateVirtualCurrenciesBalance400JSONResponseBodyObject string
UpdateVirtualCurrenciesBalance400JSONResponseBodyObject defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance400JSONResponseBodyObjectError UpdateVirtualCurrenciesBalance400JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrenciesBalance400JSONResponseBodyObject.
func (UpdateVirtualCurrenciesBalance400JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrenciesBalance400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance400JSONResponseBodyObject enum.
type UpdateVirtualCurrenciesBalance400JSONResponseBodyType ¶
type UpdateVirtualCurrenciesBalance400JSONResponseBodyType string
UpdateVirtualCurrenciesBalance400JSONResponseBodyType defines parameters for UpdateVirtualCurrenciesBalance.
const ( UpdateVirtualCurrenciesBalance400JSONResponseBodyTypeInvalidRequest UpdateVirtualCurrenciesBalance400JSONResponseBodyType = "invalid_request" UpdateVirtualCurrenciesBalance400JSONResponseBodyTypeParameterError UpdateVirtualCurrenciesBalance400JSONResponseBodyType = "parameter_error" )
Defines values for UpdateVirtualCurrenciesBalance400JSONResponseBodyType.
func (UpdateVirtualCurrenciesBalance400JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrenciesBalance400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance400JSONResponseBodyType enum.
type UpdateVirtualCurrenciesBalance401JSONResponseBodyObject ¶
type UpdateVirtualCurrenciesBalance401JSONResponseBodyObject string
UpdateVirtualCurrenciesBalance401JSONResponseBodyObject defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance401JSONResponseBodyObjectError UpdateVirtualCurrenciesBalance401JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrenciesBalance401JSONResponseBodyObject.
func (UpdateVirtualCurrenciesBalance401JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrenciesBalance401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance401JSONResponseBodyObject enum.
type UpdateVirtualCurrenciesBalance401JSONResponseBodyType ¶
type UpdateVirtualCurrenciesBalance401JSONResponseBodyType string
UpdateVirtualCurrenciesBalance401JSONResponseBodyType defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance401JSONResponseBodyTypeAuthenticationError UpdateVirtualCurrenciesBalance401JSONResponseBodyType = "authentication_error"
)
Defines values for UpdateVirtualCurrenciesBalance401JSONResponseBodyType.
func (UpdateVirtualCurrenciesBalance401JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrenciesBalance401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance401JSONResponseBodyType enum.
type UpdateVirtualCurrenciesBalance403JSONResponseBodyObject ¶
type UpdateVirtualCurrenciesBalance403JSONResponseBodyObject string
UpdateVirtualCurrenciesBalance403JSONResponseBodyObject defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance403JSONResponseBodyObjectError UpdateVirtualCurrenciesBalance403JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrenciesBalance403JSONResponseBodyObject.
func (UpdateVirtualCurrenciesBalance403JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrenciesBalance403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance403JSONResponseBodyObject enum.
type UpdateVirtualCurrenciesBalance403JSONResponseBodyType ¶
type UpdateVirtualCurrenciesBalance403JSONResponseBodyType string
UpdateVirtualCurrenciesBalance403JSONResponseBodyType defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance403JSONResponseBodyTypeAuthorizationError UpdateVirtualCurrenciesBalance403JSONResponseBodyType = "authorization_error"
)
Defines values for UpdateVirtualCurrenciesBalance403JSONResponseBodyType.
func (UpdateVirtualCurrenciesBalance403JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrenciesBalance403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance403JSONResponseBodyType enum.
type UpdateVirtualCurrenciesBalance404JSONResponseBodyObject ¶
type UpdateVirtualCurrenciesBalance404JSONResponseBodyObject string
UpdateVirtualCurrenciesBalance404JSONResponseBodyObject defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance404JSONResponseBodyObjectError UpdateVirtualCurrenciesBalance404JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrenciesBalance404JSONResponseBodyObject.
func (UpdateVirtualCurrenciesBalance404JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrenciesBalance404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance404JSONResponseBodyObject enum.
type UpdateVirtualCurrenciesBalance404JSONResponseBodyType ¶
type UpdateVirtualCurrenciesBalance404JSONResponseBodyType string
UpdateVirtualCurrenciesBalance404JSONResponseBodyType defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance404JSONResponseBodyTypeResourceMissing UpdateVirtualCurrenciesBalance404JSONResponseBodyType = "resource_missing"
)
Defines values for UpdateVirtualCurrenciesBalance404JSONResponseBodyType.
func (UpdateVirtualCurrenciesBalance404JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrenciesBalance404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance404JSONResponseBodyType enum.
type UpdateVirtualCurrenciesBalance409JSONResponseBodyObject ¶
type UpdateVirtualCurrenciesBalance409JSONResponseBodyObject string
UpdateVirtualCurrenciesBalance409JSONResponseBodyObject defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance409JSONResponseBodyObjectError UpdateVirtualCurrenciesBalance409JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrenciesBalance409JSONResponseBodyObject.
func (UpdateVirtualCurrenciesBalance409JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrenciesBalance409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance409JSONResponseBodyObject enum.
type UpdateVirtualCurrenciesBalance409JSONResponseBodyType ¶
type UpdateVirtualCurrenciesBalance409JSONResponseBodyType string
UpdateVirtualCurrenciesBalance409JSONResponseBodyType defines parameters for UpdateVirtualCurrenciesBalance.
const ( UpdateVirtualCurrenciesBalance409JSONResponseBodyTypeIdempotencyError UpdateVirtualCurrenciesBalance409JSONResponseBodyType = "idempotency_error" UpdateVirtualCurrenciesBalance409JSONResponseBodyTypeInvalidRequest UpdateVirtualCurrenciesBalance409JSONResponseBodyType = "invalid_request" UpdateVirtualCurrenciesBalance409JSONResponseBodyTypeResourceAlreadyExists UpdateVirtualCurrenciesBalance409JSONResponseBodyType = "resource_already_exists" )
Defines values for UpdateVirtualCurrenciesBalance409JSONResponseBodyType.
func (UpdateVirtualCurrenciesBalance409JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrenciesBalance409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance409JSONResponseBodyType enum.
type UpdateVirtualCurrenciesBalance422JSONResponseBodyObject ¶
type UpdateVirtualCurrenciesBalance422JSONResponseBodyObject string
UpdateVirtualCurrenciesBalance422JSONResponseBodyObject defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance422JSONResponseBodyObjectError UpdateVirtualCurrenciesBalance422JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrenciesBalance422JSONResponseBodyObject.
func (UpdateVirtualCurrenciesBalance422JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrenciesBalance422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance422JSONResponseBodyObject enum.
type UpdateVirtualCurrenciesBalance422JSONResponseBodyType ¶
type UpdateVirtualCurrenciesBalance422JSONResponseBodyType string
UpdateVirtualCurrenciesBalance422JSONResponseBodyType defines parameters for UpdateVirtualCurrenciesBalance.
const ( UpdateVirtualCurrenciesBalance422JSONResponseBodyTypeEntityReferencesArchivedEntities UpdateVirtualCurrenciesBalance422JSONResponseBodyType = "entity_references_archived_entities" UpdateVirtualCurrenciesBalance422JSONResponseBodyTypeParameterError UpdateVirtualCurrenciesBalance422JSONResponseBodyType = "parameter_error" UpdateVirtualCurrenciesBalance422JSONResponseBodyTypeStoreError UpdateVirtualCurrenciesBalance422JSONResponseBodyType = "store_error" UpdateVirtualCurrenciesBalance422JSONResponseBodyTypeUnprocessableEntityError UpdateVirtualCurrenciesBalance422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for UpdateVirtualCurrenciesBalance422JSONResponseBodyType.
func (UpdateVirtualCurrenciesBalance422JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrenciesBalance422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance422JSONResponseBodyType enum.
type UpdateVirtualCurrenciesBalance423JSONResponseBodyObject ¶
type UpdateVirtualCurrenciesBalance423JSONResponseBodyObject string
UpdateVirtualCurrenciesBalance423JSONResponseBodyObject defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance423JSONResponseBodyObjectError UpdateVirtualCurrenciesBalance423JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrenciesBalance423JSONResponseBodyObject.
func (UpdateVirtualCurrenciesBalance423JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrenciesBalance423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance423JSONResponseBodyObject enum.
type UpdateVirtualCurrenciesBalance423JSONResponseBodyType ¶
type UpdateVirtualCurrenciesBalance423JSONResponseBodyType string
UpdateVirtualCurrenciesBalance423JSONResponseBodyType defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance423JSONResponseBodyTypeResourceLockedError UpdateVirtualCurrenciesBalance423JSONResponseBodyType = "resource_locked_error"
)
Defines values for UpdateVirtualCurrenciesBalance423JSONResponseBodyType.
func (UpdateVirtualCurrenciesBalance423JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrenciesBalance423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance423JSONResponseBodyType enum.
type UpdateVirtualCurrenciesBalance429JSONResponseBodyObject ¶
type UpdateVirtualCurrenciesBalance429JSONResponseBodyObject string
UpdateVirtualCurrenciesBalance429JSONResponseBodyObject defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance429JSONResponseBodyObjectError UpdateVirtualCurrenciesBalance429JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrenciesBalance429JSONResponseBodyObject.
func (UpdateVirtualCurrenciesBalance429JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrenciesBalance429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance429JSONResponseBodyObject enum.
type UpdateVirtualCurrenciesBalance429JSONResponseBodyType ¶
type UpdateVirtualCurrenciesBalance429JSONResponseBodyType string
UpdateVirtualCurrenciesBalance429JSONResponseBodyType defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance429JSONResponseBodyTypeRateLimitError UpdateVirtualCurrenciesBalance429JSONResponseBodyType = "rate_limit_error"
)
Defines values for UpdateVirtualCurrenciesBalance429JSONResponseBodyType.
func (UpdateVirtualCurrenciesBalance429JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrenciesBalance429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance429JSONResponseBodyType enum.
type UpdateVirtualCurrenciesBalance500JSONResponseBodyObject ¶
type UpdateVirtualCurrenciesBalance500JSONResponseBodyObject string
UpdateVirtualCurrenciesBalance500JSONResponseBodyObject defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance500JSONResponseBodyObjectError UpdateVirtualCurrenciesBalance500JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrenciesBalance500JSONResponseBodyObject.
func (UpdateVirtualCurrenciesBalance500JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrenciesBalance500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance500JSONResponseBodyObject enum.
type UpdateVirtualCurrenciesBalance500JSONResponseBodyType ¶
type UpdateVirtualCurrenciesBalance500JSONResponseBodyType string
UpdateVirtualCurrenciesBalance500JSONResponseBodyType defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance500JSONResponseBodyTypeServerError UpdateVirtualCurrenciesBalance500JSONResponseBodyType = "server_error"
)
Defines values for UpdateVirtualCurrenciesBalance500JSONResponseBodyType.
func (UpdateVirtualCurrenciesBalance500JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrenciesBalance500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance500JSONResponseBodyType enum.
type UpdateVirtualCurrenciesBalance503JSONResponseBodyObject ¶
type UpdateVirtualCurrenciesBalance503JSONResponseBodyObject string
UpdateVirtualCurrenciesBalance503JSONResponseBodyObject defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance503JSONResponseBodyObjectError UpdateVirtualCurrenciesBalance503JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrenciesBalance503JSONResponseBodyObject.
func (UpdateVirtualCurrenciesBalance503JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrenciesBalance503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance503JSONResponseBodyObject enum.
type UpdateVirtualCurrenciesBalance503JSONResponseBodyType ¶
type UpdateVirtualCurrenciesBalance503JSONResponseBodyType string
UpdateVirtualCurrenciesBalance503JSONResponseBodyType defines parameters for UpdateVirtualCurrenciesBalance.
const (
UpdateVirtualCurrenciesBalance503JSONResponseBodyTypeServerError UpdateVirtualCurrenciesBalance503JSONResponseBodyType = "server_error"
)
Defines values for UpdateVirtualCurrenciesBalance503JSONResponseBodyType.
func (UpdateVirtualCurrenciesBalance503JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrenciesBalance503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrenciesBalance503JSONResponseBodyType enum.
type UpdateVirtualCurrenciesBalanceJSONBody ¶
type UpdateVirtualCurrenciesBalanceJSONBody struct {
// Adjustments The adjustments to the virtual currencies
Adjustments map[string]int `json:"adjustments"`
// Reference The reference of the transaction
Reference *string `json:"reference,omitempty"`
}
UpdateVirtualCurrenciesBalanceJSONBody defines parameters for UpdateVirtualCurrenciesBalance.
type UpdateVirtualCurrenciesBalanceJSONRequestBody ¶
type UpdateVirtualCurrenciesBalanceJSONRequestBody UpdateVirtualCurrenciesBalanceJSONBody
UpdateVirtualCurrenciesBalanceJSONRequestBody defines body for UpdateVirtualCurrenciesBalance for application/json ContentType.
type UpdateVirtualCurrenciesBalanceParams ¶
type UpdateVirtualCurrenciesBalanceParams struct {
// IncludeEmptyBalances Whether to include virtual currencies with a zero balance (default false).
IncludeEmptyBalances *bool `form:"include_empty_balances,omitempty" json:"include_empty_balances,omitempty"`
// IdempotencyKey This is an optional idempotency key to ensure exactly once execution of the request. Maximum length is 255 characters.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
UpdateVirtualCurrenciesBalanceParams defines parameters for UpdateVirtualCurrenciesBalance.
type UpdateVirtualCurrency400JSONResponseBodyObject ¶
type UpdateVirtualCurrency400JSONResponseBodyObject string
UpdateVirtualCurrency400JSONResponseBodyObject defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency400JSONResponseBodyObjectError UpdateVirtualCurrency400JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrency400JSONResponseBodyObject.
func (UpdateVirtualCurrency400JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrency400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency400JSONResponseBodyObject enum.
type UpdateVirtualCurrency400JSONResponseBodyType ¶
type UpdateVirtualCurrency400JSONResponseBodyType string
UpdateVirtualCurrency400JSONResponseBodyType defines parameters for UpdateVirtualCurrency.
const ( UpdateVirtualCurrency400JSONResponseBodyTypeInvalidRequest UpdateVirtualCurrency400JSONResponseBodyType = "invalid_request" UpdateVirtualCurrency400JSONResponseBodyTypeParameterError UpdateVirtualCurrency400JSONResponseBodyType = "parameter_error" )
Defines values for UpdateVirtualCurrency400JSONResponseBodyType.
func (UpdateVirtualCurrency400JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrency400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency400JSONResponseBodyType enum.
type UpdateVirtualCurrency401JSONResponseBodyObject ¶
type UpdateVirtualCurrency401JSONResponseBodyObject string
UpdateVirtualCurrency401JSONResponseBodyObject defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency401JSONResponseBodyObjectError UpdateVirtualCurrency401JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrency401JSONResponseBodyObject.
func (UpdateVirtualCurrency401JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrency401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency401JSONResponseBodyObject enum.
type UpdateVirtualCurrency401JSONResponseBodyType ¶
type UpdateVirtualCurrency401JSONResponseBodyType string
UpdateVirtualCurrency401JSONResponseBodyType defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency401JSONResponseBodyTypeAuthenticationError UpdateVirtualCurrency401JSONResponseBodyType = "authentication_error"
)
Defines values for UpdateVirtualCurrency401JSONResponseBodyType.
func (UpdateVirtualCurrency401JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrency401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency401JSONResponseBodyType enum.
type UpdateVirtualCurrency403JSONResponseBodyObject ¶
type UpdateVirtualCurrency403JSONResponseBodyObject string
UpdateVirtualCurrency403JSONResponseBodyObject defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency403JSONResponseBodyObjectError UpdateVirtualCurrency403JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrency403JSONResponseBodyObject.
func (UpdateVirtualCurrency403JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrency403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency403JSONResponseBodyObject enum.
type UpdateVirtualCurrency403JSONResponseBodyType ¶
type UpdateVirtualCurrency403JSONResponseBodyType string
UpdateVirtualCurrency403JSONResponseBodyType defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency403JSONResponseBodyTypeAuthorizationError UpdateVirtualCurrency403JSONResponseBodyType = "authorization_error"
)
Defines values for UpdateVirtualCurrency403JSONResponseBodyType.
func (UpdateVirtualCurrency403JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrency403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency403JSONResponseBodyType enum.
type UpdateVirtualCurrency404JSONResponseBodyObject ¶
type UpdateVirtualCurrency404JSONResponseBodyObject string
UpdateVirtualCurrency404JSONResponseBodyObject defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency404JSONResponseBodyObjectError UpdateVirtualCurrency404JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrency404JSONResponseBodyObject.
func (UpdateVirtualCurrency404JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrency404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency404JSONResponseBodyObject enum.
type UpdateVirtualCurrency404JSONResponseBodyType ¶
type UpdateVirtualCurrency404JSONResponseBodyType string
UpdateVirtualCurrency404JSONResponseBodyType defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency404JSONResponseBodyTypeResourceMissing UpdateVirtualCurrency404JSONResponseBodyType = "resource_missing"
)
Defines values for UpdateVirtualCurrency404JSONResponseBodyType.
func (UpdateVirtualCurrency404JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrency404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency404JSONResponseBodyType enum.
type UpdateVirtualCurrency409JSONResponseBodyObject ¶
type UpdateVirtualCurrency409JSONResponseBodyObject string
UpdateVirtualCurrency409JSONResponseBodyObject defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency409JSONResponseBodyObjectError UpdateVirtualCurrency409JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrency409JSONResponseBodyObject.
func (UpdateVirtualCurrency409JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrency409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency409JSONResponseBodyObject enum.
type UpdateVirtualCurrency409JSONResponseBodyType ¶
type UpdateVirtualCurrency409JSONResponseBodyType string
UpdateVirtualCurrency409JSONResponseBodyType defines parameters for UpdateVirtualCurrency.
const ( UpdateVirtualCurrency409JSONResponseBodyTypeIdempotencyError UpdateVirtualCurrency409JSONResponseBodyType = "idempotency_error" UpdateVirtualCurrency409JSONResponseBodyTypeInvalidRequest UpdateVirtualCurrency409JSONResponseBodyType = "invalid_request" UpdateVirtualCurrency409JSONResponseBodyTypeResourceAlreadyExists UpdateVirtualCurrency409JSONResponseBodyType = "resource_already_exists" )
Defines values for UpdateVirtualCurrency409JSONResponseBodyType.
func (UpdateVirtualCurrency409JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrency409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency409JSONResponseBodyType enum.
type UpdateVirtualCurrency422JSONResponseBodyObject ¶
type UpdateVirtualCurrency422JSONResponseBodyObject string
UpdateVirtualCurrency422JSONResponseBodyObject defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency422JSONResponseBodyObjectError UpdateVirtualCurrency422JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrency422JSONResponseBodyObject.
func (UpdateVirtualCurrency422JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrency422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency422JSONResponseBodyObject enum.
type UpdateVirtualCurrency422JSONResponseBodyType ¶
type UpdateVirtualCurrency422JSONResponseBodyType string
UpdateVirtualCurrency422JSONResponseBodyType defines parameters for UpdateVirtualCurrency.
const ( UpdateVirtualCurrency422JSONResponseBodyTypeEntityReferencesArchivedEntities UpdateVirtualCurrency422JSONResponseBodyType = "entity_references_archived_entities" UpdateVirtualCurrency422JSONResponseBodyTypeParameterError UpdateVirtualCurrency422JSONResponseBodyType = "parameter_error" UpdateVirtualCurrency422JSONResponseBodyTypeStoreError UpdateVirtualCurrency422JSONResponseBodyType = "store_error" UpdateVirtualCurrency422JSONResponseBodyTypeUnprocessableEntityError UpdateVirtualCurrency422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for UpdateVirtualCurrency422JSONResponseBodyType.
func (UpdateVirtualCurrency422JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrency422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency422JSONResponseBodyType enum.
type UpdateVirtualCurrency423JSONResponseBodyObject ¶
type UpdateVirtualCurrency423JSONResponseBodyObject string
UpdateVirtualCurrency423JSONResponseBodyObject defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency423JSONResponseBodyObjectError UpdateVirtualCurrency423JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrency423JSONResponseBodyObject.
func (UpdateVirtualCurrency423JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrency423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency423JSONResponseBodyObject enum.
type UpdateVirtualCurrency423JSONResponseBodyType ¶
type UpdateVirtualCurrency423JSONResponseBodyType string
UpdateVirtualCurrency423JSONResponseBodyType defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency423JSONResponseBodyTypeResourceLockedError UpdateVirtualCurrency423JSONResponseBodyType = "resource_locked_error"
)
Defines values for UpdateVirtualCurrency423JSONResponseBodyType.
func (UpdateVirtualCurrency423JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrency423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency423JSONResponseBodyType enum.
type UpdateVirtualCurrency429JSONResponseBodyObject ¶
type UpdateVirtualCurrency429JSONResponseBodyObject string
UpdateVirtualCurrency429JSONResponseBodyObject defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency429JSONResponseBodyObjectError UpdateVirtualCurrency429JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrency429JSONResponseBodyObject.
func (UpdateVirtualCurrency429JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrency429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency429JSONResponseBodyObject enum.
type UpdateVirtualCurrency429JSONResponseBodyType ¶
type UpdateVirtualCurrency429JSONResponseBodyType string
UpdateVirtualCurrency429JSONResponseBodyType defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency429JSONResponseBodyTypeRateLimitError UpdateVirtualCurrency429JSONResponseBodyType = "rate_limit_error"
)
Defines values for UpdateVirtualCurrency429JSONResponseBodyType.
func (UpdateVirtualCurrency429JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrency429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency429JSONResponseBodyType enum.
type UpdateVirtualCurrency500JSONResponseBodyObject ¶
type UpdateVirtualCurrency500JSONResponseBodyObject string
UpdateVirtualCurrency500JSONResponseBodyObject defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency500JSONResponseBodyObjectError UpdateVirtualCurrency500JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrency500JSONResponseBodyObject.
func (UpdateVirtualCurrency500JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrency500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency500JSONResponseBodyObject enum.
type UpdateVirtualCurrency500JSONResponseBodyType ¶
type UpdateVirtualCurrency500JSONResponseBodyType string
UpdateVirtualCurrency500JSONResponseBodyType defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency500JSONResponseBodyTypeServerError UpdateVirtualCurrency500JSONResponseBodyType = "server_error"
)
Defines values for UpdateVirtualCurrency500JSONResponseBodyType.
func (UpdateVirtualCurrency500JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrency500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency500JSONResponseBodyType enum.
type UpdateVirtualCurrency503JSONResponseBodyObject ¶
type UpdateVirtualCurrency503JSONResponseBodyObject string
UpdateVirtualCurrency503JSONResponseBodyObject defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency503JSONResponseBodyObjectError UpdateVirtualCurrency503JSONResponseBodyObject = "error"
)
Defines values for UpdateVirtualCurrency503JSONResponseBodyObject.
func (UpdateVirtualCurrency503JSONResponseBodyObject) Valid ¶
func (e UpdateVirtualCurrency503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency503JSONResponseBodyObject enum.
type UpdateVirtualCurrency503JSONResponseBodyType ¶
type UpdateVirtualCurrency503JSONResponseBodyType string
UpdateVirtualCurrency503JSONResponseBodyType defines parameters for UpdateVirtualCurrency.
const (
UpdateVirtualCurrency503JSONResponseBodyTypeServerError UpdateVirtualCurrency503JSONResponseBodyType = "server_error"
)
Defines values for UpdateVirtualCurrency503JSONResponseBodyType.
func (UpdateVirtualCurrency503JSONResponseBodyType) Valid ¶
func (e UpdateVirtualCurrency503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVirtualCurrency503JSONResponseBodyType enum.
type UpdateVirtualCurrencyJSONBody ¶
type UpdateVirtualCurrencyJSONBody struct {
// Description Description of the virtual currency
//
// Example: Gold currency used in the game
Description *string `json:"description,omitempty"`
// Name The display name of the virtual currency
//
// Example: Gold
Name *string `json:"name,omitempty"`
// ProductGrants Product grants that define how products grant this virtual currency
ProductGrants *[]VirtualCurrencyProductGrantInput `json:"product_grants,omitempty"`
}
UpdateVirtualCurrencyJSONBody defines parameters for UpdateVirtualCurrency.
type UpdateVirtualCurrencyJSONRequestBody ¶
type UpdateVirtualCurrencyJSONRequestBody UpdateVirtualCurrencyJSONBody
UpdateVirtualCurrencyJSONRequestBody defines body for UpdateVirtualCurrency for application/json ContentType.
type UpdateWebhookIntegration400JSONResponseBodyObject ¶
type UpdateWebhookIntegration400JSONResponseBodyObject string
UpdateWebhookIntegration400JSONResponseBodyObject defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration400JSONResponseBodyObjectError UpdateWebhookIntegration400JSONResponseBodyObject = "error"
)
Defines values for UpdateWebhookIntegration400JSONResponseBodyObject.
func (UpdateWebhookIntegration400JSONResponseBodyObject) Valid ¶
func (e UpdateWebhookIntegration400JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration400JSONResponseBodyObject enum.
type UpdateWebhookIntegration400JSONResponseBodyType ¶
type UpdateWebhookIntegration400JSONResponseBodyType string
UpdateWebhookIntegration400JSONResponseBodyType defines parameters for UpdateWebhookIntegration.
const ( UpdateWebhookIntegration400JSONResponseBodyTypeInvalidRequest UpdateWebhookIntegration400JSONResponseBodyType = "invalid_request" UpdateWebhookIntegration400JSONResponseBodyTypeParameterError UpdateWebhookIntegration400JSONResponseBodyType = "parameter_error" )
Defines values for UpdateWebhookIntegration400JSONResponseBodyType.
func (UpdateWebhookIntegration400JSONResponseBodyType) Valid ¶
func (e UpdateWebhookIntegration400JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration400JSONResponseBodyType enum.
type UpdateWebhookIntegration401JSONResponseBodyObject ¶
type UpdateWebhookIntegration401JSONResponseBodyObject string
UpdateWebhookIntegration401JSONResponseBodyObject defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration401JSONResponseBodyObjectError UpdateWebhookIntegration401JSONResponseBodyObject = "error"
)
Defines values for UpdateWebhookIntegration401JSONResponseBodyObject.
func (UpdateWebhookIntegration401JSONResponseBodyObject) Valid ¶
func (e UpdateWebhookIntegration401JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration401JSONResponseBodyObject enum.
type UpdateWebhookIntegration401JSONResponseBodyType ¶
type UpdateWebhookIntegration401JSONResponseBodyType string
UpdateWebhookIntegration401JSONResponseBodyType defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration401JSONResponseBodyTypeAuthenticationError UpdateWebhookIntegration401JSONResponseBodyType = "authentication_error"
)
Defines values for UpdateWebhookIntegration401JSONResponseBodyType.
func (UpdateWebhookIntegration401JSONResponseBodyType) Valid ¶
func (e UpdateWebhookIntegration401JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration401JSONResponseBodyType enum.
type UpdateWebhookIntegration403JSONResponseBodyObject ¶
type UpdateWebhookIntegration403JSONResponseBodyObject string
UpdateWebhookIntegration403JSONResponseBodyObject defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration403JSONResponseBodyObjectError UpdateWebhookIntegration403JSONResponseBodyObject = "error"
)
Defines values for UpdateWebhookIntegration403JSONResponseBodyObject.
func (UpdateWebhookIntegration403JSONResponseBodyObject) Valid ¶
func (e UpdateWebhookIntegration403JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration403JSONResponseBodyObject enum.
type UpdateWebhookIntegration403JSONResponseBodyType ¶
type UpdateWebhookIntegration403JSONResponseBodyType string
UpdateWebhookIntegration403JSONResponseBodyType defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration403JSONResponseBodyTypeAuthorizationError UpdateWebhookIntegration403JSONResponseBodyType = "authorization_error"
)
Defines values for UpdateWebhookIntegration403JSONResponseBodyType.
func (UpdateWebhookIntegration403JSONResponseBodyType) Valid ¶
func (e UpdateWebhookIntegration403JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration403JSONResponseBodyType enum.
type UpdateWebhookIntegration404JSONResponseBodyObject ¶
type UpdateWebhookIntegration404JSONResponseBodyObject string
UpdateWebhookIntegration404JSONResponseBodyObject defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration404JSONResponseBodyObjectError UpdateWebhookIntegration404JSONResponseBodyObject = "error"
)
Defines values for UpdateWebhookIntegration404JSONResponseBodyObject.
func (UpdateWebhookIntegration404JSONResponseBodyObject) Valid ¶
func (e UpdateWebhookIntegration404JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration404JSONResponseBodyObject enum.
type UpdateWebhookIntegration404JSONResponseBodyType ¶
type UpdateWebhookIntegration404JSONResponseBodyType string
UpdateWebhookIntegration404JSONResponseBodyType defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration404JSONResponseBodyTypeResourceMissing UpdateWebhookIntegration404JSONResponseBodyType = "resource_missing"
)
Defines values for UpdateWebhookIntegration404JSONResponseBodyType.
func (UpdateWebhookIntegration404JSONResponseBodyType) Valid ¶
func (e UpdateWebhookIntegration404JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration404JSONResponseBodyType enum.
type UpdateWebhookIntegration409JSONResponseBodyObject ¶
type UpdateWebhookIntegration409JSONResponseBodyObject string
UpdateWebhookIntegration409JSONResponseBodyObject defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration409JSONResponseBodyObjectError UpdateWebhookIntegration409JSONResponseBodyObject = "error"
)
Defines values for UpdateWebhookIntegration409JSONResponseBodyObject.
func (UpdateWebhookIntegration409JSONResponseBodyObject) Valid ¶
func (e UpdateWebhookIntegration409JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration409JSONResponseBodyObject enum.
type UpdateWebhookIntegration409JSONResponseBodyType ¶
type UpdateWebhookIntegration409JSONResponseBodyType string
UpdateWebhookIntegration409JSONResponseBodyType defines parameters for UpdateWebhookIntegration.
const ( UpdateWebhookIntegration409JSONResponseBodyTypeIdempotencyError UpdateWebhookIntegration409JSONResponseBodyType = "idempotency_error" UpdateWebhookIntegration409JSONResponseBodyTypeInvalidRequest UpdateWebhookIntegration409JSONResponseBodyType = "invalid_request" UpdateWebhookIntegration409JSONResponseBodyTypeResourceAlreadyExists UpdateWebhookIntegration409JSONResponseBodyType = "resource_already_exists" )
Defines values for UpdateWebhookIntegration409JSONResponseBodyType.
func (UpdateWebhookIntegration409JSONResponseBodyType) Valid ¶
func (e UpdateWebhookIntegration409JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration409JSONResponseBodyType enum.
type UpdateWebhookIntegration422JSONResponseBodyObject ¶
type UpdateWebhookIntegration422JSONResponseBodyObject string
UpdateWebhookIntegration422JSONResponseBodyObject defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration422JSONResponseBodyObjectError UpdateWebhookIntegration422JSONResponseBodyObject = "error"
)
Defines values for UpdateWebhookIntegration422JSONResponseBodyObject.
func (UpdateWebhookIntegration422JSONResponseBodyObject) Valid ¶
func (e UpdateWebhookIntegration422JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration422JSONResponseBodyObject enum.
type UpdateWebhookIntegration422JSONResponseBodyType ¶
type UpdateWebhookIntegration422JSONResponseBodyType string
UpdateWebhookIntegration422JSONResponseBodyType defines parameters for UpdateWebhookIntegration.
const ( UpdateWebhookIntegration422JSONResponseBodyTypeEntityReferencesArchivedEntities UpdateWebhookIntegration422JSONResponseBodyType = "entity_references_archived_entities" UpdateWebhookIntegration422JSONResponseBodyTypeParameterError UpdateWebhookIntegration422JSONResponseBodyType = "parameter_error" UpdateWebhookIntegration422JSONResponseBodyTypeStoreError UpdateWebhookIntegration422JSONResponseBodyType = "store_error" UpdateWebhookIntegration422JSONResponseBodyTypeUnprocessableEntityError UpdateWebhookIntegration422JSONResponseBodyType = "unprocessable_entity_error" )
Defines values for UpdateWebhookIntegration422JSONResponseBodyType.
func (UpdateWebhookIntegration422JSONResponseBodyType) Valid ¶
func (e UpdateWebhookIntegration422JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration422JSONResponseBodyType enum.
type UpdateWebhookIntegration423JSONResponseBodyObject ¶
type UpdateWebhookIntegration423JSONResponseBodyObject string
UpdateWebhookIntegration423JSONResponseBodyObject defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration423JSONResponseBodyObjectError UpdateWebhookIntegration423JSONResponseBodyObject = "error"
)
Defines values for UpdateWebhookIntegration423JSONResponseBodyObject.
func (UpdateWebhookIntegration423JSONResponseBodyObject) Valid ¶
func (e UpdateWebhookIntegration423JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration423JSONResponseBodyObject enum.
type UpdateWebhookIntegration423JSONResponseBodyType ¶
type UpdateWebhookIntegration423JSONResponseBodyType string
UpdateWebhookIntegration423JSONResponseBodyType defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration423JSONResponseBodyTypeResourceLockedError UpdateWebhookIntegration423JSONResponseBodyType = "resource_locked_error"
)
Defines values for UpdateWebhookIntegration423JSONResponseBodyType.
func (UpdateWebhookIntegration423JSONResponseBodyType) Valid ¶
func (e UpdateWebhookIntegration423JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration423JSONResponseBodyType enum.
type UpdateWebhookIntegration429JSONResponseBodyObject ¶
type UpdateWebhookIntegration429JSONResponseBodyObject string
UpdateWebhookIntegration429JSONResponseBodyObject defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration429JSONResponseBodyObjectError UpdateWebhookIntegration429JSONResponseBodyObject = "error"
)
Defines values for UpdateWebhookIntegration429JSONResponseBodyObject.
func (UpdateWebhookIntegration429JSONResponseBodyObject) Valid ¶
func (e UpdateWebhookIntegration429JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration429JSONResponseBodyObject enum.
type UpdateWebhookIntegration429JSONResponseBodyType ¶
type UpdateWebhookIntegration429JSONResponseBodyType string
UpdateWebhookIntegration429JSONResponseBodyType defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration429JSONResponseBodyTypeRateLimitError UpdateWebhookIntegration429JSONResponseBodyType = "rate_limit_error"
)
Defines values for UpdateWebhookIntegration429JSONResponseBodyType.
func (UpdateWebhookIntegration429JSONResponseBodyType) Valid ¶
func (e UpdateWebhookIntegration429JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration429JSONResponseBodyType enum.
type UpdateWebhookIntegration500JSONResponseBodyObject ¶
type UpdateWebhookIntegration500JSONResponseBodyObject string
UpdateWebhookIntegration500JSONResponseBodyObject defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration500JSONResponseBodyObjectError UpdateWebhookIntegration500JSONResponseBodyObject = "error"
)
Defines values for UpdateWebhookIntegration500JSONResponseBodyObject.
func (UpdateWebhookIntegration500JSONResponseBodyObject) Valid ¶
func (e UpdateWebhookIntegration500JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration500JSONResponseBodyObject enum.
type UpdateWebhookIntegration500JSONResponseBodyType ¶
type UpdateWebhookIntegration500JSONResponseBodyType string
UpdateWebhookIntegration500JSONResponseBodyType defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration500JSONResponseBodyTypeServerError UpdateWebhookIntegration500JSONResponseBodyType = "server_error"
)
Defines values for UpdateWebhookIntegration500JSONResponseBodyType.
func (UpdateWebhookIntegration500JSONResponseBodyType) Valid ¶
func (e UpdateWebhookIntegration500JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration500JSONResponseBodyType enum.
type UpdateWebhookIntegration503JSONResponseBodyObject ¶
type UpdateWebhookIntegration503JSONResponseBodyObject string
UpdateWebhookIntegration503JSONResponseBodyObject defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration503JSONResponseBodyObjectError UpdateWebhookIntegration503JSONResponseBodyObject = "error"
)
Defines values for UpdateWebhookIntegration503JSONResponseBodyObject.
func (UpdateWebhookIntegration503JSONResponseBodyObject) Valid ¶
func (e UpdateWebhookIntegration503JSONResponseBodyObject) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration503JSONResponseBodyObject enum.
type UpdateWebhookIntegration503JSONResponseBodyType ¶
type UpdateWebhookIntegration503JSONResponseBodyType string
UpdateWebhookIntegration503JSONResponseBodyType defines parameters for UpdateWebhookIntegration.
const (
UpdateWebhookIntegration503JSONResponseBodyTypeServerError UpdateWebhookIntegration503JSONResponseBodyType = "server_error"
)
Defines values for UpdateWebhookIntegration503JSONResponseBodyType.
func (UpdateWebhookIntegration503JSONResponseBodyType) Valid ¶
func (e UpdateWebhookIntegration503JSONResponseBodyType) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegration503JSONResponseBodyType enum.
type UpdateWebhookIntegrationInput ¶
type UpdateWebhookIntegrationInput struct {
// AppID The ID of the app the webhook integration is scoped to
//
// Example: app_1234567890abcdef
AppID *string `json:"app_id,omitempty"`
// AuthorizationHeader Optional authorization header that will be sent with webhook notifications
//
// Example: Bearer 123456
AuthorizationHeader *string `json:"authorization_header,omitempty"`
// Environment The environment the webhook integration is configured for
Environment *UpdateWebhookIntegrationInputEnvironment `json:"environment,omitempty"`
// EventTypes Event types that will trigger the webhook
EventTypes *[]WebhookEventType `json:"event_types,omitempty"`
// Name The display name of the webhook integration
//
// Example: Customer updates webhook
Name *string `json:"name,omitempty"`
// URL The URL RevenueCat will send webhook notifications to
//
// Example: https://hooks.example.com/revenuecat
URL *string `json:"url,omitempty"`
}
UpdateWebhookIntegrationInput defines model for UpdateWebhookIntegrationInput.
type UpdateWebhookIntegrationInputEnvironment ¶
type UpdateWebhookIntegrationInputEnvironment string
UpdateWebhookIntegrationInputEnvironment The environment the webhook integration is configured for
const ( UpdateWebhookIntegrationInputEnvironmentLessThanNil UpdateWebhookIntegrationInputEnvironment = "<nil>" UpdateWebhookIntegrationInputEnvironmentProduction UpdateWebhookIntegrationInputEnvironment = "production" UpdateWebhookIntegrationInputEnvironmentSandbox UpdateWebhookIntegrationInputEnvironment = "sandbox" )
Defines values for UpdateWebhookIntegrationInputEnvironment.
func (UpdateWebhookIntegrationInputEnvironment) Valid ¶
func (e UpdateWebhookIntegrationInputEnvironment) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookIntegrationInputEnvironment enum.
type UpdateWebhookIntegrationJSONRequestBody ¶
type UpdateWebhookIntegrationJSONRequestBody = UpdateWebhookIntegrationInput
UpdateWebhookIntegrationJSONRequestBody defines body for UpdateWebhookIntegration for application/json ContentType.
type UploadHeader ¶
type UploadOperation ¶
type UploadOperation struct {
Method string `json:"method"`
URL string `json:"url"`
Length int64 `json:"length"`
Offset int64 `json:"offset"`
RequestHeaders []UploadHeader `json:"request_headers"`
}
type VirtualCurrency ¶
type VirtualCurrency struct {
// Code The unique code for this virtual currency
//
// Example: GLD
Code string `json:"code"`
// CreatedAt The date the virtual currency was created at in ms since epoch
//
// Example: 1658399423658
CreatedAt int64 `json:"created_at"`
// Description Description of the virtual currency
//
// Example: Gold currency used in the game
Description *string `json:"description,omitempty"`
// Name The display name of the virtual currency
//
// Example: Gold
Name string `json:"name"`
// Object String representing the object's type. Objects of the same type share the same value.
Object VirtualCurrencyObject `json:"object"`
// ProductGrants The grants that define how products grant this virtual currency
ProductGrants *[]VirtualCurrencyProductGrant `json:"product_grants,omitempty"`
// ProjectID ID of the project to which the virtual currency belongs
//
// Example: proj1ab2c3d4
ProjectID string `json:"project_id"`
// State Whether the virtual currency is active or inactive (archived).
//
// Example: active
State VirtualCurrencyState `json:"state"`
}
VirtualCurrency defines model for VirtualCurrency.
type VirtualCurrencyBalance ¶
type VirtualCurrencyBalance struct {
// Balance The balance of the virtual currency.
Balance int `json:"balance"`
// CurrencyCode The code of the virtual currency.
CurrencyCode string `json:"currency_code"`
// Description The description of the virtual currency.
Description *string `json:"description,omitempty"`
// Name The name of the virtual currency.
Name *string `json:"name,omitempty"`
// Object String representing the object's type. Objects of the same type share the same value.
Object VirtualCurrencyBalanceObject `json:"object"`
}
VirtualCurrencyBalance defines model for VirtualCurrencyBalance.
type VirtualCurrencyBalanceObject ¶
type VirtualCurrencyBalanceObject string
VirtualCurrencyBalanceObject String representing the object's type. Objects of the same type share the same value.
const (
VirtualCurrencyBalanceObjectVirtualCurrencyBalance VirtualCurrencyBalanceObject = "virtual_currency_balance"
)
Defines values for VirtualCurrencyBalanceObject.
func (VirtualCurrencyBalanceObject) Valid ¶
func (e VirtualCurrencyBalanceObject) Valid() bool
Valid indicates whether the value is a known member of the VirtualCurrencyBalanceObject enum.
type VirtualCurrencyObject ¶
type VirtualCurrencyObject string
VirtualCurrencyObject String representing the object's type. Objects of the same type share the same value.
const (
VirtualCurrencyObjectVirtualCurrency VirtualCurrencyObject = "virtual_currency"
)
Defines values for VirtualCurrencyObject.
func (VirtualCurrencyObject) Valid ¶
func (e VirtualCurrencyObject) Valid() bool
Valid indicates whether the value is a known member of the VirtualCurrencyObject enum.
type VirtualCurrencyProductGrant ¶
type VirtualCurrencyProductGrant struct {
// Amount The amount of virtual currency granted
//
// Example: 100
Amount int `json:"amount"`
// ExpireAtCycleEnd Whether the grant expires at the end of the subscription cycle
//
// Example: false
ExpireAtCycleEnd bool `json:"expire_at_cycle_end"`
// Object String representing the object's type. Objects of the same type share the same value.
Object VirtualCurrencyProductGrantObject `json:"object"`
// ProductIds The list of product IDs that grant this virtual currency
ProductIds []string `json:"product_ids"`
// TrialAmount The amount of virtual currency granted during trial period
//
// Example: 0
TrialAmount int `json:"trial_amount"`
}
VirtualCurrencyProductGrant defines model for VirtualCurrencyProductGrant.
type VirtualCurrencyProductGrantInput ¶
type VirtualCurrencyProductGrantInput struct {
// Amount The amount of virtual currency granted
//
// Example: 100
Amount int `json:"amount"`
// ExpireAtCycleEnd Whether the grant expires at the end of the subscription cycle
//
// Example: false
ExpireAtCycleEnd *bool `json:"expire_at_cycle_end,omitempty"`
// ProductIds The list of product IDs that grant this virtual currency
ProductIds []string `json:"product_ids"`
// TrialAmount The amount of virtual currency granted during trial period
//
// Example: 0
TrialAmount *int `json:"trial_amount,omitempty"`
}
VirtualCurrencyProductGrantInput defines model for VirtualCurrencyProductGrantInput.
type VirtualCurrencyProductGrantObject ¶
type VirtualCurrencyProductGrantObject string
VirtualCurrencyProductGrantObject String representing the object's type. Objects of the same type share the same value.
const (
VirtualCurrencyProductGrantObjectVirtualCurrencyProductGrant VirtualCurrencyProductGrantObject = "virtual_currency.product_grant"
)
Defines values for VirtualCurrencyProductGrantObject.
func (VirtualCurrencyProductGrantObject) Valid ¶
func (e VirtualCurrencyProductGrantObject) Valid() bool
Valid indicates whether the value is a known member of the VirtualCurrencyProductGrantObject enum.
type VirtualCurrencyState ¶
type VirtualCurrencyState string
VirtualCurrencyState Whether the virtual currency is active or inactive (archived).
Example: active
const ( VirtualCurrencyStateActive VirtualCurrencyState = "active" VirtualCurrencyStateInactive VirtualCurrencyState = "inactive" )
Defines values for VirtualCurrencyState.
func (VirtualCurrencyState) Valid ¶
func (e VirtualCurrencyState) Valid() bool
Valid indicates whether the value is a known member of the VirtualCurrencyState enum.
type Webhook ¶
type Webhook struct {
ID string `json:"id"`
Name string `json:"name,omitempty"`
URL string `json:"url,omitempty"`
Environment string `json:"environment,omitempty"`
EventTypes []string `json:"event_types,omitempty"`
AppID string `json:"app_id,omitempty"`
CreatedAt Millis `json:"created_at,omitempty"`
Object string `json:"object,omitempty"`
}
Fields mirror the v2 WebhookIntegration schema: it carries name and environment (there is no "status"/pause concept), and the auth header is a single string field, authorization_header — not a map.
type WebhookCreate ¶
type WebhookEventType ¶
type WebhookEventType string
WebhookEventType The type of event that triggers the webhook
Example: initial_purchase
const ( WebhookEventTypeBillingIssue WebhookEventType = "billing_issue" WebhookEventTypeCancellation WebhookEventType = "cancellation" WebhookEventTypeExpiration WebhookEventType = "expiration" WebhookEventTypeInitialPurchase WebhookEventType = "initial_purchase" WebhookEventTypeInvoiceIssuance WebhookEventType = "invoice_issuance" WebhookEventTypeNonRenewingPurchase WebhookEventType = "non_renewing_purchase" WebhookEventTypeProductChange WebhookEventType = "product_change" WebhookEventTypeRefundReversed WebhookEventType = "refund_reversed" WebhookEventTypeRenewal WebhookEventType = "renewal" WebhookEventTypeSubscriptionExtended WebhookEventType = "subscription_extended" WebhookEventTypeSubscriptionPaused WebhookEventType = "subscription_paused" WebhookEventTypeTemporaryEntitlementGrant WebhookEventType = "temporary_entitlement_grant" WebhookEventTypeTransfer WebhookEventType = "transfer" WebhookEventTypeUncancellation WebhookEventType = "uncancellation" WebhookEventTypeVirtualCurrencyTransaction WebhookEventType = "virtual_currency_transaction" )
Defines values for WebhookEventType.
func (WebhookEventType) Valid ¶
func (e WebhookEventType) Valid() bool
Valid indicates whether the value is a known member of the WebhookEventType enum.
type WebhookUpdate ¶
type WebhooksService ¶
type WebhooksService struct {
// contains filtered or unexported fields
}
WebhooksService wraps /integrations/webhooks — the bare /integrations URL 404s, the sub-type is part of the path.
func (*WebhooksService) Create ¶
func (s *WebhooksService) Create(ctx context.Context, projectID string, body WebhookCreate) (*Webhook, error)
func (*WebhooksService) Delete ¶
func (s *WebhooksService) Delete(ctx context.Context, projectID, id string) error
func (*WebhooksService) Update ¶
func (s *WebhooksService) Update(ctx context.Context, projectID, id string, body WebhookUpdate) (*Webhook, error)
Source Files
¶
- apps.go
- apps_types.go
- audit.go
- charts.go
- client.go
- customers.go
- entitlements.go
- error_predicates.go
- errors.go
- fonts.go
- invoices.go
- media_assets.go
- metrics.go
- oauth.go
- offerings.go
- packages.go
- pagination.go
- paths_gen.go
- paywalls.go
- products.go
- projects.go
- purchases.go
- sdk.go
- store_state_direct.go
- store_state_plans.go
- subscriptions.go
- types_gen.go
- webhooks.go