move_task_order

package
v0.0.0-...-c407d37 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for move task order API

func (*Client) CreateMoveTaskOrder

func (a *Client) CreateMoveTaskOrder(params *CreateMoveTaskOrderParams, opts ...ClientOption) (*CreateMoveTaskOrderCreated, error)
CreateMoveTaskOrder creates move task order

Creates an instance of moveTaskOrder.

Currently this will also create a number of nested objects but not all. It will currently create * MoveTaskOrder * Order * Customer * User * Entitlement

It will not create addresses, duty stations, shipments, payment requests or service items. It requires an existing contractor ID, destination duty station ID, origin duty station ID, and an uploaded orders ID to be passed into the request.

This is a support endpoint and will not be available in production.

func (*Client) GetMoveTaskOrder

func (a *Client) GetMoveTaskOrder(params *GetMoveTaskOrderParams, opts ...ClientOption) (*GetMoveTaskOrderOK, error)
GetMoveTaskOrder gets move task order

### Functionality

This endpoint gets an individual MoveTaskOrder by ID.

It will provide nested information about the Customer and any associated MTOShipments, MTOServiceItems and PaymentRequests.

This is a support endpoint and is not available in production.

func (*Client) HideNonFakeMoveTaskOrders

func (a *Client) HideNonFakeMoveTaskOrders(params *HideNonFakeMoveTaskOrdersParams, opts ...ClientOption) (*HideNonFakeMoveTaskOrdersOK, error)
HideNonFakeMoveTaskOrders hides non fake move task orders

Updates move task order without fake user data `show` to false. No request body required. <br />

<br /> This is a support endpoint and will not be available in production.

func (*Client) ListMTOs

func (a *Client) ListMTOs(params *ListMTOsParams, opts ...ClientOption) (*ListMTOsOK, error)
ListMTOs lists m t os

### Functionality

This endpoint lists all MoveTaskOrders regardless of whether or not they have been made available to Prime.

It will provide nested information about the Customer and any associated MTOShipments, MTOServiceItems and PaymentRequests.

func (*Client) MakeMoveTaskOrderAvailable

func (a *Client) MakeMoveTaskOrderAvailable(params *MakeMoveTaskOrderAvailableParams, opts ...ClientOption) (*MakeMoveTaskOrderAvailableOK, error)
MakeMoveTaskOrderAvailable makes move task order available

Updates move task order `availableToPrimeAt` to make it available to prime. No request body required. <br />

