Documentation ¶
Index ¶
- type Client
- func (a *Client) ContractServiceGetContract(params *ContractServiceGetContractParams, ...) (*ContractServiceGetContractOK, error)
- func (a *Client) ContractServiceListContracts(params *ContractServiceListContractsParams, ...) (*ContractServiceListContractsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ContractServiceGetContractDefault
- func (o *ContractServiceGetContractDefault) Code() int
- func (o *ContractServiceGetContractDefault) Error() string
- func (o *ContractServiceGetContractDefault) GetPayload() *models.GooglerpcStatus
- func (o *ContractServiceGetContractDefault) IsClientError() bool
- func (o *ContractServiceGetContractDefault) IsCode(code int) bool
- func (o *ContractServiceGetContractDefault) IsRedirect() bool
- func (o *ContractServiceGetContractDefault) IsServerError() bool
- func (o *ContractServiceGetContractDefault) IsSuccess() bool
- func (o *ContractServiceGetContractDefault) String() string
- type ContractServiceGetContractOK
- func (o *ContractServiceGetContractOK) Code() int
- func (o *ContractServiceGetContractOK) Error() string
- func (o *ContractServiceGetContractOK) GetPayload() *models.Billing20201105GetContractResponse
- func (o *ContractServiceGetContractOK) IsClientError() bool
- func (o *ContractServiceGetContractOK) IsCode(code int) bool
- func (o *ContractServiceGetContractOK) IsRedirect() bool
- func (o *ContractServiceGetContractOK) IsServerError() bool
- func (o *ContractServiceGetContractOK) IsSuccess() bool
- func (o *ContractServiceGetContractOK) String() string
- type ContractServiceGetContractParams
- func NewContractServiceGetContractParams() *ContractServiceGetContractParams
- func NewContractServiceGetContractParamsWithContext(ctx context.Context) *ContractServiceGetContractParams
- func NewContractServiceGetContractParamsWithHTTPClient(client *http.Client) *ContractServiceGetContractParams
- func NewContractServiceGetContractParamsWithTimeout(timeout time.Duration) *ContractServiceGetContractParams
- func (o *ContractServiceGetContractParams) SetBillingAccountID(billingAccountID string)
- func (o *ContractServiceGetContractParams) SetContext(ctx context.Context)
- func (o *ContractServiceGetContractParams) SetContractID(contractID string)
- func (o *ContractServiceGetContractParams) SetDefaults()
- func (o *ContractServiceGetContractParams) SetHTTPClient(client *http.Client)
- func (o *ContractServiceGetContractParams) SetOrganizationID(organizationID string)
- func (o *ContractServiceGetContractParams) SetTimeout(timeout time.Duration)
- func (o *ContractServiceGetContractParams) WithBillingAccountID(billingAccountID string) *ContractServiceGetContractParams
- func (o *ContractServiceGetContractParams) WithContext(ctx context.Context) *ContractServiceGetContractParams
- func (o *ContractServiceGetContractParams) WithContractID(contractID string) *ContractServiceGetContractParams
- func (o *ContractServiceGetContractParams) WithDefaults() *ContractServiceGetContractParams
- func (o *ContractServiceGetContractParams) WithHTTPClient(client *http.Client) *ContractServiceGetContractParams
- func (o *ContractServiceGetContractParams) WithOrganizationID(organizationID string) *ContractServiceGetContractParams
- func (o *ContractServiceGetContractParams) WithTimeout(timeout time.Duration) *ContractServiceGetContractParams
- func (o *ContractServiceGetContractParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractServiceGetContractReader
- type ContractServiceListContractsDefault
- func (o *ContractServiceListContractsDefault) Code() int
- func (o *ContractServiceListContractsDefault) Error() string
- func (o *ContractServiceListContractsDefault) GetPayload() *models.GooglerpcStatus
- func (o *ContractServiceListContractsDefault) IsClientError() bool
- func (o *ContractServiceListContractsDefault) IsCode(code int) bool
- func (o *ContractServiceListContractsDefault) IsRedirect() bool
- func (o *ContractServiceListContractsDefault) IsServerError() bool
- func (o *ContractServiceListContractsDefault) IsSuccess() bool
- func (o *ContractServiceListContractsDefault) String() string
- type ContractServiceListContractsOK
- func (o *ContractServiceListContractsOK) Code() int
- func (o *ContractServiceListContractsOK) Error() string
- func (o *ContractServiceListContractsOK) GetPayload() *models.Billing20201105ListContractsResponse
- func (o *ContractServiceListContractsOK) IsClientError() bool
- func (o *ContractServiceListContractsOK) IsCode(code int) bool
- func (o *ContractServiceListContractsOK) IsRedirect() bool
- func (o *ContractServiceListContractsOK) IsServerError() bool
- func (o *ContractServiceListContractsOK) IsSuccess() bool
- func (o *ContractServiceListContractsOK) String() string
- type ContractServiceListContractsParams
- func NewContractServiceListContractsParams() *ContractServiceListContractsParams
- func NewContractServiceListContractsParamsWithContext(ctx context.Context) *ContractServiceListContractsParams
- func NewContractServiceListContractsParamsWithHTTPClient(client *http.Client) *ContractServiceListContractsParams
- func NewContractServiceListContractsParamsWithTimeout(timeout time.Duration) *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) SetBillingAccountID(billingAccountID string)
- func (o *ContractServiceListContractsParams) SetByActiveFrom(byActiveFrom *strfmt.DateTime)
- func (o *ContractServiceListContractsParams) SetByActiveUntil(byActiveUntil *strfmt.DateTime)
- func (o *ContractServiceListContractsParams) SetByStatus(byStatus []string)
- func (o *ContractServiceListContractsParams) SetContext(ctx context.Context)
- func (o *ContractServiceListContractsParams) SetDefaults()
- func (o *ContractServiceListContractsParams) SetHTTPClient(client *http.Client)
- func (o *ContractServiceListContractsParams) SetOrganizationID(organizationID string)
- func (o *ContractServiceListContractsParams) SetTimeout(timeout time.Duration)
- func (o *ContractServiceListContractsParams) WithBillingAccountID(billingAccountID string) *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) WithByActiveFrom(byActiveFrom *strfmt.DateTime) *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) WithByActiveUntil(byActiveUntil *strfmt.DateTime) *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) WithByStatus(byStatus []string) *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) WithContext(ctx context.Context) *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) WithDefaults() *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) WithHTTPClient(client *http.Client) *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) WithOrganizationID(organizationID string) *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) WithTimeout(timeout time.Duration) *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractServiceListContractsReader
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 contract service API
func (*Client) ContractServiceGetContract ¶
func (a *Client) ContractServiceGetContract(params *ContractServiceGetContractParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContractServiceGetContractOK, error)
ContractServiceGetContract gets contract returns a contract by its public ID
func (*Client) ContractServiceListContracts ¶
func (a *Client) ContractServiceListContracts(params *ContractServiceListContractsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContractServiceListContractsOK, error)
ContractServiceListContracts lists contracts returns a list of a billing account s contracts optionally filtered
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 { ContractServiceGetContract(params *ContractServiceGetContractParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContractServiceGetContractOK, error) ContractServiceListContracts(params *ContractServiceListContractsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContractServiceListContractsOK, 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 contract service API client.
type ContractServiceGetContractDefault ¶
type ContractServiceGetContractDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
ContractServiceGetContractDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewContractServiceGetContractDefault ¶
func NewContractServiceGetContractDefault(code int) *ContractServiceGetContractDefault
NewContractServiceGetContractDefault creates a ContractServiceGetContractDefault with default headers values
func (*ContractServiceGetContractDefault) Code ¶
func (o *ContractServiceGetContractDefault) Code() int
Code gets the status code for the contract service get contract default response
func (*ContractServiceGetContractDefault) Error ¶
func (o *ContractServiceGetContractDefault) Error() string
func (*ContractServiceGetContractDefault) GetPayload ¶
func (o *ContractServiceGetContractDefault) GetPayload() *models.GooglerpcStatus
func (*ContractServiceGetContractDefault) IsClientError ¶
func (o *ContractServiceGetContractDefault) IsClientError() bool
IsClientError returns true when this contract service get contract default response has a 4xx status code
func (*ContractServiceGetContractDefault) IsCode ¶
func (o *ContractServiceGetContractDefault) IsCode(code int) bool
IsCode returns true when this contract service get contract default response a status code equal to that given
func (*ContractServiceGetContractDefault) IsRedirect ¶
func (o *ContractServiceGetContractDefault) IsRedirect() bool
IsRedirect returns true when this contract service get contract default response has a 3xx status code
func (*ContractServiceGetContractDefault) IsServerError ¶
func (o *ContractServiceGetContractDefault) IsServerError() bool
IsServerError returns true when this contract service get contract default response has a 5xx status code
func (*ContractServiceGetContractDefault) IsSuccess ¶
func (o *ContractServiceGetContractDefault) IsSuccess() bool
IsSuccess returns true when this contract service get contract default response has a 2xx status code
func (*ContractServiceGetContractDefault) String ¶
func (o *ContractServiceGetContractDefault) String() string
type ContractServiceGetContractOK ¶
type ContractServiceGetContractOK struct {
Payload *models.Billing20201105GetContractResponse
}
ContractServiceGetContractOK describes a response with status code 200, with default header values.
A successful response.
func NewContractServiceGetContractOK ¶
func NewContractServiceGetContractOK() *ContractServiceGetContractOK
NewContractServiceGetContractOK creates a ContractServiceGetContractOK with default headers values
func (*ContractServiceGetContractOK) Code ¶
func (o *ContractServiceGetContractOK) Code() int
Code gets the status code for the contract service get contract o k response
func (*ContractServiceGetContractOK) Error ¶
func (o *ContractServiceGetContractOK) Error() string
func (*ContractServiceGetContractOK) GetPayload ¶
func (o *ContractServiceGetContractOK) GetPayload() *models.Billing20201105GetContractResponse
func (*ContractServiceGetContractOK) IsClientError ¶
func (o *ContractServiceGetContractOK) IsClientError() bool
IsClientError returns true when this contract service get contract o k response has a 4xx status code
func (*ContractServiceGetContractOK) IsCode ¶
func (o *ContractServiceGetContractOK) IsCode(code int) bool
IsCode returns true when this contract service get contract o k response a status code equal to that given
func (*ContractServiceGetContractOK) IsRedirect ¶
func (o *ContractServiceGetContractOK) IsRedirect() bool
IsRedirect returns true when this contract service get contract o k response has a 3xx status code
func (*ContractServiceGetContractOK) IsServerError ¶
func (o *ContractServiceGetContractOK) IsServerError() bool
IsServerError returns true when this contract service get contract o k response has a 5xx status code
func (*ContractServiceGetContractOK) IsSuccess ¶
func (o *ContractServiceGetContractOK) IsSuccess() bool
IsSuccess returns true when this contract service get contract o k response has a 2xx status code
func (*ContractServiceGetContractOK) String ¶
func (o *ContractServiceGetContractOK) String() string
type ContractServiceGetContractParams ¶
type ContractServiceGetContractParams struct { /* BillingAccountID. blling_account_id is the identifier of the contract's billing account. */ BillingAccountID string /* ContractID. contract_id is the public identifier for the requested contract. */ ContractID string /* OrganizationID. organization_id is the organization where the contract's billing account belongs. */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContractServiceGetContractParams contains all the parameters to send to the API endpoint
for the contract service get contract operation. Typically these are written to a http.Request.
func NewContractServiceGetContractParams ¶
func NewContractServiceGetContractParams() *ContractServiceGetContractParams
NewContractServiceGetContractParams creates a new ContractServiceGetContractParams 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 NewContractServiceGetContractParamsWithContext ¶
func NewContractServiceGetContractParamsWithContext(ctx context.Context) *ContractServiceGetContractParams
NewContractServiceGetContractParamsWithContext creates a new ContractServiceGetContractParams object with the ability to set a context for a request.
func NewContractServiceGetContractParamsWithHTTPClient ¶
func NewContractServiceGetContractParamsWithHTTPClient(client *http.Client) *ContractServiceGetContractParams
NewContractServiceGetContractParamsWithHTTPClient creates a new ContractServiceGetContractParams object with the ability to set a custom HTTPClient for a request.
func NewContractServiceGetContractParamsWithTimeout ¶
func NewContractServiceGetContractParamsWithTimeout(timeout time.Duration) *ContractServiceGetContractParams
NewContractServiceGetContractParamsWithTimeout creates a new ContractServiceGetContractParams object with the ability to set a timeout on a request.
func (*ContractServiceGetContractParams) SetBillingAccountID ¶
func (o *ContractServiceGetContractParams) SetBillingAccountID(billingAccountID string)
SetBillingAccountID adds the billingAccountId to the contract service get contract params
func (*ContractServiceGetContractParams) SetContext ¶
func (o *ContractServiceGetContractParams) SetContext(ctx context.Context)
SetContext adds the context to the contract service get contract params
func (*ContractServiceGetContractParams) SetContractID ¶
func (o *ContractServiceGetContractParams) SetContractID(contractID string)
SetContractID adds the contractId to the contract service get contract params
func (*ContractServiceGetContractParams) SetDefaults ¶
func (o *ContractServiceGetContractParams) SetDefaults()
SetDefaults hydrates default values in the contract service get contract params (not the query body).
All values with no default are reset to their zero value.
func (*ContractServiceGetContractParams) SetHTTPClient ¶
func (o *ContractServiceGetContractParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the contract service get contract params
func (*ContractServiceGetContractParams) SetOrganizationID ¶
func (o *ContractServiceGetContractParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the contract service get contract params
func (*ContractServiceGetContractParams) SetTimeout ¶
func (o *ContractServiceGetContractParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the contract service get contract params
func (*ContractServiceGetContractParams) WithBillingAccountID ¶
func (o *ContractServiceGetContractParams) WithBillingAccountID(billingAccountID string) *ContractServiceGetContractParams
WithBillingAccountID adds the billingAccountID to the contract service get contract params
func (*ContractServiceGetContractParams) WithContext ¶
func (o *ContractServiceGetContractParams) WithContext(ctx context.Context) *ContractServiceGetContractParams
WithContext adds the context to the contract service get contract params
func (*ContractServiceGetContractParams) WithContractID ¶
func (o *ContractServiceGetContractParams) WithContractID(contractID string) *ContractServiceGetContractParams
WithContractID adds the contractID to the contract service get contract params
func (*ContractServiceGetContractParams) WithDefaults ¶
func (o *ContractServiceGetContractParams) WithDefaults() *ContractServiceGetContractParams
WithDefaults hydrates default values in the contract service get contract params (not the query body).
All values with no default are reset to their zero value.
func (*ContractServiceGetContractParams) WithHTTPClient ¶
func (o *ContractServiceGetContractParams) WithHTTPClient(client *http.Client) *ContractServiceGetContractParams
WithHTTPClient adds the HTTPClient to the contract service get contract params
func (*ContractServiceGetContractParams) WithOrganizationID ¶
func (o *ContractServiceGetContractParams) WithOrganizationID(organizationID string) *ContractServiceGetContractParams
WithOrganizationID adds the organizationID to the contract service get contract params
func (*ContractServiceGetContractParams) WithTimeout ¶
func (o *ContractServiceGetContractParams) WithTimeout(timeout time.Duration) *ContractServiceGetContractParams
WithTimeout adds the timeout to the contract service get contract params
func (*ContractServiceGetContractParams) WriteToRequest ¶
func (o *ContractServiceGetContractParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContractServiceGetContractReader ¶
type ContractServiceGetContractReader struct {
// contains filtered or unexported fields
}
ContractServiceGetContractReader is a Reader for the ContractServiceGetContract structure.
func (*ContractServiceGetContractReader) ReadResponse ¶
func (o *ContractServiceGetContractReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContractServiceListContractsDefault ¶
type ContractServiceListContractsDefault struct { Payload *models.GooglerpcStatus // contains filtered or unexported fields }
ContractServiceListContractsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewContractServiceListContractsDefault ¶
func NewContractServiceListContractsDefault(code int) *ContractServiceListContractsDefault
NewContractServiceListContractsDefault creates a ContractServiceListContractsDefault with default headers values
func (*ContractServiceListContractsDefault) Code ¶
func (o *ContractServiceListContractsDefault) Code() int
Code gets the status code for the contract service list contracts default response
func (*ContractServiceListContractsDefault) Error ¶
func (o *ContractServiceListContractsDefault) Error() string
func (*ContractServiceListContractsDefault) GetPayload ¶
func (o *ContractServiceListContractsDefault) GetPayload() *models.GooglerpcStatus
func (*ContractServiceListContractsDefault) IsClientError ¶
func (o *ContractServiceListContractsDefault) IsClientError() bool
IsClientError returns true when this contract service list contracts default response has a 4xx status code
func (*ContractServiceListContractsDefault) IsCode ¶
func (o *ContractServiceListContractsDefault) IsCode(code int) bool
IsCode returns true when this contract service list contracts default response a status code equal to that given
func (*ContractServiceListContractsDefault) IsRedirect ¶
func (o *ContractServiceListContractsDefault) IsRedirect() bool
IsRedirect returns true when this contract service list contracts default response has a 3xx status code
func (*ContractServiceListContractsDefault) IsServerError ¶
func (o *ContractServiceListContractsDefault) IsServerError() bool
IsServerError returns true when this contract service list contracts default response has a 5xx status code
func (*ContractServiceListContractsDefault) IsSuccess ¶
func (o *ContractServiceListContractsDefault) IsSuccess() bool
IsSuccess returns true when this contract service list contracts default response has a 2xx status code
func (*ContractServiceListContractsDefault) String ¶
func (o *ContractServiceListContractsDefault) String() string
type ContractServiceListContractsOK ¶
type ContractServiceListContractsOK struct {
Payload *models.Billing20201105ListContractsResponse
}
ContractServiceListContractsOK describes a response with status code 200, with default header values.
A successful response.
func NewContractServiceListContractsOK ¶
func NewContractServiceListContractsOK() *ContractServiceListContractsOK
NewContractServiceListContractsOK creates a ContractServiceListContractsOK with default headers values
func (*ContractServiceListContractsOK) Code ¶
func (o *ContractServiceListContractsOK) Code() int
Code gets the status code for the contract service list contracts o k response
func (*ContractServiceListContractsOK) Error ¶
func (o *ContractServiceListContractsOK) Error() string
func (*ContractServiceListContractsOK) GetPayload ¶
func (o *ContractServiceListContractsOK) GetPayload() *models.Billing20201105ListContractsResponse
func (*ContractServiceListContractsOK) IsClientError ¶
func (o *ContractServiceListContractsOK) IsClientError() bool
IsClientError returns true when this contract service list contracts o k response has a 4xx status code
func (*ContractServiceListContractsOK) IsCode ¶
func (o *ContractServiceListContractsOK) IsCode(code int) bool
IsCode returns true when this contract service list contracts o k response a status code equal to that given
func (*ContractServiceListContractsOK) IsRedirect ¶
func (o *ContractServiceListContractsOK) IsRedirect() bool
IsRedirect returns true when this contract service list contracts o k response has a 3xx status code
func (*ContractServiceListContractsOK) IsServerError ¶
func (o *ContractServiceListContractsOK) IsServerError() bool
IsServerError returns true when this contract service list contracts o k response has a 5xx status code
func (*ContractServiceListContractsOK) IsSuccess ¶
func (o *ContractServiceListContractsOK) IsSuccess() bool
IsSuccess returns true when this contract service list contracts o k response has a 2xx status code
func (*ContractServiceListContractsOK) String ¶
func (o *ContractServiceListContractsOK) String() string
type ContractServiceListContractsParams ¶
type ContractServiceListContractsParams struct { /* BillingAccountID. blling_account_id is the identifier of the list of contracts' billing account. */ BillingAccountID string /* ByActiveFrom. Query param filter: `by_active_from` filters by the date the contract starts. Format: date-time */ ByActiveFrom *strfmt.DateTime /* ByActiveUntil. Query param filter: `by_active_until` filters by the date the contract ends. Format: date-time */ ByActiveUntil *strfmt.DateTime /* ByStatus. Query param filter: `by_status` filters by contract status/ */ ByStatus []string /* OrganizationID. organization_id is the organization where list of contracts' billing account belongs. */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContractServiceListContractsParams contains all the parameters to send to the API endpoint
for the contract service list contracts operation. Typically these are written to a http.Request.
func NewContractServiceListContractsParams ¶
func NewContractServiceListContractsParams() *ContractServiceListContractsParams
NewContractServiceListContractsParams creates a new ContractServiceListContractsParams 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 NewContractServiceListContractsParamsWithContext ¶
func NewContractServiceListContractsParamsWithContext(ctx context.Context) *ContractServiceListContractsParams
NewContractServiceListContractsParamsWithContext creates a new ContractServiceListContractsParams object with the ability to set a context for a request.
func NewContractServiceListContractsParamsWithHTTPClient ¶
func NewContractServiceListContractsParamsWithHTTPClient(client *http.Client) *ContractServiceListContractsParams
NewContractServiceListContractsParamsWithHTTPClient creates a new ContractServiceListContractsParams object with the ability to set a custom HTTPClient for a request.
func NewContractServiceListContractsParamsWithTimeout ¶
func NewContractServiceListContractsParamsWithTimeout(timeout time.Duration) *ContractServiceListContractsParams
NewContractServiceListContractsParamsWithTimeout creates a new ContractServiceListContractsParams object with the ability to set a timeout on a request.
func (*ContractServiceListContractsParams) SetBillingAccountID ¶
func (o *ContractServiceListContractsParams) SetBillingAccountID(billingAccountID string)
SetBillingAccountID adds the billingAccountId to the contract service list contracts params
func (*ContractServiceListContractsParams) SetByActiveFrom ¶
func (o *ContractServiceListContractsParams) SetByActiveFrom(byActiveFrom *strfmt.DateTime)
SetByActiveFrom adds the byActiveFrom to the contract service list contracts params
func (*ContractServiceListContractsParams) SetByActiveUntil ¶
func (o *ContractServiceListContractsParams) SetByActiveUntil(byActiveUntil *strfmt.DateTime)
SetByActiveUntil adds the byActiveUntil to the contract service list contracts params
func (*ContractServiceListContractsParams) SetByStatus ¶
func (o *ContractServiceListContractsParams) SetByStatus(byStatus []string)
SetByStatus adds the byStatus to the contract service list contracts params
func (*ContractServiceListContractsParams) SetContext ¶
func (o *ContractServiceListContractsParams) SetContext(ctx context.Context)
SetContext adds the context to the contract service list contracts params
func (*ContractServiceListContractsParams) SetDefaults ¶
func (o *ContractServiceListContractsParams) SetDefaults()
SetDefaults hydrates default values in the contract service list contracts params (not the query body).
All values with no default are reset to their zero value.
func (*ContractServiceListContractsParams) SetHTTPClient ¶
func (o *ContractServiceListContractsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the contract service list contracts params
func (*ContractServiceListContractsParams) SetOrganizationID ¶
func (o *ContractServiceListContractsParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the contract service list contracts params
func (*ContractServiceListContractsParams) SetTimeout ¶
func (o *ContractServiceListContractsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the contract service list contracts params
func (*ContractServiceListContractsParams) WithBillingAccountID ¶
func (o *ContractServiceListContractsParams) WithBillingAccountID(billingAccountID string) *ContractServiceListContractsParams
WithBillingAccountID adds the billingAccountID to the contract service list contracts params
func (*ContractServiceListContractsParams) WithByActiveFrom ¶
func (o *ContractServiceListContractsParams) WithByActiveFrom(byActiveFrom *strfmt.DateTime) *ContractServiceListContractsParams
WithByActiveFrom adds the byActiveFrom to the contract service list contracts params
func (*ContractServiceListContractsParams) WithByActiveUntil ¶
func (o *ContractServiceListContractsParams) WithByActiveUntil(byActiveUntil *strfmt.DateTime) *ContractServiceListContractsParams
WithByActiveUntil adds the byActiveUntil to the contract service list contracts params
func (*ContractServiceListContractsParams) WithByStatus ¶
func (o *ContractServiceListContractsParams) WithByStatus(byStatus []string) *ContractServiceListContractsParams
WithByStatus adds the byStatus to the contract service list contracts params
func (*ContractServiceListContractsParams) WithContext ¶
func (o *ContractServiceListContractsParams) WithContext(ctx context.Context) *ContractServiceListContractsParams
WithContext adds the context to the contract service list contracts params
func (*ContractServiceListContractsParams) WithDefaults ¶
func (o *ContractServiceListContractsParams) WithDefaults() *ContractServiceListContractsParams
WithDefaults hydrates default values in the contract service list contracts params (not the query body).
All values with no default are reset to their zero value.
func (*ContractServiceListContractsParams) WithHTTPClient ¶
func (o *ContractServiceListContractsParams) WithHTTPClient(client *http.Client) *ContractServiceListContractsParams
WithHTTPClient adds the HTTPClient to the contract service list contracts params
func (*ContractServiceListContractsParams) WithOrganizationID ¶
func (o *ContractServiceListContractsParams) WithOrganizationID(organizationID string) *ContractServiceListContractsParams
WithOrganizationID adds the organizationID to the contract service list contracts params
func (*ContractServiceListContractsParams) WithTimeout ¶
func (o *ContractServiceListContractsParams) WithTimeout(timeout time.Duration) *ContractServiceListContractsParams
WithTimeout adds the timeout to the contract service list contracts params
func (*ContractServiceListContractsParams) WriteToRequest ¶
func (o *ContractServiceListContractsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContractServiceListContractsReader ¶
type ContractServiceListContractsReader struct {
// contains filtered or unexported fields
}
ContractServiceListContractsReader is a Reader for the ContractServiceListContracts structure.
func (*ContractServiceListContractsReader) ReadResponse ¶
func (o *ContractServiceListContractsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.