contract_service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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) ContractServiceCreateContract

func (a *Client) ContractServiceCreateContract(params *ContractServiceCreateContractParams, opts ...ClientOption) (*ContractServiceCreateContractOK, error)

ContractServiceCreateContract 契約の作成s

新規に契約を作成します。

func (*Client) ContractServiceGetContract

func (a *Client) ContractServiceGetContract(params *ContractServiceGetContractParams, opts ...ClientOption) (*ContractServiceGetContractOK, error)

ContractServiceGetContract 契約の取得s

指定されたIDを持つ契約を取得します。

func (*Client) ContractServiceGetContract2

func (a *Client) ContractServiceGetContract2(params *ContractServiceGetContract2Params, opts ...ClientOption) (*ContractServiceGetContract2OK, error)

ContractServiceGetContract2 契約の取得s

指定されたIDを持つ契約を取得します。

func (*Client) ContractServiceGetContractByOptionalID

func (a *Client) ContractServiceGetContractByOptionalID(params *ContractServiceGetContractByOptionalIDParams, opts ...ClientOption) (*ContractServiceGetContractByOptionalIDOK, error)

ContractServiceGetContractByOptionalID 契約管理s ID を指定した契約の取得

契約管理IDを指定して契約を取得します。

func (*Client) ContractServiceGetContractByOptionalId2

func (a *Client) ContractServiceGetContractByOptionalId2(params *ContractServiceGetContractByOptionalId2Params, opts ...ClientOption) (*ContractServiceGetContractByOptionalId2OK, error)

ContractServiceGetContractByOptionalId2 契約管理s ID を指定した契約の取得

契約管理IDを指定して契約を取得します。

func (*Client) ContractServiceListContracts

func (a *Client) ContractServiceListContracts(params *ContractServiceListContractsParams, opts ...ClientOption) (*ContractServiceListContractsOK, error)

ContractServiceListContracts 契約の一覧取得s

契約の一覧を取得します。

func (*Client) ContractServiceListContracts2

func (a *Client) ContractServiceListContracts2(params *ContractServiceListContracts2Params, opts ...ClientOption) (*ContractServiceListContracts2OK, error)

ContractServiceListContracts2 契約の一覧取得s

契約の一覧を取得します。

func (*Client) ContractServiceListContractsByCustomer

func (a *Client) ContractServiceListContractsByCustomer(params *ContractServiceListContractsByCustomerParams, opts ...ClientOption) (*ContractServiceListContractsByCustomerOK, error)

ContractServiceListContractsByCustomer 顧客に紐づく契約の一覧取得s

顧客に紐づく契約を一覧取得します。

func (*Client) ContractServiceListContractsByCustomer2

func (a *Client) ContractServiceListContractsByCustomer2(params *ContractServiceListContractsByCustomer2Params, opts ...ClientOption) (*ContractServiceListContractsByCustomer2OK, error)

ContractServiceListContractsByCustomer2 顧客に紐づく契約の一覧取得s

顧客に紐づく契約を一覧取得します。

func (*Client) ContractServiceListContractsByCustomer3

func (a *Client) ContractServiceListContractsByCustomer3(params *ContractServiceListContractsByCustomer3Params, opts ...ClientOption) (*ContractServiceListContractsByCustomer3OK, error)

ContractServiceListContractsByCustomer3 顧客に紐づく契約の一覧取得s

顧客に紐づく契約を一覧取得します。

func (*Client) ContractServiceListContractsByCustomer4

func (a *Client) ContractServiceListContractsByCustomer4(params *ContractServiceListContractsByCustomer4Params, opts ...ClientOption) (*ContractServiceListContractsByCustomer4OK, error)

ContractServiceListContractsByCustomer4 顧客に紐づく契約の一覧取得s

顧客に紐づく契約を一覧取得します。

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 {
	ContractServiceCreateContract(params *ContractServiceCreateContractParams, opts ...ClientOption) (*ContractServiceCreateContractOK, error)

	ContractServiceGetContract(params *ContractServiceGetContractParams, opts ...ClientOption) (*ContractServiceGetContractOK, error)

	ContractServiceGetContract2(params *ContractServiceGetContract2Params, opts ...ClientOption) (*ContractServiceGetContract2OK, error)

	ContractServiceGetContractByOptionalID(params *ContractServiceGetContractByOptionalIDParams, opts ...ClientOption) (*ContractServiceGetContractByOptionalIDOK, error)

	ContractServiceGetContractByOptionalId2(params *ContractServiceGetContractByOptionalId2Params, opts ...ClientOption) (*ContractServiceGetContractByOptionalId2OK, error)

	ContractServiceListContracts(params *ContractServiceListContractsParams, opts ...ClientOption) (*ContractServiceListContractsOK, error)

	ContractServiceListContracts2(params *ContractServiceListContracts2Params, opts ...ClientOption) (*ContractServiceListContracts2OK, error)

	ContractServiceListContractsByCustomer(params *ContractServiceListContractsByCustomerParams, opts ...ClientOption) (*ContractServiceListContractsByCustomerOK, error)

	ContractServiceListContractsByCustomer2(params *ContractServiceListContractsByCustomer2Params, opts ...ClientOption) (*ContractServiceListContractsByCustomer2OK, error)

	ContractServiceListContractsByCustomer3(params *ContractServiceListContractsByCustomer3Params, opts ...ClientOption) (*ContractServiceListContractsByCustomer3OK, error)

	ContractServiceListContractsByCustomer4(params *ContractServiceListContractsByCustomer4Params, opts ...ClientOption) (*ContractServiceListContractsByCustomer4OK, 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 ContractServiceCreateContractDefault

type ContractServiceCreateContractDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

ContractServiceCreateContractDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewContractServiceCreateContractDefault

func NewContractServiceCreateContractDefault(code int) *ContractServiceCreateContractDefault

NewContractServiceCreateContractDefault creates a ContractServiceCreateContractDefault with default headers values

func (*ContractServiceCreateContractDefault) Code

Code gets the status code for the contract service create contract default response

func (*ContractServiceCreateContractDefault) Error

func (*ContractServiceCreateContractDefault) GetPayload

func (*ContractServiceCreateContractDefault) IsClientError

func (o *ContractServiceCreateContractDefault) IsClientError() bool

IsClientError returns true when this contract service create contract default response has a 4xx status code

func (*ContractServiceCreateContractDefault) IsCode

IsCode returns true when this contract service create contract default response a status code equal to that given

func (*ContractServiceCreateContractDefault) IsRedirect

IsRedirect returns true when this contract service create contract default response has a 3xx status code

func (*ContractServiceCreateContractDefault) IsServerError

func (o *ContractServiceCreateContractDefault) IsServerError() bool

IsServerError returns true when this contract service create contract default response has a 5xx status code

func (*ContractServiceCreateContractDefault) IsSuccess

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

func (*ContractServiceCreateContractDefault) String

type ContractServiceCreateContractOK

type ContractServiceCreateContractOK struct {
	Payload *models.V1CreateContractResponse
}

ContractServiceCreateContractOK describes a response with status code 200, with default header values.

A successful response.

func NewContractServiceCreateContractOK

func NewContractServiceCreateContractOK() *ContractServiceCreateContractOK

NewContractServiceCreateContractOK creates a ContractServiceCreateContractOK with default headers values

func (*ContractServiceCreateContractOK) Code

Code gets the status code for the contract service create contract o k response

func (*ContractServiceCreateContractOK) Error

func (*ContractServiceCreateContractOK) GetPayload

func (*ContractServiceCreateContractOK) IsClientError

func (o *ContractServiceCreateContractOK) IsClientError() bool

IsClientError returns true when this contract service create contract o k response has a 4xx status code

func (*ContractServiceCreateContractOK) IsCode

func (o *ContractServiceCreateContractOK) IsCode(code int) bool

IsCode returns true when this contract service create contract o k response a status code equal to that given

func (*ContractServiceCreateContractOK) IsRedirect

func (o *ContractServiceCreateContractOK) IsRedirect() bool

IsRedirect returns true when this contract service create contract o k response has a 3xx status code

func (*ContractServiceCreateContractOK) IsServerError

func (o *ContractServiceCreateContractOK) IsServerError() bool

IsServerError returns true when this contract service create contract o k response has a 5xx status code

func (*ContractServiceCreateContractOK) IsSuccess

func (o *ContractServiceCreateContractOK) IsSuccess() bool

IsSuccess returns true when this contract service create contract o k response has a 2xx status code

func (*ContractServiceCreateContractOK) String

type ContractServiceCreateContractParams

type ContractServiceCreateContractParams struct {

	// Body.
	Body *models.V1CreateContractRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContractServiceCreateContractParams contains all the parameters to send to the API endpoint

for the contract service create contract operation.

Typically these are written to a http.Request.

func NewContractServiceCreateContractParams

func NewContractServiceCreateContractParams() *ContractServiceCreateContractParams

NewContractServiceCreateContractParams creates a new ContractServiceCreateContractParams 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 NewContractServiceCreateContractParamsWithContext

func NewContractServiceCreateContractParamsWithContext(ctx context.Context) *ContractServiceCreateContractParams

NewContractServiceCreateContractParamsWithContext creates a new ContractServiceCreateContractParams object with the ability to set a context for a request.

func NewContractServiceCreateContractParamsWithHTTPClient

func NewContractServiceCreateContractParamsWithHTTPClient(client *http.Client) *ContractServiceCreateContractParams

NewContractServiceCreateContractParamsWithHTTPClient creates a new ContractServiceCreateContractParams object with the ability to set a custom HTTPClient for a request.

func NewContractServiceCreateContractParamsWithTimeout

func NewContractServiceCreateContractParamsWithTimeout(timeout time.Duration) *ContractServiceCreateContractParams

NewContractServiceCreateContractParamsWithTimeout creates a new ContractServiceCreateContractParams object with the ability to set a timeout on a request.

func (*ContractServiceCreateContractParams) SetBody

SetBody adds the body to the contract service create contract params

func (*ContractServiceCreateContractParams) SetContext

SetContext adds the context to the contract service create contract params

func (*ContractServiceCreateContractParams) SetDefaults

func (o *ContractServiceCreateContractParams) SetDefaults()

SetDefaults hydrates default values in the contract service create contract params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceCreateContractParams) SetHTTPClient

func (o *ContractServiceCreateContractParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the contract service create contract params

func (*ContractServiceCreateContractParams) SetTimeout

func (o *ContractServiceCreateContractParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the contract service create contract params

func (*ContractServiceCreateContractParams) WithBody

WithBody adds the body to the contract service create contract params

func (*ContractServiceCreateContractParams) WithContext

WithContext adds the context to the contract service create contract params

func (*ContractServiceCreateContractParams) WithDefaults

WithDefaults hydrates default values in the contract service create contract params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceCreateContractParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the contract service create contract params

func (*ContractServiceCreateContractParams) WithTimeout

WithTimeout adds the timeout to the contract service create contract params

func (*ContractServiceCreateContractParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ContractServiceCreateContractReader

type ContractServiceCreateContractReader struct {
	// contains filtered or unexported fields
}

ContractServiceCreateContractReader is a Reader for the ContractServiceCreateContract structure.

func (*ContractServiceCreateContractReader) ReadResponse

func (o *ContractServiceCreateContractReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ContractServiceGetContract2Default

type ContractServiceGetContract2Default struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

ContractServiceGetContract2Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewContractServiceGetContract2Default

func NewContractServiceGetContract2Default(code int) *ContractServiceGetContract2Default

NewContractServiceGetContract2Default creates a ContractServiceGetContract2Default with default headers values

func (*ContractServiceGetContract2Default) Code

Code gets the status code for the contract service get contract2 default response

func (*ContractServiceGetContract2Default) Error

func (*ContractServiceGetContract2Default) GetPayload

func (*ContractServiceGetContract2Default) IsClientError

func (o *ContractServiceGetContract2Default) IsClientError() bool

IsClientError returns true when this contract service get contract2 default response has a 4xx status code

func (*ContractServiceGetContract2Default) IsCode

IsCode returns true when this contract service get contract2 default response a status code equal to that given

func (*ContractServiceGetContract2Default) IsRedirect

func (o *ContractServiceGetContract2Default) IsRedirect() bool

IsRedirect returns true when this contract service get contract2 default response has a 3xx status code

func (*ContractServiceGetContract2Default) IsServerError

func (o *ContractServiceGetContract2Default) IsServerError() bool

IsServerError returns true when this contract service get contract2 default response has a 5xx status code

func (*ContractServiceGetContract2Default) IsSuccess

IsSuccess returns true when this contract service get contract2 default response has a 2xx status code

func (*ContractServiceGetContract2Default) String

type ContractServiceGetContract2OK

type ContractServiceGetContract2OK struct {
	Payload *models.V1GetContractResponse
}

ContractServiceGetContract2OK describes a response with status code 200, with default header values.

A successful response.

func NewContractServiceGetContract2OK

func NewContractServiceGetContract2OK() *ContractServiceGetContract2OK

NewContractServiceGetContract2OK creates a ContractServiceGetContract2OK with default headers values

func (*ContractServiceGetContract2OK) Code

Code gets the status code for the contract service get contract2 o k response

func (*ContractServiceGetContract2OK) Error

func (*ContractServiceGetContract2OK) GetPayload

func (*ContractServiceGetContract2OK) IsClientError

func (o *ContractServiceGetContract2OK) IsClientError() bool

IsClientError returns true when this contract service get contract2 o k response has a 4xx status code

func (*ContractServiceGetContract2OK) IsCode

func (o *ContractServiceGetContract2OK) IsCode(code int) bool

IsCode returns true when this contract service get contract2 o k response a status code equal to that given

func (*ContractServiceGetContract2OK) IsRedirect

func (o *ContractServiceGetContract2OK) IsRedirect() bool

IsRedirect returns true when this contract service get contract2 o k response has a 3xx status code

func (*ContractServiceGetContract2OK) IsServerError

func (o *ContractServiceGetContract2OK) IsServerError() bool

IsServerError returns true when this contract service get contract2 o k response has a 5xx status code

func (*ContractServiceGetContract2OK) IsSuccess

func (o *ContractServiceGetContract2OK) IsSuccess() bool

IsSuccess returns true when this contract service get contract2 o k response has a 2xx status code

func (*ContractServiceGetContract2OK) String

type ContractServiceGetContract2Params

type ContractServiceGetContract2Params struct {

	/* ID.

	   契約ID
	*/
	ID string

	/* Version.

	   契約バージョン。指定がなければ最新バージョンの契約が返却される

	   Format: int32
	*/
	Version *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContractServiceGetContract2Params contains all the parameters to send to the API endpoint

for the contract service get contract2 operation.

Typically these are written to a http.Request.

func NewContractServiceGetContract2Params

func NewContractServiceGetContract2Params() *ContractServiceGetContract2Params

NewContractServiceGetContract2Params creates a new ContractServiceGetContract2Params 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 NewContractServiceGetContract2ParamsWithContext

func NewContractServiceGetContract2ParamsWithContext(ctx context.Context) *ContractServiceGetContract2Params

NewContractServiceGetContract2ParamsWithContext creates a new ContractServiceGetContract2Params object with the ability to set a context for a request.

func NewContractServiceGetContract2ParamsWithHTTPClient

func NewContractServiceGetContract2ParamsWithHTTPClient(client *http.Client) *ContractServiceGetContract2Params

NewContractServiceGetContract2ParamsWithHTTPClient creates a new ContractServiceGetContract2Params object with the ability to set a custom HTTPClient for a request.

func NewContractServiceGetContract2ParamsWithTimeout

func NewContractServiceGetContract2ParamsWithTimeout(timeout time.Duration) *ContractServiceGetContract2Params

NewContractServiceGetContract2ParamsWithTimeout creates a new ContractServiceGetContract2Params object with the ability to set a timeout on a request.

func (*ContractServiceGetContract2Params) SetContext

SetContext adds the context to the contract service get contract2 params

func (*ContractServiceGetContract2Params) SetDefaults

func (o *ContractServiceGetContract2Params) SetDefaults()

SetDefaults hydrates default values in the contract service get contract2 params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceGetContract2Params) SetHTTPClient

func (o *ContractServiceGetContract2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the contract service get contract2 params

func (*ContractServiceGetContract2Params) SetID

SetID adds the id to the contract service get contract2 params

func (*ContractServiceGetContract2Params) SetTimeout

func (o *ContractServiceGetContract2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the contract service get contract2 params

func (*ContractServiceGetContract2Params) SetVersion

func (o *ContractServiceGetContract2Params) SetVersion(version *int32)

SetVersion adds the version to the contract service get contract2 params

func (*ContractServiceGetContract2Params) WithContext

WithContext adds the context to the contract service get contract2 params

func (*ContractServiceGetContract2Params) WithDefaults

WithDefaults hydrates default values in the contract service get contract2 params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceGetContract2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the contract service get contract2 params

func (*ContractServiceGetContract2Params) WithID

WithID adds the id to the contract service get contract2 params

func (*ContractServiceGetContract2Params) WithTimeout

WithTimeout adds the timeout to the contract service get contract2 params

func (*ContractServiceGetContract2Params) WithVersion

WithVersion adds the version to the contract service get contract2 params

func (*ContractServiceGetContract2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ContractServiceGetContract2Reader

type ContractServiceGetContract2Reader struct {
	// contains filtered or unexported fields
}

ContractServiceGetContract2Reader is a Reader for the ContractServiceGetContract2 structure.

func (*ContractServiceGetContract2Reader) ReadResponse

func (o *ContractServiceGetContract2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ContractServiceGetContractByOptionalIDDefault

type ContractServiceGetContractByOptionalIDDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

ContractServiceGetContractByOptionalIDDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewContractServiceGetContractByOptionalIDDefault

func NewContractServiceGetContractByOptionalIDDefault(code int) *ContractServiceGetContractByOptionalIDDefault

NewContractServiceGetContractByOptionalIDDefault creates a ContractServiceGetContractByOptionalIDDefault with default headers values

func (*ContractServiceGetContractByOptionalIDDefault) Code

Code gets the status code for the contract service get contract by optional Id default response

func (*ContractServiceGetContractByOptionalIDDefault) Error

func (*ContractServiceGetContractByOptionalIDDefault) GetPayload

func (*ContractServiceGetContractByOptionalIDDefault) IsClientError

IsClientError returns true when this contract service get contract by optional Id default response has a 4xx status code

func (*ContractServiceGetContractByOptionalIDDefault) IsCode

IsCode returns true when this contract service get contract by optional Id default response a status code equal to that given

func (*ContractServiceGetContractByOptionalIDDefault) IsRedirect

IsRedirect returns true when this contract service get contract by optional Id default response has a 3xx status code

func (*ContractServiceGetContractByOptionalIDDefault) IsServerError

IsServerError returns true when this contract service get contract by optional Id default response has a 5xx status code

func (*ContractServiceGetContractByOptionalIDDefault) IsSuccess

IsSuccess returns true when this contract service get contract by optional Id default response has a 2xx status code

func (*ContractServiceGetContractByOptionalIDDefault) String

type ContractServiceGetContractByOptionalIDOK

type ContractServiceGetContractByOptionalIDOK struct {
	Payload *models.V1GetContractByOptionalIDResponse
}

ContractServiceGetContractByOptionalIDOK describes a response with status code 200, with default header values.

A successful response.

func NewContractServiceGetContractByOptionalIDOK

func NewContractServiceGetContractByOptionalIDOK() *ContractServiceGetContractByOptionalIDOK

NewContractServiceGetContractByOptionalIDOK creates a ContractServiceGetContractByOptionalIDOK with default headers values

func (*ContractServiceGetContractByOptionalIDOK) Code

Code gets the status code for the contract service get contract by optional Id o k response

func (*ContractServiceGetContractByOptionalIDOK) Error

func (*ContractServiceGetContractByOptionalIDOK) GetPayload

func (*ContractServiceGetContractByOptionalIDOK) IsClientError

IsClientError returns true when this contract service get contract by optional Id o k response has a 4xx status code

func (*ContractServiceGetContractByOptionalIDOK) IsCode

IsCode returns true when this contract service get contract by optional Id o k response a status code equal to that given

func (*ContractServiceGetContractByOptionalIDOK) IsRedirect

IsRedirect returns true when this contract service get contract by optional Id o k response has a 3xx status code

func (*ContractServiceGetContractByOptionalIDOK) IsServerError

IsServerError returns true when this contract service get contract by optional Id o k response has a 5xx status code

func (*ContractServiceGetContractByOptionalIDOK) IsSuccess

IsSuccess returns true when this contract service get contract by optional Id o k response has a 2xx status code

func (*ContractServiceGetContractByOptionalIDOK) String

type ContractServiceGetContractByOptionalIDParams

type ContractServiceGetContractByOptionalIDParams struct {

	// Body.
	Body *models.V1GetContractByOptionalIDRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContractServiceGetContractByOptionalIDParams contains all the parameters to send to the API endpoint

for the contract service get contract by optional Id operation.

Typically these are written to a http.Request.

func NewContractServiceGetContractByOptionalIDParams

func NewContractServiceGetContractByOptionalIDParams() *ContractServiceGetContractByOptionalIDParams

NewContractServiceGetContractByOptionalIDParams creates a new ContractServiceGetContractByOptionalIDParams 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 NewContractServiceGetContractByOptionalIDParamsWithContext

func NewContractServiceGetContractByOptionalIDParamsWithContext(ctx context.Context) *ContractServiceGetContractByOptionalIDParams

NewContractServiceGetContractByOptionalIDParamsWithContext creates a new ContractServiceGetContractByOptionalIDParams object with the ability to set a context for a request.

func NewContractServiceGetContractByOptionalIDParamsWithHTTPClient

func NewContractServiceGetContractByOptionalIDParamsWithHTTPClient(client *http.Client) *ContractServiceGetContractByOptionalIDParams

NewContractServiceGetContractByOptionalIDParamsWithHTTPClient creates a new ContractServiceGetContractByOptionalIDParams object with the ability to set a custom HTTPClient for a request.

func NewContractServiceGetContractByOptionalIDParamsWithTimeout

func NewContractServiceGetContractByOptionalIDParamsWithTimeout(timeout time.Duration) *ContractServiceGetContractByOptionalIDParams

NewContractServiceGetContractByOptionalIDParamsWithTimeout creates a new ContractServiceGetContractByOptionalIDParams object with the ability to set a timeout on a request.

func (*ContractServiceGetContractByOptionalIDParams) SetBody

SetBody adds the body to the contract service get contract by optional Id params

func (*ContractServiceGetContractByOptionalIDParams) SetContext

SetContext adds the context to the contract service get contract by optional Id params

func (*ContractServiceGetContractByOptionalIDParams) SetDefaults

SetDefaults hydrates default values in the contract service get contract by optional Id params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceGetContractByOptionalIDParams) SetHTTPClient

func (o *ContractServiceGetContractByOptionalIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the contract service get contract by optional Id params

func (*ContractServiceGetContractByOptionalIDParams) SetTimeout

SetTimeout adds the timeout to the contract service get contract by optional Id params

func (*ContractServiceGetContractByOptionalIDParams) WithBody

WithBody adds the body to the contract service get contract by optional Id params

func (*ContractServiceGetContractByOptionalIDParams) WithContext

WithContext adds the context to the contract service get contract by optional Id params

func (*ContractServiceGetContractByOptionalIDParams) WithDefaults

WithDefaults hydrates default values in the contract service get contract by optional Id params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceGetContractByOptionalIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the contract service get contract by optional Id params

func (*ContractServiceGetContractByOptionalIDParams) WithTimeout

WithTimeout adds the timeout to the contract service get contract by optional Id params

func (*ContractServiceGetContractByOptionalIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ContractServiceGetContractByOptionalIDReader

type ContractServiceGetContractByOptionalIDReader struct {
	// contains filtered or unexported fields
}

ContractServiceGetContractByOptionalIDReader is a Reader for the ContractServiceGetContractByOptionalID structure.

func (*ContractServiceGetContractByOptionalIDReader) ReadResponse

func (o *ContractServiceGetContractByOptionalIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ContractServiceGetContractByOptionalId2Default

type ContractServiceGetContractByOptionalId2Default struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

ContractServiceGetContractByOptionalId2Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewContractServiceGetContractByOptionalId2Default

func NewContractServiceGetContractByOptionalId2Default(code int) *ContractServiceGetContractByOptionalId2Default

NewContractServiceGetContractByOptionalId2Default creates a ContractServiceGetContractByOptionalId2Default with default headers values

func (*ContractServiceGetContractByOptionalId2Default) Code

Code gets the status code for the contract service get contract by optional id2 default response

func (*ContractServiceGetContractByOptionalId2Default) Error

func (*ContractServiceGetContractByOptionalId2Default) GetPayload

func (*ContractServiceGetContractByOptionalId2Default) IsClientError

IsClientError returns true when this contract service get contract by optional id2 default response has a 4xx status code

func (*ContractServiceGetContractByOptionalId2Default) IsCode

IsCode returns true when this contract service get contract by optional id2 default response a status code equal to that given

func (*ContractServiceGetContractByOptionalId2Default) IsRedirect

IsRedirect returns true when this contract service get contract by optional id2 default response has a 3xx status code

func (*ContractServiceGetContractByOptionalId2Default) IsServerError

IsServerError returns true when this contract service get contract by optional id2 default response has a 5xx status code

func (*ContractServiceGetContractByOptionalId2Default) IsSuccess

IsSuccess returns true when this contract service get contract by optional id2 default response has a 2xx status code

func (*ContractServiceGetContractByOptionalId2Default) String

type ContractServiceGetContractByOptionalId2OK

type ContractServiceGetContractByOptionalId2OK struct {
	Payload *models.V1GetContractByOptionalIDResponse
}

ContractServiceGetContractByOptionalId2OK describes a response with status code 200, with default header values.

A successful response.

func NewContractServiceGetContractByOptionalId2OK

func NewContractServiceGetContractByOptionalId2OK() *ContractServiceGetContractByOptionalId2OK

NewContractServiceGetContractByOptionalId2OK creates a ContractServiceGetContractByOptionalId2OK with default headers values

func (*ContractServiceGetContractByOptionalId2OK) Code

Code gets the status code for the contract service get contract by optional id2 o k response

func (*ContractServiceGetContractByOptionalId2OK) Error

func (*ContractServiceGetContractByOptionalId2OK) GetPayload

func (*ContractServiceGetContractByOptionalId2OK) IsClientError

IsClientError returns true when this contract service get contract by optional id2 o k response has a 4xx status code

func (*ContractServiceGetContractByOptionalId2OK) IsCode

IsCode returns true when this contract service get contract by optional id2 o k response a status code equal to that given

func (*ContractServiceGetContractByOptionalId2OK) IsRedirect

IsRedirect returns true when this contract service get contract by optional id2 o k response has a 3xx status code

func (*ContractServiceGetContractByOptionalId2OK) IsServerError

IsServerError returns true when this contract service get contract by optional id2 o k response has a 5xx status code

func (*ContractServiceGetContractByOptionalId2OK) IsSuccess

IsSuccess returns true when this contract service get contract by optional id2 o k response has a 2xx status code

func (*ContractServiceGetContractByOptionalId2OK) String

type ContractServiceGetContractByOptionalId2Params

type ContractServiceGetContractByOptionalId2Params struct {

	/* OptionalID.

	   契約管理ID
	*/
	OptionalID string

	/* Version.

	   契約バージョン。指定がなければ最新バージョンの契約が返却される

	   Format: int32
	*/
	Version *int32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContractServiceGetContractByOptionalId2Params contains all the parameters to send to the API endpoint

for the contract service get contract by optional id2 operation.

Typically these are written to a http.Request.

func NewContractServiceGetContractByOptionalId2Params

func NewContractServiceGetContractByOptionalId2Params() *ContractServiceGetContractByOptionalId2Params

NewContractServiceGetContractByOptionalId2Params creates a new ContractServiceGetContractByOptionalId2Params 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 NewContractServiceGetContractByOptionalId2ParamsWithContext

func NewContractServiceGetContractByOptionalId2ParamsWithContext(ctx context.Context) *ContractServiceGetContractByOptionalId2Params

NewContractServiceGetContractByOptionalId2ParamsWithContext creates a new ContractServiceGetContractByOptionalId2Params object with the ability to set a context for a request.

func NewContractServiceGetContractByOptionalId2ParamsWithHTTPClient

func NewContractServiceGetContractByOptionalId2ParamsWithHTTPClient(client *http.Client) *ContractServiceGetContractByOptionalId2Params

NewContractServiceGetContractByOptionalId2ParamsWithHTTPClient creates a new ContractServiceGetContractByOptionalId2Params object with the ability to set a custom HTTPClient for a request.

func NewContractServiceGetContractByOptionalId2ParamsWithTimeout

func NewContractServiceGetContractByOptionalId2ParamsWithTimeout(timeout time.Duration) *ContractServiceGetContractByOptionalId2Params

NewContractServiceGetContractByOptionalId2ParamsWithTimeout creates a new ContractServiceGetContractByOptionalId2Params object with the ability to set a timeout on a request.

func (*ContractServiceGetContractByOptionalId2Params) SetContext

SetContext adds the context to the contract service get contract by optional id2 params

func (*ContractServiceGetContractByOptionalId2Params) SetDefaults

SetDefaults hydrates default values in the contract service get contract by optional id2 params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceGetContractByOptionalId2Params) SetHTTPClient

func (o *ContractServiceGetContractByOptionalId2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the contract service get contract by optional id2 params

func (*ContractServiceGetContractByOptionalId2Params) SetOptionalID

func (o *ContractServiceGetContractByOptionalId2Params) SetOptionalID(optionalID string)

SetOptionalID adds the optionalId to the contract service get contract by optional id2 params

func (*ContractServiceGetContractByOptionalId2Params) SetTimeout

SetTimeout adds the timeout to the contract service get contract by optional id2 params

func (*ContractServiceGetContractByOptionalId2Params) SetVersion

func (o *ContractServiceGetContractByOptionalId2Params) SetVersion(version *int32)

SetVersion adds the version to the contract service get contract by optional id2 params

func (*ContractServiceGetContractByOptionalId2Params) WithContext

WithContext adds the context to the contract service get contract by optional id2 params

func (*ContractServiceGetContractByOptionalId2Params) WithDefaults

WithDefaults hydrates default values in the contract service get contract by optional id2 params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceGetContractByOptionalId2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the contract service get contract by optional id2 params

func (*ContractServiceGetContractByOptionalId2Params) WithOptionalID

WithOptionalID adds the optionalID to the contract service get contract by optional id2 params

func (*ContractServiceGetContractByOptionalId2Params) WithTimeout

WithTimeout adds the timeout to the contract service get contract by optional id2 params

func (*ContractServiceGetContractByOptionalId2Params) WithVersion

WithVersion adds the version to the contract service get contract by optional id2 params

func (*ContractServiceGetContractByOptionalId2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ContractServiceGetContractByOptionalId2Reader

type ContractServiceGetContractByOptionalId2Reader struct {
	// contains filtered or unexported fields
}

ContractServiceGetContractByOptionalId2Reader is a Reader for the ContractServiceGetContractByOptionalId2 structure.

func (*ContractServiceGetContractByOptionalId2Reader) ReadResponse

func (o *ContractServiceGetContractByOptionalId2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

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

Code gets the status code for the contract service get contract default response

func (*ContractServiceGetContractDefault) Error

func (*ContractServiceGetContractDefault) GetPayload

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

type ContractServiceGetContractOK

type ContractServiceGetContractOK struct {
	Payload *models.V1GetContractResponse
}

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

Code gets the status code for the contract service get contract o k response

func (*ContractServiceGetContractOK) Error

func (*ContractServiceGetContractOK) GetPayload

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

type ContractServiceGetContractParams

type ContractServiceGetContractParams struct {

	// Body.
	Body *models.V1GetContractRequest

	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) SetBody

SetBody adds the body to the contract service get contract params

func (*ContractServiceGetContractParams) SetContext

SetContext adds the context 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) SetTimeout

func (o *ContractServiceGetContractParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the contract service get contract params

func (*ContractServiceGetContractParams) WithBody

WithBody adds the body to the contract service get contract params

func (*ContractServiceGetContractParams) WithContext

WithContext adds the context to the contract service get contract params

func (*ContractServiceGetContractParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the contract service get contract params

func (*ContractServiceGetContractParams) WithTimeout

WithTimeout adds the timeout to the contract service get contract params

func (*ContractServiceGetContractParams) WriteToRequest

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 ContractServiceListContracts2Default

type ContractServiceListContracts2Default struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

ContractServiceListContracts2Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewContractServiceListContracts2Default

func NewContractServiceListContracts2Default(code int) *ContractServiceListContracts2Default

NewContractServiceListContracts2Default creates a ContractServiceListContracts2Default with default headers values

func (*ContractServiceListContracts2Default) Code

Code gets the status code for the contract service list contracts2 default response

func (*ContractServiceListContracts2Default) Error

func (*ContractServiceListContracts2Default) GetPayload

func (*ContractServiceListContracts2Default) IsClientError

func (o *ContractServiceListContracts2Default) IsClientError() bool

IsClientError returns true when this contract service list contracts2 default response has a 4xx status code

func (*ContractServiceListContracts2Default) IsCode

IsCode returns true when this contract service list contracts2 default response a status code equal to that given

func (*ContractServiceListContracts2Default) IsRedirect

IsRedirect returns true when this contract service list contracts2 default response has a 3xx status code

func (*ContractServiceListContracts2Default) IsServerError

func (o *ContractServiceListContracts2Default) IsServerError() bool

IsServerError returns true when this contract service list contracts2 default response has a 5xx status code

func (*ContractServiceListContracts2Default) IsSuccess

IsSuccess returns true when this contract service list contracts2 default response has a 2xx status code

func (*ContractServiceListContracts2Default) String

type ContractServiceListContracts2OK

type ContractServiceListContracts2OK struct {
	Payload *models.V1ListContractsResponse
}

ContractServiceListContracts2OK describes a response with status code 200, with default header values.

A successful response.

func NewContractServiceListContracts2OK

func NewContractServiceListContracts2OK() *ContractServiceListContracts2OK

NewContractServiceListContracts2OK creates a ContractServiceListContracts2OK with default headers values

func (*ContractServiceListContracts2OK) Code

Code gets the status code for the contract service list contracts2 o k response

func (*ContractServiceListContracts2OK) Error

func (*ContractServiceListContracts2OK) GetPayload

func (*ContractServiceListContracts2OK) IsClientError

func (o *ContractServiceListContracts2OK) IsClientError() bool

IsClientError returns true when this contract service list contracts2 o k response has a 4xx status code

func (*ContractServiceListContracts2OK) IsCode

func (o *ContractServiceListContracts2OK) IsCode(code int) bool

IsCode returns true when this contract service list contracts2 o k response a status code equal to that given

func (*ContractServiceListContracts2OK) IsRedirect

func (o *ContractServiceListContracts2OK) IsRedirect() bool

IsRedirect returns true when this contract service list contracts2 o k response has a 3xx status code

func (*ContractServiceListContracts2OK) IsServerError

func (o *ContractServiceListContracts2OK) IsServerError() bool

IsServerError returns true when this contract service list contracts2 o k response has a 5xx status code

func (*ContractServiceListContracts2OK) IsSuccess

func (o *ContractServiceListContracts2OK) IsSuccess() bool

IsSuccess returns true when this contract service list contracts2 o k response has a 2xx status code

func (*ContractServiceListContracts2OK) String

type ContractServiceListContracts2Params

type ContractServiceListContracts2Params struct {

	/* PageSize.

	   一覧取得する最大数

	   Format: int32
	*/
	PageSize *int32

	/* PageToken.

	   一覧取得に使用するトークン
	*/
	PageToken *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContractServiceListContracts2Params contains all the parameters to send to the API endpoint

for the contract service list contracts2 operation.

Typically these are written to a http.Request.

func NewContractServiceListContracts2Params

func NewContractServiceListContracts2Params() *ContractServiceListContracts2Params

NewContractServiceListContracts2Params creates a new ContractServiceListContracts2Params 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 NewContractServiceListContracts2ParamsWithContext

func NewContractServiceListContracts2ParamsWithContext(ctx context.Context) *ContractServiceListContracts2Params

NewContractServiceListContracts2ParamsWithContext creates a new ContractServiceListContracts2Params object with the ability to set a context for a request.

func NewContractServiceListContracts2ParamsWithHTTPClient

func NewContractServiceListContracts2ParamsWithHTTPClient(client *http.Client) *ContractServiceListContracts2Params

NewContractServiceListContracts2ParamsWithHTTPClient creates a new ContractServiceListContracts2Params object with the ability to set a custom HTTPClient for a request.

func NewContractServiceListContracts2ParamsWithTimeout

func NewContractServiceListContracts2ParamsWithTimeout(timeout time.Duration) *ContractServiceListContracts2Params

NewContractServiceListContracts2ParamsWithTimeout creates a new ContractServiceListContracts2Params object with the ability to set a timeout on a request.

func (*ContractServiceListContracts2Params) SetContext

SetContext adds the context to the contract service list contracts2 params

func (*ContractServiceListContracts2Params) SetDefaults

func (o *ContractServiceListContracts2Params) SetDefaults()

SetDefaults hydrates default values in the contract service list contracts2 params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceListContracts2Params) SetHTTPClient

func (o *ContractServiceListContracts2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the contract service list contracts2 params

func (*ContractServiceListContracts2Params) SetPageSize

func (o *ContractServiceListContracts2Params) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the contract service list contracts2 params

func (*ContractServiceListContracts2Params) SetPageToken

func (o *ContractServiceListContracts2Params) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the contract service list contracts2 params

func (*ContractServiceListContracts2Params) SetTimeout

func (o *ContractServiceListContracts2Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the contract service list contracts2 params

func (*ContractServiceListContracts2Params) WithContext

WithContext adds the context to the contract service list contracts2 params

func (*ContractServiceListContracts2Params) WithDefaults

WithDefaults hydrates default values in the contract service list contracts2 params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceListContracts2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the contract service list contracts2 params

func (*ContractServiceListContracts2Params) WithPageSize

WithPageSize adds the pageSize to the contract service list contracts2 params

func (*ContractServiceListContracts2Params) WithPageToken

WithPageToken adds the pageToken to the contract service list contracts2 params

func (*ContractServiceListContracts2Params) WithTimeout

WithTimeout adds the timeout to the contract service list contracts2 params

func (*ContractServiceListContracts2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ContractServiceListContracts2Reader

type ContractServiceListContracts2Reader struct {
	// contains filtered or unexported fields
}

ContractServiceListContracts2Reader is a Reader for the ContractServiceListContracts2 structure.

func (*ContractServiceListContracts2Reader) ReadResponse

func (o *ContractServiceListContracts2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ContractServiceListContractsByCustomer2Default

type ContractServiceListContractsByCustomer2Default struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

ContractServiceListContractsByCustomer2Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewContractServiceListContractsByCustomer2Default

func NewContractServiceListContractsByCustomer2Default(code int) *ContractServiceListContractsByCustomer2Default

NewContractServiceListContractsByCustomer2Default creates a ContractServiceListContractsByCustomer2Default with default headers values

func (*ContractServiceListContractsByCustomer2Default) Code

Code gets the status code for the contract service list contracts by customer2 default response

func (*ContractServiceListContractsByCustomer2Default) Error

func (*ContractServiceListContractsByCustomer2Default) GetPayload

func (*ContractServiceListContractsByCustomer2Default) IsClientError

IsClientError returns true when this contract service list contracts by customer2 default response has a 4xx status code

func (*ContractServiceListContractsByCustomer2Default) IsCode

IsCode returns true when this contract service list contracts by customer2 default response a status code equal to that given

func (*ContractServiceListContractsByCustomer2Default) IsRedirect

IsRedirect returns true when this contract service list contracts by customer2 default response has a 3xx status code

func (*ContractServiceListContractsByCustomer2Default) IsServerError

IsServerError returns true when this contract service list contracts by customer2 default response has a 5xx status code

func (*ContractServiceListContractsByCustomer2Default) IsSuccess

IsSuccess returns true when this contract service list contracts by customer2 default response has a 2xx status code

func (*ContractServiceListContractsByCustomer2Default) String

type ContractServiceListContractsByCustomer2OK

type ContractServiceListContractsByCustomer2OK struct {
	Payload *models.V1ListContractsByCustomerResponse
}

ContractServiceListContractsByCustomer2OK describes a response with status code 200, with default header values.

A successful response.

func NewContractServiceListContractsByCustomer2OK

func NewContractServiceListContractsByCustomer2OK() *ContractServiceListContractsByCustomer2OK

NewContractServiceListContractsByCustomer2OK creates a ContractServiceListContractsByCustomer2OK with default headers values

func (*ContractServiceListContractsByCustomer2OK) Code

Code gets the status code for the contract service list contracts by customer2 o k response

func (*ContractServiceListContractsByCustomer2OK) Error

func (*ContractServiceListContractsByCustomer2OK) GetPayload

func (*ContractServiceListContractsByCustomer2OK) IsClientError

IsClientError returns true when this contract service list contracts by customer2 o k response has a 4xx status code

func (*ContractServiceListContractsByCustomer2OK) IsCode

IsCode returns true when this contract service list contracts by customer2 o k response a status code equal to that given

func (*ContractServiceListContractsByCustomer2OK) IsRedirect

IsRedirect returns true when this contract service list contracts by customer2 o k response has a 3xx status code

func (*ContractServiceListContractsByCustomer2OK) IsServerError

IsServerError returns true when this contract service list contracts by customer2 o k response has a 5xx status code

func (*ContractServiceListContractsByCustomer2OK) IsSuccess

IsSuccess returns true when this contract service list contracts by customer2 o k response has a 2xx status code

func (*ContractServiceListContractsByCustomer2OK) String

type ContractServiceListContractsByCustomer2Params

type ContractServiceListContractsByCustomer2Params struct {

	/* CustomerID.

	   顧客ID
	*/
	CustomerID string

	/* CustomerOptionalID.

	   顧客管理ID(顧客IDの代わりに指定可)
	*/
	CustomerOptionalID *string

	/* PageSize.

	   一覧取得する最大数

	   Format: int32
	*/
	PageSize *int32

	/* PageToken.

	   一覧取得に使用するトークン
	*/
	PageToken *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContractServiceListContractsByCustomer2Params contains all the parameters to send to the API endpoint

for the contract service list contracts by customer2 operation.

Typically these are written to a http.Request.

func NewContractServiceListContractsByCustomer2Params

func NewContractServiceListContractsByCustomer2Params() *ContractServiceListContractsByCustomer2Params

NewContractServiceListContractsByCustomer2Params creates a new ContractServiceListContractsByCustomer2Params 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 NewContractServiceListContractsByCustomer2ParamsWithContext

func NewContractServiceListContractsByCustomer2ParamsWithContext(ctx context.Context) *ContractServiceListContractsByCustomer2Params

NewContractServiceListContractsByCustomer2ParamsWithContext creates a new ContractServiceListContractsByCustomer2Params object with the ability to set a context for a request.

func NewContractServiceListContractsByCustomer2ParamsWithHTTPClient

func NewContractServiceListContractsByCustomer2ParamsWithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomer2Params

NewContractServiceListContractsByCustomer2ParamsWithHTTPClient creates a new ContractServiceListContractsByCustomer2Params object with the ability to set a custom HTTPClient for a request.

func NewContractServiceListContractsByCustomer2ParamsWithTimeout

func NewContractServiceListContractsByCustomer2ParamsWithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomer2Params

NewContractServiceListContractsByCustomer2ParamsWithTimeout creates a new ContractServiceListContractsByCustomer2Params object with the ability to set a timeout on a request.

func (*ContractServiceListContractsByCustomer2Params) SetContext

SetContext adds the context to the contract service list contracts by customer2 params

func (*ContractServiceListContractsByCustomer2Params) SetCustomerID

func (o *ContractServiceListContractsByCustomer2Params) SetCustomerID(customerID string)

SetCustomerID adds the customerId to the contract service list contracts by customer2 params

func (*ContractServiceListContractsByCustomer2Params) SetCustomerOptionalID

func (o *ContractServiceListContractsByCustomer2Params) SetCustomerOptionalID(customerOptionalID *string)

SetCustomerOptionalID adds the customerOptionalId to the contract service list contracts by customer2 params

func (*ContractServiceListContractsByCustomer2Params) SetDefaults

SetDefaults hydrates default values in the contract service list contracts by customer2 params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceListContractsByCustomer2Params) SetHTTPClient

func (o *ContractServiceListContractsByCustomer2Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the contract service list contracts by customer2 params

func (*ContractServiceListContractsByCustomer2Params) SetPageSize

func (o *ContractServiceListContractsByCustomer2Params) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the contract service list contracts by customer2 params

func (*ContractServiceListContractsByCustomer2Params) SetPageToken

func (o *ContractServiceListContractsByCustomer2Params) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the contract service list contracts by customer2 params

func (*ContractServiceListContractsByCustomer2Params) SetTimeout

SetTimeout adds the timeout to the contract service list contracts by customer2 params

func (*ContractServiceListContractsByCustomer2Params) WithContext

WithContext adds the context to the contract service list contracts by customer2 params

func (*ContractServiceListContractsByCustomer2Params) WithCustomerID

WithCustomerID adds the customerID to the contract service list contracts by customer2 params

func (*ContractServiceListContractsByCustomer2Params) WithCustomerOptionalID

WithCustomerOptionalID adds the customerOptionalID to the contract service list contracts by customer2 params

func (*ContractServiceListContractsByCustomer2Params) WithDefaults

WithDefaults hydrates default values in the contract service list contracts by customer2 params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceListContractsByCustomer2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the contract service list contracts by customer2 params

func (*ContractServiceListContractsByCustomer2Params) WithPageSize

WithPageSize adds the pageSize to the contract service list contracts by customer2 params

func (*ContractServiceListContractsByCustomer2Params) WithPageToken

WithPageToken adds the pageToken to the contract service list contracts by customer2 params

func (*ContractServiceListContractsByCustomer2Params) WithTimeout

WithTimeout adds the timeout to the contract service list contracts by customer2 params

func (*ContractServiceListContractsByCustomer2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ContractServiceListContractsByCustomer2Reader

type ContractServiceListContractsByCustomer2Reader struct {
	// contains filtered or unexported fields
}

ContractServiceListContractsByCustomer2Reader is a Reader for the ContractServiceListContractsByCustomer2 structure.

func (*ContractServiceListContractsByCustomer2Reader) ReadResponse

func (o *ContractServiceListContractsByCustomer2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ContractServiceListContractsByCustomer3Default

type ContractServiceListContractsByCustomer3Default struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

ContractServiceListContractsByCustomer3Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewContractServiceListContractsByCustomer3Default

func NewContractServiceListContractsByCustomer3Default(code int) *ContractServiceListContractsByCustomer3Default

NewContractServiceListContractsByCustomer3Default creates a ContractServiceListContractsByCustomer3Default with default headers values

func (*ContractServiceListContractsByCustomer3Default) Code

Code gets the status code for the contract service list contracts by customer3 default response

func (*ContractServiceListContractsByCustomer3Default) Error

func (*ContractServiceListContractsByCustomer3Default) GetPayload

func (*ContractServiceListContractsByCustomer3Default) IsClientError

IsClientError returns true when this contract service list contracts by customer3 default response has a 4xx status code

func (*ContractServiceListContractsByCustomer3Default) IsCode

IsCode returns true when this contract service list contracts by customer3 default response a status code equal to that given

func (*ContractServiceListContractsByCustomer3Default) IsRedirect

IsRedirect returns true when this contract service list contracts by customer3 default response has a 3xx status code

func (*ContractServiceListContractsByCustomer3Default) IsServerError

IsServerError returns true when this contract service list contracts by customer3 default response has a 5xx status code

func (*ContractServiceListContractsByCustomer3Default) IsSuccess

IsSuccess returns true when this contract service list contracts by customer3 default response has a 2xx status code

func (*ContractServiceListContractsByCustomer3Default) String

type ContractServiceListContractsByCustomer3OK

type ContractServiceListContractsByCustomer3OK struct {
	Payload *models.V1ListContractsByCustomerResponse
}

ContractServiceListContractsByCustomer3OK describes a response with status code 200, with default header values.

A successful response.

func NewContractServiceListContractsByCustomer3OK

func NewContractServiceListContractsByCustomer3OK() *ContractServiceListContractsByCustomer3OK

NewContractServiceListContractsByCustomer3OK creates a ContractServiceListContractsByCustomer3OK with default headers values

func (*ContractServiceListContractsByCustomer3OK) Code

Code gets the status code for the contract service list contracts by customer3 o k response

func (*ContractServiceListContractsByCustomer3OK) Error

func (*ContractServiceListContractsByCustomer3OK) GetPayload

func (*ContractServiceListContractsByCustomer3OK) IsClientError

IsClientError returns true when this contract service list contracts by customer3 o k response has a 4xx status code

func (*ContractServiceListContractsByCustomer3OK) IsCode

IsCode returns true when this contract service list contracts by customer3 o k response a status code equal to that given

func (*ContractServiceListContractsByCustomer3OK) IsRedirect

IsRedirect returns true when this contract service list contracts by customer3 o k response has a 3xx status code

func (*ContractServiceListContractsByCustomer3OK) IsServerError

IsServerError returns true when this contract service list contracts by customer3 o k response has a 5xx status code

func (*ContractServiceListContractsByCustomer3OK) IsSuccess

IsSuccess returns true when this contract service list contracts by customer3 o k response has a 2xx status code

func (*ContractServiceListContractsByCustomer3OK) String

type ContractServiceListContractsByCustomer3Params

type ContractServiceListContractsByCustomer3Params struct {

	// Body.
	Body *models.V1ListContractsByCustomerRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContractServiceListContractsByCustomer3Params contains all the parameters to send to the API endpoint

for the contract service list contracts by customer3 operation.

Typically these are written to a http.Request.

func NewContractServiceListContractsByCustomer3Params

func NewContractServiceListContractsByCustomer3Params() *ContractServiceListContractsByCustomer3Params

NewContractServiceListContractsByCustomer3Params creates a new ContractServiceListContractsByCustomer3Params 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 NewContractServiceListContractsByCustomer3ParamsWithContext

func NewContractServiceListContractsByCustomer3ParamsWithContext(ctx context.Context) *ContractServiceListContractsByCustomer3Params

NewContractServiceListContractsByCustomer3ParamsWithContext creates a new ContractServiceListContractsByCustomer3Params object with the ability to set a context for a request.

func NewContractServiceListContractsByCustomer3ParamsWithHTTPClient

func NewContractServiceListContractsByCustomer3ParamsWithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomer3Params

NewContractServiceListContractsByCustomer3ParamsWithHTTPClient creates a new ContractServiceListContractsByCustomer3Params object with the ability to set a custom HTTPClient for a request.

func NewContractServiceListContractsByCustomer3ParamsWithTimeout

func NewContractServiceListContractsByCustomer3ParamsWithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomer3Params

NewContractServiceListContractsByCustomer3ParamsWithTimeout creates a new ContractServiceListContractsByCustomer3Params object with the ability to set a timeout on a request.

func (*ContractServiceListContractsByCustomer3Params) SetBody

SetBody adds the body to the contract service list contracts by customer3 params

func (*ContractServiceListContractsByCustomer3Params) SetContext

SetContext adds the context to the contract service list contracts by customer3 params

func (*ContractServiceListContractsByCustomer3Params) SetDefaults

SetDefaults hydrates default values in the contract service list contracts by customer3 params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceListContractsByCustomer3Params) SetHTTPClient

func (o *ContractServiceListContractsByCustomer3Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the contract service list contracts by customer3 params

func (*ContractServiceListContractsByCustomer3Params) SetTimeout

SetTimeout adds the timeout to the contract service list contracts by customer3 params

func (*ContractServiceListContractsByCustomer3Params) WithBody

WithBody adds the body to the contract service list contracts by customer3 params

func (*ContractServiceListContractsByCustomer3Params) WithContext

WithContext adds the context to the contract service list contracts by customer3 params

func (*ContractServiceListContractsByCustomer3Params) WithDefaults

WithDefaults hydrates default values in the contract service list contracts by customer3 params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceListContractsByCustomer3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the contract service list contracts by customer3 params

func (*ContractServiceListContractsByCustomer3Params) WithTimeout

WithTimeout adds the timeout to the contract service list contracts by customer3 params

func (*ContractServiceListContractsByCustomer3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ContractServiceListContractsByCustomer3Reader

type ContractServiceListContractsByCustomer3Reader struct {
	// contains filtered or unexported fields
}

ContractServiceListContractsByCustomer3Reader is a Reader for the ContractServiceListContractsByCustomer3 structure.

func (*ContractServiceListContractsByCustomer3Reader) ReadResponse

func (o *ContractServiceListContractsByCustomer3Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ContractServiceListContractsByCustomer4Default

type ContractServiceListContractsByCustomer4Default struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

ContractServiceListContractsByCustomer4Default describes a response with status code -1, with default header values.

An unexpected error response.

func NewContractServiceListContractsByCustomer4Default

func NewContractServiceListContractsByCustomer4Default(code int) *ContractServiceListContractsByCustomer4Default

NewContractServiceListContractsByCustomer4Default creates a ContractServiceListContractsByCustomer4Default with default headers values

func (*ContractServiceListContractsByCustomer4Default) Code

Code gets the status code for the contract service list contracts by customer4 default response

func (*ContractServiceListContractsByCustomer4Default) Error

func (*ContractServiceListContractsByCustomer4Default) GetPayload

func (*ContractServiceListContractsByCustomer4Default) IsClientError

IsClientError returns true when this contract service list contracts by customer4 default response has a 4xx status code

func (*ContractServiceListContractsByCustomer4Default) IsCode

IsCode returns true when this contract service list contracts by customer4 default response a status code equal to that given

func (*ContractServiceListContractsByCustomer4Default) IsRedirect

IsRedirect returns true when this contract service list contracts by customer4 default response has a 3xx status code

func (*ContractServiceListContractsByCustomer4Default) IsServerError

IsServerError returns true when this contract service list contracts by customer4 default response has a 5xx status code

func (*ContractServiceListContractsByCustomer4Default) IsSuccess

IsSuccess returns true when this contract service list contracts by customer4 default response has a 2xx status code

func (*ContractServiceListContractsByCustomer4Default) String

type ContractServiceListContractsByCustomer4OK

type ContractServiceListContractsByCustomer4OK struct {
	Payload *models.V1ListContractsByCustomerResponse
}

ContractServiceListContractsByCustomer4OK describes a response with status code 200, with default header values.

A successful response.

func NewContractServiceListContractsByCustomer4OK

func NewContractServiceListContractsByCustomer4OK() *ContractServiceListContractsByCustomer4OK

NewContractServiceListContractsByCustomer4OK creates a ContractServiceListContractsByCustomer4OK with default headers values

func (*ContractServiceListContractsByCustomer4OK) Code

Code gets the status code for the contract service list contracts by customer4 o k response

func (*ContractServiceListContractsByCustomer4OK) Error

func (*ContractServiceListContractsByCustomer4OK) GetPayload

func (*ContractServiceListContractsByCustomer4OK) IsClientError

IsClientError returns true when this contract service list contracts by customer4 o k response has a 4xx status code

func (*ContractServiceListContractsByCustomer4OK) IsCode

IsCode returns true when this contract service list contracts by customer4 o k response a status code equal to that given

func (*ContractServiceListContractsByCustomer4OK) IsRedirect

IsRedirect returns true when this contract service list contracts by customer4 o k response has a 3xx status code

func (*ContractServiceListContractsByCustomer4OK) IsServerError

IsServerError returns true when this contract service list contracts by customer4 o k response has a 5xx status code

func (*ContractServiceListContractsByCustomer4OK) IsSuccess

IsSuccess returns true when this contract service list contracts by customer4 o k response has a 2xx status code

func (*ContractServiceListContractsByCustomer4OK) String

type ContractServiceListContractsByCustomer4Params

type ContractServiceListContractsByCustomer4Params struct {

	/* CustomerID.

	   顧客ID
	*/
	CustomerID string

	/* CustomerOptionalID.

	   顧客管理ID(顧客IDの代わりに指定可)
	*/
	CustomerOptionalID *string

	/* PageSize.

	   一覧取得する最大数

	   Format: int32
	*/
	PageSize *int32

	/* PageToken.

	   一覧取得に使用するトークン
	*/
	PageToken *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContractServiceListContractsByCustomer4Params contains all the parameters to send to the API endpoint

for the contract service list contracts by customer4 operation.

Typically these are written to a http.Request.

func NewContractServiceListContractsByCustomer4Params

func NewContractServiceListContractsByCustomer4Params() *ContractServiceListContractsByCustomer4Params

NewContractServiceListContractsByCustomer4Params creates a new ContractServiceListContractsByCustomer4Params 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 NewContractServiceListContractsByCustomer4ParamsWithContext

func NewContractServiceListContractsByCustomer4ParamsWithContext(ctx context.Context) *ContractServiceListContractsByCustomer4Params

NewContractServiceListContractsByCustomer4ParamsWithContext creates a new ContractServiceListContractsByCustomer4Params object with the ability to set a context for a request.

func NewContractServiceListContractsByCustomer4ParamsWithHTTPClient

func NewContractServiceListContractsByCustomer4ParamsWithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomer4Params

NewContractServiceListContractsByCustomer4ParamsWithHTTPClient creates a new ContractServiceListContractsByCustomer4Params object with the ability to set a custom HTTPClient for a request.

func NewContractServiceListContractsByCustomer4ParamsWithTimeout

func NewContractServiceListContractsByCustomer4ParamsWithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomer4Params

NewContractServiceListContractsByCustomer4ParamsWithTimeout creates a new ContractServiceListContractsByCustomer4Params object with the ability to set a timeout on a request.

func (*ContractServiceListContractsByCustomer4Params) SetContext

SetContext adds the context to the contract service list contracts by customer4 params

func (*ContractServiceListContractsByCustomer4Params) SetCustomerID

func (o *ContractServiceListContractsByCustomer4Params) SetCustomerID(customerID string)

SetCustomerID adds the customerId to the contract service list contracts by customer4 params

func (*ContractServiceListContractsByCustomer4Params) SetCustomerOptionalID

func (o *ContractServiceListContractsByCustomer4Params) SetCustomerOptionalID(customerOptionalID *string)

SetCustomerOptionalID adds the customerOptionalId to the contract service list contracts by customer4 params

func (*ContractServiceListContractsByCustomer4Params) SetDefaults

SetDefaults hydrates default values in the contract service list contracts by customer4 params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceListContractsByCustomer4Params) SetHTTPClient

func (o *ContractServiceListContractsByCustomer4Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the contract service list contracts by customer4 params

func (*ContractServiceListContractsByCustomer4Params) SetPageSize

func (o *ContractServiceListContractsByCustomer4Params) SetPageSize(pageSize *int32)

SetPageSize adds the pageSize to the contract service list contracts by customer4 params

func (*ContractServiceListContractsByCustomer4Params) SetPageToken

func (o *ContractServiceListContractsByCustomer4Params) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the contract service list contracts by customer4 params

func (*ContractServiceListContractsByCustomer4Params) SetTimeout

SetTimeout adds the timeout to the contract service list contracts by customer4 params

func (*ContractServiceListContractsByCustomer4Params) WithContext

WithContext adds the context to the contract service list contracts by customer4 params

func (*ContractServiceListContractsByCustomer4Params) WithCustomerID

WithCustomerID adds the customerID to the contract service list contracts by customer4 params

func (*ContractServiceListContractsByCustomer4Params) WithCustomerOptionalID

WithCustomerOptionalID adds the customerOptionalID to the contract service list contracts by customer4 params

func (*ContractServiceListContractsByCustomer4Params) WithDefaults

WithDefaults hydrates default values in the contract service list contracts by customer4 params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceListContractsByCustomer4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the contract service list contracts by customer4 params

func (*ContractServiceListContractsByCustomer4Params) WithPageSize

WithPageSize adds the pageSize to the contract service list contracts by customer4 params

func (*ContractServiceListContractsByCustomer4Params) WithPageToken

WithPageToken adds the pageToken to the contract service list contracts by customer4 params

func (*ContractServiceListContractsByCustomer4Params) WithTimeout

WithTimeout adds the timeout to the contract service list contracts by customer4 params

func (*ContractServiceListContractsByCustomer4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ContractServiceListContractsByCustomer4Reader

type ContractServiceListContractsByCustomer4Reader struct {
	// contains filtered or unexported fields
}

ContractServiceListContractsByCustomer4Reader is a Reader for the ContractServiceListContractsByCustomer4 structure.

func (*ContractServiceListContractsByCustomer4Reader) ReadResponse

func (o *ContractServiceListContractsByCustomer4Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ContractServiceListContractsByCustomerDefault

type ContractServiceListContractsByCustomerDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

ContractServiceListContractsByCustomerDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewContractServiceListContractsByCustomerDefault

func NewContractServiceListContractsByCustomerDefault(code int) *ContractServiceListContractsByCustomerDefault

NewContractServiceListContractsByCustomerDefault creates a ContractServiceListContractsByCustomerDefault with default headers values

func (*ContractServiceListContractsByCustomerDefault) Code

Code gets the status code for the contract service list contracts by customer default response

func (*ContractServiceListContractsByCustomerDefault) Error

func (*ContractServiceListContractsByCustomerDefault) GetPayload

func (*ContractServiceListContractsByCustomerDefault) IsClientError

IsClientError returns true when this contract service list contracts by customer default response has a 4xx status code

func (*ContractServiceListContractsByCustomerDefault) IsCode

IsCode returns true when this contract service list contracts by customer default response a status code equal to that given

func (*ContractServiceListContractsByCustomerDefault) IsRedirect

IsRedirect returns true when this contract service list contracts by customer default response has a 3xx status code

func (*ContractServiceListContractsByCustomerDefault) IsServerError

IsServerError returns true when this contract service list contracts by customer default response has a 5xx status code

func (*ContractServiceListContractsByCustomerDefault) IsSuccess

IsSuccess returns true when this contract service list contracts by customer default response has a 2xx status code

func (*ContractServiceListContractsByCustomerDefault) String

type ContractServiceListContractsByCustomerOK

type ContractServiceListContractsByCustomerOK struct {
	Payload *models.V1ListContractsByCustomerResponse
}

ContractServiceListContractsByCustomerOK describes a response with status code 200, with default header values.

A successful response.

func NewContractServiceListContractsByCustomerOK

func NewContractServiceListContractsByCustomerOK() *ContractServiceListContractsByCustomerOK

NewContractServiceListContractsByCustomerOK creates a ContractServiceListContractsByCustomerOK with default headers values

func (*ContractServiceListContractsByCustomerOK) Code

Code gets the status code for the contract service list contracts by customer o k response

func (*ContractServiceListContractsByCustomerOK) Error

func (*ContractServiceListContractsByCustomerOK) GetPayload

func (*ContractServiceListContractsByCustomerOK) IsClientError

IsClientError returns true when this contract service list contracts by customer o k response has a 4xx status code

func (*ContractServiceListContractsByCustomerOK) IsCode

IsCode returns true when this contract service list contracts by customer o k response a status code equal to that given

func (*ContractServiceListContractsByCustomerOK) IsRedirect

IsRedirect returns true when this contract service list contracts by customer o k response has a 3xx status code

func (*ContractServiceListContractsByCustomerOK) IsServerError

IsServerError returns true when this contract service list contracts by customer o k response has a 5xx status code

func (*ContractServiceListContractsByCustomerOK) IsSuccess

IsSuccess returns true when this contract service list contracts by customer o k response has a 2xx status code

func (*ContractServiceListContractsByCustomerOK) String

type ContractServiceListContractsByCustomerParams

type ContractServiceListContractsByCustomerParams struct {

	// Body.
	Body *models.V1ListContractsByCustomerRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ContractServiceListContractsByCustomerParams contains all the parameters to send to the API endpoint

for the contract service list contracts by customer operation.

Typically these are written to a http.Request.

func NewContractServiceListContractsByCustomerParams

func NewContractServiceListContractsByCustomerParams() *ContractServiceListContractsByCustomerParams

NewContractServiceListContractsByCustomerParams creates a new ContractServiceListContractsByCustomerParams 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 NewContractServiceListContractsByCustomerParamsWithContext

func NewContractServiceListContractsByCustomerParamsWithContext(ctx context.Context) *ContractServiceListContractsByCustomerParams

NewContractServiceListContractsByCustomerParamsWithContext creates a new ContractServiceListContractsByCustomerParams object with the ability to set a context for a request.

func NewContractServiceListContractsByCustomerParamsWithHTTPClient

func NewContractServiceListContractsByCustomerParamsWithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomerParams

NewContractServiceListContractsByCustomerParamsWithHTTPClient creates a new ContractServiceListContractsByCustomerParams object with the ability to set a custom HTTPClient for a request.

func NewContractServiceListContractsByCustomerParamsWithTimeout

func NewContractServiceListContractsByCustomerParamsWithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomerParams

NewContractServiceListContractsByCustomerParamsWithTimeout creates a new ContractServiceListContractsByCustomerParams object with the ability to set a timeout on a request.

func (*ContractServiceListContractsByCustomerParams) SetBody

SetBody adds the body to the contract service list contracts by customer params

func (*ContractServiceListContractsByCustomerParams) SetContext

SetContext adds the context to the contract service list contracts by customer params

func (*ContractServiceListContractsByCustomerParams) SetDefaults

SetDefaults hydrates default values in the contract service list contracts by customer params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceListContractsByCustomerParams) SetHTTPClient

func (o *ContractServiceListContractsByCustomerParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the contract service list contracts by customer params

func (*ContractServiceListContractsByCustomerParams) SetTimeout

SetTimeout adds the timeout to the contract service list contracts by customer params

func (*ContractServiceListContractsByCustomerParams) WithBody

WithBody adds the body to the contract service list contracts by customer params

func (*ContractServiceListContractsByCustomerParams) WithContext

WithContext adds the context to the contract service list contracts by customer params

func (*ContractServiceListContractsByCustomerParams) WithDefaults

WithDefaults hydrates default values in the contract service list contracts by customer params (not the query body).

All values with no default are reset to their zero value.

func (*ContractServiceListContractsByCustomerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the contract service list contracts by customer params

func (*ContractServiceListContractsByCustomerParams) WithTimeout

WithTimeout adds the timeout to the contract service list contracts by customer params

func (*ContractServiceListContractsByCustomerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ContractServiceListContractsByCustomerReader

type ContractServiceListContractsByCustomerReader struct {
	// contains filtered or unexported fields
}

ContractServiceListContractsByCustomerReader is a Reader for the ContractServiceListContractsByCustomer structure.

func (*ContractServiceListContractsByCustomerReader) ReadResponse

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

Code gets the status code for the contract service list contracts default response

func (*ContractServiceListContractsDefault) Error

func (*ContractServiceListContractsDefault) GetPayload

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

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

IsSuccess returns true when this contract service list contracts default response has a 2xx status code

func (*ContractServiceListContractsDefault) String

type ContractServiceListContractsOK

type ContractServiceListContractsOK struct {
	Payload *models.V1ListContractsResponse
}

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

Code gets the status code for the contract service list contracts o k response

func (*ContractServiceListContractsOK) Error

func (*ContractServiceListContractsOK) GetPayload

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

type ContractServiceListContractsParams

type ContractServiceListContractsParams struct {

	// Body.
	Body *models.V1ListContractsRequest

	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) SetBody

SetBody adds the body to the contract service list contracts params

func (*ContractServiceListContractsParams) SetContext

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) SetTimeout

func (o *ContractServiceListContractsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the contract service list contracts params

func (*ContractServiceListContractsParams) WithBody

WithBody adds the body to the contract service list contracts params

func (*ContractServiceListContractsParams) WithContext

WithContext adds the context to the contract service list contracts params

func (*ContractServiceListContractsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the contract service list contracts params

func (*ContractServiceListContractsParams) WithTimeout

WithTimeout adds the timeout to the contract service list contracts params

func (*ContractServiceListContractsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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