Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StatementServiceGetRunningStatement(params *StatementServiceGetRunningStatementParams, ...) (*StatementServiceGetRunningStatementOK, error)
- func (a *Client) StatementServiceGetStatement(params *StatementServiceGetStatementParams, ...) (*StatementServiceGetStatementOK, error)
- func (a *Client) StatementServiceListStatements(params *StatementServiceListStatementsParams, ...) (*StatementServiceListStatementsOK, error)
- type ClientOption
- type ClientService
- type StatementServiceGetRunningStatementDefault
- func (o *StatementServiceGetRunningStatementDefault) Code() int
- func (o *StatementServiceGetRunningStatementDefault) Error() string
- func (o *StatementServiceGetRunningStatementDefault) GetPayload() *models.RuntimeError
- func (o *StatementServiceGetRunningStatementDefault) IsClientError() bool
- func (o *StatementServiceGetRunningStatementDefault) IsCode(code int) bool
- func (o *StatementServiceGetRunningStatementDefault) IsRedirect() bool
- func (o *StatementServiceGetRunningStatementDefault) IsServerError() bool
- func (o *StatementServiceGetRunningStatementDefault) IsSuccess() bool
- func (o *StatementServiceGetRunningStatementDefault) String() string
- type StatementServiceGetRunningStatementOK
- func (o *StatementServiceGetRunningStatementOK) Error() string
- func (o *StatementServiceGetRunningStatementOK) GetPayload() *models.Billing20201105GetRunningStatementResponse
- func (o *StatementServiceGetRunningStatementOK) IsClientError() bool
- func (o *StatementServiceGetRunningStatementOK) IsCode(code int) bool
- func (o *StatementServiceGetRunningStatementOK) IsRedirect() bool
- func (o *StatementServiceGetRunningStatementOK) IsServerError() bool
- func (o *StatementServiceGetRunningStatementOK) IsSuccess() bool
- func (o *StatementServiceGetRunningStatementOK) String() string
- type StatementServiceGetRunningStatementParams
- func NewStatementServiceGetRunningStatementParams() *StatementServiceGetRunningStatementParams
- func NewStatementServiceGetRunningStatementParamsWithContext(ctx context.Context) *StatementServiceGetRunningStatementParams
- func NewStatementServiceGetRunningStatementParamsWithHTTPClient(client *http.Client) *StatementServiceGetRunningStatementParams
- func NewStatementServiceGetRunningStatementParamsWithTimeout(timeout time.Duration) *StatementServiceGetRunningStatementParams
- func (o *StatementServiceGetRunningStatementParams) SetBillingAccountID(billingAccountID string)
- func (o *StatementServiceGetRunningStatementParams) SetContext(ctx context.Context)
- func (o *StatementServiceGetRunningStatementParams) SetDefaults()
- func (o *StatementServiceGetRunningStatementParams) SetHTTPClient(client *http.Client)
- func (o *StatementServiceGetRunningStatementParams) SetOrganizationID(organizationID string)
- func (o *StatementServiceGetRunningStatementParams) SetTimeout(timeout time.Duration)
- func (o *StatementServiceGetRunningStatementParams) WithBillingAccountID(billingAccountID string) *StatementServiceGetRunningStatementParams
- func (o *StatementServiceGetRunningStatementParams) WithContext(ctx context.Context) *StatementServiceGetRunningStatementParams
- func (o *StatementServiceGetRunningStatementParams) WithDefaults() *StatementServiceGetRunningStatementParams
- func (o *StatementServiceGetRunningStatementParams) WithHTTPClient(client *http.Client) *StatementServiceGetRunningStatementParams
- func (o *StatementServiceGetRunningStatementParams) WithOrganizationID(organizationID string) *StatementServiceGetRunningStatementParams
- func (o *StatementServiceGetRunningStatementParams) WithTimeout(timeout time.Duration) *StatementServiceGetRunningStatementParams
- func (o *StatementServiceGetRunningStatementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatementServiceGetRunningStatementReader
- type StatementServiceGetStatementDefault
- func (o *StatementServiceGetStatementDefault) Code() int
- func (o *StatementServiceGetStatementDefault) Error() string
- func (o *StatementServiceGetStatementDefault) GetPayload() *models.RuntimeError
- func (o *StatementServiceGetStatementDefault) IsClientError() bool
- func (o *StatementServiceGetStatementDefault) IsCode(code int) bool
- func (o *StatementServiceGetStatementDefault) IsRedirect() bool
- func (o *StatementServiceGetStatementDefault) IsServerError() bool
- func (o *StatementServiceGetStatementDefault) IsSuccess() bool
- func (o *StatementServiceGetStatementDefault) String() string
- type StatementServiceGetStatementOK
- func (o *StatementServiceGetStatementOK) Error() string
- func (o *StatementServiceGetStatementOK) GetPayload() *models.Billing20201105GetStatementResponse
- func (o *StatementServiceGetStatementOK) IsClientError() bool
- func (o *StatementServiceGetStatementOK) IsCode(code int) bool
- func (o *StatementServiceGetStatementOK) IsRedirect() bool
- func (o *StatementServiceGetStatementOK) IsServerError() bool
- func (o *StatementServiceGetStatementOK) IsSuccess() bool
- func (o *StatementServiceGetStatementOK) String() string
- type StatementServiceGetStatementParams
- func NewStatementServiceGetStatementParams() *StatementServiceGetStatementParams
- func NewStatementServiceGetStatementParamsWithContext(ctx context.Context) *StatementServiceGetStatementParams
- func NewStatementServiceGetStatementParamsWithHTTPClient(client *http.Client) *StatementServiceGetStatementParams
- func NewStatementServiceGetStatementParamsWithTimeout(timeout time.Duration) *StatementServiceGetStatementParams
- func (o *StatementServiceGetStatementParams) SetBillingAccountID(billingAccountID string)
- func (o *StatementServiceGetStatementParams) SetContext(ctx context.Context)
- func (o *StatementServiceGetStatementParams) SetDefaults()
- func (o *StatementServiceGetStatementParams) SetHTTPClient(client *http.Client)
- func (o *StatementServiceGetStatementParams) SetOrganizationID(organizationID string)
- func (o *StatementServiceGetStatementParams) SetStatementID(statementID string)
- func (o *StatementServiceGetStatementParams) SetTimeout(timeout time.Duration)
- func (o *StatementServiceGetStatementParams) WithBillingAccountID(billingAccountID string) *StatementServiceGetStatementParams
- func (o *StatementServiceGetStatementParams) WithContext(ctx context.Context) *StatementServiceGetStatementParams
- func (o *StatementServiceGetStatementParams) WithDefaults() *StatementServiceGetStatementParams
- func (o *StatementServiceGetStatementParams) WithHTTPClient(client *http.Client) *StatementServiceGetStatementParams
- func (o *StatementServiceGetStatementParams) WithOrganizationID(organizationID string) *StatementServiceGetStatementParams
- func (o *StatementServiceGetStatementParams) WithStatementID(statementID string) *StatementServiceGetStatementParams
- func (o *StatementServiceGetStatementParams) WithTimeout(timeout time.Duration) *StatementServiceGetStatementParams
- func (o *StatementServiceGetStatementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatementServiceGetStatementReader
- type StatementServiceListStatementsDefault
- func (o *StatementServiceListStatementsDefault) Code() int
- func (o *StatementServiceListStatementsDefault) Error() string
- func (o *StatementServiceListStatementsDefault) GetPayload() *models.RuntimeError
- func (o *StatementServiceListStatementsDefault) IsClientError() bool
- func (o *StatementServiceListStatementsDefault) IsCode(code int) bool
- func (o *StatementServiceListStatementsDefault) IsRedirect() bool
- func (o *StatementServiceListStatementsDefault) IsServerError() bool
- func (o *StatementServiceListStatementsDefault) IsSuccess() bool
- func (o *StatementServiceListStatementsDefault) String() string
- type StatementServiceListStatementsOK
- func (o *StatementServiceListStatementsOK) Error() string
- func (o *StatementServiceListStatementsOK) GetPayload() *models.Billing20201105ListStatementsResponse
- func (o *StatementServiceListStatementsOK) IsClientError() bool
- func (o *StatementServiceListStatementsOK) IsCode(code int) bool
- func (o *StatementServiceListStatementsOK) IsRedirect() bool
- func (o *StatementServiceListStatementsOK) IsServerError() bool
- func (o *StatementServiceListStatementsOK) IsSuccess() bool
- func (o *StatementServiceListStatementsOK) String() string
- type StatementServiceListStatementsParams
- func NewStatementServiceListStatementsParams() *StatementServiceListStatementsParams
- func NewStatementServiceListStatementsParamsWithContext(ctx context.Context) *StatementServiceListStatementsParams
- func NewStatementServiceListStatementsParamsWithHTTPClient(client *http.Client) *StatementServiceListStatementsParams
- func NewStatementServiceListStatementsParamsWithTimeout(timeout time.Duration) *StatementServiceListStatementsParams
- func (o *StatementServiceListStatementsParams) SetBillingAccountID(billingAccountID string)
- func (o *StatementServiceListStatementsParams) SetContext(ctx context.Context)
- func (o *StatementServiceListStatementsParams) SetDefaults()
- func (o *StatementServiceListStatementsParams) SetHTTPClient(client *http.Client)
- func (o *StatementServiceListStatementsParams) SetOrganizationID(organizationID string)
- func (o *StatementServiceListStatementsParams) SetTimeout(timeout time.Duration)
- func (o *StatementServiceListStatementsParams) WithBillingAccountID(billingAccountID string) *StatementServiceListStatementsParams
- func (o *StatementServiceListStatementsParams) WithContext(ctx context.Context) *StatementServiceListStatementsParams
- func (o *StatementServiceListStatementsParams) WithDefaults() *StatementServiceListStatementsParams
- func (o *StatementServiceListStatementsParams) WithHTTPClient(client *http.Client) *StatementServiceListStatementsParams
- func (o *StatementServiceListStatementsParams) WithOrganizationID(organizationID string) *StatementServiceListStatementsParams
- func (o *StatementServiceListStatementsParams) WithTimeout(timeout time.Duration) *StatementServiceListStatementsParams
- func (o *StatementServiceListStatementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StatementServiceListStatementsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for statement service API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StatementServiceGetRunningStatement ¶
func (a *Client) StatementServiceGetRunningStatement(params *StatementServiceGetRunningStatementParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatementServiceGetRunningStatementOK, error)
StatementServiceGetRunningStatement gets running statement returns a billing account s running statement
func (*Client) StatementServiceGetStatement ¶
func (a *Client) StatementServiceGetStatement(params *StatementServiceGetStatementParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatementServiceGetStatementOK, error)
StatementServiceGetStatement gets statement returns a billing account s monthly statement by ID
func (*Client) StatementServiceListStatements ¶
func (a *Client) StatementServiceListStatements(params *StatementServiceListStatementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatementServiceListStatementsOK, error)
StatementServiceListStatements lists statements returns a billing account s current and historical monthly statements
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { StatementServiceGetRunningStatement(params *StatementServiceGetRunningStatementParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatementServiceGetRunningStatementOK, error) StatementServiceGetStatement(params *StatementServiceGetStatementParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatementServiceGetStatementOK, error) StatementServiceListStatements(params *StatementServiceListStatementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StatementServiceListStatementsOK, 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 statement service API client.
type StatementServiceGetRunningStatementDefault ¶
type StatementServiceGetRunningStatementDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
StatementServiceGetRunningStatementDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewStatementServiceGetRunningStatementDefault ¶
func NewStatementServiceGetRunningStatementDefault(code int) *StatementServiceGetRunningStatementDefault
NewStatementServiceGetRunningStatementDefault creates a StatementServiceGetRunningStatementDefault with default headers values
func (*StatementServiceGetRunningStatementDefault) Code ¶
func (o *StatementServiceGetRunningStatementDefault) Code() int
Code gets the status code for the statement service get running statement default response
func (*StatementServiceGetRunningStatementDefault) Error ¶
func (o *StatementServiceGetRunningStatementDefault) Error() string
func (*StatementServiceGetRunningStatementDefault) GetPayload ¶
func (o *StatementServiceGetRunningStatementDefault) GetPayload() *models.RuntimeError
func (*StatementServiceGetRunningStatementDefault) IsClientError ¶
func (o *StatementServiceGetRunningStatementDefault) IsClientError() bool
IsClientError returns true when this statement service get running statement default response has a 4xx status code
func (*StatementServiceGetRunningStatementDefault) IsCode ¶
func (o *StatementServiceGetRunningStatementDefault) IsCode(code int) bool
IsCode returns true when this statement service get running statement default response a status code equal to that given
func (*StatementServiceGetRunningStatementDefault) IsRedirect ¶
func (o *StatementServiceGetRunningStatementDefault) IsRedirect() bool
IsRedirect returns true when this statement service get running statement default response has a 3xx status code
func (*StatementServiceGetRunningStatementDefault) IsServerError ¶
func (o *StatementServiceGetRunningStatementDefault) IsServerError() bool
IsServerError returns true when this statement service get running statement default response has a 5xx status code
func (*StatementServiceGetRunningStatementDefault) IsSuccess ¶
func (o *StatementServiceGetRunningStatementDefault) IsSuccess() bool
IsSuccess returns true when this statement service get running statement default response has a 2xx status code
func (*StatementServiceGetRunningStatementDefault) String ¶
func (o *StatementServiceGetRunningStatementDefault) String() string
type StatementServiceGetRunningStatementOK ¶
type StatementServiceGetRunningStatementOK struct {
Payload *models.Billing20201105GetRunningStatementResponse
}
StatementServiceGetRunningStatementOK describes a response with status code 200, with default header values.
A successful response.
func NewStatementServiceGetRunningStatementOK ¶
func NewStatementServiceGetRunningStatementOK() *StatementServiceGetRunningStatementOK
NewStatementServiceGetRunningStatementOK creates a StatementServiceGetRunningStatementOK with default headers values
func (*StatementServiceGetRunningStatementOK) Error ¶
func (o *StatementServiceGetRunningStatementOK) Error() string
func (*StatementServiceGetRunningStatementOK) GetPayload ¶
func (o *StatementServiceGetRunningStatementOK) GetPayload() *models.Billing20201105GetRunningStatementResponse
func (*StatementServiceGetRunningStatementOK) IsClientError ¶
func (o *StatementServiceGetRunningStatementOK) IsClientError() bool
IsClientError returns true when this statement service get running statement o k response has a 4xx status code
func (*StatementServiceGetRunningStatementOK) IsCode ¶
func (o *StatementServiceGetRunningStatementOK) IsCode(code int) bool
IsCode returns true when this statement service get running statement o k response a status code equal to that given
func (*StatementServiceGetRunningStatementOK) IsRedirect ¶
func (o *StatementServiceGetRunningStatementOK) IsRedirect() bool
IsRedirect returns true when this statement service get running statement o k response has a 3xx status code
func (*StatementServiceGetRunningStatementOK) IsServerError ¶
func (o *StatementServiceGetRunningStatementOK) IsServerError() bool
IsServerError returns true when this statement service get running statement o k response has a 5xx status code
func (*StatementServiceGetRunningStatementOK) IsSuccess ¶
func (o *StatementServiceGetRunningStatementOK) IsSuccess() bool
IsSuccess returns true when this statement service get running statement o k response has a 2xx status code
func (*StatementServiceGetRunningStatementOK) String ¶
func (o *StatementServiceGetRunningStatementOK) String() string
type StatementServiceGetRunningStatementParams ¶
type StatementServiceGetRunningStatementParams struct { /* BillingAccountID. id is the user-settable ID that uniquely identifies the Billing Account within the organization. */ BillingAccountID 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 }
StatementServiceGetRunningStatementParams contains all the parameters to send to the API endpoint
for the statement service get running statement operation. Typically these are written to a http.Request.
func NewStatementServiceGetRunningStatementParams ¶
func NewStatementServiceGetRunningStatementParams() *StatementServiceGetRunningStatementParams
NewStatementServiceGetRunningStatementParams creates a new StatementServiceGetRunningStatementParams 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 NewStatementServiceGetRunningStatementParamsWithContext ¶
func NewStatementServiceGetRunningStatementParamsWithContext(ctx context.Context) *StatementServiceGetRunningStatementParams
NewStatementServiceGetRunningStatementParamsWithContext creates a new StatementServiceGetRunningStatementParams object with the ability to set a context for a request.
func NewStatementServiceGetRunningStatementParamsWithHTTPClient ¶
func NewStatementServiceGetRunningStatementParamsWithHTTPClient(client *http.Client) *StatementServiceGetRunningStatementParams
NewStatementServiceGetRunningStatementParamsWithHTTPClient creates a new StatementServiceGetRunningStatementParams object with the ability to set a custom HTTPClient for a request.
func NewStatementServiceGetRunningStatementParamsWithTimeout ¶
func NewStatementServiceGetRunningStatementParamsWithTimeout(timeout time.Duration) *StatementServiceGetRunningStatementParams
NewStatementServiceGetRunningStatementParamsWithTimeout creates a new StatementServiceGetRunningStatementParams object with the ability to set a timeout on a request.
func (*StatementServiceGetRunningStatementParams) SetBillingAccountID ¶
func (o *StatementServiceGetRunningStatementParams) SetBillingAccountID(billingAccountID string)
SetBillingAccountID adds the billingAccountId to the statement service get running statement params
func (*StatementServiceGetRunningStatementParams) SetContext ¶
func (o *StatementServiceGetRunningStatementParams) SetContext(ctx context.Context)
SetContext adds the context to the statement service get running statement params
func (*StatementServiceGetRunningStatementParams) SetDefaults ¶
func (o *StatementServiceGetRunningStatementParams) SetDefaults()
SetDefaults hydrates default values in the statement service get running statement params (not the query body).
All values with no default are reset to their zero value.
func (*StatementServiceGetRunningStatementParams) SetHTTPClient ¶
func (o *StatementServiceGetRunningStatementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the statement service get running statement params
func (*StatementServiceGetRunningStatementParams) SetOrganizationID ¶
func (o *StatementServiceGetRunningStatementParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the statement service get running statement params
func (*StatementServiceGetRunningStatementParams) SetTimeout ¶
func (o *StatementServiceGetRunningStatementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the statement service get running statement params
func (*StatementServiceGetRunningStatementParams) WithBillingAccountID ¶
func (o *StatementServiceGetRunningStatementParams) WithBillingAccountID(billingAccountID string) *StatementServiceGetRunningStatementParams
WithBillingAccountID adds the billingAccountID to the statement service get running statement params
func (*StatementServiceGetRunningStatementParams) WithContext ¶
func (o *StatementServiceGetRunningStatementParams) WithContext(ctx context.Context) *StatementServiceGetRunningStatementParams
WithContext adds the context to the statement service get running statement params
func (*StatementServiceGetRunningStatementParams) WithDefaults ¶
func (o *StatementServiceGetRunningStatementParams) WithDefaults() *StatementServiceGetRunningStatementParams
WithDefaults hydrates default values in the statement service get running statement params (not the query body).
All values with no default are reset to their zero value.
func (*StatementServiceGetRunningStatementParams) WithHTTPClient ¶
func (o *StatementServiceGetRunningStatementParams) WithHTTPClient(client *http.Client) *StatementServiceGetRunningStatementParams
WithHTTPClient adds the HTTPClient to the statement service get running statement params
func (*StatementServiceGetRunningStatementParams) WithOrganizationID ¶
func (o *StatementServiceGetRunningStatementParams) WithOrganizationID(organizationID string) *StatementServiceGetRunningStatementParams
WithOrganizationID adds the organizationID to the statement service get running statement params
func (*StatementServiceGetRunningStatementParams) WithTimeout ¶
func (o *StatementServiceGetRunningStatementParams) WithTimeout(timeout time.Duration) *StatementServiceGetRunningStatementParams
WithTimeout adds the timeout to the statement service get running statement params
func (*StatementServiceGetRunningStatementParams) WriteToRequest ¶
func (o *StatementServiceGetRunningStatementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StatementServiceGetRunningStatementReader ¶
type StatementServiceGetRunningStatementReader struct {
// contains filtered or unexported fields
}
StatementServiceGetRunningStatementReader is a Reader for the StatementServiceGetRunningStatement structure.
func (*StatementServiceGetRunningStatementReader) ReadResponse ¶
func (o *StatementServiceGetRunningStatementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StatementServiceGetStatementDefault ¶
type StatementServiceGetStatementDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
StatementServiceGetStatementDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewStatementServiceGetStatementDefault ¶
func NewStatementServiceGetStatementDefault(code int) *StatementServiceGetStatementDefault
NewStatementServiceGetStatementDefault creates a StatementServiceGetStatementDefault with default headers values
func (*StatementServiceGetStatementDefault) Code ¶
func (o *StatementServiceGetStatementDefault) Code() int
Code gets the status code for the statement service get statement default response
func (*StatementServiceGetStatementDefault) Error ¶
func (o *StatementServiceGetStatementDefault) Error() string
func (*StatementServiceGetStatementDefault) GetPayload ¶
func (o *StatementServiceGetStatementDefault) GetPayload() *models.RuntimeError
func (*StatementServiceGetStatementDefault) IsClientError ¶
func (o *StatementServiceGetStatementDefault) IsClientError() bool
IsClientError returns true when this statement service get statement default response has a 4xx status code
func (*StatementServiceGetStatementDefault) IsCode ¶
func (o *StatementServiceGetStatementDefault) IsCode(code int) bool
IsCode returns true when this statement service get statement default response a status code equal to that given
func (*StatementServiceGetStatementDefault) IsRedirect ¶
func (o *StatementServiceGetStatementDefault) IsRedirect() bool
IsRedirect returns true when this statement service get statement default response has a 3xx status code
func (*StatementServiceGetStatementDefault) IsServerError ¶
func (o *StatementServiceGetStatementDefault) IsServerError() bool
IsServerError returns true when this statement service get statement default response has a 5xx status code
func (*StatementServiceGetStatementDefault) IsSuccess ¶
func (o *StatementServiceGetStatementDefault) IsSuccess() bool
IsSuccess returns true when this statement service get statement default response has a 2xx status code
func (*StatementServiceGetStatementDefault) String ¶
func (o *StatementServiceGetStatementDefault) String() string
type StatementServiceGetStatementOK ¶
type StatementServiceGetStatementOK struct {
Payload *models.Billing20201105GetStatementResponse
}
StatementServiceGetStatementOK describes a response with status code 200, with default header values.
A successful response.
func NewStatementServiceGetStatementOK ¶
func NewStatementServiceGetStatementOK() *StatementServiceGetStatementOK
NewStatementServiceGetStatementOK creates a StatementServiceGetStatementOK with default headers values
func (*StatementServiceGetStatementOK) Error ¶
func (o *StatementServiceGetStatementOK) Error() string
func (*StatementServiceGetStatementOK) GetPayload ¶
func (o *StatementServiceGetStatementOK) GetPayload() *models.Billing20201105GetStatementResponse
func (*StatementServiceGetStatementOK) IsClientError ¶
func (o *StatementServiceGetStatementOK) IsClientError() bool
IsClientError returns true when this statement service get statement o k response has a 4xx status code
func (*StatementServiceGetStatementOK) IsCode ¶
func (o *StatementServiceGetStatementOK) IsCode(code int) bool
IsCode returns true when this statement service get statement o k response a status code equal to that given
func (*StatementServiceGetStatementOK) IsRedirect ¶
func (o *StatementServiceGetStatementOK) IsRedirect() bool
IsRedirect returns true when this statement service get statement o k response has a 3xx status code
func (*StatementServiceGetStatementOK) IsServerError ¶
func (o *StatementServiceGetStatementOK) IsServerError() bool
IsServerError returns true when this statement service get statement o k response has a 5xx status code
func (*StatementServiceGetStatementOK) IsSuccess ¶
func (o *StatementServiceGetStatementOK) IsSuccess() bool
IsSuccess returns true when this statement service get statement o k response has a 2xx status code
func (*StatementServiceGetStatementOK) String ¶
func (o *StatementServiceGetStatementOK) String() string
type StatementServiceGetStatementParams ¶
type StatementServiceGetStatementParams struct { /* BillingAccountID. id is the user-settable ID that uniquely identifies the Billing Account within the organization. */ BillingAccountID string /* OrganizationID. organization_id is the ID of the organization to which the Billing Account belongs. */ OrganizationID string /* StatementID. id is the ID that uniquely identifies the monthly statement */ StatementID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StatementServiceGetStatementParams contains all the parameters to send to the API endpoint
for the statement service get statement operation. Typically these are written to a http.Request.
func NewStatementServiceGetStatementParams ¶
func NewStatementServiceGetStatementParams() *StatementServiceGetStatementParams
NewStatementServiceGetStatementParams creates a new StatementServiceGetStatementParams 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 NewStatementServiceGetStatementParamsWithContext ¶
func NewStatementServiceGetStatementParamsWithContext(ctx context.Context) *StatementServiceGetStatementParams
NewStatementServiceGetStatementParamsWithContext creates a new StatementServiceGetStatementParams object with the ability to set a context for a request.
func NewStatementServiceGetStatementParamsWithHTTPClient ¶
func NewStatementServiceGetStatementParamsWithHTTPClient(client *http.Client) *StatementServiceGetStatementParams
NewStatementServiceGetStatementParamsWithHTTPClient creates a new StatementServiceGetStatementParams object with the ability to set a custom HTTPClient for a request.
func NewStatementServiceGetStatementParamsWithTimeout ¶
func NewStatementServiceGetStatementParamsWithTimeout(timeout time.Duration) *StatementServiceGetStatementParams
NewStatementServiceGetStatementParamsWithTimeout creates a new StatementServiceGetStatementParams object with the ability to set a timeout on a request.
func (*StatementServiceGetStatementParams) SetBillingAccountID ¶
func (o *StatementServiceGetStatementParams) SetBillingAccountID(billingAccountID string)
SetBillingAccountID adds the billingAccountId to the statement service get statement params
func (*StatementServiceGetStatementParams) SetContext ¶
func (o *StatementServiceGetStatementParams) SetContext(ctx context.Context)
SetContext adds the context to the statement service get statement params
func (*StatementServiceGetStatementParams) SetDefaults ¶
func (o *StatementServiceGetStatementParams) SetDefaults()
SetDefaults hydrates default values in the statement service get statement params (not the query body).
All values with no default are reset to their zero value.
func (*StatementServiceGetStatementParams) SetHTTPClient ¶
func (o *StatementServiceGetStatementParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the statement service get statement params
func (*StatementServiceGetStatementParams) SetOrganizationID ¶
func (o *StatementServiceGetStatementParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the statement service get statement params
func (*StatementServiceGetStatementParams) SetStatementID ¶
func (o *StatementServiceGetStatementParams) SetStatementID(statementID string)
SetStatementID adds the statementId to the statement service get statement params
func (*StatementServiceGetStatementParams) SetTimeout ¶
func (o *StatementServiceGetStatementParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the statement service get statement params
func (*StatementServiceGetStatementParams) WithBillingAccountID ¶
func (o *StatementServiceGetStatementParams) WithBillingAccountID(billingAccountID string) *StatementServiceGetStatementParams
WithBillingAccountID adds the billingAccountID to the statement service get statement params
func (*StatementServiceGetStatementParams) WithContext ¶
func (o *StatementServiceGetStatementParams) WithContext(ctx context.Context) *StatementServiceGetStatementParams
WithContext adds the context to the statement service get statement params
func (*StatementServiceGetStatementParams) WithDefaults ¶
func (o *StatementServiceGetStatementParams) WithDefaults() *StatementServiceGetStatementParams
WithDefaults hydrates default values in the statement service get statement params (not the query body).
All values with no default are reset to their zero value.
func (*StatementServiceGetStatementParams) WithHTTPClient ¶
func (o *StatementServiceGetStatementParams) WithHTTPClient(client *http.Client) *StatementServiceGetStatementParams
WithHTTPClient adds the HTTPClient to the statement service get statement params
func (*StatementServiceGetStatementParams) WithOrganizationID ¶
func (o *StatementServiceGetStatementParams) WithOrganizationID(organizationID string) *StatementServiceGetStatementParams
WithOrganizationID adds the organizationID to the statement service get statement params
func (*StatementServiceGetStatementParams) WithStatementID ¶
func (o *StatementServiceGetStatementParams) WithStatementID(statementID string) *StatementServiceGetStatementParams
WithStatementID adds the statementID to the statement service get statement params
func (*StatementServiceGetStatementParams) WithTimeout ¶
func (o *StatementServiceGetStatementParams) WithTimeout(timeout time.Duration) *StatementServiceGetStatementParams
WithTimeout adds the timeout to the statement service get statement params
func (*StatementServiceGetStatementParams) WriteToRequest ¶
func (o *StatementServiceGetStatementParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StatementServiceGetStatementReader ¶
type StatementServiceGetStatementReader struct {
// contains filtered or unexported fields
}
StatementServiceGetStatementReader is a Reader for the StatementServiceGetStatement structure.
func (*StatementServiceGetStatementReader) ReadResponse ¶
func (o *StatementServiceGetStatementReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StatementServiceListStatementsDefault ¶
type StatementServiceListStatementsDefault struct { Payload *models.RuntimeError // contains filtered or unexported fields }
StatementServiceListStatementsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewStatementServiceListStatementsDefault ¶
func NewStatementServiceListStatementsDefault(code int) *StatementServiceListStatementsDefault
NewStatementServiceListStatementsDefault creates a StatementServiceListStatementsDefault with default headers values
func (*StatementServiceListStatementsDefault) Code ¶
func (o *StatementServiceListStatementsDefault) Code() int
Code gets the status code for the statement service list statements default response
func (*StatementServiceListStatementsDefault) Error ¶
func (o *StatementServiceListStatementsDefault) Error() string
func (*StatementServiceListStatementsDefault) GetPayload ¶
func (o *StatementServiceListStatementsDefault) GetPayload() *models.RuntimeError
func (*StatementServiceListStatementsDefault) IsClientError ¶
func (o *StatementServiceListStatementsDefault) IsClientError() bool
IsClientError returns true when this statement service list statements default response has a 4xx status code
func (*StatementServiceListStatementsDefault) IsCode ¶
func (o *StatementServiceListStatementsDefault) IsCode(code int) bool
IsCode returns true when this statement service list statements default response a status code equal to that given
func (*StatementServiceListStatementsDefault) IsRedirect ¶
func (o *StatementServiceListStatementsDefault) IsRedirect() bool
IsRedirect returns true when this statement service list statements default response has a 3xx status code
func (*StatementServiceListStatementsDefault) IsServerError ¶
func (o *StatementServiceListStatementsDefault) IsServerError() bool
IsServerError returns true when this statement service list statements default response has a 5xx status code
func (*StatementServiceListStatementsDefault) IsSuccess ¶
func (o *StatementServiceListStatementsDefault) IsSuccess() bool
IsSuccess returns true when this statement service list statements default response has a 2xx status code
func (*StatementServiceListStatementsDefault) String ¶
func (o *StatementServiceListStatementsDefault) String() string
type StatementServiceListStatementsOK ¶
type StatementServiceListStatementsOK struct {
Payload *models.Billing20201105ListStatementsResponse
}
StatementServiceListStatementsOK describes a response with status code 200, with default header values.
A successful response.
func NewStatementServiceListStatementsOK ¶
func NewStatementServiceListStatementsOK() *StatementServiceListStatementsOK
NewStatementServiceListStatementsOK creates a StatementServiceListStatementsOK with default headers values
func (*StatementServiceListStatementsOK) Error ¶
func (o *StatementServiceListStatementsOK) Error() string
func (*StatementServiceListStatementsOK) GetPayload ¶
func (o *StatementServiceListStatementsOK) GetPayload() *models.Billing20201105ListStatementsResponse
func (*StatementServiceListStatementsOK) IsClientError ¶
func (o *StatementServiceListStatementsOK) IsClientError() bool
IsClientError returns true when this statement service list statements o k response has a 4xx status code
func (*StatementServiceListStatementsOK) IsCode ¶
func (o *StatementServiceListStatementsOK) IsCode(code int) bool
IsCode returns true when this statement service list statements o k response a status code equal to that given
func (*StatementServiceListStatementsOK) IsRedirect ¶
func (o *StatementServiceListStatementsOK) IsRedirect() bool
IsRedirect returns true when this statement service list statements o k response has a 3xx status code
func (*StatementServiceListStatementsOK) IsServerError ¶
func (o *StatementServiceListStatementsOK) IsServerError() bool
IsServerError returns true when this statement service list statements o k response has a 5xx status code
func (*StatementServiceListStatementsOK) IsSuccess ¶
func (o *StatementServiceListStatementsOK) IsSuccess() bool
IsSuccess returns true when this statement service list statements o k response has a 2xx status code
func (*StatementServiceListStatementsOK) String ¶
func (o *StatementServiceListStatementsOK) String() string
type StatementServiceListStatementsParams ¶
type StatementServiceListStatementsParams struct { /* BillingAccountID. id is the user-settable ID that uniquely identifies the Billing Account within the organization. */ BillingAccountID 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 }
StatementServiceListStatementsParams contains all the parameters to send to the API endpoint
for the statement service list statements operation. Typically these are written to a http.Request.
func NewStatementServiceListStatementsParams ¶
func NewStatementServiceListStatementsParams() *StatementServiceListStatementsParams
NewStatementServiceListStatementsParams creates a new StatementServiceListStatementsParams 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 NewStatementServiceListStatementsParamsWithContext ¶
func NewStatementServiceListStatementsParamsWithContext(ctx context.Context) *StatementServiceListStatementsParams
NewStatementServiceListStatementsParamsWithContext creates a new StatementServiceListStatementsParams object with the ability to set a context for a request.
func NewStatementServiceListStatementsParamsWithHTTPClient ¶
func NewStatementServiceListStatementsParamsWithHTTPClient(client *http.Client) *StatementServiceListStatementsParams
NewStatementServiceListStatementsParamsWithHTTPClient creates a new StatementServiceListStatementsParams object with the ability to set a custom HTTPClient for a request.
func NewStatementServiceListStatementsParamsWithTimeout ¶
func NewStatementServiceListStatementsParamsWithTimeout(timeout time.Duration) *StatementServiceListStatementsParams
NewStatementServiceListStatementsParamsWithTimeout creates a new StatementServiceListStatementsParams object with the ability to set a timeout on a request.
func (*StatementServiceListStatementsParams) SetBillingAccountID ¶
func (o *StatementServiceListStatementsParams) SetBillingAccountID(billingAccountID string)
SetBillingAccountID adds the billingAccountId to the statement service list statements params
func (*StatementServiceListStatementsParams) SetContext ¶
func (o *StatementServiceListStatementsParams) SetContext(ctx context.Context)
SetContext adds the context to the statement service list statements params
func (*StatementServiceListStatementsParams) SetDefaults ¶
func (o *StatementServiceListStatementsParams) SetDefaults()
SetDefaults hydrates default values in the statement service list statements params (not the query body).
All values with no default are reset to their zero value.
func (*StatementServiceListStatementsParams) SetHTTPClient ¶
func (o *StatementServiceListStatementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the statement service list statements params
func (*StatementServiceListStatementsParams) SetOrganizationID ¶
func (o *StatementServiceListStatementsParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the statement service list statements params
func (*StatementServiceListStatementsParams) SetTimeout ¶
func (o *StatementServiceListStatementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the statement service list statements params
func (*StatementServiceListStatementsParams) WithBillingAccountID ¶
func (o *StatementServiceListStatementsParams) WithBillingAccountID(billingAccountID string) *StatementServiceListStatementsParams
WithBillingAccountID adds the billingAccountID to the statement service list statements params
func (*StatementServiceListStatementsParams) WithContext ¶
func (o *StatementServiceListStatementsParams) WithContext(ctx context.Context) *StatementServiceListStatementsParams
WithContext adds the context to the statement service list statements params
func (*StatementServiceListStatementsParams) WithDefaults ¶
func (o *StatementServiceListStatementsParams) WithDefaults() *StatementServiceListStatementsParams
WithDefaults hydrates default values in the statement service list statements params (not the query body).
All values with no default are reset to their zero value.
func (*StatementServiceListStatementsParams) WithHTTPClient ¶
func (o *StatementServiceListStatementsParams) WithHTTPClient(client *http.Client) *StatementServiceListStatementsParams
WithHTTPClient adds the HTTPClient to the statement service list statements params
func (*StatementServiceListStatementsParams) WithOrganizationID ¶
func (o *StatementServiceListStatementsParams) WithOrganizationID(organizationID string) *StatementServiceListStatementsParams
WithOrganizationID adds the organizationID to the statement service list statements params
func (*StatementServiceListStatementsParams) WithTimeout ¶
func (o *StatementServiceListStatementsParams) WithTimeout(timeout time.Duration) *StatementServiceListStatementsParams
WithTimeout adds the timeout to the statement service list statements params
func (*StatementServiceListStatementsParams) WriteToRequest ¶
func (o *StatementServiceListStatementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StatementServiceListStatementsReader ¶
type StatementServiceListStatementsReader struct {
// contains filtered or unexported fields
}
StatementServiceListStatementsReader is a Reader for the StatementServiceListStatements structure.
func (*StatementServiceListStatementsReader) ReadResponse ¶
func (o *StatementServiceListStatementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- statement_service_client.go
- statement_service_get_running_statement_parameters.go
- statement_service_get_running_statement_responses.go
- statement_service_get_statement_parameters.go
- statement_service_get_statement_responses.go
- statement_service_list_statements_parameters.go
- statement_service_list_statements_responses.go