<br /> This is a support endpoint and will not be available in production.

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 {
	CreateMoveTaskOrder(params *CreateMoveTaskOrderParams, opts ...ClientOption) (*CreateMoveTaskOrderCreated, error)

	GetMoveTaskOrder(params *GetMoveTaskOrderParams, opts ...ClientOption) (*GetMoveTaskOrderOK, error)

	HideNonFakeMoveTaskOrders(params *HideNonFakeMoveTaskOrdersParams, opts ...ClientOption) (*HideNonFakeMoveTaskOrdersOK, error)

	ListMTOs(params *ListMTOsParams, opts ...ClientOption) (*ListMTOsOK, error)

	MakeMoveTaskOrderAvailable(params *MakeMoveTaskOrderAvailableParams, opts ...ClientOption) (*MakeMoveTaskOrderAvailableOK, 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 move task order API client.

type CreateMoveTaskOrderBadRequest

type CreateMoveTaskOrderBadRequest struct {
	Payload *supportmessages.ClientError
}

CreateMoveTaskOrderBadRequest describes a response with status code 400, with default header values.

The request payload is invalid.

func NewCreateMoveTaskOrderBadRequest

func NewCreateMoveTaskOrderBadRequest() *CreateMoveTaskOrderBadRequest

NewCreateMoveTaskOrderBadRequest creates a CreateMoveTaskOrderBadRequest with default headers values

func (*CreateMoveTaskOrderBadRequest) Code

Code gets the status code for the create move task order bad request response

func (*CreateMoveTaskOrderBadRequest) Error

func (*CreateMoveTaskOrderBadRequest) GetPayload

func (*CreateMoveTaskOrderBadRequest) IsClientError

func (o *CreateMoveTaskOrderBadRequest) IsClientError() bool

IsClientError returns true when this create move task order bad request response has a 4xx status code

func (*CreateMoveTaskOrderBadRequest) IsCode

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

IsCode returns true when this create move task order bad request response a status code equal to that given

func (*CreateMoveTaskOrderBadRequest) IsRedirect

func (o *CreateMoveTaskOrderBadRequest) IsRedirect() bool

IsRedirect returns true when this create move task order bad request response has a 3xx status code

func (*CreateMoveTaskOrderBadRequest) IsServerError

func (o *CreateMoveTaskOrderBadRequest) IsServerError() bool

IsServerError returns true when this create move task order bad request response has a 5xx status code

func (*CreateMoveTaskOrderBadRequest) IsSuccess

func (o *CreateMoveTaskOrderBadRequest) IsSuccess() bool

IsSuccess returns true when this create move task order bad request response has a 2xx status code

func (*CreateMoveTaskOrderBadRequest) String

type CreateMoveTaskOrderCreated

type CreateMoveTaskOrderCreated struct {
	Payload *supportmessages.MoveTaskOrder
}

CreateMoveTaskOrderCreated describes a response with status code 201, with default header values.

Successfully created MoveTaskOrder object.

func NewCreateMoveTaskOrderCreated

func NewCreateMoveTaskOrderCreated() *CreateMoveTaskOrderCreated

NewCreateMoveTaskOrderCreated creates a CreateMoveTaskOrderCreated with default headers values

func (*CreateMoveTaskOrderCreated) Code

func (o *CreateMoveTaskOrderCreated) Code() int

Code gets the status code for the create move task order created response

func (*CreateMoveTaskOrderCreated) Error

func (*CreateMoveTaskOrderCreated) GetPayload

func (*CreateMoveTaskOrderCreated) IsClientError

func (o *CreateMoveTaskOrderCreated) IsClientError() bool

IsClientError returns true when this create move task order created response has a 4xx status code

func (*CreateMoveTaskOrderCreated) IsCode

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

IsCode returns true when this create move task order created response a status code equal to that given

func (*CreateMoveTaskOrderCreated) IsRedirect

func (o *CreateMoveTaskOrderCreated) IsRedirect() bool

IsRedirect returns true when this create move task order created response has a 3xx status code

func (*CreateMoveTaskOrderCreated) IsServerError

func (o *CreateMoveTaskOrderCreated) IsServerError() bool

IsServerError returns true when this create move task order created response has a 5xx status code

func (*CreateMoveTaskOrderCreated) IsSuccess

func (o *CreateMoveTaskOrderCreated) IsSuccess() bool

IsSuccess returns true when this create move task order created response has a 2xx status code

func (*CreateMoveTaskOrderCreated) String

func (o *CreateMoveTaskOrderCreated) String() string

type CreateMoveTaskOrderForbidden

type CreateMoveTaskOrderForbidden struct {
	Payload *supportmessages.ClientError
}

CreateMoveTaskOrderForbidden describes a response with status code 403, with default header values.

The request was denied.

func NewCreateMoveTaskOrderForbidden

func NewCreateMoveTaskOrderForbidden() *CreateMoveTaskOrderForbidden

NewCreateMoveTaskOrderForbidden creates a CreateMoveTaskOrderForbidden with default headers values

func (*CreateMoveTaskOrderForbidden) Code

Code gets the status code for the create move task order forbidden response

func (*CreateMoveTaskOrderForbidden) Error

func (*CreateMoveTaskOrderForbidden) GetPayload

func (*CreateMoveTaskOrderForbidden) IsClientError

func (o *CreateMoveTaskOrderForbidden) IsClientError() bool

IsClientError returns true when this create move task order forbidden response has a 4xx status code

func (*CreateMoveTaskOrderForbidden) IsCode

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

IsCode returns true when this create move task order forbidden response a status code equal to that given

func (*CreateMoveTaskOrderForbidden) IsRedirect

func (o *CreateMoveTaskOrderForbidden) IsRedirect() bool

IsRedirect returns true when this create move task order forbidden response has a 3xx status code

func (*CreateMoveTaskOrderForbidden) IsServerError

func (o *CreateMoveTaskOrderForbidden) IsServerError() bool

IsServerError returns true when this create move task order forbidden response has a 5xx status code

func (*CreateMoveTaskOrderForbidden) IsSuccess

func (o *CreateMoveTaskOrderForbidden) IsSuccess() bool

IsSuccess returns true when this create move task order forbidden response has a 2xx status code

func (*CreateMoveTaskOrderForbidden) String

type CreateMoveTaskOrderInternalServerError

type CreateMoveTaskOrderInternalServerError struct {
	Payload *supportmessages.Error
}

CreateMoveTaskOrderInternalServerError describes a response with status code 500, with default header values.

A server error occurred.

func NewCreateMoveTaskOrderInternalServerError

func NewCreateMoveTaskOrderInternalServerError() *CreateMoveTaskOrderInternalServerError

NewCreateMoveTaskOrderInternalServerError creates a CreateMoveTaskOrderInternalServerError with default headers values

func (*CreateMoveTaskOrderInternalServerError) Code

Code gets the status code for the create move task order internal server error response

func (*CreateMoveTaskOrderInternalServerError) Error

func (*CreateMoveTaskOrderInternalServerError) GetPayload

func (*CreateMoveTaskOrderInternalServerError) IsClientError

func (o *CreateMoveTaskOrderInternalServerError) IsClientError() bool

IsClientError returns true when this create move task order internal server error response has a 4xx status code

func (*CreateMoveTaskOrderInternalServerError) IsCode

IsCode returns true when this create move task order internal server error response a status code equal to that given

func (*CreateMoveTaskOrderInternalServerError) IsRedirect

IsRedirect returns true when this create move task order internal server error response has a 3xx status code

func (*CreateMoveTaskOrderInternalServerError) IsServerError

func (o *CreateMoveTaskOrderInternalServerError) IsServerError() bool

IsServerError returns true when this create move task order internal server error response has a 5xx status code

func (*CreateMoveTaskOrderInternalServerError) IsSuccess

IsSuccess returns true when this create move task order internal server error response has a 2xx status code

func (*CreateMoveTaskOrderInternalServerError) String

type CreateMoveTaskOrderNotFound

type CreateMoveTaskOrderNotFound struct {
	Payload *supportmessages.ClientError
}

CreateMoveTaskOrderNotFound describes a response with status code 404, with default header values.

The requested resource wasn't found.

func NewCreateMoveTaskOrderNotFound

func NewCreateMoveTaskOrderNotFound() *CreateMoveTaskOrderNotFound

NewCreateMoveTaskOrderNotFound creates a CreateMoveTaskOrderNotFound with default headers values

func (*CreateMoveTaskOrderNotFound) Code

func (o *CreateMoveTaskOrderNotFound) Code() int

Code gets the status code for the create move task order not found response

func (*CreateMoveTaskOrderNotFound) Error

func (*CreateMoveTaskOrderNotFound) GetPayload

func (*CreateMoveTaskOrderNotFound) IsClientError

func (o *CreateMoveTaskOrderNotFound) IsClientError() bool

IsClientError returns true when this create move task order not found response has a 4xx status code

func (*CreateMoveTaskOrderNotFound) IsCode

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

IsCode returns true when this create move task order not found response a status code equal to that given

func (*CreateMoveTaskOrderNotFound) IsRedirect

func (o *CreateMoveTaskOrderNotFound) IsRedirect() bool

IsRedirect returns true when this create move task order not found response has a 3xx status code

func (*CreateMoveTaskOrderNotFound) IsServerError

func (o *CreateMoveTaskOrderNotFound) IsServerError() bool

IsServerError returns true when this create move task order not found response has a 5xx status code

func (*CreateMoveTaskOrderNotFound) IsSuccess

func (o *CreateMoveTaskOrderNotFound) IsSuccess() bool

IsSuccess returns true when this create move task order not found response has a 2xx status code

func (*CreateMoveTaskOrderNotFound) String

func (o *CreateMoveTaskOrderNotFound) String() string

type CreateMoveTaskOrderParams

type CreateMoveTaskOrderParams struct {

	// Body.
	Body *supportmessages.MoveTaskOrder

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

CreateMoveTaskOrderParams contains all the parameters to send to the API endpoint

for the create move task order operation.

Typically these are written to a http.Request.

func NewCreateMoveTaskOrderParams

func NewCreateMoveTaskOrderParams() *CreateMoveTaskOrderParams

NewCreateMoveTaskOrderParams creates a new CreateMoveTaskOrderParams 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 NewCreateMoveTaskOrderParamsWithContext

func NewCreateMoveTaskOrderParamsWithContext(ctx context.Context) *CreateMoveTaskOrderParams

NewCreateMoveTaskOrderParamsWithContext creates a new CreateMoveTaskOrderParams object with the ability to set a context for a request.

func NewCreateMoveTaskOrderParamsWithHTTPClient

func NewCreateMoveTaskOrderParamsWithHTTPClient(client *http.Client) *CreateMoveTaskOrderParams

NewCreateMoveTaskOrderParamsWithHTTPClient creates a new CreateMoveTaskOrderParams object with the ability to set a custom HTTPClient for a request.

func NewCreateMoveTaskOrderParamsWithTimeout

func NewCreateMoveTaskOrderParamsWithTimeout(timeout time.Duration) *CreateMoveTaskOrderParams

NewCreateMoveTaskOrderParamsWithTimeout creates a new CreateMoveTaskOrderParams object with the ability to set a timeout on a request.

func (*CreateMoveTaskOrderParams) SetBody

SetBody adds the body to the create move task order params

func (*CreateMoveTaskOrderParams) SetContext

func (o *CreateMoveTaskOrderParams) SetContext(ctx context.Context)

SetContext adds the context to the create move task order params

func (*CreateMoveTaskOrderParams) SetDefaults

func (o *CreateMoveTaskOrderParams) SetDefaults()

SetDefaults hydrates default values in the create move task order params (not the query body).

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

func (*CreateMoveTaskOrderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create move task order params

func (*CreateMoveTaskOrderParams) SetTimeout

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

SetTimeout adds the timeout to the create move task order params

func (*CreateMoveTaskOrderParams) WithBody

WithBody adds the body to the create move task order params

func (*CreateMoveTaskOrderParams) WithContext

WithContext adds the context to the create move task order params

func (*CreateMoveTaskOrderParams) WithDefaults

WithDefaults hydrates default values in the create move task order params (not the query body).

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

func (*CreateMoveTaskOrderParams) WithHTTPClient

func (o *CreateMoveTaskOrderParams) WithHTTPClient(client *http.Client) *CreateMoveTaskOrderParams

WithHTTPClient adds the HTTPClient to the create move task order params

func (*CreateMoveTaskOrderParams) WithTimeout

WithTimeout adds the timeout to the create move task order params

func (*CreateMoveTaskOrderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateMoveTaskOrderReader

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

CreateMoveTaskOrderReader is a Reader for the CreateMoveTaskOrder structure.

func (*CreateMoveTaskOrderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateMoveTaskOrderUnauthorized

type CreateMoveTaskOrderUnauthorized struct {
	Payload *supportmessages.ClientError
}

CreateMoveTaskOrderUnauthorized describes a response with status code 401, with default header values.

The request was denied.

func NewCreateMoveTaskOrderUnauthorized

func NewCreateMoveTaskOrderUnauthorized() *CreateMoveTaskOrderUnauthorized

NewCreateMoveTaskOrderUnauthorized creates a CreateMoveTaskOrderUnauthorized with default headers values

func (*CreateMoveTaskOrderUnauthorized) Code

Code gets the status code for the create move task order unauthorized response

func (*CreateMoveTaskOrderUnauthorized) Error

func (*CreateMoveTaskOrderUnauthorized) GetPayload

func (*CreateMoveTaskOrderUnauthorized) IsClientError

func (o *CreateMoveTaskOrderUnauthorized) IsClientError() bool

IsClientError returns true when this create move task order unauthorized response has a 4xx status code

func (*CreateMoveTaskOrderUnauthorized) IsCode

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

IsCode returns true when this create move task order unauthorized response a status code equal to that given

func (*CreateMoveTaskOrderUnauthorized) IsRedirect

func (o *CreateMoveTaskOrderUnauthorized) IsRedirect() bool

IsRedirect returns true when this create move task order unauthorized response has a 3xx status code

func (*CreateMoveTaskOrderUnauthorized) IsServerError

func (o *CreateMoveTaskOrderUnauthorized) IsServerError() bool

IsServerError returns true when this create move task order unauthorized response has a 5xx status code

func (*CreateMoveTaskOrderUnauthorized) IsSuccess

func (o *CreateMoveTaskOrderUnauthorized) IsSuccess() bool

IsSuccess returns true when this create move task order unauthorized response has a 2xx status code

func (*CreateMoveTaskOrderUnauthorized) String

type CreateMoveTaskOrderUnprocessableEntity

type CreateMoveTaskOrderUnprocessableEntity struct {
	Payload *supportmessages.ValidationError
}

CreateMoveTaskOrderUnprocessableEntity describes a response with status code 422, with default header values.

The payload was unprocessable.

func NewCreateMoveTaskOrderUnprocessableEntity

func NewCreateMoveTaskOrderUnprocessableEntity() *CreateMoveTaskOrderUnprocessableEntity

NewCreateMoveTaskOrderUnprocessableEntity creates a CreateMoveTaskOrderUnprocessableEntity with default headers values

func (*CreateMoveTaskOrderUnprocessableEntity) Code

Code gets the status code for the create move task order unprocessable entity response

func (*CreateMoveTaskOrderUnprocessableEntity) Error

func (*CreateMoveTaskOrderUnprocessableEntity) GetPayload

func (*CreateMoveTaskOrderUnprocessableEntity) IsClientError

func (o *CreateMoveTaskOrderUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create move task order unprocessable entity response has a 4xx status code

func (*CreateMoveTaskOrderUnprocessableEntity) IsCode

IsCode returns true when this create move task order unprocessable entity response a status code equal to that given

func (*CreateMoveTaskOrderUnprocessableEntity) IsRedirect

IsRedirect returns true when this create move task order unprocessable entity response has a 3xx status code

func (*CreateMoveTaskOrderUnprocessableEntity) IsServerError

func (o *CreateMoveTaskOrderUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create move task order unprocessable entity response has a 5xx status code

func (*CreateMoveTaskOrderUnprocessableEntity) IsSuccess

IsSuccess returns true when this create move task order unprocessable entity response has a 2xx status code

func (*CreateMoveTaskOrderUnprocessableEntity) String

type GetMoveTaskOrderForbidden

type GetMoveTaskOrderForbidden struct {
	Payload *supportmessages.ClientError
}

GetMoveTaskOrderForbidden describes a response with status code 403, with default header values.

The request was denied.

func NewGetMoveTaskOrderForbidden

func NewGetMoveTaskOrderForbidden() *GetMoveTaskOrderForbidden

NewGetMoveTaskOrderForbidden creates a GetMoveTaskOrderForbidden with default headers values

func (*GetMoveTaskOrderForbidden) Code

func (o *GetMoveTaskOrderForbidden) Code() int

Code gets the status code for the get move task order forbidden response

func (*GetMoveTaskOrderForbidden) Error

func (o *GetMoveTaskOrderForbidden) Error() string

func (*GetMoveTaskOrderForbidden) GetPayload

func (*GetMoveTaskOrderForbidden) IsClientError

func (o *GetMoveTaskOrderForbidden) IsClientError() bool

IsClientError returns true when this get move task order forbidden response has a 4xx status code

func (*GetMoveTaskOrderForbidden) IsCode

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

IsCode returns true when this get move task order forbidden response a status code equal to that given

func (*GetMoveTaskOrderForbidden) IsRedirect

func (o *GetMoveTaskOrderForbidden) IsRedirect() bool

IsRedirect returns true when this get move task order forbidden response has a 3xx status code

func (*GetMoveTaskOrderForbidden) IsServerError

func (o *GetMoveTaskOrderForbidden) IsServerError() bool

IsServerError returns true when this get move task order forbidden response has a 5xx status code

func (*GetMoveTaskOrderForbidden) IsSuccess

func (o *GetMoveTaskOrderForbidden) IsSuccess() bool

IsSuccess returns true when this get move task order forbidden response has a 2xx status code

func (*GetMoveTaskOrderForbidden) String

func (o *GetMoveTaskOrderForbidden) String() string

type GetMoveTaskOrderInternalServerError

type GetMoveTaskOrderInternalServerError struct {
	Payload *supportmessages.Error
}

GetMoveTaskOrderInternalServerError describes a response with status code 500, with default header values.

A server error occurred.

func NewGetMoveTaskOrderInternalServerError

func NewGetMoveTaskOrderInternalServerError() *GetMoveTaskOrderInternalServerError

NewGetMoveTaskOrderInternalServerError creates a GetMoveTaskOrderInternalServerError with default headers values

func (*GetMoveTaskOrderInternalServerError) Code

Code gets the status code for the get move task order internal server error response

func (*GetMoveTaskOrderInternalServerError) Error

func (*GetMoveTaskOrderInternalServerError) GetPayload

func (*GetMoveTaskOrderInternalServerError) IsClientError

func (o *GetMoveTaskOrderInternalServerError) IsClientError() bool

IsClientError returns true when this get move task order internal server error response has a 4xx status code

func (*GetMoveTaskOrderInternalServerError) IsCode

IsCode returns true when this get move task order internal server error response a status code equal to that given

func (*GetMoveTaskOrderInternalServerError) IsRedirect

func (o *GetMoveTaskOrderInternalServerError) IsRedirect() bool

IsRedirect returns true when this get move task order internal server error response has a 3xx status code

func (*GetMoveTaskOrderInternalServerError) IsServerError

func (o *GetMoveTaskOrderInternalServerError) IsServerError() bool

IsServerError returns true when this get move task order internal server error response has a 5xx status code

func (*GetMoveTaskOrderInternalServerError) IsSuccess

IsSuccess returns true when this get move task order internal server error response has a 2xx status code

func (*GetMoveTaskOrderInternalServerError) String

type GetMoveTaskOrderNotFound

type GetMoveTaskOrderNotFound struct {
	Payload *supportmessages.ClientError
}

GetMoveTaskOrderNotFound describes a response with status code 404, with default header values.

The requested resource wasn't found.

func NewGetMoveTaskOrderNotFound

func NewGetMoveTaskOrderNotFound() *GetMoveTaskOrderNotFound

NewGetMoveTaskOrderNotFound creates a GetMoveTaskOrderNotFound with default headers values

func (*GetMoveTaskOrderNotFound) Code

func (o *GetMoveTaskOrderNotFound) Code() int

Code gets the status code for the get move task order not found response

func (*GetMoveTaskOrderNotFound) Error

func (o *GetMoveTaskOrderNotFound) Error() string

func (*GetMoveTaskOrderNotFound) GetPayload

func (*GetMoveTaskOrderNotFound) IsClientError

func (o *GetMoveTaskOrderNotFound) IsClientError() bool

IsClientError returns true when this get move task order not found response has a 4xx status code

func (*GetMoveTaskOrderNotFound) IsCode

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

IsCode returns true when this get move task order not found response a status code equal to that given

func (*GetMoveTaskOrderNotFound) IsRedirect

func (o *GetMoveTaskOrderNotFound) IsRedirect() bool

IsRedirect returns true when this get move task order not found response has a 3xx status code

func (*GetMoveTaskOrderNotFound) IsServerError

func (o *GetMoveTaskOrderNotFound) IsServerError() bool

IsServerError returns true when this get move task order not found response has a 5xx status code

func (*GetMoveTaskOrderNotFound) IsSuccess

func (o *GetMoveTaskOrderNotFound) IsSuccess() bool

IsSuccess returns true when this get move task order not found response has a 2xx status code

func (*GetMoveTaskOrderNotFound) String

func (o *GetMoveTaskOrderNotFound) String() string

type GetMoveTaskOrderOK

type GetMoveTaskOrderOK struct {
	Payload *supportmessages.MoveTaskOrder
}

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

Successfully retrieve an individual move task order.

func NewGetMoveTaskOrderOK

func NewGetMoveTaskOrderOK() *GetMoveTaskOrderOK

NewGetMoveTaskOrderOK creates a GetMoveTaskOrderOK with default headers values

func (*GetMoveTaskOrderOK) Code

func (o *GetMoveTaskOrderOK) Code() int

Code gets the status code for the get move task order o k response

func (*GetMoveTaskOrderOK) Error

func (o *GetMoveTaskOrderOK) Error() string

func (*GetMoveTaskOrderOK) GetPayload

func (*GetMoveTaskOrderOK) IsClientError

func (o *GetMoveTaskOrderOK) IsClientError() bool

IsClientError returns true when this get move task order o k response has a 4xx status code

func (*GetMoveTaskOrderOK) IsCode

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

IsCode returns true when this get move task order o k response a status code equal to that given

func (*GetMoveTaskOrderOK) IsRedirect

func (o *GetMoveTaskOrderOK) IsRedirect() bool

IsRedirect returns true when this get move task order o k response has a 3xx status code

func (*GetMoveTaskOrderOK) IsServerError

func (o *GetMoveTaskOrderOK) IsServerError() bool

IsServerError returns true when this get move task order o k response has a 5xx status code

func (*GetMoveTaskOrderOK) IsSuccess

func (o *GetMoveTaskOrderOK) IsSuccess() bool

IsSuccess returns true when this get move task order o k response has a 2xx status code

func (*GetMoveTaskOrderOK) String

func (o *GetMoveTaskOrderOK) String() string

type GetMoveTaskOrderParams

type GetMoveTaskOrderParams struct {

	/* MoveTaskOrderID.

	   UUID of move task order to use.
	*/
	MoveTaskOrderID string

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

GetMoveTaskOrderParams contains all the parameters to send to the API endpoint

for the get move task order operation.

Typically these are written to a http.Request.

func NewGetMoveTaskOrderParams

func NewGetMoveTaskOrderParams() *GetMoveTaskOrderParams

NewGetMoveTaskOrderParams creates a new GetMoveTaskOrderParams 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 NewGetMoveTaskOrderParamsWithContext

func NewGetMoveTaskOrderParamsWithContext(ctx context.Context) *GetMoveTaskOrderParams

NewGetMoveTaskOrderParamsWithContext creates a new GetMoveTaskOrderParams object with the ability to set a context for a request.

func NewGetMoveTaskOrderParamsWithHTTPClient

func NewGetMoveTaskOrderParamsWithHTTPClient(client *http.Client) *GetMoveTaskOrderParams

NewGetMoveTaskOrderParamsWithHTTPClient creates a new GetMoveTaskOrderParams object with the ability to set a custom HTTPClient for a request.

func NewGetMoveTaskOrderParamsWithTimeout

func NewGetMoveTaskOrderParamsWithTimeout(timeout time.Duration) *GetMoveTaskOrderParams

NewGetMoveTaskOrderParamsWithTimeout creates a new GetMoveTaskOrderParams object with the ability to set a timeout on a request.

func (*GetMoveTaskOrderParams) SetContext

func (o *GetMoveTaskOrderParams) SetContext(ctx context.Context)

SetContext adds the context to the get move task order params

func (*GetMoveTaskOrderParams) SetDefaults

func (o *GetMoveTaskOrderParams) SetDefaults()

SetDefaults hydrates default values in the get move task order params (not the query body).

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

func (*GetMoveTaskOrderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get move task order params

func (*GetMoveTaskOrderParams) SetMoveTaskOrderID

func (o *GetMoveTaskOrderParams) SetMoveTaskOrderID(moveTaskOrderID string)

SetMoveTaskOrderID adds the moveTaskOrderId to the get move task order params

func (*GetMoveTaskOrderParams) SetTimeout

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

SetTimeout adds the timeout to the get move task order params

func (*GetMoveTaskOrderParams) WithContext

WithContext adds the context to the get move task order params

func (*GetMoveTaskOrderParams) WithDefaults

WithDefaults hydrates default values in the get move task order params (not the query body).

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

func (*GetMoveTaskOrderParams) WithHTTPClient

func (o *GetMoveTaskOrderParams) WithHTTPClient(client *http.Client) *GetMoveTaskOrderParams

WithHTTPClient adds the HTTPClient to the get move task order params

func (*GetMoveTaskOrderParams) WithMoveTaskOrderID

func (o *GetMoveTaskOrderParams) WithMoveTaskOrderID(moveTaskOrderID string) *GetMoveTaskOrderParams

WithMoveTaskOrderID adds the moveTaskOrderID to the get move task order params

func (*GetMoveTaskOrderParams) WithTimeout

WithTimeout adds the timeout to the get move task order params

func (*GetMoveTaskOrderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMoveTaskOrderReader

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

GetMoveTaskOrderReader is a Reader for the GetMoveTaskOrder structure.

func (*GetMoveTaskOrderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMoveTaskOrderUnauthorized

type GetMoveTaskOrderUnauthorized struct {
	Payload *supportmessages.ClientError
}

GetMoveTaskOrderUnauthorized describes a response with status code 401, with default header values.

The request was denied.

func NewGetMoveTaskOrderUnauthorized

func NewGetMoveTaskOrderUnauthorized() *GetMoveTaskOrderUnauthorized

NewGetMoveTaskOrderUnauthorized creates a GetMoveTaskOrderUnauthorized with default headers values

func (*GetMoveTaskOrderUnauthorized) Code

Code gets the status code for the get move task order unauthorized response

func (*GetMoveTaskOrderUnauthorized) Error

func (*GetMoveTaskOrderUnauthorized) GetPayload

func (*GetMoveTaskOrderUnauthorized) IsClientError

func (o *GetMoveTaskOrderUnauthorized) IsClientError() bool

IsClientError returns true when this get move task order unauthorized response has a 4xx status code

func (*GetMoveTaskOrderUnauthorized) IsCode

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

IsCode returns true when this get move task order unauthorized response a status code equal to that given

func (*GetMoveTaskOrderUnauthorized) IsRedirect

func (o *GetMoveTaskOrderUnauthorized) IsRedirect() bool

IsRedirect returns true when this get move task order unauthorized response has a 3xx status code

func (*GetMoveTaskOrderUnauthorized) IsServerError

func (o *GetMoveTaskOrderUnauthorized) IsServerError() bool

IsServerError returns true when this get move task order unauthorized response has a 5xx status code

func (*GetMoveTaskOrderUnauthorized) IsSuccess

func (o *GetMoveTaskOrderUnauthorized) IsSuccess() bool

IsSuccess returns true when this get move task order unauthorized response has a 2xx status code

func (*GetMoveTaskOrderUnauthorized) String

type HideNonFakeMoveTaskOrdersBadRequest

type HideNonFakeMoveTaskOrdersBadRequest struct {
	Payload *supportmessages.ClientError
}

HideNonFakeMoveTaskOrdersBadRequest describes a response with status code 400, with default header values.

The request payload is invalid.

func NewHideNonFakeMoveTaskOrdersBadRequest

func NewHideNonFakeMoveTaskOrdersBadRequest() *HideNonFakeMoveTaskOrdersBadRequest

NewHideNonFakeMoveTaskOrdersBadRequest creates a HideNonFakeMoveTaskOrdersBadRequest with default headers values

func (*HideNonFakeMoveTaskOrdersBadRequest) Code

Code gets the status code for the hide non fake move task orders bad request response

func (*HideNonFakeMoveTaskOrdersBadRequest) Error

func (*HideNonFakeMoveTaskOrdersBadRequest) GetPayload

func (*HideNonFakeMoveTaskOrdersBadRequest) IsClientError

func (o *HideNonFakeMoveTaskOrdersBadRequest) IsClientError() bool

IsClientError returns true when this hide non fake move task orders bad request response has a 4xx status code

func (*HideNonFakeMoveTaskOrdersBadRequest) IsCode

IsCode returns true when this hide non fake move task orders bad request response a status code equal to that given

func (*HideNonFakeMoveTaskOrdersBadRequest) IsRedirect

func (o *HideNonFakeMoveTaskOrdersBadRequest) IsRedirect() bool

IsRedirect returns true when this hide non fake move task orders bad request response has a 3xx status code

func (*HideNonFakeMoveTaskOrdersBadRequest) IsServerError

func (o *HideNonFakeMoveTaskOrdersBadRequest) IsServerError() bool

IsServerError returns true when this hide non fake move task orders bad request response has a 5xx status code

func (*HideNonFakeMoveTaskOrdersBadRequest) IsSuccess

IsSuccess returns true when this hide non fake move task orders bad request response has a 2xx status code

func (*HideNonFakeMoveTaskOrdersBadRequest) String

type HideNonFakeMoveTaskOrdersConflict

type HideNonFakeMoveTaskOrdersConflict struct {
	Payload *supportmessages.ClientError
}

HideNonFakeMoveTaskOrdersConflict describes a response with status code 409, with default header values.

There was a conflict with the request.

func NewHideNonFakeMoveTaskOrdersConflict

func NewHideNonFakeMoveTaskOrdersConflict() *HideNonFakeMoveTaskOrdersConflict

NewHideNonFakeMoveTaskOrdersConflict creates a HideNonFakeMoveTaskOrdersConflict with default headers values

func (*HideNonFakeMoveTaskOrdersConflict) Code

Code gets the status code for the hide non fake move task orders conflict response

func (*HideNonFakeMoveTaskOrdersConflict) Error

func (*HideNonFakeMoveTaskOrdersConflict) GetPayload

func (*HideNonFakeMoveTaskOrdersConflict) IsClientError

func (o *HideNonFakeMoveTaskOrdersConflict) IsClientError() bool

IsClientError returns true when this hide non fake move task orders conflict response has a 4xx status code

func (*HideNonFakeMoveTaskOrdersConflict) IsCode

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

IsCode returns true when this hide non fake move task orders conflict response a status code equal to that given

func (*HideNonFakeMoveTaskOrdersConflict) IsRedirect

func (o *HideNonFakeMoveTaskOrdersConflict) IsRedirect() bool

IsRedirect returns true when this hide non fake move task orders conflict response has a 3xx status code

func (*HideNonFakeMoveTaskOrdersConflict) IsServerError

func (o *HideNonFakeMoveTaskOrdersConflict) IsServerError() bool

IsServerError returns true when this hide non fake move task orders conflict response has a 5xx status code

func (*HideNonFakeMoveTaskOrdersConflict) IsSuccess

func (o *HideNonFakeMoveTaskOrdersConflict) IsSuccess() bool

IsSuccess returns true when this hide non fake move task orders conflict response has a 2xx status code

func (*HideNonFakeMoveTaskOrdersConflict) String

type HideNonFakeMoveTaskOrdersForbidden

type HideNonFakeMoveTaskOrdersForbidden struct {
	Payload *supportmessages.ClientError
}

HideNonFakeMoveTaskOrdersForbidden describes a response with status code 403, with default header values.

The request was denied.

func NewHideNonFakeMoveTaskOrdersForbidden

func NewHideNonFakeMoveTaskOrdersForbidden() *HideNonFakeMoveTaskOrdersForbidden

NewHideNonFakeMoveTaskOrdersForbidden creates a HideNonFakeMoveTaskOrdersForbidden with default headers values

func (*HideNonFakeMoveTaskOrdersForbidden) Code

Code gets the status code for the hide non fake move task orders forbidden response

func (*HideNonFakeMoveTaskOrdersForbidden) Error

func (*HideNonFakeMoveTaskOrdersForbidden) GetPayload

func (*HideNonFakeMoveTaskOrdersForbidden) IsClientError

func (o *HideNonFakeMoveTaskOrdersForbidden) IsClientError() bool

IsClientError returns true when this hide non fake move task orders forbidden response has a 4xx status code

func (*HideNonFakeMoveTaskOrdersForbidden) IsCode

IsCode returns true when this hide non fake move task orders forbidden response a status code equal to that given

func (*HideNonFakeMoveTaskOrdersForbidden) IsRedirect

func (o *HideNonFakeMoveTaskOrdersForbidden) IsRedirect() bool

IsRedirect returns true when this hide non fake move task orders forbidden response has a 3xx status code

func (*HideNonFakeMoveTaskOrdersForbidden) IsServerError

func (o *HideNonFakeMoveTaskOrdersForbidden) IsServerError() bool

IsServerError returns true when this hide non fake move task orders forbidden response has a 5xx status code

func (*HideNonFakeMoveTaskOrdersForbidden) IsSuccess

IsSuccess returns true when this hide non fake move task orders forbidden response has a 2xx status code

func (*HideNonFakeMoveTaskOrdersForbidden) String

type HideNonFakeMoveTaskOrdersInternalServerError

type HideNonFakeMoveTaskOrdersInternalServerError struct {
	Payload *supportmessages.Error
}

HideNonFakeMoveTaskOrdersInternalServerError describes a response with status code 500, with default header values.

A server error occurred.

func NewHideNonFakeMoveTaskOrdersInternalServerError

func NewHideNonFakeMoveTaskOrdersInternalServerError() *HideNonFakeMoveTaskOrdersInternalServerError

NewHideNonFakeMoveTaskOrdersInternalServerError creates a HideNonFakeMoveTaskOrdersInternalServerError with default headers values

func (*HideNonFakeMoveTaskOrdersInternalServerError) Code

Code gets the status code for the hide non fake move task orders internal server error response

func (*HideNonFakeMoveTaskOrdersInternalServerError) Error

func (*HideNonFakeMoveTaskOrdersInternalServerError) GetPayload

func (*HideNonFakeMoveTaskOrdersInternalServerError) IsClientError

IsClientError returns true when this hide non fake move task orders internal server error response has a 4xx status code

func (*HideNonFakeMoveTaskOrdersInternalServerError) IsCode

IsCode returns true when this hide non fake move task orders internal server error response a status code equal to that given

func (*HideNonFakeMoveTaskOrdersInternalServerError) IsRedirect

IsRedirect returns true when this hide non fake move task orders internal server error response has a 3xx status code

func (*HideNonFakeMoveTaskOrdersInternalServerError) IsServerError

IsServerError returns true when this hide non fake move task orders internal server error response has a 5xx status code

func (*HideNonFakeMoveTaskOrdersInternalServerError) IsSuccess

IsSuccess returns true when this hide non fake move task orders internal server error response has a 2xx status code

func (*HideNonFakeMoveTaskOrdersInternalServerError) String

type HideNonFakeMoveTaskOrdersNotFound

type HideNonFakeMoveTaskOrdersNotFound struct {
	Payload *supportmessages.ClientError
}

HideNonFakeMoveTaskOrdersNotFound describes a response with status code 404, with default header values.

The requested resource wasn't found.

func NewHideNonFakeMoveTaskOrdersNotFound

func NewHideNonFakeMoveTaskOrdersNotFound() *HideNonFakeMoveTaskOrdersNotFound

NewHideNonFakeMoveTaskOrdersNotFound creates a HideNonFakeMoveTaskOrdersNotFound with default headers values

func (*HideNonFakeMoveTaskOrdersNotFound) Code

Code gets the status code for the hide non fake move task orders not found response

func (*HideNonFakeMoveTaskOrdersNotFound) Error

func (*HideNonFakeMoveTaskOrdersNotFound) GetPayload

func (*HideNonFakeMoveTaskOrdersNotFound) IsClientError

func (o *HideNonFakeMoveTaskOrdersNotFound) IsClientError() bool

IsClientError returns true when this hide non fake move task orders not found response has a 4xx status code

func (*HideNonFakeMoveTaskOrdersNotFound) IsCode

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

IsCode returns true when this hide non fake move task orders not found response a status code equal to that given

func (*HideNonFakeMoveTaskOrdersNotFound) IsRedirect

func (o *HideNonFakeMoveTaskOrdersNotFound) IsRedirect() bool

IsRedirect returns true when this hide non fake move task orders not found response has a 3xx status code

func (*HideNonFakeMoveTaskOrdersNotFound) IsServerError

func (o *HideNonFakeMoveTaskOrdersNotFound) IsServerError() bool

IsServerError returns true when this hide non fake move task orders not found response has a 5xx status code

func (*HideNonFakeMoveTaskOrdersNotFound) IsSuccess

func (o *HideNonFakeMoveTaskOrdersNotFound) IsSuccess() bool

IsSuccess returns true when this hide non fake move task orders not found response has a 2xx status code

func (*HideNonFakeMoveTaskOrdersNotFound) String

type HideNonFakeMoveTaskOrdersOK

type HideNonFakeMoveTaskOrdersOK struct {
	Payload *supportmessages.MTOHideMovesResponse
}

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

Successfully hid MTOs.

func NewHideNonFakeMoveTaskOrdersOK

func NewHideNonFakeMoveTaskOrdersOK() *HideNonFakeMoveTaskOrdersOK

NewHideNonFakeMoveTaskOrdersOK creates a HideNonFakeMoveTaskOrdersOK with default headers values

func (*HideNonFakeMoveTaskOrdersOK) Code

func (o *HideNonFakeMoveTaskOrdersOK) Code() int

Code gets the status code for the hide non fake move task orders o k response

func (*HideNonFakeMoveTaskOrdersOK) Error

func (*HideNonFakeMoveTaskOrdersOK) GetPayload

func (*HideNonFakeMoveTaskOrdersOK) IsClientError

func (o *HideNonFakeMoveTaskOrdersOK) IsClientError() bool

IsClientError returns true when this hide non fake move task orders o k response has a 4xx status code

func (*HideNonFakeMoveTaskOrdersOK) IsCode

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

IsCode returns true when this hide non fake move task orders o k response a status code equal to that given

func (*HideNonFakeMoveTaskOrdersOK) IsRedirect

func (o *HideNonFakeMoveTaskOrdersOK) IsRedirect() bool

IsRedirect returns true when this hide non fake move task orders o k response has a 3xx status code

func (*HideNonFakeMoveTaskOrdersOK) IsServerError

func (o *HideNonFakeMoveTaskOrdersOK) IsServerError() bool

IsServerError returns true when this hide non fake move task orders o k response has a 5xx status code

func (*HideNonFakeMoveTaskOrdersOK) IsSuccess

func (o *HideNonFakeMoveTaskOrdersOK) IsSuccess() bool

IsSuccess returns true when this hide non fake move task orders o k response has a 2xx status code

func (*HideNonFakeMoveTaskOrdersOK) String

func (o *HideNonFakeMoveTaskOrdersOK) String() string

type HideNonFakeMoveTaskOrdersParams

type HideNonFakeMoveTaskOrdersParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

HideNonFakeMoveTaskOrdersParams contains all the parameters to send to the API endpoint

for the hide non fake move task orders operation.

Typically these are written to a http.Request.

func NewHideNonFakeMoveTaskOrdersParams

func NewHideNonFakeMoveTaskOrdersParams() *HideNonFakeMoveTaskOrdersParams

NewHideNonFakeMoveTaskOrdersParams creates a new HideNonFakeMoveTaskOrdersParams 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 NewHideNonFakeMoveTaskOrdersParamsWithContext

func NewHideNonFakeMoveTaskOrdersParamsWithContext(ctx context.Context) *HideNonFakeMoveTaskOrdersParams

NewHideNonFakeMoveTaskOrdersParamsWithContext creates a new HideNonFakeMoveTaskOrdersParams object with the ability to set a context for a request.

func NewHideNonFakeMoveTaskOrdersParamsWithHTTPClient

func NewHideNonFakeMoveTaskOrdersParamsWithHTTPClient(client *http.Client) *HideNonFakeMoveTaskOrdersParams

NewHideNonFakeMoveTaskOrdersParamsWithHTTPClient creates a new HideNonFakeMoveTaskOrdersParams object with the ability to set a custom HTTPClient for a request.

func NewHideNonFakeMoveTaskOrdersParamsWithTimeout

func NewHideNonFakeMoveTaskOrdersParamsWithTimeout(timeout time.Duration) *HideNonFakeMoveTaskOrdersParams

NewHideNonFakeMoveTaskOrdersParamsWithTimeout creates a new HideNonFakeMoveTaskOrdersParams object with the ability to set a timeout on a request.

func (*HideNonFakeMoveTaskOrdersParams) SetContext

func (o *HideNonFakeMoveTaskOrdersParams) SetContext(ctx context.Context)

SetContext adds the context to the hide non fake move task orders params

func (*HideNonFakeMoveTaskOrdersParams) SetDefaults

func (o *HideNonFakeMoveTaskOrdersParams) SetDefaults()

SetDefaults hydrates default values in the hide non fake move task orders params (not the query body).

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

func (*HideNonFakeMoveTaskOrdersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the hide non fake move task orders params

func (*HideNonFakeMoveTaskOrdersParams) SetTimeout

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

SetTimeout adds the timeout to the hide non fake move task orders params

func (*HideNonFakeMoveTaskOrdersParams) WithContext

WithContext adds the context to the hide non fake move task orders params

func (*HideNonFakeMoveTaskOrdersParams) WithDefaults

WithDefaults hydrates default values in the hide non fake move task orders params (not the query body).

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

func (*HideNonFakeMoveTaskOrdersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the hide non fake move task orders params

func (*HideNonFakeMoveTaskOrdersParams) WithTimeout

WithTimeout adds the timeout to the hide non fake move task orders params

func (*HideNonFakeMoveTaskOrdersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HideNonFakeMoveTaskOrdersPreconditionFailed

type HideNonFakeMoveTaskOrdersPreconditionFailed struct {
	Payload *supportmessages.ClientError
}

HideNonFakeMoveTaskOrdersPreconditionFailed 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 NewHideNonFakeMoveTaskOrdersPreconditionFailed

func NewHideNonFakeMoveTaskOrdersPreconditionFailed() *HideNonFakeMoveTaskOrdersPreconditionFailed

NewHideNonFakeMoveTaskOrdersPreconditionFailed creates a HideNonFakeMoveTaskOrdersPreconditionFailed with default headers values

func (*HideNonFakeMoveTaskOrdersPreconditionFailed) Code

Code gets the status code for the hide non fake move task orders precondition failed response

func (*HideNonFakeMoveTaskOrdersPreconditionFailed) Error

func (*HideNonFakeMoveTaskOrdersPreconditionFailed) GetPayload

func (*HideNonFakeMoveTaskOrdersPreconditionFailed) IsClientError

IsClientError returns true when this hide non fake move task orders precondition failed response has a 4xx status code

func (*HideNonFakeMoveTaskOrdersPreconditionFailed) IsCode

IsCode returns true when this hide non fake move task orders precondition failed response a status code equal to that given

func (*HideNonFakeMoveTaskOrdersPreconditionFailed) IsRedirect

IsRedirect returns true when this hide non fake move task orders precondition failed response has a 3xx status code

func (*HideNonFakeMoveTaskOrdersPreconditionFailed) IsServerError

IsServerError returns true when this hide non fake move task orders precondition failed response has a 5xx status code

func (*HideNonFakeMoveTaskOrdersPreconditionFailed) IsSuccess

IsSuccess returns true when this hide non fake move task orders precondition failed response has a 2xx status code

func (*HideNonFakeMoveTaskOrdersPreconditionFailed) String

type HideNonFakeMoveTaskOrdersReader

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

HideNonFakeMoveTaskOrdersReader is a Reader for the HideNonFakeMoveTaskOrders structure.

func (*HideNonFakeMoveTaskOrdersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HideNonFakeMoveTaskOrdersUnauthorized

type HideNonFakeMoveTaskOrdersUnauthorized struct {
	Payload *supportmessages.ClientError
}

HideNonFakeMoveTaskOrdersUnauthorized describes a response with status code 401, with default header values.

The request was denied.

func NewHideNonFakeMoveTaskOrdersUnauthorized

func NewHideNonFakeMoveTaskOrdersUnauthorized() *HideNonFakeMoveTaskOrdersUnauthorized

NewHideNonFakeMoveTaskOrdersUnauthorized creates a HideNonFakeMoveTaskOrdersUnauthorized with default headers values

func (*HideNonFakeMoveTaskOrdersUnauthorized) Code

Code gets the status code for the hide non fake move task orders unauthorized response

func (*HideNonFakeMoveTaskOrdersUnauthorized) Error

func (*HideNonFakeMoveTaskOrdersUnauthorized) GetPayload

func (*HideNonFakeMoveTaskOrdersUnauthorized) IsClientError

func (o *HideNonFakeMoveTaskOrdersUnauthorized) IsClientError() bool

IsClientError returns true when this hide non fake move task orders unauthorized response has a 4xx status code

func (*HideNonFakeMoveTaskOrdersUnauthorized) IsCode

IsCode returns true when this hide non fake move task orders unauthorized response a status code equal to that given

func (*HideNonFakeMoveTaskOrdersUnauthorized) IsRedirect

IsRedirect returns true when this hide non fake move task orders unauthorized response has a 3xx status code

func (*HideNonFakeMoveTaskOrdersUnauthorized) IsServerError

func (o *HideNonFakeMoveTaskOrdersUnauthorized) IsServerError() bool

IsServerError returns true when this hide non fake move task orders unauthorized response has a 5xx status code

func (*HideNonFakeMoveTaskOrdersUnauthorized) IsSuccess

IsSuccess returns true when this hide non fake move task orders unauthorized response has a 2xx status code

func (*HideNonFakeMoveTaskOrdersUnauthorized) String

type HideNonFakeMoveTaskOrdersUnprocessableEntity

type HideNonFakeMoveTaskOrdersUnprocessableEntity struct {
	Payload *supportmessages.ValidationError
}

HideNonFakeMoveTaskOrdersUnprocessableEntity describes a response with status code 422, with default header values.

The payload was unprocessable.

func NewHideNonFakeMoveTaskOrdersUnprocessableEntity

func NewHideNonFakeMoveTaskOrdersUnprocessableEntity() *HideNonFakeMoveTaskOrdersUnprocessableEntity

NewHideNonFakeMoveTaskOrdersUnprocessableEntity creates a HideNonFakeMoveTaskOrdersUnprocessableEntity with default headers values

func (*HideNonFakeMoveTaskOrdersUnprocessableEntity) Code

Code gets the status code for the hide non fake move task orders unprocessable entity response

func (*HideNonFakeMoveTaskOrdersUnprocessableEntity) Error

func (*HideNonFakeMoveTaskOrdersUnprocessableEntity) GetPayload

func (*HideNonFakeMoveTaskOrdersUnprocessableEntity) IsClientError

IsClientError returns true when this hide non fake move task orders unprocessable entity response has a 4xx status code

func (*HideNonFakeMoveTaskOrdersUnprocessableEntity) IsCode

IsCode returns true when this hide non fake move task orders unprocessable entity response a status code equal to that given

func (*HideNonFakeMoveTaskOrdersUnprocessableEntity) IsRedirect

IsRedirect returns true when this hide non fake move task orders unprocessable entity response has a 3xx status code

func (*HideNonFakeMoveTaskOrdersUnprocessableEntity) IsServerError

IsServerError returns true when this hide non fake move task orders unprocessable entity response has a 5xx status code

func (*HideNonFakeMoveTaskOrdersUnprocessableEntity) IsSuccess

IsSuccess returns true when this hide non fake move task orders unprocessable entity response has a 2xx status code

func (*HideNonFakeMoveTaskOrdersUnprocessableEntity) String

type ListMTOsBadRequest

type ListMTOsBadRequest struct {
	Payload *supportmessages.ClientError
}

ListMTOsBadRequest describes a response with status code 400, with default header values.

The request payload is invalid.

func NewListMTOsBadRequest

func NewListMTOsBadRequest() *ListMTOsBadRequest

NewListMTOsBadRequest creates a ListMTOsBadRequest with default headers values

func (*ListMTOsBadRequest) Code

func (o *ListMTOsBadRequest) Code() int

Code gets the status code for the list m t os bad request response

func (*ListMTOsBadRequest) Error

func (o *ListMTOsBadRequest) Error() string

func (*ListMTOsBadRequest) GetPayload

func (*ListMTOsBadRequest) IsClientError

func (o *ListMTOsBadRequest) IsClientError() bool

IsClientError returns true when this list m t os bad request response has a 4xx status code

func (*ListMTOsBadRequest) IsCode

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

IsCode returns true when this list m t os bad request response a status code equal to that given

func (*ListMTOsBadRequest) IsRedirect

func (o *ListMTOsBadRequest) IsRedirect() bool

IsRedirect returns true when this list m t os bad request response has a 3xx status code

func (*ListMTOsBadRequest) IsServerError

func (o *ListMTOsBadRequest) IsServerError() bool

IsServerError returns true when this list m t os bad request response has a 5xx status code

func (*ListMTOsBadRequest) IsSuccess

func (o *ListMTOsBadRequest) IsSuccess() bool

IsSuccess returns true when this list m t os bad request response has a 2xx status code

func (*ListMTOsBadRequest) String

func (o *ListMTOsBadRequest) String() string

type ListMTOsForbidden

type ListMTOsForbidden struct {
	Payload *supportmessages.ClientError
}

ListMTOsForbidden describes a response with status code 403, with default header values.

The request was denied.

func NewListMTOsForbidden

func NewListMTOsForbidden() *ListMTOsForbidden

NewListMTOsForbidden creates a ListMTOsForbidden with default headers values

func (*ListMTOsForbidden) Code

func (o *ListMTOsForbidden) Code() int

Code gets the status code for the list m t os forbidden response

func (*ListMTOsForbidden) Error

func (o *ListMTOsForbidden) Error() string

func (*ListMTOsForbidden) GetPayload

func (*ListMTOsForbidden) IsClientError

func (o *ListMTOsForbidden) IsClientError() bool

IsClientError returns true when this list m t os forbidden response has a 4xx status code

func (*ListMTOsForbidden) IsCode

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

IsCode returns true when this list m t os forbidden response a status code equal to that given

func (*ListMTOsForbidden) IsRedirect

func (o *ListMTOsForbidden) IsRedirect() bool

IsRedirect returns true when this list m t os forbidden response has a 3xx status code

func (*ListMTOsForbidden) IsServerError

func (o *ListMTOsForbidden) IsServerError() bool

IsServerError returns true when this list m t os forbidden response has a 5xx status code

func (*ListMTOsForbidden) IsSuccess

func (o *ListMTOsForbidden) IsSuccess() bool

IsSuccess returns true when this list m t os forbidden response has a 2xx status code

func (*ListMTOsForbidden) String

func (o *ListMTOsForbidden) String() string

type ListMTOsInternalServerError

type ListMTOsInternalServerError struct {
	Payload *supportmessages.Error
}

ListMTOsInternalServerError describes a response with status code 500, with default header values.

A server error occurred.

func NewListMTOsInternalServerError

func NewListMTOsInternalServerError() *ListMTOsInternalServerError

NewListMTOsInternalServerError creates a ListMTOsInternalServerError with default headers values

func (*ListMTOsInternalServerError) Code

func (o *ListMTOsInternalServerError) Code() int

Code gets the status code for the list m t os internal server error response

func (*ListMTOsInternalServerError) Error

func (*ListMTOsInternalServerError) GetPayload

func (*ListMTOsInternalServerError) IsClientError

func (o *ListMTOsInternalServerError) IsClientError() bool

IsClientError returns true when this list m t os internal server error response has a 4xx status code

func (*ListMTOsInternalServerError) IsCode

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

IsCode returns true when this list m t os internal server error response a status code equal to that given

func (*ListMTOsInternalServerError) IsRedirect

func (o *ListMTOsInternalServerError) IsRedirect() bool

IsRedirect returns true when this list m t os internal server error response has a 3xx status code

func (*ListMTOsInternalServerError) IsServerError

func (o *ListMTOsInternalServerError) IsServerError() bool

IsServerError returns true when this list m t os internal server error response has a 5xx status code

func (*ListMTOsInternalServerError) IsSuccess

func (o *ListMTOsInternalServerError) IsSuccess() bool

IsSuccess returns true when this list m t os internal server error response has a 2xx status code

func (*ListMTOsInternalServerError) String

func (o *ListMTOsInternalServerError) String() string

type ListMTOsNotFound

type ListMTOsNotFound struct {
	Payload *supportmessages.ClientError
}

ListMTOsNotFound describes a response with status code 404, with default header values.

The requested resource wasn't found.

func NewListMTOsNotFound

func NewListMTOsNotFound() *ListMTOsNotFound

NewListMTOsNotFound creates a ListMTOsNotFound with default headers values

func (*ListMTOsNotFound) Code

func (o *ListMTOsNotFound) Code() int

Code gets the status code for the list m t os not found response

func (*ListMTOsNotFound) Error

func (o *ListMTOsNotFound) Error() string

func (*ListMTOsNotFound) GetPayload

func (o *ListMTOsNotFound) GetPayload() *supportmessages.ClientError

func (*ListMTOsNotFound) IsClientError

func (o *ListMTOsNotFound) IsClientError() bool

IsClientError returns true when this list m t os not found response has a 4xx status code

func (*ListMTOsNotFound) IsCode

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

IsCode returns true when this list m t os not found response a status code equal to that given

func (*ListMTOsNotFound) IsRedirect

func (o *ListMTOsNotFound) IsRedirect() bool

IsRedirect returns true when this list m t os not found response has a 3xx status code

func (*ListMTOsNotFound) IsServerError

func (o *ListMTOsNotFound) IsServerError() bool

IsServerError returns true when this list m t os not found response has a 5xx status code

func (*ListMTOsNotFound) IsSuccess

func (o *ListMTOsNotFound) IsSuccess() bool

IsSuccess returns true when this list m t os not found response has a 2xx status code

func (*ListMTOsNotFound) String

func (o *ListMTOsNotFound) String() string

type ListMTOsOK

type ListMTOsOK struct {
	Payload supportmessages.MoveTaskOrders
}

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

Successfully retrieved all move task orders.

func NewListMTOsOK

func NewListMTOsOK() *ListMTOsOK

NewListMTOsOK creates a ListMTOsOK with default headers values

func (*ListMTOsOK) Code

func (o *ListMTOsOK) Code() int

Code gets the status code for the list m t os o k response

func (*ListMTOsOK) Error

func (o *ListMTOsOK) Error() string

func (*ListMTOsOK) GetPayload

func (o *ListMTOsOK) GetPayload() supportmessages.MoveTaskOrders

func (*ListMTOsOK) IsClientError

func (o *ListMTOsOK) IsClientError() bool

IsClientError returns true when this list m t os o k response has a 4xx status code

func (*ListMTOsOK) IsCode

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

IsCode returns true when this list m t os o k response a status code equal to that given

func (*ListMTOsOK) IsRedirect

func (o *ListMTOsOK) IsRedirect() bool

IsRedirect returns true when this list m t os o k response has a 3xx status code

func (*ListMTOsOK) IsServerError

func (o *ListMTOsOK) IsServerError() bool

IsServerError returns true when this list m t os o k response has a 5xx status code

func (*ListMTOsOK) IsSuccess

func (o *ListMTOsOK) IsSuccess() bool

IsSuccess returns true when this list m t os o k response has a 2xx status code

func (*ListMTOsOK) String

func (o *ListMTOsOK) String() string

type ListMTOsParams

type ListMTOsParams struct {

	/* Since.

	   Only return move task orders updated since this time.

	   Format: timestamp
	*/
	Since *int64

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

ListMTOsParams contains all the parameters to send to the API endpoint

for the list m t os operation.

Typically these are written to a http.Request.

func NewListMTOsParams

func NewListMTOsParams() *ListMTOsParams

NewListMTOsParams creates a new ListMTOsParams 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 NewListMTOsParamsWithContext

func NewListMTOsParamsWithContext(ctx context.Context) *ListMTOsParams

NewListMTOsParamsWithContext creates a new ListMTOsParams object with the ability to set a context for a request.

func NewListMTOsParamsWithHTTPClient

func NewListMTOsParamsWithHTTPClient(client *http.Client) *ListMTOsParams

NewListMTOsParamsWithHTTPClient creates a new ListMTOsParams object with the ability to set a custom HTTPClient for a request.

func NewListMTOsParamsWithTimeout

func NewListMTOsParamsWithTimeout(timeout time.Duration) *ListMTOsParams

NewListMTOsParamsWithTimeout creates a new ListMTOsParams object with the ability to set a timeout on a request.

func (*ListMTOsParams) SetContext

func (o *ListMTOsParams) SetContext(ctx context.Context)

SetContext adds the context to the list m t os params

func (*ListMTOsParams) SetDefaults

func (o *ListMTOsParams) SetDefaults()

SetDefaults hydrates default values in the list m t os params (not the query body).

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

func (*ListMTOsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list m t os params

func (*ListMTOsParams) SetSince

func (o *ListMTOsParams) SetSince(since *int64)

SetSince adds the since to the list m t os params

func (*ListMTOsParams) SetTimeout

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

SetTimeout adds the timeout to the list m t os params

func (*ListMTOsParams) WithContext

func (o *ListMTOsParams) WithContext(ctx context.Context) *ListMTOsParams

WithContext adds the context to the list m t os params

func (*ListMTOsParams) WithDefaults

func (o *ListMTOsParams) WithDefaults() *ListMTOsParams

WithDefaults hydrates default values in the list m t os params (not the query body).

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

func (*ListMTOsParams) WithHTTPClient

func (o *ListMTOsParams) WithHTTPClient(client *http.Client) *ListMTOsParams

WithHTTPClient adds the HTTPClient to the list m t os params

func (*ListMTOsParams) WithSince

func (o *ListMTOsParams) WithSince(since *int64) *ListMTOsParams

WithSince adds the since to the list m t os params

func (*ListMTOsParams) WithTimeout

func (o *ListMTOsParams) WithTimeout(timeout time.Duration) *ListMTOsParams

WithTimeout adds the timeout to the list m t os params

func (*ListMTOsParams) WriteToRequest

func (o *ListMTOsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListMTOsReader

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

ListMTOsReader is a Reader for the ListMTOs structure.

func (*ListMTOsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListMTOsUnauthorized

type ListMTOsUnauthorized struct {
	Payload *supportmessages.ClientError
}

ListMTOsUnauthorized describes a response with status code 401, with default header values.

The request was denied.

func NewListMTOsUnauthorized

func NewListMTOsUnauthorized() *ListMTOsUnauthorized

NewListMTOsUnauthorized creates a ListMTOsUnauthorized with default headers values

func (*ListMTOsUnauthorized) Code

func (o *ListMTOsUnauthorized) Code() int

Code gets the status code for the list m t os unauthorized response

func (*ListMTOsUnauthorized) Error

func (o *ListMTOsUnauthorized) Error() string

func (*ListMTOsUnauthorized) GetPayload

func (*ListMTOsUnauthorized) IsClientError

func (o *ListMTOsUnauthorized) IsClientError() bool

IsClientError returns true when this list m t os unauthorized response has a 4xx status code

func (*ListMTOsUnauthorized) IsCode

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

IsCode returns true when this list m t os unauthorized response a status code equal to that given

func (*ListMTOsUnauthorized) IsRedirect

func (o *ListMTOsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list m t os unauthorized response has a 3xx status code

func (*ListMTOsUnauthorized) IsServerError

func (o *ListMTOsUnauthorized) IsServerError() bool

IsServerError returns true when this list m t os unauthorized response has a 5xx status code

func (*ListMTOsUnauthorized) IsSuccess

func (o *ListMTOsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list m t os unauthorized response has a 2xx status code

func (*ListMTOsUnauthorized) String

func (o *ListMTOsUnauthorized) String() string

type MakeMoveTaskOrderAvailableBadRequest

type MakeMoveTaskOrderAvailableBadRequest struct {
	Payload *supportmessages.ClientError
}

MakeMoveTaskOrderAvailableBadRequest describes a response with status code 400, with default header values.

The request payload is invalid.

func NewMakeMoveTaskOrderAvailableBadRequest

func NewMakeMoveTaskOrderAvailableBadRequest() *MakeMoveTaskOrderAvailableBadRequest

NewMakeMoveTaskOrderAvailableBadRequest creates a MakeMoveTaskOrderAvailableBadRequest with default headers values

func (*MakeMoveTaskOrderAvailableBadRequest) Code

Code gets the status code for the make move task order available bad request response

func (*MakeMoveTaskOrderAvailableBadRequest) Error

func (*MakeMoveTaskOrderAvailableBadRequest) GetPayload

func (*MakeMoveTaskOrderAvailableBadRequest) IsClientError

func (o *MakeMoveTaskOrderAvailableBadRequest) IsClientError() bool

IsClientError returns true when this make move task order available bad request response has a 4xx status code

func (*MakeMoveTaskOrderAvailableBadRequest) IsCode

IsCode returns true when this make move task order available bad request response a status code equal to that given

func (*MakeMoveTaskOrderAvailableBadRequest) IsRedirect

IsRedirect returns true when this make move task order available bad request response has a 3xx status code

func (*MakeMoveTaskOrderAvailableBadRequest) IsServerError

func (o *MakeMoveTaskOrderAvailableBadRequest) IsServerError() bool

IsServerError returns true when this make move task order available bad request response has a 5xx status code

func (*MakeMoveTaskOrderAvailableBadRequest) IsSuccess

IsSuccess returns true when this make move task order available bad request response has a 2xx status code

func (*MakeMoveTaskOrderAvailableBadRequest) String

type MakeMoveTaskOrderAvailableForbidden

type MakeMoveTaskOrderAvailableForbidden struct {
	Payload *supportmessages.ClientError
}

MakeMoveTaskOrderAvailableForbidden describes a response with status code 403, with default header values.

The request was denied.

func NewMakeMoveTaskOrderAvailableForbidden

func NewMakeMoveTaskOrderAvailableForbidden() *MakeMoveTaskOrderAvailableForbidden

NewMakeMoveTaskOrderAvailableForbidden creates a MakeMoveTaskOrderAvailableForbidden with default headers values

func (*MakeMoveTaskOrderAvailableForbidden) Code

Code gets the status code for the make move task order available forbidden response

func (*MakeMoveTaskOrderAvailableForbidden) Error

func (*MakeMoveTaskOrderAvailableForbidden) GetPayload

func (*MakeMoveTaskOrderAvailableForbidden) IsClientError

func (o *MakeMoveTaskOrderAvailableForbidden) IsClientError() bool

IsClientError returns true when this make move task order available forbidden response has a 4xx status code

func (*MakeMoveTaskOrderAvailableForbidden) IsCode

IsCode returns true when this make move task order available forbidden response a status code equal to that given

func (*MakeMoveTaskOrderAvailableForbidden) IsRedirect

func (o *MakeMoveTaskOrderAvailableForbidden) IsRedirect() bool

IsRedirect returns true when this make move task order available forbidden response has a 3xx status code

func (*MakeMoveTaskOrderAvailableForbidden) IsServerError

func (o *MakeMoveTaskOrderAvailableForbidden) IsServerError() bool

IsServerError returns true when this make move task order available forbidden response has a 5xx status code

func (*MakeMoveTaskOrderAvailableForbidden) IsSuccess

IsSuccess returns true when this make move task order available forbidden response has a 2xx status code

func (*MakeMoveTaskOrderAvailableForbidden) String

type MakeMoveTaskOrderAvailableInternalServerError

type MakeMoveTaskOrderAvailableInternalServerError struct {
	Payload *supportmessages.Error
}

MakeMoveTaskOrderAvailableInternalServerError describes a response with status code 500, with default header values.

A server error occurred.

func NewMakeMoveTaskOrderAvailableInternalServerError

func NewMakeMoveTaskOrderAvailableInternalServerError() *MakeMoveTaskOrderAvailableInternalServerError

NewMakeMoveTaskOrderAvailableInternalServerError creates a MakeMoveTaskOrderAvailableInternalServerError with default headers values

func (*MakeMoveTaskOrderAvailableInternalServerError) Code

Code gets the status code for the make move task order available internal server error response

func (*MakeMoveTaskOrderAvailableInternalServerError) Error

func (*MakeMoveTaskOrderAvailableInternalServerError) GetPayload

func (*MakeMoveTaskOrderAvailableInternalServerError) IsClientError

IsClientError returns true when this make move task order available internal server error response has a 4xx status code

func (*MakeMoveTaskOrderAvailableInternalServerError) IsCode

IsCode returns true when this make move task order available internal server error response a status code equal to that given

func (*MakeMoveTaskOrderAvailableInternalServerError) IsRedirect

IsRedirect returns true when this make move task order available internal server error response has a 3xx status code

func (*MakeMoveTaskOrderAvailableInternalServerError) IsServerError

IsServerError returns true when this make move task order available internal server error response has a 5xx status code

func (*MakeMoveTaskOrderAvailableInternalServerError) IsSuccess

IsSuccess returns true when this make move task order available internal server error response has a 2xx status code

func (*MakeMoveTaskOrderAvailableInternalServerError) String

type MakeMoveTaskOrderAvailableNotFound

type MakeMoveTaskOrderAvailableNotFound struct {
	Payload *supportmessages.ClientError
}

MakeMoveTaskOrderAvailableNotFound describes a response with status code 404, with default header values.

The requested resource wasn't found.

func NewMakeMoveTaskOrderAvailableNotFound

func NewMakeMoveTaskOrderAvailableNotFound() *MakeMoveTaskOrderAvailableNotFound

NewMakeMoveTaskOrderAvailableNotFound creates a MakeMoveTaskOrderAvailableNotFound with default headers values

func (*MakeMoveTaskOrderAvailableNotFound) Code

Code gets the status code for the make move task order available not found response

func (*MakeMoveTaskOrderAvailableNotFound) Error

func (*MakeMoveTaskOrderAvailableNotFound) GetPayload

func (*MakeMoveTaskOrderAvailableNotFound) IsClientError

func (o *MakeMoveTaskOrderAvailableNotFound) IsClientError() bool

IsClientError returns true when this make move task order available not found response has a 4xx status code

func (*MakeMoveTaskOrderAvailableNotFound) IsCode

IsCode returns true when this make move task order available not found response a status code equal to that given

func (*MakeMoveTaskOrderAvailableNotFound) IsRedirect

func (o *MakeMoveTaskOrderAvailableNotFound) IsRedirect() bool

IsRedirect returns true when this make move task order available not found response has a 3xx status code

func (*MakeMoveTaskOrderAvailableNotFound) IsServerError

func (o *MakeMoveTaskOrderAvailableNotFound) IsServerError() bool

IsServerError returns true when this make move task order available not found response has a 5xx status code

func (*MakeMoveTaskOrderAvailableNotFound) IsSuccess

IsSuccess returns true when this make move task order available not found response has a 2xx status code

func (*MakeMoveTaskOrderAvailableNotFound) String

type MakeMoveTaskOrderAvailableOK

type MakeMoveTaskOrderAvailableOK struct {
	Payload *supportmessages.MoveTaskOrder
}

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

Successfully made MTO available to Prime.

func NewMakeMoveTaskOrderAvailableOK

func NewMakeMoveTaskOrderAvailableOK() *MakeMoveTaskOrderAvailableOK

NewMakeMoveTaskOrderAvailableOK creates a MakeMoveTaskOrderAvailableOK with default headers values

func (*MakeMoveTaskOrderAvailableOK) Code

Code gets the status code for the make move task order available o k response

func (*MakeMoveTaskOrderAvailableOK) Error

func (*MakeMoveTaskOrderAvailableOK) GetPayload

func (*MakeMoveTaskOrderAvailableOK) IsClientError

func (o *MakeMoveTaskOrderAvailableOK) IsClientError() bool

IsClientError returns true when this make move task order available o k response has a 4xx status code

func (*MakeMoveTaskOrderAvailableOK) IsCode

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

IsCode returns true when this make move task order available o k response a status code equal to that given

func (*MakeMoveTaskOrderAvailableOK) IsRedirect

func (o *MakeMoveTaskOrderAvailableOK) IsRedirect() bool

IsRedirect returns true when this make move task order available o k response has a 3xx status code

func (*MakeMoveTaskOrderAvailableOK) IsServerError

func (o *MakeMoveTaskOrderAvailableOK) IsServerError() bool

IsServerError returns true when this make move task order available o k response has a 5xx status code

func (*MakeMoveTaskOrderAvailableOK) IsSuccess

func (o *MakeMoveTaskOrderAvailableOK) IsSuccess() bool

IsSuccess returns true when this make move task order available o k response has a 2xx status code

func (*MakeMoveTaskOrderAvailableOK) String

type MakeMoveTaskOrderAvailableParams

type MakeMoveTaskOrderAvailableParams 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

	/* MoveTaskOrderID.

	   UUID of move task order.
	*/
	MoveTaskOrderID string

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

MakeMoveTaskOrderAvailableParams contains all the parameters to send to the API endpoint

for the make move task order available operation.

Typically these are written to a http.Request.

func NewMakeMoveTaskOrderAvailableParams

func NewMakeMoveTaskOrderAvailableParams() *MakeMoveTaskOrderAvailableParams

NewMakeMoveTaskOrderAvailableParams creates a new MakeMoveTaskOrderAvailableParams 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 NewMakeMoveTaskOrderAvailableParamsWithContext

func NewMakeMoveTaskOrderAvailableParamsWithContext(ctx context.Context) *MakeMoveTaskOrderAvailableParams

NewMakeMoveTaskOrderAvailableParamsWithContext creates a new MakeMoveTaskOrderAvailableParams object with the ability to set a context for a request.

func NewMakeMoveTaskOrderAvailableParamsWithHTTPClient

func NewMakeMoveTaskOrderAvailableParamsWithHTTPClient(client *http.Client) *MakeMoveTaskOrderAvailableParams

NewMakeMoveTaskOrderAvailableParamsWithHTTPClient creates a new MakeMoveTaskOrderAvailableParams object with the ability to set a custom HTTPClient for a request.

func NewMakeMoveTaskOrderAvailableParamsWithTimeout

func NewMakeMoveTaskOrderAvailableParamsWithTimeout(timeout time.Duration) *MakeMoveTaskOrderAvailableParams

NewMakeMoveTaskOrderAvailableParamsWithTimeout creates a new MakeMoveTaskOrderAvailableParams object with the ability to set a timeout on a request.

func (*MakeMoveTaskOrderAvailableParams) SetContext

SetContext adds the context to the make move task order available params

func (*MakeMoveTaskOrderAvailableParams) SetDefaults

func (o *MakeMoveTaskOrderAvailableParams) SetDefaults()

SetDefaults hydrates default values in the make move task order available params (not the query body).

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

func (*MakeMoveTaskOrderAvailableParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the make move task order available params

func (*MakeMoveTaskOrderAvailableParams) SetIfMatch

func (o *MakeMoveTaskOrderAvailableParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the make move task order available params

func (*MakeMoveTaskOrderAvailableParams) SetMoveTaskOrderID

func (o *MakeMoveTaskOrderAvailableParams) SetMoveTaskOrderID(moveTaskOrderID string)

SetMoveTaskOrderID adds the moveTaskOrderId to the make move task order available params

func (*MakeMoveTaskOrderAvailableParams) SetTimeout

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

SetTimeout adds the timeout to the make move task order available params

func (*MakeMoveTaskOrderAvailableParams) WithContext

WithContext adds the context to the make move task order available params

func (*MakeMoveTaskOrderAvailableParams) WithDefaults

WithDefaults hydrates default values in the make move task order available params (not the query body).

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

func (*MakeMoveTaskOrderAvailableParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the make move task order available params

func (*MakeMoveTaskOrderAvailableParams) WithIfMatch

WithIfMatch adds the ifMatch to the make move task order available params

func (*MakeMoveTaskOrderAvailableParams) WithMoveTaskOrderID

func (o *MakeMoveTaskOrderAvailableParams) WithMoveTaskOrderID(moveTaskOrderID string) *MakeMoveTaskOrderAvailableParams

WithMoveTaskOrderID adds the moveTaskOrderID to the make move task order available params

func (*MakeMoveTaskOrderAvailableParams) WithTimeout

WithTimeout adds the timeout to the make move task order available params

func (*MakeMoveTaskOrderAvailableParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MakeMoveTaskOrderAvailablePreconditionFailed

type MakeMoveTaskOrderAvailablePreconditionFailed struct {
	Payload *supportmessages.ClientError
}

MakeMoveTaskOrderAvailablePreconditionFailed 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 NewMakeMoveTaskOrderAvailablePreconditionFailed

func NewMakeMoveTaskOrderAvailablePreconditionFailed() *MakeMoveTaskOrderAvailablePreconditionFailed

NewMakeMoveTaskOrderAvailablePreconditionFailed creates a MakeMoveTaskOrderAvailablePreconditionFailed with default headers values

func (*MakeMoveTaskOrderAvailablePreconditionFailed) Code

Code gets the status code for the make move task order available precondition failed response

func (*MakeMoveTaskOrderAvailablePreconditionFailed) Error

func (*MakeMoveTaskOrderAvailablePreconditionFailed) GetPayload

func (*MakeMoveTaskOrderAvailablePreconditionFailed) IsClientError

IsClientError returns true when this make move task order available precondition failed response has a 4xx status code

func (*MakeMoveTaskOrderAvailablePreconditionFailed) IsCode

IsCode returns true when this make move task order available precondition failed response a status code equal to that given

func (*MakeMoveTaskOrderAvailablePreconditionFailed) IsRedirect

IsRedirect returns true when this make move task order available precondition failed response has a 3xx status code

func (*MakeMoveTaskOrderAvailablePreconditionFailed) IsServerError

IsServerError returns true when this make move task order available precondition failed response has a 5xx status code

func (*MakeMoveTaskOrderAvailablePreconditionFailed) IsSuccess

IsSuccess returns true when this make move task order available precondition failed response has a 2xx status code

func (*MakeMoveTaskOrderAvailablePreconditionFailed) String

type MakeMoveTaskOrderAvailableReader

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

MakeMoveTaskOrderAvailableReader is a Reader for the MakeMoveTaskOrderAvailable structure.

func (*MakeMoveTaskOrderAvailableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MakeMoveTaskOrderAvailableUnauthorized

type MakeMoveTaskOrderAvailableUnauthorized struct {
	Payload *supportmessages.ClientError
}

MakeMoveTaskOrderAvailableUnauthorized describes a response with status code 401, with default header values.

The request was denied.

func NewMakeMoveTaskOrderAvailableUnauthorized

func NewMakeMoveTaskOrderAvailableUnauthorized() *MakeMoveTaskOrderAvailableUnauthorized

NewMakeMoveTaskOrderAvailableUnauthorized creates a MakeMoveTaskOrderAvailableUnauthorized with default headers values

func (*MakeMoveTaskOrderAvailableUnauthorized) Code

Code gets the status code for the make move task order available unauthorized response

func (*MakeMoveTaskOrderAvailableUnauthorized) Error

func (*MakeMoveTaskOrderAvailableUnauthorized) GetPayload

func (*MakeMoveTaskOrderAvailableUnauthorized) IsClientError

func (o *MakeMoveTaskOrderAvailableUnauthorized) IsClientError() bool

IsClientError returns true when this make move task order available unauthorized response has a 4xx status code

func (*MakeMoveTaskOrderAvailableUnauthorized) IsCode

IsCode returns true when this make move task order available unauthorized response a status code equal to that given

func (*MakeMoveTaskOrderAvailableUnauthorized) IsRedirect

IsRedirect returns true when this make move task order available unauthorized response has a 3xx status code

func (*MakeMoveTaskOrderAvailableUnauthorized) IsServerError

func (o *MakeMoveTaskOrderAvailableUnauthorized) IsServerError() bool

IsServerError returns true when this make move task order available unauthorized response has a 5xx status code

func (*MakeMoveTaskOrderAvailableUnauthorized) IsSuccess

IsSuccess returns true when this make move task order available unauthorized response has a 2xx status code

func (*MakeMoveTaskOrderAvailableUnauthorized) String

type MakeMoveTaskOrderAvailableUnprocessableEntity

type MakeMoveTaskOrderAvailableUnprocessableEntity struct {
	Payload *supportmessages.ValidationError
}

MakeMoveTaskOrderAvailableUnprocessableEntity describes a response with status code 422, with default header values.

The payload was unprocessable.

func NewMakeMoveTaskOrderAvailableUnprocessableEntity

func NewMakeMoveTaskOrderAvailableUnprocessableEntity() *MakeMoveTaskOrderAvailableUnprocessableEntity

NewMakeMoveTaskOrderAvailableUnprocessableEntity creates a MakeMoveTaskOrderAvailableUnprocessableEntity with default headers values

func (*MakeMoveTaskOrderAvailableUnprocessableEntity) Code

Code gets the status code for the make move task order available unprocessable entity response

func (*MakeMoveTaskOrderAvailableUnprocessableEntity) Error

func (*MakeMoveTaskOrderAvailableUnprocessableEntity) GetPayload

func (*MakeMoveTaskOrderAvailableUnprocessableEntity) IsClientError

IsClientError returns true when this make move task order available unprocessable entity response has a 4xx status code

func (*MakeMoveTaskOrderAvailableUnprocessableEntity) IsCode

IsCode returns true when this make move task order available unprocessable entity response a status code equal to that given

func (*MakeMoveTaskOrderAvailableUnprocessableEntity) IsRedirect

IsRedirect returns true when this make move task order available unprocessable entity response has a 3xx status code

func (*MakeMoveTaskOrderAvailableUnprocessableEntity) IsServerError

IsServerError returns true when this make move task order available unprocessable entity response has a 5xx status code

func (*MakeMoveTaskOrderAvailableUnprocessableEntity) IsSuccess

IsSuccess returns true when this make move task order available unprocessable entity response has a 2xx status code

func (*MakeMoveTaskOrderAvailableUnprocessableEntity) String

Jump to

Keyboard shortcuts

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