Documentation ¶
Index ¶
- type Client
- func (a *Client) ContractAdd(params *ContractAddParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ContractAddOK, error)
- func (a *Client) ContractDeleteList(params *ContractDeleteListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ContractDeleteListOK, error)
- func (a *Client) ContractFind(params *ContractFindParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ContractFindOK, error)
- func (a *Client) ContractUpdate(params *ContractUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ContractUpdateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ContractAddBadRequest
- func (o *ContractAddBadRequest) Code() int
- func (o *ContractAddBadRequest) Error() string
- func (o *ContractAddBadRequest) GetPayload() *models.Response
- func (o *ContractAddBadRequest) IsClientError() bool
- func (o *ContractAddBadRequest) IsCode(code int) bool
- func (o *ContractAddBadRequest) IsRedirect() bool
- func (o *ContractAddBadRequest) IsServerError() bool
- func (o *ContractAddBadRequest) IsSuccess() bool
- func (o *ContractAddBadRequest) String() string
- type ContractAddInternalServerError
- func (o *ContractAddInternalServerError) Code() int
- func (o *ContractAddInternalServerError) Error() string
- func (o *ContractAddInternalServerError) GetPayload() *models.Response
- func (o *ContractAddInternalServerError) IsClientError() bool
- func (o *ContractAddInternalServerError) IsCode(code int) bool
- func (o *ContractAddInternalServerError) IsRedirect() bool
- func (o *ContractAddInternalServerError) IsServerError() bool
- func (o *ContractAddInternalServerError) IsSuccess() bool
- func (o *ContractAddInternalServerError) String() string
- type ContractAddOK
- func (o *ContractAddOK) Code() int
- func (o *ContractAddOK) Error() string
- func (o *ContractAddOK) GetPayload() *models.Response
- func (o *ContractAddOK) IsClientError() bool
- func (o *ContractAddOK) IsCode(code int) bool
- func (o *ContractAddOK) IsRedirect() bool
- func (o *ContractAddOK) IsServerError() bool
- func (o *ContractAddOK) IsSuccess() bool
- func (o *ContractAddOK) String() string
- type ContractAddParams
- func (o *ContractAddParams) SetBody(body *models.ContractAddRequest)
- func (o *ContractAddParams) SetContext(ctx context.Context)
- func (o *ContractAddParams) SetDefaults()
- func (o *ContractAddParams) SetHTTPClient(client *http.Client)
- func (o *ContractAddParams) SetTimeout(timeout time.Duration)
- func (o *ContractAddParams) WithBody(body *models.ContractAddRequest) *ContractAddParams
- func (o *ContractAddParams) WithContext(ctx context.Context) *ContractAddParams
- func (o *ContractAddParams) WithDefaults() *ContractAddParams
- func (o *ContractAddParams) WithHTTPClient(client *http.Client) *ContractAddParams
- func (o *ContractAddParams) WithTimeout(timeout time.Duration) *ContractAddParams
- func (o *ContractAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractAddReader
- type ContractAddUnauthorized
- func (o *ContractAddUnauthorized) Code() int
- func (o *ContractAddUnauthorized) Error() string
- func (o *ContractAddUnauthorized) GetPayload() *models.Response
- func (o *ContractAddUnauthorized) IsClientError() bool
- func (o *ContractAddUnauthorized) IsCode(code int) bool
- func (o *ContractAddUnauthorized) IsRedirect() bool
- func (o *ContractAddUnauthorized) IsServerError() bool
- func (o *ContractAddUnauthorized) IsSuccess() bool
- func (o *ContractAddUnauthorized) String() string
- type ContractDeleteListBadRequest
- func (o *ContractDeleteListBadRequest) Code() int
- func (o *ContractDeleteListBadRequest) Error() string
- func (o *ContractDeleteListBadRequest) GetPayload() *models.Response
- func (o *ContractDeleteListBadRequest) IsClientError() bool
- func (o *ContractDeleteListBadRequest) IsCode(code int) bool
- func (o *ContractDeleteListBadRequest) IsRedirect() bool
- func (o *ContractDeleteListBadRequest) IsServerError() bool
- func (o *ContractDeleteListBadRequest) IsSuccess() bool
- func (o *ContractDeleteListBadRequest) String() string
- type ContractDeleteListInternalServerError
- func (o *ContractDeleteListInternalServerError) Code() int
- func (o *ContractDeleteListInternalServerError) Error() string
- func (o *ContractDeleteListInternalServerError) GetPayload() *models.Response
- func (o *ContractDeleteListInternalServerError) IsClientError() bool
- func (o *ContractDeleteListInternalServerError) IsCode(code int) bool
- func (o *ContractDeleteListInternalServerError) IsRedirect() bool
- func (o *ContractDeleteListInternalServerError) IsServerError() bool
- func (o *ContractDeleteListInternalServerError) IsSuccess() bool
- func (o *ContractDeleteListInternalServerError) String() string
- type ContractDeleteListNotFound
- func (o *ContractDeleteListNotFound) Code() int
- func (o *ContractDeleteListNotFound) Error() string
- func (o *ContractDeleteListNotFound) GetPayload() *models.Response
- func (o *ContractDeleteListNotFound) IsClientError() bool
- func (o *ContractDeleteListNotFound) IsCode(code int) bool
- func (o *ContractDeleteListNotFound) IsRedirect() bool
- func (o *ContractDeleteListNotFound) IsServerError() bool
- func (o *ContractDeleteListNotFound) IsSuccess() bool
- func (o *ContractDeleteListNotFound) String() string
- type ContractDeleteListOK
- func (o *ContractDeleteListOK) Code() int
- func (o *ContractDeleteListOK) Error() string
- func (o *ContractDeleteListOK) GetPayload() *models.Response
- func (o *ContractDeleteListOK) IsClientError() bool
- func (o *ContractDeleteListOK) IsCode(code int) bool
- func (o *ContractDeleteListOK) IsRedirect() bool
- func (o *ContractDeleteListOK) IsServerError() bool
- func (o *ContractDeleteListOK) IsSuccess() bool
- func (o *ContractDeleteListOK) String() string
- type ContractDeleteListParams
- func NewContractDeleteListParams() *ContractDeleteListParams
- func NewContractDeleteListParamsWithContext(ctx context.Context) *ContractDeleteListParams
- func NewContractDeleteListParamsWithHTTPClient(client *http.Client) *ContractDeleteListParams
- func NewContractDeleteListParamsWithTimeout(timeout time.Duration) *ContractDeleteListParams
- func (o *ContractDeleteListParams) SetContext(ctx context.Context)
- func (o *ContractDeleteListParams) SetDefaults()
- func (o *ContractDeleteListParams) SetHTTPClient(client *http.Client)
- func (o *ContractDeleteListParams) SetID(id []string)
- func (o *ContractDeleteListParams) SetTimeout(timeout time.Duration)
- func (o *ContractDeleteListParams) WithContext(ctx context.Context) *ContractDeleteListParams
- func (o *ContractDeleteListParams) WithDefaults() *ContractDeleteListParams
- func (o *ContractDeleteListParams) WithHTTPClient(client *http.Client) *ContractDeleteListParams
- func (o *ContractDeleteListParams) WithID(id []string) *ContractDeleteListParams
- func (o *ContractDeleteListParams) WithTimeout(timeout time.Duration) *ContractDeleteListParams
- func (o *ContractDeleteListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractDeleteListReader
- type ContractDeleteListUnauthorized
- func (o *ContractDeleteListUnauthorized) Code() int
- func (o *ContractDeleteListUnauthorized) Error() string
- func (o *ContractDeleteListUnauthorized) GetPayload() *models.Response
- func (o *ContractDeleteListUnauthorized) IsClientError() bool
- func (o *ContractDeleteListUnauthorized) IsCode(code int) bool
- func (o *ContractDeleteListUnauthorized) IsRedirect() bool
- func (o *ContractDeleteListUnauthorized) IsServerError() bool
- func (o *ContractDeleteListUnauthorized) IsSuccess() bool
- func (o *ContractDeleteListUnauthorized) String() string
- type ContractFindBadRequest
- func (o *ContractFindBadRequest) Code() int
- func (o *ContractFindBadRequest) Error() string
- func (o *ContractFindBadRequest) GetPayload() *models.Response
- func (o *ContractFindBadRequest) IsClientError() bool
- func (o *ContractFindBadRequest) IsCode(code int) bool
- func (o *ContractFindBadRequest) IsRedirect() bool
- func (o *ContractFindBadRequest) IsServerError() bool
- func (o *ContractFindBadRequest) IsSuccess() bool
- func (o *ContractFindBadRequest) String() string
- type ContractFindInternalServerError
- func (o *ContractFindInternalServerError) Code() int
- func (o *ContractFindInternalServerError) Error() string
- func (o *ContractFindInternalServerError) GetPayload() *models.Response
- func (o *ContractFindInternalServerError) IsClientError() bool
- func (o *ContractFindInternalServerError) IsCode(code int) bool
- func (o *ContractFindInternalServerError) IsRedirect() bool
- func (o *ContractFindInternalServerError) IsServerError() bool
- func (o *ContractFindInternalServerError) IsSuccess() bool
- func (o *ContractFindInternalServerError) String() string
- type ContractFindOK
- func (o *ContractFindOK) Code() int
- func (o *ContractFindOK) Error() string
- func (o *ContractFindOK) GetPayload() *models.ContractFindResponse
- func (o *ContractFindOK) IsClientError() bool
- func (o *ContractFindOK) IsCode(code int) bool
- func (o *ContractFindOK) IsRedirect() bool
- func (o *ContractFindOK) IsServerError() bool
- func (o *ContractFindOK) IsSuccess() bool
- func (o *ContractFindOK) String() string
- type ContractFindParams
- func (o *ContractFindParams) SetContext(ctx context.Context)
- func (o *ContractFindParams) SetContractName(contractName *string)
- func (o *ContractFindParams) SetDefaults()
- func (o *ContractFindParams) SetHTTPClient(client *http.Client)
- func (o *ContractFindParams) SetKeyword(keyword *string)
- func (o *ContractFindParams) SetPOPEndDate(pOPEndDate *string)
- func (o *ContractFindParams) SetPOPStartDate(pOPStartDate *string)
- func (o *ContractFindParams) SetSystemID(systemID *string)
- func (o *ContractFindParams) SetTimeout(timeout time.Duration)
- func (o *ContractFindParams) WithContext(ctx context.Context) *ContractFindParams
- func (o *ContractFindParams) WithContractName(contractName *string) *ContractFindParams
- func (o *ContractFindParams) WithDefaults() *ContractFindParams
- func (o *ContractFindParams) WithHTTPClient(client *http.Client) *ContractFindParams
- func (o *ContractFindParams) WithKeyword(keyword *string) *ContractFindParams
- func (o *ContractFindParams) WithPOPEndDate(pOPEndDate *string) *ContractFindParams
- func (o *ContractFindParams) WithPOPStartDate(pOPStartDate *string) *ContractFindParams
- func (o *ContractFindParams) WithSystemID(systemID *string) *ContractFindParams
- func (o *ContractFindParams) WithTimeout(timeout time.Duration) *ContractFindParams
- func (o *ContractFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractFindReader
- type ContractFindUnauthorized
- func (o *ContractFindUnauthorized) Code() int
- func (o *ContractFindUnauthorized) Error() string
- func (o *ContractFindUnauthorized) GetPayload() *models.Response
- func (o *ContractFindUnauthorized) IsClientError() bool
- func (o *ContractFindUnauthorized) IsCode(code int) bool
- func (o *ContractFindUnauthorized) IsRedirect() bool
- func (o *ContractFindUnauthorized) IsServerError() bool
- func (o *ContractFindUnauthorized) IsSuccess() bool
- func (o *ContractFindUnauthorized) String() string
- type ContractUpdateBadRequest
- func (o *ContractUpdateBadRequest) Code() int
- func (o *ContractUpdateBadRequest) Error() string
- func (o *ContractUpdateBadRequest) GetPayload() *models.Response
- func (o *ContractUpdateBadRequest) IsClientError() bool
- func (o *ContractUpdateBadRequest) IsCode(code int) bool
- func (o *ContractUpdateBadRequest) IsRedirect() bool
- func (o *ContractUpdateBadRequest) IsServerError() bool
- func (o *ContractUpdateBadRequest) IsSuccess() bool
- func (o *ContractUpdateBadRequest) String() string
- type ContractUpdateInternalServerError
- func (o *ContractUpdateInternalServerError) Code() int
- func (o *ContractUpdateInternalServerError) Error() string
- func (o *ContractUpdateInternalServerError) GetPayload() *models.Response
- func (o *ContractUpdateInternalServerError) IsClientError() bool
- func (o *ContractUpdateInternalServerError) IsCode(code int) bool
- func (o *ContractUpdateInternalServerError) IsRedirect() bool
- func (o *ContractUpdateInternalServerError) IsServerError() bool
- func (o *ContractUpdateInternalServerError) IsSuccess() bool
- func (o *ContractUpdateInternalServerError) String() string
- type ContractUpdateOK
- func (o *ContractUpdateOK) Code() int
- func (o *ContractUpdateOK) Error() string
- func (o *ContractUpdateOK) GetPayload() *models.Response
- func (o *ContractUpdateOK) IsClientError() bool
- func (o *ContractUpdateOK) IsCode(code int) bool
- func (o *ContractUpdateOK) IsRedirect() bool
- func (o *ContractUpdateOK) IsServerError() bool
- func (o *ContractUpdateOK) IsSuccess() bool
- func (o *ContractUpdateOK) String() string
- type ContractUpdateParams
- func NewContractUpdateParams() *ContractUpdateParams
- func NewContractUpdateParamsWithContext(ctx context.Context) *ContractUpdateParams
- func NewContractUpdateParamsWithHTTPClient(client *http.Client) *ContractUpdateParams
- func NewContractUpdateParamsWithTimeout(timeout time.Duration) *ContractUpdateParams
- func (o *ContractUpdateParams) SetBody(body *models.ContractUpdateRequest)
- func (o *ContractUpdateParams) SetBudgetsOnly(budgetsOnly *bool)
- func (o *ContractUpdateParams) SetContext(ctx context.Context)
- func (o *ContractUpdateParams) SetDefaults()
- func (o *ContractUpdateParams) SetHTTPClient(client *http.Client)
- func (o *ContractUpdateParams) SetTimeout(timeout time.Duration)
- func (o *ContractUpdateParams) WithBody(body *models.ContractUpdateRequest) *ContractUpdateParams
- func (o *ContractUpdateParams) WithBudgetsOnly(budgetsOnly *bool) *ContractUpdateParams
- func (o *ContractUpdateParams) WithContext(ctx context.Context) *ContractUpdateParams
- func (o *ContractUpdateParams) WithDefaults() *ContractUpdateParams
- func (o *ContractUpdateParams) WithHTTPClient(client *http.Client) *ContractUpdateParams
- func (o *ContractUpdateParams) WithTimeout(timeout time.Duration) *ContractUpdateParams
- func (o *ContractUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ContractUpdateReader
- type ContractUpdateUnauthorized
- func (o *ContractUpdateUnauthorized) Code() int
- func (o *ContractUpdateUnauthorized) Error() string
- func (o *ContractUpdateUnauthorized) GetPayload() *models.Response
- func (o *ContractUpdateUnauthorized) IsClientError() bool
- func (o *ContractUpdateUnauthorized) IsCode(code int) bool
- func (o *ContractUpdateUnauthorized) IsRedirect() bool
- func (o *ContractUpdateUnauthorized) IsServerError() bool
- func (o *ContractUpdateUnauthorized) IsSuccess() bool
- func (o *ContractUpdateUnauthorized) String() string
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 API
func (*Client) ContractAdd ¶
func (a *Client) ContractAdd(params *ContractAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContractAddOK, error)
ContractAdd adds a new contract s to the alfabet system this interface takes an arrary of contract documents
Add a new contract(s) to the Alfabet system. This interface takes an arrary of Contract documents.
func (*Client) ContractDeleteList ¶
func (a *Client) ContractDeleteList(params *ContractDeleteListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContractDeleteListOK, error)
ContractDeleteList deletes a list of contracts based on an array of contarct ids
Delete a list of contracts based on an array of contarct ids.
func (*Client) ContractFind ¶
func (a *Client) ContractFind(params *ContractFindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContractFindOK, error)
ContractFind retrieves a list of contracts based on query criteria if a system Id is passed the contract s for that system are returned if no query data is passed in all contracts for the current year are returned
Retrieve a list of contracts based on query criteria. If a SystemId is passed, the contract(s) for that system are returned. If no query data is passed in, all contracts for the current year are returned.
func (*Client) ContractUpdate ¶
func (a *Client) ContractUpdate(params *ContractUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContractUpdateOK, error)
ContractUpdate updates an array of contract s in the alfabet system this interface takes an arrary of contract documents if the input budgets only is set to false this interface will also update any associated contract deliverable records
Update an array of contract(s) in the Alfabet system. This interface takes an arrary of Contract documents. If the input budgetsOnly is set to false, this interface will also update any associated Contract Deliverable records.
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 { ContractAdd(params *ContractAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContractAddOK, error) ContractDeleteList(params *ContractDeleteListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContractDeleteListOK, error) ContractFind(params *ContractFindParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContractFindOK, error) ContractUpdate(params *ContractUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ContractUpdateOK, 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 API client.
type ContractAddBadRequest ¶
ContractAddBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewContractAddBadRequest ¶
func NewContractAddBadRequest() *ContractAddBadRequest
NewContractAddBadRequest creates a ContractAddBadRequest with default headers values
func (*ContractAddBadRequest) Code ¶
func (o *ContractAddBadRequest) Code() int
Code gets the status code for the contract add bad request response
func (*ContractAddBadRequest) Error ¶
func (o *ContractAddBadRequest) Error() string
func (*ContractAddBadRequest) GetPayload ¶
func (o *ContractAddBadRequest) GetPayload() *models.Response
func (*ContractAddBadRequest) IsClientError ¶
func (o *ContractAddBadRequest) IsClientError() bool
IsClientError returns true when this contract add bad request response has a 4xx status code
func (*ContractAddBadRequest) IsCode ¶
func (o *ContractAddBadRequest) IsCode(code int) bool
IsCode returns true when this contract add bad request response a status code equal to that given
func (*ContractAddBadRequest) IsRedirect ¶
func (o *ContractAddBadRequest) IsRedirect() bool
IsRedirect returns true when this contract add bad request response has a 3xx status code
func (*ContractAddBadRequest) IsServerError ¶
func (o *ContractAddBadRequest) IsServerError() bool
IsServerError returns true when this contract add bad request response has a 5xx status code
func (*ContractAddBadRequest) IsSuccess ¶
func (o *ContractAddBadRequest) IsSuccess() bool
IsSuccess returns true when this contract add bad request response has a 2xx status code
func (*ContractAddBadRequest) String ¶
func (o *ContractAddBadRequest) String() string
type ContractAddInternalServerError ¶
ContractAddInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewContractAddInternalServerError ¶
func NewContractAddInternalServerError() *ContractAddInternalServerError
NewContractAddInternalServerError creates a ContractAddInternalServerError with default headers values
func (*ContractAddInternalServerError) Code ¶
func (o *ContractAddInternalServerError) Code() int
Code gets the status code for the contract add internal server error response
func (*ContractAddInternalServerError) Error ¶
func (o *ContractAddInternalServerError) Error() string
func (*ContractAddInternalServerError) GetPayload ¶
func (o *ContractAddInternalServerError) GetPayload() *models.Response
func (*ContractAddInternalServerError) IsClientError ¶
func (o *ContractAddInternalServerError) IsClientError() bool
IsClientError returns true when this contract add internal server error response has a 4xx status code
func (*ContractAddInternalServerError) IsCode ¶
func (o *ContractAddInternalServerError) IsCode(code int) bool
IsCode returns true when this contract add internal server error response a status code equal to that given
func (*ContractAddInternalServerError) IsRedirect ¶
func (o *ContractAddInternalServerError) IsRedirect() bool
IsRedirect returns true when this contract add internal server error response has a 3xx status code
func (*ContractAddInternalServerError) IsServerError ¶
func (o *ContractAddInternalServerError) IsServerError() bool
IsServerError returns true when this contract add internal server error response has a 5xx status code
func (*ContractAddInternalServerError) IsSuccess ¶
func (o *ContractAddInternalServerError) IsSuccess() bool
IsSuccess returns true when this contract add internal server error response has a 2xx status code
func (*ContractAddInternalServerError) String ¶
func (o *ContractAddInternalServerError) String() string
type ContractAddOK ¶
ContractAddOK describes a response with status code 200, with default header values.
OK
func NewContractAddOK ¶
func NewContractAddOK() *ContractAddOK
NewContractAddOK creates a ContractAddOK with default headers values
func (*ContractAddOK) Code ¶
func (o *ContractAddOK) Code() int
Code gets the status code for the contract add o k response
func (*ContractAddOK) Error ¶
func (o *ContractAddOK) Error() string
func (*ContractAddOK) GetPayload ¶
func (o *ContractAddOK) GetPayload() *models.Response
func (*ContractAddOK) IsClientError ¶
func (o *ContractAddOK) IsClientError() bool
IsClientError returns true when this contract add o k response has a 4xx status code
func (*ContractAddOK) IsCode ¶
func (o *ContractAddOK) IsCode(code int) bool
IsCode returns true when this contract add o k response a status code equal to that given
func (*ContractAddOK) IsRedirect ¶
func (o *ContractAddOK) IsRedirect() bool
IsRedirect returns true when this contract add o k response has a 3xx status code
func (*ContractAddOK) IsServerError ¶
func (o *ContractAddOK) IsServerError() bool
IsServerError returns true when this contract add o k response has a 5xx status code
func (*ContractAddOK) IsSuccess ¶
func (o *ContractAddOK) IsSuccess() bool
IsSuccess returns true when this contract add o k response has a 2xx status code
func (*ContractAddOK) String ¶
func (o *ContractAddOK) String() string
type ContractAddParams ¶
type ContractAddParams struct { /* Body. An array of Contracts to be added to CEDAR Alfabet. */ Body *models.ContractAddRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContractAddParams contains all the parameters to send to the API endpoint
for the contract add operation. Typically these are written to a http.Request.
func NewContractAddParams ¶
func NewContractAddParams() *ContractAddParams
NewContractAddParams creates a new ContractAddParams 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 NewContractAddParamsWithContext ¶
func NewContractAddParamsWithContext(ctx context.Context) *ContractAddParams
NewContractAddParamsWithContext creates a new ContractAddParams object with the ability to set a context for a request.
func NewContractAddParamsWithHTTPClient ¶
func NewContractAddParamsWithHTTPClient(client *http.Client) *ContractAddParams
NewContractAddParamsWithHTTPClient creates a new ContractAddParams object with the ability to set a custom HTTPClient for a request.
func NewContractAddParamsWithTimeout ¶
func NewContractAddParamsWithTimeout(timeout time.Duration) *ContractAddParams
NewContractAddParamsWithTimeout creates a new ContractAddParams object with the ability to set a timeout on a request.
func (*ContractAddParams) SetBody ¶
func (o *ContractAddParams) SetBody(body *models.ContractAddRequest)
SetBody adds the body to the contract add params
func (*ContractAddParams) SetContext ¶
func (o *ContractAddParams) SetContext(ctx context.Context)
SetContext adds the context to the contract add params
func (*ContractAddParams) SetDefaults ¶
func (o *ContractAddParams) SetDefaults()
SetDefaults hydrates default values in the contract add params (not the query body).
All values with no default are reset to their zero value.
func (*ContractAddParams) SetHTTPClient ¶
func (o *ContractAddParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the contract add params
func (*ContractAddParams) SetTimeout ¶
func (o *ContractAddParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the contract add params
func (*ContractAddParams) WithBody ¶
func (o *ContractAddParams) WithBody(body *models.ContractAddRequest) *ContractAddParams
WithBody adds the body to the contract add params
func (*ContractAddParams) WithContext ¶
func (o *ContractAddParams) WithContext(ctx context.Context) *ContractAddParams
WithContext adds the context to the contract add params
func (*ContractAddParams) WithDefaults ¶
func (o *ContractAddParams) WithDefaults() *ContractAddParams
WithDefaults hydrates default values in the contract add params (not the query body).
All values with no default are reset to their zero value.
func (*ContractAddParams) WithHTTPClient ¶
func (o *ContractAddParams) WithHTTPClient(client *http.Client) *ContractAddParams
WithHTTPClient adds the HTTPClient to the contract add params
func (*ContractAddParams) WithTimeout ¶
func (o *ContractAddParams) WithTimeout(timeout time.Duration) *ContractAddParams
WithTimeout adds the timeout to the contract add params
func (*ContractAddParams) WriteToRequest ¶
func (o *ContractAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContractAddReader ¶
type ContractAddReader struct {
// contains filtered or unexported fields
}
ContractAddReader is a Reader for the ContractAdd structure.
func (*ContractAddReader) ReadResponse ¶
func (o *ContractAddReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContractAddUnauthorized ¶
type ContractAddUnauthorized struct {
}ContractAddUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewContractAddUnauthorized ¶
func NewContractAddUnauthorized() *ContractAddUnauthorized
NewContractAddUnauthorized creates a ContractAddUnauthorized with default headers values
func (*ContractAddUnauthorized) Code ¶
func (o *ContractAddUnauthorized) Code() int
Code gets the status code for the contract add unauthorized response
func (*ContractAddUnauthorized) Error ¶
func (o *ContractAddUnauthorized) Error() string
func (*ContractAddUnauthorized) GetPayload ¶
func (o *ContractAddUnauthorized) GetPayload() *models.Response
func (*ContractAddUnauthorized) IsClientError ¶
func (o *ContractAddUnauthorized) IsClientError() bool
IsClientError returns true when this contract add unauthorized response has a 4xx status code
func (*ContractAddUnauthorized) IsCode ¶
func (o *ContractAddUnauthorized) IsCode(code int) bool
IsCode returns true when this contract add unauthorized response a status code equal to that given
func (*ContractAddUnauthorized) IsRedirect ¶
func (o *ContractAddUnauthorized) IsRedirect() bool
IsRedirect returns true when this contract add unauthorized response has a 3xx status code
func (*ContractAddUnauthorized) IsServerError ¶
func (o *ContractAddUnauthorized) IsServerError() bool
IsServerError returns true when this contract add unauthorized response has a 5xx status code
func (*ContractAddUnauthorized) IsSuccess ¶
func (o *ContractAddUnauthorized) IsSuccess() bool
IsSuccess returns true when this contract add unauthorized response has a 2xx status code
func (*ContractAddUnauthorized) String ¶
func (o *ContractAddUnauthorized) String() string
type ContractDeleteListBadRequest ¶
ContractDeleteListBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewContractDeleteListBadRequest ¶
func NewContractDeleteListBadRequest() *ContractDeleteListBadRequest
NewContractDeleteListBadRequest creates a ContractDeleteListBadRequest with default headers values
func (*ContractDeleteListBadRequest) Code ¶
func (o *ContractDeleteListBadRequest) Code() int
Code gets the status code for the contract delete list bad request response
func (*ContractDeleteListBadRequest) Error ¶
func (o *ContractDeleteListBadRequest) Error() string
func (*ContractDeleteListBadRequest) GetPayload ¶
func (o *ContractDeleteListBadRequest) GetPayload() *models.Response
func (*ContractDeleteListBadRequest) IsClientError ¶
func (o *ContractDeleteListBadRequest) IsClientError() bool
IsClientError returns true when this contract delete list bad request response has a 4xx status code
func (*ContractDeleteListBadRequest) IsCode ¶
func (o *ContractDeleteListBadRequest) IsCode(code int) bool
IsCode returns true when this contract delete list bad request response a status code equal to that given
func (*ContractDeleteListBadRequest) IsRedirect ¶
func (o *ContractDeleteListBadRequest) IsRedirect() bool
IsRedirect returns true when this contract delete list bad request response has a 3xx status code
func (*ContractDeleteListBadRequest) IsServerError ¶
func (o *ContractDeleteListBadRequest) IsServerError() bool
IsServerError returns true when this contract delete list bad request response has a 5xx status code
func (*ContractDeleteListBadRequest) IsSuccess ¶
func (o *ContractDeleteListBadRequest) IsSuccess() bool
IsSuccess returns true when this contract delete list bad request response has a 2xx status code
func (*ContractDeleteListBadRequest) String ¶
func (o *ContractDeleteListBadRequest) String() string
type ContractDeleteListInternalServerError ¶
ContractDeleteListInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewContractDeleteListInternalServerError ¶
func NewContractDeleteListInternalServerError() *ContractDeleteListInternalServerError
NewContractDeleteListInternalServerError creates a ContractDeleteListInternalServerError with default headers values
func (*ContractDeleteListInternalServerError) Code ¶
func (o *ContractDeleteListInternalServerError) Code() int
Code gets the status code for the contract delete list internal server error response
func (*ContractDeleteListInternalServerError) Error ¶
func (o *ContractDeleteListInternalServerError) Error() string
func (*ContractDeleteListInternalServerError) GetPayload ¶
func (o *ContractDeleteListInternalServerError) GetPayload() *models.Response
func (*ContractDeleteListInternalServerError) IsClientError ¶
func (o *ContractDeleteListInternalServerError) IsClientError() bool
IsClientError returns true when this contract delete list internal server error response has a 4xx status code
func (*ContractDeleteListInternalServerError) IsCode ¶
func (o *ContractDeleteListInternalServerError) IsCode(code int) bool
IsCode returns true when this contract delete list internal server error response a status code equal to that given
func (*ContractDeleteListInternalServerError) IsRedirect ¶
func (o *ContractDeleteListInternalServerError) IsRedirect() bool
IsRedirect returns true when this contract delete list internal server error response has a 3xx status code
func (*ContractDeleteListInternalServerError) IsServerError ¶
func (o *ContractDeleteListInternalServerError) IsServerError() bool
IsServerError returns true when this contract delete list internal server error response has a 5xx status code
func (*ContractDeleteListInternalServerError) IsSuccess ¶
func (o *ContractDeleteListInternalServerError) IsSuccess() bool
IsSuccess returns true when this contract delete list internal server error response has a 2xx status code
func (*ContractDeleteListInternalServerError) String ¶
func (o *ContractDeleteListInternalServerError) String() string
type ContractDeleteListNotFound ¶
ContractDeleteListNotFound describes a response with status code 404, with default header values.
Not Found
func NewContractDeleteListNotFound ¶
func NewContractDeleteListNotFound() *ContractDeleteListNotFound
NewContractDeleteListNotFound creates a ContractDeleteListNotFound with default headers values
func (*ContractDeleteListNotFound) Code ¶
func (o *ContractDeleteListNotFound) Code() int
Code gets the status code for the contract delete list not found response
func (*ContractDeleteListNotFound) Error ¶
func (o *ContractDeleteListNotFound) Error() string
func (*ContractDeleteListNotFound) GetPayload ¶
func (o *ContractDeleteListNotFound) GetPayload() *models.Response
func (*ContractDeleteListNotFound) IsClientError ¶
func (o *ContractDeleteListNotFound) IsClientError() bool
IsClientError returns true when this contract delete list not found response has a 4xx status code
func (*ContractDeleteListNotFound) IsCode ¶
func (o *ContractDeleteListNotFound) IsCode(code int) bool
IsCode returns true when this contract delete list not found response a status code equal to that given
func (*ContractDeleteListNotFound) IsRedirect ¶
func (o *ContractDeleteListNotFound) IsRedirect() bool
IsRedirect returns true when this contract delete list not found response has a 3xx status code
func (*ContractDeleteListNotFound) IsServerError ¶
func (o *ContractDeleteListNotFound) IsServerError() bool
IsServerError returns true when this contract delete list not found response has a 5xx status code
func (*ContractDeleteListNotFound) IsSuccess ¶
func (o *ContractDeleteListNotFound) IsSuccess() bool
IsSuccess returns true when this contract delete list not found response has a 2xx status code
func (*ContractDeleteListNotFound) String ¶
func (o *ContractDeleteListNotFound) String() string
type ContractDeleteListOK ¶
ContractDeleteListOK describes a response with status code 200, with default header values.
OK
func NewContractDeleteListOK ¶
func NewContractDeleteListOK() *ContractDeleteListOK
NewContractDeleteListOK creates a ContractDeleteListOK with default headers values
func (*ContractDeleteListOK) Code ¶
func (o *ContractDeleteListOK) Code() int
Code gets the status code for the contract delete list o k response
func (*ContractDeleteListOK) Error ¶
func (o *ContractDeleteListOK) Error() string
func (*ContractDeleteListOK) GetPayload ¶
func (o *ContractDeleteListOK) GetPayload() *models.Response
func (*ContractDeleteListOK) IsClientError ¶
func (o *ContractDeleteListOK) IsClientError() bool
IsClientError returns true when this contract delete list o k response has a 4xx status code
func (*ContractDeleteListOK) IsCode ¶
func (o *ContractDeleteListOK) IsCode(code int) bool
IsCode returns true when this contract delete list o k response a status code equal to that given
func (*ContractDeleteListOK) IsRedirect ¶
func (o *ContractDeleteListOK) IsRedirect() bool
IsRedirect returns true when this contract delete list o k response has a 3xx status code
func (*ContractDeleteListOK) IsServerError ¶
func (o *ContractDeleteListOK) IsServerError() bool
IsServerError returns true when this contract delete list o k response has a 5xx status code
func (*ContractDeleteListOK) IsSuccess ¶
func (o *ContractDeleteListOK) IsSuccess() bool
IsSuccess returns true when this contract delete list o k response has a 2xx status code
func (*ContractDeleteListOK) String ¶
func (o *ContractDeleteListOK) String() string
type ContractDeleteListParams ¶
type ContractDeleteListParams struct { /* ID. An array of contract ids. */ ID []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContractDeleteListParams contains all the parameters to send to the API endpoint
for the contract delete list operation. Typically these are written to a http.Request.
func NewContractDeleteListParams ¶
func NewContractDeleteListParams() *ContractDeleteListParams
NewContractDeleteListParams creates a new ContractDeleteListParams 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 NewContractDeleteListParamsWithContext ¶
func NewContractDeleteListParamsWithContext(ctx context.Context) *ContractDeleteListParams
NewContractDeleteListParamsWithContext creates a new ContractDeleteListParams object with the ability to set a context for a request.
func NewContractDeleteListParamsWithHTTPClient ¶
func NewContractDeleteListParamsWithHTTPClient(client *http.Client) *ContractDeleteListParams
NewContractDeleteListParamsWithHTTPClient creates a new ContractDeleteListParams object with the ability to set a custom HTTPClient for a request.
func NewContractDeleteListParamsWithTimeout ¶
func NewContractDeleteListParamsWithTimeout(timeout time.Duration) *ContractDeleteListParams
NewContractDeleteListParamsWithTimeout creates a new ContractDeleteListParams object with the ability to set a timeout on a request.
func (*ContractDeleteListParams) SetContext ¶
func (o *ContractDeleteListParams) SetContext(ctx context.Context)
SetContext adds the context to the contract delete list params
func (*ContractDeleteListParams) SetDefaults ¶
func (o *ContractDeleteListParams) SetDefaults()
SetDefaults hydrates default values in the contract delete list params (not the query body).
All values with no default are reset to their zero value.
func (*ContractDeleteListParams) SetHTTPClient ¶
func (o *ContractDeleteListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the contract delete list params
func (*ContractDeleteListParams) SetID ¶
func (o *ContractDeleteListParams) SetID(id []string)
SetID adds the id to the contract delete list params
func (*ContractDeleteListParams) SetTimeout ¶
func (o *ContractDeleteListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the contract delete list params
func (*ContractDeleteListParams) WithContext ¶
func (o *ContractDeleteListParams) WithContext(ctx context.Context) *ContractDeleteListParams
WithContext adds the context to the contract delete list params
func (*ContractDeleteListParams) WithDefaults ¶
func (o *ContractDeleteListParams) WithDefaults() *ContractDeleteListParams
WithDefaults hydrates default values in the contract delete list params (not the query body).
All values with no default are reset to their zero value.
func (*ContractDeleteListParams) WithHTTPClient ¶
func (o *ContractDeleteListParams) WithHTTPClient(client *http.Client) *ContractDeleteListParams
WithHTTPClient adds the HTTPClient to the contract delete list params
func (*ContractDeleteListParams) WithID ¶
func (o *ContractDeleteListParams) WithID(id []string) *ContractDeleteListParams
WithID adds the id to the contract delete list params
func (*ContractDeleteListParams) WithTimeout ¶
func (o *ContractDeleteListParams) WithTimeout(timeout time.Duration) *ContractDeleteListParams
WithTimeout adds the timeout to the contract delete list params
func (*ContractDeleteListParams) WriteToRequest ¶
func (o *ContractDeleteListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContractDeleteListReader ¶
type ContractDeleteListReader struct {
// contains filtered or unexported fields
}
ContractDeleteListReader is a Reader for the ContractDeleteList structure.
func (*ContractDeleteListReader) ReadResponse ¶
func (o *ContractDeleteListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContractDeleteListUnauthorized ¶
type ContractDeleteListUnauthorized struct {
}ContractDeleteListUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewContractDeleteListUnauthorized ¶
func NewContractDeleteListUnauthorized() *ContractDeleteListUnauthorized
NewContractDeleteListUnauthorized creates a ContractDeleteListUnauthorized with default headers values
func (*ContractDeleteListUnauthorized) Code ¶
func (o *ContractDeleteListUnauthorized) Code() int
Code gets the status code for the contract delete list unauthorized response
func (*ContractDeleteListUnauthorized) Error ¶
func (o *ContractDeleteListUnauthorized) Error() string
func (*ContractDeleteListUnauthorized) GetPayload ¶
func (o *ContractDeleteListUnauthorized) GetPayload() *models.Response
func (*ContractDeleteListUnauthorized) IsClientError ¶
func (o *ContractDeleteListUnauthorized) IsClientError() bool
IsClientError returns true when this contract delete list unauthorized response has a 4xx status code
func (*ContractDeleteListUnauthorized) IsCode ¶
func (o *ContractDeleteListUnauthorized) IsCode(code int) bool
IsCode returns true when this contract delete list unauthorized response a status code equal to that given
func (*ContractDeleteListUnauthorized) IsRedirect ¶
func (o *ContractDeleteListUnauthorized) IsRedirect() bool
IsRedirect returns true when this contract delete list unauthorized response has a 3xx status code
func (*ContractDeleteListUnauthorized) IsServerError ¶
func (o *ContractDeleteListUnauthorized) IsServerError() bool
IsServerError returns true when this contract delete list unauthorized response has a 5xx status code
func (*ContractDeleteListUnauthorized) IsSuccess ¶
func (o *ContractDeleteListUnauthorized) IsSuccess() bool
IsSuccess returns true when this contract delete list unauthorized response has a 2xx status code
func (*ContractDeleteListUnauthorized) String ¶
func (o *ContractDeleteListUnauthorized) String() string
type ContractFindBadRequest ¶
ContractFindBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewContractFindBadRequest ¶
func NewContractFindBadRequest() *ContractFindBadRequest
NewContractFindBadRequest creates a ContractFindBadRequest with default headers values
func (*ContractFindBadRequest) Code ¶
func (o *ContractFindBadRequest) Code() int
Code gets the status code for the contract find bad request response
func (*ContractFindBadRequest) Error ¶
func (o *ContractFindBadRequest) Error() string
func (*ContractFindBadRequest) GetPayload ¶
func (o *ContractFindBadRequest) GetPayload() *models.Response
func (*ContractFindBadRequest) IsClientError ¶
func (o *ContractFindBadRequest) IsClientError() bool
IsClientError returns true when this contract find bad request response has a 4xx status code
func (*ContractFindBadRequest) IsCode ¶
func (o *ContractFindBadRequest) IsCode(code int) bool
IsCode returns true when this contract find bad request response a status code equal to that given
func (*ContractFindBadRequest) IsRedirect ¶
func (o *ContractFindBadRequest) IsRedirect() bool
IsRedirect returns true when this contract find bad request response has a 3xx status code
func (*ContractFindBadRequest) IsServerError ¶
func (o *ContractFindBadRequest) IsServerError() bool
IsServerError returns true when this contract find bad request response has a 5xx status code
func (*ContractFindBadRequest) IsSuccess ¶
func (o *ContractFindBadRequest) IsSuccess() bool
IsSuccess returns true when this contract find bad request response has a 2xx status code
func (*ContractFindBadRequest) String ¶
func (o *ContractFindBadRequest) String() string
type ContractFindInternalServerError ¶
ContractFindInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewContractFindInternalServerError ¶
func NewContractFindInternalServerError() *ContractFindInternalServerError
NewContractFindInternalServerError creates a ContractFindInternalServerError with default headers values
func (*ContractFindInternalServerError) Code ¶
func (o *ContractFindInternalServerError) Code() int
Code gets the status code for the contract find internal server error response
func (*ContractFindInternalServerError) Error ¶
func (o *ContractFindInternalServerError) Error() string
func (*ContractFindInternalServerError) GetPayload ¶
func (o *ContractFindInternalServerError) GetPayload() *models.Response
func (*ContractFindInternalServerError) IsClientError ¶
func (o *ContractFindInternalServerError) IsClientError() bool
IsClientError returns true when this contract find internal server error response has a 4xx status code
func (*ContractFindInternalServerError) IsCode ¶
func (o *ContractFindInternalServerError) IsCode(code int) bool
IsCode returns true when this contract find internal server error response a status code equal to that given
func (*ContractFindInternalServerError) IsRedirect ¶
func (o *ContractFindInternalServerError) IsRedirect() bool
IsRedirect returns true when this contract find internal server error response has a 3xx status code
func (*ContractFindInternalServerError) IsServerError ¶
func (o *ContractFindInternalServerError) IsServerError() bool
IsServerError returns true when this contract find internal server error response has a 5xx status code
func (*ContractFindInternalServerError) IsSuccess ¶
func (o *ContractFindInternalServerError) IsSuccess() bool
IsSuccess returns true when this contract find internal server error response has a 2xx status code
func (*ContractFindInternalServerError) String ¶
func (o *ContractFindInternalServerError) String() string
type ContractFindOK ¶
type ContractFindOK struct {
Payload *models.ContractFindResponse
}
ContractFindOK describes a response with status code 200, with default header values.
OK
func NewContractFindOK ¶
func NewContractFindOK() *ContractFindOK
NewContractFindOK creates a ContractFindOK with default headers values
func (*ContractFindOK) Code ¶
func (o *ContractFindOK) Code() int
Code gets the status code for the contract find o k response
func (*ContractFindOK) Error ¶
func (o *ContractFindOK) Error() string
func (*ContractFindOK) GetPayload ¶
func (o *ContractFindOK) GetPayload() *models.ContractFindResponse
func (*ContractFindOK) IsClientError ¶
func (o *ContractFindOK) IsClientError() bool
IsClientError returns true when this contract find o k response has a 4xx status code
func (*ContractFindOK) IsCode ¶
func (o *ContractFindOK) IsCode(code int) bool
IsCode returns true when this contract find o k response a status code equal to that given
func (*ContractFindOK) IsRedirect ¶
func (o *ContractFindOK) IsRedirect() bool
IsRedirect returns true when this contract find o k response has a 3xx status code
func (*ContractFindOK) IsServerError ¶
func (o *ContractFindOK) IsServerError() bool
IsServerError returns true when this contract find o k response has a 5xx status code
func (*ContractFindOK) IsSuccess ¶
func (o *ContractFindOK) IsSuccess() bool
IsSuccess returns true when this contract find o k response has a 2xx status code
func (*ContractFindOK) String ¶
func (o *ContractFindOK) String() string
type ContractFindParams ¶
type ContractFindParams struct { // POPEndDate. POPEndDate *string // POPStartDate. POPStartDate *string // ContractName. ContractName *string /* Keyword. A keyword to be used in the query */ Keyword *string /* SystemID. ID of the system that the contract is associated with */ SystemID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContractFindParams contains all the parameters to send to the API endpoint
for the contract find operation. Typically these are written to a http.Request.
func NewContractFindParams ¶
func NewContractFindParams() *ContractFindParams
NewContractFindParams creates a new ContractFindParams 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 NewContractFindParamsWithContext ¶
func NewContractFindParamsWithContext(ctx context.Context) *ContractFindParams
NewContractFindParamsWithContext creates a new ContractFindParams object with the ability to set a context for a request.
func NewContractFindParamsWithHTTPClient ¶
func NewContractFindParamsWithHTTPClient(client *http.Client) *ContractFindParams
NewContractFindParamsWithHTTPClient creates a new ContractFindParams object with the ability to set a custom HTTPClient for a request.
func NewContractFindParamsWithTimeout ¶
func NewContractFindParamsWithTimeout(timeout time.Duration) *ContractFindParams
NewContractFindParamsWithTimeout creates a new ContractFindParams object with the ability to set a timeout on a request.
func (*ContractFindParams) SetContext ¶
func (o *ContractFindParams) SetContext(ctx context.Context)
SetContext adds the context to the contract find params
func (*ContractFindParams) SetContractName ¶
func (o *ContractFindParams) SetContractName(contractName *string)
SetContractName adds the contractName to the contract find params
func (*ContractFindParams) SetDefaults ¶
func (o *ContractFindParams) SetDefaults()
SetDefaults hydrates default values in the contract find params (not the query body).
All values with no default are reset to their zero value.
func (*ContractFindParams) SetHTTPClient ¶
func (o *ContractFindParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the contract find params
func (*ContractFindParams) SetKeyword ¶
func (o *ContractFindParams) SetKeyword(keyword *string)
SetKeyword adds the keyword to the contract find params
func (*ContractFindParams) SetPOPEndDate ¶
func (o *ContractFindParams) SetPOPEndDate(pOPEndDate *string)
SetPOPEndDate adds the pOPEndDate to the contract find params
func (*ContractFindParams) SetPOPStartDate ¶
func (o *ContractFindParams) SetPOPStartDate(pOPStartDate *string)
SetPOPStartDate adds the pOPStartDate to the contract find params
func (*ContractFindParams) SetSystemID ¶
func (o *ContractFindParams) SetSystemID(systemID *string)
SetSystemID adds the systemId to the contract find params
func (*ContractFindParams) SetTimeout ¶
func (o *ContractFindParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the contract find params
func (*ContractFindParams) WithContext ¶
func (o *ContractFindParams) WithContext(ctx context.Context) *ContractFindParams
WithContext adds the context to the contract find params
func (*ContractFindParams) WithContractName ¶
func (o *ContractFindParams) WithContractName(contractName *string) *ContractFindParams
WithContractName adds the contractName to the contract find params
func (*ContractFindParams) WithDefaults ¶
func (o *ContractFindParams) WithDefaults() *ContractFindParams
WithDefaults hydrates default values in the contract find params (not the query body).
All values with no default are reset to their zero value.
func (*ContractFindParams) WithHTTPClient ¶
func (o *ContractFindParams) WithHTTPClient(client *http.Client) *ContractFindParams
WithHTTPClient adds the HTTPClient to the contract find params
func (*ContractFindParams) WithKeyword ¶
func (o *ContractFindParams) WithKeyword(keyword *string) *ContractFindParams
WithKeyword adds the keyword to the contract find params
func (*ContractFindParams) WithPOPEndDate ¶
func (o *ContractFindParams) WithPOPEndDate(pOPEndDate *string) *ContractFindParams
WithPOPEndDate adds the pOPEndDate to the contract find params
func (*ContractFindParams) WithPOPStartDate ¶
func (o *ContractFindParams) WithPOPStartDate(pOPStartDate *string) *ContractFindParams
WithPOPStartDate adds the pOPStartDate to the contract find params
func (*ContractFindParams) WithSystemID ¶
func (o *ContractFindParams) WithSystemID(systemID *string) *ContractFindParams
WithSystemID adds the systemID to the contract find params
func (*ContractFindParams) WithTimeout ¶
func (o *ContractFindParams) WithTimeout(timeout time.Duration) *ContractFindParams
WithTimeout adds the timeout to the contract find params
func (*ContractFindParams) WriteToRequest ¶
func (o *ContractFindParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContractFindReader ¶
type ContractFindReader struct {
// contains filtered or unexported fields
}
ContractFindReader is a Reader for the ContractFind structure.
func (*ContractFindReader) ReadResponse ¶
func (o *ContractFindReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContractFindUnauthorized ¶
type ContractFindUnauthorized struct {
}ContractFindUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewContractFindUnauthorized ¶
func NewContractFindUnauthorized() *ContractFindUnauthorized
NewContractFindUnauthorized creates a ContractFindUnauthorized with default headers values
func (*ContractFindUnauthorized) Code ¶
func (o *ContractFindUnauthorized) Code() int
Code gets the status code for the contract find unauthorized response
func (*ContractFindUnauthorized) Error ¶
func (o *ContractFindUnauthorized) Error() string
func (*ContractFindUnauthorized) GetPayload ¶
func (o *ContractFindUnauthorized) GetPayload() *models.Response
func (*ContractFindUnauthorized) IsClientError ¶
func (o *ContractFindUnauthorized) IsClientError() bool
IsClientError returns true when this contract find unauthorized response has a 4xx status code
func (*ContractFindUnauthorized) IsCode ¶
func (o *ContractFindUnauthorized) IsCode(code int) bool
IsCode returns true when this contract find unauthorized response a status code equal to that given
func (*ContractFindUnauthorized) IsRedirect ¶
func (o *ContractFindUnauthorized) IsRedirect() bool
IsRedirect returns true when this contract find unauthorized response has a 3xx status code
func (*ContractFindUnauthorized) IsServerError ¶
func (o *ContractFindUnauthorized) IsServerError() bool
IsServerError returns true when this contract find unauthorized response has a 5xx status code
func (*ContractFindUnauthorized) IsSuccess ¶
func (o *ContractFindUnauthorized) IsSuccess() bool
IsSuccess returns true when this contract find unauthorized response has a 2xx status code
func (*ContractFindUnauthorized) String ¶
func (o *ContractFindUnauthorized) String() string
type ContractUpdateBadRequest ¶
ContractUpdateBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewContractUpdateBadRequest ¶
func NewContractUpdateBadRequest() *ContractUpdateBadRequest
NewContractUpdateBadRequest creates a ContractUpdateBadRequest with default headers values
func (*ContractUpdateBadRequest) Code ¶
func (o *ContractUpdateBadRequest) Code() int
Code gets the status code for the contract update bad request response
func (*ContractUpdateBadRequest) Error ¶
func (o *ContractUpdateBadRequest) Error() string
func (*ContractUpdateBadRequest) GetPayload ¶
func (o *ContractUpdateBadRequest) GetPayload() *models.Response
func (*ContractUpdateBadRequest) IsClientError ¶
func (o *ContractUpdateBadRequest) IsClientError() bool
IsClientError returns true when this contract update bad request response has a 4xx status code
func (*ContractUpdateBadRequest) IsCode ¶
func (o *ContractUpdateBadRequest) IsCode(code int) bool
IsCode returns true when this contract update bad request response a status code equal to that given
func (*ContractUpdateBadRequest) IsRedirect ¶
func (o *ContractUpdateBadRequest) IsRedirect() bool
IsRedirect returns true when this contract update bad request response has a 3xx status code
func (*ContractUpdateBadRequest) IsServerError ¶
func (o *ContractUpdateBadRequest) IsServerError() bool
IsServerError returns true when this contract update bad request response has a 5xx status code
func (*ContractUpdateBadRequest) IsSuccess ¶
func (o *ContractUpdateBadRequest) IsSuccess() bool
IsSuccess returns true when this contract update bad request response has a 2xx status code
func (*ContractUpdateBadRequest) String ¶
func (o *ContractUpdateBadRequest) String() string
type ContractUpdateInternalServerError ¶
ContractUpdateInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewContractUpdateInternalServerError ¶
func NewContractUpdateInternalServerError() *ContractUpdateInternalServerError
NewContractUpdateInternalServerError creates a ContractUpdateInternalServerError with default headers values
func (*ContractUpdateInternalServerError) Code ¶
func (o *ContractUpdateInternalServerError) Code() int
Code gets the status code for the contract update internal server error response
func (*ContractUpdateInternalServerError) Error ¶
func (o *ContractUpdateInternalServerError) Error() string
func (*ContractUpdateInternalServerError) GetPayload ¶
func (o *ContractUpdateInternalServerError) GetPayload() *models.Response
func (*ContractUpdateInternalServerError) IsClientError ¶
func (o *ContractUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this contract update internal server error response has a 4xx status code
func (*ContractUpdateInternalServerError) IsCode ¶
func (o *ContractUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this contract update internal server error response a status code equal to that given
func (*ContractUpdateInternalServerError) IsRedirect ¶
func (o *ContractUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this contract update internal server error response has a 3xx status code
func (*ContractUpdateInternalServerError) IsServerError ¶
func (o *ContractUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this contract update internal server error response has a 5xx status code
func (*ContractUpdateInternalServerError) IsSuccess ¶
func (o *ContractUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this contract update internal server error response has a 2xx status code
func (*ContractUpdateInternalServerError) String ¶
func (o *ContractUpdateInternalServerError) String() string
type ContractUpdateOK ¶
ContractUpdateOK describes a response with status code 200, with default header values.
OK
func NewContractUpdateOK ¶
func NewContractUpdateOK() *ContractUpdateOK
NewContractUpdateOK creates a ContractUpdateOK with default headers values
func (*ContractUpdateOK) Code ¶
func (o *ContractUpdateOK) Code() int
Code gets the status code for the contract update o k response
func (*ContractUpdateOK) Error ¶
func (o *ContractUpdateOK) Error() string
func (*ContractUpdateOK) GetPayload ¶
func (o *ContractUpdateOK) GetPayload() *models.Response
func (*ContractUpdateOK) IsClientError ¶
func (o *ContractUpdateOK) IsClientError() bool
IsClientError returns true when this contract update o k response has a 4xx status code
func (*ContractUpdateOK) IsCode ¶
func (o *ContractUpdateOK) IsCode(code int) bool
IsCode returns true when this contract update o k response a status code equal to that given
func (*ContractUpdateOK) IsRedirect ¶
func (o *ContractUpdateOK) IsRedirect() bool
IsRedirect returns true when this contract update o k response has a 3xx status code
func (*ContractUpdateOK) IsServerError ¶
func (o *ContractUpdateOK) IsServerError() bool
IsServerError returns true when this contract update o k response has a 5xx status code
func (*ContractUpdateOK) IsSuccess ¶
func (o *ContractUpdateOK) IsSuccess() bool
IsSuccess returns true when this contract update o k response has a 2xx status code
func (*ContractUpdateOK) String ¶
func (o *ContractUpdateOK) String() string
type ContractUpdateParams ¶
type ContractUpdateParams struct { /* Body. An array of contracts to be updated in Alfabet. */ Body *models.ContractUpdateRequest /* BudgetsOnly. Whether only the budgets portion of the contract should be updated or if set to false, the Contract Deliverable records will also be updated. */ BudgetsOnly *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ContractUpdateParams contains all the parameters to send to the API endpoint
for the contract update operation. Typically these are written to a http.Request.
func NewContractUpdateParams ¶
func NewContractUpdateParams() *ContractUpdateParams
NewContractUpdateParams creates a new ContractUpdateParams 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 NewContractUpdateParamsWithContext ¶
func NewContractUpdateParamsWithContext(ctx context.Context) *ContractUpdateParams
NewContractUpdateParamsWithContext creates a new ContractUpdateParams object with the ability to set a context for a request.
func NewContractUpdateParamsWithHTTPClient ¶
func NewContractUpdateParamsWithHTTPClient(client *http.Client) *ContractUpdateParams
NewContractUpdateParamsWithHTTPClient creates a new ContractUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewContractUpdateParamsWithTimeout ¶
func NewContractUpdateParamsWithTimeout(timeout time.Duration) *ContractUpdateParams
NewContractUpdateParamsWithTimeout creates a new ContractUpdateParams object with the ability to set a timeout on a request.
func (*ContractUpdateParams) SetBody ¶
func (o *ContractUpdateParams) SetBody(body *models.ContractUpdateRequest)
SetBody adds the body to the contract update params
func (*ContractUpdateParams) SetBudgetsOnly ¶
func (o *ContractUpdateParams) SetBudgetsOnly(budgetsOnly *bool)
SetBudgetsOnly adds the budgetsOnly to the contract update params
func (*ContractUpdateParams) SetContext ¶
func (o *ContractUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the contract update params
func (*ContractUpdateParams) SetDefaults ¶
func (o *ContractUpdateParams) SetDefaults()
SetDefaults hydrates default values in the contract update params (not the query body).
All values with no default are reset to their zero value.
func (*ContractUpdateParams) SetHTTPClient ¶
func (o *ContractUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the contract update params
func (*ContractUpdateParams) SetTimeout ¶
func (o *ContractUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the contract update params
func (*ContractUpdateParams) WithBody ¶
func (o *ContractUpdateParams) WithBody(body *models.ContractUpdateRequest) *ContractUpdateParams
WithBody adds the body to the contract update params
func (*ContractUpdateParams) WithBudgetsOnly ¶
func (o *ContractUpdateParams) WithBudgetsOnly(budgetsOnly *bool) *ContractUpdateParams
WithBudgetsOnly adds the budgetsOnly to the contract update params
func (*ContractUpdateParams) WithContext ¶
func (o *ContractUpdateParams) WithContext(ctx context.Context) *ContractUpdateParams
WithContext adds the context to the contract update params
func (*ContractUpdateParams) WithDefaults ¶
func (o *ContractUpdateParams) WithDefaults() *ContractUpdateParams
WithDefaults hydrates default values in the contract update params (not the query body).
All values with no default are reset to their zero value.
func (*ContractUpdateParams) WithHTTPClient ¶
func (o *ContractUpdateParams) WithHTTPClient(client *http.Client) *ContractUpdateParams
WithHTTPClient adds the HTTPClient to the contract update params
func (*ContractUpdateParams) WithTimeout ¶
func (o *ContractUpdateParams) WithTimeout(timeout time.Duration) *ContractUpdateParams
WithTimeout adds the timeout to the contract update params
func (*ContractUpdateParams) WriteToRequest ¶
func (o *ContractUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ContractUpdateReader ¶
type ContractUpdateReader struct {
// contains filtered or unexported fields
}
ContractUpdateReader is a Reader for the ContractUpdate structure.
func (*ContractUpdateReader) ReadResponse ¶
func (o *ContractUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ContractUpdateUnauthorized ¶
type ContractUpdateUnauthorized struct {
}ContractUpdateUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewContractUpdateUnauthorized ¶
func NewContractUpdateUnauthorized() *ContractUpdateUnauthorized
NewContractUpdateUnauthorized creates a ContractUpdateUnauthorized with default headers values
func (*ContractUpdateUnauthorized) Code ¶
func (o *ContractUpdateUnauthorized) Code() int
Code gets the status code for the contract update unauthorized response
func (*ContractUpdateUnauthorized) Error ¶
func (o *ContractUpdateUnauthorized) Error() string
func (*ContractUpdateUnauthorized) GetPayload ¶
func (o *ContractUpdateUnauthorized) GetPayload() *models.Response
func (*ContractUpdateUnauthorized) IsClientError ¶
func (o *ContractUpdateUnauthorized) IsClientError() bool
IsClientError returns true when this contract update unauthorized response has a 4xx status code
func (*ContractUpdateUnauthorized) IsCode ¶
func (o *ContractUpdateUnauthorized) IsCode(code int) bool
IsCode returns true when this contract update unauthorized response a status code equal to that given
func (*ContractUpdateUnauthorized) IsRedirect ¶
func (o *ContractUpdateUnauthorized) IsRedirect() bool
IsRedirect returns true when this contract update unauthorized response has a 3xx status code
func (*ContractUpdateUnauthorized) IsServerError ¶
func (o *ContractUpdateUnauthorized) IsServerError() bool
IsServerError returns true when this contract update unauthorized response has a 5xx status code
func (*ContractUpdateUnauthorized) IsSuccess ¶
func (o *ContractUpdateUnauthorized) IsSuccess() bool
IsSuccess returns true when this contract update unauthorized response has a 2xx status code
func (*ContractUpdateUnauthorized) String ¶
func (o *ContractUpdateUnauthorized) String() string