Documentation ¶
Index ¶
- type BillingAccountServiceCreateDefault
- func (o *BillingAccountServiceCreateDefault) Code() int
- func (o *BillingAccountServiceCreateDefault) Error() string
- func (o *BillingAccountServiceCreateDefault) GetPayload() *models.GooglerpcStatus
- func (o *BillingAccountServiceCreateDefault) IsClientError() bool
- func (o *BillingAccountServiceCreateDefault) IsCode(code int) bool
- func (o *BillingAccountServiceCreateDefault) IsRedirect() bool
- func (o *BillingAccountServiceCreateDefault) IsServerError() bool
- func (o *BillingAccountServiceCreateDefault) IsSuccess() bool
- func (o *BillingAccountServiceCreateDefault) String() string
- type BillingAccountServiceCreateOK
- func (o *BillingAccountServiceCreateOK) Code() int
- func (o *BillingAccountServiceCreateOK) Error() string
- func (o *BillingAccountServiceCreateOK) GetPayload() *models.Billing20201105CreateBillingAccountResponse
- func (o *BillingAccountServiceCreateOK) IsClientError() bool
- func (o *BillingAccountServiceCreateOK) IsCode(code int) bool
- func (o *BillingAccountServiceCreateOK) IsRedirect() bool
- func (o *BillingAccountServiceCreateOK) IsServerError() bool
- func (o *BillingAccountServiceCreateOK) IsSuccess() bool
- func (o *BillingAccountServiceCreateOK) String() string
- type BillingAccountServiceCreateParams
- func NewBillingAccountServiceCreateParams() *BillingAccountServiceCreateParams
- func NewBillingAccountServiceCreateParamsWithContext(ctx context.Context) *BillingAccountServiceCreateParams
- func NewBillingAccountServiceCreateParamsWithHTTPClient(client *http.Client) *BillingAccountServiceCreateParams
- func NewBillingAccountServiceCreateParamsWithTimeout(timeout time.Duration) *BillingAccountServiceCreateParams
- func (o *BillingAccountServiceCreateParams) SetBody(body *models.BillingAccountServiceCreateBody)
- func (o *BillingAccountServiceCreateParams) SetContext(ctx context.Context)
- func (o *BillingAccountServiceCreateParams) SetDefaults()
- func (o *BillingAccountServiceCreateParams) SetHTTPClient(client *http.Client)
- func (o *BillingAccountServiceCreateParams) SetOrganizationID(organizationID string)
- func (o *BillingAccountServiceCreateParams) SetTimeout(timeout time.Duration)
- func (o *BillingAccountServiceCreateParams) WithBody(body *models.BillingAccountServiceCreateBody) *BillingAccountServiceCreateParams
- func (o *BillingAccountServiceCreateParams) WithContext(ctx context.Context) *BillingAccountServiceCreateParams
- func (o *BillingAccountServiceCreateParams) WithDefaults() *BillingAccountServiceCreateParams
- func (o *BillingAccountServiceCreateParams) WithHTTPClient(client *http.Client) *BillingAccountServiceCreateParams
- func (o *BillingAccountServiceCreateParams) WithOrganizationID(organizationID string) *BillingAccountServiceCreateParams
- func (o *BillingAccountServiceCreateParams) WithTimeout(timeout time.Duration) *BillingAccountServiceCreateParams
- func (o *BillingAccountServiceCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BillingAccountServiceCreateReader
- type BillingAccountServiceCreateSetupIntentDefault
- func (o *BillingAccountServiceCreateSetupIntentDefault) Code() int
- func (o *BillingAccountServiceCreateSetupIntentDefault) Error() string
- func (o *BillingAccountServiceCreateSetupIntentDefault) GetPayload() *models.GooglerpcStatus
- func (o *BillingAccountServiceCreateSetupIntentDefault) IsClientError() bool
- func (o *BillingAccountServiceCreateSetupIntentDefault) IsCode(code int) bool
- func (o *BillingAccountServiceCreateSetupIntentDefault) IsRedirect() bool
- func (o *BillingAccountServiceCreateSetupIntentDefault) IsServerError() bool
- func (o *BillingAccountServiceCreateSetupIntentDefault) IsSuccess() bool
- func (o *BillingAccountServiceCreateSetupIntentDefault) String() string
- type BillingAccountServiceCreateSetupIntentOK
- func (o *BillingAccountServiceCreateSetupIntentOK) Code() int
- func (o *BillingAccountServiceCreateSetupIntentOK) Error() string
- func (o *BillingAccountServiceCreateSetupIntentOK) GetPayload() *models.Billing20201105CreateSetupIntentResponse
- func (o *BillingAccountServiceCreateSetupIntentOK) IsClientError() bool
- func (o *BillingAccountServiceCreateSetupIntentOK) IsCode(code int) bool
- func (o *BillingAccountServiceCreateSetupIntentOK) IsRedirect() bool
- func (o *BillingAccountServiceCreateSetupIntentOK) IsServerError() bool
- func (o *BillingAccountServiceCreateSetupIntentOK) IsSuccess() bool
- func (o *BillingAccountServiceCreateSetupIntentOK) String() string
- type BillingAccountServiceCreateSetupIntentParams
- func NewBillingAccountServiceCreateSetupIntentParams() *BillingAccountServiceCreateSetupIntentParams
- func NewBillingAccountServiceCreateSetupIntentParamsWithContext(ctx context.Context) *BillingAccountServiceCreateSetupIntentParams
- func NewBillingAccountServiceCreateSetupIntentParamsWithHTTPClient(client *http.Client) *BillingAccountServiceCreateSetupIntentParams
- func NewBillingAccountServiceCreateSetupIntentParamsWithTimeout(timeout time.Duration) *BillingAccountServiceCreateSetupIntentParams
- func (o *BillingAccountServiceCreateSetupIntentParams) SetContext(ctx context.Context)
- func (o *BillingAccountServiceCreateSetupIntentParams) SetDefaults()
- func (o *BillingAccountServiceCreateSetupIntentParams) SetHTTPClient(client *http.Client)
- func (o *BillingAccountServiceCreateSetupIntentParams) SetOrganizationID(organizationID string)
- func (o *BillingAccountServiceCreateSetupIntentParams) SetTimeout(timeout time.Duration)
- func (o *BillingAccountServiceCreateSetupIntentParams) WithContext(ctx context.Context) *BillingAccountServiceCreateSetupIntentParams
- func (o *BillingAccountServiceCreateSetupIntentParams) WithDefaults() *BillingAccountServiceCreateSetupIntentParams
- func (o *BillingAccountServiceCreateSetupIntentParams) WithHTTPClient(client *http.Client) *BillingAccountServiceCreateSetupIntentParams
- func (o *BillingAccountServiceCreateSetupIntentParams) WithOrganizationID(organizationID string) *BillingAccountServiceCreateSetupIntentParams
- func (o *BillingAccountServiceCreateSetupIntentParams) WithTimeout(timeout time.Duration) *BillingAccountServiceCreateSetupIntentParams
- func (o *BillingAccountServiceCreateSetupIntentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BillingAccountServiceCreateSetupIntentReader
- type BillingAccountServiceGetByProjectDefault
- func (o *BillingAccountServiceGetByProjectDefault) Code() int
- func (o *BillingAccountServiceGetByProjectDefault) Error() string
- func (o *BillingAccountServiceGetByProjectDefault) GetPayload() *models.GooglerpcStatus
- func (o *BillingAccountServiceGetByProjectDefault) IsClientError() bool
- func (o *BillingAccountServiceGetByProjectDefault) IsCode(code int) bool
- func (o *BillingAccountServiceGetByProjectDefault) IsRedirect() bool
- func (o *BillingAccountServiceGetByProjectDefault) IsServerError() bool
- func (o *BillingAccountServiceGetByProjectDefault) IsSuccess() bool
- func (o *BillingAccountServiceGetByProjectDefault) String() string
- type BillingAccountServiceGetByProjectOK
- func (o *BillingAccountServiceGetByProjectOK) Code() int
- func (o *BillingAccountServiceGetByProjectOK) Error() string
- func (o *BillingAccountServiceGetByProjectOK) GetPayload() *models.Billing20201105GetBillingAccountResponse
- func (o *BillingAccountServiceGetByProjectOK) IsClientError() bool
- func (o *BillingAccountServiceGetByProjectOK) IsCode(code int) bool
- func (o *BillingAccountServiceGetByProjectOK) IsRedirect() bool
- func (o *BillingAccountServiceGetByProjectOK) IsServerError() bool
- func (o *BillingAccountServiceGetByProjectOK) IsSuccess() bool
- func (o *BillingAccountServiceGetByProjectOK) String() string
- type BillingAccountServiceGetByProjectParams
- func NewBillingAccountServiceGetByProjectParams() *BillingAccountServiceGetByProjectParams
- func NewBillingAccountServiceGetByProjectParamsWithContext(ctx context.Context) *BillingAccountServiceGetByProjectParams
- func NewBillingAccountServiceGetByProjectParamsWithHTTPClient(client *http.Client) *BillingAccountServiceGetByProjectParams
- func NewBillingAccountServiceGetByProjectParamsWithTimeout(timeout time.Duration) *BillingAccountServiceGetByProjectParams
- func (o *BillingAccountServiceGetByProjectParams) SetContext(ctx context.Context)
- func (o *BillingAccountServiceGetByProjectParams) SetDefaults()
- func (o *BillingAccountServiceGetByProjectParams) SetHTTPClient(client *http.Client)
- func (o *BillingAccountServiceGetByProjectParams) SetOrganizationID(organizationID string)
- func (o *BillingAccountServiceGetByProjectParams) SetProjectID(projectID string)
- func (o *BillingAccountServiceGetByProjectParams) SetTimeout(timeout time.Duration)
- func (o *BillingAccountServiceGetByProjectParams) WithContext(ctx context.Context) *BillingAccountServiceGetByProjectParams
- func (o *BillingAccountServiceGetByProjectParams) WithDefaults() *BillingAccountServiceGetByProjectParams
- func (o *BillingAccountServiceGetByProjectParams) WithHTTPClient(client *http.Client) *BillingAccountServiceGetByProjectParams
- func (o *BillingAccountServiceGetByProjectParams) WithOrganizationID(organizationID string) *BillingAccountServiceGetByProjectParams
- func (o *BillingAccountServiceGetByProjectParams) WithProjectID(projectID string) *BillingAccountServiceGetByProjectParams
- func (o *BillingAccountServiceGetByProjectParams) WithTimeout(timeout time.Duration) *BillingAccountServiceGetByProjectParams
- func (o *BillingAccountServiceGetByProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BillingAccountServiceGetByProjectReader
- type BillingAccountServiceGetDefault
- func (o *BillingAccountServiceGetDefault) Code() int
- func (o *BillingAccountServiceGetDefault) Error() string
- func (o *BillingAccountServiceGetDefault) GetPayload() *models.GooglerpcStatus
- func (o *BillingAccountServiceGetDefault) IsClientError() bool
- func (o *BillingAccountServiceGetDefault) IsCode(code int) bool
- func (o *BillingAccountServiceGetDefault) IsRedirect() bool
- func (o *BillingAccountServiceGetDefault) IsServerError() bool
- func (o *BillingAccountServiceGetDefault) IsSuccess() bool
- func (o *BillingAccountServiceGetDefault) String() string
- type BillingAccountServiceGetOK
- func (o *BillingAccountServiceGetOK) Code() int
- func (o *BillingAccountServiceGetOK) Error() string
- func (o *BillingAccountServiceGetOK) GetPayload() *models.Billing20201105GetBillingAccountResponse
- func (o *BillingAccountServiceGetOK) IsClientError() bool
- func (o *BillingAccountServiceGetOK) IsCode(code int) bool
- func (o *BillingAccountServiceGetOK) IsRedirect() bool
- func (o *BillingAccountServiceGetOK) IsServerError() bool
- func (o *BillingAccountServiceGetOK) IsSuccess() bool
- func (o *BillingAccountServiceGetOK) String() string
- type BillingAccountServiceGetParams
- func NewBillingAccountServiceGetParams() *BillingAccountServiceGetParams
- func NewBillingAccountServiceGetParamsWithContext(ctx context.Context) *BillingAccountServiceGetParams
- func NewBillingAccountServiceGetParamsWithHTTPClient(client *http.Client) *BillingAccountServiceGetParams
- func NewBillingAccountServiceGetParamsWithTimeout(timeout time.Duration) *BillingAccountServiceGetParams
- func (o *BillingAccountServiceGetParams) SetContext(ctx context.Context)
- func (o *BillingAccountServiceGetParams) SetDefaults()
- func (o *BillingAccountServiceGetParams) SetHTTPClient(client *http.Client)
- func (o *BillingAccountServiceGetParams) SetID(id string)
- func (o *BillingAccountServiceGetParams) SetOrganizationID(organizationID string)
- func (o *BillingAccountServiceGetParams) SetTimeout(timeout time.Duration)
- func (o *BillingAccountServiceGetParams) WithContext(ctx context.Context) *BillingAccountServiceGetParams
- func (o *BillingAccountServiceGetParams) WithDefaults() *BillingAccountServiceGetParams
- func (o *BillingAccountServiceGetParams) WithHTTPClient(client *http.Client) *BillingAccountServiceGetParams
- func (o *BillingAccountServiceGetParams) WithID(id string) *BillingAccountServiceGetParams
- func (o *BillingAccountServiceGetParams) WithOrganizationID(organizationID string) *BillingAccountServiceGetParams
- func (o *BillingAccountServiceGetParams) WithTimeout(timeout time.Duration) *BillingAccountServiceGetParams
- func (o *BillingAccountServiceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BillingAccountServiceGetPricingModelTransitionsDefault
- func (o *BillingAccountServiceGetPricingModelTransitionsDefault) Code() int
- func (o *BillingAccountServiceGetPricingModelTransitionsDefault) Error() string
- func (o *BillingAccountServiceGetPricingModelTransitionsDefault) GetPayload() *models.GooglerpcStatus
- func (o *BillingAccountServiceGetPricingModelTransitionsDefault) IsClientError() bool
- func (o *BillingAccountServiceGetPricingModelTransitionsDefault) IsCode(code int) bool
- func (o *BillingAccountServiceGetPricingModelTransitionsDefault) IsRedirect() bool
- func (o *BillingAccountServiceGetPricingModelTransitionsDefault) IsServerError() bool
- func (o *BillingAccountServiceGetPricingModelTransitionsDefault) IsSuccess() bool
- func (o *BillingAccountServiceGetPricingModelTransitionsDefault) String() string
- type BillingAccountServiceGetPricingModelTransitionsOK
- func (o *BillingAccountServiceGetPricingModelTransitionsOK) Code() int
- func (o *BillingAccountServiceGetPricingModelTransitionsOK) Error() string
- func (o *BillingAccountServiceGetPricingModelTransitionsOK) GetPayload() *models.Billing20201105GetPricingModelTransitionsResponse
- func (o *BillingAccountServiceGetPricingModelTransitionsOK) IsClientError() bool
- func (o *BillingAccountServiceGetPricingModelTransitionsOK) IsCode(code int) bool
- func (o *BillingAccountServiceGetPricingModelTransitionsOK) IsRedirect() bool
- func (o *BillingAccountServiceGetPricingModelTransitionsOK) IsServerError() bool
- func (o *BillingAccountServiceGetPricingModelTransitionsOK) IsSuccess() bool
- func (o *BillingAccountServiceGetPricingModelTransitionsOK) String() string
- type BillingAccountServiceGetPricingModelTransitionsParams
- func NewBillingAccountServiceGetPricingModelTransitionsParams() *BillingAccountServiceGetPricingModelTransitionsParams
- func NewBillingAccountServiceGetPricingModelTransitionsParamsWithContext(ctx context.Context) *BillingAccountServiceGetPricingModelTransitionsParams
- func NewBillingAccountServiceGetPricingModelTransitionsParamsWithHTTPClient(client *http.Client) *BillingAccountServiceGetPricingModelTransitionsParams
- func NewBillingAccountServiceGetPricingModelTransitionsParamsWithTimeout(timeout time.Duration) *BillingAccountServiceGetPricingModelTransitionsParams
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetBillingAccountID(billingAccountID string)
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetContext(ctx context.Context)
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetDefaults()
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetEnd(end *strfmt.DateTime)
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetHTTPClient(client *http.Client)
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetOrganizationID(organizationID string)
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetStart(start *strfmt.DateTime)
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetTimeout(timeout time.Duration)
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithBillingAccountID(billingAccountID string) *BillingAccountServiceGetPricingModelTransitionsParams
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithContext(ctx context.Context) *BillingAccountServiceGetPricingModelTransitionsParams
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithDefaults() *BillingAccountServiceGetPricingModelTransitionsParams
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithEnd(end *strfmt.DateTime) *BillingAccountServiceGetPricingModelTransitionsParams
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithHTTPClient(client *http.Client) *BillingAccountServiceGetPricingModelTransitionsParams
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithOrganizationID(organizationID string) *BillingAccountServiceGetPricingModelTransitionsParams
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithStart(start *strfmt.DateTime) *BillingAccountServiceGetPricingModelTransitionsParams
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithTimeout(timeout time.Duration) *BillingAccountServiceGetPricingModelTransitionsParams
- func (o *BillingAccountServiceGetPricingModelTransitionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BillingAccountServiceGetPricingModelTransitionsReader
- type BillingAccountServiceGetReader
- type BillingAccountServiceRemoveOnDemandPaymentMethodDefault
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) Code() int
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) Error() string
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) GetPayload() *models.GooglerpcStatus
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsClientError() bool
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsCode(code int) bool
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsRedirect() bool
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsServerError() bool
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsSuccess() bool
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) String() string
- type BillingAccountServiceRemoveOnDemandPaymentMethodOK
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) Code() int
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) Error() string
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) GetPayload() *models.Billing20201105RemoveOnDemandPaymentMethodResponse
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsClientError() bool
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsCode(code int) bool
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsRedirect() bool
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsServerError() bool
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsSuccess() bool
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) String() string
- type BillingAccountServiceRemoveOnDemandPaymentMethodParams
- func NewBillingAccountServiceRemoveOnDemandPaymentMethodParams() *BillingAccountServiceRemoveOnDemandPaymentMethodParams
- func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithContext(ctx context.Context) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
- func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithHTTPClient(client *http.Client) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
- func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithTimeout(timeout time.Duration) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetBillingAccountID(billingAccountID string)
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetContext(ctx context.Context)
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetDefaults()
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetHTTPClient(client *http.Client)
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetOrganizationID(organizationID string)
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetTimeout(timeout time.Duration)
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithBillingAccountID(billingAccountID string) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithContext(ctx context.Context) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithDefaults() *BillingAccountServiceRemoveOnDemandPaymentMethodParams
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithHTTPClient(client *http.Client) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithOrganizationID(organizationID string) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithTimeout(timeout time.Duration) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BillingAccountServiceRemoveOnDemandPaymentMethodReader
- type BillingAccountServiceUpdateDefault
- func (o *BillingAccountServiceUpdateDefault) Code() int
- func (o *BillingAccountServiceUpdateDefault) Error() string
- func (o *BillingAccountServiceUpdateDefault) GetPayload() *models.GooglerpcStatus
- func (o *BillingAccountServiceUpdateDefault) IsClientError() bool
- func (o *BillingAccountServiceUpdateDefault) IsCode(code int) bool
- func (o *BillingAccountServiceUpdateDefault) IsRedirect() bool
- func (o *BillingAccountServiceUpdateDefault) IsServerError() bool
- func (o *BillingAccountServiceUpdateDefault) IsSuccess() bool
- func (o *BillingAccountServiceUpdateDefault) String() string
- type BillingAccountServiceUpdateOK
- func (o *BillingAccountServiceUpdateOK) Code() int
- func (o *BillingAccountServiceUpdateOK) Error() string
- func (o *BillingAccountServiceUpdateOK) GetPayload() *models.Billing20201105UpdateBillingAccountResponse
- func (o *BillingAccountServiceUpdateOK) IsClientError() bool
- func (o *BillingAccountServiceUpdateOK) IsCode(code int) bool
- func (o *BillingAccountServiceUpdateOK) IsRedirect() bool
- func (o *BillingAccountServiceUpdateOK) IsServerError() bool
- func (o *BillingAccountServiceUpdateOK) IsSuccess() bool
- func (o *BillingAccountServiceUpdateOK) String() string
- type BillingAccountServiceUpdateParams
- func NewBillingAccountServiceUpdateParams() *BillingAccountServiceUpdateParams
- func NewBillingAccountServiceUpdateParamsWithContext(ctx context.Context) *BillingAccountServiceUpdateParams
- func NewBillingAccountServiceUpdateParamsWithHTTPClient(client *http.Client) *BillingAccountServiceUpdateParams
- func NewBillingAccountServiceUpdateParamsWithTimeout(timeout time.Duration) *BillingAccountServiceUpdateParams
- func (o *BillingAccountServiceUpdateParams) SetBody(body *models.BillingAccountServiceUpdateBody)
- func (o *BillingAccountServiceUpdateParams) SetContext(ctx context.Context)
- func (o *BillingAccountServiceUpdateParams) SetDefaults()
- func (o *BillingAccountServiceUpdateParams) SetHTTPClient(client *http.Client)
- func (o *BillingAccountServiceUpdateParams) SetID(id string)
- func (o *BillingAccountServiceUpdateParams) SetOrganizationID(organizationID string)
- func (o *BillingAccountServiceUpdateParams) SetTimeout(timeout time.Duration)
- func (o *BillingAccountServiceUpdateParams) WithBody(body *models.BillingAccountServiceUpdateBody) *BillingAccountServiceUpdateParams
- func (o *BillingAccountServiceUpdateParams) WithContext(ctx context.Context) *BillingAccountServiceUpdateParams
- func (o *BillingAccountServiceUpdateParams) WithDefaults() *BillingAccountServiceUpdateParams
- func (o *BillingAccountServiceUpdateParams) WithHTTPClient(client *http.Client) *BillingAccountServiceUpdateParams
- func (o *BillingAccountServiceUpdateParams) WithID(id string) *BillingAccountServiceUpdateParams
- func (o *BillingAccountServiceUpdateParams) WithOrganizationID(organizationID string) *BillingAccountServiceUpdateParams
- func (o *BillingAccountServiceUpdateParams) WithTimeout(timeout time.Duration) *BillingAccountServiceUpdateParams
- func (o *BillingAccountServiceUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BillingAccountServiceUpdateReader
- type Client
- func (a *Client) BillingAccountServiceCreate(params *BillingAccountServiceCreateParams, ...) (*BillingAccountServiceCreateOK, error)
- func (a *Client) BillingAccountServiceCreateSetupIntent(params *BillingAccountServiceCreateSetupIntentParams, ...) (*BillingAccountServiceCreateSetupIntentOK, error)
- func (a *Client) BillingAccountServiceGet(params *BillingAccountServiceGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BillingAccountServiceGetOK, error)
- func (a *Client) BillingAccountServiceGetByProject(params *BillingAccountServiceGetByProjectParams, ...) (*BillingAccountServiceGetByProjectOK, error)
- func (a *Client) BillingAccountServiceGetPricingModelTransitions(params *BillingAccountServiceGetPricingModelTransitionsParams, ...) (*BillingAccountServiceGetPricingModelTransitionsOK, error)
- func (a *Client) BillingAccountServiceRemoveOnDemandPaymentMethod(params *BillingAccountServiceRemoveOnDemandPaymentMethodParams, ...) (*BillingAccountServiceRemoveOnDemandPaymentMethodOK, error)
- func (a *Client) BillingAccountServiceUpdate(params *BillingAccountServiceUpdateParams, ...) (*BillingAccountServiceUpdateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BillingAccountServiceCreateDefault ¶
type BillingAccountServiceCreateDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
BillingAccountServiceCreateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewBillingAccountServiceCreateDefault ¶
func NewBillingAccountServiceCreateDefault(code int) *BillingAccountServiceCreateDefault
NewBillingAccountServiceCreateDefault creates a BillingAccountServiceCreateDefault with default headers values
func (*BillingAccountServiceCreateDefault) Code ¶
func (o *BillingAccountServiceCreateDefault) Code() int
Code gets the status code for the billing account service create default response
func (*BillingAccountServiceCreateDefault) Error ¶
func (o *BillingAccountServiceCreateDefault) Error() string
func (*BillingAccountServiceCreateDefault) GetPayload ¶
func (o *BillingAccountServiceCreateDefault) GetPayload() *models.GooglerpcStatus
func (*BillingAccountServiceCreateDefault) IsClientError ¶
func (o *BillingAccountServiceCreateDefault) IsClientError() bool
IsClientError returns true when this billing account service create default response has a 4xx status code
func (*BillingAccountServiceCreateDefault) IsCode ¶
func (o *BillingAccountServiceCreateDefault) IsCode(code int) bool
IsCode returns true when this billing account service create default response a status code equal to that given
func (*BillingAccountServiceCreateDefault) IsRedirect ¶
func (o *BillingAccountServiceCreateDefault) IsRedirect() bool
IsRedirect returns true when this billing account service create default response has a 3xx status code
func (*BillingAccountServiceCreateDefault) IsServerError ¶
func (o *BillingAccountServiceCreateDefault) IsServerError() bool
IsServerError returns true when this billing account service create default response has a 5xx status code
func (*BillingAccountServiceCreateDefault) IsSuccess ¶
func (o *BillingAccountServiceCreateDefault) IsSuccess() bool
IsSuccess returns true when this billing account service create default response has a 2xx status code
func (*BillingAccountServiceCreateDefault) String ¶
func (o *BillingAccountServiceCreateDefault) String() string
type BillingAccountServiceCreateOK ¶
type BillingAccountServiceCreateOK struct {
Payload *models.Billing20201105CreateBillingAccountResponse
}
BillingAccountServiceCreateOK describes a response with status code 200, with default header values.
A successful response.
func NewBillingAccountServiceCreateOK ¶
func NewBillingAccountServiceCreateOK() *BillingAccountServiceCreateOK
NewBillingAccountServiceCreateOK creates a BillingAccountServiceCreateOK with default headers values
func (*BillingAccountServiceCreateOK) Code ¶ added in v0.97.0
func (o *BillingAccountServiceCreateOK) Code() int
Code gets the status code for the billing account service create o k response
func (*BillingAccountServiceCreateOK) Error ¶
func (o *BillingAccountServiceCreateOK) Error() string
func (*BillingAccountServiceCreateOK) GetPayload ¶
func (o *BillingAccountServiceCreateOK) GetPayload() *models.Billing20201105CreateBillingAccountResponse
func (*BillingAccountServiceCreateOK) IsClientError ¶
func (o *BillingAccountServiceCreateOK) IsClientError() bool
IsClientError returns true when this billing account service create o k response has a 4xx status code
func (*BillingAccountServiceCreateOK) IsCode ¶
func (o *BillingAccountServiceCreateOK) IsCode(code int) bool
IsCode returns true when this billing account service create o k response a status code equal to that given
func (*BillingAccountServiceCreateOK) IsRedirect ¶
func (o *BillingAccountServiceCreateOK) IsRedirect() bool
IsRedirect returns true when this billing account service create o k response has a 3xx status code
func (*BillingAccountServiceCreateOK) IsServerError ¶
func (o *BillingAccountServiceCreateOK) IsServerError() bool
IsServerError returns true when this billing account service create o k response has a 5xx status code
func (*BillingAccountServiceCreateOK) IsSuccess ¶
func (o *BillingAccountServiceCreateOK) IsSuccess() bool
IsSuccess returns true when this billing account service create o k response has a 2xx status code
func (*BillingAccountServiceCreateOK) String ¶
func (o *BillingAccountServiceCreateOK) String() string
type BillingAccountServiceCreateParams ¶
type BillingAccountServiceCreateParams struct { // Body. Body *models.BillingAccountServiceCreateBody /* OrganizationID. organization_id is the ID of the organization to which the Billing Account belongs. */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BillingAccountServiceCreateParams contains all the parameters to send to the API endpoint
for the billing account service create operation. Typically these are written to a http.Request.
func NewBillingAccountServiceCreateParams ¶
func NewBillingAccountServiceCreateParams() *BillingAccountServiceCreateParams
NewBillingAccountServiceCreateParams creates a new BillingAccountServiceCreateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBillingAccountServiceCreateParamsWithContext ¶
func NewBillingAccountServiceCreateParamsWithContext(ctx context.Context) *BillingAccountServiceCreateParams
NewBillingAccountServiceCreateParamsWithContext creates a new BillingAccountServiceCreateParams object with the ability to set a context for a request.
func NewBillingAccountServiceCreateParamsWithHTTPClient ¶
func NewBillingAccountServiceCreateParamsWithHTTPClient(client *http.Client) *BillingAccountServiceCreateParams
NewBillingAccountServiceCreateParamsWithHTTPClient creates a new BillingAccountServiceCreateParams object with the ability to set a custom HTTPClient for a request.
func NewBillingAccountServiceCreateParamsWithTimeout ¶
func NewBillingAccountServiceCreateParamsWithTimeout(timeout time.Duration) *BillingAccountServiceCreateParams
NewBillingAccountServiceCreateParamsWithTimeout creates a new BillingAccountServiceCreateParams object with the ability to set a timeout on a request.
func (*BillingAccountServiceCreateParams) SetBody ¶
func (o *BillingAccountServiceCreateParams) SetBody(body *models.BillingAccountServiceCreateBody)
SetBody adds the body to the billing account service create params
func (*BillingAccountServiceCreateParams) SetContext ¶
func (o *BillingAccountServiceCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the billing account service create params
func (*BillingAccountServiceCreateParams) SetDefaults ¶
func (o *BillingAccountServiceCreateParams) SetDefaults()
SetDefaults hydrates default values in the billing account service create params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceCreateParams) SetHTTPClient ¶
func (o *BillingAccountServiceCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the billing account service create params
func (*BillingAccountServiceCreateParams) SetOrganizationID ¶
func (o *BillingAccountServiceCreateParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the billing account service create params
func (*BillingAccountServiceCreateParams) SetTimeout ¶
func (o *BillingAccountServiceCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the billing account service create params
func (*BillingAccountServiceCreateParams) WithBody ¶
func (o *BillingAccountServiceCreateParams) WithBody(body *models.BillingAccountServiceCreateBody) *BillingAccountServiceCreateParams
WithBody adds the body to the billing account service create params
func (*BillingAccountServiceCreateParams) WithContext ¶
func (o *BillingAccountServiceCreateParams) WithContext(ctx context.Context) *BillingAccountServiceCreateParams
WithContext adds the context to the billing account service create params
func (*BillingAccountServiceCreateParams) WithDefaults ¶
func (o *BillingAccountServiceCreateParams) WithDefaults() *BillingAccountServiceCreateParams
WithDefaults hydrates default values in the billing account service create params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceCreateParams) WithHTTPClient ¶
func (o *BillingAccountServiceCreateParams) WithHTTPClient(client *http.Client) *BillingAccountServiceCreateParams
WithHTTPClient adds the HTTPClient to the billing account service create params
func (*BillingAccountServiceCreateParams) WithOrganizationID ¶
func (o *BillingAccountServiceCreateParams) WithOrganizationID(organizationID string) *BillingAccountServiceCreateParams
WithOrganizationID adds the organizationID to the billing account service create params
func (*BillingAccountServiceCreateParams) WithTimeout ¶
func (o *BillingAccountServiceCreateParams) WithTimeout(timeout time.Duration) *BillingAccountServiceCreateParams
WithTimeout adds the timeout to the billing account service create params
func (*BillingAccountServiceCreateParams) WriteToRequest ¶
func (o *BillingAccountServiceCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BillingAccountServiceCreateReader ¶
type BillingAccountServiceCreateReader struct {
// contains filtered or unexported fields
}
BillingAccountServiceCreateReader is a Reader for the BillingAccountServiceCreate structure.
func (*BillingAccountServiceCreateReader) ReadResponse ¶
func (o *BillingAccountServiceCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BillingAccountServiceCreateSetupIntentDefault ¶
type BillingAccountServiceCreateSetupIntentDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
BillingAccountServiceCreateSetupIntentDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewBillingAccountServiceCreateSetupIntentDefault ¶
func NewBillingAccountServiceCreateSetupIntentDefault(code int) *BillingAccountServiceCreateSetupIntentDefault
NewBillingAccountServiceCreateSetupIntentDefault creates a BillingAccountServiceCreateSetupIntentDefault with default headers values
func (*BillingAccountServiceCreateSetupIntentDefault) Code ¶
func (o *BillingAccountServiceCreateSetupIntentDefault) Code() int
Code gets the status code for the billing account service create setup intent default response
func (*BillingAccountServiceCreateSetupIntentDefault) Error ¶
func (o *BillingAccountServiceCreateSetupIntentDefault) Error() string
func (*BillingAccountServiceCreateSetupIntentDefault) GetPayload ¶
func (o *BillingAccountServiceCreateSetupIntentDefault) GetPayload() *models.GooglerpcStatus
func (*BillingAccountServiceCreateSetupIntentDefault) IsClientError ¶
func (o *BillingAccountServiceCreateSetupIntentDefault) IsClientError() bool
IsClientError returns true when this billing account service create setup intent default response has a 4xx status code
func (*BillingAccountServiceCreateSetupIntentDefault) IsCode ¶
func (o *BillingAccountServiceCreateSetupIntentDefault) IsCode(code int) bool
IsCode returns true when this billing account service create setup intent default response a status code equal to that given
func (*BillingAccountServiceCreateSetupIntentDefault) IsRedirect ¶
func (o *BillingAccountServiceCreateSetupIntentDefault) IsRedirect() bool
IsRedirect returns true when this billing account service create setup intent default response has a 3xx status code
func (*BillingAccountServiceCreateSetupIntentDefault) IsServerError ¶
func (o *BillingAccountServiceCreateSetupIntentDefault) IsServerError() bool
IsServerError returns true when this billing account service create setup intent default response has a 5xx status code
func (*BillingAccountServiceCreateSetupIntentDefault) IsSuccess ¶
func (o *BillingAccountServiceCreateSetupIntentDefault) IsSuccess() bool
IsSuccess returns true when this billing account service create setup intent default response has a 2xx status code
func (*BillingAccountServiceCreateSetupIntentDefault) String ¶
func (o *BillingAccountServiceCreateSetupIntentDefault) String() string
type BillingAccountServiceCreateSetupIntentOK ¶
type BillingAccountServiceCreateSetupIntentOK struct {
Payload *models.Billing20201105CreateSetupIntentResponse
}
BillingAccountServiceCreateSetupIntentOK describes a response with status code 200, with default header values.
A successful response.
func NewBillingAccountServiceCreateSetupIntentOK ¶
func NewBillingAccountServiceCreateSetupIntentOK() *BillingAccountServiceCreateSetupIntentOK
NewBillingAccountServiceCreateSetupIntentOK creates a BillingAccountServiceCreateSetupIntentOK with default headers values
func (*BillingAccountServiceCreateSetupIntentOK) Code ¶ added in v0.97.0
func (o *BillingAccountServiceCreateSetupIntentOK) Code() int
Code gets the status code for the billing account service create setup intent o k response
func (*BillingAccountServiceCreateSetupIntentOK) Error ¶
func (o *BillingAccountServiceCreateSetupIntentOK) Error() string
func (*BillingAccountServiceCreateSetupIntentOK) GetPayload ¶
func (o *BillingAccountServiceCreateSetupIntentOK) GetPayload() *models.Billing20201105CreateSetupIntentResponse
func (*BillingAccountServiceCreateSetupIntentOK) IsClientError ¶
func (o *BillingAccountServiceCreateSetupIntentOK) IsClientError() bool
IsClientError returns true when this billing account service create setup intent o k response has a 4xx status code
func (*BillingAccountServiceCreateSetupIntentOK) IsCode ¶
func (o *BillingAccountServiceCreateSetupIntentOK) IsCode(code int) bool
IsCode returns true when this billing account service create setup intent o k response a status code equal to that given
func (*BillingAccountServiceCreateSetupIntentOK) IsRedirect ¶
func (o *BillingAccountServiceCreateSetupIntentOK) IsRedirect() bool
IsRedirect returns true when this billing account service create setup intent o k response has a 3xx status code
func (*BillingAccountServiceCreateSetupIntentOK) IsServerError ¶
func (o *BillingAccountServiceCreateSetupIntentOK) IsServerError() bool
IsServerError returns true when this billing account service create setup intent o k response has a 5xx status code
func (*BillingAccountServiceCreateSetupIntentOK) IsSuccess ¶
func (o *BillingAccountServiceCreateSetupIntentOK) IsSuccess() bool
IsSuccess returns true when this billing account service create setup intent o k response has a 2xx status code
func (*BillingAccountServiceCreateSetupIntentOK) String ¶
func (o *BillingAccountServiceCreateSetupIntentOK) String() string
type BillingAccountServiceCreateSetupIntentParams ¶
type BillingAccountServiceCreateSetupIntentParams struct { /* OrganizationID. organization_id is the ID of the organization for which the client will collect payment details. */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BillingAccountServiceCreateSetupIntentParams contains all the parameters to send to the API endpoint
for the billing account service create setup intent operation. Typically these are written to a http.Request.
func NewBillingAccountServiceCreateSetupIntentParams ¶
func NewBillingAccountServiceCreateSetupIntentParams() *BillingAccountServiceCreateSetupIntentParams
NewBillingAccountServiceCreateSetupIntentParams creates a new BillingAccountServiceCreateSetupIntentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBillingAccountServiceCreateSetupIntentParamsWithContext ¶
func NewBillingAccountServiceCreateSetupIntentParamsWithContext(ctx context.Context) *BillingAccountServiceCreateSetupIntentParams
NewBillingAccountServiceCreateSetupIntentParamsWithContext creates a new BillingAccountServiceCreateSetupIntentParams object with the ability to set a context for a request.
func NewBillingAccountServiceCreateSetupIntentParamsWithHTTPClient ¶
func NewBillingAccountServiceCreateSetupIntentParamsWithHTTPClient(client *http.Client) *BillingAccountServiceCreateSetupIntentParams
NewBillingAccountServiceCreateSetupIntentParamsWithHTTPClient creates a new BillingAccountServiceCreateSetupIntentParams object with the ability to set a custom HTTPClient for a request.
func NewBillingAccountServiceCreateSetupIntentParamsWithTimeout ¶
func NewBillingAccountServiceCreateSetupIntentParamsWithTimeout(timeout time.Duration) *BillingAccountServiceCreateSetupIntentParams
NewBillingAccountServiceCreateSetupIntentParamsWithTimeout creates a new BillingAccountServiceCreateSetupIntentParams object with the ability to set a timeout on a request.
func (*BillingAccountServiceCreateSetupIntentParams) SetContext ¶
func (o *BillingAccountServiceCreateSetupIntentParams) SetContext(ctx context.Context)
SetContext adds the context to the billing account service create setup intent params
func (*BillingAccountServiceCreateSetupIntentParams) SetDefaults ¶
func (o *BillingAccountServiceCreateSetupIntentParams) SetDefaults()
SetDefaults hydrates default values in the billing account service create setup intent params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceCreateSetupIntentParams) SetHTTPClient ¶
func (o *BillingAccountServiceCreateSetupIntentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the billing account service create setup intent params
func (*BillingAccountServiceCreateSetupIntentParams) SetOrganizationID ¶
func (o *BillingAccountServiceCreateSetupIntentParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the billing account service create setup intent params
func (*BillingAccountServiceCreateSetupIntentParams) SetTimeout ¶
func (o *BillingAccountServiceCreateSetupIntentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the billing account service create setup intent params
func (*BillingAccountServiceCreateSetupIntentParams) WithContext ¶
func (o *BillingAccountServiceCreateSetupIntentParams) WithContext(ctx context.Context) *BillingAccountServiceCreateSetupIntentParams
WithContext adds the context to the billing account service create setup intent params
func (*BillingAccountServiceCreateSetupIntentParams) WithDefaults ¶
func (o *BillingAccountServiceCreateSetupIntentParams) WithDefaults() *BillingAccountServiceCreateSetupIntentParams
WithDefaults hydrates default values in the billing account service create setup intent params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceCreateSetupIntentParams) WithHTTPClient ¶
func (o *BillingAccountServiceCreateSetupIntentParams) WithHTTPClient(client *http.Client) *BillingAccountServiceCreateSetupIntentParams
WithHTTPClient adds the HTTPClient to the billing account service create setup intent params
func (*BillingAccountServiceCreateSetupIntentParams) WithOrganizationID ¶
func (o *BillingAccountServiceCreateSetupIntentParams) WithOrganizationID(organizationID string) *BillingAccountServiceCreateSetupIntentParams
WithOrganizationID adds the organizationID to the billing account service create setup intent params
func (*BillingAccountServiceCreateSetupIntentParams) WithTimeout ¶
func (o *BillingAccountServiceCreateSetupIntentParams) WithTimeout(timeout time.Duration) *BillingAccountServiceCreateSetupIntentParams
WithTimeout adds the timeout to the billing account service create setup intent params
func (*BillingAccountServiceCreateSetupIntentParams) WriteToRequest ¶
func (o *BillingAccountServiceCreateSetupIntentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BillingAccountServiceCreateSetupIntentReader ¶
type BillingAccountServiceCreateSetupIntentReader struct {
// contains filtered or unexported fields
}
BillingAccountServiceCreateSetupIntentReader is a Reader for the BillingAccountServiceCreateSetupIntent structure.
func (*BillingAccountServiceCreateSetupIntentReader) ReadResponse ¶
func (o *BillingAccountServiceCreateSetupIntentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BillingAccountServiceGetByProjectDefault ¶
type BillingAccountServiceGetByProjectDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
BillingAccountServiceGetByProjectDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewBillingAccountServiceGetByProjectDefault ¶
func NewBillingAccountServiceGetByProjectDefault(code int) *BillingAccountServiceGetByProjectDefault
NewBillingAccountServiceGetByProjectDefault creates a BillingAccountServiceGetByProjectDefault with default headers values
func (*BillingAccountServiceGetByProjectDefault) Code ¶
func (o *BillingAccountServiceGetByProjectDefault) Code() int
Code gets the status code for the billing account service get by project default response
func (*BillingAccountServiceGetByProjectDefault) Error ¶
func (o *BillingAccountServiceGetByProjectDefault) Error() string
func (*BillingAccountServiceGetByProjectDefault) GetPayload ¶
func (o *BillingAccountServiceGetByProjectDefault) GetPayload() *models.GooglerpcStatus
func (*BillingAccountServiceGetByProjectDefault) IsClientError ¶
func (o *BillingAccountServiceGetByProjectDefault) IsClientError() bool
IsClientError returns true when this billing account service get by project default response has a 4xx status code
func (*BillingAccountServiceGetByProjectDefault) IsCode ¶
func (o *BillingAccountServiceGetByProjectDefault) IsCode(code int) bool
IsCode returns true when this billing account service get by project default response a status code equal to that given
func (*BillingAccountServiceGetByProjectDefault) IsRedirect ¶
func (o *BillingAccountServiceGetByProjectDefault) IsRedirect() bool
IsRedirect returns true when this billing account service get by project default response has a 3xx status code
func (*BillingAccountServiceGetByProjectDefault) IsServerError ¶
func (o *BillingAccountServiceGetByProjectDefault) IsServerError() bool
IsServerError returns true when this billing account service get by project default response has a 5xx status code
func (*BillingAccountServiceGetByProjectDefault) IsSuccess ¶
func (o *BillingAccountServiceGetByProjectDefault) IsSuccess() bool
IsSuccess returns true when this billing account service get by project default response has a 2xx status code
func (*BillingAccountServiceGetByProjectDefault) String ¶
func (o *BillingAccountServiceGetByProjectDefault) String() string
type BillingAccountServiceGetByProjectOK ¶
type BillingAccountServiceGetByProjectOK struct {
Payload *models.Billing20201105GetBillingAccountResponse
}
BillingAccountServiceGetByProjectOK describes a response with status code 200, with default header values.
A successful response.
func NewBillingAccountServiceGetByProjectOK ¶
func NewBillingAccountServiceGetByProjectOK() *BillingAccountServiceGetByProjectOK
NewBillingAccountServiceGetByProjectOK creates a BillingAccountServiceGetByProjectOK with default headers values
func (*BillingAccountServiceGetByProjectOK) Code ¶ added in v0.97.0
func (o *BillingAccountServiceGetByProjectOK) Code() int
Code gets the status code for the billing account service get by project o k response
func (*BillingAccountServiceGetByProjectOK) Error ¶
func (o *BillingAccountServiceGetByProjectOK) Error() string
func (*BillingAccountServiceGetByProjectOK) GetPayload ¶
func (o *BillingAccountServiceGetByProjectOK) GetPayload() *models.Billing20201105GetBillingAccountResponse
func (*BillingAccountServiceGetByProjectOK) IsClientError ¶
func (o *BillingAccountServiceGetByProjectOK) IsClientError() bool
IsClientError returns true when this billing account service get by project o k response has a 4xx status code
func (*BillingAccountServiceGetByProjectOK) IsCode ¶
func (o *BillingAccountServiceGetByProjectOK) IsCode(code int) bool
IsCode returns true when this billing account service get by project o k response a status code equal to that given
func (*BillingAccountServiceGetByProjectOK) IsRedirect ¶
func (o *BillingAccountServiceGetByProjectOK) IsRedirect() bool
IsRedirect returns true when this billing account service get by project o k response has a 3xx status code
func (*BillingAccountServiceGetByProjectOK) IsServerError ¶
func (o *BillingAccountServiceGetByProjectOK) IsServerError() bool
IsServerError returns true when this billing account service get by project o k response has a 5xx status code
func (*BillingAccountServiceGetByProjectOK) IsSuccess ¶
func (o *BillingAccountServiceGetByProjectOK) IsSuccess() bool
IsSuccess returns true when this billing account service get by project o k response has a 2xx status code
func (*BillingAccountServiceGetByProjectOK) String ¶
func (o *BillingAccountServiceGetByProjectOK) String() string
type BillingAccountServiceGetByProjectParams ¶
type BillingAccountServiceGetByProjectParams struct { /* OrganizationID. organization_id is the ID of the organization to which the project belongs. */ OrganizationID string /* ProjectID. project_id is the project ID for which the Billing Account is being retrieved. */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BillingAccountServiceGetByProjectParams contains all the parameters to send to the API endpoint
for the billing account service get by project operation. Typically these are written to a http.Request.
func NewBillingAccountServiceGetByProjectParams ¶
func NewBillingAccountServiceGetByProjectParams() *BillingAccountServiceGetByProjectParams
NewBillingAccountServiceGetByProjectParams creates a new BillingAccountServiceGetByProjectParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBillingAccountServiceGetByProjectParamsWithContext ¶
func NewBillingAccountServiceGetByProjectParamsWithContext(ctx context.Context) *BillingAccountServiceGetByProjectParams
NewBillingAccountServiceGetByProjectParamsWithContext creates a new BillingAccountServiceGetByProjectParams object with the ability to set a context for a request.
func NewBillingAccountServiceGetByProjectParamsWithHTTPClient ¶
func NewBillingAccountServiceGetByProjectParamsWithHTTPClient(client *http.Client) *BillingAccountServiceGetByProjectParams
NewBillingAccountServiceGetByProjectParamsWithHTTPClient creates a new BillingAccountServiceGetByProjectParams object with the ability to set a custom HTTPClient for a request.
func NewBillingAccountServiceGetByProjectParamsWithTimeout ¶
func NewBillingAccountServiceGetByProjectParamsWithTimeout(timeout time.Duration) *BillingAccountServiceGetByProjectParams
NewBillingAccountServiceGetByProjectParamsWithTimeout creates a new BillingAccountServiceGetByProjectParams object with the ability to set a timeout on a request.
func (*BillingAccountServiceGetByProjectParams) SetContext ¶
func (o *BillingAccountServiceGetByProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the billing account service get by project params
func (*BillingAccountServiceGetByProjectParams) SetDefaults ¶
func (o *BillingAccountServiceGetByProjectParams) SetDefaults()
SetDefaults hydrates default values in the billing account service get by project params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceGetByProjectParams) SetHTTPClient ¶
func (o *BillingAccountServiceGetByProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the billing account service get by project params
func (*BillingAccountServiceGetByProjectParams) SetOrganizationID ¶
func (o *BillingAccountServiceGetByProjectParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the billing account service get by project params
func (*BillingAccountServiceGetByProjectParams) SetProjectID ¶
func (o *BillingAccountServiceGetByProjectParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the billing account service get by project params
func (*BillingAccountServiceGetByProjectParams) SetTimeout ¶
func (o *BillingAccountServiceGetByProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the billing account service get by project params
func (*BillingAccountServiceGetByProjectParams) WithContext ¶
func (o *BillingAccountServiceGetByProjectParams) WithContext(ctx context.Context) *BillingAccountServiceGetByProjectParams
WithContext adds the context to the billing account service get by project params
func (*BillingAccountServiceGetByProjectParams) WithDefaults ¶
func (o *BillingAccountServiceGetByProjectParams) WithDefaults() *BillingAccountServiceGetByProjectParams
WithDefaults hydrates default values in the billing account service get by project params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceGetByProjectParams) WithHTTPClient ¶
func (o *BillingAccountServiceGetByProjectParams) WithHTTPClient(client *http.Client) *BillingAccountServiceGetByProjectParams
WithHTTPClient adds the HTTPClient to the billing account service get by project params
func (*BillingAccountServiceGetByProjectParams) WithOrganizationID ¶
func (o *BillingAccountServiceGetByProjectParams) WithOrganizationID(organizationID string) *BillingAccountServiceGetByProjectParams
WithOrganizationID adds the organizationID to the billing account service get by project params
func (*BillingAccountServiceGetByProjectParams) WithProjectID ¶
func (o *BillingAccountServiceGetByProjectParams) WithProjectID(projectID string) *BillingAccountServiceGetByProjectParams
WithProjectID adds the projectID to the billing account service get by project params
func (*BillingAccountServiceGetByProjectParams) WithTimeout ¶
func (o *BillingAccountServiceGetByProjectParams) WithTimeout(timeout time.Duration) *BillingAccountServiceGetByProjectParams
WithTimeout adds the timeout to the billing account service get by project params
func (*BillingAccountServiceGetByProjectParams) WriteToRequest ¶
func (o *BillingAccountServiceGetByProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BillingAccountServiceGetByProjectReader ¶
type BillingAccountServiceGetByProjectReader struct {
// contains filtered or unexported fields
}
BillingAccountServiceGetByProjectReader is a Reader for the BillingAccountServiceGetByProject structure.
func (*BillingAccountServiceGetByProjectReader) ReadResponse ¶
func (o *BillingAccountServiceGetByProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BillingAccountServiceGetDefault ¶
type BillingAccountServiceGetDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
BillingAccountServiceGetDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewBillingAccountServiceGetDefault ¶
func NewBillingAccountServiceGetDefault(code int) *BillingAccountServiceGetDefault
NewBillingAccountServiceGetDefault creates a BillingAccountServiceGetDefault with default headers values
func (*BillingAccountServiceGetDefault) Code ¶
func (o *BillingAccountServiceGetDefault) Code() int
Code gets the status code for the billing account service get default response
func (*BillingAccountServiceGetDefault) Error ¶
func (o *BillingAccountServiceGetDefault) Error() string
func (*BillingAccountServiceGetDefault) GetPayload ¶
func (o *BillingAccountServiceGetDefault) GetPayload() *models.GooglerpcStatus
func (*BillingAccountServiceGetDefault) IsClientError ¶
func (o *BillingAccountServiceGetDefault) IsClientError() bool
IsClientError returns true when this billing account service get default response has a 4xx status code
func (*BillingAccountServiceGetDefault) IsCode ¶
func (o *BillingAccountServiceGetDefault) IsCode(code int) bool
IsCode returns true when this billing account service get default response a status code equal to that given
func (*BillingAccountServiceGetDefault) IsRedirect ¶
func (o *BillingAccountServiceGetDefault) IsRedirect() bool
IsRedirect returns true when this billing account service get default response has a 3xx status code
func (*BillingAccountServiceGetDefault) IsServerError ¶
func (o *BillingAccountServiceGetDefault) IsServerError() bool
IsServerError returns true when this billing account service get default response has a 5xx status code
func (*BillingAccountServiceGetDefault) IsSuccess ¶
func (o *BillingAccountServiceGetDefault) IsSuccess() bool
IsSuccess returns true when this billing account service get default response has a 2xx status code
func (*BillingAccountServiceGetDefault) String ¶
func (o *BillingAccountServiceGetDefault) String() string
type BillingAccountServiceGetOK ¶
type BillingAccountServiceGetOK struct {
Payload *models.Billing20201105GetBillingAccountResponse
}
BillingAccountServiceGetOK describes a response with status code 200, with default header values.
A successful response.
func NewBillingAccountServiceGetOK ¶
func NewBillingAccountServiceGetOK() *BillingAccountServiceGetOK
NewBillingAccountServiceGetOK creates a BillingAccountServiceGetOK with default headers values
func (*BillingAccountServiceGetOK) Code ¶ added in v0.97.0
func (o *BillingAccountServiceGetOK) Code() int
Code gets the status code for the billing account service get o k response
func (*BillingAccountServiceGetOK) Error ¶
func (o *BillingAccountServiceGetOK) Error() string
func (*BillingAccountServiceGetOK) GetPayload ¶
func (o *BillingAccountServiceGetOK) GetPayload() *models.Billing20201105GetBillingAccountResponse
func (*BillingAccountServiceGetOK) IsClientError ¶
func (o *BillingAccountServiceGetOK) IsClientError() bool
IsClientError returns true when this billing account service get o k response has a 4xx status code
func (*BillingAccountServiceGetOK) IsCode ¶
func (o *BillingAccountServiceGetOK) IsCode(code int) bool
IsCode returns true when this billing account service get o k response a status code equal to that given
func (*BillingAccountServiceGetOK) IsRedirect ¶
func (o *BillingAccountServiceGetOK) IsRedirect() bool
IsRedirect returns true when this billing account service get o k response has a 3xx status code
func (*BillingAccountServiceGetOK) IsServerError ¶
func (o *BillingAccountServiceGetOK) IsServerError() bool
IsServerError returns true when this billing account service get o k response has a 5xx status code
func (*BillingAccountServiceGetOK) IsSuccess ¶
func (o *BillingAccountServiceGetOK) IsSuccess() bool
IsSuccess returns true when this billing account service get o k response has a 2xx status code
func (*BillingAccountServiceGetOK) String ¶
func (o *BillingAccountServiceGetOK) String() string
type BillingAccountServiceGetParams ¶
type BillingAccountServiceGetParams struct { /* ID. id is the user-settable ID that uniquely identifies the Billing Account within the organization. */ ID string /* OrganizationID. organization_id is the ID of the organization to which the Billing Account belongs. */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BillingAccountServiceGetParams contains all the parameters to send to the API endpoint
for the billing account service get operation. Typically these are written to a http.Request.
func NewBillingAccountServiceGetParams ¶
func NewBillingAccountServiceGetParams() *BillingAccountServiceGetParams
NewBillingAccountServiceGetParams creates a new BillingAccountServiceGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBillingAccountServiceGetParamsWithContext ¶
func NewBillingAccountServiceGetParamsWithContext(ctx context.Context) *BillingAccountServiceGetParams
NewBillingAccountServiceGetParamsWithContext creates a new BillingAccountServiceGetParams object with the ability to set a context for a request.
func NewBillingAccountServiceGetParamsWithHTTPClient ¶
func NewBillingAccountServiceGetParamsWithHTTPClient(client *http.Client) *BillingAccountServiceGetParams
NewBillingAccountServiceGetParamsWithHTTPClient creates a new BillingAccountServiceGetParams object with the ability to set a custom HTTPClient for a request.
func NewBillingAccountServiceGetParamsWithTimeout ¶
func NewBillingAccountServiceGetParamsWithTimeout(timeout time.Duration) *BillingAccountServiceGetParams
NewBillingAccountServiceGetParamsWithTimeout creates a new BillingAccountServiceGetParams object with the ability to set a timeout on a request.
func (*BillingAccountServiceGetParams) SetContext ¶
func (o *BillingAccountServiceGetParams) SetContext(ctx context.Context)
SetContext adds the context to the billing account service get params
func (*BillingAccountServiceGetParams) SetDefaults ¶
func (o *BillingAccountServiceGetParams) SetDefaults()
SetDefaults hydrates default values in the billing account service get params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceGetParams) SetHTTPClient ¶
func (o *BillingAccountServiceGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the billing account service get params
func (*BillingAccountServiceGetParams) SetID ¶
func (o *BillingAccountServiceGetParams) SetID(id string)
SetID adds the id to the billing account service get params
func (*BillingAccountServiceGetParams) SetOrganizationID ¶
func (o *BillingAccountServiceGetParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the billing account service get params
func (*BillingAccountServiceGetParams) SetTimeout ¶
func (o *BillingAccountServiceGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the billing account service get params
func (*BillingAccountServiceGetParams) WithContext ¶
func (o *BillingAccountServiceGetParams) WithContext(ctx context.Context) *BillingAccountServiceGetParams
WithContext adds the context to the billing account service get params
func (*BillingAccountServiceGetParams) WithDefaults ¶
func (o *BillingAccountServiceGetParams) WithDefaults() *BillingAccountServiceGetParams
WithDefaults hydrates default values in the billing account service get params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceGetParams) WithHTTPClient ¶
func (o *BillingAccountServiceGetParams) WithHTTPClient(client *http.Client) *BillingAccountServiceGetParams
WithHTTPClient adds the HTTPClient to the billing account service get params
func (*BillingAccountServiceGetParams) WithID ¶
func (o *BillingAccountServiceGetParams) WithID(id string) *BillingAccountServiceGetParams
WithID adds the id to the billing account service get params
func (*BillingAccountServiceGetParams) WithOrganizationID ¶
func (o *BillingAccountServiceGetParams) WithOrganizationID(organizationID string) *BillingAccountServiceGetParams
WithOrganizationID adds the organizationID to the billing account service get params
func (*BillingAccountServiceGetParams) WithTimeout ¶
func (o *BillingAccountServiceGetParams) WithTimeout(timeout time.Duration) *BillingAccountServiceGetParams
WithTimeout adds the timeout to the billing account service get params
func (*BillingAccountServiceGetParams) WriteToRequest ¶
func (o *BillingAccountServiceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BillingAccountServiceGetPricingModelTransitionsDefault ¶ added in v0.97.0
type BillingAccountServiceGetPricingModelTransitionsDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
BillingAccountServiceGetPricingModelTransitionsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewBillingAccountServiceGetPricingModelTransitionsDefault ¶ added in v0.97.0
func NewBillingAccountServiceGetPricingModelTransitionsDefault(code int) *BillingAccountServiceGetPricingModelTransitionsDefault
NewBillingAccountServiceGetPricingModelTransitionsDefault creates a BillingAccountServiceGetPricingModelTransitionsDefault with default headers values
func (*BillingAccountServiceGetPricingModelTransitionsDefault) Code ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsDefault) Code() int
Code gets the status code for the billing account service get pricing model transitions default response
func (*BillingAccountServiceGetPricingModelTransitionsDefault) Error ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsDefault) Error() string
func (*BillingAccountServiceGetPricingModelTransitionsDefault) GetPayload ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsDefault) GetPayload() *models.GooglerpcStatus
func (*BillingAccountServiceGetPricingModelTransitionsDefault) IsClientError ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsDefault) IsClientError() bool
IsClientError returns true when this billing account service get pricing model transitions default response has a 4xx status code
func (*BillingAccountServiceGetPricingModelTransitionsDefault) IsCode ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsDefault) IsCode(code int) bool
IsCode returns true when this billing account service get pricing model transitions default response a status code equal to that given
func (*BillingAccountServiceGetPricingModelTransitionsDefault) IsRedirect ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsDefault) IsRedirect() bool
IsRedirect returns true when this billing account service get pricing model transitions default response has a 3xx status code
func (*BillingAccountServiceGetPricingModelTransitionsDefault) IsServerError ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsDefault) IsServerError() bool
IsServerError returns true when this billing account service get pricing model transitions default response has a 5xx status code
func (*BillingAccountServiceGetPricingModelTransitionsDefault) IsSuccess ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsDefault) IsSuccess() bool
IsSuccess returns true when this billing account service get pricing model transitions default response has a 2xx status code
func (*BillingAccountServiceGetPricingModelTransitionsDefault) String ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsDefault) String() string
type BillingAccountServiceGetPricingModelTransitionsOK ¶ added in v0.97.0
type BillingAccountServiceGetPricingModelTransitionsOK struct {
Payload *models.Billing20201105GetPricingModelTransitionsResponse
}
BillingAccountServiceGetPricingModelTransitionsOK describes a response with status code 200, with default header values.
A successful response.
func NewBillingAccountServiceGetPricingModelTransitionsOK ¶ added in v0.97.0
func NewBillingAccountServiceGetPricingModelTransitionsOK() *BillingAccountServiceGetPricingModelTransitionsOK
NewBillingAccountServiceGetPricingModelTransitionsOK creates a BillingAccountServiceGetPricingModelTransitionsOK with default headers values
func (*BillingAccountServiceGetPricingModelTransitionsOK) Code ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsOK) Code() int
Code gets the status code for the billing account service get pricing model transitions o k response
func (*BillingAccountServiceGetPricingModelTransitionsOK) Error ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsOK) Error() string
func (*BillingAccountServiceGetPricingModelTransitionsOK) GetPayload ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsOK) GetPayload() *models.Billing20201105GetPricingModelTransitionsResponse
func (*BillingAccountServiceGetPricingModelTransitionsOK) IsClientError ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsOK) IsClientError() bool
IsClientError returns true when this billing account service get pricing model transitions o k response has a 4xx status code
func (*BillingAccountServiceGetPricingModelTransitionsOK) IsCode ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsOK) IsCode(code int) bool
IsCode returns true when this billing account service get pricing model transitions o k response a status code equal to that given
func (*BillingAccountServiceGetPricingModelTransitionsOK) IsRedirect ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsOK) IsRedirect() bool
IsRedirect returns true when this billing account service get pricing model transitions o k response has a 3xx status code
func (*BillingAccountServiceGetPricingModelTransitionsOK) IsServerError ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsOK) IsServerError() bool
IsServerError returns true when this billing account service get pricing model transitions o k response has a 5xx status code
func (*BillingAccountServiceGetPricingModelTransitionsOK) IsSuccess ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsOK) IsSuccess() bool
IsSuccess returns true when this billing account service get pricing model transitions o k response has a 2xx status code
func (*BillingAccountServiceGetPricingModelTransitionsOK) String ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsOK) String() string
type BillingAccountServiceGetPricingModelTransitionsParams ¶ added in v0.97.0
type BillingAccountServiceGetPricingModelTransitionsParams struct { /* BillingAccountID. billing_account_id is the public ID of the billing account. */ BillingAccountID string /* End. end is the exclusive upper bound timestamp for which to get pricing model transitions. Format: date-time */ End *strfmt.DateTime /* OrganizationID. organization_id is the ID of the organization to which the billing account belongs. */ OrganizationID string /* Start. start is the inclusive lower bound timestamp for which to get pricing model transitions. Format: date-time */ Start *strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BillingAccountServiceGetPricingModelTransitionsParams contains all the parameters to send to the API endpoint
for the billing account service get pricing model transitions operation. Typically these are written to a http.Request.
func NewBillingAccountServiceGetPricingModelTransitionsParams ¶ added in v0.97.0
func NewBillingAccountServiceGetPricingModelTransitionsParams() *BillingAccountServiceGetPricingModelTransitionsParams
NewBillingAccountServiceGetPricingModelTransitionsParams creates a new BillingAccountServiceGetPricingModelTransitionsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBillingAccountServiceGetPricingModelTransitionsParamsWithContext ¶ added in v0.97.0
func NewBillingAccountServiceGetPricingModelTransitionsParamsWithContext(ctx context.Context) *BillingAccountServiceGetPricingModelTransitionsParams
NewBillingAccountServiceGetPricingModelTransitionsParamsWithContext creates a new BillingAccountServiceGetPricingModelTransitionsParams object with the ability to set a context for a request.
func NewBillingAccountServiceGetPricingModelTransitionsParamsWithHTTPClient ¶ added in v0.97.0
func NewBillingAccountServiceGetPricingModelTransitionsParamsWithHTTPClient(client *http.Client) *BillingAccountServiceGetPricingModelTransitionsParams
NewBillingAccountServiceGetPricingModelTransitionsParamsWithHTTPClient creates a new BillingAccountServiceGetPricingModelTransitionsParams object with the ability to set a custom HTTPClient for a request.
func NewBillingAccountServiceGetPricingModelTransitionsParamsWithTimeout ¶ added in v0.97.0
func NewBillingAccountServiceGetPricingModelTransitionsParamsWithTimeout(timeout time.Duration) *BillingAccountServiceGetPricingModelTransitionsParams
NewBillingAccountServiceGetPricingModelTransitionsParamsWithTimeout creates a new BillingAccountServiceGetPricingModelTransitionsParams object with the ability to set a timeout on a request.
func (*BillingAccountServiceGetPricingModelTransitionsParams) SetBillingAccountID ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetBillingAccountID(billingAccountID string)
SetBillingAccountID adds the billingAccountId to the billing account service get pricing model transitions params
func (*BillingAccountServiceGetPricingModelTransitionsParams) SetContext ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetContext(ctx context.Context)
SetContext adds the context to the billing account service get pricing model transitions params
func (*BillingAccountServiceGetPricingModelTransitionsParams) SetDefaults ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetDefaults()
SetDefaults hydrates default values in the billing account service get pricing model transitions params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceGetPricingModelTransitionsParams) SetEnd ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetEnd(end *strfmt.DateTime)
SetEnd adds the end to the billing account service get pricing model transitions params
func (*BillingAccountServiceGetPricingModelTransitionsParams) SetHTTPClient ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the billing account service get pricing model transitions params
func (*BillingAccountServiceGetPricingModelTransitionsParams) SetOrganizationID ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the billing account service get pricing model transitions params
func (*BillingAccountServiceGetPricingModelTransitionsParams) SetStart ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetStart(start *strfmt.DateTime)
SetStart adds the start to the billing account service get pricing model transitions params
func (*BillingAccountServiceGetPricingModelTransitionsParams) SetTimeout ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the billing account service get pricing model transitions params
func (*BillingAccountServiceGetPricingModelTransitionsParams) WithBillingAccountID ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithBillingAccountID(billingAccountID string) *BillingAccountServiceGetPricingModelTransitionsParams
WithBillingAccountID adds the billingAccountID to the billing account service get pricing model transitions params
func (*BillingAccountServiceGetPricingModelTransitionsParams) WithContext ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithContext(ctx context.Context) *BillingAccountServiceGetPricingModelTransitionsParams
WithContext adds the context to the billing account service get pricing model transitions params
func (*BillingAccountServiceGetPricingModelTransitionsParams) WithDefaults ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithDefaults() *BillingAccountServiceGetPricingModelTransitionsParams
WithDefaults hydrates default values in the billing account service get pricing model transitions params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceGetPricingModelTransitionsParams) WithEnd ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithEnd(end *strfmt.DateTime) *BillingAccountServiceGetPricingModelTransitionsParams
WithEnd adds the end to the billing account service get pricing model transitions params
func (*BillingAccountServiceGetPricingModelTransitionsParams) WithHTTPClient ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithHTTPClient(client *http.Client) *BillingAccountServiceGetPricingModelTransitionsParams
WithHTTPClient adds the HTTPClient to the billing account service get pricing model transitions params
func (*BillingAccountServiceGetPricingModelTransitionsParams) WithOrganizationID ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithOrganizationID(organizationID string) *BillingAccountServiceGetPricingModelTransitionsParams
WithOrganizationID adds the organizationID to the billing account service get pricing model transitions params
func (*BillingAccountServiceGetPricingModelTransitionsParams) WithStart ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithStart(start *strfmt.DateTime) *BillingAccountServiceGetPricingModelTransitionsParams
WithStart adds the start to the billing account service get pricing model transitions params
func (*BillingAccountServiceGetPricingModelTransitionsParams) WithTimeout ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) WithTimeout(timeout time.Duration) *BillingAccountServiceGetPricingModelTransitionsParams
WithTimeout adds the timeout to the billing account service get pricing model transitions params
func (*BillingAccountServiceGetPricingModelTransitionsParams) WriteToRequest ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BillingAccountServiceGetPricingModelTransitionsReader ¶ added in v0.97.0
type BillingAccountServiceGetPricingModelTransitionsReader struct {
// contains filtered or unexported fields
}
BillingAccountServiceGetPricingModelTransitionsReader is a Reader for the BillingAccountServiceGetPricingModelTransitions structure.
func (*BillingAccountServiceGetPricingModelTransitionsReader) ReadResponse ¶ added in v0.97.0
func (o *BillingAccountServiceGetPricingModelTransitionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BillingAccountServiceGetReader ¶
type BillingAccountServiceGetReader struct {
// contains filtered or unexported fields
}
BillingAccountServiceGetReader is a Reader for the BillingAccountServiceGet structure.
func (*BillingAccountServiceGetReader) ReadResponse ¶
func (o *BillingAccountServiceGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BillingAccountServiceRemoveOnDemandPaymentMethodDefault ¶
type BillingAccountServiceRemoveOnDemandPaymentMethodDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
BillingAccountServiceRemoveOnDemandPaymentMethodDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewBillingAccountServiceRemoveOnDemandPaymentMethodDefault ¶
func NewBillingAccountServiceRemoveOnDemandPaymentMethodDefault(code int) *BillingAccountServiceRemoveOnDemandPaymentMethodDefault
NewBillingAccountServiceRemoveOnDemandPaymentMethodDefault creates a BillingAccountServiceRemoveOnDemandPaymentMethodDefault with default headers values
func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) Code ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) Code() int
Code gets the status code for the billing account service remove on demand payment method default response
func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) Error ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) Error() string
func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) GetPayload ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) GetPayload() *models.GooglerpcStatus
func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsClientError ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsClientError() bool
IsClientError returns true when this billing account service remove on demand payment method default response has a 4xx status code
func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsCode ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsCode(code int) bool
IsCode returns true when this billing account service remove on demand payment method default response a status code equal to that given
func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsRedirect ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsRedirect() bool
IsRedirect returns true when this billing account service remove on demand payment method default response has a 3xx status code
func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsServerError ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsServerError() bool
IsServerError returns true when this billing account service remove on demand payment method default response has a 5xx status code
func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsSuccess ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsSuccess() bool
IsSuccess returns true when this billing account service remove on demand payment method default response has a 2xx status code
func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) String ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) String() string
type BillingAccountServiceRemoveOnDemandPaymentMethodOK ¶
type BillingAccountServiceRemoveOnDemandPaymentMethodOK struct {
Payload *models.Billing20201105RemoveOnDemandPaymentMethodResponse
}
BillingAccountServiceRemoveOnDemandPaymentMethodOK describes a response with status code 200, with default header values.
A successful response.
func NewBillingAccountServiceRemoveOnDemandPaymentMethodOK ¶
func NewBillingAccountServiceRemoveOnDemandPaymentMethodOK() *BillingAccountServiceRemoveOnDemandPaymentMethodOK
NewBillingAccountServiceRemoveOnDemandPaymentMethodOK creates a BillingAccountServiceRemoveOnDemandPaymentMethodOK with default headers values
func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) Code ¶ added in v0.97.0
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) Code() int
Code gets the status code for the billing account service remove on demand payment method o k response
func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) Error ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) Error() string
func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) GetPayload ¶
func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsClientError ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsClientError() bool
IsClientError returns true when this billing account service remove on demand payment method o k response has a 4xx status code
func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsCode ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsCode(code int) bool
IsCode returns true when this billing account service remove on demand payment method o k response a status code equal to that given
func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsRedirect ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsRedirect() bool
IsRedirect returns true when this billing account service remove on demand payment method o k response has a 3xx status code
func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsServerError ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsServerError() bool
IsServerError returns true when this billing account service remove on demand payment method o k response has a 5xx status code
func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsSuccess ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsSuccess() bool
IsSuccess returns true when this billing account service remove on demand payment method o k response has a 2xx status code
func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) String ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodOK) String() string
type BillingAccountServiceRemoveOnDemandPaymentMethodParams ¶
type BillingAccountServiceRemoveOnDemandPaymentMethodParams struct { // BillingAccountID. BillingAccountID string // OrganizationID. OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BillingAccountServiceRemoveOnDemandPaymentMethodParams contains all the parameters to send to the API endpoint
for the billing account service remove on demand payment method operation. Typically these are written to a http.Request.
func NewBillingAccountServiceRemoveOnDemandPaymentMethodParams ¶
func NewBillingAccountServiceRemoveOnDemandPaymentMethodParams() *BillingAccountServiceRemoveOnDemandPaymentMethodParams
NewBillingAccountServiceRemoveOnDemandPaymentMethodParams creates a new BillingAccountServiceRemoveOnDemandPaymentMethodParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithContext ¶
func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithContext(ctx context.Context) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithContext creates a new BillingAccountServiceRemoveOnDemandPaymentMethodParams object with the ability to set a context for a request.
func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithHTTPClient ¶
func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithHTTPClient(client *http.Client) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithHTTPClient creates a new BillingAccountServiceRemoveOnDemandPaymentMethodParams object with the ability to set a custom HTTPClient for a request.
func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithTimeout ¶
func NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithTimeout(timeout time.Duration) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
NewBillingAccountServiceRemoveOnDemandPaymentMethodParamsWithTimeout creates a new BillingAccountServiceRemoveOnDemandPaymentMethodParams object with the ability to set a timeout on a request.
func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetBillingAccountID ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetBillingAccountID(billingAccountID string)
SetBillingAccountID adds the billingAccountId to the billing account service remove on demand payment method params
func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetContext ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetContext(ctx context.Context)
SetContext adds the context to the billing account service remove on demand payment method params
func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetDefaults ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetDefaults()
SetDefaults hydrates default values in the billing account service remove on demand payment method params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetHTTPClient ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the billing account service remove on demand payment method params
func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetOrganizationID ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the billing account service remove on demand payment method params
func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetTimeout ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the billing account service remove on demand payment method params
func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithBillingAccountID ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithBillingAccountID(billingAccountID string) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
WithBillingAccountID adds the billingAccountID to the billing account service remove on demand payment method params
func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithContext ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithContext(ctx context.Context) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
WithContext adds the context to the billing account service remove on demand payment method params
func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithDefaults ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithDefaults() *BillingAccountServiceRemoveOnDemandPaymentMethodParams
WithDefaults hydrates default values in the billing account service remove on demand payment method params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithHTTPClient ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithHTTPClient(client *http.Client) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
WithHTTPClient adds the HTTPClient to the billing account service remove on demand payment method params
func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithOrganizationID ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithOrganizationID(organizationID string) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
WithOrganizationID adds the organizationID to the billing account service remove on demand payment method params
func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithTimeout ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithTimeout(timeout time.Duration) *BillingAccountServiceRemoveOnDemandPaymentMethodParams
WithTimeout adds the timeout to the billing account service remove on demand payment method params
func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WriteToRequest ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BillingAccountServiceRemoveOnDemandPaymentMethodReader ¶
type BillingAccountServiceRemoveOnDemandPaymentMethodReader struct {
// contains filtered or unexported fields
}
BillingAccountServiceRemoveOnDemandPaymentMethodReader is a Reader for the BillingAccountServiceRemoveOnDemandPaymentMethod structure.
func (*BillingAccountServiceRemoveOnDemandPaymentMethodReader) ReadResponse ¶
func (o *BillingAccountServiceRemoveOnDemandPaymentMethodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BillingAccountServiceUpdateDefault ¶
type BillingAccountServiceUpdateDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
BillingAccountServiceUpdateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewBillingAccountServiceUpdateDefault ¶
func NewBillingAccountServiceUpdateDefault(code int) *BillingAccountServiceUpdateDefault
NewBillingAccountServiceUpdateDefault creates a BillingAccountServiceUpdateDefault with default headers values
func (*BillingAccountServiceUpdateDefault) Code ¶
func (o *BillingAccountServiceUpdateDefault) Code() int
Code gets the status code for the billing account service update default response
func (*BillingAccountServiceUpdateDefault) Error ¶
func (o *BillingAccountServiceUpdateDefault) Error() string
func (*BillingAccountServiceUpdateDefault) GetPayload ¶
func (o *BillingAccountServiceUpdateDefault) GetPayload() *models.GooglerpcStatus
func (*BillingAccountServiceUpdateDefault) IsClientError ¶
func (o *BillingAccountServiceUpdateDefault) IsClientError() bool
IsClientError returns true when this billing account service update default response has a 4xx status code
func (*BillingAccountServiceUpdateDefault) IsCode ¶
func (o *BillingAccountServiceUpdateDefault) IsCode(code int) bool
IsCode returns true when this billing account service update default response a status code equal to that given
func (*BillingAccountServiceUpdateDefault) IsRedirect ¶
func (o *BillingAccountServiceUpdateDefault) IsRedirect() bool
IsRedirect returns true when this billing account service update default response has a 3xx status code
func (*BillingAccountServiceUpdateDefault) IsServerError ¶
func (o *BillingAccountServiceUpdateDefault) IsServerError() bool
IsServerError returns true when this billing account service update default response has a 5xx status code
func (*BillingAccountServiceUpdateDefault) IsSuccess ¶
func (o *BillingAccountServiceUpdateDefault) IsSuccess() bool
IsSuccess returns true when this billing account service update default response has a 2xx status code
func (*BillingAccountServiceUpdateDefault) String ¶
func (o *BillingAccountServiceUpdateDefault) String() string
type BillingAccountServiceUpdateOK ¶
type BillingAccountServiceUpdateOK struct {
Payload *models.Billing20201105UpdateBillingAccountResponse
}
BillingAccountServiceUpdateOK describes a response with status code 200, with default header values.
A successful response.
func NewBillingAccountServiceUpdateOK ¶
func NewBillingAccountServiceUpdateOK() *BillingAccountServiceUpdateOK
NewBillingAccountServiceUpdateOK creates a BillingAccountServiceUpdateOK with default headers values
func (*BillingAccountServiceUpdateOK) Code ¶ added in v0.97.0
func (o *BillingAccountServiceUpdateOK) Code() int
Code gets the status code for the billing account service update o k response
func (*BillingAccountServiceUpdateOK) Error ¶
func (o *BillingAccountServiceUpdateOK) Error() string
func (*BillingAccountServiceUpdateOK) GetPayload ¶
func (o *BillingAccountServiceUpdateOK) GetPayload() *models.Billing20201105UpdateBillingAccountResponse
func (*BillingAccountServiceUpdateOK) IsClientError ¶
func (o *BillingAccountServiceUpdateOK) IsClientError() bool
IsClientError returns true when this billing account service update o k response has a 4xx status code
func (*BillingAccountServiceUpdateOK) IsCode ¶
func (o *BillingAccountServiceUpdateOK) IsCode(code int) bool
IsCode returns true when this billing account service update o k response a status code equal to that given
func (*BillingAccountServiceUpdateOK) IsRedirect ¶
func (o *BillingAccountServiceUpdateOK) IsRedirect() bool
IsRedirect returns true when this billing account service update o k response has a 3xx status code
func (*BillingAccountServiceUpdateOK) IsServerError ¶
func (o *BillingAccountServiceUpdateOK) IsServerError() bool
IsServerError returns true when this billing account service update o k response has a 5xx status code
func (*BillingAccountServiceUpdateOK) IsSuccess ¶
func (o *BillingAccountServiceUpdateOK) IsSuccess() bool
IsSuccess returns true when this billing account service update o k response has a 2xx status code
func (*BillingAccountServiceUpdateOK) String ¶
func (o *BillingAccountServiceUpdateOK) String() string
type BillingAccountServiceUpdateParams ¶
type BillingAccountServiceUpdateParams struct { // Body. Body *models.BillingAccountServiceUpdateBody /* ID. id is the user-settable ID that uniquely identifies the Billing Account within the organization. */ ID string /* OrganizationID. organization_id is the ID of the organization to which the Billing Account belongs. */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BillingAccountServiceUpdateParams contains all the parameters to send to the API endpoint
for the billing account service update operation. Typically these are written to a http.Request.
func NewBillingAccountServiceUpdateParams ¶
func NewBillingAccountServiceUpdateParams() *BillingAccountServiceUpdateParams
NewBillingAccountServiceUpdateParams creates a new BillingAccountServiceUpdateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBillingAccountServiceUpdateParamsWithContext ¶
func NewBillingAccountServiceUpdateParamsWithContext(ctx context.Context) *BillingAccountServiceUpdateParams
NewBillingAccountServiceUpdateParamsWithContext creates a new BillingAccountServiceUpdateParams object with the ability to set a context for a request.
func NewBillingAccountServiceUpdateParamsWithHTTPClient ¶
func NewBillingAccountServiceUpdateParamsWithHTTPClient(client *http.Client) *BillingAccountServiceUpdateParams
NewBillingAccountServiceUpdateParamsWithHTTPClient creates a new BillingAccountServiceUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewBillingAccountServiceUpdateParamsWithTimeout ¶
func NewBillingAccountServiceUpdateParamsWithTimeout(timeout time.Duration) *BillingAccountServiceUpdateParams
NewBillingAccountServiceUpdateParamsWithTimeout creates a new BillingAccountServiceUpdateParams object with the ability to set a timeout on a request.
func (*BillingAccountServiceUpdateParams) SetBody ¶
func (o *BillingAccountServiceUpdateParams) SetBody(body *models.BillingAccountServiceUpdateBody)
SetBody adds the body to the billing account service update params
func (*BillingAccountServiceUpdateParams) SetContext ¶
func (o *BillingAccountServiceUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the billing account service update params
func (*BillingAccountServiceUpdateParams) SetDefaults ¶
func (o *BillingAccountServiceUpdateParams) SetDefaults()
SetDefaults hydrates default values in the billing account service update params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceUpdateParams) SetHTTPClient ¶
func (o *BillingAccountServiceUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the billing account service update params
func (*BillingAccountServiceUpdateParams) SetID ¶
func (o *BillingAccountServiceUpdateParams) SetID(id string)
SetID adds the id to the billing account service update params
func (*BillingAccountServiceUpdateParams) SetOrganizationID ¶
func (o *BillingAccountServiceUpdateParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the billing account service update params
func (*BillingAccountServiceUpdateParams) SetTimeout ¶
func (o *BillingAccountServiceUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the billing account service update params
func (*BillingAccountServiceUpdateParams) WithBody ¶
func (o *BillingAccountServiceUpdateParams) WithBody(body *models.BillingAccountServiceUpdateBody) *BillingAccountServiceUpdateParams
WithBody adds the body to the billing account service update params
func (*BillingAccountServiceUpdateParams) WithContext ¶
func (o *BillingAccountServiceUpdateParams) WithContext(ctx context.Context) *BillingAccountServiceUpdateParams
WithContext adds the context to the billing account service update params
func (*BillingAccountServiceUpdateParams) WithDefaults ¶
func (o *BillingAccountServiceUpdateParams) WithDefaults() *BillingAccountServiceUpdateParams
WithDefaults hydrates default values in the billing account service update params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceUpdateParams) WithHTTPClient ¶
func (o *BillingAccountServiceUpdateParams) WithHTTPClient(client *http.Client) *BillingAccountServiceUpdateParams
WithHTTPClient adds the HTTPClient to the billing account service update params
func (*BillingAccountServiceUpdateParams) WithID ¶
func (o *BillingAccountServiceUpdateParams) WithID(id string) *BillingAccountServiceUpdateParams
WithID adds the id to the billing account service update params
func (*BillingAccountServiceUpdateParams) WithOrganizationID ¶
func (o *BillingAccountServiceUpdateParams) WithOrganizationID(organizationID string) *BillingAccountServiceUpdateParams
WithOrganizationID adds the organizationID to the billing account service update params
func (*BillingAccountServiceUpdateParams) WithTimeout ¶
func (o *BillingAccountServiceUpdateParams) WithTimeout(timeout time.Duration) *BillingAccountServiceUpdateParams
WithTimeout adds the timeout to the billing account service update params
func (*BillingAccountServiceUpdateParams) WriteToRequest ¶
func (o *BillingAccountServiceUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BillingAccountServiceUpdateReader ¶
type BillingAccountServiceUpdateReader struct {
// contains filtered or unexported fields
}
BillingAccountServiceUpdateReader is a Reader for the BillingAccountServiceUpdate structure.
func (*BillingAccountServiceUpdateReader) ReadResponse ¶
func (o *BillingAccountServiceUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for billing account service API
func (*Client) BillingAccountServiceCreate ¶
func (a *Client) BillingAccountServiceCreate(params *BillingAccountServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceCreateOK, error)
BillingAccountServiceCreate creates a new billing account for the organization This endpoint is idempotent and it is expected that clients will retry
their requests on server-side failure.
func (*Client) BillingAccountServiceCreateSetupIntent ¶
func (a *Client) BillingAccountServiceCreateSetupIntent(params *BillingAccountServiceCreateSetupIntentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceCreateSetupIntentOK, error)
BillingAccountServiceCreateSetupIntent creates setup intent creates a setup intent used to collect payment details with stripe js and perform any necessary checks e g 3 d secure
func (*Client) BillingAccountServiceGet ¶
func (a *Client) BillingAccountServiceGet(params *BillingAccountServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceGetOK, error)
BillingAccountServiceGet gets a billing account by ID
func (*Client) BillingAccountServiceGetByProject ¶
func (a *Client) BillingAccountServiceGetByProject(params *BillingAccountServiceGetByProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceGetByProjectOK, error)
BillingAccountServiceGetByProject gets by project returns the billing account associated with the given project if no billing account is set for the project not found is returned
func (*Client) BillingAccountServiceGetPricingModelTransitions ¶ added in v0.97.0
func (a *Client) BillingAccountServiceGetPricingModelTransitions(params *BillingAccountServiceGetPricingModelTransitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceGetPricingModelTransitionsOK, error)
BillingAccountServiceGetPricingModelTransitions gets pricing model transitions gets the pricing model transitions for the given billing account if no start is specified it will default to 1 1 1 00 00 00 000000000 u t c if no end date is specified it will default to 12 31 9999 11 59 59 000000000 u t c
func (*Client) BillingAccountServiceRemoveOnDemandPaymentMethod ¶
func (a *Client) BillingAccountServiceRemoveOnDemandPaymentMethod(params *BillingAccountServiceRemoveOnDemandPaymentMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceRemoveOnDemandPaymentMethodOK, error)
BillingAccountServiceRemoveOnDemandPaymentMethod billing account service remove on demand payment method API
func (*Client) BillingAccountServiceUpdate ¶
func (a *Client) BillingAccountServiceUpdate(params *BillingAccountServiceUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceUpdateOK, error)
BillingAccountServiceUpdate updates a billing account s settings
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { BillingAccountServiceCreate(params *BillingAccountServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceCreateOK, error) BillingAccountServiceCreateSetupIntent(params *BillingAccountServiceCreateSetupIntentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceCreateSetupIntentOK, error) BillingAccountServiceGet(params *BillingAccountServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceGetOK, error) BillingAccountServiceGetByProject(params *BillingAccountServiceGetByProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceGetByProjectOK, error) BillingAccountServiceGetPricingModelTransitions(params *BillingAccountServiceGetPricingModelTransitionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceGetPricingModelTransitionsOK, error) BillingAccountServiceRemoveOnDemandPaymentMethod(params *BillingAccountServiceRemoveOnDemandPaymentMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceRemoveOnDemandPaymentMethodOK, error) BillingAccountServiceUpdate(params *BillingAccountServiceUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceUpdateOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new billing account service API client.
Source Files ¶
- billing_account_service_client.go
- billing_account_service_create_parameters.go
- billing_account_service_create_responses.go
- billing_account_service_create_setup_intent_parameters.go
- billing_account_service_create_setup_intent_responses.go
- billing_account_service_get_by_project_parameters.go
- billing_account_service_get_by_project_responses.go
- billing_account_service_get_parameters.go
- billing_account_service_get_pricing_model_transitions_parameters.go
- billing_account_service_get_pricing_model_transitions_responses.go
- billing_account_service_get_responses.go
- billing_account_service_remove_on_demand_payment_method_parameters.go
- billing_account_service_remove_on_demand_payment_method_responses.go
- billing_account_service_update_parameters.go
- billing_account_service_update_responses.go