Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type UpdateMTOServiceItemStatusBadRequest
- func (o *UpdateMTOServiceItemStatusBadRequest) Code() int
- func (o *UpdateMTOServiceItemStatusBadRequest) Error() string
- func (o *UpdateMTOServiceItemStatusBadRequest) GetPayload() *supportmessages.ClientError
- func (o *UpdateMTOServiceItemStatusBadRequest) IsClientError() bool
- func (o *UpdateMTOServiceItemStatusBadRequest) IsCode(code int) bool
- func (o *UpdateMTOServiceItemStatusBadRequest) IsRedirect() bool
- func (o *UpdateMTOServiceItemStatusBadRequest) IsServerError() bool
- func (o *UpdateMTOServiceItemStatusBadRequest) IsSuccess() bool
- func (o *UpdateMTOServiceItemStatusBadRequest) String() string
- type UpdateMTOServiceItemStatusConflict
- func (o *UpdateMTOServiceItemStatusConflict) Code() int
- func (o *UpdateMTOServiceItemStatusConflict) Error() string
- func (o *UpdateMTOServiceItemStatusConflict) GetPayload() *supportmessages.ClientError
- func (o *UpdateMTOServiceItemStatusConflict) IsClientError() bool
- func (o *UpdateMTOServiceItemStatusConflict) IsCode(code int) bool
- func (o *UpdateMTOServiceItemStatusConflict) IsRedirect() bool
- func (o *UpdateMTOServiceItemStatusConflict) IsServerError() bool
- func (o *UpdateMTOServiceItemStatusConflict) IsSuccess() bool
- func (o *UpdateMTOServiceItemStatusConflict) String() string
- type UpdateMTOServiceItemStatusForbidden
- func (o *UpdateMTOServiceItemStatusForbidden) Code() int
- func (o *UpdateMTOServiceItemStatusForbidden) Error() string
- func (o *UpdateMTOServiceItemStatusForbidden) GetPayload() *supportmessages.ClientError
- func (o *UpdateMTOServiceItemStatusForbidden) IsClientError() bool
- func (o *UpdateMTOServiceItemStatusForbidden) IsCode(code int) bool
- func (o *UpdateMTOServiceItemStatusForbidden) IsRedirect() bool
- func (o *UpdateMTOServiceItemStatusForbidden) IsServerError() bool
- func (o *UpdateMTOServiceItemStatusForbidden) IsSuccess() bool
- func (o *UpdateMTOServiceItemStatusForbidden) String() string
- type UpdateMTOServiceItemStatusInternalServerError
- func (o *UpdateMTOServiceItemStatusInternalServerError) Code() int
- func (o *UpdateMTOServiceItemStatusInternalServerError) Error() string
- func (o *UpdateMTOServiceItemStatusInternalServerError) GetPayload() *supportmessages.Error
- func (o *UpdateMTOServiceItemStatusInternalServerError) IsClientError() bool
- func (o *UpdateMTOServiceItemStatusInternalServerError) IsCode(code int) bool
- func (o *UpdateMTOServiceItemStatusInternalServerError) IsRedirect() bool
- func (o *UpdateMTOServiceItemStatusInternalServerError) IsServerError() bool
- func (o *UpdateMTOServiceItemStatusInternalServerError) IsSuccess() bool
- func (o *UpdateMTOServiceItemStatusInternalServerError) String() string
- type UpdateMTOServiceItemStatusNotFound
- func (o *UpdateMTOServiceItemStatusNotFound) Code() int
- func (o *UpdateMTOServiceItemStatusNotFound) Error() string
- func (o *UpdateMTOServiceItemStatusNotFound) GetPayload() *supportmessages.ClientError
- func (o *UpdateMTOServiceItemStatusNotFound) IsClientError() bool
- func (o *UpdateMTOServiceItemStatusNotFound) IsCode(code int) bool
- func (o *UpdateMTOServiceItemStatusNotFound) IsRedirect() bool
- func (o *UpdateMTOServiceItemStatusNotFound) IsServerError() bool
- func (o *UpdateMTOServiceItemStatusNotFound) IsSuccess() bool
- func (o *UpdateMTOServiceItemStatusNotFound) String() string
- type UpdateMTOServiceItemStatusOK
- func (o *UpdateMTOServiceItemStatusOK) Code() int
- func (o *UpdateMTOServiceItemStatusOK) Error() string
- func (o *UpdateMTOServiceItemStatusOK) GetPayload() supportmessages.MTOServiceItem
- func (o *UpdateMTOServiceItemStatusOK) IsClientError() bool
- func (o *UpdateMTOServiceItemStatusOK) IsCode(code int) bool
- func (o *UpdateMTOServiceItemStatusOK) IsRedirect() bool
- func (o *UpdateMTOServiceItemStatusOK) IsServerError() bool
- func (o *UpdateMTOServiceItemStatusOK) IsSuccess() bool
- func (o *UpdateMTOServiceItemStatusOK) String() string
- type UpdateMTOServiceItemStatusParams
- func NewUpdateMTOServiceItemStatusParams() *UpdateMTOServiceItemStatusParams
- func NewUpdateMTOServiceItemStatusParamsWithContext(ctx context.Context) *UpdateMTOServiceItemStatusParams
- func NewUpdateMTOServiceItemStatusParamsWithHTTPClient(client *http.Client) *UpdateMTOServiceItemStatusParams
- func NewUpdateMTOServiceItemStatusParamsWithTimeout(timeout time.Duration) *UpdateMTOServiceItemStatusParams
- func (o *UpdateMTOServiceItemStatusParams) SetBody(body *supportmessages.UpdateMTOServiceItemStatus)
- func (o *UpdateMTOServiceItemStatusParams) SetContext(ctx context.Context)
- func (o *UpdateMTOServiceItemStatusParams) SetDefaults()
- func (o *UpdateMTOServiceItemStatusParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMTOServiceItemStatusParams) SetIfMatch(ifMatch string)
- func (o *UpdateMTOServiceItemStatusParams) SetMtoServiceItemID(mtoServiceItemID string)
- func (o *UpdateMTOServiceItemStatusParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMTOServiceItemStatusParams) WithBody(body *supportmessages.UpdateMTOServiceItemStatus) *UpdateMTOServiceItemStatusParams
- func (o *UpdateMTOServiceItemStatusParams) WithContext(ctx context.Context) *UpdateMTOServiceItemStatusParams
- func (o *UpdateMTOServiceItemStatusParams) WithDefaults() *UpdateMTOServiceItemStatusParams
- func (o *UpdateMTOServiceItemStatusParams) WithHTTPClient(client *http.Client) *UpdateMTOServiceItemStatusParams
- func (o *UpdateMTOServiceItemStatusParams) WithIfMatch(ifMatch string) *UpdateMTOServiceItemStatusParams
- func (o *UpdateMTOServiceItemStatusParams) WithMtoServiceItemID(mtoServiceItemID string) *UpdateMTOServiceItemStatusParams
- func (o *UpdateMTOServiceItemStatusParams) WithTimeout(timeout time.Duration) *UpdateMTOServiceItemStatusParams
- func (o *UpdateMTOServiceItemStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMTOServiceItemStatusPreconditionFailed
- func (o *UpdateMTOServiceItemStatusPreconditionFailed) Code() int
- func (o *UpdateMTOServiceItemStatusPreconditionFailed) Error() string
- func (o *UpdateMTOServiceItemStatusPreconditionFailed) GetPayload() *supportmessages.ClientError
- func (o *UpdateMTOServiceItemStatusPreconditionFailed) IsClientError() bool
- func (o *UpdateMTOServiceItemStatusPreconditionFailed) IsCode(code int) bool
- func (o *UpdateMTOServiceItemStatusPreconditionFailed) IsRedirect() bool
- func (o *UpdateMTOServiceItemStatusPreconditionFailed) IsServerError() bool
- func (o *UpdateMTOServiceItemStatusPreconditionFailed) IsSuccess() bool
- func (o *UpdateMTOServiceItemStatusPreconditionFailed) String() string
- type UpdateMTOServiceItemStatusReader
- type UpdateMTOServiceItemStatusUnauthorized
- func (o *UpdateMTOServiceItemStatusUnauthorized) Code() int
- func (o *UpdateMTOServiceItemStatusUnauthorized) Error() string
- func (o *UpdateMTOServiceItemStatusUnauthorized) GetPayload() *supportmessages.ClientError
- func (o *UpdateMTOServiceItemStatusUnauthorized) IsClientError() bool
- func (o *UpdateMTOServiceItemStatusUnauthorized) IsCode(code int) bool
- func (o *UpdateMTOServiceItemStatusUnauthorized) IsRedirect() bool
- func (o *UpdateMTOServiceItemStatusUnauthorized) IsServerError() bool
- func (o *UpdateMTOServiceItemStatusUnauthorized) IsSuccess() bool
- func (o *UpdateMTOServiceItemStatusUnauthorized) String() string
- type UpdateMTOServiceItemStatusUnprocessableEntity
- func (o *UpdateMTOServiceItemStatusUnprocessableEntity) Code() int
- func (o *UpdateMTOServiceItemStatusUnprocessableEntity) Error() string
- func (o *UpdateMTOServiceItemStatusUnprocessableEntity) GetPayload() *supportmessages.ValidationError
- func (o *UpdateMTOServiceItemStatusUnprocessableEntity) IsClientError() bool
- func (o *UpdateMTOServiceItemStatusUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateMTOServiceItemStatusUnprocessableEntity) IsRedirect() bool
- func (o *UpdateMTOServiceItemStatusUnprocessableEntity) IsServerError() bool
- func (o *UpdateMTOServiceItemStatusUnprocessableEntity) IsSuccess() bool
- func (o *UpdateMTOServiceItemStatusUnprocessableEntity) 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 mto service item API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateMTOServiceItemStatus ¶
func (a *Client) UpdateMTOServiceItemStatus(params *UpdateMTOServiceItemStatusParams, opts ...ClientOption) (*UpdateMTOServiceItemStatusOK, error)
UpdateMTOServiceItemStatus updates m t o service item status Updates the status of a service item for a move to APPROVED or REJECTED. <br />
<br /> This is a support endpoint and will not be available in production.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { UpdateMTOServiceItemStatus(params *UpdateMTOServiceItemStatusParams, opts ...ClientOption) (*UpdateMTOServiceItemStatusOK, 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 mto service item API client.
type UpdateMTOServiceItemStatusBadRequest ¶
type UpdateMTOServiceItemStatusBadRequest struct {
Payload *supportmessages.ClientError
}
UpdateMTOServiceItemStatusBadRequest describes a response with status code 400, with default header values.
The request payload is invalid.
func NewUpdateMTOServiceItemStatusBadRequest ¶
func NewUpdateMTOServiceItemStatusBadRequest() *UpdateMTOServiceItemStatusBadRequest
NewUpdateMTOServiceItemStatusBadRequest creates a UpdateMTOServiceItemStatusBadRequest with default headers values
func (*UpdateMTOServiceItemStatusBadRequest) Code ¶
func (o *UpdateMTOServiceItemStatusBadRequest) Code() int
Code gets the status code for the update m t o service item status bad request response
func (*UpdateMTOServiceItemStatusBadRequest) Error ¶
func (o *UpdateMTOServiceItemStatusBadRequest) Error() string
func (*UpdateMTOServiceItemStatusBadRequest) GetPayload ¶
func (o *UpdateMTOServiceItemStatusBadRequest) GetPayload() *supportmessages.ClientError
func (*UpdateMTOServiceItemStatusBadRequest) IsClientError ¶
func (o *UpdateMTOServiceItemStatusBadRequest) IsClientError() bool
IsClientError returns true when this update m t o service item status bad request response has a 4xx status code
func (*UpdateMTOServiceItemStatusBadRequest) IsCode ¶
func (o *UpdateMTOServiceItemStatusBadRequest) IsCode(code int) bool
IsCode returns true when this update m t o service item status bad request response a status code equal to that given
func (*UpdateMTOServiceItemStatusBadRequest) IsRedirect ¶
func (o *UpdateMTOServiceItemStatusBadRequest) IsRedirect() bool
IsRedirect returns true when this update m t o service item status bad request response has a 3xx status code
func (*UpdateMTOServiceItemStatusBadRequest) IsServerError ¶
func (o *UpdateMTOServiceItemStatusBadRequest) IsServerError() bool
IsServerError returns true when this update m t o service item status bad request response has a 5xx status code
func (*UpdateMTOServiceItemStatusBadRequest) IsSuccess ¶
func (o *UpdateMTOServiceItemStatusBadRequest) IsSuccess() bool
IsSuccess returns true when this update m t o service item status bad request response has a 2xx status code
func (*UpdateMTOServiceItemStatusBadRequest) String ¶
func (o *UpdateMTOServiceItemStatusBadRequest) String() string
type UpdateMTOServiceItemStatusConflict ¶
type UpdateMTOServiceItemStatusConflict struct {
Payload *supportmessages.ClientError
}
UpdateMTOServiceItemStatusConflict describes a response with status code 409, with default header values.
There was a conflict with the request.
func NewUpdateMTOServiceItemStatusConflict ¶
func NewUpdateMTOServiceItemStatusConflict() *UpdateMTOServiceItemStatusConflict
NewUpdateMTOServiceItemStatusConflict creates a UpdateMTOServiceItemStatusConflict with default headers values
func (*UpdateMTOServiceItemStatusConflict) Code ¶
func (o *UpdateMTOServiceItemStatusConflict) Code() int
Code gets the status code for the update m t o service item status conflict response
func (*UpdateMTOServiceItemStatusConflict) Error ¶
func (o *UpdateMTOServiceItemStatusConflict) Error() string
func (*UpdateMTOServiceItemStatusConflict) GetPayload ¶
func (o *UpdateMTOServiceItemStatusConflict) GetPayload() *supportmessages.ClientError
func (*UpdateMTOServiceItemStatusConflict) IsClientError ¶
func (o *UpdateMTOServiceItemStatusConflict) IsClientError() bool
IsClientError returns true when this update m t o service item status conflict response has a 4xx status code
func (*UpdateMTOServiceItemStatusConflict) IsCode ¶
func (o *UpdateMTOServiceItemStatusConflict) IsCode(code int) bool
IsCode returns true when this update m t o service item status conflict response a status code equal to that given
func (*UpdateMTOServiceItemStatusConflict) IsRedirect ¶
func (o *UpdateMTOServiceItemStatusConflict) IsRedirect() bool
IsRedirect returns true when this update m t o service item status conflict response has a 3xx status code
func (*UpdateMTOServiceItemStatusConflict) IsServerError ¶
func (o *UpdateMTOServiceItemStatusConflict) IsServerError() bool
IsServerError returns true when this update m t o service item status conflict response has a 5xx status code
func (*UpdateMTOServiceItemStatusConflict) IsSuccess ¶
func (o *UpdateMTOServiceItemStatusConflict) IsSuccess() bool
IsSuccess returns true when this update m t o service item status conflict response has a 2xx status code
func (*UpdateMTOServiceItemStatusConflict) String ¶
func (o *UpdateMTOServiceItemStatusConflict) String() string
type UpdateMTOServiceItemStatusForbidden ¶
type UpdateMTOServiceItemStatusForbidden struct {
Payload *supportmessages.ClientError
}
UpdateMTOServiceItemStatusForbidden describes a response with status code 403, with default header values.
The request was denied.
func NewUpdateMTOServiceItemStatusForbidden ¶
func NewUpdateMTOServiceItemStatusForbidden() *UpdateMTOServiceItemStatusForbidden
NewUpdateMTOServiceItemStatusForbidden creates a UpdateMTOServiceItemStatusForbidden with default headers values
func (*UpdateMTOServiceItemStatusForbidden) Code ¶
func (o *UpdateMTOServiceItemStatusForbidden) Code() int
Code gets the status code for the update m t o service item status forbidden response
func (*UpdateMTOServiceItemStatusForbidden) Error ¶
func (o *UpdateMTOServiceItemStatusForbidden) Error() string
func (*UpdateMTOServiceItemStatusForbidden) GetPayload ¶
func (o *UpdateMTOServiceItemStatusForbidden) GetPayload() *supportmessages.ClientError
func (*UpdateMTOServiceItemStatusForbidden) IsClientError ¶
func (o *UpdateMTOServiceItemStatusForbidden) IsClientError() bool
IsClientError returns true when this update m t o service item status forbidden response has a 4xx status code
func (*UpdateMTOServiceItemStatusForbidden) IsCode ¶
func (o *UpdateMTOServiceItemStatusForbidden) IsCode(code int) bool
IsCode returns true when this update m t o service item status forbidden response a status code equal to that given
func (*UpdateMTOServiceItemStatusForbidden) IsRedirect ¶
func (o *UpdateMTOServiceItemStatusForbidden) IsRedirect() bool
IsRedirect returns true when this update m t o service item status forbidden response has a 3xx status code
func (*UpdateMTOServiceItemStatusForbidden) IsServerError ¶
func (o *UpdateMTOServiceItemStatusForbidden) IsServerError() bool
IsServerError returns true when this update m t o service item status forbidden response has a 5xx status code
func (*UpdateMTOServiceItemStatusForbidden) IsSuccess ¶
func (o *UpdateMTOServiceItemStatusForbidden) IsSuccess() bool
IsSuccess returns true when this update m t o service item status forbidden response has a 2xx status code
func (*UpdateMTOServiceItemStatusForbidden) String ¶
func (o *UpdateMTOServiceItemStatusForbidden) String() string
type UpdateMTOServiceItemStatusInternalServerError ¶
type UpdateMTOServiceItemStatusInternalServerError struct {
Payload *supportmessages.Error
}
UpdateMTOServiceItemStatusInternalServerError describes a response with status code 500, with default header values.
A server error occurred.
func NewUpdateMTOServiceItemStatusInternalServerError ¶
func NewUpdateMTOServiceItemStatusInternalServerError() *UpdateMTOServiceItemStatusInternalServerError
NewUpdateMTOServiceItemStatusInternalServerError creates a UpdateMTOServiceItemStatusInternalServerError with default headers values
func (*UpdateMTOServiceItemStatusInternalServerError) Code ¶
func (o *UpdateMTOServiceItemStatusInternalServerError) Code() int
Code gets the status code for the update m t o service item status internal server error response
func (*UpdateMTOServiceItemStatusInternalServerError) Error ¶
func (o *UpdateMTOServiceItemStatusInternalServerError) Error() string
func (*UpdateMTOServiceItemStatusInternalServerError) GetPayload ¶
func (o *UpdateMTOServiceItemStatusInternalServerError) GetPayload() *supportmessages.Error
func (*UpdateMTOServiceItemStatusInternalServerError) IsClientError ¶
func (o *UpdateMTOServiceItemStatusInternalServerError) IsClientError() bool
IsClientError returns true when this update m t o service item status internal server error response has a 4xx status code
func (*UpdateMTOServiceItemStatusInternalServerError) IsCode ¶
func (o *UpdateMTOServiceItemStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this update m t o service item status internal server error response a status code equal to that given
func (*UpdateMTOServiceItemStatusInternalServerError) IsRedirect ¶
func (o *UpdateMTOServiceItemStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this update m t o service item status internal server error response has a 3xx status code
func (*UpdateMTOServiceItemStatusInternalServerError) IsServerError ¶
func (o *UpdateMTOServiceItemStatusInternalServerError) IsServerError() bool
IsServerError returns true when this update m t o service item status internal server error response has a 5xx status code
func (*UpdateMTOServiceItemStatusInternalServerError) IsSuccess ¶
func (o *UpdateMTOServiceItemStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this update m t o service item status internal server error response has a 2xx status code
func (*UpdateMTOServiceItemStatusInternalServerError) String ¶
func (o *UpdateMTOServiceItemStatusInternalServerError) String() string
type UpdateMTOServiceItemStatusNotFound ¶
type UpdateMTOServiceItemStatusNotFound struct {
Payload *supportmessages.ClientError
}
UpdateMTOServiceItemStatusNotFound describes a response with status code 404, with default header values.
The requested resource wasn't found.
func NewUpdateMTOServiceItemStatusNotFound ¶
func NewUpdateMTOServiceItemStatusNotFound() *UpdateMTOServiceItemStatusNotFound
NewUpdateMTOServiceItemStatusNotFound creates a UpdateMTOServiceItemStatusNotFound with default headers values
func (*UpdateMTOServiceItemStatusNotFound) Code ¶
func (o *UpdateMTOServiceItemStatusNotFound) Code() int
Code gets the status code for the update m t o service item status not found response
func (*UpdateMTOServiceItemStatusNotFound) Error ¶
func (o *UpdateMTOServiceItemStatusNotFound) Error() string
func (*UpdateMTOServiceItemStatusNotFound) GetPayload ¶
func (o *UpdateMTOServiceItemStatusNotFound) GetPayload() *supportmessages.ClientError
func (*UpdateMTOServiceItemStatusNotFound) IsClientError ¶
func (o *UpdateMTOServiceItemStatusNotFound) IsClientError() bool
IsClientError returns true when this update m t o service item status not found response has a 4xx status code
func (*UpdateMTOServiceItemStatusNotFound) IsCode ¶
func (o *UpdateMTOServiceItemStatusNotFound) IsCode(code int) bool
IsCode returns true when this update m t o service item status not found response a status code equal to that given
func (*UpdateMTOServiceItemStatusNotFound) IsRedirect ¶
func (o *UpdateMTOServiceItemStatusNotFound) IsRedirect() bool
IsRedirect returns true when this update m t o service item status not found response has a 3xx status code
func (*UpdateMTOServiceItemStatusNotFound) IsServerError ¶
func (o *UpdateMTOServiceItemStatusNotFound) IsServerError() bool
IsServerError returns true when this update m t o service item status not found response has a 5xx status code
func (*UpdateMTOServiceItemStatusNotFound) IsSuccess ¶
func (o *UpdateMTOServiceItemStatusNotFound) IsSuccess() bool
IsSuccess returns true when this update m t o service item status not found response has a 2xx status code
func (*UpdateMTOServiceItemStatusNotFound) String ¶
func (o *UpdateMTOServiceItemStatusNotFound) String() string
type UpdateMTOServiceItemStatusOK ¶
type UpdateMTOServiceItemStatusOK struct {
Payload supportmessages.MTOServiceItem
}
UpdateMTOServiceItemStatusOK describes a response with status code 200, with default header values.
Successfully updated service item status for a move task order.
func NewUpdateMTOServiceItemStatusOK ¶
func NewUpdateMTOServiceItemStatusOK() *UpdateMTOServiceItemStatusOK
NewUpdateMTOServiceItemStatusOK creates a UpdateMTOServiceItemStatusOK with default headers values
func (*UpdateMTOServiceItemStatusOK) Code ¶
func (o *UpdateMTOServiceItemStatusOK) Code() int
Code gets the status code for the update m t o service item status o k response
func (*UpdateMTOServiceItemStatusOK) Error ¶
func (o *UpdateMTOServiceItemStatusOK) Error() string
func (*UpdateMTOServiceItemStatusOK) GetPayload ¶
func (o *UpdateMTOServiceItemStatusOK) GetPayload() supportmessages.MTOServiceItem
func (*UpdateMTOServiceItemStatusOK) IsClientError ¶
func (o *UpdateMTOServiceItemStatusOK) IsClientError() bool
IsClientError returns true when this update m t o service item status o k response has a 4xx status code
func (*UpdateMTOServiceItemStatusOK) IsCode ¶
func (o *UpdateMTOServiceItemStatusOK) IsCode(code int) bool
IsCode returns true when this update m t o service item status o k response a status code equal to that given
func (*UpdateMTOServiceItemStatusOK) IsRedirect ¶
func (o *UpdateMTOServiceItemStatusOK) IsRedirect() bool
IsRedirect returns true when this update m t o service item status o k response has a 3xx status code
func (*UpdateMTOServiceItemStatusOK) IsServerError ¶
func (o *UpdateMTOServiceItemStatusOK) IsServerError() bool
IsServerError returns true when this update m t o service item status o k response has a 5xx status code
func (*UpdateMTOServiceItemStatusOK) IsSuccess ¶
func (o *UpdateMTOServiceItemStatusOK) IsSuccess() bool
IsSuccess returns true when this update m t o service item status o k response has a 2xx status code
func (*UpdateMTOServiceItemStatusOK) String ¶
func (o *UpdateMTOServiceItemStatusOK) String() string
type UpdateMTOServiceItemStatusParams ¶
type UpdateMTOServiceItemStatusParams struct { /* IfMatch. Optimistic locking is implemented via the `If-Match` header. If the ETag header does not match the value of the resource on the server, the server rejects the change with a `412 Precondition Failed` error. */ IfMatch string // Body. Body *supportmessages.UpdateMTOServiceItemStatus /* MtoServiceItemID. UUID of mto service item to use. */ MtoServiceItemID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateMTOServiceItemStatusParams contains all the parameters to send to the API endpoint
for the update m t o service item status operation. Typically these are written to a http.Request.
func NewUpdateMTOServiceItemStatusParams ¶
func NewUpdateMTOServiceItemStatusParams() *UpdateMTOServiceItemStatusParams
NewUpdateMTOServiceItemStatusParams creates a new UpdateMTOServiceItemStatusParams 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 NewUpdateMTOServiceItemStatusParamsWithContext ¶
func NewUpdateMTOServiceItemStatusParamsWithContext(ctx context.Context) *UpdateMTOServiceItemStatusParams
NewUpdateMTOServiceItemStatusParamsWithContext creates a new UpdateMTOServiceItemStatusParams object with the ability to set a context for a request.
func NewUpdateMTOServiceItemStatusParamsWithHTTPClient ¶
func NewUpdateMTOServiceItemStatusParamsWithHTTPClient(client *http.Client) *UpdateMTOServiceItemStatusParams
NewUpdateMTOServiceItemStatusParamsWithHTTPClient creates a new UpdateMTOServiceItemStatusParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateMTOServiceItemStatusParamsWithTimeout ¶
func NewUpdateMTOServiceItemStatusParamsWithTimeout(timeout time.Duration) *UpdateMTOServiceItemStatusParams
NewUpdateMTOServiceItemStatusParamsWithTimeout creates a new UpdateMTOServiceItemStatusParams object with the ability to set a timeout on a request.
func (*UpdateMTOServiceItemStatusParams) SetBody ¶
func (o *UpdateMTOServiceItemStatusParams) SetBody(body *supportmessages.UpdateMTOServiceItemStatus)
SetBody adds the body to the update m t o service item status params
func (*UpdateMTOServiceItemStatusParams) SetContext ¶
func (o *UpdateMTOServiceItemStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the update m t o service item status params
func (*UpdateMTOServiceItemStatusParams) SetDefaults ¶
func (o *UpdateMTOServiceItemStatusParams) SetDefaults()
SetDefaults hydrates default values in the update m t o service item status params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateMTOServiceItemStatusParams) SetHTTPClient ¶
func (o *UpdateMTOServiceItemStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update m t o service item status params
func (*UpdateMTOServiceItemStatusParams) SetIfMatch ¶
func (o *UpdateMTOServiceItemStatusParams) SetIfMatch(ifMatch string)
SetIfMatch adds the ifMatch to the update m t o service item status params
func (*UpdateMTOServiceItemStatusParams) SetMtoServiceItemID ¶
func (o *UpdateMTOServiceItemStatusParams) SetMtoServiceItemID(mtoServiceItemID string)
SetMtoServiceItemID adds the mtoServiceItemId to the update m t o service item status params
func (*UpdateMTOServiceItemStatusParams) SetTimeout ¶
func (o *UpdateMTOServiceItemStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update m t o service item status params
func (*UpdateMTOServiceItemStatusParams) WithBody ¶
func (o *UpdateMTOServiceItemStatusParams) WithBody(body *supportmessages.UpdateMTOServiceItemStatus) *UpdateMTOServiceItemStatusParams
WithBody adds the body to the update m t o service item status params
func (*UpdateMTOServiceItemStatusParams) WithContext ¶
func (o *UpdateMTOServiceItemStatusParams) WithContext(ctx context.Context) *UpdateMTOServiceItemStatusParams
WithContext adds the context to the update m t o service item status params
func (*UpdateMTOServiceItemStatusParams) WithDefaults ¶
func (o *UpdateMTOServiceItemStatusParams) WithDefaults() *UpdateMTOServiceItemStatusParams
WithDefaults hydrates default values in the update m t o service item status params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateMTOServiceItemStatusParams) WithHTTPClient ¶
func (o *UpdateMTOServiceItemStatusParams) WithHTTPClient(client *http.Client) *UpdateMTOServiceItemStatusParams
WithHTTPClient adds the HTTPClient to the update m t o service item status params
func (*UpdateMTOServiceItemStatusParams) WithIfMatch ¶
func (o *UpdateMTOServiceItemStatusParams) WithIfMatch(ifMatch string) *UpdateMTOServiceItemStatusParams
WithIfMatch adds the ifMatch to the update m t o service item status params
func (*UpdateMTOServiceItemStatusParams) WithMtoServiceItemID ¶
func (o *UpdateMTOServiceItemStatusParams) WithMtoServiceItemID(mtoServiceItemID string) *UpdateMTOServiceItemStatusParams
WithMtoServiceItemID adds the mtoServiceItemID to the update m t o service item status params
func (*UpdateMTOServiceItemStatusParams) WithTimeout ¶
func (o *UpdateMTOServiceItemStatusParams) WithTimeout(timeout time.Duration) *UpdateMTOServiceItemStatusParams
WithTimeout adds the timeout to the update m t o service item status params
func (*UpdateMTOServiceItemStatusParams) WriteToRequest ¶
func (o *UpdateMTOServiceItemStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateMTOServiceItemStatusPreconditionFailed ¶
type UpdateMTOServiceItemStatusPreconditionFailed struct {
Payload *supportmessages.ClientError
}
UpdateMTOServiceItemStatusPreconditionFailed describes a response with status code 412, with default header values.
Precondition failed, likely due to a stale eTag (If-Match). Fetch the request again to get the updated eTag value.
func NewUpdateMTOServiceItemStatusPreconditionFailed ¶
func NewUpdateMTOServiceItemStatusPreconditionFailed() *UpdateMTOServiceItemStatusPreconditionFailed
NewUpdateMTOServiceItemStatusPreconditionFailed creates a UpdateMTOServiceItemStatusPreconditionFailed with default headers values
func (*UpdateMTOServiceItemStatusPreconditionFailed) Code ¶
func (o *UpdateMTOServiceItemStatusPreconditionFailed) Code() int
Code gets the status code for the update m t o service item status precondition failed response
func (*UpdateMTOServiceItemStatusPreconditionFailed) Error ¶
func (o *UpdateMTOServiceItemStatusPreconditionFailed) Error() string
func (*UpdateMTOServiceItemStatusPreconditionFailed) GetPayload ¶
func (o *UpdateMTOServiceItemStatusPreconditionFailed) GetPayload() *supportmessages.ClientError
func (*UpdateMTOServiceItemStatusPreconditionFailed) IsClientError ¶
func (o *UpdateMTOServiceItemStatusPreconditionFailed) IsClientError() bool
IsClientError returns true when this update m t o service item status precondition failed response has a 4xx status code
func (*UpdateMTOServiceItemStatusPreconditionFailed) IsCode ¶
func (o *UpdateMTOServiceItemStatusPreconditionFailed) IsCode(code int) bool
IsCode returns true when this update m t o service item status precondition failed response a status code equal to that given
func (*UpdateMTOServiceItemStatusPreconditionFailed) IsRedirect ¶
func (o *UpdateMTOServiceItemStatusPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this update m t o service item status precondition failed response has a 3xx status code
func (*UpdateMTOServiceItemStatusPreconditionFailed) IsServerError ¶
func (o *UpdateMTOServiceItemStatusPreconditionFailed) IsServerError() bool
IsServerError returns true when this update m t o service item status precondition failed response has a 5xx status code
func (*UpdateMTOServiceItemStatusPreconditionFailed) IsSuccess ¶
func (o *UpdateMTOServiceItemStatusPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this update m t o service item status precondition failed response has a 2xx status code
func (*UpdateMTOServiceItemStatusPreconditionFailed) String ¶
func (o *UpdateMTOServiceItemStatusPreconditionFailed) String() string
type UpdateMTOServiceItemStatusReader ¶
type UpdateMTOServiceItemStatusReader struct {
// contains filtered or unexported fields
}
UpdateMTOServiceItemStatusReader is a Reader for the UpdateMTOServiceItemStatus structure.
func (*UpdateMTOServiceItemStatusReader) ReadResponse ¶
func (o *UpdateMTOServiceItemStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateMTOServiceItemStatusUnauthorized ¶
type UpdateMTOServiceItemStatusUnauthorized struct {
}UpdateMTOServiceItemStatusUnauthorized describes a response with status code 401, with default header values.
The request was denied.
func NewUpdateMTOServiceItemStatusUnauthorized ¶
func NewUpdateMTOServiceItemStatusUnauthorized() *UpdateMTOServiceItemStatusUnauthorized
NewUpdateMTOServiceItemStatusUnauthorized creates a UpdateMTOServiceItemStatusUnauthorized with default headers values
func (*UpdateMTOServiceItemStatusUnauthorized) Code ¶
func (o *UpdateMTOServiceItemStatusUnauthorized) Code() int
Code gets the status code for the update m t o service item status unauthorized response
func (*UpdateMTOServiceItemStatusUnauthorized) Error ¶
func (o *UpdateMTOServiceItemStatusUnauthorized) Error() string
func (*UpdateMTOServiceItemStatusUnauthorized) GetPayload ¶
func (o *UpdateMTOServiceItemStatusUnauthorized) GetPayload() *supportmessages.ClientError
func (*UpdateMTOServiceItemStatusUnauthorized) IsClientError ¶
func (o *UpdateMTOServiceItemStatusUnauthorized) IsClientError() bool
IsClientError returns true when this update m t o service item status unauthorized response has a 4xx status code
func (*UpdateMTOServiceItemStatusUnauthorized) IsCode ¶
func (o *UpdateMTOServiceItemStatusUnauthorized) IsCode(code int) bool
IsCode returns true when this update m t o service item status unauthorized response a status code equal to that given
func (*UpdateMTOServiceItemStatusUnauthorized) IsRedirect ¶
func (o *UpdateMTOServiceItemStatusUnauthorized) IsRedirect() bool
IsRedirect returns true when this update m t o service item status unauthorized response has a 3xx status code
func (*UpdateMTOServiceItemStatusUnauthorized) IsServerError ¶
func (o *UpdateMTOServiceItemStatusUnauthorized) IsServerError() bool
IsServerError returns true when this update m t o service item status unauthorized response has a 5xx status code
func (*UpdateMTOServiceItemStatusUnauthorized) IsSuccess ¶
func (o *UpdateMTOServiceItemStatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this update m t o service item status unauthorized response has a 2xx status code
func (*UpdateMTOServiceItemStatusUnauthorized) String ¶
func (o *UpdateMTOServiceItemStatusUnauthorized) String() string
type UpdateMTOServiceItemStatusUnprocessableEntity ¶
type UpdateMTOServiceItemStatusUnprocessableEntity struct {
Payload *supportmessages.ValidationError
}
UpdateMTOServiceItemStatusUnprocessableEntity describes a response with status code 422, with default header values.
The payload was unprocessable.
func NewUpdateMTOServiceItemStatusUnprocessableEntity ¶
func NewUpdateMTOServiceItemStatusUnprocessableEntity() *UpdateMTOServiceItemStatusUnprocessableEntity
NewUpdateMTOServiceItemStatusUnprocessableEntity creates a UpdateMTOServiceItemStatusUnprocessableEntity with default headers values
func (*UpdateMTOServiceItemStatusUnprocessableEntity) Code ¶
func (o *UpdateMTOServiceItemStatusUnprocessableEntity) Code() int
Code gets the status code for the update m t o service item status unprocessable entity response
func (*UpdateMTOServiceItemStatusUnprocessableEntity) Error ¶
func (o *UpdateMTOServiceItemStatusUnprocessableEntity) Error() string
func (*UpdateMTOServiceItemStatusUnprocessableEntity) GetPayload ¶
func (o *UpdateMTOServiceItemStatusUnprocessableEntity) GetPayload() *supportmessages.ValidationError
func (*UpdateMTOServiceItemStatusUnprocessableEntity) IsClientError ¶
func (o *UpdateMTOServiceItemStatusUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update m t o service item status unprocessable entity response has a 4xx status code
func (*UpdateMTOServiceItemStatusUnprocessableEntity) IsCode ¶
func (o *UpdateMTOServiceItemStatusUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update m t o service item status unprocessable entity response a status code equal to that given
func (*UpdateMTOServiceItemStatusUnprocessableEntity) IsRedirect ¶
func (o *UpdateMTOServiceItemStatusUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update m t o service item status unprocessable entity response has a 3xx status code
func (*UpdateMTOServiceItemStatusUnprocessableEntity) IsServerError ¶
func (o *UpdateMTOServiceItemStatusUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update m t o service item status unprocessable entity response has a 5xx status code
func (*UpdateMTOServiceItemStatusUnprocessableEntity) IsSuccess ¶
func (o *UpdateMTOServiceItemStatusUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update m t o service item status unprocessable entity response has a 2xx status code
func (*UpdateMTOServiceItemStatusUnprocessableEntity) String ¶
func (o *UpdateMTOServiceItemStatusUnprocessableEntity) String() string