billing_account_service

package
v0.72.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

Code gets the status code for the billing account service create default response

func (*BillingAccountServiceCreateDefault) Error

func (*BillingAccountServiceCreateDefault) GetPayload

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

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

IsSuccess returns true when this billing account service create default response has a 2xx status code

func (*BillingAccountServiceCreateDefault) 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 (*BillingAccountServiceCreateOK) GetPayload

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

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

SetBody adds the body to the billing account service create params

func (*BillingAccountServiceCreateParams) SetContext

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

WithBody adds the body to the billing account service create params

func (*BillingAccountServiceCreateParams) WithContext

WithContext adds the context to the billing account service create params

func (*BillingAccountServiceCreateParams) WithDefaults

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

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

WithTimeout adds the timeout to the billing account service create params

func (*BillingAccountServiceCreateParams) WriteToRequest

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

Code gets the status code for the billing account service create setup intent default response

func (*BillingAccountServiceCreateSetupIntentDefault) Error

func (*BillingAccountServiceCreateSetupIntentDefault) GetPayload

func (*BillingAccountServiceCreateSetupIntentDefault) IsClientError

IsClientError returns true when this billing account service create setup intent default response has a 4xx status code

func (*BillingAccountServiceCreateSetupIntentDefault) IsCode

IsCode returns true when this billing account service create setup intent default response a status code equal to that given

func (*BillingAccountServiceCreateSetupIntentDefault) IsRedirect

IsRedirect returns true when this billing account service create setup intent default response has a 3xx status code

func (*BillingAccountServiceCreateSetupIntentDefault) IsServerError

IsServerError returns true when this billing account service create setup intent default response has a 5xx status code

func (*BillingAccountServiceCreateSetupIntentDefault) IsSuccess

IsSuccess returns true when this billing account service create setup intent default response has a 2xx status code

func (*BillingAccountServiceCreateSetupIntentDefault) 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 (*BillingAccountServiceCreateSetupIntentOK) GetPayload

func (*BillingAccountServiceCreateSetupIntentOK) IsClientError

IsClientError returns true when this billing account service create setup intent o k response has a 4xx status code

func (*BillingAccountServiceCreateSetupIntentOK) IsCode

IsCode returns true when this billing account service create setup intent o k response a status code equal to that given

func (*BillingAccountServiceCreateSetupIntentOK) IsRedirect

IsRedirect returns true when this billing account service create setup intent o k response has a 3xx status code

func (*BillingAccountServiceCreateSetupIntentOK) IsServerError

IsServerError returns true when this billing account service create setup intent o k response has a 5xx status code

func (*BillingAccountServiceCreateSetupIntentOK) IsSuccess

IsSuccess returns true when this billing account service create setup intent o k response has a 2xx status code

func (*BillingAccountServiceCreateSetupIntentOK) 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

SetContext adds the context to the billing account service create setup intent params

