Documentation ¶
Index ¶
- type ActivationServiceActivateBody
- func (m *ActivationServiceActivateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ActivationServiceActivateBody) MarshalBinary() ([]byte, error)
- func (m *ActivationServiceActivateBody) UnmarshalBinary(b []byte) error
- func (m *ActivationServiceActivateBody) Validate(formats strfmt.Registry) error
- type Billing20201105ActivateResponse
- type Billing20201105Address
- func (m *Billing20201105Address) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105Address) MarshalBinary() ([]byte, error)
- func (m *Billing20201105Address) UnmarshalBinary(b []byte) error
- func (m *Billing20201105Address) Validate(formats strfmt.Registry) error
- type Billing20201105AvailablePackage
- func (m *Billing20201105AvailablePackage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105AvailablePackage) MarshalBinary() ([]byte, error)
- func (m *Billing20201105AvailablePackage) UnmarshalBinary(b []byte) error
- func (m *Billing20201105AvailablePackage) Validate(formats strfmt.Registry) error
- type Billing20201105BillingAccount
- func (m *Billing20201105BillingAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105BillingAccount) MarshalBinary() ([]byte, error)
- func (m *Billing20201105BillingAccount) UnmarshalBinary(b []byte) error
- func (m *Billing20201105BillingAccount) Validate(formats strfmt.Registry) error
- type Billing20201105BillingAccountStatus
- type Billing20201105BillingAccountUsage
- func (m *Billing20201105BillingAccountUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105BillingAccountUsage) MarshalBinary() ([]byte, error)
- func (m *Billing20201105BillingAccountUsage) UnmarshalBinary(b []byte) error
- func (m *Billing20201105BillingAccountUsage) Validate(formats strfmt.Registry) error
- type Billing20201105CardDetails
- func (m *Billing20201105CardDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105CardDetails) MarshalBinary() ([]byte, error)
- func (m *Billing20201105CardDetails) UnmarshalBinary(b []byte) error
- func (m *Billing20201105CardDetails) Validate(formats strfmt.Registry) error
- type Billing20201105ConsumptionPool
- func (m *Billing20201105ConsumptionPool) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ConsumptionPool) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ConsumptionPool) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ConsumptionPool) Validate(formats strfmt.Registry) error
- type Billing20201105ConsumptionPoolStatus
- type Billing20201105ConsumptionPoolUpdateInfo
- func (m *Billing20201105ConsumptionPoolUpdateInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ConsumptionPoolUpdateInfo) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ConsumptionPoolUpdateInfo) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ConsumptionPoolUpdateInfo) Validate(formats strfmt.Registry) error
- type Billing20201105ConsumptionPoolUpdateInfoUpdateCause
- func (m Billing20201105ConsumptionPoolUpdateInfoUpdateCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m Billing20201105ConsumptionPoolUpdateInfoUpdateCause) Pointer() *Billing20201105ConsumptionPoolUpdateInfoUpdateCause
- func (m Billing20201105ConsumptionPoolUpdateInfoUpdateCause) Validate(formats strfmt.Registry) error
- type Billing20201105ConsumptionPoolsSummary
- func (m *Billing20201105ConsumptionPoolsSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ConsumptionPoolsSummary) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ConsumptionPoolsSummary) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ConsumptionPoolsSummary) Validate(formats strfmt.Registry) error
- type Billing20201105Contract
- func (m *Billing20201105Contract) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105Contract) MarshalBinary() ([]byte, error)
- func (m *Billing20201105Contract) UnmarshalBinary(b []byte) error
- func (m *Billing20201105Contract) Validate(formats strfmt.Registry) error
- type Billing20201105ContractBillingMethod
- func (m *Billing20201105ContractBillingMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ContractBillingMethod) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ContractBillingMethod) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ContractBillingMethod) Validate(formats strfmt.Registry) error
- type Billing20201105ContractDetails
- func (m *Billing20201105ContractDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ContractDetails) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ContractDetails) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ContractDetails) Validate(formats strfmt.Registry) error
- type Billing20201105ContractDiscount
- func (m *Billing20201105ContractDiscount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ContractDiscount) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ContractDiscount) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ContractDiscount) Validate(formats strfmt.Registry) error
- type Billing20201105ContractStatus
- type Billing20201105ContractUpdate
- func (m *Billing20201105ContractUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ContractUpdate) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ContractUpdate) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ContractUpdate) Validate(formats strfmt.Registry) error
- type Billing20201105ContractUpdateUpdateCause
- func (m Billing20201105ContractUpdateUpdateCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m Billing20201105ContractUpdateUpdateCause) Pointer() *Billing20201105ContractUpdateUpdateCause
- func (m Billing20201105ContractUpdateUpdateCause) Validate(formats strfmt.Registry) error
- type Billing20201105Country
- type Billing20201105CreateBillingAccountResponse
- func (m *Billing20201105CreateBillingAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105CreateBillingAccountResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105CreateBillingAccountResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105CreateBillingAccountResponse) Validate(formats strfmt.Registry) error
- type Billing20201105CreateSetupIntentResponse
- func (m *Billing20201105CreateSetupIntentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105CreateSetupIntentResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105CreateSetupIntentResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105CreateSetupIntentResponse) Validate(formats strfmt.Registry) error
- type Billing20201105CustomizedInput
- func (m *Billing20201105CustomizedInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105CustomizedInput) MarshalBinary() ([]byte, error)
- func (m *Billing20201105CustomizedInput) UnmarshalBinary(b []byte) error
- func (m *Billing20201105CustomizedInput) Validate(formats strfmt.Registry) error
- type Billing20201105EntitlementBillingMethodDetails
- func (m *Billing20201105EntitlementBillingMethodDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105EntitlementBillingMethodDetails) MarshalBinary() ([]byte, error)
- func (m *Billing20201105EntitlementBillingMethodDetails) UnmarshalBinary(b []byte) error
- func (m *Billing20201105EntitlementBillingMethodDetails) Validate(formats strfmt.Registry) error
- type Billing20201105EstimateCostResponse
- func (m *Billing20201105EstimateCostResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105EstimateCostResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105EstimateCostResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105EstimateCostResponse) Validate(formats strfmt.Registry) error
- type Billing20201105EstimatedPackageItemPrice
- func (m *Billing20201105EstimatedPackageItemPrice) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105EstimatedPackageItemPrice) MarshalBinary() ([]byte, error)
- func (m *Billing20201105EstimatedPackageItemPrice) UnmarshalBinary(b []byte) error
- func (m *Billing20201105EstimatedPackageItemPrice) Validate(formats strfmt.Registry) error
- type Billing20201105FlexibleConsumptionBillingMethodDetails
- type Billing20201105Geo
- type Billing20201105GetActivationDetailsResponse
- func (m *Billing20201105GetActivationDetailsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105GetActivationDetailsResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105GetActivationDetailsResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105GetActivationDetailsResponse) Validate(formats strfmt.Registry) error
- type Billing20201105GetBillingAccountResponse
- func (m *Billing20201105GetBillingAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105GetBillingAccountResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105GetBillingAccountResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105GetBillingAccountResponse) Validate(formats strfmt.Registry) error
- type Billing20201105GetConsumptionPoolResponse
- func (m *Billing20201105GetConsumptionPoolResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105GetConsumptionPoolResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105GetConsumptionPoolResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105GetConsumptionPoolResponse) Validate(formats strfmt.Registry) error
- type Billing20201105GetContractResponse
- func (m *Billing20201105GetContractResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105GetContractResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105GetContractResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105GetContractResponse) Validate(formats strfmt.Registry) error
- type Billing20201105GetPricingModelTransitionsResponse
- func (m *Billing20201105GetPricingModelTransitionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105GetPricingModelTransitionsResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105GetPricingModelTransitionsResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105GetPricingModelTransitionsResponse) Validate(formats strfmt.Registry) error
- type Billing20201105GetRunningStatementResponse
- func (m *Billing20201105GetRunningStatementResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105GetRunningStatementResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105GetRunningStatementResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105GetRunningStatementResponse) Validate(formats strfmt.Registry) error
- type Billing20201105GetStatementCSVResponse
- func (m *Billing20201105GetStatementCSVResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105GetStatementCSVResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105GetStatementCSVResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105GetStatementCSVResponse) Validate(formats strfmt.Registry) error
- type Billing20201105GetStatementResponse
- func (m *Billing20201105GetStatementResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105GetStatementResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105GetStatementResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105GetStatementResponse) Validate(formats strfmt.Registry) error
- type Billing20201105GetUsageResponse
- func (m *Billing20201105GetUsageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105GetUsageResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105GetUsageResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105GetUsageResponse) Validate(formats strfmt.Registry) error
- type Billing20201105InvoiceLineItem
- func (m *Billing20201105InvoiceLineItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105InvoiceLineItem) MarshalBinary() ([]byte, error)
- func (m *Billing20201105InvoiceLineItem) UnmarshalBinary(b []byte) error
- func (m *Billing20201105InvoiceLineItem) Validate(formats strfmt.Registry) error
- type Billing20201105ListAvailablePackagesResponse
- func (m *Billing20201105ListAvailablePackagesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ListAvailablePackagesResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ListAvailablePackagesResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ListAvailablePackagesResponse) Validate(formats strfmt.Registry) error
- type Billing20201105ListConsumptionPoolsResponse
- func (m *Billing20201105ListConsumptionPoolsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ListConsumptionPoolsResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ListConsumptionPoolsResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ListConsumptionPoolsResponse) Validate(formats strfmt.Registry) error
- type Billing20201105ListContractsResponse
- func (m *Billing20201105ListContractsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ListContractsResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ListContractsResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ListContractsResponse) Validate(formats strfmt.Registry) error
- type Billing20201105ListStatementsResponse
- func (m *Billing20201105ListStatementsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ListStatementsResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ListStatementsResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ListStatementsResponse) Validate(formats strfmt.Registry) error
- type Billing20201105OnDemandBillingMethod
- func (m *Billing20201105OnDemandBillingMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105OnDemandBillingMethod) MarshalBinary() ([]byte, error)
- func (m *Billing20201105OnDemandBillingMethod) UnmarshalBinary(b []byte) error
- func (m *Billing20201105OnDemandBillingMethod) Validate(formats strfmt.Registry) error
- type Billing20201105OnDemandBillingMethodDetails
- func (m *Billing20201105OnDemandBillingMethodDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105OnDemandBillingMethodDetails) MarshalBinary() ([]byte, error)
- func (m *Billing20201105OnDemandBillingMethodDetails) UnmarshalBinary(b []byte) error
- func (m *Billing20201105OnDemandBillingMethodDetails) Validate(formats strfmt.Registry) error
- type Billing20201105PackageItem
- func (m *Billing20201105PackageItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105PackageItem) MarshalBinary() ([]byte, error)
- func (m *Billing20201105PackageItem) UnmarshalBinary(b []byte) error
- func (m *Billing20201105PackageItem) Validate(formats strfmt.Registry) error
- type Billing20201105PackageItemSelection
- func (m *Billing20201105PackageItemSelection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105PackageItemSelection) MarshalBinary() ([]byte, error)
- func (m *Billing20201105PackageItemSelection) UnmarshalBinary(b []byte) error
- func (m *Billing20201105PackageItemSelection) Validate(formats strfmt.Registry) error
- type Billing20201105PackageItemType
- type Billing20201105PackageOption
- func (m *Billing20201105PackageOption) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105PackageOption) MarshalBinary() ([]byte, error)
- func (m *Billing20201105PackageOption) UnmarshalBinary(b []byte) error
- func (m *Billing20201105PackageOption) Validate(formats strfmt.Registry) error
- type Billing20201105PricingModel
- type Billing20201105RemoveOnDemandPaymentMethodResponse
- func (m *Billing20201105RemoveOnDemandPaymentMethodResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105RemoveOnDemandPaymentMethodResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105RemoveOnDemandPaymentMethodResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105RemoveOnDemandPaymentMethodResponse) Validate(formats strfmt.Registry) error
- type Billing20201105ResourceUsage
- func (m *Billing20201105ResourceUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ResourceUsage) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ResourceUsage) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ResourceUsage) Validate(formats strfmt.Registry) error
- type Billing20201105Statement
- func (m *Billing20201105Statement) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105Statement) MarshalBinary() ([]byte, error)
- func (m *Billing20201105Statement) UnmarshalBinary(b []byte) error
- func (m *Billing20201105Statement) Validate(formats strfmt.Registry) error
- type Billing20201105StatementOverview
- func (m *Billing20201105StatementOverview) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105StatementOverview) MarshalBinary() ([]byte, error)
- func (m *Billing20201105StatementOverview) UnmarshalBinary(b []byte) error
- func (m *Billing20201105StatementOverview) Validate(formats strfmt.Registry) error
- type Billing20201105StatementResource
- func (m *Billing20201105StatementResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105StatementResource) MarshalBinary() ([]byte, error)
- func (m *Billing20201105StatementResource) UnmarshalBinary(b []byte) error
- func (m *Billing20201105StatementResource) Validate(formats strfmt.Registry) error
- type Billing20201105StatementState
- type Billing20201105StatementSummary
- func (m *Billing20201105StatementSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105StatementSummary) MarshalBinary() ([]byte, error)
- func (m *Billing20201105StatementSummary) UnmarshalBinary(b []byte) error
- func (m *Billing20201105StatementSummary) Validate(formats strfmt.Registry) error
- type Billing20201105SupportLevel
- func (m *Billing20201105SupportLevel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105SupportLevel) MarshalBinary() ([]byte, error)
- func (m *Billing20201105SupportLevel) UnmarshalBinary(b []byte) error
- func (m *Billing20201105SupportLevel) Validate(formats strfmt.Registry) error
- type Billing20201105TaxSettings
- func (m *Billing20201105TaxSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105TaxSettings) MarshalBinary() ([]byte, error)
- func (m *Billing20201105TaxSettings) UnmarshalBinary(b []byte) error
- func (m *Billing20201105TaxSettings) Validate(formats strfmt.Registry) error
- type Billing20201105Unit
- type Billing20201105UpdateBillingAccountResponse
- func (m *Billing20201105UpdateBillingAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105UpdateBillingAccountResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105UpdateBillingAccountResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105UpdateBillingAccountResponse) Validate(formats strfmt.Registry) error
- type BillingAccountOnDemandStatus
- type BillingAccountServiceCreateBody
- func (m *BillingAccountServiceCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BillingAccountServiceCreateBody) MarshalBinary() ([]byte, error)
- func (m *BillingAccountServiceCreateBody) UnmarshalBinary(b []byte) error
- func (m *BillingAccountServiceCreateBody) Validate(formats strfmt.Registry) error
- type BillingAccountServiceUpdateBody
- func (m *BillingAccountServiceUpdateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BillingAccountServiceUpdateBody) MarshalBinary() ([]byte, error)
- func (m *BillingAccountServiceUpdateBody) UnmarshalBinary(b []byte) error
- func (m *BillingAccountServiceUpdateBody) Validate(formats strfmt.Registry) error
- type CardDetailsBrand
- type Cloudbilling20201105Discount
- func (m *Cloudbilling20201105Discount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Cloudbilling20201105Discount) MarshalBinary() ([]byte, error)
- func (m *Cloudbilling20201105Discount) UnmarshalBinary(b []byte) error
- func (m *Cloudbilling20201105Discount) Validate(formats strfmt.Registry) error
- type CloudlocationLocation
- type ContractEntitlementDetails
- type ContractFlexDetails
- type ContractProductSupportLevel
- func (m *ContractProductSupportLevel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ContractProductSupportLevel) MarshalBinary() ([]byte, error)
- func (m *ContractProductSupportLevel) UnmarshalBinary(b []byte) error
- func (m *ContractProductSupportLevel) Validate(formats strfmt.Registry) error
- type GetPricingModelTransitionsResponseTransition
- func (m *GetPricingModelTransitionsResponseTransition) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetPricingModelTransitionsResponseTransition) MarshalBinary() ([]byte, error)
- func (m *GetPricingModelTransitionsResponseTransition) UnmarshalBinary(b []byte) error
- func (m *GetPricingModelTransitionsResponseTransition) Validate(formats strfmt.Registry) error
- type GooglerpcStatus
- type LocationLink
- type LocationRegion
- type PackageOptionDependency
- func (m *PackageOptionDependency) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PackageOptionDependency) MarshalBinary() ([]byte, error)
- func (m *PackageOptionDependency) UnmarshalBinary(b []byte) error
- func (m *PackageOptionDependency) Validate(formats strfmt.Registry) error
- type ProductServiceEstimateCostBody
- func (m *ProductServiceEstimateCostBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ProductServiceEstimateCostBody) MarshalBinary() ([]byte, error)
- func (m *ProductServiceEstimateCostBody) UnmarshalBinary(b []byte) error
- func (m *ProductServiceEstimateCostBody) Validate(formats strfmt.Registry) error
- type ProtobufAny
- type StatementResourceFlexibleConsumptionMetadata
- func (m *StatementResourceFlexibleConsumptionMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StatementResourceFlexibleConsumptionMetadata) MarshalBinary() ([]byte, error)
- func (m *StatementResourceFlexibleConsumptionMetadata) UnmarshalBinary(b []byte) error
- func (m *StatementResourceFlexibleConsumptionMetadata) Validate(formats strfmt.Registry) error
- type StatementResourceLineItem
- func (m *StatementResourceLineItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StatementResourceLineItem) MarshalBinary() ([]byte, error)
- func (m *StatementResourceLineItem) UnmarshalBinary(b []byte) error
- func (m *StatementResourceLineItem) Validate(formats strfmt.Registry) error
- type StatementStatementMetadata
- func (m *StatementStatementMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StatementStatementMetadata) MarshalBinary() ([]byte, error)
- func (m *StatementStatementMetadata) UnmarshalBinary(b []byte) error
- func (m *StatementStatementMetadata) Validate(formats strfmt.Registry) error
- type TaxSettingsExemptionStatus
- type TaxSettingsIDType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivationServiceActivateBody ¶ added in v0.97.0
type ActivationServiceActivateBody struct { // billing_account_id is the billing account to use the activation code on. BillingAccountID string `json:"billing_account_id,omitempty"` // organization_id is the HCP org to use the activation code on. OrganizationID string `json:"organization_id,omitempty"` }
ActivationServiceActivateBody ActivateRequest is used to redeem a given activation code on the specified HCP org and billing account ID.
swagger:model ActivationServiceActivateBody
func (*ActivationServiceActivateBody) ContextValidate ¶ added in v0.97.0
func (m *ActivationServiceActivateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this activation service activate body based on context it is used
func (*ActivationServiceActivateBody) MarshalBinary ¶ added in v0.97.0
func (m *ActivationServiceActivateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ActivationServiceActivateBody) UnmarshalBinary ¶ added in v0.97.0
func (m *ActivationServiceActivateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ActivateResponse ¶ added in v0.97.0
type Billing20201105ActivateResponse interface{}
Billing20201105ActivateResponse ActivateResponse is an empty placeholder for the response from the Activate endpoint.
swagger:model billing_20201105ActivateResponse
type Billing20201105Address ¶
type Billing20201105Address struct { // city is a city, district, suburb, town, or village. City string `json:"city,omitempty"` // line1 is the street, PO Box, or company name. Line1 string `json:"line1,omitempty"` // line2 is the apartment, suite, unit, or building. Line2 string `json:"line2,omitempty"` // postal_code is the ZIP or postal code. PostalCode string `json:"postal_code,omitempty"` // state is a state, county, province, or region. State string `json:"state,omitempty"` }
Billing20201105Address Address is a physical postal address.
swagger:model billing_20201105Address
func (*Billing20201105Address) ContextValidate ¶
func (m *Billing20201105Address) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 address based on context it is used
func (*Billing20201105Address) MarshalBinary ¶
func (m *Billing20201105Address) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105Address) UnmarshalBinary ¶
func (m *Billing20201105Address) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105AvailablePackage ¶
type Billing20201105AvailablePackage struct { // items represents the contents of the package as a collection of PackageItem. Items []*Billing20201105PackageItem `json:"items"` // key is the Package's identifier. Key string `json:"key,omitempty"` // resource_type is the identifier for the resource this package represents an offering for. ResourceType string `json:"resource_type,omitempty"` }
Billing20201105AvailablePackage Package represents a set of product offerings an end user could sign-up for.
swagger:model billing_20201105AvailablePackage
func (*Billing20201105AvailablePackage) ContextValidate ¶
func (m *Billing20201105AvailablePackage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 available package based on the context it is used
func (*Billing20201105AvailablePackage) MarshalBinary ¶
func (m *Billing20201105AvailablePackage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105AvailablePackage) UnmarshalBinary ¶
func (m *Billing20201105AvailablePackage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105BillingAccount ¶
type Billing20201105BillingAccount struct { // balance is the account's current credit balance. Credit is added to an // account's balance for example when it is eligible for a free trial. Balance string `json:"balance,omitempty"` // country is the billing account's country that is used both in the billing // address and for selecting regional prices. Country *Billing20201105Country `json:"country,omitempty"` // id is the user-settable ID for this Billing Account. It is unique within // the organization. ID string `json:"id,omitempty"` // name is the Billing Account's user-defined name. Name string `json:"name,omitempty"` // on_demand_status represents the status of the on-demand payment method. OnDemandStatus *BillingAccountOnDemandStatus `json:"on_demand_status,omitempty"` // organization_id is the ID of the organization to which the Billing Account // belongs. OrganizationID string `json:"organization_id,omitempty"` // pricing_model is the value of the current pricing model for the billing account. PricingModel *Billing20201105PricingModel `json:"pricing_model,omitempty"` // project_ids is the list of IDs of all projects associated with the Billing // Account. Projects can be linked to *at most* one Billing Account. ProjectIds []string `json:"project_ids"` // status of the billing account (e.g. active, canceled). Status *Billing20201105BillingAccountStatus `json:"status,omitempty"` }
Billing20201105BillingAccount BillingAccount is the user-facing object in HCP that defines how an organization will be billed for the resources used in their projects.
swagger:model billing_20201105BillingAccount
func (*Billing20201105BillingAccount) ContextValidate ¶
func (m *Billing20201105BillingAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 billing account based on the context it is used
func (*Billing20201105BillingAccount) MarshalBinary ¶
func (m *Billing20201105BillingAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105BillingAccount) UnmarshalBinary ¶
func (m *Billing20201105BillingAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105BillingAccountStatus ¶
type Billing20201105BillingAccountStatus string
Billing20201105BillingAccountStatus BillingAccountStatus is the status of the billing account (e.g. active, canceled).
swagger:model billing_20201105BillingAccountStatus
const ( // Billing20201105BillingAccountStatusACTIVE captures enum value "ACTIVE" Billing20201105BillingAccountStatusACTIVE Billing20201105BillingAccountStatus = "ACTIVE" // Billing20201105BillingAccountStatusDELETING captures enum value "DELETING" Billing20201105BillingAccountStatusDELETING Billing20201105BillingAccountStatus = "DELETING" // Billing20201105BillingAccountStatusDELINQUENT captures enum value "DELINQUENT" Billing20201105BillingAccountStatusDELINQUENT Billing20201105BillingAccountStatus = "DELINQUENT" // Billing20201105BillingAccountStatusINCOMPLETE captures enum value "INCOMPLETE" Billing20201105BillingAccountStatusINCOMPLETE Billing20201105BillingAccountStatus = "INCOMPLETE" // Billing20201105BillingAccountStatusTRIAL captures enum value "TRIAL" Billing20201105BillingAccountStatusTRIAL Billing20201105BillingAccountStatus = "TRIAL" )
func NewBilling20201105BillingAccountStatus ¶
func NewBilling20201105BillingAccountStatus(value Billing20201105BillingAccountStatus) *Billing20201105BillingAccountStatus
func (Billing20201105BillingAccountStatus) ContextValidate ¶
func (m Billing20201105BillingAccountStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 billing account status based on context it is used
func (Billing20201105BillingAccountStatus) Pointer ¶
func (m Billing20201105BillingAccountStatus) Pointer() *Billing20201105BillingAccountStatus
Pointer returns a pointer to a freshly-allocated Billing20201105BillingAccountStatus.
type Billing20201105BillingAccountUsage ¶
type Billing20201105BillingAccountUsage struct { // billing_period_end is the end time of the period that was considered for // this usage calculation. // Format: date-time BillingPeriodEnd strfmt.DateTime `json:"billing_period_end,omitempty"` // billing_period_start is the start time of the period that was considered // for this usage calculation. // Format: date-time BillingPeriodStart strfmt.DateTime `json:"billing_period_start,omitempty"` // discount is the amount of credits that would be deducted from the subtotal // if an invoice would be generated. Discount string `json:"discount,omitempty"` // remaining_balance is the account balance remaining after deducting the // calculated usage's subtotal_cost. This should be considered as an estimate // and understood as the potential new account balance if an invoice was // generated at the end of the billing period covered by this usage. RemainingBalance string `json:"remaining_balance,omitempty"` // resource_usages has information about each resource that is part of this calculation. ResourceUsages []*Billing20201105ResourceUsage `json:"resource_usages"` // subtotal_cost is the cost produced within this billing period. It's the sum // of all calculated line items' amounts. SubtotalCost string `json:"subtotal_cost,omitempty"` // total_cost is the cost produced within this billing period minus any // discount that is granted because of a positive account balance. This // should be considered an estimate because not all information required to // issue an invoice might have been taken into consideration (e.g. billing // address country and tax might not be reflected in this value). TotalCost string `json:"total_cost,omitempty"` }
Billing20201105BillingAccountUsage BillingAccountUsage describes the usage that accrued during a specific billing period.
swagger:model billing_20201105BillingAccountUsage
func (*Billing20201105BillingAccountUsage) ContextValidate ¶
func (m *Billing20201105BillingAccountUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 billing account usage based on the context it is used
func (*Billing20201105BillingAccountUsage) MarshalBinary ¶
func (m *Billing20201105BillingAccountUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105BillingAccountUsage) UnmarshalBinary ¶
func (m *Billing20201105BillingAccountUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105CardDetails ¶
type Billing20201105CardDetails struct { // brand of the card. Brand *CardDetailsBrand `json:"brand,omitempty"` // exp_month is the two-digit month part of the card's expiration date. ExpMonth int32 `json:"exp_month,omitempty"` // exp_year is the four-digit year part of the card's expiration date. ExpYear int32 `json:"exp_year,omitempty"` // last4 is the last four digits of the card's PAN (long number). Last4 string `json:"last4,omitempty"` }
Billing20201105CardDetails CardDetails contains credit/debit card details.
swagger:model billing_20201105CardDetails
func (*Billing20201105CardDetails) ContextValidate ¶
func (m *Billing20201105CardDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 card details based on the context it is used
func (*Billing20201105CardDetails) MarshalBinary ¶
func (m *Billing20201105CardDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105CardDetails) UnmarshalBinary ¶
func (m *Billing20201105CardDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ConsumptionPool ¶
type Billing20201105ConsumptionPool struct { // active_from is the timestamp of when the consumption pool became active. // Format: date-time ActiveFrom strfmt.DateTime `json:"active_from,omitempty"` // active_until is the timestamp of when the consumption pool became inactive. // Format: date-time ActiveUntil strfmt.DateTime `json:"active_until,omitempty"` // billing_account_id is the slug ID of the Billing Account this // consumption pool is belongs to. BillingAccountID string `json:"billing_account_id,omitempty"` // created_at is the time when consumption pool has been created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // discounts is the list of discounts associated with the consumption pool. Discounts []*Cloudbilling20201105Discount `json:"discounts"` // id is the id associated with the consumption pool. ID string `json:"id,omitempty"` // initial_amount is the initial amount on the consumption pool in USD. InitialAmount string `json:"initial_amount,omitempty"` // organization_id is the organization where the billing account belongs to. OrganizationID string `json:"organization_id,omitempty"` // recognized_balance is the official remaining balance of this consumption pool in USD // as of the last recognition event. RecognizedBalance string `json:"recognized_balance,omitempty"` // roll_in_percentage is the percentage of a remaining balance an account is allowed to rolled in to // this renewal consumption pool. // For renewal consumption pools, must be between 0 and 100. // For non-renewal consumption it will always be 0. RollInPercentage string `json:"roll_in_percentage,omitempty"` // running_total is a running usage estimate since the last recognition event. // This number will be increased after each new running transaction and // zeroed after a recognition event (if recognition event covered all available running // transactions) RunningTotal string `json:"running_total,omitempty"` // status is the current status of the consumption pool (ex. active, upcoming, rolled over, expired). Status *Billing20201105ConsumptionPoolStatus `json:"status,omitempty"` // support_level is the support level associated with the consumption pool. SupportLevel string `json:"support_level,omitempty"` // support_levels is the list of products and their corresponding support levels for the associated consumption pool SupportLevels []*Billing20201105SupportLevel `json:"support_levels"` // updated_at is the last time the consumption pool has been updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
Billing20201105ConsumptionPool ConsumptionPool represents a FCP Consumption Pool
swagger:model billing_20201105ConsumptionPool
func (*Billing20201105ConsumptionPool) ContextValidate ¶
func (m *Billing20201105ConsumptionPool) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 consumption pool based on the context it is used
func (*Billing20201105ConsumptionPool) MarshalBinary ¶
func (m *Billing20201105ConsumptionPool) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ConsumptionPool) UnmarshalBinary ¶
func (m *Billing20201105ConsumptionPool) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ConsumptionPoolStatus ¶
type Billing20201105ConsumptionPoolStatus string
Billing20201105ConsumptionPoolStatus Status represents the status of a given consumption pool.
- ACTIVE: UPCOMING = 2; ROLLOVER = 3; NEGATIVE = 4; EXPIRED = 5;
swagger:model billing_20201105ConsumptionPoolStatus
const ( // Billing20201105ConsumptionPoolStatusUNSET captures enum value "UNSET" Billing20201105ConsumptionPoolStatusUNSET Billing20201105ConsumptionPoolStatus = "UNSET" // Billing20201105ConsumptionPoolStatusACTIVE captures enum value "ACTIVE" Billing20201105ConsumptionPoolStatusACTIVE Billing20201105ConsumptionPoolStatus = "ACTIVE" )
func NewBilling20201105ConsumptionPoolStatus ¶
func NewBilling20201105ConsumptionPoolStatus(value Billing20201105ConsumptionPoolStatus) *Billing20201105ConsumptionPoolStatus
func (Billing20201105ConsumptionPoolStatus) ContextValidate ¶
func (m Billing20201105ConsumptionPoolStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 consumption pool status based on context it is used
func (Billing20201105ConsumptionPoolStatus) Pointer ¶
func (m Billing20201105ConsumptionPoolStatus) Pointer() *Billing20201105ConsumptionPoolStatus
Pointer returns a pointer to a freshly-allocated Billing20201105ConsumptionPoolStatus.
type Billing20201105ConsumptionPoolUpdateInfo ¶
type Billing20201105ConsumptionPoolUpdateInfo struct { // new_state is the current state of the consumption pool field after the update. NewState string `json:"new_state,omitempty"` // prev_state is the previous state of the consumption pool field before it was updated. PrevState string `json:"prev_state,omitempty"` // update_cause is the reason for the update to the consumption pool (ex. addon, rollover) UpdateCause *Billing20201105ConsumptionPoolUpdateInfoUpdateCause `json:"update_cause,omitempty"` // update_date is the timestamp of when the consumption pool was updated. // Format: date-time UpdateDate strfmt.DateTime `json:"update_date,omitempty"` // created_at is the time when consumption pool update has been created. // Format: date-time UpdateEffectiveAt strfmt.DateTime `json:"update_effective_at,omitempty"` // updated_field is the field of the consumption pool that was updated. UpdatedField string `json:"updated_field,omitempty"` // updated_product is the product that was updated if product-specific support or discount levels were updated UpdatedProduct string `json:"updated_product,omitempty"` }
Billing20201105ConsumptionPoolUpdateInfo ConsumptionPoolUpdateInfo represents information about any updates made to the consumption pool
swagger:model billing_20201105ConsumptionPoolUpdateInfo
func (*Billing20201105ConsumptionPoolUpdateInfo) ContextValidate ¶
func (m *Billing20201105ConsumptionPoolUpdateInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 consumption pool update info based on the context it is used
func (*Billing20201105ConsumptionPoolUpdateInfo) MarshalBinary ¶
func (m *Billing20201105ConsumptionPoolUpdateInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ConsumptionPoolUpdateInfo) UnmarshalBinary ¶
func (m *Billing20201105ConsumptionPoolUpdateInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ConsumptionPoolUpdateInfoUpdateCause ¶ added in v0.97.0
type Billing20201105ConsumptionPoolUpdateInfoUpdateCause string
Billing20201105ConsumptionPoolUpdateInfoUpdateCause update_cause defines possible reasons for the update to the consumption pool
swagger:model billing_20201105ConsumptionPoolUpdateInfoUpdateCause
const ( // Billing20201105ConsumptionPoolUpdateInfoUpdateCauseADDON captures enum value "ADDON" Billing20201105ConsumptionPoolUpdateInfoUpdateCauseADDON Billing20201105ConsumptionPoolUpdateInfoUpdateCause = "ADDON" // Billing20201105ConsumptionPoolUpdateInfoUpdateCauseEARLYRENEWAL captures enum value "EARLY_RENEWAL" Billing20201105ConsumptionPoolUpdateInfoUpdateCauseEARLYRENEWAL Billing20201105ConsumptionPoolUpdateInfoUpdateCause = "EARLY_RENEWAL" )
func NewBilling20201105ConsumptionPoolUpdateInfoUpdateCause ¶ added in v0.97.0
func NewBilling20201105ConsumptionPoolUpdateInfoUpdateCause(value Billing20201105ConsumptionPoolUpdateInfoUpdateCause) *Billing20201105ConsumptionPoolUpdateInfoUpdateCause
func (Billing20201105ConsumptionPoolUpdateInfoUpdateCause) ContextValidate ¶ added in v0.97.0
func (m Billing20201105ConsumptionPoolUpdateInfoUpdateCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 consumption pool update info update cause based on context it is used
func (Billing20201105ConsumptionPoolUpdateInfoUpdateCause) Pointer ¶ added in v0.97.0
func (m Billing20201105ConsumptionPoolUpdateInfoUpdateCause) Pointer() *Billing20201105ConsumptionPoolUpdateInfoUpdateCause
Pointer returns a pointer to a freshly-allocated Billing20201105ConsumptionPoolUpdateInfoUpdateCause.
type Billing20201105ConsumptionPoolsSummary ¶
type Billing20201105ConsumptionPoolsSummary struct { // active_from is the timestamp of when the earliest of active consumption pools became active. // Format: date-time ActiveFrom strfmt.DateTime `json:"active_from,omitempty"` // active_until is the timestamp of when the the latest of active consumption pools became inactive. // Format: date-time ActiveUntil strfmt.DateTime `json:"active_until,omitempty"` // estimated_remaining_balance is the total estimated remaining balance. // of all the active consumption pools in USD. EstimatedRemainingBalance string `json:"estimated_remaining_balance,omitempty"` // initial_amount is the total initial amount of all active consumption pools in USD. InitialAmount string `json:"initial_amount,omitempty"` // updated_at is the last time the any of active consumption pools has been updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
Billing20201105ConsumptionPoolsSummary ConsumptionPoolsSummary is a summary/overview info of consumption pools of a single billing account
swagger:model billing_20201105ConsumptionPoolsSummary
func (*Billing20201105ConsumptionPoolsSummary) ContextValidate ¶
func (m *Billing20201105ConsumptionPoolsSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 consumption pools summary based on context it is used
func (*Billing20201105ConsumptionPoolsSummary) MarshalBinary ¶
func (m *Billing20201105ConsumptionPoolsSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ConsumptionPoolsSummary) UnmarshalBinary ¶
func (m *Billing20201105ConsumptionPoolsSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105Contract ¶ added in v0.97.0
type Billing20201105Contract struct { // active_from is the timestamp of when the contract became active. // Format: date-time ActiveFrom strfmt.DateTime `json:"active_from,omitempty"` // active_until is the timestamp of when the contract became inactive. // Format: date-time ActiveUntil strfmt.DateTime `json:"active_until,omitempty"` // billing_account_id is the public ID of the billing account this // contract is belongs to. BillingAccountID string `json:"billing_account_id,omitempty"` // created_at is when the contract was created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // entitlement contains all information related to the entitlement contract. EntitlementDetails ContractEntitlementDetails `json:"entitlement_details,omitempty"` // flex contains all information related to the flex consumption contract. FlexDetails *ContractFlexDetails `json:"flex_details,omitempty"` // id is the public identifier of the flex consumption pool or entitlement contract. ID string `json:"id,omitempty"` // organization_id is the organization where the billing account belongs to. OrganizationID string `json:"organization_id,omitempty"` // status represents the status of a given contract. Status *Billing20201105ContractStatus `json:"status,omitempty"` // updated_at is the last time the contract has been updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // updates contain a list of any updates made to the contract. Updates []*Billing20201105ContractUpdate `json:"updates"` }
Billing20201105Contract NOTE: The private Contract represents an entitlement contract specifically. Contract represents a contract backed by a flex consumption pool or entitlement contract.
swagger:model billing_20201105Contract
func (*Billing20201105Contract) ContextValidate ¶ added in v0.97.0
func (m *Billing20201105Contract) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 contract based on the context it is used
func (*Billing20201105Contract) MarshalBinary ¶ added in v0.97.0
func (m *Billing20201105Contract) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105Contract) UnmarshalBinary ¶ added in v0.97.0
func (m *Billing20201105Contract) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ContractBillingMethod ¶
type Billing20201105ContractBillingMethod struct { // created_at is the time at which the Contract was created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // reference is the unique reference number, provided to the customer, which // allows them to associate a Billing Account to their sales contract. Reference string `json:"reference,omitempty"` }
Billing20201105ContractBillingMethod ContractBillingMethod contains the information used to associate a Billing Account to a contract negotiated with our sales organization.
swagger:model billing_20201105ContractBillingMethod
func (*Billing20201105ContractBillingMethod) ContextValidate ¶
func (m *Billing20201105ContractBillingMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 contract billing method based on context it is used
func (*Billing20201105ContractBillingMethod) MarshalBinary ¶
func (m *Billing20201105ContractBillingMethod) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ContractBillingMethod) UnmarshalBinary ¶
func (m *Billing20201105ContractBillingMethod) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ContractDetails ¶ added in v0.97.0
type Billing20201105ContractDetails struct { // amount is the amount committed for this contract Amount string `json:"amount,omitempty"` // contract_type is the type of license (i.e. "hashicorp.hcp.flex") ContractType string `json:"contract_type,omitempty"` // end_date is the end date of the contract // Format: date-time EndDate strfmt.DateTime `json:"end_date,omitempty"` // start_date is the start date of the contract // Format: date-time StartDate strfmt.DateTime `json:"start_date,omitempty"` }
Billing20201105ContractDetails billing 20201105 contract details
swagger:model billing_20201105ContractDetails
func (*Billing20201105ContractDetails) ContextValidate ¶ added in v0.97.0
func (m *Billing20201105ContractDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 contract details based on context it is used
func (*Billing20201105ContractDetails) MarshalBinary ¶ added in v0.97.0
func (m *Billing20201105ContractDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ContractDetails) UnmarshalBinary ¶ added in v0.97.0
func (m *Billing20201105ContractDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ContractDiscount ¶ added in v0.97.0
type Billing20201105ContractDiscount struct { // percentage is the discount percentage. Percentage string `json:"percentage,omitempty"` // product_type is the product type this discount is for. ProductType string `json:"product_type,omitempty"` }
Billing20201105ContractDiscount Discount represents discount under a contract.
swagger:model billing_20201105ContractDiscount
func (*Billing20201105ContractDiscount) ContextValidate ¶ added in v0.97.0
func (m *Billing20201105ContractDiscount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 contract discount based on context it is used
func (*Billing20201105ContractDiscount) MarshalBinary ¶ added in v0.97.0
func (m *Billing20201105ContractDiscount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ContractDiscount) UnmarshalBinary ¶ added in v0.97.0
func (m *Billing20201105ContractDiscount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ContractStatus ¶ added in v0.97.0
type Billing20201105ContractStatus string
Billing20201105ContractStatus Status represents the status of a given contract based on its active from and until dates.
swagger:model billing_20201105ContractStatus
const ( // Billing20201105ContractStatusUNSET captures enum value "UNSET" Billing20201105ContractStatusUNSET Billing20201105ContractStatus = "UNSET" // Billing20201105ContractStatusACTIVE captures enum value "ACTIVE" Billing20201105ContractStatusACTIVE Billing20201105ContractStatus = "ACTIVE" // Billing20201105ContractStatusUPCOMING captures enum value "UPCOMING" Billing20201105ContractStatusUPCOMING Billing20201105ContractStatus = "UPCOMING" // Billing20201105ContractStatusEXPIRED captures enum value "EXPIRED" Billing20201105ContractStatusEXPIRED Billing20201105ContractStatus = "EXPIRED" )
func NewBilling20201105ContractStatus ¶ added in v0.97.0
func NewBilling20201105ContractStatus(value Billing20201105ContractStatus) *Billing20201105ContractStatus
func (Billing20201105ContractStatus) ContextValidate ¶ added in v0.97.0
func (m Billing20201105ContractStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 contract status based on context it is used
func (Billing20201105ContractStatus) Pointer ¶ added in v0.97.0
func (m Billing20201105ContractStatus) Pointer() *Billing20201105ContractStatus
Pointer returns a pointer to a freshly-allocated Billing20201105ContractStatus.
type Billing20201105ContractUpdate ¶ added in v0.97.0
type Billing20201105ContractUpdate struct { // new_state is the current state of the contract field after the update. NewState string `json:"new_state,omitempty"` // prev_state is the previous state of the contract field before it was updated. PrevState string `json:"prev_state,omitempty"` // update_cause is the reason for the update to the contract (ex. addon, rollover). UpdateCause *Billing20201105ContractUpdateUpdateCause `json:"update_cause,omitempty"` // update_date is the timestamp of when the contract was updated. // Format: date-time UpdateDate strfmt.DateTime `json:"update_date,omitempty"` // update_effective_at is the time when the contract update has been created. // Format: date-time UpdateEffectiveAt strfmt.DateTime `json:"update_effective_at,omitempty"` // updated_field is the field of the contract that was updated. UpdatedField string `json:"updated_field,omitempty"` // updated_product is the product that was updated if product-specific support or discount levels were updated UpdatedProduct string `json:"updated_product,omitempty"` }
Billing20201105ContractUpdate ContractUpdate represents information about any updates made to the contract.
swagger:model billing_20201105ContractUpdate
func (*Billing20201105ContractUpdate) ContextValidate ¶ added in v0.97.0
func (m *Billing20201105ContractUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 contract update based on the context it is used
func (*Billing20201105ContractUpdate) MarshalBinary ¶ added in v0.97.0
func (m *Billing20201105ContractUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ContractUpdate) UnmarshalBinary ¶ added in v0.97.0
func (m *Billing20201105ContractUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ContractUpdateUpdateCause ¶ added in v0.97.0
type Billing20201105ContractUpdateUpdateCause string
Billing20201105ContractUpdateUpdateCause update_cause defines possible reasons for the update to the contract.
swagger:model billing_20201105ContractUpdateUpdateCause
const ( // Billing20201105ContractUpdateUpdateCauseADDON captures enum value "ADDON" Billing20201105ContractUpdateUpdateCauseADDON Billing20201105ContractUpdateUpdateCause = "ADDON" // Billing20201105ContractUpdateUpdateCauseEARLYRENEWAL captures enum value "EARLY_RENEWAL" Billing20201105ContractUpdateUpdateCauseEARLYRENEWAL Billing20201105ContractUpdateUpdateCause = "EARLY_RENEWAL" )
func NewBilling20201105ContractUpdateUpdateCause ¶ added in v0.97.0
func NewBilling20201105ContractUpdateUpdateCause(value Billing20201105ContractUpdateUpdateCause) *Billing20201105ContractUpdateUpdateCause
func (Billing20201105ContractUpdateUpdateCause) ContextValidate ¶ added in v0.97.0
func (m Billing20201105ContractUpdateUpdateCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 contract update update cause based on context it is used
func (Billing20201105ContractUpdateUpdateCause) Pointer ¶ added in v0.97.0
func (m Billing20201105ContractUpdateUpdateCause) Pointer() *Billing20201105ContractUpdateUpdateCause
Pointer returns a pointer to a freshly-allocated Billing20201105ContractUpdateUpdateCause.
type Billing20201105Country ¶
type Billing20201105Country string
Billing20201105Country Country is a two-letter country code as defined by the ISO 3166-1 standard.
https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
- AF: Afghanistan
- AL: Albania
- AQ: Antarctica
- DZ: Algeria
- AS: American Samoa
- AD: Andorra
- AO: Angola
- AG: Antigua and Barbuda
- AZ: Azerbaijan
- AR: Argentina
- AU: Australia
- AT: Austria
- BS: Bahamas (the)
- BH: Bahrain
- BD: Bangladesh
- AM: Armenia
- BB: Barbados
- BE: Belgium
- BM: Bermuda
- BT: Bhutan
- BO: Bolivia (Plurinational State of)
- BA: Bosnia and Herzegovina
- BW: Botswana
- BV: Bouvet Island
- BR: Brazil
- BZ: Belize
- IO: British Indian Ocean Territory (the)
- SB: Solomon Islands
- VG: Virgin Islands (British)
- BN: Brunei Darussalam
- BG: Bulgaria
- MM: Myanmar
- BI: Burundi
- BY: Belarus
- KH: Cambodia
- CM: Cameroon
- CA: Canada
- CV: Cabo Verde
- KY: Cayman Islands (the)
- CF: Central African Republic (the)
- LK: Sri Lanka
- TD: Chad
- CL: Chile
- CN: China
- TW: Taiwan (Province of China)
- CX: Christmas Island
- CC: Cocos (Keeling) Islands (the)
- CO: Colombia
- KM: Comoros (the)
- YT: Mayotte
- CG: Congo (the)
- CD: Congo (the Democratic Republic of the)
- CK: Cook Islands (the)
- CR: Costa Rica
- HR: Croatia
- CU: Cuba
- CY: Cyprus
- CZ: Czech Republic (the)
- BJ: Benin
- DK: Denmark
- DM: Dominica
- DO: Dominican Republic (the)
- EC: Ecuador
- SV: El Salvador
- GQ: Equatorial Guinea
- ET: Ethiopia
- ER: Eritrea
- EE: Estonia
- FO: Faroe Islands (the)
- FK: Falkland Islands (the) [Malvinas]
- GS: South Georgia and the South Sandwich Islands
- FJ: Fiji
- FI: Finland
- AX: Åland Islands
- FR: France
- GF: French Guiana
- PF: French Polynesia
- TF: French Southern Territories (the)
- DJ: Djibouti
- GA: Gabon
- GE: Georgia
- GM: Gambia (the)
- PS: Palestine, State of
- DE: Germany
- GH: Ghana
- GI: Gibraltar
- KI: Kiribati
- GR: Greece
- GL: Greenland
- GD: Grenada
- GP: Guadeloupe
- GU: Guam
- GT: Guatemala
- GN: Guinea
- GY: Guyana
- HT: Haiti
- HM: Heard Island and McDonald Islands
- VA: Holy See (the)
- HN: Honduras
- HK: Hong Kong
- HU: Hungary
- IS: Iceland
- IN: India
- ID: Indonesia
- IR: Iran (Islamic Republic of)
- IQ: Iraq
- IE: Ireland
- IL: Israel
- IT: Italy
- CI: Côte d'Ivoire
- JM: Jamaica
- JP: Japan
- KZ: Kazakhstan
- JO: Jordan
- KE: Kenya
- KP: Korea (the Democratic People's Republic of)
- KR: Korea (the Republic of)
- KW: Kuwait
- KG: Kyrgyzstan
- LA: Lao People's Democratic Republic (the)
- LB: Lebanon
- LS: Lesotho
- LV: Latvia
- LR: Liberia
- LY: Libya
- LI: Liechtenstein
- LT: Lithuania
- LU: Luxembourg
- MO: Macao
- MG: Madagascar
- MW: Malawi
- MY: Malaysia
- MV: Maldives
- ML: Mali
- MT: Malta
- MQ: Martinique
- MR: Mauritania
- MU: Mauritius
- MX: Mexico
- MC: Monaco
- MN: Mongolia
- MD: Moldova (the Republic of)
- ME: Montenegro
- MS: Montserrat
- MA: Morocco
- MZ: Mozambique
- OM: Oman
- NA: Namibia
- NR: Nauru
- NP: Nepal
- NL: Netherlands (the)
- CW: Curaçao
- AW: Aruba
- SX: Sint Maarten (Dutch part)
- BQ: Bonaire, Sint Eustatius and Saba
- NC: New Caledonia
- VU: Vanuatu
- NZ: New Zealand
- NI: Nicaragua
- NE: Niger (the)
- NG: Nigeria
- NU: Niue
- NF: Norfolk Island
- NO: Norway
- MP: Northern Mariana Islands (the)
- UM: United States Minor Outlying Islands (the)
- FM: Micronesia (Federated States of)
- MH: Marshall Islands (the)
- PW: Palau
- PK: Pakistan
- PA: Panama
- PG: Papua New Guinea
- PY: Paraguay
- PE: Peru
- PH: Philippines (the)
- PN: Pitcairn
- PL: Poland
- PT: Portugal
- GW: Guinea-Bissau
- TL: Timor-Leste
- PR: Puerto Rico
- QA: Qatar
- RE: Réunion
- RO: Romania
- RU: Russian Federation (the)
- RW: Rwanda
- BL: Saint Barthélemy
- SH: Saint Helena, Ascension and Tristan da Cunha
- KN: Saint Kitts and Nevis
- AI: Anguilla
- LC: Saint Lucia
- MF: Saint Martin (French part)
- PM: Saint Pierre and Miquelon
- VC: Saint Vincent and the Grenadines
- SM: San Marino
- ST: Sao Tome and Principe
- SA: Saudi Arabia
- SN: Senegal
- RS: Serbia
- SC: Seychelles
- SL: Sierra Leone
- SG: Singapore
- SK: Slovakia
- VN: Viet Nam
- SI: Slovenia
- SO: Somalia
- ZA: South Africa
- ZW: Zimbabwe
- ES: Spain
- SS: South Sudan
- SD: Sudan (the)
- EH: Western Sahara*
- SR: Suriname
- SJ: Svalbard and Jan Mayen
- SZ: Swaziland
- SE: Sweden
- CH: Switzerland
- SY: Syrian Arab Republic
- TJ: Tajikistan
- TH: Thailand
- TG: Togo
- TK: Tokelau
- TO: Tonga
- TT: Trinidad and Tobago
- AE: United Arab Emirates (the)
- TN: Tunisia
- TR: Turkey
- TM: Turkmenistan
- TC: Turks and Caicos Islands (the)
- TV: Tuvalu
- UG: Uganda
- UA: Ukraine
- MK: Macedonia (the former Yugoslav Republic of)
- EG: Egypt
- GB: United Kingdom of Great Britain and Northern Ireland (the)
- GG: Guernsey
- JE: Jersey
- IM: Isle of Man
- TZ: Tanzania, United Republic of
- US: United States of America (the)
- VI: Virgin Islands (U.S.)
- BF: Burkina Faso
- UY: Uruguay
- UZ: Uzbekistan
- VE: Venezuela (Bolivarian Republic of)
- WF: Wallis and Futuna
- WS: Samoa
- YE: Yemen
- ZM: Zambia
swagger:model billing_20201105Country
const ( // Billing20201105CountryUNSET captures enum value "UNSET" Billing20201105CountryUNSET Billing20201105Country = "UNSET" // Billing20201105CountryAF captures enum value "AF" Billing20201105CountryAF Billing20201105Country = "AF" // Billing20201105CountryAL captures enum value "AL" Billing20201105CountryAL Billing20201105Country = "AL" // Billing20201105CountryAQ captures enum value "AQ" Billing20201105CountryAQ Billing20201105Country = "AQ" // Billing20201105CountryDZ captures enum value "DZ" Billing20201105CountryDZ Billing20201105Country = "DZ" // Billing20201105CountryAS captures enum value "AS" Billing20201105CountryAS Billing20201105Country = "AS" // Billing20201105CountryAD captures enum value "AD" Billing20201105CountryAD Billing20201105Country = "AD" // Billing20201105CountryAO captures enum value "AO" Billing20201105CountryAO Billing20201105Country = "AO" // Billing20201105CountryAG captures enum value "AG" Billing20201105CountryAG Billing20201105Country = "AG" // Billing20201105CountryAZ captures enum value "AZ" Billing20201105CountryAZ Billing20201105Country = "AZ" // Billing20201105CountryAR captures enum value "AR" Billing20201105CountryAR Billing20201105Country = "AR" // Billing20201105CountryAU captures enum value "AU" Billing20201105CountryAU Billing20201105Country = "AU" // Billing20201105CountryAT captures enum value "AT" Billing20201105CountryAT Billing20201105Country = "AT" // Billing20201105CountryBS captures enum value "BS" Billing20201105CountryBS Billing20201105Country = "BS" // Billing20201105CountryBH captures enum value "BH" Billing20201105CountryBH Billing20201105Country = "BH" // Billing20201105CountryBD captures enum value "BD" Billing20201105CountryBD Billing20201105Country = "BD" // Billing20201105CountryAM captures enum value "AM" Billing20201105CountryAM Billing20201105Country = "AM" // Billing20201105CountryBB captures enum value "BB" Billing20201105CountryBB Billing20201105Country = "BB" // Billing20201105CountryBE captures enum value "BE" Billing20201105CountryBE Billing20201105Country = "BE" // Billing20201105CountryBM captures enum value "BM" Billing20201105CountryBM Billing20201105Country = "BM" // Billing20201105CountryBT captures enum value "BT" Billing20201105CountryBT Billing20201105Country = "BT" // Billing20201105CountryBO captures enum value "BO" Billing20201105CountryBO Billing20201105Country = "BO" // Billing20201105CountryBA captures enum value "BA" Billing20201105CountryBA Billing20201105Country = "BA" // Billing20201105CountryBW captures enum value "BW" Billing20201105CountryBW Billing20201105Country = "BW" // Billing20201105CountryBV captures enum value "BV" Billing20201105CountryBV Billing20201105Country = "BV" // Billing20201105CountryBR captures enum value "BR" Billing20201105CountryBR Billing20201105Country = "BR" // Billing20201105CountryBZ captures enum value "BZ" Billing20201105CountryBZ Billing20201105Country = "BZ" // Billing20201105CountryIO captures enum value "IO" Billing20201105CountryIO Billing20201105Country = "IO" // Billing20201105CountrySB captures enum value "SB" Billing20201105CountrySB Billing20201105Country = "SB" // Billing20201105CountryVG captures enum value "VG" Billing20201105CountryVG Billing20201105Country = "VG" // Billing20201105CountryBN captures enum value "BN" Billing20201105CountryBN Billing20201105Country = "BN" // Billing20201105CountryBG captures enum value "BG" Billing20201105CountryBG Billing20201105Country = "BG" // Billing20201105CountryMM captures enum value "MM" Billing20201105CountryMM Billing20201105Country = "MM" // Billing20201105CountryBI captures enum value "BI" Billing20201105CountryBI Billing20201105Country = "BI" // Billing20201105CountryBY captures enum value "BY" Billing20201105CountryBY Billing20201105Country = "BY" // Billing20201105CountryKH captures enum value "KH" Billing20201105CountryKH Billing20201105Country = "KH" // Billing20201105CountryCM captures enum value "CM" Billing20201105CountryCM Billing20201105Country = "CM" // Billing20201105CountryCA captures enum value "CA" Billing20201105CountryCA Billing20201105Country = "CA" // Billing20201105CountryCV captures enum value "CV" Billing20201105CountryCV Billing20201105Country = "CV" // Billing20201105CountryKY captures enum value "KY" Billing20201105CountryKY Billing20201105Country = "KY" // Billing20201105CountryCF captures enum value "CF" Billing20201105CountryCF Billing20201105Country = "CF" // Billing20201105CountryLK captures enum value "LK" Billing20201105CountryLK Billing20201105Country = "LK" // Billing20201105CountryTD captures enum value "TD" Billing20201105CountryTD Billing20201105Country = "TD" // Billing20201105CountryCL captures enum value "CL" Billing20201105CountryCL Billing20201105Country = "CL" // Billing20201105CountryCN captures enum value "CN" Billing20201105CountryCN Billing20201105Country = "CN" // Billing20201105CountryTW captures enum value "TW" Billing20201105CountryTW Billing20201105Country = "TW" // Billing20201105CountryCX captures enum value "CX" Billing20201105CountryCX Billing20201105Country = "CX" // Billing20201105CountryCC captures enum value "CC" Billing20201105CountryCC Billing20201105Country = "CC" // Billing20201105CountryCO captures enum value "CO" Billing20201105CountryCO Billing20201105Country = "CO" // Billing20201105CountryKM captures enum value "KM" Billing20201105CountryKM Billing20201105Country = "KM" // Billing20201105CountryYT captures enum value "YT" Billing20201105CountryYT Billing20201105Country = "YT" // Billing20201105CountryCG captures enum value "CG" Billing20201105CountryCG Billing20201105Country = "CG" // Billing20201105CountryCD captures enum value "CD" Billing20201105CountryCD Billing20201105Country = "CD" // Billing20201105CountryCK captures enum value "CK" Billing20201105CountryCK Billing20201105Country = "CK" // Billing20201105CountryCR captures enum value "CR" Billing20201105CountryCR Billing20201105Country = "CR" // Billing20201105CountryHR captures enum value "HR" Billing20201105CountryHR Billing20201105Country = "HR" // Billing20201105CountryCU captures enum value "CU" Billing20201105CountryCU Billing20201105Country = "CU" // Billing20201105CountryCY captures enum value "CY" Billing20201105CountryCY Billing20201105Country = "CY" // Billing20201105CountryCZ captures enum value "CZ" Billing20201105CountryCZ Billing20201105Country = "CZ" // Billing20201105CountryBJ captures enum value "BJ" Billing20201105CountryBJ Billing20201105Country = "BJ" // Billing20201105CountryDK captures enum value "DK" Billing20201105CountryDK Billing20201105Country = "DK" // Billing20201105CountryDM captures enum value "DM" Billing20201105CountryDM Billing20201105Country = "DM" // Billing20201105CountryDO captures enum value "DO" Billing20201105CountryDO Billing20201105Country = "DO" // Billing20201105CountryEC captures enum value "EC" Billing20201105CountryEC Billing20201105Country = "EC" // Billing20201105CountrySV captures enum value "SV" Billing20201105CountrySV Billing20201105Country = "SV" // Billing20201105CountryGQ captures enum value "GQ" Billing20201105CountryGQ Billing20201105Country = "GQ" // Billing20201105CountryET captures enum value "ET" Billing20201105CountryET Billing20201105Country = "ET" // Billing20201105CountryER captures enum value "ER" Billing20201105CountryER Billing20201105Country = "ER" // Billing20201105CountryEE captures enum value "EE" Billing20201105CountryEE Billing20201105Country = "EE" // Billing20201105CountryFO captures enum value "FO" Billing20201105CountryFO Billing20201105Country = "FO" // Billing20201105CountryFK captures enum value "FK" Billing20201105CountryFK Billing20201105Country = "FK" // Billing20201105CountryGS captures enum value "GS" Billing20201105CountryGS Billing20201105Country = "GS" // Billing20201105CountryFJ captures enum value "FJ" Billing20201105CountryFJ Billing20201105Country = "FJ" // Billing20201105CountryFI captures enum value "FI" Billing20201105CountryFI Billing20201105Country = "FI" // Billing20201105CountryAX captures enum value "AX" Billing20201105CountryAX Billing20201105Country = "AX" // Billing20201105CountryFR captures enum value "FR" Billing20201105CountryFR Billing20201105Country = "FR" // Billing20201105CountryGF captures enum value "GF" Billing20201105CountryGF Billing20201105Country = "GF" // Billing20201105CountryPF captures enum value "PF" Billing20201105CountryPF Billing20201105Country = "PF" // Billing20201105CountryTF captures enum value "TF" Billing20201105CountryTF Billing20201105Country = "TF" // Billing20201105CountryDJ captures enum value "DJ" Billing20201105CountryDJ Billing20201105Country = "DJ" // Billing20201105CountryGA captures enum value "GA" Billing20201105CountryGA Billing20201105Country = "GA" // Billing20201105CountryGE captures enum value "GE" Billing20201105CountryGE Billing20201105Country = "GE" // Billing20201105CountryGM captures enum value "GM" Billing20201105CountryGM Billing20201105Country = "GM" // Billing20201105CountryPS captures enum value "PS" Billing20201105CountryPS Billing20201105Country = "PS" // Billing20201105CountryDE captures enum value "DE" Billing20201105CountryDE Billing20201105Country = "DE" // Billing20201105CountryGH captures enum value "GH" Billing20201105CountryGH Billing20201105Country = "GH" // Billing20201105CountryGI captures enum value "GI" Billing20201105CountryGI Billing20201105Country = "GI" // Billing20201105CountryKI captures enum value "KI" Billing20201105CountryKI Billing20201105Country = "KI" // Billing20201105CountryGR captures enum value "GR" Billing20201105CountryGR Billing20201105Country = "GR" // Billing20201105CountryGL captures enum value "GL" Billing20201105CountryGL Billing20201105Country = "GL" // Billing20201105CountryGD captures enum value "GD" Billing20201105CountryGD Billing20201105Country = "GD" // Billing20201105CountryGP captures enum value "GP" Billing20201105CountryGP Billing20201105Country = "GP" // Billing20201105CountryGU captures enum value "GU" Billing20201105CountryGU Billing20201105Country = "GU" // Billing20201105CountryGT captures enum value "GT" Billing20201105CountryGT Billing20201105Country = "GT" // Billing20201105CountryGN captures enum value "GN" Billing20201105CountryGN Billing20201105Country = "GN" // Billing20201105CountryGY captures enum value "GY" Billing20201105CountryGY Billing20201105Country = "GY" // Billing20201105CountryHT captures enum value "HT" Billing20201105CountryHT Billing20201105Country = "HT" // Billing20201105CountryHM captures enum value "HM" Billing20201105CountryHM Billing20201105Country = "HM" // Billing20201105CountryVA captures enum value "VA" Billing20201105CountryVA Billing20201105Country = "VA" // Billing20201105CountryHN captures enum value "HN" Billing20201105CountryHN Billing20201105Country = "HN" // Billing20201105CountryHK captures enum value "HK" Billing20201105CountryHK Billing20201105Country = "HK" // Billing20201105CountryHU captures enum value "HU" Billing20201105CountryHU Billing20201105Country = "HU" // Billing20201105CountryIS captures enum value "IS" Billing20201105CountryIS Billing20201105Country = "IS" // Billing20201105CountryIN captures enum value "IN" Billing20201105CountryIN Billing20201105Country = "IN" // Billing20201105CountryID captures enum value "ID" Billing20201105CountryID Billing20201105Country = "ID" // Billing20201105CountryIR captures enum value "IR" Billing20201105CountryIR Billing20201105Country = "IR" // Billing20201105CountryIQ captures enum value "IQ" Billing20201105CountryIQ Billing20201105Country = "IQ" // Billing20201105CountryIE captures enum value "IE" Billing20201105CountryIE Billing20201105Country = "IE" // Billing20201105CountryIL captures enum value "IL" Billing20201105CountryIL Billing20201105Country = "IL" // Billing20201105CountryIT captures enum value "IT" Billing20201105CountryIT Billing20201105Country = "IT" // Billing20201105CountryCI captures enum value "CI" Billing20201105CountryCI Billing20201105Country = "CI" // Billing20201105CountryJM captures enum value "JM" Billing20201105CountryJM Billing20201105Country = "JM" // Billing20201105CountryJP captures enum value "JP" Billing20201105CountryJP Billing20201105Country = "JP" // Billing20201105CountryKZ captures enum value "KZ" Billing20201105CountryKZ Billing20201105Country = "KZ" // Billing20201105CountryJO captures enum value "JO" Billing20201105CountryJO Billing20201105Country = "JO" // Billing20201105CountryKE captures enum value "KE" Billing20201105CountryKE Billing20201105Country = "KE" // Billing20201105CountryKP captures enum value "KP" Billing20201105CountryKP Billing20201105Country = "KP" // Billing20201105CountryKR captures enum value "KR" Billing20201105CountryKR Billing20201105Country = "KR" // Billing20201105CountryKW captures enum value "KW" Billing20201105CountryKW Billing20201105Country = "KW" // Billing20201105CountryKG captures enum value "KG" Billing20201105CountryKG Billing20201105Country = "KG" // Billing20201105CountryLA captures enum value "LA" Billing20201105CountryLA Billing20201105Country = "LA" // Billing20201105CountryLB captures enum value "LB" Billing20201105CountryLB Billing20201105Country = "LB" // Billing20201105CountryLS captures enum value "LS" Billing20201105CountryLS Billing20201105Country = "LS" // Billing20201105CountryLV captures enum value "LV" Billing20201105CountryLV Billing20201105Country = "LV" // Billing20201105CountryLR captures enum value "LR" Billing20201105CountryLR Billing20201105Country = "LR" // Billing20201105CountryLY captures enum value "LY" Billing20201105CountryLY Billing20201105Country = "LY" // Billing20201105CountryLI captures enum value "LI" Billing20201105CountryLI Billing20201105Country = "LI" // Billing20201105CountryLT captures enum value "LT" Billing20201105CountryLT Billing20201105Country = "LT" // Billing20201105CountryLU captures enum value "LU" Billing20201105CountryLU Billing20201105Country = "LU" // Billing20201105CountryMO captures enum value "MO" Billing20201105CountryMO Billing20201105Country = "MO" // Billing20201105CountryMG captures enum value "MG" Billing20201105CountryMG Billing20201105Country = "MG" // Billing20201105CountryMW captures enum value "MW" Billing20201105CountryMW Billing20201105Country = "MW" // Billing20201105CountryMY captures enum value "MY" Billing20201105CountryMY Billing20201105Country = "MY" // Billing20201105CountryMV captures enum value "MV" Billing20201105CountryMV Billing20201105Country = "MV" // Billing20201105CountryML captures enum value "ML" Billing20201105CountryML Billing20201105Country = "ML" // Billing20201105CountryMT captures enum value "MT" Billing20201105CountryMT Billing20201105Country = "MT" // Billing20201105CountryMQ captures enum value "MQ" Billing20201105CountryMQ Billing20201105Country = "MQ" // Billing20201105CountryMR captures enum value "MR" Billing20201105CountryMR Billing20201105Country = "MR" // Billing20201105CountryMU captures enum value "MU" Billing20201105CountryMU Billing20201105Country = "MU" // Billing20201105CountryMX captures enum value "MX" Billing20201105CountryMX Billing20201105Country = "MX" // Billing20201105CountryMC captures enum value "MC" Billing20201105CountryMC Billing20201105Country = "MC" // Billing20201105CountryMN captures enum value "MN" Billing20201105CountryMN Billing20201105Country = "MN" // Billing20201105CountryMD captures enum value "MD" Billing20201105CountryMD Billing20201105Country = "MD" // Billing20201105CountryME captures enum value "ME" Billing20201105CountryME Billing20201105Country = "ME" // Billing20201105CountryMS captures enum value "MS" Billing20201105CountryMS Billing20201105Country = "MS" // Billing20201105CountryMA captures enum value "MA" Billing20201105CountryMA Billing20201105Country = "MA" // Billing20201105CountryMZ captures enum value "MZ" Billing20201105CountryMZ Billing20201105Country = "MZ" // Billing20201105CountryOM captures enum value "OM" Billing20201105CountryOM Billing20201105Country = "OM" // Billing20201105CountryNA captures enum value "NA" Billing20201105CountryNA Billing20201105Country = "NA" // Billing20201105CountryNR captures enum value "NR" Billing20201105CountryNR Billing20201105Country = "NR" // Billing20201105CountryNP captures enum value "NP" Billing20201105CountryNP Billing20201105Country = "NP" // Billing20201105CountryNL captures enum value "NL" Billing20201105CountryNL Billing20201105Country = "NL" // Billing20201105CountryCW captures enum value "CW" Billing20201105CountryCW Billing20201105Country = "CW" // Billing20201105CountryAW captures enum value "AW" Billing20201105CountryAW Billing20201105Country = "AW" // Billing20201105CountrySX captures enum value "SX" Billing20201105CountrySX Billing20201105Country = "SX" // Billing20201105CountryBQ captures enum value "BQ" Billing20201105CountryBQ Billing20201105Country = "BQ" // Billing20201105CountryNC captures enum value "NC" Billing20201105CountryNC Billing20201105Country = "NC" // Billing20201105CountryVU captures enum value "VU" Billing20201105CountryVU Billing20201105Country = "VU" // Billing20201105CountryNZ captures enum value "NZ" Billing20201105CountryNZ Billing20201105Country = "NZ" // Billing20201105CountryNI captures enum value "NI" Billing20201105CountryNI Billing20201105Country = "NI" // Billing20201105CountryNE captures enum value "NE" Billing20201105CountryNE Billing20201105Country = "NE" // Billing20201105CountryNG captures enum value "NG" Billing20201105CountryNG Billing20201105Country = "NG" // Billing20201105CountryNU captures enum value "NU" Billing20201105CountryNU Billing20201105Country = "NU" // Billing20201105CountryNF captures enum value "NF" Billing20201105CountryNF Billing20201105Country = "NF" // Billing20201105CountryNO captures enum value "NO" Billing20201105CountryNO Billing20201105Country = "NO" // Billing20201105CountryMP captures enum value "MP" Billing20201105CountryMP Billing20201105Country = "MP" // Billing20201105CountryUM captures enum value "UM" Billing20201105CountryUM Billing20201105Country = "UM" // Billing20201105CountryFM captures enum value "FM" Billing20201105CountryFM Billing20201105Country = "FM" // Billing20201105CountryMH captures enum value "MH" Billing20201105CountryMH Billing20201105Country = "MH" // Billing20201105CountryPW captures enum value "PW" Billing20201105CountryPW Billing20201105Country = "PW" // Billing20201105CountryPK captures enum value "PK" Billing20201105CountryPK Billing20201105Country = "PK" // Billing20201105CountryPA captures enum value "PA" Billing20201105CountryPA Billing20201105Country = "PA" // Billing20201105CountryPG captures enum value "PG" Billing20201105CountryPG Billing20201105Country = "PG" // Billing20201105CountryPY captures enum value "PY" Billing20201105CountryPY Billing20201105Country = "PY" // Billing20201105CountryPE captures enum value "PE" Billing20201105CountryPE Billing20201105Country = "PE" // Billing20201105CountryPH captures enum value "PH" Billing20201105CountryPH Billing20201105Country = "PH" // Billing20201105CountryPN captures enum value "PN" Billing20201105CountryPN Billing20201105Country = "PN" // Billing20201105CountryPL captures enum value "PL" Billing20201105CountryPL Billing20201105Country = "PL" // Billing20201105CountryPT captures enum value "PT" Billing20201105CountryPT Billing20201105Country = "PT" // Billing20201105CountryGW captures enum value "GW" Billing20201105CountryGW Billing20201105Country = "GW" // Billing20201105CountryTL captures enum value "TL" Billing20201105CountryTL Billing20201105Country = "TL" // Billing20201105CountryPR captures enum value "PR" Billing20201105CountryPR Billing20201105Country = "PR" // Billing20201105CountryQA captures enum value "QA" Billing20201105CountryQA Billing20201105Country = "QA" // Billing20201105CountryRE captures enum value "RE" Billing20201105CountryRE Billing20201105Country = "RE" // Billing20201105CountryRO captures enum value "RO" Billing20201105CountryRO Billing20201105Country = "RO" // Billing20201105CountryRU captures enum value "RU" Billing20201105CountryRU Billing20201105Country = "RU" // Billing20201105CountryRW captures enum value "RW" Billing20201105CountryRW Billing20201105Country = "RW" // Billing20201105CountryBL captures enum value "BL" Billing20201105CountryBL Billing20201105Country = "BL" // Billing20201105CountrySH captures enum value "SH" Billing20201105CountrySH Billing20201105Country = "SH" // Billing20201105CountryKN captures enum value "KN" Billing20201105CountryKN Billing20201105Country = "KN" // Billing20201105CountryAI captures enum value "AI" Billing20201105CountryAI Billing20201105Country = "AI" // Billing20201105CountryLC captures enum value "LC" Billing20201105CountryLC Billing20201105Country = "LC" // Billing20201105CountryMF captures enum value "MF" Billing20201105CountryMF Billing20201105Country = "MF" // Billing20201105CountryPM captures enum value "PM" Billing20201105CountryPM Billing20201105Country = "PM" // Billing20201105CountryVC captures enum value "VC" Billing20201105CountryVC Billing20201105Country = "VC" // Billing20201105CountrySM captures enum value "SM" Billing20201105CountrySM Billing20201105Country = "SM" // Billing20201105CountryST captures enum value "ST" Billing20201105CountryST Billing20201105Country = "ST" // Billing20201105CountrySA captures enum value "SA" Billing20201105CountrySA Billing20201105Country = "SA" // Billing20201105CountrySN captures enum value "SN" Billing20201105CountrySN Billing20201105Country = "SN" // Billing20201105CountryRS captures enum value "RS" Billing20201105CountryRS Billing20201105Country = "RS" // Billing20201105CountrySC captures enum value "SC" Billing20201105CountrySC Billing20201105Country = "SC" // Billing20201105CountrySL captures enum value "SL" Billing20201105CountrySL Billing20201105Country = "SL" // Billing20201105CountrySG captures enum value "SG" Billing20201105CountrySG Billing20201105Country = "SG" // Billing20201105CountrySK captures enum value "SK" Billing20201105CountrySK Billing20201105Country = "SK" // Billing20201105CountryVN captures enum value "VN" Billing20201105CountryVN Billing20201105Country = "VN" // Billing20201105CountrySI captures enum value "SI" Billing20201105CountrySI Billing20201105Country = "SI" // Billing20201105CountrySO captures enum value "SO" Billing20201105CountrySO Billing20201105Country = "SO" // Billing20201105CountryZA captures enum value "ZA" Billing20201105CountryZA Billing20201105Country = "ZA" // Billing20201105CountryZW captures enum value "ZW" Billing20201105CountryZW Billing20201105Country = "ZW" // Billing20201105CountryES captures enum value "ES" Billing20201105CountryES Billing20201105Country = "ES" // Billing20201105CountrySS captures enum value "SS" Billing20201105CountrySS Billing20201105Country = "SS" // Billing20201105CountrySD captures enum value "SD" Billing20201105CountrySD Billing20201105Country = "SD" // Billing20201105CountryEH captures enum value "EH" Billing20201105CountryEH Billing20201105Country = "EH" // Billing20201105CountrySR captures enum value "SR" Billing20201105CountrySR Billing20201105Country = "SR" // Billing20201105CountrySJ captures enum value "SJ" Billing20201105CountrySJ Billing20201105Country = "SJ" // Billing20201105CountrySZ captures enum value "SZ" Billing20201105CountrySZ Billing20201105Country = "SZ" // Billing20201105CountrySE captures enum value "SE" Billing20201105CountrySE Billing20201105Country = "SE" // Billing20201105CountryCH captures enum value "CH" Billing20201105CountryCH Billing20201105Country = "CH" // Billing20201105CountrySY captures enum value "SY" Billing20201105CountrySY Billing20201105Country = "SY" // Billing20201105CountryTJ captures enum value "TJ" Billing20201105CountryTJ Billing20201105Country = "TJ" // Billing20201105CountryTH captures enum value "TH" Billing20201105CountryTH Billing20201105Country = "TH" // Billing20201105CountryTG captures enum value "TG" Billing20201105CountryTG Billing20201105Country = "TG" // Billing20201105CountryTK captures enum value "TK" Billing20201105CountryTK Billing20201105Country = "TK" // Billing20201105CountryTO captures enum value "TO" Billing20201105CountryTO Billing20201105Country = "TO" // Billing20201105CountryTT captures enum value "TT" Billing20201105CountryTT Billing20201105Country = "TT" // Billing20201105CountryAE captures enum value "AE" Billing20201105CountryAE Billing20201105Country = "AE" // Billing20201105CountryTN captures enum value "TN" Billing20201105CountryTN Billing20201105Country = "TN" // Billing20201105CountryTR captures enum value "TR" Billing20201105CountryTR Billing20201105Country = "TR" // Billing20201105CountryTM captures enum value "TM" Billing20201105CountryTM Billing20201105Country = "TM" // Billing20201105CountryTC captures enum value "TC" Billing20201105CountryTC Billing20201105Country = "TC" // Billing20201105CountryTV captures enum value "TV" Billing20201105CountryTV Billing20201105Country = "TV" // Billing20201105CountryUG captures enum value "UG" Billing20201105CountryUG Billing20201105Country = "UG" // Billing20201105CountryUA captures enum value "UA" Billing20201105CountryUA Billing20201105Country = "UA" // Billing20201105CountryMK captures enum value "MK" Billing20201105CountryMK Billing20201105Country = "MK" // Billing20201105CountryEG captures enum value "EG" Billing20201105CountryEG Billing20201105Country = "EG" // Billing20201105CountryGB captures enum value "GB" Billing20201105CountryGB Billing20201105Country = "GB" // Billing20201105CountryGG captures enum value "GG" Billing20201105CountryGG Billing20201105Country = "GG" // Billing20201105CountryJE captures enum value "JE" Billing20201105CountryJE Billing20201105Country = "JE" // Billing20201105CountryIM captures enum value "IM" Billing20201105CountryIM Billing20201105Country = "IM" // Billing20201105CountryTZ captures enum value "TZ" Billing20201105CountryTZ Billing20201105Country = "TZ" // Billing20201105CountryUS captures enum value "US" Billing20201105CountryUS Billing20201105Country = "US" // Billing20201105CountryVI captures enum value "VI" Billing20201105CountryVI Billing20201105Country = "VI" // Billing20201105CountryBF captures enum value "BF" Billing20201105CountryBF Billing20201105Country = "BF" // Billing20201105CountryUY captures enum value "UY" Billing20201105CountryUY Billing20201105Country = "UY" // Billing20201105CountryUZ captures enum value "UZ" Billing20201105CountryUZ Billing20201105Country = "UZ" // Billing20201105CountryVE captures enum value "VE" Billing20201105CountryVE Billing20201105Country = "VE" // Billing20201105CountryWF captures enum value "WF" Billing20201105CountryWF Billing20201105Country = "WF" // Billing20201105CountryWS captures enum value "WS" Billing20201105CountryWS Billing20201105Country = "WS" // Billing20201105CountryYE captures enum value "YE" Billing20201105CountryYE Billing20201105Country = "YE" // Billing20201105CountryZM captures enum value "ZM" Billing20201105CountryZM Billing20201105Country = "ZM" )
func NewBilling20201105Country ¶
func NewBilling20201105Country(value Billing20201105Country) *Billing20201105Country
func (Billing20201105Country) ContextValidate ¶
ContextValidate validates this billing 20201105 country based on context it is used
func (Billing20201105Country) Pointer ¶
func (m Billing20201105Country) Pointer() *Billing20201105Country
Pointer returns a pointer to a freshly-allocated Billing20201105Country.
type Billing20201105CreateBillingAccountResponse ¶
type Billing20201105CreateBillingAccountResponse struct { // billing_account is the Billing Account that was created. BillingAccount *Billing20201105BillingAccount `json:"billing_account,omitempty"` // entitlement_billing_method_details contains details about the entitlement contract // that can be attached to a billing account to cover charges of it. EntitlementBillingMethodDetails *Billing20201105EntitlementBillingMethodDetails `json:"entitlement_billing_method_details,omitempty"` // flexible_consumption_billing_method_details contains details of the billing // account's flexible consumption billing method. // Only present when the billing account is activated for Flexible Consumption. FlexibleConsumptionBillingMethodDetails Billing20201105FlexibleConsumptionBillingMethodDetails `json:"flexible_consumption_billing_method_details,omitempty"` // on_demand_billing_method_details contains details about the on-demand // billing method of the billing account. OnDemandBillingMethodDetails *Billing20201105OnDemandBillingMethodDetails `json:"on_demand_billing_method_details,omitempty"` }
Billing20201105CreateBillingAccountResponse CreateBillingAccountResponse is the response from creating a new Billing Account for an organization.
swagger:model billing_20201105CreateBillingAccountResponse
func (*Billing20201105CreateBillingAccountResponse) ContextValidate ¶
func (m *Billing20201105CreateBillingAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 create billing account response based on the context it is used
func (*Billing20201105CreateBillingAccountResponse) MarshalBinary ¶
func (m *Billing20201105CreateBillingAccountResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105CreateBillingAccountResponse) UnmarshalBinary ¶
func (m *Billing20201105CreateBillingAccountResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105CreateSetupIntentResponse ¶
type Billing20201105CreateSetupIntentResponse struct { // client_secret is to be used with Stripe.js (e.g. given as an argument to // confirmCardSetup) to tokenize the payment details and perform any required // checks. ClientSecret string `json:"client_secret,omitempty"` }
Billing20201105CreateSetupIntentResponse CreateSetupIntentResponse is the response from creating a Setup Intent to collect payment details.
swagger:model billing_20201105CreateSetupIntentResponse
func (*Billing20201105CreateSetupIntentResponse) ContextValidate ¶
func (m *Billing20201105CreateSetupIntentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 create setup intent response based on context it is used
func (*Billing20201105CreateSetupIntentResponse) MarshalBinary ¶
func (m *Billing20201105CreateSetupIntentResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105CreateSetupIntentResponse) UnmarshalBinary ¶
func (m *Billing20201105CreateSetupIntentResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105CustomizedInput ¶
type Billing20201105CustomizedInput struct { // item_key is the item key that had the product key in the package. ItemKey string `json:"item_key,omitempty"` // quantity describes the value that corresponds to each item_key key. It is the estimated hourly usage. Quantity int32 `json:"quantity,omitempty"` }
Billing20201105CustomizedInput CustomizedInput allows the quantity of dependent products (i.e. number of Vault Clients for a Vault Cluster) to be specified for the cost estimation.
swagger:model billing_20201105CustomizedInput
func (*Billing20201105CustomizedInput) ContextValidate ¶
func (m *Billing20201105CustomizedInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 customized input based on context it is used
func (*Billing20201105CustomizedInput) MarshalBinary ¶
func (m *Billing20201105CustomizedInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105CustomizedInput) UnmarshalBinary ¶
func (m *Billing20201105CustomizedInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105EntitlementBillingMethodDetails ¶ added in v0.97.0
type Billing20201105EntitlementBillingMethodDetails struct { // billing_method contains the information used to register a Contract-backed // Billing Account. BillingMethod *Billing20201105ContractBillingMethod `json:"billing_method,omitempty"` }
Billing20201105EntitlementBillingMethodDetails EntitlementBillingMethodDetails contains both the information used to register a Billing Account billed via an entitlement contract, and additional information for display purposes.
swagger:model billing_20201105EntitlementBillingMethodDetails
func (*Billing20201105EntitlementBillingMethodDetails) ContextValidate ¶ added in v0.97.0
func (m *Billing20201105EntitlementBillingMethodDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 entitlement billing method details based on the context it is used
func (*Billing20201105EntitlementBillingMethodDetails) MarshalBinary ¶ added in v0.97.0
func (m *Billing20201105EntitlementBillingMethodDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105EntitlementBillingMethodDetails) UnmarshalBinary ¶ added in v0.97.0
func (m *Billing20201105EntitlementBillingMethodDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105EstimateCostResponse ¶
type Billing20201105EstimateCostResponse struct { // item_price contains the individual hourly and monthly prices as well the itemKey for each product. ItemPrice []*Billing20201105EstimatedPackageItemPrice `json:"item_price"` // total_hourly_price is the hourly price of the cluster. TotalHourlyPrice string `json:"total_hourly_price,omitempty"` // total_monthly_price is the monthly price of the cluster. TotalMonthlyPrice string `json:"total_monthly_price,omitempty"` }
Billing20201105EstimateCostResponse EstimateCostResponse is the response to EstimateCostRequest & contains the hourly and monthly costs.
swagger:model billing_20201105EstimateCostResponse
func (*Billing20201105EstimateCostResponse) ContextValidate ¶
func (m *Billing20201105EstimateCostResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 estimate cost response based on the context it is used
func (*Billing20201105EstimateCostResponse) MarshalBinary ¶
func (m *Billing20201105EstimateCostResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105EstimateCostResponse) UnmarshalBinary ¶
func (m *Billing20201105EstimateCostResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105EstimatedPackageItemPrice ¶
type Billing20201105EstimatedPackageItemPrice struct { // hourly_price is the hourly cost for each individual product. HourlyPrice string `json:"hourly_price,omitempty"` // item_key is the item key of the estimated cost. ItemKey string `json:"item_key,omitempty"` // monthly_price is the monthly cost for each individual product. MonthlyPrice string `json:"monthly_price,omitempty"` }
Billing20201105EstimatedPackageItemPrice IndividualPrice contains the individual hourly and monthly prices as well the itemKey for each product.
swagger:model billing_20201105EstimatedPackageItemPrice
func (*Billing20201105EstimatedPackageItemPrice) ContextValidate ¶
func (m *Billing20201105EstimatedPackageItemPrice) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 estimated package item price based on context it is used
func (*Billing20201105EstimatedPackageItemPrice) MarshalBinary ¶
func (m *Billing20201105EstimatedPackageItemPrice) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105EstimatedPackageItemPrice) UnmarshalBinary ¶
func (m *Billing20201105EstimatedPackageItemPrice) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105FlexibleConsumptionBillingMethodDetails ¶
type Billing20201105FlexibleConsumptionBillingMethodDetails interface{}
Billing20201105FlexibleConsumptionBillingMethodDetails FlexibleConsumptionBillingMethodDetails contains details of the billing account's flexible consumption billing method. Only present when the billing account is activated for Flexible Consumption.
swagger:model billing_20201105FlexibleConsumptionBillingMethodDetails
type Billing20201105Geo ¶ added in v0.97.0
type Billing20201105Geo string
Billing20201105Geo Geo is a reference to all available Geos supported by the billing service.
- GEO_UNSPECIFIED: GEO_UNSPECIFIED is an invalid Geo, which
is used to flag when the Geo was left blank.
- GEO_US: GEO_US represents a US control-plane Geo.
- GEO_EU: GEO_EU represents a US control-plane Geo.
swagger:model billing_20201105Geo
const ( // Billing20201105GeoGEOUNSPECIFIED captures enum value "GEO_UNSPECIFIED" Billing20201105GeoGEOUNSPECIFIED Billing20201105Geo = "GEO_UNSPECIFIED" // Billing20201105GeoGEOUS captures enum value "GEO_US" Billing20201105GeoGEOUS Billing20201105Geo = "GEO_US" // Billing20201105GeoGEOEU captures enum value "GEO_EU" Billing20201105GeoGEOEU Billing20201105Geo = "GEO_EU" )
func NewBilling20201105Geo ¶ added in v0.97.0
func NewBilling20201105Geo(value Billing20201105Geo) *Billing20201105Geo
func (Billing20201105Geo) ContextValidate ¶ added in v0.97.0
ContextValidate validates this billing 20201105 geo based on context it is used
func (Billing20201105Geo) Pointer ¶ added in v0.97.0
func (m Billing20201105Geo) Pointer() *Billing20201105Geo
Pointer returns a pointer to a freshly-allocated Billing20201105Geo.
type Billing20201105GetActivationDetailsResponse ¶ added in v0.97.0
type Billing20201105GetActivationDetailsResponse struct { // contract details ContractDetails []*Billing20201105ContractDetails `json:"contract_details"` }
Billing20201105GetActivationDetailsResponse GetActivationDetailsResponse contains contract activation details.
swagger:model billing_20201105GetActivationDetailsResponse
func (*Billing20201105GetActivationDetailsResponse) ContextValidate ¶ added in v0.97.0
func (m *Billing20201105GetActivationDetailsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 get activation details response based on the context it is used
func (*Billing20201105GetActivationDetailsResponse) MarshalBinary ¶ added in v0.97.0
func (m *Billing20201105GetActivationDetailsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105GetActivationDetailsResponse) UnmarshalBinary ¶ added in v0.97.0
func (m *Billing20201105GetActivationDetailsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105GetBillingAccountResponse ¶
type Billing20201105GetBillingAccountResponse struct { // billing_account is the Billing Account. BillingAccount *Billing20201105BillingAccount `json:"billing_account,omitempty"` // entitlement_billing_method_details contains details about the entitlement contract // that can be attached to a billing account to cover charges of it. EntitlementBillingMethodDetails *Billing20201105EntitlementBillingMethodDetails `json:"entitlement_billing_method_details,omitempty"` // flexible_consumption_billing_method_details contains details of the billing // account's flexible consumption billing method. // Only present when the billing account is activated for Flexible Consumption. FlexibleConsumptionBillingMethodDetails Billing20201105FlexibleConsumptionBillingMethodDetails `json:"flexible_consumption_billing_method_details,omitempty"` // on_demand_billing_method_details contains details about the on-demand // billing method of the billing account. OnDemandBillingMethodDetails *Billing20201105OnDemandBillingMethodDetails `json:"on_demand_billing_method_details,omitempty"` }
Billing20201105GetBillingAccountResponse GetBillingAccountResponse is the response of retrieving a BillingAccount by ID.
swagger:model billing_20201105GetBillingAccountResponse
func (*Billing20201105GetBillingAccountResponse) ContextValidate ¶
func (m *Billing20201105GetBillingAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 get billing account response based on the context it is used
func (*Billing20201105GetBillingAccountResponse) MarshalBinary ¶
func (m *Billing20201105GetBillingAccountResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105GetBillingAccountResponse) UnmarshalBinary ¶
func (m *Billing20201105GetBillingAccountResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105GetConsumptionPoolResponse ¶
type Billing20201105GetConsumptionPoolResponse struct { // consumption_pool is the consumption pool with the corresponding id ConsumptionPool *Billing20201105ConsumptionPool `json:"consumption_pool,omitempty"` // consumption_pool_updates is the information about any updates that have been made to the consumption pool ConsumptionPoolUpdates []*Billing20201105ConsumptionPoolUpdateInfo `json:"consumption_pool_updates"` }
Billing20201105GetConsumptionPoolResponse GetConsumptionPoolResponse is a response for GetConsumptionPoolById endpoint
swagger:model billing_20201105GetConsumptionPoolResponse
func (*Billing20201105GetConsumptionPoolResponse) ContextValidate ¶
func (m *Billing20201105GetConsumptionPoolResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 get consumption pool response based on the context it is used
func (*Billing20201105GetConsumptionPoolResponse) MarshalBinary ¶
func (m *Billing20201105GetConsumptionPoolResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105GetConsumptionPoolResponse) UnmarshalBinary ¶
func (m *Billing20201105GetConsumptionPoolResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105GetContractResponse ¶ added in v0.97.0
type Billing20201105GetContractResponse struct { // contract is the contract with the corresponding public ID. Contract *Billing20201105Contract `json:"contract,omitempty"` }
Billing20201105GetContractResponse GetContractResponse returns a Contract.
swagger:model billing_20201105GetContractResponse
func (*Billing20201105GetContractResponse) ContextValidate ¶ added in v0.97.0
func (m *Billing20201105GetContractResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 get contract response based on the context it is used
func (*Billing20201105GetContractResponse) MarshalBinary ¶ added in v0.97.0
func (m *Billing20201105GetContractResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105GetContractResponse) UnmarshalBinary ¶ added in v0.97.0
func (m *Billing20201105GetContractResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105GetPricingModelTransitionsResponse ¶ added in v0.97.0
type Billing20201105GetPricingModelTransitionsResponse struct { // transitions are all the pricing model transitions that happened in the time frame specified by the request. Transitions []*GetPricingModelTransitionsResponseTransition `json:"transitions"` }
Billing20201105GetPricingModelTransitionsResponse GetPricingModelTransitionsResponse is the response containing the pricing model transitions for a billing account.
swagger:model billing_20201105GetPricingModelTransitionsResponse
func (*Billing20201105GetPricingModelTransitionsResponse) ContextValidate ¶ added in v0.97.0
func (m *Billing20201105GetPricingModelTransitionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 get pricing model transitions response based on the context it is used
func (*Billing20201105GetPricingModelTransitionsResponse) MarshalBinary ¶ added in v0.97.0
func (m *Billing20201105GetPricingModelTransitionsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105GetPricingModelTransitionsResponse) UnmarshalBinary ¶ added in v0.97.0
func (m *Billing20201105GetPricingModelTransitionsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105GetRunningStatementResponse ¶
type Billing20201105GetRunningStatementResponse struct { // running_statement is the current billing period's statement. RunningStatement *Billing20201105Statement `json:"running_statement,omitempty"` }
Billing20201105GetRunningStatementResponse GetRunningUsageResponse is the response message returned by the GetRunningStatement RPC.
swagger:model billing_20201105GetRunningStatementResponse
func (*Billing20201105GetRunningStatementResponse) ContextValidate ¶
func (m *Billing20201105GetRunningStatementResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 get running statement response based on the context it is used
func (*Billing20201105GetRunningStatementResponse) MarshalBinary ¶
func (m *Billing20201105GetRunningStatementResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105GetRunningStatementResponse) UnmarshalBinary ¶
func (m *Billing20201105GetRunningStatementResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105GetStatementCSVResponse ¶ added in v0.97.0
type Billing20201105GetStatementCSVResponse struct { // download url DownloadURL string `json:"download_url,omitempty"` }
Billing20201105GetStatementCSVResponse GetStatementCSVRequest is a request for the csv statement URL.
swagger:model billing_20201105GetStatementCSVResponse
func (*Billing20201105GetStatementCSVResponse) ContextValidate ¶ added in v0.97.0
func (m *Billing20201105GetStatementCSVResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 get statement c s v response based on context it is used
func (*Billing20201105GetStatementCSVResponse) MarshalBinary ¶ added in v0.97.0
func (m *Billing20201105GetStatementCSVResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105GetStatementCSVResponse) UnmarshalBinary ¶ added in v0.97.0
func (m *Billing20201105GetStatementCSVResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105GetStatementResponse ¶
type Billing20201105GetStatementResponse struct { // statement is the statement with the specified id. Statement *Billing20201105Statement `json:"statement,omitempty"` }
Billing20201105GetStatementResponse GetStatementResponse is a response for GetStatement endpoint
swagger:model billing_20201105GetStatementResponse
func (*Billing20201105GetStatementResponse) ContextValidate ¶
func (m *Billing20201105GetStatementResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 get statement response based on the context it is used
func (*Billing20201105GetStatementResponse) MarshalBinary ¶
func (m *Billing20201105GetStatementResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105GetStatementResponse) UnmarshalBinary ¶
func (m *Billing20201105GetStatementResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105GetUsageResponse ¶
type Billing20201105GetUsageResponse struct { // usage is the current billing period's usage as calculated by the last // invocation of CalculateUsage. Usage *Billing20201105BillingAccountUsage `json:"usage,omitempty"` }
Billing20201105GetUsageResponse GetUsageResponse is the response message returned by the GetUsage RPC.
swagger:model billing_20201105GetUsageResponse
func (*Billing20201105GetUsageResponse) ContextValidate ¶
func (m *Billing20201105GetUsageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 get usage response based on the context it is used
func (*Billing20201105GetUsageResponse) MarshalBinary ¶
func (m *Billing20201105GetUsageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105GetUsageResponse) UnmarshalBinary ¶
func (m *Billing20201105GetUsageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105InvoiceLineItem ¶
type Billing20201105InvoiceLineItem struct { // amount is cost of this line item in USD. Amount string `json:"amount,omitempty"` // last_usage_recorded_at contains the timestamp of the last "usage_until" from // inner line items that are contained in the aggregation. // This can also be used to group items that belongs to the same configuration, // given that they all get their recording at the same point in time. // Format: date-time LastUsageRecordedAt strfmt.DateTime `json:"last_usage_recorded_at,omitempty"` // product_key is the unique identifier of the associated product. ProductKey string `json:"product_key,omitempty"` // product_name is the name of the product associated with this line item. ProductName string `json:"product_name,omitempty"` // quantity is how many units of this product this item contains. Quantity string `json:"quantity,omitempty"` // standalone_item when set to true will indicate that this item should not be grouped // with others by its last_usage_recorded_at. // It usually will be set to true for items that are visually independent of any // package or selected configuration. StandaloneItem bool `json:"standalone_item,omitempty"` // unit is the unit on which the product price is calculated. Unit *Billing20201105Unit `json:"unit,omitempty"` // unit_display_key is the human representation label of the unit that was used in this product. UnitDisplayKey string `json:"unit_display_key,omitempty"` // unit_price is the price per unit of the product associated. UnitPrice string `json:"unit_price,omitempty"` }
Billing20201105InvoiceLineItem InvoiceLineItem represents a line item on an invoice.
swagger:model billing_20201105InvoiceLineItem
func (*Billing20201105InvoiceLineItem) ContextValidate ¶
func (m *Billing20201105InvoiceLineItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 invoice line item based on the context it is used
func (*Billing20201105InvoiceLineItem) MarshalBinary ¶
func (m *Billing20201105InvoiceLineItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105InvoiceLineItem) UnmarshalBinary ¶
func (m *Billing20201105InvoiceLineItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ListAvailablePackagesResponse ¶
type Billing20201105ListAvailablePackagesResponse struct { // packages is the list of available Packages in response to the ListAvailablePackagesRequest. Packages []*Billing20201105AvailablePackage `json:"packages"` }
Billing20201105ListAvailablePackagesResponse ListAvailablePackagesResponse is the response to ListAvailablePackages & contains a list of available packages.
swagger:model billing_20201105ListAvailablePackagesResponse
func (*Billing20201105ListAvailablePackagesResponse) ContextValidate ¶
func (m *Billing20201105ListAvailablePackagesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 list available packages response based on the context it is used
func (*Billing20201105ListAvailablePackagesResponse) MarshalBinary ¶
func (m *Billing20201105ListAvailablePackagesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ListAvailablePackagesResponse) UnmarshalBinary ¶
func (m *Billing20201105ListAvailablePackagesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ListConsumptionPoolsResponse ¶
type Billing20201105ListConsumptionPoolsResponse struct { // consumption_pools is the list of fetched consumption pools. ConsumptionPools []*Billing20201105ConsumptionPool `json:"consumption_pools"` // summary is the aggregated summary for all active consumption pools. Summary *Billing20201105ConsumptionPoolsSummary `json:"summary,omitempty"` }
Billing20201105ListConsumptionPoolsResponse ListConsumptionPoolsResponse is a response for ListConsumptionPools endpoint
swagger:model billing_20201105ListConsumptionPoolsResponse
func (*Billing20201105ListConsumptionPoolsResponse) ContextValidate ¶
func (m *Billing20201105ListConsumptionPoolsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 list consumption pools response based on the context it is used
func (*Billing20201105ListConsumptionPoolsResponse) MarshalBinary ¶
func (m *Billing20201105ListConsumptionPoolsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ListConsumptionPoolsResponse) UnmarshalBinary ¶
func (m *Billing20201105ListConsumptionPoolsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ListContractsResponse ¶ added in v0.97.0
type Billing20201105ListContractsResponse struct { // contracts is the list of fetched contracts. Contracts []*Billing20201105Contract `json:"contracts"` }
Billing20201105ListContractsResponse ListContractsResponse returns a list of Contracts.
swagger:model billing_20201105ListContractsResponse
func (*Billing20201105ListContractsResponse) ContextValidate ¶ added in v0.97.0
func (m *Billing20201105ListContractsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 list contracts response based on the context it is used
func (*Billing20201105ListContractsResponse) MarshalBinary ¶ added in v0.97.0
func (m *Billing20201105ListContractsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ListContractsResponse) UnmarshalBinary ¶ added in v0.97.0
func (m *Billing20201105ListContractsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ListStatementsResponse ¶
type Billing20201105ListStatementsResponse struct { // statement_summaries is the array of statements for an org and Billing Account. StatementSummaries []*Billing20201105StatementSummary `json:"statement_summaries"` }
Billing20201105ListStatementsResponse ListStatementsResponse is the response message returned by the ListStatements RPC.
swagger:model billing_20201105ListStatementsResponse
func (*Billing20201105ListStatementsResponse) ContextValidate ¶
func (m *Billing20201105ListStatementsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 list statements response based on the context it is used
func (*Billing20201105ListStatementsResponse) MarshalBinary ¶
func (m *Billing20201105ListStatementsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ListStatementsResponse) UnmarshalBinary ¶
func (m *Billing20201105ListStatementsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105OnDemandBillingMethod ¶
type Billing20201105OnDemandBillingMethod struct { // billing_address is the address that will show on invoices. BillingAddress *Billing20201105Address `json:"billing_address,omitempty"` // email is the email address to which invoices will be sent. Email string `json:"email,omitempty"` // name is the customer's full name or business name that will appear on // invoices. Name string `json:"name,omitempty"` // stripe_setup_intent_id is the ID of the Stripe Setup Intent used to collect // and tokenize payment details. // // https://stripe.com/docs/payments/setup-intents // // Call the CreateSetupIntent endpoint first to obtain a client secret for // use with Stripe.js (e.g. given as an argument to confirmCardSetup) and // then provide the resulting Setup Intent's ID in this call. // // Note: this field should not be set if you're not updating the payment // method. StripeSetupIntentID string `json:"stripe_setup_intent_id,omitempty"` // tax_settings determine how tax will be calculated. TaxSettings *Billing20201105TaxSettings `json:"tax_settings,omitempty"` }
Billing20201105OnDemandBillingMethod OnDemandBillingMethod contains the information used to register a Billing Account for periodic invoices and charges through our payments processor.
swagger:model billing_20201105OnDemandBillingMethod
func (*Billing20201105OnDemandBillingMethod) ContextValidate ¶
func (m *Billing20201105OnDemandBillingMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 on demand billing method based on the context it is used
func (*Billing20201105OnDemandBillingMethod) MarshalBinary ¶
func (m *Billing20201105OnDemandBillingMethod) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105OnDemandBillingMethod) UnmarshalBinary ¶
func (m *Billing20201105OnDemandBillingMethod) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105OnDemandBillingMethodDetails ¶
type Billing20201105OnDemandBillingMethodDetails struct { // billing_method contains the information used to register an on-demand // Billing Account. BillingMethod *Billing20201105OnDemandBillingMethod `json:"billing_method,omitempty"` // card_details contains additional information about the credit/debit card // for display purposes. CardDetails *Billing20201105CardDetails `json:"card_details,omitempty"` }
Billing20201105OnDemandBillingMethodDetails OnDemandBillingMethodDetails contains both the information used to register a Billing Account billed on-demand, and additional information for display purposes (e.g. credit card details).
swagger:model billing_20201105OnDemandBillingMethodDetails
func (*Billing20201105OnDemandBillingMethodDetails) ContextValidate ¶
func (m *Billing20201105OnDemandBillingMethodDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 on demand billing method details based on the context it is used
func (*Billing20201105OnDemandBillingMethodDetails) MarshalBinary ¶
func (m *Billing20201105OnDemandBillingMethodDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105OnDemandBillingMethodDetails) UnmarshalBinary ¶
func (m *Billing20201105OnDemandBillingMethodDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105PackageItem ¶
type Billing20201105PackageItem struct { // key is the identifier for this particular item. Key string `json:"key,omitempty"` // optional represents if a selection Optional bool `json:"optional,omitempty"` // options represents a list of options a user can select when signing up for this package. Options []*Billing20201105PackageOption `json:"options"` // type defines what kind of type this item is. Type *Billing20201105PackageItemType `json:"type,omitempty"` }
Billing20201105PackageItem PackageItem defines a specific billable component of a Package.
swagger:model billing_20201105PackageItem
func (*Billing20201105PackageItem) ContextValidate ¶
func (m *Billing20201105PackageItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 package item based on the context it is used
func (*Billing20201105PackageItem) MarshalBinary ¶
func (m *Billing20201105PackageItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105PackageItem) UnmarshalBinary ¶
func (m *Billing20201105PackageItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105PackageItemSelection ¶
type Billing20201105PackageItemSelection struct { // item_key is the key of the Package Item this selection represents. ItemKey string `json:"item_key,omitempty"` // option_key is the key of the Package Item Option for this selection. OptionKey string `json:"option_key,omitempty"` // quantity is optionally the given amount of a PackageItem required. Quantity int32 `json:"quantity,omitempty"` }
Billing20201105PackageItemSelection PackageItemSelection contains the selection information of a given Package Item Option for a Package Item. Optionally, it contains a quantity.
swagger:model billing_20201105PackageItemSelection
func (*Billing20201105PackageItemSelection) ContextValidate ¶
func (m *Billing20201105PackageItemSelection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 package item selection based on context it is used
func (*Billing20201105PackageItemSelection) MarshalBinary ¶
func (m *Billing20201105PackageItemSelection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105PackageItemSelection) UnmarshalBinary ¶
func (m *Billing20201105PackageItemSelection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105PackageItemType ¶
type Billing20201105PackageItemType string
Billing20201105PackageItemType Type is a list of all possible types a PackageItem can have.
- UNSET: UNSET is not a valid type and will not be accepted by the service.
- SELECTION: SELECTION means that the value for this item must be supplied by the caller
when registering a new resource (unless it's an optional item).
- COST: COST means that the value of this item will always be implicitly set by the billing
service, depending on the available options of the package item. Items of this type are never selected by the user, but are a consequence of the `SELECTION` items they chose. The internal process to select a COST item follows these steps: (This applies only for Type COST)
- If the item options have `dependencies` 1.a. It will assign the option key for the item with the option that matches the dependencies. There should never be more than one option with the same dependencies. 1.b. If there's no matching dependency, but the item also has an option without dependency, that option will be assigned to it.
- When there's no dependency at all, the existing option for the item will be assigned for it. There should never be more than 1 option per item without dependency.
swagger:model billing_20201105PackageItemType
const ( // Billing20201105PackageItemTypeUNSET captures enum value "UNSET" Billing20201105PackageItemTypeUNSET Billing20201105PackageItemType = "UNSET" // Billing20201105PackageItemTypeSELECTION captures enum value "SELECTION" Billing20201105PackageItemTypeSELECTION Billing20201105PackageItemType = "SELECTION" // Billing20201105PackageItemTypeCOST captures enum value "COST" Billing20201105PackageItemTypeCOST Billing20201105PackageItemType = "COST" )
func NewBilling20201105PackageItemType ¶
func NewBilling20201105PackageItemType(value Billing20201105PackageItemType) *Billing20201105PackageItemType
func (Billing20201105PackageItemType) ContextValidate ¶
func (m Billing20201105PackageItemType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 package item type based on context it is used
func (Billing20201105PackageItemType) Pointer ¶
func (m Billing20201105PackageItemType) Pointer() *Billing20201105PackageItemType
Pointer returns a pointer to a freshly-allocated Billing20201105PackageItemType.
type Billing20201105PackageOption ¶
type Billing20201105PackageOption struct { // dependencies defines a dependency between this PackageOption and another // Option a different item. // // Dependencies are optional, and when they are not set it means that the // option could be used with any other combination of items/options. // // When they are set, all dependencies have to be met for this PackageOption to be active. // // Example scenario 1: // - Item 1 has 2 Options: 1.1 and 1.2 // - Item 2 has also 2 Options: 2.1 and 2.2, and item 2 is of type SELECTION // - Option 2.1 has a dependency on 1.1 // - Option 2.2 has a dependency on 1.2 // - If a user select 1.1, then 2.1 can be selected // - If a user select 1.2, then 2.2 can be selected // // Example scenario 2: // - Item 1 has 2 Options: 1.1 and 1.2 // - Item 2 has also 2 Options: 2.1 and 2.2, and item 2 is of type COST // - Option 2.1 has a dependency on 1.1 // - Option 2.2 has a dependency on 1.2 // - If a user select 1.1, then 2.1 will be automatically be selected // - If a user select 1.2, then 2.2 will be automatically be selected // // In this scenario Item 1 could represent cluster size and Item 2 could // represent the mumber of clients. Selecting medium (1.2) affects the // price of the number of clients (2.2). // // Example scenario 3: // - Item 1 has 2 Options: 1.1 and 1.2 // - Item 2 has also 2 Options: 2.1 and 2.2, and item 2 is of type SELECTION // - Option 2.1 has no dependencies // - Option 2.2 has no dependencies // - Either options 2.1 and 2.2 can be selected by the user, regardless // of the item 1 option value. Dependencies []*PackageOptionDependency `json:"dependencies"` // key is the unique identifier of the Option for a given Item. Key string `json:"key,omitempty"` // unit is the type of measurement that is used to calculate the quantity used of this product. Unit *Billing20201105Unit `json:"unit,omitempty"` // unit_display_key contains an human label for the product unit. // It will be present if the unit type is set to UNIT, as a way // to clarify what the customer is going to be charged for. UnitDisplayKey string `json:"unit_display_key,omitempty"` // unit_price is the price of a single unit of the product in USD. UnitPrice string `json:"unit_price,omitempty"` }
Billing20201105PackageOption PackageOption represents a selection of a PackageItem as part of a Package.
swagger:model billing_20201105PackageOption
func (*Billing20201105PackageOption) ContextValidate ¶
func (m *Billing20201105PackageOption) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 package option based on the context it is used
func (*Billing20201105PackageOption) MarshalBinary ¶
func (m *Billing20201105PackageOption) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105PackageOption) UnmarshalBinary ¶
func (m *Billing20201105PackageOption) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105PricingModel ¶ added in v0.97.0
type Billing20201105PricingModel string
Billing20201105PricingModel PricingModel is a reference to all available pricing models in the billing service.
- PRICING_MODEL_UNSPECIFIED: PRICING_MODEL_UNSPECIFIED is an invalid pricing model, which
is used to flag when the pricing model was left blank.
- PRICING_MODEL_PAYG: PRICING_MODEL_PAYG represents the PAYG pricing model.
- PRICING_MODEL_FLEX: PRICING_MODEL_FLEX represents the FLEX (or FCP) pricing model.
- PRICING_MODEL_ENTITLEMENT: PRICING_MODEL_ENTITLEMENT represents the Entitlement (or contracts) pricing model.
swagger:model billing_20201105PricingModel
const ( // Billing20201105PricingModelPRICINGMODELUNSPECIFIED captures enum value "PRICING_MODEL_UNSPECIFIED" Billing20201105PricingModelPRICINGMODELUNSPECIFIED Billing20201105PricingModel = "PRICING_MODEL_UNSPECIFIED" // Billing20201105PricingModelPRICINGMODELPAYG captures enum value "PRICING_MODEL_PAYG" Billing20201105PricingModelPRICINGMODELPAYG Billing20201105PricingModel = "PRICING_MODEL_PAYG" // Billing20201105PricingModelPRICINGMODELFLEX captures enum value "PRICING_MODEL_FLEX" Billing20201105PricingModelPRICINGMODELFLEX Billing20201105PricingModel = "PRICING_MODEL_FLEX" // Billing20201105PricingModelPRICINGMODELENTITLEMENT captures enum value "PRICING_MODEL_ENTITLEMENT" Billing20201105PricingModelPRICINGMODELENTITLEMENT Billing20201105PricingModel = "PRICING_MODEL_ENTITLEMENT" )
func NewBilling20201105PricingModel ¶ added in v0.97.0
func NewBilling20201105PricingModel(value Billing20201105PricingModel) *Billing20201105PricingModel
func (Billing20201105PricingModel) ContextValidate ¶ added in v0.97.0
func (m Billing20201105PricingModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 pricing model based on context it is used
func (Billing20201105PricingModel) Pointer ¶ added in v0.97.0
func (m Billing20201105PricingModel) Pointer() *Billing20201105PricingModel
Pointer returns a pointer to a freshly-allocated Billing20201105PricingModel.
type Billing20201105RemoveOnDemandPaymentMethodResponse ¶
type Billing20201105RemoveOnDemandPaymentMethodResponse struct { // ok Ok bool `json:"ok,omitempty"` }
Billing20201105RemoveOnDemandPaymentMethodResponse billing 20201105 remove on demand payment method response
swagger:model billing_20201105RemoveOnDemandPaymentMethodResponse
func (*Billing20201105RemoveOnDemandPaymentMethodResponse) ContextValidate ¶
func (m *Billing20201105RemoveOnDemandPaymentMethodResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 remove on demand payment method response based on context it is used
func (*Billing20201105RemoveOnDemandPaymentMethodResponse) MarshalBinary ¶
func (m *Billing20201105RemoveOnDemandPaymentMethodResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105RemoveOnDemandPaymentMethodResponse) UnmarshalBinary ¶
func (m *Billing20201105RemoveOnDemandPaymentMethodResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ResourceUsage ¶
type Billing20201105ResourceUsage struct { // amount is the sum of the amount of all line items. Amount string `json:"amount,omitempty"` // line_items is the list of line items as they would appear on an invoice. // They are a simplified version of the backend one, containing only // points useful for the UI. LineItems []*Billing20201105InvoiceLineItem `json:"line_items"` // resource is a link to the Resource for which this line item charges. Resource *LocationLink `json:"resource,omitempty"` // total_Hours contains the difference between usage_until and usage_from // in units of hours. TotalHours float64 `json:"total_hours,omitempty"` // usage_from is the start time of the first line item of this resource. // Format: date-time UsageFrom strfmt.DateTime `json:"usage_from,omitempty"` // usage_until is the end time of the last line item of this resource. // Format: date-time UsageUntil strfmt.DateTime `json:"usage_until,omitempty"` }
Billing20201105ResourceUsage ResourceUsage contains the usage of a single resource, including all the line items from it.
swagger:model billing_20201105ResourceUsage
func (*Billing20201105ResourceUsage) ContextValidate ¶
func (m *Billing20201105ResourceUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 resource usage based on the context it is used
func (*Billing20201105ResourceUsage) MarshalBinary ¶
func (m *Billing20201105ResourceUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ResourceUsage) UnmarshalBinary ¶
func (m *Billing20201105ResourceUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105Statement ¶
type Billing20201105Statement struct { // billing_period_end is the end time of the period that was considered for // this usage calculation. // Format: date-time BillingPeriodEnd strfmt.DateTime `json:"billing_period_end,omitempty"` // billing_period_start is the start time of the period that was considered // for this usage calculation. // Format: date-time BillingPeriodStart strfmt.DateTime `json:"billing_period_start,omitempty"` // id is the id associated with the statement. ID string `json:"id,omitempty"` // last_updated_at is the last time this statement gets updated. // This shows the last usage time that is included in this statement. // Format: date-time LastUpdatedAt strfmt.DateTime `json:"last_updated_at,omitempty"` // non_usage_charges has information about each resource that is part of the statement but non usage charge type. NonUsageCharges []*Billing20201105StatementResource `json:"non_usage_charges"` // resources has information about each resource that is part of the statement. Resources []*Billing20201105StatementResource `json:"resources"` // state indicates the life cycle step that the Statement is currently in. State *Billing20201105StatementState `json:"state,omitempty"` // statement_metadata contains metadata for the statement. StatementMetadata *StatementStatementMetadata `json:"statement_metadata,omitempty"` // total is the cost produced within this billing period minus any // discount that is granted because of a positive account balance. This // should be considered an estimate because not all information required to // issue an invoice might have been taken into consideration (e.g. billing // address country and tax might not be reflected in this value). Total string `json:"total,omitempty"` }
Billing20201105Statement Statement describes the usage that accrued during a specific billing period
swagger:model billing_20201105Statement
func (*Billing20201105Statement) ContextValidate ¶
func (m *Billing20201105Statement) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 statement based on the context it is used
func (*Billing20201105Statement) MarshalBinary ¶
func (m *Billing20201105Statement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105Statement) UnmarshalBinary ¶
func (m *Billing20201105Statement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105StatementOverview ¶ added in v0.97.0
type Billing20201105StatementOverview struct { // billing_period_end is the end date for the statement billing period // Format: date-time BillingPeriodEnd strfmt.DateTime `json:"billing_period_end,omitempty"` // billing_period_start is the start date for the statement billing period // Format: date-time BillingPeriodStart strfmt.DateTime `json:"billing_period_start,omitempty"` // id is the id associated with the statement ID string `json:"id,omitempty"` // state indicates the life cycle step that the Statement is currently in. State *Billing20201105StatementState `json:"state,omitempty"` // total is the sum total in dollars for the statement Total string `json:"total,omitempty"` }
Billing20201105StatementOverview StatementOverview contains a few key details from a Statement. TODO: This will replace the public StatementSummary object.
swagger:model billing_20201105StatementOverview
func (*Billing20201105StatementOverview) ContextValidate ¶ added in v0.97.0
func (m *Billing20201105StatementOverview) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 statement overview based on the context it is used
func (*Billing20201105StatementOverview) MarshalBinary ¶ added in v0.97.0
func (m *Billing20201105StatementOverview) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105StatementOverview) UnmarshalBinary ¶ added in v0.97.0
func (m *Billing20201105StatementOverview) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105StatementResource ¶
type Billing20201105StatementResource struct { // active_from is the timestamp of when the billed resource became active. // Format: date-time ActiveFrom strfmt.DateTime `json:"active_from,omitempty"` // active_until is the timestamp of when the billed resource became inactive. // Format: date-time ActiveUntil strfmt.DateTime `json:"active_until,omitempty"` // amount is the sum of the amount of all line items. Amount string `json:"amount,omitempty"` // common_resource_attributes contains all the attributes that are // common to all the resource's line items. CommonResourceAttributes map[string]string `json:"common_resource_attributes,omitempty"` // fcp contains flexible consumption specific properties. FlexibleConsumptionMetadata *StatementResourceFlexibleConsumptionMetadata `json:"flexible_consumption_metadata,omitempty"` // geo defines on which geography the control-plane for this resource exists. Geo *Billing20201105Geo `json:"geo,omitempty"` // line_items is the list of line items as they would appear on an invoice. LineItems []*StatementResourceLineItem `json:"line_items"` // resource is a link to the Resource for which this line item charges. ResourceLink *LocationLink `json:"resource_link,omitempty"` }
Billing20201105StatementResource Resource contains the running usage of a single resource, including all the line items from it.
swagger:model billing_20201105StatementResource
func (*Billing20201105StatementResource) ContextValidate ¶
func (m *Billing20201105StatementResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 statement resource based on the context it is used
func (*Billing20201105StatementResource) MarshalBinary ¶
func (m *Billing20201105StatementResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105StatementResource) UnmarshalBinary ¶
func (m *Billing20201105StatementResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105StatementState ¶ added in v0.97.0
type Billing20201105StatementState string
Billing20201105StatementState StatementState represents the current state of this statement.
- STATEMENT_STATE_UNSET: STATEMENT_STATE_UNSET means the current state of the statement is not set or not specified.
- STATEMENT_STATE_RUNNING: STATEMENT_STATE_RUNNING is for the latest current billing period statement.
Only one running statement per billing period per billing account at a time.
- STATEMENT_STATE_PAID: STATEMENT_STATE_PAID for FCP is when a statement is recognized.
Paid for PAYG is when stripe invoice is paid.
- STATEMENT_STATE_SUBMITTED: STATEMENT_STATE_SUBMITTED means the statement was sent for collection and can no longer
be changed. It's yet to be paid.
- STATEMENT_STATE_WONTPAY: STATEMENT_STATE_WONTPAY means that attempts to collect money for the payment were exhausted.
This also means the account could enter the delinquency flow because of this.
- STATEMENT_STATE_VOID: STATEMENT_STATE_VOID means that this statement must be ignored as it is not valid anymore.
swagger:model billing_20201105StatementState
const ( // Billing20201105StatementStateSTATEMENTSTATEUNSET captures enum value "STATEMENT_STATE_UNSET" Billing20201105StatementStateSTATEMENTSTATEUNSET Billing20201105StatementState = "STATEMENT_STATE_UNSET" // Billing20201105StatementStateSTATEMENTSTATERUNNING captures enum value "STATEMENT_STATE_RUNNING" Billing20201105StatementStateSTATEMENTSTATERUNNING Billing20201105StatementState = "STATEMENT_STATE_RUNNING" // Billing20201105StatementStateSTATEMENTSTATEPAID captures enum value "STATEMENT_STATE_PAID" Billing20201105StatementStateSTATEMENTSTATEPAID Billing20201105StatementState = "STATEMENT_STATE_PAID" // Billing20201105StatementStateSTATEMENTSTATESUBMITTED captures enum value "STATEMENT_STATE_SUBMITTED" Billing20201105StatementStateSTATEMENTSTATESUBMITTED Billing20201105StatementState = "STATEMENT_STATE_SUBMITTED" // Billing20201105StatementStateSTATEMENTSTATEWONTPAY captures enum value "STATEMENT_STATE_WONTPAY" Billing20201105StatementStateSTATEMENTSTATEWONTPAY Billing20201105StatementState = "STATEMENT_STATE_WONTPAY" // Billing20201105StatementStateSTATEMENTSTATEVOID captures enum value "STATEMENT_STATE_VOID" Billing20201105StatementStateSTATEMENTSTATEVOID Billing20201105StatementState = "STATEMENT_STATE_VOID" )
func NewBilling20201105StatementState ¶ added in v0.97.0
func NewBilling20201105StatementState(value Billing20201105StatementState) *Billing20201105StatementState
func (Billing20201105StatementState) ContextValidate ¶ added in v0.97.0
func (m Billing20201105StatementState) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 statement state based on context it is used
func (Billing20201105StatementState) Pointer ¶ added in v0.97.0
func (m Billing20201105StatementState) Pointer() *Billing20201105StatementState
Pointer returns a pointer to a freshly-allocated Billing20201105StatementState.
type Billing20201105StatementSummary ¶
type Billing20201105StatementSummary struct { // amount is the dollar amount for the statement Amount string `json:"amount,omitempty"` // billing_period_end is the end date for the statement billing period // Format: date-time BillingPeriodEnd strfmt.DateTime `json:"billing_period_end,omitempty"` // billing_period_start is the start date for the statement billing period // Format: date-time BillingPeriodStart strfmt.DateTime `json:"billing_period_start,omitempty"` // id is the id associated with the statement ID string `json:"id,omitempty"` // state indicates the life cycle step that the Statement is currently in. State *Billing20201105StatementState `json:"state,omitempty"` }
Billing20201105StatementSummary StatementSummary represents the response type for the ListStatements endpoint. TODO: This will be replaced by the public StatementOverview object.
swagger:model billing_20201105StatementSummary
func (*Billing20201105StatementSummary) ContextValidate ¶
func (m *Billing20201105StatementSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 statement summary based on the context it is used
func (*Billing20201105StatementSummary) MarshalBinary ¶
func (m *Billing20201105StatementSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105StatementSummary) UnmarshalBinary ¶
func (m *Billing20201105StatementSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105SupportLevel ¶
type Billing20201105SupportLevel struct { // product_type is the product type this support level is for. ProductType string `json:"product_type,omitempty"` // support_level is the support level for the product_type SupportLevel string `json:"support_level,omitempty"` }
Billing20201105SupportLevel SupportLevel represents the support level associated with a product type
swagger:model billing_20201105SupportLevel
func (*Billing20201105SupportLevel) ContextValidate ¶
func (m *Billing20201105SupportLevel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 support level based on context it is used
func (*Billing20201105SupportLevel) MarshalBinary ¶
func (m *Billing20201105SupportLevel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105SupportLevel) UnmarshalBinary ¶
func (m *Billing20201105SupportLevel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105TaxSettings ¶
type Billing20201105TaxSettings struct { // exemption_status indicates the customer’s tax exemption status which // can be one of none, exempt, or reverse. ExemptionStatus *TaxSettingsExemptionStatus `json:"exemption_status,omitempty"` // id is the tax ID to include on invoices. ID string `json:"id,omitempty"` // id_type is the tax ID type. IDType *TaxSettingsIDType `json:"id_type,omitempty"` }
Billing20201105TaxSettings TaxSettings contain a Billing Account's settings related to taxation.
These are oriented to Stripe's tax settings:
https://stripe.com/docs/billing/taxes/tax-rates.
swagger:model billing_20201105TaxSettings
func (*Billing20201105TaxSettings) ContextValidate ¶
func (m *Billing20201105TaxSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 tax settings based on the context it is used
func (*Billing20201105TaxSettings) MarshalBinary ¶
func (m *Billing20201105TaxSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105TaxSettings) UnmarshalBinary ¶
func (m *Billing20201105TaxSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105Unit ¶
type Billing20201105Unit string
Billing20201105Unit Unit is an enum with all possible measurement units the system accepts.
- HOUR: Valid for static products.
swagger:model billing_20201105Unit
const ( // Billing20201105UnitNOUNIT captures enum value "NO_UNIT" Billing20201105UnitNOUNIT Billing20201105Unit = "NO_UNIT" // Billing20201105UnitHOUR captures enum value "HOUR" Billing20201105UnitHOUR Billing20201105Unit = "HOUR" // Billing20201105UnitMINUTE captures enum value "MINUTE" Billing20201105UnitMINUTE Billing20201105Unit = "MINUTE" // Billing20201105UnitUNIT captures enum value "UNIT" Billing20201105UnitUNIT Billing20201105Unit = "UNIT" // Billing20201105UnitMONTH captures enum value "MONTH" Billing20201105UnitMONTH Billing20201105Unit = "MONTH" )
func NewBilling20201105Unit ¶
func NewBilling20201105Unit(value Billing20201105Unit) *Billing20201105Unit
func (Billing20201105Unit) ContextValidate ¶
ContextValidate validates this billing 20201105 unit based on context it is used
func (Billing20201105Unit) Pointer ¶
func (m Billing20201105Unit) Pointer() *Billing20201105Unit
Pointer returns a pointer to a freshly-allocated Billing20201105Unit.
type Billing20201105UpdateBillingAccountResponse ¶
type Billing20201105UpdateBillingAccountResponse struct { // billing_account is the Billing Account that was updated. BillingAccount *Billing20201105BillingAccount `json:"billing_account,omitempty"` // entitlement_billing_method_details contains details about the entitlement contract // that can be attached to a billing account to cover charges of it. EntitlementBillingMethodDetails *Billing20201105EntitlementBillingMethodDetails `json:"entitlement_billing_method_details,omitempty"` // flexible_consumption_billing_method_details contains details of the billing // account's flexible consumption billing method. // Only present when the billing account is activated for Flexible Consumption. FlexibleConsumptionBillingMethodDetails Billing20201105FlexibleConsumptionBillingMethodDetails `json:"flexible_consumption_billing_method_details,omitempty"` // on_demand_billing_method_details contains details about the on-demand // billing method of the billing account. OnDemandBillingMethodDetails *Billing20201105OnDemandBillingMethodDetails `json:"on_demand_billing_method_details,omitempty"` }
Billing20201105UpdateBillingAccountResponse UpdateBillingAccountResponse is the response from updating a Billing Account.
swagger:model billing_20201105UpdateBillingAccountResponse
func (*Billing20201105UpdateBillingAccountResponse) ContextValidate ¶
func (m *Billing20201105UpdateBillingAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 update billing account response based on the context it is used
func (*Billing20201105UpdateBillingAccountResponse) MarshalBinary ¶
func (m *Billing20201105UpdateBillingAccountResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105UpdateBillingAccountResponse) UnmarshalBinary ¶
func (m *Billing20201105UpdateBillingAccountResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingAccountOnDemandStatus ¶
type BillingAccountOnDemandStatus string
BillingAccountOnDemandStatus OnDemandStatus represents the status of the on-demand payment method for a given BillingAccount.
swagger:model BillingAccountOnDemandStatus
const ( // BillingAccountOnDemandStatusONDEMANDINVALID captures enum value "ON_DEMAND_INVALID" BillingAccountOnDemandStatusONDEMANDINVALID BillingAccountOnDemandStatus = "ON_DEMAND_INVALID" // BillingAccountOnDemandStatusONDEMANDUNSET captures enum value "ON_DEMAND_UNSET" BillingAccountOnDemandStatusONDEMANDUNSET BillingAccountOnDemandStatus = "ON_DEMAND_UNSET" // BillingAccountOnDemandStatusONDEMANDACTIVE captures enum value "ON_DEMAND_ACTIVE" BillingAccountOnDemandStatusONDEMANDACTIVE BillingAccountOnDemandStatus = "ON_DEMAND_ACTIVE" // BillingAccountOnDemandStatusONDEMANDDELETING captures enum value "ON_DEMAND_DELETING" BillingAccountOnDemandStatusONDEMANDDELETING BillingAccountOnDemandStatus = "ON_DEMAND_DELETING" )
func NewBillingAccountOnDemandStatus ¶
func NewBillingAccountOnDemandStatus(value BillingAccountOnDemandStatus) *BillingAccountOnDemandStatus
func (BillingAccountOnDemandStatus) ContextValidate ¶
func (m BillingAccountOnDemandStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing account on demand status based on context it is used
func (BillingAccountOnDemandStatus) Pointer ¶
func (m BillingAccountOnDemandStatus) Pointer() *BillingAccountOnDemandStatus
Pointer returns a pointer to a freshly-allocated BillingAccountOnDemandStatus.
type BillingAccountServiceCreateBody ¶ added in v0.97.0
type BillingAccountServiceCreateBody struct { // country is the billing account's country which is used for selecting // country-specific prices and for invoicing. Country *Billing20201105Country `json:"country,omitempty"` // id is the user-settable ID for this Billing Account. It must be unique // within the organization. ID string `json:"id,omitempty"` // name is the Billing Account's user-defined name. Name string `json:"name,omitempty"` // on_demand_billing_method configures the on-demand billing method for the // billing account. This billing method is expected to be charged with // on-demand cost that isn't covered by a contract or through a positive // account balance. OnDemandBillingMethod *Billing20201105OnDemandBillingMethod `json:"on_demand_billing_method,omitempty"` // project_ids is the list of IDs of all projects associated with the Billing // Account. Projects can be linked to *at most* one Billing Account. ProjectIds []string `json:"project_ids"` }
BillingAccountServiceCreateBody CreateBillingAccountRequest is the request to add a new Billing Account for an organization.
swagger:model BillingAccountServiceCreateBody
func (*BillingAccountServiceCreateBody) ContextValidate ¶ added in v0.97.0
func (m *BillingAccountServiceCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing account service create body based on the context it is used
func (*BillingAccountServiceCreateBody) MarshalBinary ¶ added in v0.97.0
func (m *BillingAccountServiceCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingAccountServiceCreateBody) UnmarshalBinary ¶ added in v0.97.0
func (m *BillingAccountServiceCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingAccountServiceUpdateBody ¶ added in v0.97.0
type BillingAccountServiceUpdateBody struct { // country is the billing account's country which is used for selecting // country-specific prices and for invoicing. Country *Billing20201105Country `json:"country,omitempty"` // name is the Billing Account's user-defined name. Name string `json:"name,omitempty"` // on_demand_billing_method configures the on-demand billing method for the // billing account. This billing method is expected to be charged with // on-demand cost that isn't covered by a contract or through a positive // account balance. OnDemandBillingMethod *Billing20201105OnDemandBillingMethod `json:"on_demand_billing_method,omitempty"` // project_ids is the list of IDs of all projects associated with the Billing // Account. Projects can be linked to *at most* one Billing Account. ProjectIds []string `json:"project_ids"` }
BillingAccountServiceUpdateBody UpdateBillingAccountRequest is the request to update a Billing Account.
swagger:model BillingAccountServiceUpdateBody
func (*BillingAccountServiceUpdateBody) ContextValidate ¶ added in v0.97.0
func (m *BillingAccountServiceUpdateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing account service update body based on the context it is used
func (*BillingAccountServiceUpdateBody) MarshalBinary ¶ added in v0.97.0
func (m *BillingAccountServiceUpdateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingAccountServiceUpdateBody) UnmarshalBinary ¶ added in v0.97.0
func (m *BillingAccountServiceUpdateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CardDetailsBrand ¶
type CardDetailsBrand string
CardDetailsBrand card details brand
swagger:model CardDetailsBrand
const ( // CardDetailsBrandUNKNOWN captures enum value "UNKNOWN" CardDetailsBrandUNKNOWN CardDetailsBrand = "UNKNOWN" // CardDetailsBrandAMERICANEXPRESS captures enum value "AMERICAN_EXPRESS" CardDetailsBrandAMERICANEXPRESS CardDetailsBrand = "AMERICAN_EXPRESS" // CardDetailsBrandDINERSCLUB captures enum value "DINERS_CLUB" CardDetailsBrandDINERSCLUB CardDetailsBrand = "DINERS_CLUB" // CardDetailsBrandDISCOVER captures enum value "DISCOVER" CardDetailsBrandDISCOVER CardDetailsBrand = "DISCOVER" // CardDetailsBrandJCB captures enum value "JCB" CardDetailsBrandJCB CardDetailsBrand = "JCB" // CardDetailsBrandMASTERCARD captures enum value "MASTERCARD" CardDetailsBrandMASTERCARD CardDetailsBrand = "MASTERCARD" // CardDetailsBrandUNIONPAY captures enum value "UNION_PAY" CardDetailsBrandUNIONPAY CardDetailsBrand = "UNION_PAY" // CardDetailsBrandVISA captures enum value "VISA" CardDetailsBrandVISA CardDetailsBrand = "VISA" )
func NewCardDetailsBrand ¶
func NewCardDetailsBrand(value CardDetailsBrand) *CardDetailsBrand
func (CardDetailsBrand) ContextValidate ¶
ContextValidate validates this card details brand based on context it is used
func (CardDetailsBrand) Pointer ¶
func (m CardDetailsBrand) Pointer() *CardDetailsBrand
Pointer returns a pointer to a freshly-allocated CardDetailsBrand.
type Cloudbilling20201105Discount ¶ added in v0.97.0
type Cloudbilling20201105Discount struct { // percentage is the discount percentage. Percentage string `json:"percentage,omitempty"` // product_type is the product type this discount is for. ProductType string `json:"product_type,omitempty"` }
Cloudbilling20201105Discount Discount represents a consumption pool discount
swagger:model cloudbilling_20201105Discount
func (*Cloudbilling20201105Discount) ContextValidate ¶ added in v0.97.0
func (m *Cloudbilling20201105Discount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this cloudbilling 20201105 discount based on context it is used
func (*Cloudbilling20201105Discount) MarshalBinary ¶ added in v0.97.0
func (m *Cloudbilling20201105Discount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Cloudbilling20201105Discount) UnmarshalBinary ¶ added in v0.97.0
func (m *Cloudbilling20201105Discount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudlocationLocation ¶
type CloudlocationLocation struct { // organization_id is the id of the organization. OrganizationID string `json:"organization_id,omitempty"` // project_id is the projects id. ProjectID string `json:"project_id,omitempty"` // region is the region that the resource is located in. It is // optional if the object being referenced is a global object. Region *LocationRegion `json:"region,omitempty"` }
CloudlocationLocation Location represents a target for an operation in HCP.
swagger:model cloudlocationLocation
func (*CloudlocationLocation) ContextValidate ¶
ContextValidate validate this cloudlocation location based on the context it is used
func (*CloudlocationLocation) MarshalBinary ¶
func (m *CloudlocationLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudlocationLocation) UnmarshalBinary ¶
func (m *CloudlocationLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContractEntitlementDetails ¶ added in v0.97.0
type ContractEntitlementDetails interface{}
ContractEntitlementDetails Entitlement contains all information related to the entitlement contract.
swagger:model ContractEntitlementDetails
type ContractFlexDetails ¶ added in v0.97.0
type ContractFlexDetails struct { // discounts represents all discounts under a contract. Discounts []*Billing20201105ContractDiscount `json:"discounts"` // initial_amount is the initial amount on the consumption pool in USD. InitialAmount string `json:"initial_amount,omitempty"` // recognized_balance is the official remaining balance of the flex consumption pool in USD // as of the last recognition event. RecognizedBalance string `json:"recognized_balance,omitempty"` // roll_in_percentage is the percentage of a remaining balance an account is allowed to rolled in to // this renewal consumption pool. This percentage will be set in the renewal sales order, the actual balance // will be calculated at the start date of this consumption pool. // In case of new or add-on sales order it will be empty. // Must be between 0 and 100. RollInPercentage string `json:"roll_in_percentage,omitempty"` // running_total is a running usage estimate since the last recognition event. // This number will be increased after each new running transaction and // zeroed after a recognition event (if recognition event covered all available running // transactions). RunningTotal string `json:"running_total,omitempty"` // support_level applied at the level of the flex contract. SupportLevel string `json:"support_level,omitempty"` // support_levels applied at the product level. SupportLevels []*ContractProductSupportLevel `json:"support_levels"` }
ContractFlexDetails Flex contains all information related to the flex consumption contract.
swagger:model ContractFlexDetails
func (*ContractFlexDetails) ContextValidate ¶ added in v0.97.0
ContextValidate validate this contract flex details based on the context it is used
func (*ContractFlexDetails) MarshalBinary ¶ added in v0.97.0
func (m *ContractFlexDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContractFlexDetails) UnmarshalBinary ¶ added in v0.97.0
func (m *ContractFlexDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContractProductSupportLevel ¶ added in v0.97.0
type ContractProductSupportLevel struct { // product_type is the product type this support level is for. ProductType string `json:"product_type,omitempty"` // support_level is the support level for the product_type. SupportLevel string `json:"support_level,omitempty"` }
ContractProductSupportLevel ProductSupportLevel represents the support level associated with a product type.
swagger:model ContractProductSupportLevel
func (*ContractProductSupportLevel) ContextValidate ¶ added in v0.97.0
func (m *ContractProductSupportLevel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this contract product support level based on context it is used
func (*ContractProductSupportLevel) MarshalBinary ¶ added in v0.97.0
func (m *ContractProductSupportLevel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContractProductSupportLevel) UnmarshalBinary ¶ added in v0.97.0
func (m *ContractProductSupportLevel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPricingModelTransitionsResponseTransition ¶ added in v0.97.0
type GetPricingModelTransitionsResponseTransition struct { // end is the exclusive upper bound timestamp of this transition. // The value is always rounded up to the start of the hour that follows the transition. // Format: date-time End strfmt.DateTime `json:"end,omitempty"` // pricing_model is the value of the pricing model for the transition. PricingModel *Billing20201105PricingModel `json:"pricing_model,omitempty"` // start is the inclusive upper bound timestamp of this transition. // The value is always rounded up to the start of the hour starting the transition. // Format: date-time Start strfmt.DateTime `json:"start,omitempty"` }
GetPricingModelTransitionsResponseTransition Transition represent a pricing model transition where the pricing_model is the value of the pricing model between the start (inclusive) and end (exclusively) date. Example using [12:00, 13:00) [start, end)
- 12:00 to 13:59:59 is part of the transition.
- 13:00 and up is not part of the transition.
swagger:model GetPricingModelTransitionsResponseTransition
func (*GetPricingModelTransitionsResponseTransition) ContextValidate ¶ added in v0.97.0
func (m *GetPricingModelTransitionsResponseTransition) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get pricing model transitions response transition based on the context it is used
func (*GetPricingModelTransitionsResponseTransition) MarshalBinary ¶ added in v0.97.0
func (m *GetPricingModelTransitionsResponseTransition) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPricingModelTransitionsResponseTransition) UnmarshalBinary ¶ added in v0.97.0
func (m *GetPricingModelTransitionsResponseTransition) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GooglerpcStatus ¶ added in v0.97.0
type GooglerpcStatus struct { // code Code int32 `json:"code,omitempty"` // details Details []*ProtobufAny `json:"details"` // message Message string `json:"message,omitempty"` }
GooglerpcStatus googlerpc status
swagger:model googlerpcStatus
func (*GooglerpcStatus) ContextValidate ¶ added in v0.97.0
ContextValidate validate this googlerpc status based on the context it is used
func (*GooglerpcStatus) MarshalBinary ¶ added in v0.97.0
func (m *GooglerpcStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GooglerpcStatus) UnmarshalBinary ¶ added in v0.97.0
func (m *GooglerpcStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LocationLink ¶
type LocationLink struct { // description is a human-friendly description for this link. This is // used primarily for informational purposes such as error messages. Description string `json:"description,omitempty"` // id is the identifier for this resource. ID string `json:"id,omitempty"` // location is the location where this resource is. Location *CloudlocationLocation `json:"location,omitempty"` // type is the unique type of the resource. Each service publishes a // unique set of types. The type value is recommended to be formatted // in "<org>.<type>" such as "hashicorp.hvn". This is to prevent conflicts // in the future, but any string value will work. Type string `json:"type,omitempty"` // uuid is the unique UUID for this resource. UUID string `json:"uuid,omitempty"` }
LocationLink Link is used to uniquely reference any resource within HashiCorp Cloud. This can be conceptually considered a "foreign key".
swagger:model locationLink
func (*LocationLink) ContextValidate ¶
ContextValidate validate this location link based on the context it is used
func (*LocationLink) MarshalBinary ¶
func (m *LocationLink) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LocationLink) UnmarshalBinary ¶
func (m *LocationLink) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LocationRegion ¶
type LocationRegion struct { // provider is the named cloud provider ("aws", "gcp", "azure") Provider string `json:"provider,omitempty"` // region is the cloud region ("us-west1", "us-east1") Region string `json:"region,omitempty"` }
LocationRegion Region identifies a Cloud data-plane region.
swagger:model locationRegion
func (*LocationRegion) ContextValidate ¶
ContextValidate validates this location region based on context it is used
func (*LocationRegion) MarshalBinary ¶
func (m *LocationRegion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LocationRegion) UnmarshalBinary ¶
func (m *LocationRegion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PackageOptionDependency ¶
type PackageOptionDependency struct { // item key ItemKey string `json:"item_key,omitempty"` // option key OptionKey string `json:"option_key,omitempty"` }
PackageOptionDependency Dependency describes a dependency with a Package option.
swagger:model PackageOptionDependency
func (*PackageOptionDependency) ContextValidate ¶
func (m *PackageOptionDependency) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this package option dependency based on context it is used
func (*PackageOptionDependency) MarshalBinary ¶
func (m *PackageOptionDependency) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PackageOptionDependency) UnmarshalBinary ¶
func (m *PackageOptionDependency) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProductServiceEstimateCostBody ¶ added in v0.97.0
type ProductServiceEstimateCostBody struct { // customized_input allows the quantity of dependent products (i.e. number of Vault Clients for a Vault Cluster) to be specified for the cost estimation. CustomizedInput []*Billing20201105CustomizedInput `json:"customized_input"` // package_item_selection is the item/option selections that cost will be estimated for. PackageItemSelection []*Billing20201105PackageItemSelection `json:"package_item_selection"` // package_key is the key of the package being retrieved. PackageKey string `json:"package_key,omitempty"` // project_id the project ID used to scope the request for the package. ProjectID string `json:"project_id,omitempty"` // region is the cloud provider & region to scope the request. Region *LocationRegion `json:"region,omitempty"` }
ProductServiceEstimateCostBody EstimateCostRequest returns hourly and monthly pricing information for a given package for the given resource type.
swagger:model ProductServiceEstimateCostBody
func (*ProductServiceEstimateCostBody) ContextValidate ¶ added in v0.97.0
func (m *ProductServiceEstimateCostBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this product service estimate cost body based on the context it is used
func (*ProductServiceEstimateCostBody) MarshalBinary ¶ added in v0.97.0
func (m *ProductServiceEstimateCostBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProductServiceEstimateCostBody) UnmarshalBinary ¶ added in v0.97.0
func (m *ProductServiceEstimateCostBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtobufAny ¶
type ProtobufAny struct { // at type AtType string `json:"@type,omitempty"` }
ProtobufAny protobuf any
swagger:model protobufAny
func (*ProtobufAny) ContextValidate ¶
ContextValidate validates this protobuf any based on context it is used
func (*ProtobufAny) MarshalBinary ¶
func (m *ProtobufAny) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtobufAny) UnmarshalBinary ¶
func (m *ProtobufAny) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatementResourceFlexibleConsumptionMetadata ¶ added in v0.97.0
type StatementResourceFlexibleConsumptionMetadata struct { // support_level is the contract support level of the given resource. SupportLevel string `json:"support_level,omitempty"` }
StatementResourceFlexibleConsumptionMetadata FlexibleConsumptionUsage contains Flexible Consumption specific properties
swagger:model StatementResourceFlexibleConsumptionMetadata
func (*StatementResourceFlexibleConsumptionMetadata) ContextValidate ¶ added in v0.97.0
func (m *StatementResourceFlexibleConsumptionMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this statement resource flexible consumption metadata based on context it is used
func (*StatementResourceFlexibleConsumptionMetadata) MarshalBinary ¶ added in v0.97.0
func (m *StatementResourceFlexibleConsumptionMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatementResourceFlexibleConsumptionMetadata) UnmarshalBinary ¶ added in v0.97.0
func (m *StatementResourceFlexibleConsumptionMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatementResourceLineItem ¶
type StatementResourceLineItem struct { // amount is cost of this line item in USD. Amount string `json:"amount,omitempty"` // average_quantity is the average units of this product for the time the line item was active. AverageQuantity string `json:"average_quantity,omitempty"` // average_unit_display_key is human representation label of the average quantity for this product. AverageUnitDisplayKey string `json:"average_unit_display_key,omitempty"` // description is the name of the product associated with this line item. Description string `json:"description,omitempty"` // ended_at indicates when usage for the line item ended. // Format: date-time EndedAt strfmt.DateTime `json:"ended_at,omitempty"` // quantity is how many units of this product this item contains. Quantity string `json:"quantity,omitempty"` // started_at indicates when usage for the line item started. // Format: date-time StartedAt strfmt.DateTime `json:"started_at,omitempty"` // unit_display_key is the human representation label of the unit that was used in this product. UnitDisplayKey string `json:"unit_display_key,omitempty"` // unit_price is the price per unit of the product associated. // TODO: Use existing enum. UnitPrice string `json:"unit_price,omitempty"` }
StatementResourceLineItem LineItem represents a line item on an invoice.
swagger:model StatementResourceLineItem
func (*StatementResourceLineItem) ContextValidate ¶
func (m *StatementResourceLineItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this statement resource line item based on context it is used
func (*StatementResourceLineItem) MarshalBinary ¶
func (m *StatementResourceLineItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatementResourceLineItem) UnmarshalBinary ¶
func (m *StatementResourceLineItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatementStatementMetadata ¶ added in v0.97.0
type StatementStatementMetadata struct { // next_statement is the summary of the next month's statement. NextStatement *Billing20201105StatementOverview `json:"next_statement,omitempty"` // previous_statement is the summary of the previous month's statement. PreviousStatement *Billing20201105StatementOverview `json:"previous_statement,omitempty"` }
StatementStatementMetadata StatementMetadata contains metadata for the statement.
swagger:model StatementStatementMetadata
func (*StatementStatementMetadata) ContextValidate ¶ added in v0.97.0
func (m *StatementStatementMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this statement statement metadata based on the context it is used
func (*StatementStatementMetadata) MarshalBinary ¶ added in v0.97.0
func (m *StatementStatementMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatementStatementMetadata) UnmarshalBinary ¶ added in v0.97.0
func (m *StatementStatementMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TaxSettingsExemptionStatus ¶
type TaxSettingsExemptionStatus string
TaxSettingsExemptionStatus tax settings exemption status
swagger:model TaxSettingsExemptionStatus
const ( // TaxSettingsExemptionStatusNONE captures enum value "NONE" TaxSettingsExemptionStatusNONE TaxSettingsExemptionStatus = "NONE" // TaxSettingsExemptionStatusEXEMPT captures enum value "EXEMPT" TaxSettingsExemptionStatusEXEMPT TaxSettingsExemptionStatus = "EXEMPT" // TaxSettingsExemptionStatusREVERSE captures enum value "REVERSE" TaxSettingsExemptionStatusREVERSE TaxSettingsExemptionStatus = "REVERSE" )
func NewTaxSettingsExemptionStatus ¶
func NewTaxSettingsExemptionStatus(value TaxSettingsExemptionStatus) *TaxSettingsExemptionStatus
func (TaxSettingsExemptionStatus) ContextValidate ¶
func (m TaxSettingsExemptionStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this tax settings exemption status based on context it is used
func (TaxSettingsExemptionStatus) Pointer ¶
func (m TaxSettingsExemptionStatus) Pointer() *TaxSettingsExemptionStatus
Pointer returns a pointer to a freshly-allocated TaxSettingsExemptionStatus.
type TaxSettingsIDType ¶
type TaxSettingsIDType string
TaxSettingsIDType tax settings Id type
swagger:model TaxSettingsIdType
const ( // TaxSettingsIDTypeUNSET captures enum value "UNSET" TaxSettingsIDTypeUNSET TaxSettingsIDType = "UNSET" // TaxSettingsIDTypeAETRN captures enum value "AE_TRN" TaxSettingsIDTypeAETRN TaxSettingsIDType = "AE_TRN" // TaxSettingsIDTypeAUABN captures enum value "AU_ABN" TaxSettingsIDTypeAUABN TaxSettingsIDType = "AU_ABN" // TaxSettingsIDTypeBRCNPJ captures enum value "BR_CNPJ" TaxSettingsIDTypeBRCNPJ TaxSettingsIDType = "BR_CNPJ" // TaxSettingsIDTypeBRCPF captures enum value "BR_CPF" TaxSettingsIDTypeBRCPF TaxSettingsIDType = "BR_CPF" // TaxSettingsIDTypeCABN captures enum value "CA_BN" TaxSettingsIDTypeCABN TaxSettingsIDType = "CA_BN" // TaxSettingsIDTypeCAQST captures enum value "CA_QST" TaxSettingsIDTypeCAQST TaxSettingsIDType = "CA_QST" // TaxSettingsIDTypeCHVAT captures enum value "CH_VAT" TaxSettingsIDTypeCHVAT TaxSettingsIDType = "CH_VAT" // TaxSettingsIDTypeCLTIN captures enum value "CL_TIN" TaxSettingsIDTypeCLTIN TaxSettingsIDType = "CL_TIN" // TaxSettingsIDTypeESCIF captures enum value "ES_CIF" TaxSettingsIDTypeESCIF TaxSettingsIDType = "ES_CIF" // TaxSettingsIDTypeEUVAT captures enum value "EU_VAT" TaxSettingsIDTypeEUVAT TaxSettingsIDType = "EU_VAT" // TaxSettingsIDTypeHKBR captures enum value "HK_BR" TaxSettingsIDTypeHKBR TaxSettingsIDType = "HK_BR" // TaxSettingsIDTypeIDNPWP captures enum value "ID_NPWP" TaxSettingsIDTypeIDNPWP TaxSettingsIDType = "ID_NPWP" // TaxSettingsIDTypeINGST captures enum value "IN_GST" TaxSettingsIDTypeINGST TaxSettingsIDType = "IN_GST" // TaxSettingsIDTypeJPCN captures enum value "JP_CN" TaxSettingsIDTypeJPCN TaxSettingsIDType = "JP_CN" // TaxSettingsIDTypeKRBRN captures enum value "KR_BRN" TaxSettingsIDTypeKRBRN TaxSettingsIDType = "KR_BRN" // TaxSettingsIDTypeLIUID captures enum value "LI_UID" TaxSettingsIDTypeLIUID TaxSettingsIDType = "LI_UID" // TaxSettingsIDTypeMXRFC captures enum value "MX_RFC" TaxSettingsIDTypeMXRFC TaxSettingsIDType = "MX_RFC" // TaxSettingsIDTypeMYFRP captures enum value "MY_FRP" TaxSettingsIDTypeMYFRP TaxSettingsIDType = "MY_FRP" // TaxSettingsIDTypeMYITN captures enum value "MY_ITN" TaxSettingsIDTypeMYITN TaxSettingsIDType = "MY_ITN" // TaxSettingsIDTypeMYSST captures enum value "MY_SST" TaxSettingsIDTypeMYSST TaxSettingsIDType = "MY_SST" // TaxSettingsIDTypeNOVAT captures enum value "NO_VAT" TaxSettingsIDTypeNOVAT TaxSettingsIDType = "NO_VAT" // TaxSettingsIDTypeNZGST captures enum value "NZ_GST" TaxSettingsIDTypeNZGST TaxSettingsIDType = "NZ_GST" // TaxSettingsIDTypeRUINN captures enum value "RU_INN" TaxSettingsIDTypeRUINN TaxSettingsIDType = "RU_INN" // TaxSettingsIDTypeSAVAT captures enum value "SA_VAT" TaxSettingsIDTypeSAVAT TaxSettingsIDType = "SA_VAT" // TaxSettingsIDTypeSGGST captures enum value "SG_GST" TaxSettingsIDTypeSGGST TaxSettingsIDType = "SG_GST" // TaxSettingsIDTypeSGUEN captures enum value "SG_UEN" TaxSettingsIDTypeSGUEN TaxSettingsIDType = "SG_UEN" // TaxSettingsIDTypeTHVAT captures enum value "TH_VAT" TaxSettingsIDTypeTHVAT TaxSettingsIDType = "TH_VAT" // TaxSettingsIDTypeTWVAT captures enum value "TW_VAT" TaxSettingsIDTypeTWVAT TaxSettingsIDType = "TW_VAT" // TaxSettingsIDTypeUSEIN captures enum value "US_EIN" TaxSettingsIDTypeUSEIN TaxSettingsIDType = "US_EIN" // TaxSettingsIDTypeZAVAT captures enum value "ZA_VAT" TaxSettingsIDTypeZAVAT TaxSettingsIDType = "ZA_VAT" // TaxSettingsIDTypeGBVAT captures enum value "GB_VAT" TaxSettingsIDTypeGBVAT TaxSettingsIDType = "GB_VAT" )
func NewTaxSettingsIDType ¶
func NewTaxSettingsIDType(value TaxSettingsIDType) *TaxSettingsIDType
func (TaxSettingsIDType) ContextValidate ¶
ContextValidate validates this tax settings Id type based on context it is used
func (TaxSettingsIDType) Pointer ¶
func (m TaxSettingsIDType) Pointer() *TaxSettingsIDType
Pointer returns a pointer to a freshly-allocated TaxSettingsIDType.
Source Files ¶
- activation_service_activate_body.go
- billing20201105_activate_response.go
- billing20201105_address.go
- billing20201105_available_package.go
- billing20201105_billing_account.go
- billing20201105_billing_account_status.go
- billing20201105_billing_account_usage.go
- billing20201105_card_details.go
- billing20201105_consumption_pool.go
- billing20201105_consumption_pool_status.go
- billing20201105_consumption_pool_update_info.go
- billing20201105_consumption_pool_update_info_update_cause.go
- billing20201105_consumption_pools_summary.go
- billing20201105_contract.go
- billing20201105_contract_billing_method.go
- billing20201105_contract_details.go
- billing20201105_contract_discount.go
- billing20201105_contract_status.go
- billing20201105_contract_update.go
- billing20201105_contract_update_update_cause.go
- billing20201105_country.go
- billing20201105_create_billing_account_response.go
- billing20201105_create_setup_intent_response.go
- billing20201105_customized_input.go
- billing20201105_entitlement_billing_method_details.go
- billing20201105_estimate_cost_response.go
- billing20201105_estimated_package_item_price.go
- billing20201105_flexible_consumption_billing_method_details.go
- billing20201105_geo.go
- billing20201105_get_activation_details_response.go
- billing20201105_get_billing_account_response.go
- billing20201105_get_consumption_pool_response.go
- billing20201105_get_contract_response.go
- billing20201105_get_pricing_model_transitions_response.go
- billing20201105_get_running_statement_response.go
- billing20201105_get_statement_c_s_v_response.go
- billing20201105_get_statement_response.go
- billing20201105_get_usage_response.go
- billing20201105_invoice_line_item.go
- billing20201105_list_available_packages_response.go
- billing20201105_list_consumption_pools_response.go
- billing20201105_list_contracts_response.go
- billing20201105_list_statements_response.go
- billing20201105_on_demand_billing_method.go
- billing20201105_on_demand_billing_method_details.go
- billing20201105_package_item.go
- billing20201105_package_item_selection.go
- billing20201105_package_item_type.go
- billing20201105_package_option.go
- billing20201105_pricing_model.go
- billing20201105_remove_on_demand_payment_method_response.go
- billing20201105_resource_usage.go
- billing20201105_statement.go
- billing20201105_statement_overview.go
- billing20201105_statement_resource.go
- billing20201105_statement_state.go
- billing20201105_statement_summary.go
- billing20201105_support_level.go
- billing20201105_tax_settings.go
- billing20201105_unit.go
- billing20201105_update_billing_account_response.go
- billing_account_on_demand_status.go
- billing_account_service_create_body.go
- billing_account_service_update_body.go
- card_details_brand.go
- cloudbilling20201105_discount.go
- cloudlocation_location.go
- contract_entitlement_details.go
- contract_flex_details.go
- contract_product_support_level.go
- get_pricing_model_transitions_response_transition.go
- googlerpc_status.go
- location_link.go
- location_region.go
- package_option_dependency.go
- product_service_estimate_cost_body.go
- protobuf_any.go
- statement_resource_flexible_consumption_metadata.go
- statement_resource_line_item.go
- statement_statement_metadata.go
- tax_settings_exemption_status.go
- tax_settings_id_type.go