Documentation ¶
Index ¶
- type Client
- func (a *Client) ContractServiceCreateContract(params *ContractServiceCreateContractParams, opts ...ClientOption) (*ContractServiceCreateContractOK, error)
- func (a *Client) ContractServiceGetContract(params *ContractServiceGetContractParams, opts ...ClientOption) (*ContractServiceGetContractOK, error)
- func (a *Client) ContractServiceGetContract2(params *ContractServiceGetContract2Params, opts ...ClientOption) (*ContractServiceGetContract2OK, error)
- func (a *Client) ContractServiceGetContractByOptionalID(params *ContractServiceGetContractByOptionalIDParams, opts ...ClientOption) (*ContractServiceGetContractByOptionalIDOK, error)
- func (a *Client) ContractServiceGetContractByOptionalId2(params *ContractServiceGetContractByOptionalId2Params, opts ...ClientOption) (*ContractServiceGetContractByOptionalId2OK, error)
- func (a *Client) ContractServiceListContracts(params *ContractServiceListContractsParams, opts ...ClientOption) (*ContractServiceListContractsOK, error)
- func (a *Client) ContractServiceListContracts2(params *ContractServiceListContracts2Params, opts ...ClientOption) (*ContractServiceListContracts2OK, error)
- func (a *Client) ContractServiceListContractsByCustomer(params *ContractServiceListContractsByCustomerParams, opts ...ClientOption) (*ContractServiceListContractsByCustomerOK, error)
- func (a *Client) ContractServiceListContractsByCustomer2(params *ContractServiceListContractsByCustomer2Params, opts ...ClientOption) (*ContractServiceListContractsByCustomer2OK, error)
- func (a *Client) ContractServiceListContractsByCustomer3(params *ContractServiceListContractsByCustomer3Params, opts ...ClientOption) (*ContractServiceListContractsByCustomer3OK, error)
- func (a *Client) ContractServiceListContractsByCustomer4(params *ContractServiceListContractsByCustomer4Params, opts ...ClientOption) (*ContractServiceListContractsByCustomer4OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ContractServiceCreateContractDefault
- func (o *ContractServiceCreateContractDefault) Code() int
- func (o *ContractServiceCreateContractDefault) Error() string
- func (o *ContractServiceCreateContractDefault) GetPayload() *models.GooglerpcStatus
- func (o *ContractServiceCreateContractDefault) IsClientError() bool
- func (o *ContractServiceCreateContractDefault) IsCode(code int) bool
- func (o *ContractServiceCreateContractDefault) IsRedirect() bool
- func (o *ContractServiceCreateContractDefault) IsServerError() bool
- func (o *ContractServiceCreateContractDefault) IsSuccess() bool
- func (o *ContractServiceCreateContractDefault) String() string
- type ContractServiceCreateContractOK
- func (o *ContractServiceCreateContractOK) Code() int
- func (o *ContractServiceCreateContractOK) Error() string
- func (o *ContractServiceCreateContractOK) GetPayload() *models.V1CreateContractResponse
- func (o *ContractServiceCreateContractOK) IsClientError() bool
- func (o *ContractServiceCreateContractOK) IsCode(code int) bool
- func (o *ContractServiceCreateContractOK) IsRedirect() bool
- func (o *ContractServiceCreateContractOK) IsServerError() bool
- func (o *ContractServiceCreateContractOK) IsSuccess() bool
- func (o *ContractServiceCreateContractOK) String() string
- type ContractServiceCreateContractParams
- func NewContractServiceCreateContractParams() *ContractServiceCreateContractParams
- func NewContractServiceCreateContractParamsWithContext(ctx context.Context) *ContractServiceCreateContractParams
- func NewContractServiceCreateContractParamsWithHTTPClient(client *http.Client) *ContractServiceCreateContractParams
- func NewContractServiceCreateContractParamsWithTimeout(timeout time.Duration) *ContractServiceCreateContractParams
- func (o *ContractServiceCreateContractParams) SetBody(body *models.V1CreateContractRequest)
- func (o *ContractServiceCreateContractParams) SetContext(ctx context.Context)
- func (o *ContractServiceCreateContractParams) SetDefaults()
- func (o *ContractServiceCreateContractParams) SetHTTPClient(client *http.Client)
- func (o *ContractServiceCreateContractParams) SetTimeout(timeout time.Duration)
- func (o *ContractServiceCreateContractParams) WithBody(body *models.V1CreateContractRequest) *ContractServiceCreateContractParams
- func (o *ContractServiceCreateContractParams) WithContext(ctx context.Context) *ContractServiceCreateContractParams
- func (o *ContractServiceCreateContractParams) WithDefaults() *ContractServiceCreateContractParams
- func (o *ContractServiceCreateContractParams) WithHTTPClient(client *http.Client) *ContractServiceCreateContractParams
- func (o *ContractServiceCreateContractParams) WithTimeout(timeout time.Duration) *ContractServiceCreateContractParams
- func (o *ContractServiceCreateContractParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractServiceCreateContractReader
- type ContractServiceGetContract2Default
- func (o *ContractServiceGetContract2Default) Code() int
- func (o *ContractServiceGetContract2Default) Error() string
- func (o *ContractServiceGetContract2Default) GetPayload() *models.GooglerpcStatus
- func (o *ContractServiceGetContract2Default) IsClientError() bool
- func (o *ContractServiceGetContract2Default) IsCode(code int) bool
- func (o *ContractServiceGetContract2Default) IsRedirect() bool
- func (o *ContractServiceGetContract2Default) IsServerError() bool
- func (o *ContractServiceGetContract2Default) IsSuccess() bool
- func (o *ContractServiceGetContract2Default) String() string
- type ContractServiceGetContract2OK
- func (o *ContractServiceGetContract2OK) Code() int
- func (o *ContractServiceGetContract2OK) Error() string
- func (o *ContractServiceGetContract2OK) GetPayload() *models.V1GetContractResponse
- func (o *ContractServiceGetContract2OK) IsClientError() bool
- func (o *ContractServiceGetContract2OK) IsCode(code int) bool
- func (o *ContractServiceGetContract2OK) IsRedirect() bool
- func (o *ContractServiceGetContract2OK) IsServerError() bool
- func (o *ContractServiceGetContract2OK) IsSuccess() bool
- func (o *ContractServiceGetContract2OK) String() string
- type ContractServiceGetContract2Params
- func NewContractServiceGetContract2Params() *ContractServiceGetContract2Params
- func NewContractServiceGetContract2ParamsWithContext(ctx context.Context) *ContractServiceGetContract2Params
- func NewContractServiceGetContract2ParamsWithHTTPClient(client *http.Client) *ContractServiceGetContract2Params
- func NewContractServiceGetContract2ParamsWithTimeout(timeout time.Duration) *ContractServiceGetContract2Params
- func (o *ContractServiceGetContract2Params) SetContext(ctx context.Context)
- func (o *ContractServiceGetContract2Params) SetDefaults()
- func (o *ContractServiceGetContract2Params) SetHTTPClient(client *http.Client)
- func (o *ContractServiceGetContract2Params) SetID(id string)
- func (o *ContractServiceGetContract2Params) SetTimeout(timeout time.Duration)
- func (o *ContractServiceGetContract2Params) SetVersion(version *int32)
- func (o *ContractServiceGetContract2Params) WithContext(ctx context.Context) *ContractServiceGetContract2Params
- func (o *ContractServiceGetContract2Params) WithDefaults() *ContractServiceGetContract2Params
- func (o *ContractServiceGetContract2Params) WithHTTPClient(client *http.Client) *ContractServiceGetContract2Params
- func (o *ContractServiceGetContract2Params) WithID(id string) *ContractServiceGetContract2Params
- func (o *ContractServiceGetContract2Params) WithTimeout(timeout time.Duration) *ContractServiceGetContract2Params
- func (o *ContractServiceGetContract2Params) WithVersion(version *int32) *ContractServiceGetContract2Params
- func (o *ContractServiceGetContract2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractServiceGetContract2Reader
- type ContractServiceGetContractByOptionalIDDefault
- func (o *ContractServiceGetContractByOptionalIDDefault) Code() int
- func (o *ContractServiceGetContractByOptionalIDDefault) Error() string
- func (o *ContractServiceGetContractByOptionalIDDefault) GetPayload() *models.GooglerpcStatus
- func (o *ContractServiceGetContractByOptionalIDDefault) IsClientError() bool
- func (o *ContractServiceGetContractByOptionalIDDefault) IsCode(code int) bool
- func (o *ContractServiceGetContractByOptionalIDDefault) IsRedirect() bool
- func (o *ContractServiceGetContractByOptionalIDDefault) IsServerError() bool
- func (o *ContractServiceGetContractByOptionalIDDefault) IsSuccess() bool
- func (o *ContractServiceGetContractByOptionalIDDefault) String() string
- type ContractServiceGetContractByOptionalIDOK
- func (o *ContractServiceGetContractByOptionalIDOK) Code() int
- func (o *ContractServiceGetContractByOptionalIDOK) Error() string
- func (o *ContractServiceGetContractByOptionalIDOK) GetPayload() *models.V1GetContractByOptionalIDResponse
- func (o *ContractServiceGetContractByOptionalIDOK) IsClientError() bool
- func (o *ContractServiceGetContractByOptionalIDOK) IsCode(code int) bool
- func (o *ContractServiceGetContractByOptionalIDOK) IsRedirect() bool
- func (o *ContractServiceGetContractByOptionalIDOK) IsServerError() bool
- func (o *ContractServiceGetContractByOptionalIDOK) IsSuccess() bool
- func (o *ContractServiceGetContractByOptionalIDOK) String() string
- type ContractServiceGetContractByOptionalIDParams
- func NewContractServiceGetContractByOptionalIDParams() *ContractServiceGetContractByOptionalIDParams
- func NewContractServiceGetContractByOptionalIDParamsWithContext(ctx context.Context) *ContractServiceGetContractByOptionalIDParams
- func NewContractServiceGetContractByOptionalIDParamsWithHTTPClient(client *http.Client) *ContractServiceGetContractByOptionalIDParams
- func NewContractServiceGetContractByOptionalIDParamsWithTimeout(timeout time.Duration) *ContractServiceGetContractByOptionalIDParams
- func (o *ContractServiceGetContractByOptionalIDParams) SetBody(body *models.V1GetContractByOptionalIDRequest)
- func (o *ContractServiceGetContractByOptionalIDParams) SetContext(ctx context.Context)
- func (o *ContractServiceGetContractByOptionalIDParams) SetDefaults()
- func (o *ContractServiceGetContractByOptionalIDParams) SetHTTPClient(client *http.Client)
- func (o *ContractServiceGetContractByOptionalIDParams) SetTimeout(timeout time.Duration)
- func (o *ContractServiceGetContractByOptionalIDParams) WithBody(body *models.V1GetContractByOptionalIDRequest) *ContractServiceGetContractByOptionalIDParams
- func (o *ContractServiceGetContractByOptionalIDParams) WithContext(ctx context.Context) *ContractServiceGetContractByOptionalIDParams
- func (o *ContractServiceGetContractByOptionalIDParams) WithDefaults() *ContractServiceGetContractByOptionalIDParams
- func (o *ContractServiceGetContractByOptionalIDParams) WithHTTPClient(client *http.Client) *ContractServiceGetContractByOptionalIDParams
- func (o *ContractServiceGetContractByOptionalIDParams) WithTimeout(timeout time.Duration) *ContractServiceGetContractByOptionalIDParams
- func (o *ContractServiceGetContractByOptionalIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractServiceGetContractByOptionalIDReader
- type ContractServiceGetContractByOptionalId2Default
- func (o *ContractServiceGetContractByOptionalId2Default) Code() int
- func (o *ContractServiceGetContractByOptionalId2Default) Error() string
- func (o *ContractServiceGetContractByOptionalId2Default) GetPayload() *models.GooglerpcStatus
- func (o *ContractServiceGetContractByOptionalId2Default) IsClientError() bool
- func (o *ContractServiceGetContractByOptionalId2Default) IsCode(code int) bool
- func (o *ContractServiceGetContractByOptionalId2Default) IsRedirect() bool
- func (o *ContractServiceGetContractByOptionalId2Default) IsServerError() bool
- func (o *ContractServiceGetContractByOptionalId2Default) IsSuccess() bool
- func (o *ContractServiceGetContractByOptionalId2Default) String() string
- type ContractServiceGetContractByOptionalId2OK
- func (o *ContractServiceGetContractByOptionalId2OK) Code() int
- func (o *ContractServiceGetContractByOptionalId2OK) Error() string
- func (o *ContractServiceGetContractByOptionalId2OK) GetPayload() *models.V1GetContractByOptionalIDResponse
- func (o *ContractServiceGetContractByOptionalId2OK) IsClientError() bool
- func (o *ContractServiceGetContractByOptionalId2OK) IsCode(code int) bool
- func (o *ContractServiceGetContractByOptionalId2OK) IsRedirect() bool
- func (o *ContractServiceGetContractByOptionalId2OK) IsServerError() bool
- func (o *ContractServiceGetContractByOptionalId2OK) IsSuccess() bool
- func (o *ContractServiceGetContractByOptionalId2OK) String() string
- type ContractServiceGetContractByOptionalId2Params
- func NewContractServiceGetContractByOptionalId2Params() *ContractServiceGetContractByOptionalId2Params
- func NewContractServiceGetContractByOptionalId2ParamsWithContext(ctx context.Context) *ContractServiceGetContractByOptionalId2Params
- func NewContractServiceGetContractByOptionalId2ParamsWithHTTPClient(client *http.Client) *ContractServiceGetContractByOptionalId2Params
- func NewContractServiceGetContractByOptionalId2ParamsWithTimeout(timeout time.Duration) *ContractServiceGetContractByOptionalId2Params
- func (o *ContractServiceGetContractByOptionalId2Params) SetContext(ctx context.Context)
- func (o *ContractServiceGetContractByOptionalId2Params) SetDefaults()
- func (o *ContractServiceGetContractByOptionalId2Params) SetHTTPClient(client *http.Client)
- func (o *ContractServiceGetContractByOptionalId2Params) SetOptionalID(optionalID string)
- func (o *ContractServiceGetContractByOptionalId2Params) SetTimeout(timeout time.Duration)
- func (o *ContractServiceGetContractByOptionalId2Params) SetVersion(version *int32)
- func (o *ContractServiceGetContractByOptionalId2Params) WithContext(ctx context.Context) *ContractServiceGetContractByOptionalId2Params
- func (o *ContractServiceGetContractByOptionalId2Params) WithDefaults() *ContractServiceGetContractByOptionalId2Params
- func (o *ContractServiceGetContractByOptionalId2Params) WithHTTPClient(client *http.Client) *ContractServiceGetContractByOptionalId2Params
- func (o *ContractServiceGetContractByOptionalId2Params) WithOptionalID(optionalID string) *ContractServiceGetContractByOptionalId2Params
- func (o *ContractServiceGetContractByOptionalId2Params) WithTimeout(timeout time.Duration) *ContractServiceGetContractByOptionalId2Params
- func (o *ContractServiceGetContractByOptionalId2Params) WithVersion(version *int32) *ContractServiceGetContractByOptionalId2Params
- func (o *ContractServiceGetContractByOptionalId2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractServiceGetContractByOptionalId2Reader
- type ContractServiceGetContractDefault
- func (o *ContractServiceGetContractDefault) Code() int
- func (o *ContractServiceGetContractDefault) Error() string
- func (o *ContractServiceGetContractDefault) GetPayload() *models.GooglerpcStatus
- func (o *ContractServiceGetContractDefault) IsClientError() bool
- func (o *ContractServiceGetContractDefault) IsCode(code int) bool
- func (o *ContractServiceGetContractDefault) IsRedirect() bool
- func (o *ContractServiceGetContractDefault) IsServerError() bool
- func (o *ContractServiceGetContractDefault) IsSuccess() bool
- func (o *ContractServiceGetContractDefault) String() string
- type ContractServiceGetContractOK
- func (o *ContractServiceGetContractOK) Code() int
- func (o *ContractServiceGetContractOK) Error() string
- func (o *ContractServiceGetContractOK) GetPayload() *models.V1GetContractResponse
- func (o *ContractServiceGetContractOK) IsClientError() bool
- func (o *ContractServiceGetContractOK) IsCode(code int) bool
- func (o *ContractServiceGetContractOK) IsRedirect() bool
- func (o *ContractServiceGetContractOK) IsServerError() bool
- func (o *ContractServiceGetContractOK) IsSuccess() bool
- func (o *ContractServiceGetContractOK) String() string
- type ContractServiceGetContractParams
- func NewContractServiceGetContractParams() *ContractServiceGetContractParams
- func NewContractServiceGetContractParamsWithContext(ctx context.Context) *ContractServiceGetContractParams
- func NewContractServiceGetContractParamsWithHTTPClient(client *http.Client) *ContractServiceGetContractParams
- func NewContractServiceGetContractParamsWithTimeout(timeout time.Duration) *ContractServiceGetContractParams
- func (o *ContractServiceGetContractParams) SetBody(body *models.V1GetContractRequest)
- func (o *ContractServiceGetContractParams) SetContext(ctx context.Context)
- func (o *ContractServiceGetContractParams) SetDefaults()
- func (o *ContractServiceGetContractParams) SetHTTPClient(client *http.Client)
- func (o *ContractServiceGetContractParams) SetTimeout(timeout time.Duration)
- func (o *ContractServiceGetContractParams) WithBody(body *models.V1GetContractRequest) *ContractServiceGetContractParams
- func (o *ContractServiceGetContractParams) WithContext(ctx context.Context) *ContractServiceGetContractParams
- func (o *ContractServiceGetContractParams) WithDefaults() *ContractServiceGetContractParams
- func (o *ContractServiceGetContractParams) WithHTTPClient(client *http.Client) *ContractServiceGetContractParams
- func (o *ContractServiceGetContractParams) WithTimeout(timeout time.Duration) *ContractServiceGetContractParams
- func (o *ContractServiceGetContractParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractServiceGetContractReader
- type ContractServiceListContracts2Default
- func (o *ContractServiceListContracts2Default) Code() int
- func (o *ContractServiceListContracts2Default) Error() string
- func (o *ContractServiceListContracts2Default) GetPayload() *models.GooglerpcStatus
- func (o *ContractServiceListContracts2Default) IsClientError() bool
- func (o *ContractServiceListContracts2Default) IsCode(code int) bool
- func (o *ContractServiceListContracts2Default) IsRedirect() bool
- func (o *ContractServiceListContracts2Default) IsServerError() bool
- func (o *ContractServiceListContracts2Default) IsSuccess() bool
- func (o *ContractServiceListContracts2Default) String() string
- type ContractServiceListContracts2OK
- func (o *ContractServiceListContracts2OK) Code() int
- func (o *ContractServiceListContracts2OK) Error() string
- func (o *ContractServiceListContracts2OK) GetPayload() *models.V1ListContractsResponse
- func (o *ContractServiceListContracts2OK) IsClientError() bool
- func (o *ContractServiceListContracts2OK) IsCode(code int) bool
- func (o *ContractServiceListContracts2OK) IsRedirect() bool
- func (o *ContractServiceListContracts2OK) IsServerError() bool
- func (o *ContractServiceListContracts2OK) IsSuccess() bool
- func (o *ContractServiceListContracts2OK) String() string
- type ContractServiceListContracts2Params
- func NewContractServiceListContracts2Params() *ContractServiceListContracts2Params
- func NewContractServiceListContracts2ParamsWithContext(ctx context.Context) *ContractServiceListContracts2Params
- func NewContractServiceListContracts2ParamsWithHTTPClient(client *http.Client) *ContractServiceListContracts2Params
- func NewContractServiceListContracts2ParamsWithTimeout(timeout time.Duration) *ContractServiceListContracts2Params
- func (o *ContractServiceListContracts2Params) SetContext(ctx context.Context)
- func (o *ContractServiceListContracts2Params) SetDefaults()
- func (o *ContractServiceListContracts2Params) SetHTTPClient(client *http.Client)
- func (o *ContractServiceListContracts2Params) SetPageSize(pageSize *int32)
- func (o *ContractServiceListContracts2Params) SetPageToken(pageToken *string)
- func (o *ContractServiceListContracts2Params) SetTimeout(timeout time.Duration)
- func (o *ContractServiceListContracts2Params) WithContext(ctx context.Context) *ContractServiceListContracts2Params
- func (o *ContractServiceListContracts2Params) WithDefaults() *ContractServiceListContracts2Params
- func (o *ContractServiceListContracts2Params) WithHTTPClient(client *http.Client) *ContractServiceListContracts2Params
- func (o *ContractServiceListContracts2Params) WithPageSize(pageSize *int32) *ContractServiceListContracts2Params
- func (o *ContractServiceListContracts2Params) WithPageToken(pageToken *string) *ContractServiceListContracts2Params
- func (o *ContractServiceListContracts2Params) WithTimeout(timeout time.Duration) *ContractServiceListContracts2Params
- func (o *ContractServiceListContracts2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractServiceListContracts2Reader
- type ContractServiceListContractsByCustomer2Default
- func (o *ContractServiceListContractsByCustomer2Default) Code() int
- func (o *ContractServiceListContractsByCustomer2Default) Error() string
- func (o *ContractServiceListContractsByCustomer2Default) GetPayload() *models.GooglerpcStatus
- func (o *ContractServiceListContractsByCustomer2Default) IsClientError() bool
- func (o *ContractServiceListContractsByCustomer2Default) IsCode(code int) bool
- func (o *ContractServiceListContractsByCustomer2Default) IsRedirect() bool
- func (o *ContractServiceListContractsByCustomer2Default) IsServerError() bool
- func (o *ContractServiceListContractsByCustomer2Default) IsSuccess() bool
- func (o *ContractServiceListContractsByCustomer2Default) String() string
- type ContractServiceListContractsByCustomer2OK
- func (o *ContractServiceListContractsByCustomer2OK) Code() int
- func (o *ContractServiceListContractsByCustomer2OK) Error() string
- func (o *ContractServiceListContractsByCustomer2OK) GetPayload() *models.V1ListContractsByCustomerResponse
- func (o *ContractServiceListContractsByCustomer2OK) IsClientError() bool
- func (o *ContractServiceListContractsByCustomer2OK) IsCode(code int) bool
- func (o *ContractServiceListContractsByCustomer2OK) IsRedirect() bool
- func (o *ContractServiceListContractsByCustomer2OK) IsServerError() bool
- func (o *ContractServiceListContractsByCustomer2OK) IsSuccess() bool
- func (o *ContractServiceListContractsByCustomer2OK) String() string
- type ContractServiceListContractsByCustomer2Params
- func NewContractServiceListContractsByCustomer2Params() *ContractServiceListContractsByCustomer2Params
- func NewContractServiceListContractsByCustomer2ParamsWithContext(ctx context.Context) *ContractServiceListContractsByCustomer2Params
- func NewContractServiceListContractsByCustomer2ParamsWithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomer2Params
- func NewContractServiceListContractsByCustomer2ParamsWithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomer2Params
- func (o *ContractServiceListContractsByCustomer2Params) SetContext(ctx context.Context)
- func (o *ContractServiceListContractsByCustomer2Params) SetCustomerID(customerID string)
- func (o *ContractServiceListContractsByCustomer2Params) SetCustomerOptionalID(customerOptionalID *string)
- func (o *ContractServiceListContractsByCustomer2Params) SetDefaults()
- func (o *ContractServiceListContractsByCustomer2Params) SetHTTPClient(client *http.Client)
- func (o *ContractServiceListContractsByCustomer2Params) SetPageSize(pageSize *int32)
- func (o *ContractServiceListContractsByCustomer2Params) SetPageToken(pageToken *string)
- func (o *ContractServiceListContractsByCustomer2Params) SetTimeout(timeout time.Duration)
- func (o *ContractServiceListContractsByCustomer2Params) WithContext(ctx context.Context) *ContractServiceListContractsByCustomer2Params
- func (o *ContractServiceListContractsByCustomer2Params) WithCustomerID(customerID string) *ContractServiceListContractsByCustomer2Params
- func (o *ContractServiceListContractsByCustomer2Params) WithCustomerOptionalID(customerOptionalID *string) *ContractServiceListContractsByCustomer2Params
- func (o *ContractServiceListContractsByCustomer2Params) WithDefaults() *ContractServiceListContractsByCustomer2Params
- func (o *ContractServiceListContractsByCustomer2Params) WithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomer2Params
- func (o *ContractServiceListContractsByCustomer2Params) WithPageSize(pageSize *int32) *ContractServiceListContractsByCustomer2Params
- func (o *ContractServiceListContractsByCustomer2Params) WithPageToken(pageToken *string) *ContractServiceListContractsByCustomer2Params
- func (o *ContractServiceListContractsByCustomer2Params) WithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomer2Params
- func (o *ContractServiceListContractsByCustomer2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractServiceListContractsByCustomer2Reader
- type ContractServiceListContractsByCustomer3Default
- func (o *ContractServiceListContractsByCustomer3Default) Code() int
- func (o *ContractServiceListContractsByCustomer3Default) Error() string
- func (o *ContractServiceListContractsByCustomer3Default) GetPayload() *models.GooglerpcStatus
- func (o *ContractServiceListContractsByCustomer3Default) IsClientError() bool
- func (o *ContractServiceListContractsByCustomer3Default) IsCode(code int) bool
- func (o *ContractServiceListContractsByCustomer3Default) IsRedirect() bool
- func (o *ContractServiceListContractsByCustomer3Default) IsServerError() bool
- func (o *ContractServiceListContractsByCustomer3Default) IsSuccess() bool
- func (o *ContractServiceListContractsByCustomer3Default) String() string
- type ContractServiceListContractsByCustomer3OK
- func (o *ContractServiceListContractsByCustomer3OK) Code() int
- func (o *ContractServiceListContractsByCustomer3OK) Error() string
- func (o *ContractServiceListContractsByCustomer3OK) GetPayload() *models.V1ListContractsByCustomerResponse
- func (o *ContractServiceListContractsByCustomer3OK) IsClientError() bool
- func (o *ContractServiceListContractsByCustomer3OK) IsCode(code int) bool
- func (o *ContractServiceListContractsByCustomer3OK) IsRedirect() bool
- func (o *ContractServiceListContractsByCustomer3OK) IsServerError() bool
- func (o *ContractServiceListContractsByCustomer3OK) IsSuccess() bool
- func (o *ContractServiceListContractsByCustomer3OK) String() string
- type ContractServiceListContractsByCustomer3Params
- func NewContractServiceListContractsByCustomer3Params() *ContractServiceListContractsByCustomer3Params
- func NewContractServiceListContractsByCustomer3ParamsWithContext(ctx context.Context) *ContractServiceListContractsByCustomer3Params
- func NewContractServiceListContractsByCustomer3ParamsWithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomer3Params
- func NewContractServiceListContractsByCustomer3ParamsWithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomer3Params
- func (o *ContractServiceListContractsByCustomer3Params) SetBody(body *models.V1ListContractsByCustomerRequest)
- func (o *ContractServiceListContractsByCustomer3Params) SetContext(ctx context.Context)
- func (o *ContractServiceListContractsByCustomer3Params) SetDefaults()
- func (o *ContractServiceListContractsByCustomer3Params) SetHTTPClient(client *http.Client)
- func (o *ContractServiceListContractsByCustomer3Params) SetTimeout(timeout time.Duration)
- func (o *ContractServiceListContractsByCustomer3Params) WithBody(body *models.V1ListContractsByCustomerRequest) *ContractServiceListContractsByCustomer3Params
- func (o *ContractServiceListContractsByCustomer3Params) WithContext(ctx context.Context) *ContractServiceListContractsByCustomer3Params
- func (o *ContractServiceListContractsByCustomer3Params) WithDefaults() *ContractServiceListContractsByCustomer3Params
- func (o *ContractServiceListContractsByCustomer3Params) WithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomer3Params
- func (o *ContractServiceListContractsByCustomer3Params) WithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomer3Params
- func (o *ContractServiceListContractsByCustomer3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractServiceListContractsByCustomer3Reader
- type ContractServiceListContractsByCustomer4Default
- func (o *ContractServiceListContractsByCustomer4Default) Code() int
- func (o *ContractServiceListContractsByCustomer4Default) Error() string
- func (o *ContractServiceListContractsByCustomer4Default) GetPayload() *models.GooglerpcStatus
- func (o *ContractServiceListContractsByCustomer4Default) IsClientError() bool
- func (o *ContractServiceListContractsByCustomer4Default) IsCode(code int) bool
- func (o *ContractServiceListContractsByCustomer4Default) IsRedirect() bool
- func (o *ContractServiceListContractsByCustomer4Default) IsServerError() bool
- func (o *ContractServiceListContractsByCustomer4Default) IsSuccess() bool
- func (o *ContractServiceListContractsByCustomer4Default) String() string
- type ContractServiceListContractsByCustomer4OK
- func (o *ContractServiceListContractsByCustomer4OK) Code() int
- func (o *ContractServiceListContractsByCustomer4OK) Error() string
- func (o *ContractServiceListContractsByCustomer4OK) GetPayload() *models.V1ListContractsByCustomerResponse
- func (o *ContractServiceListContractsByCustomer4OK) IsClientError() bool
- func (o *ContractServiceListContractsByCustomer4OK) IsCode(code int) bool
- func (o *ContractServiceListContractsByCustomer4OK) IsRedirect() bool
- func (o *ContractServiceListContractsByCustomer4OK) IsServerError() bool
- func (o *ContractServiceListContractsByCustomer4OK) IsSuccess() bool
- func (o *ContractServiceListContractsByCustomer4OK) String() string
- type ContractServiceListContractsByCustomer4Params
- func NewContractServiceListContractsByCustomer4Params() *ContractServiceListContractsByCustomer4Params
- func NewContractServiceListContractsByCustomer4ParamsWithContext(ctx context.Context) *ContractServiceListContractsByCustomer4Params
- func NewContractServiceListContractsByCustomer4ParamsWithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomer4Params
- func NewContractServiceListContractsByCustomer4ParamsWithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomer4Params
- func (o *ContractServiceListContractsByCustomer4Params) SetContext(ctx context.Context)
- func (o *ContractServiceListContractsByCustomer4Params) SetCustomerID(customerID string)
- func (o *ContractServiceListContractsByCustomer4Params) SetCustomerOptionalID(customerOptionalID *string)
- func (o *ContractServiceListContractsByCustomer4Params) SetDefaults()
- func (o *ContractServiceListContractsByCustomer4Params) SetHTTPClient(client *http.Client)
- func (o *ContractServiceListContractsByCustomer4Params) SetPageSize(pageSize *int32)
- func (o *ContractServiceListContractsByCustomer4Params) SetPageToken(pageToken *string)
- func (o *ContractServiceListContractsByCustomer4Params) SetTimeout(timeout time.Duration)
- func (o *ContractServiceListContractsByCustomer4Params) WithContext(ctx context.Context) *ContractServiceListContractsByCustomer4Params
- func (o *ContractServiceListContractsByCustomer4Params) WithCustomerID(customerID string) *ContractServiceListContractsByCustomer4Params
- func (o *ContractServiceListContractsByCustomer4Params) WithCustomerOptionalID(customerOptionalID *string) *ContractServiceListContractsByCustomer4Params
- func (o *ContractServiceListContractsByCustomer4Params) WithDefaults() *ContractServiceListContractsByCustomer4Params
- func (o *ContractServiceListContractsByCustomer4Params) WithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomer4Params
- func (o *ContractServiceListContractsByCustomer4Params) WithPageSize(pageSize *int32) *ContractServiceListContractsByCustomer4Params
- func (o *ContractServiceListContractsByCustomer4Params) WithPageToken(pageToken *string) *ContractServiceListContractsByCustomer4Params
- func (o *ContractServiceListContractsByCustomer4Params) WithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomer4Params
- func (o *ContractServiceListContractsByCustomer4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractServiceListContractsByCustomer4Reader
- type ContractServiceListContractsByCustomerDefault
- func (o *ContractServiceListContractsByCustomerDefault) Code() int
- func (o *ContractServiceListContractsByCustomerDefault) Error() string
- func (o *ContractServiceListContractsByCustomerDefault) GetPayload() *models.GooglerpcStatus
- func (o *ContractServiceListContractsByCustomerDefault) IsClientError() bool
- func (o *ContractServiceListContractsByCustomerDefault) IsCode(code int) bool
- func (o *ContractServiceListContractsByCustomerDefault) IsRedirect() bool
- func (o *ContractServiceListContractsByCustomerDefault) IsServerError() bool
- func (o *ContractServiceListContractsByCustomerDefault) IsSuccess() bool
- func (o *ContractServiceListContractsByCustomerDefault) String() string
- type ContractServiceListContractsByCustomerOK
- func (o *ContractServiceListContractsByCustomerOK) Code() int
- func (o *ContractServiceListContractsByCustomerOK) Error() string
- func (o *ContractServiceListContractsByCustomerOK) GetPayload() *models.V1ListContractsByCustomerResponse
- func (o *ContractServiceListContractsByCustomerOK) IsClientError() bool
- func (o *ContractServiceListContractsByCustomerOK) IsCode(code int) bool
- func (o *ContractServiceListContractsByCustomerOK) IsRedirect() bool
- func (o *ContractServiceListContractsByCustomerOK) IsServerError() bool
- func (o *ContractServiceListContractsByCustomerOK) IsSuccess() bool
- func (o *ContractServiceListContractsByCustomerOK) String() string
- type ContractServiceListContractsByCustomerParams
- func NewContractServiceListContractsByCustomerParams() *ContractServiceListContractsByCustomerParams
- func NewContractServiceListContractsByCustomerParamsWithContext(ctx context.Context) *ContractServiceListContractsByCustomerParams
- func NewContractServiceListContractsByCustomerParamsWithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomerParams
- func NewContractServiceListContractsByCustomerParamsWithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomerParams
- func (o *ContractServiceListContractsByCustomerParams) SetBody(body *models.V1ListContractsByCustomerRequest)
- func (o *ContractServiceListContractsByCustomerParams) SetContext(ctx context.Context)
- func (o *ContractServiceListContractsByCustomerParams) SetDefaults()
- func (o *ContractServiceListContractsByCustomerParams) SetHTTPClient(client *http.Client)
- func (o *ContractServiceListContractsByCustomerParams) SetTimeout(timeout time.Duration)
- func (o *ContractServiceListContractsByCustomerParams) WithBody(body *models.V1ListContractsByCustomerRequest) *ContractServiceListContractsByCustomerParams
- func (o *ContractServiceListContractsByCustomerParams) WithContext(ctx context.Context) *ContractServiceListContractsByCustomerParams
- func (o *ContractServiceListContractsByCustomerParams) WithDefaults() *ContractServiceListContractsByCustomerParams
- func (o *ContractServiceListContractsByCustomerParams) WithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomerParams
- func (o *ContractServiceListContractsByCustomerParams) WithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomerParams
- func (o *ContractServiceListContractsByCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractServiceListContractsByCustomerReader
- type ContractServiceListContractsDefault
- func (o *ContractServiceListContractsDefault) Code() int
- func (o *ContractServiceListContractsDefault) Error() string
- func (o *ContractServiceListContractsDefault) GetPayload() *models.GooglerpcStatus
- func (o *ContractServiceListContractsDefault) IsClientError() bool
- func (o *ContractServiceListContractsDefault) IsCode(code int) bool
- func (o *ContractServiceListContractsDefault) IsRedirect() bool
- func (o *ContractServiceListContractsDefault) IsServerError() bool
- func (o *ContractServiceListContractsDefault) IsSuccess() bool
- func (o *ContractServiceListContractsDefault) String() string
- type ContractServiceListContractsOK
- func (o *ContractServiceListContractsOK) Code() int
- func (o *ContractServiceListContractsOK) Error() string
- func (o *ContractServiceListContractsOK) GetPayload() *models.V1ListContractsResponse
- func (o *ContractServiceListContractsOK) IsClientError() bool
- func (o *ContractServiceListContractsOK) IsCode(code int) bool
- func (o *ContractServiceListContractsOK) IsRedirect() bool
- func (o *ContractServiceListContractsOK) IsServerError() bool
- func (o *ContractServiceListContractsOK) IsSuccess() bool
- func (o *ContractServiceListContractsOK) String() string
- type ContractServiceListContractsParams
- func NewContractServiceListContractsParams() *ContractServiceListContractsParams
- func NewContractServiceListContractsParamsWithContext(ctx context.Context) *ContractServiceListContractsParams
- func NewContractServiceListContractsParamsWithHTTPClient(client *http.Client) *ContractServiceListContractsParams
- func NewContractServiceListContractsParamsWithTimeout(timeout time.Duration) *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) SetBody(body *models.V1ListContractsRequest)
- func (o *ContractServiceListContractsParams) SetContext(ctx context.Context)
- func (o *ContractServiceListContractsParams) SetDefaults()
- func (o *ContractServiceListContractsParams) SetHTTPClient(client *http.Client)
- func (o *ContractServiceListContractsParams) SetTimeout(timeout time.Duration)
- func (o *ContractServiceListContractsParams) WithBody(body *models.V1ListContractsRequest) *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) WithContext(ctx context.Context) *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) WithDefaults() *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) WithHTTPClient(client *http.Client) *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) WithTimeout(timeout time.Duration) *ContractServiceListContractsParams
- func (o *ContractServiceListContractsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractServiceListContractsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for contract service API
func (*Client) 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 ¶
func (o *ContractServiceCreateContractDefault) Code() int
Code gets the status code for the contract service create contract default response
func (*ContractServiceCreateContractDefault) Error ¶
func (o *ContractServiceCreateContractDefault) Error() string
func (*ContractServiceCreateContractDefault) GetPayload ¶
func (o *ContractServiceCreateContractDefault) GetPayload() *models.GooglerpcStatus
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 ¶
func (o *ContractServiceCreateContractDefault) IsCode(code int) bool
IsCode returns true when this contract service create contract default response a status code equal to that given
func (*ContractServiceCreateContractDefault) IsRedirect ¶
func (o *ContractServiceCreateContractDefault) IsRedirect() bool
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 ¶
func (o *ContractServiceCreateContractDefault) IsSuccess() bool
IsSuccess returns true when this contract service create contract default response has a 2xx status code
func (*ContractServiceCreateContractDefault) String ¶
func (o *ContractServiceCreateContractDefault) String() 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 ¶
func (o *ContractServiceCreateContractOK) Code() int
Code gets the status code for the contract service create contract o k response
func (*ContractServiceCreateContractOK) Error ¶
func (o *ContractServiceCreateContractOK) Error() string
func (*ContractServiceCreateContractOK) GetPayload ¶
func (o *ContractServiceCreateContractOK) GetPayload() *models.V1CreateContractResponse
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 ¶
func (o *ContractServiceCreateContractOK) String() 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 ¶
func (o *ContractServiceCreateContractParams) SetBody(body *models.V1CreateContractRequest)
SetBody adds the body to the contract service create contract params
func (*ContractServiceCreateContractParams) SetContext ¶
func (o *ContractServiceCreateContractParams) SetContext(ctx context.Context)
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 ¶
func (o *ContractServiceCreateContractParams) WithBody(body *models.V1CreateContractRequest) *ContractServiceCreateContractParams
WithBody adds the body to the contract service create contract params
func (*ContractServiceCreateContractParams) WithContext ¶
func (o *ContractServiceCreateContractParams) WithContext(ctx context.Context) *ContractServiceCreateContractParams
WithContext adds the context to the contract service create contract params
func (*ContractServiceCreateContractParams) WithDefaults ¶
func (o *ContractServiceCreateContractParams) WithDefaults() *ContractServiceCreateContractParams
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 ¶
func (o *ContractServiceCreateContractParams) WithHTTPClient(client *http.Client) *ContractServiceCreateContractParams
WithHTTPClient adds the HTTPClient to the contract service create contract params
func (*ContractServiceCreateContractParams) WithTimeout ¶
func (o *ContractServiceCreateContractParams) WithTimeout(timeout time.Duration) *ContractServiceCreateContractParams
WithTimeout adds the timeout to the contract service create contract params
func (*ContractServiceCreateContractParams) WriteToRequest ¶
func (o *ContractServiceCreateContractParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ContractServiceGetContract2Default) Code() int
Code gets the status code for the contract service get contract2 default response
func (*ContractServiceGetContract2Default) Error ¶
func (o *ContractServiceGetContract2Default) Error() string
func (*ContractServiceGetContract2Default) GetPayload ¶
func (o *ContractServiceGetContract2Default) GetPayload() *models.GooglerpcStatus
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 ¶
func (o *ContractServiceGetContract2Default) IsCode(code int) bool
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 ¶
func (o *ContractServiceGetContract2Default) IsSuccess() bool
IsSuccess returns true when this contract service get contract2 default response has a 2xx status code
func (*ContractServiceGetContract2Default) String ¶
func (o *ContractServiceGetContract2Default) String() 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 ¶
func (o *ContractServiceGetContract2OK) Code() int
Code gets the status code for the contract service get contract2 o k response
func (*ContractServiceGetContract2OK) Error ¶
func (o *ContractServiceGetContract2OK) Error() string
func (*ContractServiceGetContract2OK) GetPayload ¶
func (o *ContractServiceGetContract2OK) GetPayload() *models.V1GetContractResponse
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 ¶
func (o *ContractServiceGetContract2OK) String() 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 ¶
func (o *ContractServiceGetContract2Params) SetContext(ctx context.Context)
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 ¶
func (o *ContractServiceGetContract2Params) SetID(id string)
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 ¶
func (o *ContractServiceGetContract2Params) WithContext(ctx context.Context) *ContractServiceGetContract2Params
WithContext adds the context to the contract service get contract2 params
func (*ContractServiceGetContract2Params) WithDefaults ¶
func (o *ContractServiceGetContract2Params) WithDefaults() *ContractServiceGetContract2Params
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 ¶
func (o *ContractServiceGetContract2Params) WithHTTPClient(client *http.Client) *ContractServiceGetContract2Params
WithHTTPClient adds the HTTPClient to the contract service get contract2 params
func (*ContractServiceGetContract2Params) WithID ¶
func (o *ContractServiceGetContract2Params) WithID(id string) *ContractServiceGetContract2Params
WithID adds the id to the contract service get contract2 params
func (*ContractServiceGetContract2Params) WithTimeout ¶
func (o *ContractServiceGetContract2Params) WithTimeout(timeout time.Duration) *ContractServiceGetContract2Params
WithTimeout adds the timeout to the contract service get contract2 params
func (*ContractServiceGetContract2Params) WithVersion ¶
func (o *ContractServiceGetContract2Params) WithVersion(version *int32) *ContractServiceGetContract2Params
WithVersion adds the version to the contract service get contract2 params
func (*ContractServiceGetContract2Params) WriteToRequest ¶
func (o *ContractServiceGetContract2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ContractServiceGetContractByOptionalIDDefault) Code() int
Code gets the status code for the contract service get contract by optional Id default response
func (*ContractServiceGetContractByOptionalIDDefault) Error ¶
func (o *ContractServiceGetContractByOptionalIDDefault) Error() string
func (*ContractServiceGetContractByOptionalIDDefault) GetPayload ¶
func (o *ContractServiceGetContractByOptionalIDDefault) GetPayload() *models.GooglerpcStatus
func (*ContractServiceGetContractByOptionalIDDefault) IsClientError ¶
func (o *ContractServiceGetContractByOptionalIDDefault) IsClientError() bool
IsClientError returns true when this contract service get contract by optional Id default response has a 4xx status code
func (*ContractServiceGetContractByOptionalIDDefault) IsCode ¶
func (o *ContractServiceGetContractByOptionalIDDefault) IsCode(code int) bool
IsCode returns true when this contract service get contract by optional Id default response a status code equal to that given
func (*ContractServiceGetContractByOptionalIDDefault) IsRedirect ¶
func (o *ContractServiceGetContractByOptionalIDDefault) IsRedirect() bool
IsRedirect returns true when this contract service get contract by optional Id default response has a 3xx status code
func (*ContractServiceGetContractByOptionalIDDefault) IsServerError ¶
func (o *ContractServiceGetContractByOptionalIDDefault) IsServerError() bool
IsServerError returns true when this contract service get contract by optional Id default response has a 5xx status code
func (*ContractServiceGetContractByOptionalIDDefault) IsSuccess ¶
func (o *ContractServiceGetContractByOptionalIDDefault) IsSuccess() bool
IsSuccess returns true when this contract service get contract by optional Id default response has a 2xx status code
func (*ContractServiceGetContractByOptionalIDDefault) String ¶
func (o *ContractServiceGetContractByOptionalIDDefault) String() 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 ¶
func (o *ContractServiceGetContractByOptionalIDOK) Code() int
Code gets the status code for the contract service get contract by optional Id o k response
func (*ContractServiceGetContractByOptionalIDOK) Error ¶
func (o *ContractServiceGetContractByOptionalIDOK) Error() string
func (*ContractServiceGetContractByOptionalIDOK) GetPayload ¶
func (o *ContractServiceGetContractByOptionalIDOK) GetPayload() *models.V1GetContractByOptionalIDResponse
func (*ContractServiceGetContractByOptionalIDOK) IsClientError ¶
func (o *ContractServiceGetContractByOptionalIDOK) IsClientError() bool
IsClientError returns true when this contract service get contract by optional Id o k response has a 4xx status code
func (*ContractServiceGetContractByOptionalIDOK) IsCode ¶
func (o *ContractServiceGetContractByOptionalIDOK) IsCode(code int) bool
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 ¶
func (o *ContractServiceGetContractByOptionalIDOK) IsRedirect() bool
IsRedirect returns true when this contract service get contract by optional Id o k response has a 3xx status code
func (*ContractServiceGetContractByOptionalIDOK) IsServerError ¶
func (o *ContractServiceGetContractByOptionalIDOK) IsServerError() bool
IsServerError returns true when this contract service get contract by optional Id o k response has a 5xx status code
func (*ContractServiceGetContractByOptionalIDOK) IsSuccess ¶
func (o *ContractServiceGetContractByOptionalIDOK) IsSuccess() bool
IsSuccess returns true when this contract service get contract by optional Id o k response has a 2xx status code
func (*ContractServiceGetContractByOptionalIDOK) String ¶
func (o *ContractServiceGetContractByOptionalIDOK) String() 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 ¶
func (o *ContractServiceGetContractByOptionalIDParams) SetBody(body *models.V1GetContractByOptionalIDRequest)
SetBody adds the body to the contract service get contract by optional Id params
func (*ContractServiceGetContractByOptionalIDParams) SetContext ¶
func (o *ContractServiceGetContractByOptionalIDParams) SetContext(ctx context.Context)
SetContext adds the context to the contract service get contract by optional Id params
func (*ContractServiceGetContractByOptionalIDParams) SetDefaults ¶
func (o *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 ¶
func (o *ContractServiceGetContractByOptionalIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the contract service get contract by optional Id params
func (*ContractServiceGetContractByOptionalIDParams) WithBody ¶
func (o *ContractServiceGetContractByOptionalIDParams) WithBody(body *models.V1GetContractByOptionalIDRequest) *ContractServiceGetContractByOptionalIDParams
WithBody adds the body to the contract service get contract by optional Id params
func (*ContractServiceGetContractByOptionalIDParams) WithContext ¶
func (o *ContractServiceGetContractByOptionalIDParams) WithContext(ctx context.Context) *ContractServiceGetContractByOptionalIDParams
WithContext adds the context to the contract service get contract by optional Id params
func (*ContractServiceGetContractByOptionalIDParams) WithDefaults ¶
func (o *ContractServiceGetContractByOptionalIDParams) WithDefaults() *ContractServiceGetContractByOptionalIDParams
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 ¶
func (o *ContractServiceGetContractByOptionalIDParams) WithHTTPClient(client *http.Client) *ContractServiceGetContractByOptionalIDParams
WithHTTPClient adds the HTTPClient to the contract service get contract by optional Id params
func (*ContractServiceGetContractByOptionalIDParams) WithTimeout ¶
func (o *ContractServiceGetContractByOptionalIDParams) WithTimeout(timeout time.Duration) *ContractServiceGetContractByOptionalIDParams
WithTimeout adds the timeout to the contract service get contract by optional Id params
func (*ContractServiceGetContractByOptionalIDParams) WriteToRequest ¶
func (o *ContractServiceGetContractByOptionalIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ContractServiceGetContractByOptionalId2Default) Code() int
Code gets the status code for the contract service get contract by optional id2 default response
func (*ContractServiceGetContractByOptionalId2Default) Error ¶
func (o *ContractServiceGetContractByOptionalId2Default) Error() string
func (*ContractServiceGetContractByOptionalId2Default) GetPayload ¶
func (o *ContractServiceGetContractByOptionalId2Default) GetPayload() *models.GooglerpcStatus
func (*ContractServiceGetContractByOptionalId2Default) IsClientError ¶
func (o *ContractServiceGetContractByOptionalId2Default) IsClientError() bool
IsClientError returns true when this contract service get contract by optional id2 default response has a 4xx status code
func (*ContractServiceGetContractByOptionalId2Default) IsCode ¶
func (o *ContractServiceGetContractByOptionalId2Default) IsCode(code int) bool
IsCode returns true when this contract service get contract by optional id2 default response a status code equal to that given
func (*ContractServiceGetContractByOptionalId2Default) IsRedirect ¶
func (o *ContractServiceGetContractByOptionalId2Default) IsRedirect() bool
IsRedirect returns true when this contract service get contract by optional id2 default response has a 3xx status code
func (*ContractServiceGetContractByOptionalId2Default) IsServerError ¶
func (o *ContractServiceGetContractByOptionalId2Default) IsServerError() bool
IsServerError returns true when this contract service get contract by optional id2 default response has a 5xx status code
func (*ContractServiceGetContractByOptionalId2Default) IsSuccess ¶
func (o *ContractServiceGetContractByOptionalId2Default) IsSuccess() bool
IsSuccess returns true when this contract service get contract by optional id2 default response has a 2xx status code
func (*ContractServiceGetContractByOptionalId2Default) String ¶
func (o *ContractServiceGetContractByOptionalId2Default) String() 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 ¶
func (o *ContractServiceGetContractByOptionalId2OK) Code() int
Code gets the status code for the contract service get contract by optional id2 o k response
func (*ContractServiceGetContractByOptionalId2OK) Error ¶
func (o *ContractServiceGetContractByOptionalId2OK) Error() string
func (*ContractServiceGetContractByOptionalId2OK) GetPayload ¶
func (o *ContractServiceGetContractByOptionalId2OK) GetPayload() *models.V1GetContractByOptionalIDResponse
func (*ContractServiceGetContractByOptionalId2OK) IsClientError ¶
func (o *ContractServiceGetContractByOptionalId2OK) IsClientError() bool
IsClientError returns true when this contract service get contract by optional id2 o k response has a 4xx status code
func (*ContractServiceGetContractByOptionalId2OK) IsCode ¶
func (o *ContractServiceGetContractByOptionalId2OK) IsCode(code int) bool
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 ¶
func (o *ContractServiceGetContractByOptionalId2OK) IsRedirect() bool
IsRedirect returns true when this contract service get contract by optional id2 o k response has a 3xx status code
func (*ContractServiceGetContractByOptionalId2OK) IsServerError ¶
func (o *ContractServiceGetContractByOptionalId2OK) IsServerError() bool
IsServerError returns true when this contract service get contract by optional id2 o k response has a 5xx status code
func (*ContractServiceGetContractByOptionalId2OK) IsSuccess ¶
func (o *ContractServiceGetContractByOptionalId2OK) IsSuccess() bool
IsSuccess returns true when this contract service get contract by optional id2 o k response has a 2xx status code
func (*ContractServiceGetContractByOptionalId2OK) String ¶
func (o *ContractServiceGetContractByOptionalId2OK) String() 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 ¶
func (o *ContractServiceGetContractByOptionalId2Params) SetContext(ctx context.Context)
SetContext adds the context to the contract service get contract by optional id2 params
func (*ContractServiceGetContractByOptionalId2Params) SetDefaults ¶
func (o *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 ¶
func (o *ContractServiceGetContractByOptionalId2Params) SetTimeout(timeout time.Duration)
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 ¶
func (o *ContractServiceGetContractByOptionalId2Params) WithContext(ctx context.Context) *ContractServiceGetContractByOptionalId2Params
WithContext adds the context to the contract service get contract by optional id2 params
func (*ContractServiceGetContractByOptionalId2Params) WithDefaults ¶
func (o *ContractServiceGetContractByOptionalId2Params) WithDefaults() *ContractServiceGetContractByOptionalId2Params
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 ¶
func (o *ContractServiceGetContractByOptionalId2Params) WithHTTPClient(client *http.Client) *ContractServiceGetContractByOptionalId2Params
WithHTTPClient adds the HTTPClient to the contract service get contract by optional id2 params
func (*ContractServiceGetContractByOptionalId2Params) WithOptionalID ¶
func (o *ContractServiceGetContractByOptionalId2Params) WithOptionalID(optionalID string) *ContractServiceGetContractByOptionalId2Params
WithOptionalID adds the optionalID to the contract service get contract by optional id2 params
func (*ContractServiceGetContractByOptionalId2Params) WithTimeout ¶
func (o *ContractServiceGetContractByOptionalId2Params) WithTimeout(timeout time.Duration) *ContractServiceGetContractByOptionalId2Params
WithTimeout adds the timeout to the contract service get contract by optional id2 params
func (*ContractServiceGetContractByOptionalId2Params) WithVersion ¶
func (o *ContractServiceGetContractByOptionalId2Params) WithVersion(version *int32) *ContractServiceGetContractByOptionalId2Params
WithVersion adds the version to the contract service get contract by optional id2 params
func (*ContractServiceGetContractByOptionalId2Params) WriteToRequest ¶
func (o *ContractServiceGetContractByOptionalId2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ContractServiceGetContractDefault) Code() int
Code gets the status code for the contract service get contract default response
func (*ContractServiceGetContractDefault) Error ¶
func (o *ContractServiceGetContractDefault) Error() string
func (*ContractServiceGetContractDefault) GetPayload ¶
func (o *ContractServiceGetContractDefault) GetPayload() *models.GooglerpcStatus
func (*ContractServiceGetContractDefault) IsClientError ¶
func (o *ContractServiceGetContractDefault) IsClientError() bool
IsClientError returns true when this contract service get contract default response has a 4xx status code
func (*ContractServiceGetContractDefault) IsCode ¶
func (o *ContractServiceGetContractDefault) IsCode(code int) bool
IsCode returns true when this contract service get contract default response a status code equal to that given
func (*ContractServiceGetContractDefault) IsRedirect ¶
func (o *ContractServiceGetContractDefault) IsRedirect() bool
IsRedirect returns true when this contract service get contract default response has a 3xx status code
func (*ContractServiceGetContractDefault) IsServerError ¶
func (o *ContractServiceGetContractDefault) IsServerError() bool
IsServerError returns true when this contract service get contract default response has a 5xx status code
func (*ContractServiceGetContractDefault) IsSuccess ¶
func (o *ContractServiceGetContractDefault) IsSuccess() bool
IsSuccess returns true when this contract service get contract default response has a 2xx status code
func (*ContractServiceGetContractDefault) String ¶
func (o *ContractServiceGetContractDefault) String() string
type ContractServiceGetContractOK ¶
type ContractServiceGetContractOK struct {
Payload *models.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 ¶
func (o *ContractServiceGetContractOK) Code() int
Code gets the status code for the contract service get contract o k response
func (*ContractServiceGetContractOK) Error ¶
func (o *ContractServiceGetContractOK) Error() string
func (*ContractServiceGetContractOK) GetPayload ¶
func (o *ContractServiceGetContractOK) GetPayload() *models.V1GetContractResponse
func (*ContractServiceGetContractOK) IsClientError ¶
func (o *ContractServiceGetContractOK) IsClientError() bool
IsClientError returns true when this contract service get contract o k response has a 4xx status code
func (*ContractServiceGetContractOK) IsCode ¶
func (o *ContractServiceGetContractOK) IsCode(code int) bool
IsCode returns true when this contract service get contract o k response a status code equal to that given
func (*ContractServiceGetContractOK) IsRedirect ¶
func (o *ContractServiceGetContractOK) IsRedirect() bool
IsRedirect returns true when this contract service get contract o k response has a 3xx status code
func (*ContractServiceGetContractOK) IsServerError ¶
func (o *ContractServiceGetContractOK) IsServerError() bool
IsServerError returns true when this contract service get contract o k response has a 5xx status code
func (*ContractServiceGetContractOK) IsSuccess ¶
func (o *ContractServiceGetContractOK) IsSuccess() bool
IsSuccess returns true when this contract service get contract o k response has a 2xx status code
func (*ContractServiceGetContractOK) String ¶
func (o *ContractServiceGetContractOK) String() string
type ContractServiceGetContractParams ¶
type ContractServiceGetContractParams struct { // 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 ¶
func (o *ContractServiceGetContractParams) SetBody(body *models.V1GetContractRequest)
SetBody adds the body to the contract service get contract params
func (*ContractServiceGetContractParams) SetContext ¶
func (o *ContractServiceGetContractParams) SetContext(ctx context.Context)
SetContext adds the context to the contract service get contract params
func (*ContractServiceGetContractParams) 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 ¶
func (o *ContractServiceGetContractParams) WithBody(body *models.V1GetContractRequest) *ContractServiceGetContractParams
WithBody adds the body to the contract service get contract params
func (*ContractServiceGetContractParams) WithContext ¶
func (o *ContractServiceGetContractParams) WithContext(ctx context.Context) *ContractServiceGetContractParams
WithContext adds the context to the contract service get contract params
func (*ContractServiceGetContractParams) WithDefaults ¶
func (o *ContractServiceGetContractParams) WithDefaults() *ContractServiceGetContractParams
WithDefaults hydrates default values in the contract service get contract params (not the query body).
All values with no default are reset to their zero value.
func (*ContractServiceGetContractParams) WithHTTPClient ¶
func (o *ContractServiceGetContractParams) WithHTTPClient(client *http.Client) *ContractServiceGetContractParams
WithHTTPClient adds the HTTPClient to the contract service get contract params
func (*ContractServiceGetContractParams) WithTimeout ¶
func (o *ContractServiceGetContractParams) WithTimeout(timeout time.Duration) *ContractServiceGetContractParams
WithTimeout adds the timeout to the contract service get contract params
func (*ContractServiceGetContractParams) WriteToRequest ¶
func (o *ContractServiceGetContractParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContractServiceGetContractReader ¶
type ContractServiceGetContractReader struct {
// contains filtered or unexported fields
}
ContractServiceGetContractReader is a Reader for the ContractServiceGetContract structure.
func (*ContractServiceGetContractReader) ReadResponse ¶
func (o *ContractServiceGetContractReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type 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 ¶
func (o *ContractServiceListContracts2Default) Code() int
Code gets the status code for the contract service list contracts2 default response
func (*ContractServiceListContracts2Default) Error ¶
func (o *ContractServiceListContracts2Default) Error() string
func (*ContractServiceListContracts2Default) GetPayload ¶
func (o *ContractServiceListContracts2Default) GetPayload() *models.GooglerpcStatus
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 ¶
func (o *ContractServiceListContracts2Default) IsCode(code int) bool
IsCode returns true when this contract service list contracts2 default response a status code equal to that given
func (*ContractServiceListContracts2Default) IsRedirect ¶
func (o *ContractServiceListContracts2Default) IsRedirect() bool
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 ¶
func (o *ContractServiceListContracts2Default) IsSuccess() bool
IsSuccess returns true when this contract service list contracts2 default response has a 2xx status code
func (*ContractServiceListContracts2Default) String ¶
func (o *ContractServiceListContracts2Default) String() 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 ¶
func (o *ContractServiceListContracts2OK) Code() int
Code gets the status code for the contract service list contracts2 o k response
func (*ContractServiceListContracts2OK) Error ¶
func (o *ContractServiceListContracts2OK) Error() string
func (*ContractServiceListContracts2OK) GetPayload ¶
func (o *ContractServiceListContracts2OK) GetPayload() *models.V1ListContractsResponse
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 ¶
func (o *ContractServiceListContracts2OK) String() 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 ¶
func (o *ContractServiceListContracts2Params) SetContext(ctx context.Context)
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 ¶
func (o *ContractServiceListContracts2Params) WithContext(ctx context.Context) *ContractServiceListContracts2Params
WithContext adds the context to the contract service list contracts2 params
func (*ContractServiceListContracts2Params) WithDefaults ¶
func (o *ContractServiceListContracts2Params) WithDefaults() *ContractServiceListContracts2Params
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 ¶
func (o *ContractServiceListContracts2Params) WithHTTPClient(client *http.Client) *ContractServiceListContracts2Params
WithHTTPClient adds the HTTPClient to the contract service list contracts2 params
func (*ContractServiceListContracts2Params) WithPageSize ¶
func (o *ContractServiceListContracts2Params) WithPageSize(pageSize *int32) *ContractServiceListContracts2Params
WithPageSize adds the pageSize to the contract service list contracts2 params
func (*ContractServiceListContracts2Params) WithPageToken ¶
func (o *ContractServiceListContracts2Params) WithPageToken(pageToken *string) *ContractServiceListContracts2Params
WithPageToken adds the pageToken to the contract service list contracts2 params
func (*ContractServiceListContracts2Params) WithTimeout ¶
func (o *ContractServiceListContracts2Params) WithTimeout(timeout time.Duration) *ContractServiceListContracts2Params
WithTimeout adds the timeout to the contract service list contracts2 params
func (*ContractServiceListContracts2Params) WriteToRequest ¶
func (o *ContractServiceListContracts2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ContractServiceListContractsByCustomer2Default) Code() int
Code gets the status code for the contract service list contracts by customer2 default response
func (*ContractServiceListContractsByCustomer2Default) Error ¶
func (o *ContractServiceListContractsByCustomer2Default) Error() string
func (*ContractServiceListContractsByCustomer2Default) GetPayload ¶
func (o *ContractServiceListContractsByCustomer2Default) GetPayload() *models.GooglerpcStatus
func (*ContractServiceListContractsByCustomer2Default) IsClientError ¶
func (o *ContractServiceListContractsByCustomer2Default) IsClientError() bool
IsClientError returns true when this contract service list contracts by customer2 default response has a 4xx status code
func (*ContractServiceListContractsByCustomer2Default) IsCode ¶
func (o *ContractServiceListContractsByCustomer2Default) IsCode(code int) bool
IsCode returns true when this contract service list contracts by customer2 default response a status code equal to that given
func (*ContractServiceListContractsByCustomer2Default) IsRedirect ¶
func (o *ContractServiceListContractsByCustomer2Default) IsRedirect() bool
IsRedirect returns true when this contract service list contracts by customer2 default response has a 3xx status code
func (*ContractServiceListContractsByCustomer2Default) IsServerError ¶
func (o *ContractServiceListContractsByCustomer2Default) IsServerError() bool
IsServerError returns true when this contract service list contracts by customer2 default response has a 5xx status code
func (*ContractServiceListContractsByCustomer2Default) IsSuccess ¶
func (o *ContractServiceListContractsByCustomer2Default) IsSuccess() bool
IsSuccess returns true when this contract service list contracts by customer2 default response has a 2xx status code
func (*ContractServiceListContractsByCustomer2Default) String ¶
func (o *ContractServiceListContractsByCustomer2Default) String() 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 ¶
func (o *ContractServiceListContractsByCustomer2OK) Code() int
Code gets the status code for the contract service list contracts by customer2 o k response
func (*ContractServiceListContractsByCustomer2OK) Error ¶
func (o *ContractServiceListContractsByCustomer2OK) Error() string
func (*ContractServiceListContractsByCustomer2OK) GetPayload ¶
func (o *ContractServiceListContractsByCustomer2OK) GetPayload() *models.V1ListContractsByCustomerResponse
func (*ContractServiceListContractsByCustomer2OK) IsClientError ¶
func (o *ContractServiceListContractsByCustomer2OK) IsClientError() bool
IsClientError returns true when this contract service list contracts by customer2 o k response has a 4xx status code
func (*ContractServiceListContractsByCustomer2OK) IsCode ¶
func (o *ContractServiceListContractsByCustomer2OK) IsCode(code int) bool
IsCode returns true when this contract service list contracts by customer2 o k response a status code equal to that given
func (*ContractServiceListContractsByCustomer2OK) IsRedirect ¶
func (o *ContractServiceListContractsByCustomer2OK) IsRedirect() bool
IsRedirect returns true when this contract service list contracts by customer2 o k response has a 3xx status code
func (*ContractServiceListContractsByCustomer2OK) IsServerError ¶
func (o *ContractServiceListContractsByCustomer2OK) IsServerError() bool
IsServerError returns true when this contract service list contracts by customer2 o k response has a 5xx status code
func (*ContractServiceListContractsByCustomer2OK) IsSuccess ¶
func (o *ContractServiceListContractsByCustomer2OK) IsSuccess() bool
IsSuccess returns true when this contract service list contracts by customer2 o k response has a 2xx status code
func (*ContractServiceListContractsByCustomer2OK) String ¶
func (o *ContractServiceListContractsByCustomer2OK) String() 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 ¶
func (o *ContractServiceListContractsByCustomer2Params) SetContext(ctx context.Context)
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 ¶
func (o *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 ¶
func (o *ContractServiceListContractsByCustomer2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the contract service list contracts by customer2 params
func (*ContractServiceListContractsByCustomer2Params) WithContext ¶
func (o *ContractServiceListContractsByCustomer2Params) WithContext(ctx context.Context) *ContractServiceListContractsByCustomer2Params
WithContext adds the context to the contract service list contracts by customer2 params
func (*ContractServiceListContractsByCustomer2Params) WithCustomerID ¶
func (o *ContractServiceListContractsByCustomer2Params) WithCustomerID(customerID string) *ContractServiceListContractsByCustomer2Params
WithCustomerID adds the customerID to the contract service list contracts by customer2 params
func (*ContractServiceListContractsByCustomer2Params) WithCustomerOptionalID ¶
func (o *ContractServiceListContractsByCustomer2Params) WithCustomerOptionalID(customerOptionalID *string) *ContractServiceListContractsByCustomer2Params
WithCustomerOptionalID adds the customerOptionalID to the contract service list contracts by customer2 params
func (*ContractServiceListContractsByCustomer2Params) WithDefaults ¶
func (o *ContractServiceListContractsByCustomer2Params) WithDefaults() *ContractServiceListContractsByCustomer2Params
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 ¶
func (o *ContractServiceListContractsByCustomer2Params) WithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomer2Params
WithHTTPClient adds the HTTPClient to the contract service list contracts by customer2 params
func (*ContractServiceListContractsByCustomer2Params) WithPageSize ¶
func (o *ContractServiceListContractsByCustomer2Params) WithPageSize(pageSize *int32) *ContractServiceListContractsByCustomer2Params
WithPageSize adds the pageSize to the contract service list contracts by customer2 params
func (*ContractServiceListContractsByCustomer2Params) WithPageToken ¶
func (o *ContractServiceListContractsByCustomer2Params) WithPageToken(pageToken *string) *ContractServiceListContractsByCustomer2Params
WithPageToken adds the pageToken to the contract service list contracts by customer2 params
func (*ContractServiceListContractsByCustomer2Params) WithTimeout ¶
func (o *ContractServiceListContractsByCustomer2Params) WithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomer2Params
WithTimeout adds the timeout to the contract service list contracts by customer2 params
func (*ContractServiceListContractsByCustomer2Params) WriteToRequest ¶
func (o *ContractServiceListContractsByCustomer2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ContractServiceListContractsByCustomer3Default) Code() int
Code gets the status code for the contract service list contracts by customer3 default response
func (*ContractServiceListContractsByCustomer3Default) Error ¶
func (o *ContractServiceListContractsByCustomer3Default) Error() string
func (*ContractServiceListContractsByCustomer3Default) GetPayload ¶
func (o *ContractServiceListContractsByCustomer3Default) GetPayload() *models.GooglerpcStatus
func (*ContractServiceListContractsByCustomer3Default) IsClientError ¶
func (o *ContractServiceListContractsByCustomer3Default) IsClientError() bool
IsClientError returns true when this contract service list contracts by customer3 default response has a 4xx status code
func (*ContractServiceListContractsByCustomer3Default) IsCode ¶
func (o *ContractServiceListContractsByCustomer3Default) IsCode(code int) bool
IsCode returns true when this contract service list contracts by customer3 default response a status code equal to that given
func (*ContractServiceListContractsByCustomer3Default) IsRedirect ¶
func (o *ContractServiceListContractsByCustomer3Default) IsRedirect() bool
IsRedirect returns true when this contract service list contracts by customer3 default response has a 3xx status code
func (*ContractServiceListContractsByCustomer3Default) IsServerError ¶
func (o *ContractServiceListContractsByCustomer3Default) IsServerError() bool
IsServerError returns true when this contract service list contracts by customer3 default response has a 5xx status code
func (*ContractServiceListContractsByCustomer3Default) IsSuccess ¶
func (o *ContractServiceListContractsByCustomer3Default) IsSuccess() bool
IsSuccess returns true when this contract service list contracts by customer3 default response has a 2xx status code
func (*ContractServiceListContractsByCustomer3Default) String ¶
func (o *ContractServiceListContractsByCustomer3Default) String() 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 ¶
func (o *ContractServiceListContractsByCustomer3OK) Code() int
Code gets the status code for the contract service list contracts by customer3 o k response
func (*ContractServiceListContractsByCustomer3OK) Error ¶
func (o *ContractServiceListContractsByCustomer3OK) Error() string
func (*ContractServiceListContractsByCustomer3OK) GetPayload ¶
func (o *ContractServiceListContractsByCustomer3OK) GetPayload() *models.V1ListContractsByCustomerResponse
func (*ContractServiceListContractsByCustomer3OK) IsClientError ¶
func (o *ContractServiceListContractsByCustomer3OK) IsClientError() bool
IsClientError returns true when this contract service list contracts by customer3 o k response has a 4xx status code
func (*ContractServiceListContractsByCustomer3OK) IsCode ¶
func (o *ContractServiceListContractsByCustomer3OK) IsCode(code int) bool
IsCode returns true when this contract service list contracts by customer3 o k response a status code equal to that given
func (*ContractServiceListContractsByCustomer3OK) IsRedirect ¶
func (o *ContractServiceListContractsByCustomer3OK) IsRedirect() bool
IsRedirect returns true when this contract service list contracts by customer3 o k response has a 3xx status code
func (*ContractServiceListContractsByCustomer3OK) IsServerError ¶
func (o *ContractServiceListContractsByCustomer3OK) IsServerError() bool
IsServerError returns true when this contract service list contracts by customer3 o k response has a 5xx status code
func (*ContractServiceListContractsByCustomer3OK) IsSuccess ¶
func (o *ContractServiceListContractsByCustomer3OK) IsSuccess() bool
IsSuccess returns true when this contract service list contracts by customer3 o k response has a 2xx status code
func (*ContractServiceListContractsByCustomer3OK) String ¶
func (o *ContractServiceListContractsByCustomer3OK) String() 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 ¶
func (o *ContractServiceListContractsByCustomer3Params) SetBody(body *models.V1ListContractsByCustomerRequest)
SetBody adds the body to the contract service list contracts by customer3 params
func (*ContractServiceListContractsByCustomer3Params) SetContext ¶
func (o *ContractServiceListContractsByCustomer3Params) SetContext(ctx context.Context)
SetContext adds the context to the contract service list contracts by customer3 params
func (*ContractServiceListContractsByCustomer3Params) SetDefaults ¶
func (o *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 ¶
func (o *ContractServiceListContractsByCustomer3Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the contract service list contracts by customer3 params
func (*ContractServiceListContractsByCustomer3Params) WithBody ¶
func (o *ContractServiceListContractsByCustomer3Params) WithBody(body *models.V1ListContractsByCustomerRequest) *ContractServiceListContractsByCustomer3Params
WithBody adds the body to the contract service list contracts by customer3 params
func (*ContractServiceListContractsByCustomer3Params) WithContext ¶
func (o *ContractServiceListContractsByCustomer3Params) WithContext(ctx context.Context) *ContractServiceListContractsByCustomer3Params
WithContext adds the context to the contract service list contracts by customer3 params
func (*ContractServiceListContractsByCustomer3Params) WithDefaults ¶
func (o *ContractServiceListContractsByCustomer3Params) WithDefaults() *ContractServiceListContractsByCustomer3Params
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 ¶
func (o *ContractServiceListContractsByCustomer3Params) WithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomer3Params
WithHTTPClient adds the HTTPClient to the contract service list contracts by customer3 params
func (*ContractServiceListContractsByCustomer3Params) WithTimeout ¶
func (o *ContractServiceListContractsByCustomer3Params) WithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomer3Params
WithTimeout adds the timeout to the contract service list contracts by customer3 params
func (*ContractServiceListContractsByCustomer3Params) WriteToRequest ¶
func (o *ContractServiceListContractsByCustomer3Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ContractServiceListContractsByCustomer4Default) Code() int
Code gets the status code for the contract service list contracts by customer4 default response
func (*ContractServiceListContractsByCustomer4Default) Error ¶
func (o *ContractServiceListContractsByCustomer4Default) Error() string
func (*ContractServiceListContractsByCustomer4Default) GetPayload ¶
func (o *ContractServiceListContractsByCustomer4Default) GetPayload() *models.GooglerpcStatus
func (*ContractServiceListContractsByCustomer4Default) IsClientError ¶
func (o *ContractServiceListContractsByCustomer4Default) IsClientError() bool
IsClientError returns true when this contract service list contracts by customer4 default response has a 4xx status code
func (*ContractServiceListContractsByCustomer4Default) IsCode ¶
func (o *ContractServiceListContractsByCustomer4Default) IsCode(code int) bool
IsCode returns true when this contract service list contracts by customer4 default response a status code equal to that given
func (*ContractServiceListContractsByCustomer4Default) IsRedirect ¶
func (o *ContractServiceListContractsByCustomer4Default) IsRedirect() bool
IsRedirect returns true when this contract service list contracts by customer4 default response has a 3xx status code
func (*ContractServiceListContractsByCustomer4Default) IsServerError ¶
func (o *ContractServiceListContractsByCustomer4Default) IsServerError() bool
IsServerError returns true when this contract service list contracts by customer4 default response has a 5xx status code
func (*ContractServiceListContractsByCustomer4Default) IsSuccess ¶
func (o *ContractServiceListContractsByCustomer4Default) IsSuccess() bool
IsSuccess returns true when this contract service list contracts by customer4 default response has a 2xx status code
func (*ContractServiceListContractsByCustomer4Default) String ¶
func (o *ContractServiceListContractsByCustomer4Default) String() 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 ¶
func (o *ContractServiceListContractsByCustomer4OK) Code() int
Code gets the status code for the contract service list contracts by customer4 o k response
func (*ContractServiceListContractsByCustomer4OK) Error ¶
func (o *ContractServiceListContractsByCustomer4OK) Error() string
func (*ContractServiceListContractsByCustomer4OK) GetPayload ¶
func (o *ContractServiceListContractsByCustomer4OK) GetPayload() *models.V1ListContractsByCustomerResponse
func (*ContractServiceListContractsByCustomer4OK) IsClientError ¶
func (o *ContractServiceListContractsByCustomer4OK) IsClientError() bool
IsClientError returns true when this contract service list contracts by customer4 o k response has a 4xx status code
func (*ContractServiceListContractsByCustomer4OK) IsCode ¶
func (o *ContractServiceListContractsByCustomer4OK) IsCode(code int) bool
IsCode returns true when this contract service list contracts by customer4 o k response a status code equal to that given
func (*ContractServiceListContractsByCustomer4OK) IsRedirect ¶
func (o *ContractServiceListContractsByCustomer4OK) IsRedirect() bool
IsRedirect returns true when this contract service list contracts by customer4 o k response has a 3xx status code
func (*ContractServiceListContractsByCustomer4OK) IsServerError ¶
func (o *ContractServiceListContractsByCustomer4OK) IsServerError() bool
IsServerError returns true when this contract service list contracts by customer4 o k response has a 5xx status code
func (*ContractServiceListContractsByCustomer4OK) IsSuccess ¶
func (o *ContractServiceListContractsByCustomer4OK) IsSuccess() bool
IsSuccess returns true when this contract service list contracts by customer4 o k response has a 2xx status code
func (*ContractServiceListContractsByCustomer4OK) String ¶
func (o *ContractServiceListContractsByCustomer4OK) String() 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 ¶
func (o *ContractServiceListContractsByCustomer4Params) SetContext(ctx context.Context)
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 ¶
func (o *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 ¶
func (o *ContractServiceListContractsByCustomer4Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the contract service list contracts by customer4 params
func (*ContractServiceListContractsByCustomer4Params) WithContext ¶
func (o *ContractServiceListContractsByCustomer4Params) WithContext(ctx context.Context) *ContractServiceListContractsByCustomer4Params
WithContext adds the context to the contract service list contracts by customer4 params
func (*ContractServiceListContractsByCustomer4Params) WithCustomerID ¶
func (o *ContractServiceListContractsByCustomer4Params) WithCustomerID(customerID string) *ContractServiceListContractsByCustomer4Params
WithCustomerID adds the customerID to the contract service list contracts by customer4 params
func (*ContractServiceListContractsByCustomer4Params) WithCustomerOptionalID ¶
func (o *ContractServiceListContractsByCustomer4Params) WithCustomerOptionalID(customerOptionalID *string) *ContractServiceListContractsByCustomer4Params
WithCustomerOptionalID adds the customerOptionalID to the contract service list contracts by customer4 params
func (*ContractServiceListContractsByCustomer4Params) WithDefaults ¶
func (o *ContractServiceListContractsByCustomer4Params) WithDefaults() *ContractServiceListContractsByCustomer4Params
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 ¶
func (o *ContractServiceListContractsByCustomer4Params) WithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomer4Params
WithHTTPClient adds the HTTPClient to the contract service list contracts by customer4 params
func (*ContractServiceListContractsByCustomer4Params) WithPageSize ¶
func (o *ContractServiceListContractsByCustomer4Params) WithPageSize(pageSize *int32) *ContractServiceListContractsByCustomer4Params
WithPageSize adds the pageSize to the contract service list contracts by customer4 params
func (*ContractServiceListContractsByCustomer4Params) WithPageToken ¶
func (o *ContractServiceListContractsByCustomer4Params) WithPageToken(pageToken *string) *ContractServiceListContractsByCustomer4Params
WithPageToken adds the pageToken to the contract service list contracts by customer4 params
func (*ContractServiceListContractsByCustomer4Params) WithTimeout ¶
func (o *ContractServiceListContractsByCustomer4Params) WithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomer4Params
WithTimeout adds the timeout to the contract service list contracts by customer4 params
func (*ContractServiceListContractsByCustomer4Params) WriteToRequest ¶
func (o *ContractServiceListContractsByCustomer4Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ContractServiceListContractsByCustomerDefault) Code() int
Code gets the status code for the contract service list contracts by customer default response
func (*ContractServiceListContractsByCustomerDefault) Error ¶
func (o *ContractServiceListContractsByCustomerDefault) Error() string
func (*ContractServiceListContractsByCustomerDefault) GetPayload ¶
func (o *ContractServiceListContractsByCustomerDefault) GetPayload() *models.GooglerpcStatus
func (*ContractServiceListContractsByCustomerDefault) IsClientError ¶
func (o *ContractServiceListContractsByCustomerDefault) IsClientError() bool
IsClientError returns true when this contract service list contracts by customer default response has a 4xx status code
func (*ContractServiceListContractsByCustomerDefault) IsCode ¶
func (o *ContractServiceListContractsByCustomerDefault) IsCode(code int) bool
IsCode returns true when this contract service list contracts by customer default response a status code equal to that given
func (*ContractServiceListContractsByCustomerDefault) IsRedirect ¶
func (o *ContractServiceListContractsByCustomerDefault) IsRedirect() bool
IsRedirect returns true when this contract service list contracts by customer default response has a 3xx status code
func (*ContractServiceListContractsByCustomerDefault) IsServerError ¶
func (o *ContractServiceListContractsByCustomerDefault) IsServerError() bool
IsServerError returns true when this contract service list contracts by customer default response has a 5xx status code
func (*ContractServiceListContractsByCustomerDefault) IsSuccess ¶
func (o *ContractServiceListContractsByCustomerDefault) IsSuccess() bool
IsSuccess returns true when this contract service list contracts by customer default response has a 2xx status code
func (*ContractServiceListContractsByCustomerDefault) String ¶
func (o *ContractServiceListContractsByCustomerDefault) String() 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 ¶
func (o *ContractServiceListContractsByCustomerOK) Code() int
Code gets the status code for the contract service list contracts by customer o k response
func (*ContractServiceListContractsByCustomerOK) Error ¶
func (o *ContractServiceListContractsByCustomerOK) Error() string
func (*ContractServiceListContractsByCustomerOK) GetPayload ¶
func (o *ContractServiceListContractsByCustomerOK) GetPayload() *models.V1ListContractsByCustomerResponse
func (*ContractServiceListContractsByCustomerOK) IsClientError ¶
func (o *ContractServiceListContractsByCustomerOK) IsClientError() bool
IsClientError returns true when this contract service list contracts by customer o k response has a 4xx status code
func (*ContractServiceListContractsByCustomerOK) IsCode ¶
func (o *ContractServiceListContractsByCustomerOK) IsCode(code int) bool
IsCode returns true when this contract service list contracts by customer o k response a status code equal to that given
func (*ContractServiceListContractsByCustomerOK) IsRedirect ¶
func (o *ContractServiceListContractsByCustomerOK) IsRedirect() bool
IsRedirect returns true when this contract service list contracts by customer o k response has a 3xx status code
func (*ContractServiceListContractsByCustomerOK) IsServerError ¶
func (o *ContractServiceListContractsByCustomerOK) IsServerError() bool
IsServerError returns true when this contract service list contracts by customer o k response has a 5xx status code
func (*ContractServiceListContractsByCustomerOK) IsSuccess ¶
func (o *ContractServiceListContractsByCustomerOK) IsSuccess() bool
IsSuccess returns true when this contract service list contracts by customer o k response has a 2xx status code
func (*ContractServiceListContractsByCustomerOK) String ¶
func (o *ContractServiceListContractsByCustomerOK) String() 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 ¶
func (o *ContractServiceListContractsByCustomerParams) SetBody(body *models.V1ListContractsByCustomerRequest)
SetBody adds the body to the contract service list contracts by customer params
func (*ContractServiceListContractsByCustomerParams) SetContext ¶
func (o *ContractServiceListContractsByCustomerParams) SetContext(ctx context.Context)
SetContext adds the context to the contract service list contracts by customer params
func (*ContractServiceListContractsByCustomerParams) SetDefaults ¶
func (o *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 ¶
func (o *ContractServiceListContractsByCustomerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the contract service list contracts by customer params
func (*ContractServiceListContractsByCustomerParams) WithBody ¶
func (o *ContractServiceListContractsByCustomerParams) WithBody(body *models.V1ListContractsByCustomerRequest) *ContractServiceListContractsByCustomerParams
WithBody adds the body to the contract service list contracts by customer params
func (*ContractServiceListContractsByCustomerParams) WithContext ¶
func (o *ContractServiceListContractsByCustomerParams) WithContext(ctx context.Context) *ContractServiceListContractsByCustomerParams
WithContext adds the context to the contract service list contracts by customer params
func (*ContractServiceListContractsByCustomerParams) WithDefaults ¶
func (o *ContractServiceListContractsByCustomerParams) WithDefaults() *ContractServiceListContractsByCustomerParams
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 ¶
func (o *ContractServiceListContractsByCustomerParams) WithHTTPClient(client *http.Client) *ContractServiceListContractsByCustomerParams
WithHTTPClient adds the HTTPClient to the contract service list contracts by customer params
func (*ContractServiceListContractsByCustomerParams) WithTimeout ¶
func (o *ContractServiceListContractsByCustomerParams) WithTimeout(timeout time.Duration) *ContractServiceListContractsByCustomerParams
WithTimeout adds the timeout to the contract service list contracts by customer params
func (*ContractServiceListContractsByCustomerParams) WriteToRequest ¶
func (o *ContractServiceListContractsByCustomerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ContractServiceListContractsDefault) Code() int
Code gets the status code for the contract service list contracts default response
func (*ContractServiceListContractsDefault) Error ¶
func (o *ContractServiceListContractsDefault) Error() string
func (*ContractServiceListContractsDefault) GetPayload ¶
func (o *ContractServiceListContractsDefault) GetPayload() *models.GooglerpcStatus
func (*ContractServiceListContractsDefault) IsClientError ¶
func (o *ContractServiceListContractsDefault) IsClientError() bool
IsClientError returns true when this contract service list contracts default response has a 4xx status code
func (*ContractServiceListContractsDefault) IsCode ¶
func (o *ContractServiceListContractsDefault) IsCode(code int) bool
IsCode returns true when this contract service list contracts default response a status code equal to that given
func (*ContractServiceListContractsDefault) IsRedirect ¶
func (o *ContractServiceListContractsDefault) IsRedirect() bool
IsRedirect returns true when this contract service list contracts default response has a 3xx status code
func (*ContractServiceListContractsDefault) IsServerError ¶
func (o *ContractServiceListContractsDefault) IsServerError() bool
IsServerError returns true when this contract service list contracts default response has a 5xx status code
func (*ContractServiceListContractsDefault) IsSuccess ¶
func (o *ContractServiceListContractsDefault) IsSuccess() bool
IsSuccess returns true when this contract service list contracts default response has a 2xx status code
func (*ContractServiceListContractsDefault) String ¶
func (o *ContractServiceListContractsDefault) String() string
type ContractServiceListContractsOK ¶
type ContractServiceListContractsOK struct {
Payload *models.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 ¶
func (o *ContractServiceListContractsOK) Code() int
Code gets the status code for the contract service list contracts o k response
func (*ContractServiceListContractsOK) Error ¶
func (o *ContractServiceListContractsOK) Error() string
func (*ContractServiceListContractsOK) GetPayload ¶
func (o *ContractServiceListContractsOK) GetPayload() *models.V1ListContractsResponse
func (*ContractServiceListContractsOK) IsClientError ¶
func (o *ContractServiceListContractsOK) IsClientError() bool
IsClientError returns true when this contract service list contracts o k response has a 4xx status code
func (*ContractServiceListContractsOK) IsCode ¶
func (o *ContractServiceListContractsOK) IsCode(code int) bool
IsCode returns true when this contract service list contracts o k response a status code equal to that given
func (*ContractServiceListContractsOK) IsRedirect ¶
func (o *ContractServiceListContractsOK) IsRedirect() bool
IsRedirect returns true when this contract service list contracts o k response has a 3xx status code
func (*ContractServiceListContractsOK) IsServerError ¶
func (o *ContractServiceListContractsOK) IsServerError() bool
IsServerError returns true when this contract service list contracts o k response has a 5xx status code
func (*ContractServiceListContractsOK) IsSuccess ¶
func (o *ContractServiceListContractsOK) IsSuccess() bool
IsSuccess returns true when this contract service list contracts o k response has a 2xx status code
func (*ContractServiceListContractsOK) String ¶
func (o *ContractServiceListContractsOK) String() string
type ContractServiceListContractsParams ¶
type ContractServiceListContractsParams struct { // 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 ¶
func (o *ContractServiceListContractsParams) SetBody(body *models.V1ListContractsRequest)
SetBody adds the body to the contract service list contracts params
func (*ContractServiceListContractsParams) SetContext ¶
func (o *ContractServiceListContractsParams) SetContext(ctx context.Context)
SetContext adds the context to the contract service list contracts params
func (*ContractServiceListContractsParams) SetDefaults ¶
func (o *ContractServiceListContractsParams) SetDefaults()
SetDefaults hydrates default values in the contract service list contracts params (not the query body).
All values with no default are reset to their zero value.
func (*ContractServiceListContractsParams) SetHTTPClient ¶
func (o *ContractServiceListContractsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the contract service list contracts params
func (*ContractServiceListContractsParams) SetTimeout ¶
func (o *ContractServiceListContractsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the contract service list contracts params
func (*ContractServiceListContractsParams) WithBody ¶
func (o *ContractServiceListContractsParams) WithBody(body *models.V1ListContractsRequest) *ContractServiceListContractsParams
WithBody adds the body to the contract service list contracts params
func (*ContractServiceListContractsParams) WithContext ¶
func (o *ContractServiceListContractsParams) WithContext(ctx context.Context) *ContractServiceListContractsParams
WithContext adds the context to the contract service list contracts params
func (*ContractServiceListContractsParams) WithDefaults ¶
func (o *ContractServiceListContractsParams) WithDefaults() *ContractServiceListContractsParams
WithDefaults hydrates default values in the contract service list contracts params (not the query body).
All values with no default are reset to their zero value.
func (*ContractServiceListContractsParams) WithHTTPClient ¶
func (o *ContractServiceListContractsParams) WithHTTPClient(client *http.Client) *ContractServiceListContractsParams
WithHTTPClient adds the HTTPClient to the contract service list contracts params
func (*ContractServiceListContractsParams) WithTimeout ¶
func (o *ContractServiceListContractsParams) WithTimeout(timeout time.Duration) *ContractServiceListContractsParams
WithTimeout adds the timeout to the contract service list contracts params
func (*ContractServiceListContractsParams) WriteToRequest ¶
func (o *ContractServiceListContractsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContractServiceListContractsReader ¶
type ContractServiceListContractsReader struct {
// contains filtered or unexported fields
}
ContractServiceListContractsReader is a Reader for the ContractServiceListContracts structure.
func (*ContractServiceListContractsReader) ReadResponse ¶
func (o *ContractServiceListContractsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- contract_service_client.go
- contract_service_create_contract_parameters.go
- contract_service_create_contract_responses.go
- contract_service_get_contract2_parameters.go
- contract_service_get_contract2_responses.go
- contract_service_get_contract_by_optional_id2_parameters.go
- contract_service_get_contract_by_optional_id2_responses.go
- contract_service_get_contract_by_optional_id_parameters.go
- contract_service_get_contract_by_optional_id_responses.go
- contract_service_get_contract_parameters.go
- contract_service_get_contract_responses.go
- contract_service_list_contracts2_parameters.go
- contract_service_list_contracts2_responses.go
- contract_service_list_contracts_by_customer2_parameters.go
- contract_service_list_contracts_by_customer2_responses.go
- contract_service_list_contracts_by_customer3_parameters.go
- contract_service_list_contracts_by_customer3_responses.go
- contract_service_list_contracts_by_customer4_parameters.go
- contract_service_list_contracts_by_customer4_responses.go
- contract_service_list_contracts_by_customer_parameters.go
- contract_service_list_contracts_by_customer_responses.go
- contract_service_list_contracts_parameters.go
- contract_service_list_contracts_responses.go