func (*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

SetTimeout adds the timeout to the billing account service create setup intent params

func (*BillingAccountServiceCreateSetupIntentParams) WithContext

WithContext adds the context to the billing account service create setup intent params

func (*BillingAccountServiceCreateSetupIntentParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the billing account service create setup intent params

func (*BillingAccountServiceCreateSetupIntentParams) WithOrganizationID

WithOrganizationID adds the organizationID to the billing account service create setup intent params

func (*BillingAccountServiceCreateSetupIntentParams) WithTimeout

WithTimeout adds the timeout to the billing account service create setup intent params

func (*BillingAccountServiceCreateSetupIntentParams) WriteToRequest

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

Code gets the status code for the billing account service delete billing account default response

func (*BillingAccountServiceDeleteBillingAccountDefault) Error

func (*BillingAccountServiceDeleteBillingAccountDefault) GetPayload

func (*BillingAccountServiceDeleteBillingAccountDefault) IsClientError

IsClientError returns true when this billing account service delete billing account default response has a 4xx status code

func (*BillingAccountServiceDeleteBillingAccountDefault) IsCode

IsCode returns true when this billing account service delete billing account default response a status code equal to that given

func (*BillingAccountServiceDeleteBillingAccountDefault) IsRedirect

IsRedirect returns true when this billing account service delete billing account default response has a 3xx status code

func (*BillingAccountServiceDeleteBillingAccountDefault) IsServerError

IsServerError returns true when this billing account service delete billing account default response has a 5xx status code

func (*BillingAccountServiceDeleteBillingAccountDefault) IsSuccess

IsSuccess returns true when this billing account service delete billing account default response has a 2xx status code

func (*BillingAccountServiceDeleteBillingAccountDefault) 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 (*BillingAccountServiceDeleteBillingAccountOK) GetPayload

func (*BillingAccountServiceDeleteBillingAccountOK) IsClientError

IsClientError returns true when this billing account service delete billing account o k response has a 4xx status code

func (*BillingAccountServiceDeleteBillingAccountOK) IsCode

IsCode returns true when this billing account service delete billing account o k response a status code equal to that given

func (*BillingAccountServiceDeleteBillingAccountOK) IsRedirect

IsRedirect returns true when this billing account service delete billing account o k response has a 3xx status code

func (*BillingAccountServiceDeleteBillingAccountOK) IsServerError

IsServerError returns true when this billing account service delete billing account o k response has a 5xx status code

func (*BillingAccountServiceDeleteBillingAccountOK) IsSuccess

IsSuccess returns true when this billing account service delete billing account o k response has a 2xx status code

func (*BillingAccountServiceDeleteBillingAccountOK) 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

SetContext adds the context to the billing account service delete billing account params

func (*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

SetHTTPClient adds the HTTPClient to the billing account service delete billing account params

func (*BillingAccountServiceDeleteBillingAccountParams) SetID

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

SetTimeout adds the timeout to the billing account service delete billing account params

func (*BillingAccountServiceDeleteBillingAccountParams) WithContext

WithContext adds the context to the billing account service delete billing account params

func (*BillingAccountServiceDeleteBillingAccountParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the billing account service delete billing account params

func (*BillingAccountServiceDeleteBillingAccountParams) WithID

WithID adds the id to the billing account service delete billing account params

func (*BillingAccountServiceDeleteBillingAccountParams) WithOrganizationID

WithOrganizationID adds the organizationID to the billing account service delete billing account params

func (*BillingAccountServiceDeleteBillingAccountParams) WithTimeout

WithTimeout adds the timeout to the billing account service delete billing account params

func (*BillingAccountServiceDeleteBillingAccountParams) WriteToRequest

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

Code gets the status code for the billing account service get by project default response

func (*BillingAccountServiceGetByProjectDefault) Error

func (*BillingAccountServiceGetByProjectDefault) GetPayload

func (*BillingAccountServiceGetByProjectDefault) IsClientError

IsClientError returns true when this billing account service get by project default response has a 4xx status code

func (*BillingAccountServiceGetByProjectDefault) IsCode

IsCode returns true when this billing account service get by project default response a status code equal to that given

func (*BillingAccountServiceGetByProjectDefault) IsRedirect

IsRedirect returns true when this billing account service get by project default response has a 3xx status code

func (*BillingAccountServiceGetByProjectDefault) IsServerError

IsServerError returns true when this billing account service get by project default response has a 5xx status code

func (*BillingAccountServiceGetByProjectDefault) IsSuccess

IsSuccess returns true when this billing account service get by project default response has a 2xx status code

func (*BillingAccountServiceGetByProjectDefault) 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 (*BillingAccountServiceGetByProjectOK) GetPayload

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

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

IsSuccess returns true when this billing account service get by project o k response has a 2xx status code

func (*BillingAccountServiceGetByProjectOK) 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

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

WithContext adds the context to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) WithOrganizationID

WithOrganizationID adds the organizationID to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) WithProjectID

WithProjectID adds the projectID to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) WithTimeout

WithTimeout adds the timeout to the billing account service get by project params

func (*BillingAccountServiceGetByProjectParams) WriteToRequest

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

Code gets the status code for the billing account service get default response

func (*BillingAccountServiceGetDefault) Error

func (*BillingAccountServiceGetDefault) GetPayload

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

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 (*BillingAccountServiceGetOK) GetPayload

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

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

WithContext adds the context to the billing account service get params

func (*BillingAccountServiceGetParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the billing account service get params

func (*BillingAccountServiceGetParams) WithID

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

WithTimeout adds the timeout to the billing account service get params

func (*BillingAccountServiceGetParams) WriteToRequest

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

Code gets the status code for the billing account service list default response

func (*BillingAccountServiceListDefault) Error

func (*BillingAccountServiceListDefault) GetPayload

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

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 (*BillingAccountServiceListOK) GetPayload

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

WithContext adds the context to the billing account service list params

func (*BillingAccountServiceListParams) WithDefaults

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

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

WithTimeout adds the timeout to the billing account service list params

func (*BillingAccountServiceListParams) WriteToRequest

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

Code gets the status code for the billing account service remove on demand payment method default response

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) Error

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) GetPayload

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsClientError

IsClientError returns true when this billing account service remove on demand payment method default response has a 4xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsCode

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

IsRedirect returns true when this billing account service remove on demand payment method default response has a 3xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsServerError

IsServerError returns true when this billing account service remove on demand payment method default response has a 5xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) IsSuccess

IsSuccess returns true when this billing account service remove on demand payment method default response has a 2xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodDefault) 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 (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) GetPayload

func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsClientError

IsClientError returns true when this billing account service remove on demand payment method o k response has a 4xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsCode

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

IsRedirect returns true when this billing account service remove on demand payment method o k response has a 3xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsServerError

IsServerError returns true when this billing account service remove on demand payment method o k response has a 5xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) IsSuccess

IsSuccess returns true when this billing account service remove on demand payment method o k response has a 2xx status code

func (*BillingAccountServiceRemoveOnDemandPaymentMethodOK) 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

SetContext adds the context to the billing account service remove on demand payment method params

func (*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

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

SetTimeout adds the timeout to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithBillingAccountID

WithBillingAccountID adds the billingAccountID to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithContext

WithContext adds the context to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithOrganizationID

WithOrganizationID adds the organizationID to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WithTimeout

WithTimeout adds the timeout to the billing account service remove on demand payment method params

func (*BillingAccountServiceRemoveOnDemandPaymentMethodParams) WriteToRequest

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

Code gets the status code for the billing account service update default response

func (*BillingAccountServiceUpdateDefault) Error

func (*BillingAccountServiceUpdateDefault) GetPayload

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

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

IsSuccess returns true when this billing account service update default response has a 2xx status code

func (*BillingAccountServiceUpdateDefault) 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 (*BillingAccountServiceUpdateOK) GetPayload

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

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

SetBody adds the body to the billing account service update params

func (*BillingAccountServiceUpdateParams) SetContext

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

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

WithBody adds the body to the billing account service update params

func (*BillingAccountServiceUpdateParams) WithContext

WithContext adds the context to the billing account service update params

func (*BillingAccountServiceUpdateParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the billing account service update params

func (*BillingAccountServiceUpdateParams) WithID

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

WithTimeout adds the timeout to the billing account service update params

func (*BillingAccountServiceUpdateParams) WriteToRequest

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

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

https://stripe.com/docs/payments/setup-intents

func (*Client) BillingAccountServiceDeleteBillingAccount

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL