Documentation ¶
Index ¶
- type BillingAccountServiceCreateDefault
- func (o *BillingAccountServiceCreateDefault) Code() int
- func (o *BillingAccountServiceCreateDefault) Error() string
- func (o *BillingAccountServiceCreateDefault) GetPayload() *models.RuntimeError
- 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) 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.Billing20201105CreateBillingAccountRequest)
- 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.Billing20201105CreateBillingAccountRequest) *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.RuntimeError
- 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) 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 BillingAccountServiceDeleteBillingAccountDefault
- func (o *BillingAccountServiceDeleteBillingAccountDefault) Code() int
- func (o *BillingAccountServiceDeleteBillingAccountDefault) Error() string
- func (o *BillingAccountServiceDeleteBillingAccountDefault) GetPayload() *models.RuntimeError
- func (o *BillingAccountServiceDeleteBillingAccountDefault) IsClientError() bool
- func (o *BillingAccountServiceDeleteBillingAccountDefault) IsCode(code int) bool
- func (o *BillingAccountServiceDeleteBillingAccountDefault) IsRedirect() bool
- func (o *BillingAccountServiceDeleteBillingAccountDefault) IsServerError() bool
- func (o *BillingAccountServiceDeleteBillingAccountDefault) IsSuccess() bool
- func (o *BillingAccountServiceDeleteBillingAccountDefault) String() string
- type BillingAccountServiceDeleteBillingAccountOK
- func (o *BillingAccountServiceDeleteBillingAccountOK) Error() string
- func (o *BillingAccountServiceDeleteBillingAccountOK) GetPayload() models.Billing20201105DeleteBillingAccountResponse
- func (o *BillingAccountServiceDeleteBillingAccountOK) IsClientError() bool
- func (o *BillingAccountServiceDeleteBillingAccountOK) IsCode(code int) bool
- func (o *BillingAccountServiceDeleteBillingAccountOK) IsRedirect() bool
- func (o *BillingAccountServiceDeleteBillingAccountOK) IsServerError() bool
- func (o *BillingAccountServiceDeleteBillingAccountOK) IsSuccess() bool
- func (o *BillingAccountServiceDeleteBillingAccountOK) String() string
- type BillingAccountServiceDeleteBillingAccountParams
- func NewBillingAccountServiceDeleteBillingAccountParams() *BillingAccountServiceDeleteBillingAccountParams
- func NewBillingAccountServiceDeleteBillingAccountParamsWithContext(ctx context.Context) *BillingAccountServiceDeleteBillingAccountParams
- func NewBillingAccountServiceDeleteBillingAccountParamsWithHTTPClient(client *http.Client) *BillingAccountServiceDeleteBillingAccountParams
- func NewBillingAccountServiceDeleteBillingAccountParamsWithTimeout(timeout time.Duration) *BillingAccountServiceDeleteBillingAccountParams
- func (o *BillingAccountServiceDeleteBillingAccountParams) SetContext(ctx context.Context)
- func (o *BillingAccountServiceDeleteBillingAccountParams) SetDefaults()
- func (o *BillingAccountServiceDeleteBillingAccountParams) SetHTTPClient(client *http.Client)
- func (o *BillingAccountServiceDeleteBillingAccountParams) SetID(id string)
- func (o *BillingAccountServiceDeleteBillingAccountParams) SetOrganizationID(organizationID string)
- func (o *BillingAccountServiceDeleteBillingAccountParams) SetTimeout(timeout time.Duration)
- func (o *BillingAccountServiceDeleteBillingAccountParams) WithContext(ctx context.Context) *BillingAccountServiceDeleteBillingAccountParams
- func (o *BillingAccountServiceDeleteBillingAccountParams) WithDefaults() *BillingAccountServiceDeleteBillingAccountParams
- func (o *BillingAccountServiceDeleteBillingAccountParams) WithHTTPClient(client *http.Client) *BillingAccountServiceDeleteBillingAccountParams
- func (o *BillingAccountServiceDeleteBillingAccountParams) WithID(id string) *BillingAccountServiceDeleteBillingAccountParams
- func (o *BillingAccountServiceDeleteBillingAccountParams) WithOrganizationID(organizationID string) *BillingAccountServiceDeleteBillingAccountParams
- func (o *BillingAccountServiceDeleteBillingAccountParams) WithTimeout(timeout time.Duration) *BillingAccountServiceDeleteBillingAccountParams
- func (o *BillingAccountServiceDeleteBillingAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BillingAccountServiceDeleteBillingAccountReader
- type BillingAccountServiceGetByProjectDefault
- func (o *BillingAccountServiceGetByProjectDefault) Code() int
- func (o *BillingAccountServiceGetByProjectDefault) Error() string
- func (o *BillingAccountServiceGetByProjectDefault) GetPayload() *models.RuntimeError
- 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) 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.RuntimeError
- 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) 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 BillingAccountServiceGetReader
- type BillingAccountServiceListDefault
- func (o *BillingAccountServiceListDefault) Code() int
- func (o *BillingAccountServiceListDefault) Error() string
- func (o *BillingAccountServiceListDefault) GetPayload() *models.RuntimeError
- func (o *BillingAccountServiceListDefault) IsClientError() bool
- func (o *BillingAccountServiceListDefault) IsCode(code int) bool
- func (o *BillingAccountServiceListDefault) IsRedirect() bool
- func (o *BillingAccountServiceListDefault) IsServerError() bool
- func (o *BillingAccountServiceListDefault) IsSuccess() bool
- func (o *BillingAccountServiceListDefault) String() string
- type BillingAccountServiceListOK
- func (o *BillingAccountServiceListOK) Error() string
- func (o *BillingAccountServiceListOK) GetPayload() *models.Billing20201105ListBillingAccountsResponse
- func (o *BillingAccountServiceListOK) IsClientError() bool
- func (o *BillingAccountServiceListOK) IsCode(code int) bool
- func (o *BillingAccountServiceListOK) IsRedirect() bool
- func (o *BillingAccountServiceListOK) IsServerError() bool
- func (o *BillingAccountServiceListOK) IsSuccess() bool
- func (o *BillingAccountServiceListOK) String() string
- type BillingAccountServiceListParams
- func NewBillingAccountServiceListParams() *BillingAccountServiceListParams
- func NewBillingAccountServiceListParamsWithContext(ctx context.Context) *BillingAccountServiceListParams
- func NewBillingAccountServiceListParamsWithHTTPClient(client *http.Client) *BillingAccountServiceListParams
- func NewBillingAccountServiceListParamsWithTimeout(timeout time.Duration) *BillingAccountServiceListParams
- func (o *BillingAccountServiceListParams) SetContext(ctx context.Context)
- func (o *BillingAccountServiceListParams) SetDefaults()
- func (o *BillingAccountServiceListParams) SetHTTPClient(client *http.Client)
- func (o *BillingAccountServiceListParams) SetOrganizationID(organizationID string)
- func (o *BillingAccountServiceListParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *BillingAccountServiceListParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *BillingAccountServiceListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *BillingAccountServiceListParams) SetTimeout(timeout time.Duration)
- func (o *BillingAccountServiceListParams) WithContext(ctx context.Context) *BillingAccountServiceListParams
- func (o *BillingAccountServiceListParams) WithDefaults() *BillingAccountServiceListParams
- func (o *BillingAccountServiceListParams) WithHTTPClient(client *http.Client) *BillingAccountServiceListParams
- func (o *BillingAccountServiceListParams) WithOrganizationID(organizationID string) *BillingAccountServiceListParams
- func (o *BillingAccountServiceListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *BillingAccountServiceListParams
- func (o *BillingAccountServiceListParams) WithPaginationPageSize(paginationPageSize *int64) *BillingAccountServiceListParams
- func (o *BillingAccountServiceListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *BillingAccountServiceListParams
- func (o *BillingAccountServiceListParams) WithTimeout(timeout time.Duration) *BillingAccountServiceListParams
- func (o *BillingAccountServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BillingAccountServiceListReader
- type BillingAccountServiceRemoveOnDemandPaymentMethodDefault
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) Code() int
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) Error() string
- func (o *BillingAccountServiceRemoveOnDemandPaymentMethodDefault) GetPayload() *models.RuntimeError
- 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) 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.RuntimeError
- 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) 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.Billing20201105UpdateBillingAccountRequest)
- 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.Billing20201105UpdateBillingAccountRequest) *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) BillingAccountServiceDeleteBillingAccount(params *BillingAccountServiceDeleteBillingAccountParams, ...) (*BillingAccountServiceDeleteBillingAccountOK, error)
- func (a *Client) BillingAccountServiceGet(params *BillingAccountServiceGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BillingAccountServiceGetOK, error)
- func (a *Client) BillingAccountServiceGetByProject(params *BillingAccountServiceGetByProjectParams, ...) (*BillingAccountServiceGetByProjectOK, error)
- func (a *Client) BillingAccountServiceList(params *BillingAccountServiceListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BillingAccountServiceListOK, 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.RuntimeError // 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.RuntimeError
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) 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.Billing20201105CreateBillingAccountRequest /* 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.Billing20201105CreateBillingAccountRequest)
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.Billing20201105CreateBillingAccountRequest) *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.RuntimeError // 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.RuntimeError
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) 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 BillingAccountServiceDeleteBillingAccountDefault ¶
type BillingAccountServiceDeleteBillingAccountDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
BillingAccountServiceDeleteBillingAccountDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewBillingAccountServiceDeleteBillingAccountDefault ¶
func NewBillingAccountServiceDeleteBillingAccountDefault(code int) *BillingAccountServiceDeleteBillingAccountDefault
NewBillingAccountServiceDeleteBillingAccountDefault creates a BillingAccountServiceDeleteBillingAccountDefault with default headers values
func (*BillingAccountServiceDeleteBillingAccountDefault) Code ¶
func (o *BillingAccountServiceDeleteBillingAccountDefault) Code() int
Code gets the status code for the billing account service delete billing account default response
func (*BillingAccountServiceDeleteBillingAccountDefault) Error ¶
func (o *BillingAccountServiceDeleteBillingAccountDefault) Error() string
func (*BillingAccountServiceDeleteBillingAccountDefault) GetPayload ¶
func (o *BillingAccountServiceDeleteBillingAccountDefault) GetPayload() *models.RuntimeError
func (*BillingAccountServiceDeleteBillingAccountDefault) IsClientError ¶
func (o *BillingAccountServiceDeleteBillingAccountDefault) IsClientError() bool
IsClientError returns true when this billing account service delete billing account default response has a 4xx status code
func (*BillingAccountServiceDeleteBillingAccountDefault) IsCode ¶
func (o *BillingAccountServiceDeleteBillingAccountDefault) IsCode(code int) bool
IsCode returns true when this billing account service delete billing account default response a status code equal to that given
func (*BillingAccountServiceDeleteBillingAccountDefault) IsRedirect ¶
func (o *BillingAccountServiceDeleteBillingAccountDefault) IsRedirect() bool
IsRedirect returns true when this billing account service delete billing account default response has a 3xx status code
func (*BillingAccountServiceDeleteBillingAccountDefault) IsServerError ¶
func (o *BillingAccountServiceDeleteBillingAccountDefault) IsServerError() bool
IsServerError returns true when this billing account service delete billing account default response has a 5xx status code
func (*BillingAccountServiceDeleteBillingAccountDefault) IsSuccess ¶
func (o *BillingAccountServiceDeleteBillingAccountDefault) IsSuccess() bool
IsSuccess returns true when this billing account service delete billing account default response has a 2xx status code
func (*BillingAccountServiceDeleteBillingAccountDefault) String ¶
func (o *BillingAccountServiceDeleteBillingAccountDefault) String() string
type BillingAccountServiceDeleteBillingAccountOK ¶
type BillingAccountServiceDeleteBillingAccountOK struct {
Payload models.Billing20201105DeleteBillingAccountResponse
}
BillingAccountServiceDeleteBillingAccountOK describes a response with status code 200, with default header values.
A successful response.
func NewBillingAccountServiceDeleteBillingAccountOK ¶
func NewBillingAccountServiceDeleteBillingAccountOK() *BillingAccountServiceDeleteBillingAccountOK
NewBillingAccountServiceDeleteBillingAccountOK creates a BillingAccountServiceDeleteBillingAccountOK with default headers values
func (*BillingAccountServiceDeleteBillingAccountOK) Error ¶
func (o *BillingAccountServiceDeleteBillingAccountOK) Error() string
func (*BillingAccountServiceDeleteBillingAccountOK) GetPayload ¶
func (o *BillingAccountServiceDeleteBillingAccountOK) GetPayload() models.Billing20201105DeleteBillingAccountResponse
func (*BillingAccountServiceDeleteBillingAccountOK) IsClientError ¶
func (o *BillingAccountServiceDeleteBillingAccountOK) IsClientError() bool
IsClientError returns true when this billing account service delete billing account o k response has a 4xx status code
func (*BillingAccountServiceDeleteBillingAccountOK) IsCode ¶
func (o *BillingAccountServiceDeleteBillingAccountOK) IsCode(code int) bool
IsCode returns true when this billing account service delete billing account o k response a status code equal to that given
func (*BillingAccountServiceDeleteBillingAccountOK) IsRedirect ¶
func (o *BillingAccountServiceDeleteBillingAccountOK) IsRedirect() bool
IsRedirect returns true when this billing account service delete billing account o k response has a 3xx status code
func (*BillingAccountServiceDeleteBillingAccountOK) IsServerError ¶
func (o *BillingAccountServiceDeleteBillingAccountOK) IsServerError() bool
IsServerError returns true when this billing account service delete billing account o k response has a 5xx status code
func (*BillingAccountServiceDeleteBillingAccountOK) IsSuccess ¶
func (o *BillingAccountServiceDeleteBillingAccountOK) IsSuccess() bool
IsSuccess returns true when this billing account service delete billing account o k response has a 2xx status code
func (*BillingAccountServiceDeleteBillingAccountOK) String ¶
func (o *BillingAccountServiceDeleteBillingAccountOK) String() string
type BillingAccountServiceDeleteBillingAccountParams ¶
type BillingAccountServiceDeleteBillingAccountParams struct { /* ID. id references the billing account to be deleted. */ ID string /* OrganizationID. organization_id references the organization that owns the billing account to be deleted. */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BillingAccountServiceDeleteBillingAccountParams contains all the parameters to send to the API endpoint
for the billing account service delete billing account operation. Typically these are written to a http.Request.
func NewBillingAccountServiceDeleteBillingAccountParams ¶
func NewBillingAccountServiceDeleteBillingAccountParams() *BillingAccountServiceDeleteBillingAccountParams
NewBillingAccountServiceDeleteBillingAccountParams creates a new BillingAccountServiceDeleteBillingAccountParams 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 NewBillingAccountServiceDeleteBillingAccountParamsWithContext ¶
func NewBillingAccountServiceDeleteBillingAccountParamsWithContext(ctx context.Context) *BillingAccountServiceDeleteBillingAccountParams
NewBillingAccountServiceDeleteBillingAccountParamsWithContext creates a new BillingAccountServiceDeleteBillingAccountParams object with the ability to set a context for a request.
func NewBillingAccountServiceDeleteBillingAccountParamsWithHTTPClient ¶
func NewBillingAccountServiceDeleteBillingAccountParamsWithHTTPClient(client *http.Client) *BillingAccountServiceDeleteBillingAccountParams
NewBillingAccountServiceDeleteBillingAccountParamsWithHTTPClient creates a new BillingAccountServiceDeleteBillingAccountParams object with the ability to set a custom HTTPClient for a request.
func NewBillingAccountServiceDeleteBillingAccountParamsWithTimeout ¶
func NewBillingAccountServiceDeleteBillingAccountParamsWithTimeout(timeout time.Duration) *BillingAccountServiceDeleteBillingAccountParams
NewBillingAccountServiceDeleteBillingAccountParamsWithTimeout creates a new BillingAccountServiceDeleteBillingAccountParams object with the ability to set a timeout on a request.
func (*BillingAccountServiceDeleteBillingAccountParams) SetContext ¶
func (o *BillingAccountServiceDeleteBillingAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the billing account service delete billing account params
func (*BillingAccountServiceDeleteBillingAccountParams) SetDefaults ¶
func (o *BillingAccountServiceDeleteBillingAccountParams) SetDefaults()
SetDefaults hydrates default values in the billing account service delete billing account params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceDeleteBillingAccountParams) SetHTTPClient ¶
func (o *BillingAccountServiceDeleteBillingAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the billing account service delete billing account params
func (*BillingAccountServiceDeleteBillingAccountParams) SetID ¶
func (o *BillingAccountServiceDeleteBillingAccountParams) SetID(id string)
SetID adds the id to the billing account service delete billing account params
func (*BillingAccountServiceDeleteBillingAccountParams) SetOrganizationID ¶
func (o *BillingAccountServiceDeleteBillingAccountParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the billing account service delete billing account params
func (*BillingAccountServiceDeleteBillingAccountParams) SetTimeout ¶
func (o *BillingAccountServiceDeleteBillingAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the billing account service delete billing account params
func (*BillingAccountServiceDeleteBillingAccountParams) WithContext ¶
func (o *BillingAccountServiceDeleteBillingAccountParams) WithContext(ctx context.Context) *BillingAccountServiceDeleteBillingAccountParams
WithContext adds the context to the billing account service delete billing account params
func (*BillingAccountServiceDeleteBillingAccountParams) WithDefaults ¶
func (o *BillingAccountServiceDeleteBillingAccountParams) WithDefaults() *BillingAccountServiceDeleteBillingAccountParams
WithDefaults hydrates default values in the billing account service delete billing account params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceDeleteBillingAccountParams) WithHTTPClient ¶
func (o *BillingAccountServiceDeleteBillingAccountParams) WithHTTPClient(client *http.Client) *BillingAccountServiceDeleteBillingAccountParams
WithHTTPClient adds the HTTPClient to the billing account service delete billing account params
func (*BillingAccountServiceDeleteBillingAccountParams) WithID ¶
func (o *BillingAccountServiceDeleteBillingAccountParams) WithID(id string) *BillingAccountServiceDeleteBillingAccountParams
WithID adds the id to the billing account service delete billing account params
func (*BillingAccountServiceDeleteBillingAccountParams) WithOrganizationID ¶
func (o *BillingAccountServiceDeleteBillingAccountParams) WithOrganizationID(organizationID string) *BillingAccountServiceDeleteBillingAccountParams
WithOrganizationID adds the organizationID to the billing account service delete billing account params
func (*BillingAccountServiceDeleteBillingAccountParams) WithTimeout ¶
func (o *BillingAccountServiceDeleteBillingAccountParams) WithTimeout(timeout time.Duration) *BillingAccountServiceDeleteBillingAccountParams
WithTimeout adds the timeout to the billing account service delete billing account params
func (*BillingAccountServiceDeleteBillingAccountParams) WriteToRequest ¶
func (o *BillingAccountServiceDeleteBillingAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BillingAccountServiceDeleteBillingAccountReader ¶
type BillingAccountServiceDeleteBillingAccountReader struct {
// contains filtered or unexported fields
}
BillingAccountServiceDeleteBillingAccountReader is a Reader for the BillingAccountServiceDeleteBillingAccount structure.
func (*BillingAccountServiceDeleteBillingAccountReader) ReadResponse ¶
func (o *BillingAccountServiceDeleteBillingAccountReader) 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.RuntimeError // 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.RuntimeError
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) 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.RuntimeError // 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.RuntimeError
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) 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 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 BillingAccountServiceListDefault ¶
type BillingAccountServiceListDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
BillingAccountServiceListDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewBillingAccountServiceListDefault ¶
func NewBillingAccountServiceListDefault(code int) *BillingAccountServiceListDefault
NewBillingAccountServiceListDefault creates a BillingAccountServiceListDefault with default headers values
func (*BillingAccountServiceListDefault) Code ¶
func (o *BillingAccountServiceListDefault) Code() int
Code gets the status code for the billing account service list default response
func (*BillingAccountServiceListDefault) Error ¶
func (o *BillingAccountServiceListDefault) Error() string
func (*BillingAccountServiceListDefault) GetPayload ¶
func (o *BillingAccountServiceListDefault) GetPayload() *models.RuntimeError
func (*BillingAccountServiceListDefault) IsClientError ¶
func (o *BillingAccountServiceListDefault) IsClientError() bool
IsClientError returns true when this billing account service list default response has a 4xx status code
func (*BillingAccountServiceListDefault) IsCode ¶
func (o *BillingAccountServiceListDefault) IsCode(code int) bool
IsCode returns true when this billing account service list default response a status code equal to that given
func (*BillingAccountServiceListDefault) IsRedirect ¶
func (o *BillingAccountServiceListDefault) IsRedirect() bool
IsRedirect returns true when this billing account service list default response has a 3xx status code
func (*BillingAccountServiceListDefault) IsServerError ¶
func (o *BillingAccountServiceListDefault) IsServerError() bool
IsServerError returns true when this billing account service list default response has a 5xx status code
func (*BillingAccountServiceListDefault) IsSuccess ¶
func (o *BillingAccountServiceListDefault) IsSuccess() bool
IsSuccess returns true when this billing account service list default response has a 2xx status code
func (*BillingAccountServiceListDefault) String ¶
func (o *BillingAccountServiceListDefault) String() string
type BillingAccountServiceListOK ¶
type BillingAccountServiceListOK struct {
Payload *models.Billing20201105ListBillingAccountsResponse
}
BillingAccountServiceListOK describes a response with status code 200, with default header values.
A successful response.
func NewBillingAccountServiceListOK ¶
func NewBillingAccountServiceListOK() *BillingAccountServiceListOK
NewBillingAccountServiceListOK creates a BillingAccountServiceListOK with default headers values
func (*BillingAccountServiceListOK) Error ¶
func (o *BillingAccountServiceListOK) Error() string
func (*BillingAccountServiceListOK) GetPayload ¶
func (o *BillingAccountServiceListOK) GetPayload() *models.Billing20201105ListBillingAccountsResponse
func (*BillingAccountServiceListOK) IsClientError ¶
func (o *BillingAccountServiceListOK) IsClientError() bool
IsClientError returns true when this billing account service list o k response has a 4xx status code
func (*BillingAccountServiceListOK) IsCode ¶
func (o *BillingAccountServiceListOK) IsCode(code int) bool
IsCode returns true when this billing account service list o k response a status code equal to that given
func (*BillingAccountServiceListOK) IsRedirect ¶
func (o *BillingAccountServiceListOK) IsRedirect() bool
IsRedirect returns true when this billing account service list o k response has a 3xx status code
func (*BillingAccountServiceListOK) IsServerError ¶
func (o *BillingAccountServiceListOK) IsServerError() bool
IsServerError returns true when this billing account service list o k response has a 5xx status code
func (*BillingAccountServiceListOK) IsSuccess ¶
func (o *BillingAccountServiceListOK) IsSuccess() bool
IsSuccess returns true when this billing account service list o k response has a 2xx status code
func (*BillingAccountServiceListOK) String ¶
func (o *BillingAccountServiceListOK) String() string
type BillingAccountServiceListParams ¶
type BillingAccountServiceListParams struct { /* OrganizationID. organization_id is the ID of the organization for which the Billing Accounts will be listed. */ OrganizationID string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BillingAccountServiceListParams contains all the parameters to send to the API endpoint
for the billing account service list operation. Typically these are written to a http.Request.
func NewBillingAccountServiceListParams ¶
func NewBillingAccountServiceListParams() *BillingAccountServiceListParams
NewBillingAccountServiceListParams creates a new BillingAccountServiceListParams 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 NewBillingAccountServiceListParamsWithContext ¶
func NewBillingAccountServiceListParamsWithContext(ctx context.Context) *BillingAccountServiceListParams
NewBillingAccountServiceListParamsWithContext creates a new BillingAccountServiceListParams object with the ability to set a context for a request.
func NewBillingAccountServiceListParamsWithHTTPClient ¶
func NewBillingAccountServiceListParamsWithHTTPClient(client *http.Client) *BillingAccountServiceListParams
NewBillingAccountServiceListParamsWithHTTPClient creates a new BillingAccountServiceListParams object with the ability to set a custom HTTPClient for a request.
func NewBillingAccountServiceListParamsWithTimeout ¶
func NewBillingAccountServiceListParamsWithTimeout(timeout time.Duration) *BillingAccountServiceListParams
NewBillingAccountServiceListParamsWithTimeout creates a new BillingAccountServiceListParams object with the ability to set a timeout on a request.
func (*BillingAccountServiceListParams) SetContext ¶
func (o *BillingAccountServiceListParams) SetContext(ctx context.Context)
SetContext adds the context to the billing account service list params
func (*BillingAccountServiceListParams) SetDefaults ¶
func (o *BillingAccountServiceListParams) SetDefaults()
SetDefaults hydrates default values in the billing account service list params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceListParams) SetHTTPClient ¶
func (o *BillingAccountServiceListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the billing account service list params
func (*BillingAccountServiceListParams) SetOrganizationID ¶
func (o *BillingAccountServiceListParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the billing account service list params
func (*BillingAccountServiceListParams) SetPaginationNextPageToken ¶
func (o *BillingAccountServiceListParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the billing account service list params
func (*BillingAccountServiceListParams) SetPaginationPageSize ¶
func (o *BillingAccountServiceListParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the billing account service list params
func (*BillingAccountServiceListParams) SetPaginationPreviousPageToken ¶
func (o *BillingAccountServiceListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the billing account service list params
func (*BillingAccountServiceListParams) SetTimeout ¶
func (o *BillingAccountServiceListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the billing account service list params
func (*BillingAccountServiceListParams) WithContext ¶
func (o *BillingAccountServiceListParams) WithContext(ctx context.Context) *BillingAccountServiceListParams
WithContext adds the context to the billing account service list params
func (*BillingAccountServiceListParams) WithDefaults ¶
func (o *BillingAccountServiceListParams) WithDefaults() *BillingAccountServiceListParams
WithDefaults hydrates default values in the billing account service list params (not the query body).
All values with no default are reset to their zero value.
func (*BillingAccountServiceListParams) WithHTTPClient ¶
func (o *BillingAccountServiceListParams) WithHTTPClient(client *http.Client) *BillingAccountServiceListParams
WithHTTPClient adds the HTTPClient to the billing account service list params
func (*BillingAccountServiceListParams) WithOrganizationID ¶
func (o *BillingAccountServiceListParams) WithOrganizationID(organizationID string) *BillingAccountServiceListParams
WithOrganizationID adds the organizationID to the billing account service list params
func (*BillingAccountServiceListParams) WithPaginationNextPageToken ¶
func (o *BillingAccountServiceListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *BillingAccountServiceListParams
WithPaginationNextPageToken adds the paginationNextPageToken to the billing account service list params
func (*BillingAccountServiceListParams) WithPaginationPageSize ¶
func (o *BillingAccountServiceListParams) WithPaginationPageSize(paginationPageSize *int64) *BillingAccountServiceListParams
WithPaginationPageSize adds the paginationPageSize to the billing account service list params
func (*BillingAccountServiceListParams) WithPaginationPreviousPageToken ¶
func (o *BillingAccountServiceListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *BillingAccountServiceListParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the billing account service list params
func (*BillingAccountServiceListParams) WithTimeout ¶
func (o *BillingAccountServiceListParams) WithTimeout(timeout time.Duration) *BillingAccountServiceListParams
WithTimeout adds the timeout to the billing account service list params
func (*BillingAccountServiceListParams) WriteToRequest ¶
func (o *BillingAccountServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BillingAccountServiceListReader ¶
type BillingAccountServiceListReader struct {
// contains filtered or unexported fields
}
BillingAccountServiceListReader is a Reader for the BillingAccountServiceList structure.
func (*BillingAccountServiceListReader) ReadResponse ¶
func (o *BillingAccountServiceListReader) 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.RuntimeError // 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.RuntimeError
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) 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.RuntimeError // 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.RuntimeError
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) 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.Billing20201105UpdateBillingAccountRequest /* 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.Billing20201105UpdateBillingAccountRequest)
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.Billing20201105UpdateBillingAccountRequest) *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) BillingAccountServiceDeleteBillingAccount ¶
func (a *Client) BillingAccountServiceDeleteBillingAccount(params *BillingAccountServiceDeleteBillingAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceDeleteBillingAccountOK, error)
BillingAccountServiceDeleteBillingAccount deletes deletes an organization s billing account this method does not follow the convention of the file due to swagger conflicts
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) BillingAccountServiceList ¶
func (a *Client) BillingAccountServiceList(params *BillingAccountServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceListOK, error)
BillingAccountServiceList lists an organization s billing accounts
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) BillingAccountServiceDeleteBillingAccount(params *BillingAccountServiceDeleteBillingAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceDeleteBillingAccountOK, error) BillingAccountServiceGet(params *BillingAccountServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceGetOK, error) BillingAccountServiceGetByProject(params *BillingAccountServiceGetByProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceGetByProjectOK, error) BillingAccountServiceList(params *BillingAccountServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BillingAccountServiceListOK, 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_delete_billing_account_parameters.go
- billing_account_service_delete_billing_account_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_responses.go
- billing_account_service_list_parameters.go
- billing_account_service_list_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