mto_shipment

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: 10 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 mto shipment API

func (*Client) CreateMTOAgent

func (a *Client) CreateMTOAgent(params *CreateMTOAgentParams, opts ...ClientOption) (*CreateMTOAgentOK, error)
CreateMTOAgent creates m t o agent

### Functionality

This endpoint is used to **create** and add agents for an existing MTO Shipment. Only the fields being modified need to be sent in the request body.

### Errors The agent must always have a name and at least one method of contact (either `email` or `phone`).

The agent must be associated with the MTO shipment passed in the url.

The shipment should be associated with an MTO that is available to the Pime. If the caller requests a new agent, and the shipment is not on an available MTO, the caller will receive a **NotFound** response.

func (*Client) CreateMTOShipment

func (a *Client) CreateMTOShipment(params *CreateMTOShipmentParams, opts ...ClientOption) (*CreateMTOShipmentOK, error)
CreateMTOShipment creates m t o shipment

_[Deprecated: sunset on 2024-04-08]_ This endpoint is deprecated and will be removed in a future version.

Please use the new endpoint at `/prime/v2/createMTOShipment` instead.

Creates a new shipment within the specified move. This endpoint should be used whenever the movers identify a need for an additional shipment. The new shipment will be submitted to the TOO for review, and the TOO must approve it before the contractor can proceed with billing.

**WIP**: The Prime should be notified by a push notification whenever the TOO approves a shipment connected to one of their moves. Otherwise, the Prime can fetch the related move using the [getMoveTaskOrder](#operation/getMoveTaskOrder) endpoint and see if this shipment has the status `"APPROVED"`.

func (*Client) CreateSITExtension

func (a *Client) CreateSITExtension(params *CreateSITExtensionParams, opts ...ClientOption) (*CreateSITExtensionCreated, error)
CreateSITExtension creates s i t extension

### Functionality

This endpoint creates a storage in transit (SIT) extension request for a shipment. A SIT extension request is a request an increase in the shipment day allowance for the number of days a shipment is allowed to be in SIT. The total SIT day allowance includes time spent in both origin and destination SIT.

func (*Client) DeleteMTOShipment

func (a *Client) DeleteMTOShipment(params *DeleteMTOShipmentParams, opts ...ClientOption) (*DeleteMTOShipmentNoContent, error)
DeleteMTOShipment deletes m t o shipment

### Functionality

This endpoint deletes an individual shipment by ID.

### Errors * The mtoShipment should be associated with an MTO that is available to prime. * The mtoShipment must be a PPM shipment. * Counseling should not have already been completed for the associated MTO.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateMTOAgent

func (a *Client) UpdateMTOAgent(params *UpdateMTOAgentParams, opts ...ClientOption) (*UpdateMTOAgentOK, error)
UpdateMTOAgent updates m t o agent

### Functionality

This endpoint is used to **update** the agents for an MTO Shipment. Only the fields being modified need to be sent in the request body.

### Errors: The agent must always have a name and at least one method of contact (either `email` or `phone`).

The agent must be associated with the MTO shipment passed in the url.

The shipment should be associated with an MTO that is available to the Prime. If the caller requests an update to an agent, and the shipment is not on an available MTO, the caller will receive a **NotFound** response.

func (*Client) UpdateMTOShipment

func (a *Client) UpdateMTOShipment(params *UpdateMTOShipmentParams, opts ...ClientOption) (*UpdateMTOShipmentOK, error)
UpdateMTOShipment updates m t o shipment

_[Deprecated: sunset on August 5th, 2024]_ This endpoint is deprecated and will be removed in a future version.

Please use the new endpoint at `/prime/v2/updateMTOShipment` instead.

**DEPRECATION ON AUGUST 5TH, 2024** Following deprecation, there is an edge case scenario where a PPM shipment with no addresses could be updated and it would also update the final destination SIT address for SIT service items. This edge case has been removed as you should not be able to update items using this endpoint. Third-party APIs have confirmed they will require deprecation for this change.

Updates an existing shipment for a move.

Note that there are some restrictions on nested objects:

* Service items: You cannot add or update service items using this endpoint. Please use [createMTOServiceItem](#operation/createMTOServiceItem) and [updateMTOServiceItem](#operation/updateMTOServiceItem) instead. * Agents: You cannot add or update agents using this endpoint. Please use [createMTOAgent](#operation/createMTOAgent) and [updateMTOAgent](#operation/updateMTOAgent) instead. * Addresses: You can add new addresses using this endpoint (and must use this endpoint to do so), but you cannot update existing ones. Please use [updateMTOShipmentAddress](#operation/updateMTOShipmentAddress) instead.

These restrictions are due to our [optimistic locking/concurrency control](https://transcom.github.io/mymove-docs/docs/dev/contributing/backend/use-optimistic-locking) mechanism.

Note that some fields cannot be manually changed but will still be updated automatically, such as `primeEstimatedWeightRecordedDate` and `requiredDeliveryDate`.

func (*Client) UpdateMTOShipmentAddress

func (a *Client) UpdateMTOShipmentAddress(params *UpdateMTOShipmentAddressParams, opts ...ClientOption) (*UpdateMTOShipmentAddressOK, error)
UpdateMTOShipmentAddress updates m t o shipment address

### Functionality

This endpoint is used to **update** the pickup, secondary, and destination addresses on an MTO Shipment. mto-shipments/{mtoShipmentID}/shipment-address-updates is for updating a delivery address. The address details completely replace the original, except for the UUID. Therefore a complete address should be sent in the request. When a destination address on a shipment is updated, the destination SIT service items address ID will also be updated so that shipment and service item final destinations match.

This endpoint **cannot create** an address. To create an address on an MTO shipment, the caller must use [updateMTOShipment](#operation/updateMTOShipment) as the parent shipment has to be updated with the appropriate link to the address.

### Errors The address must be associated with the mtoShipment passed in the url. In other words, it should be listed as pickupAddress, destinationAddress, secondaryPickupAddress or secondaryDeliveryAddress on the mtoShipment provided. If it is not, caller will receive a **Conflict** Error.

The mtoShipment should be associated with an MTO that is available to prime. If the caller requests an update to an address, and the shipment is not on an available MTO, the caller will receive a **NotFound** Error.

func (*Client) UpdateMTOShipmentStatus

func (a *Client) UpdateMTOShipmentStatus(params *UpdateMTOShipmentStatusParams, opts ...ClientOption) (*UpdateMTOShipmentStatusOK, error)
UpdateMTOShipmentStatus updates m t o shipment status

### Functionality

This endpoint should be used by the Prime to confirm the cancellation of a shipment. It allows the shipment status to be changed to "CANCELED." Currently, the Prime cannot update the shipment to any other status.

func (*Client) UpdateReweigh

func (a *Client) UpdateReweigh(params *UpdateReweighParams, opts ...ClientOption) (*UpdateReweighOK, error)
UpdateReweigh updates reweigh

### Functionality

This endpoint can be used to update a reweigh with a new weight or to provide the reason why a reweigh did not occur. Only one of weight or verificationReason should be sent in the request body.

A reweigh is the second recorded weight for a shipment, as validated by certified weight tickets. Applies to one shipment. A reweigh can be triggered automatically, or requested by the customer or transportation office. Not all shipments are reweighed, so not all shipments will have a reweigh weight.

func (*Client) UpdateShipmentDestinationAddress

func (a *Client) UpdateShipmentDestinationAddress(params *UpdateShipmentDestinationAddressParams, opts ...ClientOption) (*UpdateShipmentDestinationAddressCreated, error)
UpdateShipmentDestinationAddress updates shipment destination address

### Functionality

This endpoint is used so the Prime can request an **update** for the destination address on an MTO Shipment, after the destination address has already been approved. If automatically approved or TOO approves, this will update the final destination address values for destination SIT service items to be the same as the changed destination address that was approved. Address updates will be automatically approved unless they change:

  • The service area
  • Mileage bracket for direct delivery
  • the address and the distance between the old and new address is > 50
  • Domestic Short Haul to Domestic Line Haul or vice versa
  • Shipments that start and end in one ZIP3 use Short Haul pricing
  • Shipments that start and end in different ZIP3s use Line Haul pricing

For those, changes will require TOO approval.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateMTOAgent(params *CreateMTOAgentParams, opts ...ClientOption) (*CreateMTOAgentOK, error)

	CreateMTOShipment(params *CreateMTOShipmentParams, opts ...ClientOption) (*CreateMTOShipmentOK, error)

	CreateSITExtension(params *CreateSITExtensionParams, opts ...ClientOption) (*CreateSITExtensionCreated, error)

	DeleteMTOShipment(params *DeleteMTOShipmentParams, opts ...ClientOption) (*DeleteMTOShipmentNoContent, error)

	UpdateMTOAgent(params *UpdateMTOAgentParams, opts ...ClientOption) (*UpdateMTOAgentOK, error)

	UpdateMTOShipment(params *UpdateMTOShipmentParams, opts ...ClientOption) (*UpdateMTOShipmentOK, error)

	UpdateMTOShipmentAddress(params *UpdateMTOShipmentAddressParams, opts ...ClientOption) (*UpdateMTOShipmentAddressOK, error)

	UpdateMTOShipmentStatus(params *UpdateMTOShipmentStatusParams, opts ...ClientOption) (*UpdateMTOShipmentStatusOK, error)

	UpdateReweigh(params *UpdateReweighParams, opts ...ClientOption) (*UpdateReweighOK, error)

	UpdateShipmentDestinationAddress(params *UpdateShipmentDestinationAddressParams, opts ...ClientOption) (*UpdateShipmentDestinationAddressCreated, 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 shipment API client.

type CreateMTOAgentBadRequest

type CreateMTOAgentBadRequest struct {
	Payload *primemessages.ClientError
}

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

The request payload is invalid.

func NewCreateMTOAgentBadRequest

func NewCreateMTOAgentBadRequest() *CreateMTOAgentBadRequest

NewCreateMTOAgentBadRequest creates a CreateMTOAgentBadRequest with default headers values

func (*CreateMTOAgentBadRequest) Code

func (o *CreateMTOAgentBadRequest) Code() int

Code gets the status code for the create m t o agent bad request response

func (*CreateMTOAgentBadRequest) Error

func (o *CreateMTOAgentBadRequest) Error() string

func (*CreateMTOAgentBadRequest) GetPayload

func (*CreateMTOAgentBadRequest) IsClientError

func (o *CreateMTOAgentBadRequest) IsClientError() bool

IsClientError returns true when this create m t o agent bad request response has a 4xx status code

func (*CreateMTOAgentBadRequest) IsCode

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

IsCode returns true when this create m t o agent bad request response a status code equal to that given

func (*CreateMTOAgentBadRequest) IsRedirect

func (o *CreateMTOAgentBadRequest) IsRedirect() bool

IsRedirect returns true when this create m t o agent bad request response has a 3xx status code

func (*CreateMTOAgentBadRequest) IsServerError

func (o *CreateMTOAgentBadRequest) IsServerError() bool

IsServerError returns true when this create m t o agent bad request response has a 5xx status code

func (*CreateMTOAgentBadRequest) IsSuccess

func (o *CreateMTOAgentBadRequest) IsSuccess() bool

IsSuccess returns true when this create m t o agent bad request response has a 2xx status code

func (*CreateMTOAgentBadRequest) String

func (o *CreateMTOAgentBadRequest) String() string

type CreateMTOAgentConflict

type CreateMTOAgentConflict struct {
	Payload *primemessages.ClientError
}

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

The request could not be processed because of conflict in the current state of the resource.

func NewCreateMTOAgentConflict

func NewCreateMTOAgentConflict() *CreateMTOAgentConflict

NewCreateMTOAgentConflict creates a CreateMTOAgentConflict with default headers values

func (*CreateMTOAgentConflict) Code

func (o *CreateMTOAgentConflict) Code() int

Code gets the status code for the create m t o agent conflict response

func (*CreateMTOAgentConflict) Error

func (o *CreateMTOAgentConflict) Error() string

func (*CreateMTOAgentConflict) GetPayload

func (*CreateMTOAgentConflict) IsClientError

func (o *CreateMTOAgentConflict) IsClientError() bool

IsClientError returns true when this create m t o agent conflict response has a 4xx status code

func (*CreateMTOAgentConflict) IsCode

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

IsCode returns true when this create m t o agent conflict response a status code equal to that given

func (*CreateMTOAgentConflict) IsRedirect

func (o *CreateMTOAgentConflict) IsRedirect() bool

IsRedirect returns true when this create m t o agent conflict response has a 3xx status code

func (*CreateMTOAgentConflict) IsServerError

func (o *CreateMTOAgentConflict) IsServerError() bool

IsServerError returns true when this create m t o agent conflict response has a 5xx status code

func (*CreateMTOAgentConflict) IsSuccess

func (o *CreateMTOAgentConflict) IsSuccess() bool

IsSuccess returns true when this create m t o agent conflict response has a 2xx status code

func (*CreateMTOAgentConflict) String

func (o *CreateMTOAgentConflict) String() string

type CreateMTOAgentForbidden

type CreateMTOAgentForbidden struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewCreateMTOAgentForbidden

func NewCreateMTOAgentForbidden() *CreateMTOAgentForbidden

NewCreateMTOAgentForbidden creates a CreateMTOAgentForbidden with default headers values

func (*CreateMTOAgentForbidden) Code

func (o *CreateMTOAgentForbidden) Code() int

Code gets the status code for the create m t o agent forbidden response

func (*CreateMTOAgentForbidden) Error

func (o *CreateMTOAgentForbidden) Error() string

func (*CreateMTOAgentForbidden) GetPayload

func (*CreateMTOAgentForbidden) IsClientError

func (o *CreateMTOAgentForbidden) IsClientError() bool

IsClientError returns true when this create m t o agent forbidden response has a 4xx status code

func (*CreateMTOAgentForbidden) IsCode

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

IsCode returns true when this create m t o agent forbidden response a status code equal to that given

func (*CreateMTOAgentForbidden) IsRedirect

func (o *CreateMTOAgentForbidden) IsRedirect() bool

IsRedirect returns true when this create m t o agent forbidden response has a 3xx status code

func (*CreateMTOAgentForbidden) IsServerError

func (o *CreateMTOAgentForbidden) IsServerError() bool

IsServerError returns true when this create m t o agent forbidden response has a 5xx status code

func (*CreateMTOAgentForbidden) IsSuccess

func (o *CreateMTOAgentForbidden) IsSuccess() bool

IsSuccess returns true when this create m t o agent forbidden response has a 2xx status code

func (*CreateMTOAgentForbidden) String

func (o *CreateMTOAgentForbidden) String() string

type CreateMTOAgentInternalServerError

type CreateMTOAgentInternalServerError struct {
	Payload *primemessages.Error
}

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

A server error occurred.

func NewCreateMTOAgentInternalServerError

func NewCreateMTOAgentInternalServerError() *CreateMTOAgentInternalServerError

NewCreateMTOAgentInternalServerError creates a CreateMTOAgentInternalServerError with default headers values

func (*CreateMTOAgentInternalServerError) Code

Code gets the status code for the create m t o agent internal server error response

func (*CreateMTOAgentInternalServerError) Error

func (*CreateMTOAgentInternalServerError) GetPayload

func (*CreateMTOAgentInternalServerError) IsClientError

func (o *CreateMTOAgentInternalServerError) IsClientError() bool

IsClientError returns true when this create m t o agent internal server error response has a 4xx status code

func (*CreateMTOAgentInternalServerError) IsCode

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

IsCode returns true when this create m t o agent internal server error response a status code equal to that given

func (*CreateMTOAgentInternalServerError) IsRedirect

func (o *CreateMTOAgentInternalServerError) IsRedirect() bool

IsRedirect returns true when this create m t o agent internal server error response has a 3xx status code

func (*CreateMTOAgentInternalServerError) IsServerError

func (o *CreateMTOAgentInternalServerError) IsServerError() bool

IsServerError returns true when this create m t o agent internal server error response has a 5xx status code

func (*CreateMTOAgentInternalServerError) IsSuccess

func (o *CreateMTOAgentInternalServerError) IsSuccess() bool

IsSuccess returns true when this create m t o agent internal server error response has a 2xx status code

func (*CreateMTOAgentInternalServerError) String

type CreateMTOAgentNotFound

type CreateMTOAgentNotFound struct {
	Payload *primemessages.ClientError
}

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

The requested resource wasn't found.

func NewCreateMTOAgentNotFound

func NewCreateMTOAgentNotFound() *CreateMTOAgentNotFound

NewCreateMTOAgentNotFound creates a CreateMTOAgentNotFound with default headers values

func (*CreateMTOAgentNotFound) Code

func (o *CreateMTOAgentNotFound) Code() int

Code gets the status code for the create m t o agent not found response

func (*CreateMTOAgentNotFound) Error

func (o *CreateMTOAgentNotFound) Error() string

func (*CreateMTOAgentNotFound) GetPayload

func (*CreateMTOAgentNotFound) IsClientError

func (o *CreateMTOAgentNotFound) IsClientError() bool

IsClientError returns true when this create m t o agent not found response has a 4xx status code

func (*CreateMTOAgentNotFound) IsCode

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

IsCode returns true when this create m t o agent not found response a status code equal to that given

func (*CreateMTOAgentNotFound) IsRedirect

func (o *CreateMTOAgentNotFound) IsRedirect() bool

IsRedirect returns true when this create m t o agent not found response has a 3xx status code

func (*CreateMTOAgentNotFound) IsServerError

func (o *CreateMTOAgentNotFound) IsServerError() bool

IsServerError returns true when this create m t o agent not found response has a 5xx status code

func (*CreateMTOAgentNotFound) IsSuccess

func (o *CreateMTOAgentNotFound) IsSuccess() bool

IsSuccess returns true when this create m t o agent not found response has a 2xx status code

func (*CreateMTOAgentNotFound) String

func (o *CreateMTOAgentNotFound) String() string

type CreateMTOAgentOK

type CreateMTOAgentOK struct {
	Payload *primemessages.MTOAgent
}

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

Successfully added the agent.

func NewCreateMTOAgentOK

func NewCreateMTOAgentOK() *CreateMTOAgentOK

NewCreateMTOAgentOK creates a CreateMTOAgentOK with default headers values

func (*CreateMTOAgentOK) Code

func (o *CreateMTOAgentOK) Code() int

Code gets the status code for the create m t o agent o k response

func (*CreateMTOAgentOK) Error

func (o *CreateMTOAgentOK) Error() string

func (*CreateMTOAgentOK) GetPayload

func (o *CreateMTOAgentOK) GetPayload() *primemessages.MTOAgent

func (*CreateMTOAgentOK) IsClientError

func (o *CreateMTOAgentOK) IsClientError() bool

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

func (*CreateMTOAgentOK) IsCode

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

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

func (*CreateMTOAgentOK) IsRedirect

func (o *CreateMTOAgentOK) IsRedirect() bool

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

func (*CreateMTOAgentOK) IsServerError

func (o *CreateMTOAgentOK) IsServerError() bool

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

func (*CreateMTOAgentOK) IsSuccess

func (o *CreateMTOAgentOK) IsSuccess() bool

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

func (*CreateMTOAgentOK) String

func (o *CreateMTOAgentOK) String() string

type CreateMTOAgentParams

type CreateMTOAgentParams struct {

	// Body.
	Body *primemessages.MTOAgent

	/* MtoShipmentID.

	   UUID of the shipment associated with the agent

	   Format: uuid
	*/
	MtoShipmentID strfmt.UUID

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

CreateMTOAgentParams contains all the parameters to send to the API endpoint

for the create m t o agent operation.

Typically these are written to a http.Request.

func NewCreateMTOAgentParams

func NewCreateMTOAgentParams() *CreateMTOAgentParams

NewCreateMTOAgentParams creates a new CreateMTOAgentParams 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 NewCreateMTOAgentParamsWithContext

func NewCreateMTOAgentParamsWithContext(ctx context.Context) *CreateMTOAgentParams

NewCreateMTOAgentParamsWithContext creates a new CreateMTOAgentParams object with the ability to set a context for a request.

func NewCreateMTOAgentParamsWithHTTPClient

func NewCreateMTOAgentParamsWithHTTPClient(client *http.Client) *CreateMTOAgentParams

NewCreateMTOAgentParamsWithHTTPClient creates a new CreateMTOAgentParams object with the ability to set a custom HTTPClient for a request.

func NewCreateMTOAgentParamsWithTimeout

func NewCreateMTOAgentParamsWithTimeout(timeout time.Duration) *CreateMTOAgentParams

NewCreateMTOAgentParamsWithTimeout creates a new CreateMTOAgentParams object with the ability to set a timeout on a request.

func (*CreateMTOAgentParams) SetBody

func (o *CreateMTOAgentParams) SetBody(body *primemessages.MTOAgent)

SetBody adds the body to the create m t o agent params

func (*CreateMTOAgentParams) SetContext

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

SetContext adds the context to the create m t o agent params

func (*CreateMTOAgentParams) SetDefaults

func (o *CreateMTOAgentParams) SetDefaults()

SetDefaults hydrates default values in the create m t o agent params (not the query body).

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

func (*CreateMTOAgentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create m t o agent params

func (*CreateMTOAgentParams) SetMtoShipmentID

func (o *CreateMTOAgentParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)

SetMtoShipmentID adds the mtoShipmentId to the create m t o agent params

func (*CreateMTOAgentParams) SetTimeout

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

SetTimeout adds the timeout to the create m t o agent params

func (*CreateMTOAgentParams) WithBody

WithBody adds the body to the create m t o agent params

func (*CreateMTOAgentParams) WithContext

WithContext adds the context to the create m t o agent params

func (*CreateMTOAgentParams) WithDefaults

func (o *CreateMTOAgentParams) WithDefaults() *CreateMTOAgentParams

WithDefaults hydrates default values in the create m t o agent params (not the query body).

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

func (*CreateMTOAgentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create m t o agent params

func (*CreateMTOAgentParams) WithMtoShipmentID

func (o *CreateMTOAgentParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *CreateMTOAgentParams

WithMtoShipmentID adds the mtoShipmentID to the create m t o agent params

func (*CreateMTOAgentParams) WithTimeout

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

WithTimeout adds the timeout to the create m t o agent params

func (*CreateMTOAgentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateMTOAgentReader

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

CreateMTOAgentReader is a Reader for the CreateMTOAgent structure.

func (*CreateMTOAgentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateMTOAgentUnauthorized

type CreateMTOAgentUnauthorized struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewCreateMTOAgentUnauthorized

func NewCreateMTOAgentUnauthorized() *CreateMTOAgentUnauthorized

NewCreateMTOAgentUnauthorized creates a CreateMTOAgentUnauthorized with default headers values

func (*CreateMTOAgentUnauthorized) Code

func (o *CreateMTOAgentUnauthorized) Code() int

Code gets the status code for the create m t o agent unauthorized response

func (*CreateMTOAgentUnauthorized) Error

func (*CreateMTOAgentUnauthorized) GetPayload

func (*CreateMTOAgentUnauthorized) IsClientError

func (o *CreateMTOAgentUnauthorized) IsClientError() bool

IsClientError returns true when this create m t o agent unauthorized response has a 4xx status code

func (*CreateMTOAgentUnauthorized) IsCode

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

IsCode returns true when this create m t o agent unauthorized response a status code equal to that given

func (*CreateMTOAgentUnauthorized) IsRedirect

func (o *CreateMTOAgentUnauthorized) IsRedirect() bool

IsRedirect returns true when this create m t o agent unauthorized response has a 3xx status code

func (*CreateMTOAgentUnauthorized) IsServerError

func (o *CreateMTOAgentUnauthorized) IsServerError() bool

IsServerError returns true when this create m t o agent unauthorized response has a 5xx status code

func (*CreateMTOAgentUnauthorized) IsSuccess

func (o *CreateMTOAgentUnauthorized) IsSuccess() bool

IsSuccess returns true when this create m t o agent unauthorized response has a 2xx status code

func (*CreateMTOAgentUnauthorized) String

func (o *CreateMTOAgentUnauthorized) String() string

type CreateMTOAgentUnprocessableEntity

type CreateMTOAgentUnprocessableEntity struct {
	Payload *primemessages.ValidationError
}

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

The request was unprocessable, likely due to bad input from the requester.

func NewCreateMTOAgentUnprocessableEntity

func NewCreateMTOAgentUnprocessableEntity() *CreateMTOAgentUnprocessableEntity

NewCreateMTOAgentUnprocessableEntity creates a CreateMTOAgentUnprocessableEntity with default headers values

func (*CreateMTOAgentUnprocessableEntity) Code

Code gets the status code for the create m t o agent unprocessable entity response

func (*CreateMTOAgentUnprocessableEntity) Error

func (*CreateMTOAgentUnprocessableEntity) GetPayload

func (*CreateMTOAgentUnprocessableEntity) IsClientError

func (o *CreateMTOAgentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create m t o agent unprocessable entity response has a 4xx status code

func (*CreateMTOAgentUnprocessableEntity) IsCode

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

IsCode returns true when this create m t o agent unprocessable entity response a status code equal to that given

func (*CreateMTOAgentUnprocessableEntity) IsRedirect

func (o *CreateMTOAgentUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create m t o agent unprocessable entity response has a 3xx status code

func (*CreateMTOAgentUnprocessableEntity) IsServerError

func (o *CreateMTOAgentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create m t o agent unprocessable entity response has a 5xx status code

func (*CreateMTOAgentUnprocessableEntity) IsSuccess

func (o *CreateMTOAgentUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this create m t o agent unprocessable entity response has a 2xx status code

func (*CreateMTOAgentUnprocessableEntity) String

type CreateMTOShipmentBadRequest

type CreateMTOShipmentBadRequest struct {
	Payload *primemessages.ClientError
}

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

The request payload is invalid.

func NewCreateMTOShipmentBadRequest

func NewCreateMTOShipmentBadRequest() *CreateMTOShipmentBadRequest

NewCreateMTOShipmentBadRequest creates a CreateMTOShipmentBadRequest with default headers values

func (*CreateMTOShipmentBadRequest) Code

func (o *CreateMTOShipmentBadRequest) Code() int

Code gets the status code for the create m t o shipment bad request response

func (*CreateMTOShipmentBadRequest) Error

func (*CreateMTOShipmentBadRequest) GetPayload

func (*CreateMTOShipmentBadRequest) IsClientError

func (o *CreateMTOShipmentBadRequest) IsClientError() bool

IsClientError returns true when this create m t o shipment bad request response has a 4xx status code

func (*CreateMTOShipmentBadRequest) IsCode

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

IsCode returns true when this create m t o shipment bad request response a status code equal to that given

func (*CreateMTOShipmentBadRequest) IsRedirect

func (o *CreateMTOShipmentBadRequest) IsRedirect() bool

IsRedirect returns true when this create m t o shipment bad request response has a 3xx status code

func (*CreateMTOShipmentBadRequest) IsServerError

func (o *CreateMTOShipmentBadRequest) IsServerError() bool

IsServerError returns true when this create m t o shipment bad request response has a 5xx status code

func (*CreateMTOShipmentBadRequest) IsSuccess

func (o *CreateMTOShipmentBadRequest) IsSuccess() bool

IsSuccess returns true when this create m t o shipment bad request response has a 2xx status code

func (*CreateMTOShipmentBadRequest) String

func (o *CreateMTOShipmentBadRequest) String() string

type CreateMTOShipmentInternalServerError

type CreateMTOShipmentInternalServerError struct {
	Payload *primemessages.Error
}

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

A server error occurred.

func NewCreateMTOShipmentInternalServerError

func NewCreateMTOShipmentInternalServerError() *CreateMTOShipmentInternalServerError

NewCreateMTOShipmentInternalServerError creates a CreateMTOShipmentInternalServerError with default headers values

func (*CreateMTOShipmentInternalServerError) Code

Code gets the status code for the create m t o shipment internal server error response

func (*CreateMTOShipmentInternalServerError) Error

func (*CreateMTOShipmentInternalServerError) GetPayload

func (*CreateMTOShipmentInternalServerError) IsClientError

func (o *CreateMTOShipmentInternalServerError) IsClientError() bool

IsClientError returns true when this create m t o shipment internal server error response has a 4xx status code

func (*CreateMTOShipmentInternalServerError) IsCode

IsCode returns true when this create m t o shipment internal server error response a status code equal to that given

func (*CreateMTOShipmentInternalServerError) IsRedirect

IsRedirect returns true when this create m t o shipment internal server error response has a 3xx status code

func (*CreateMTOShipmentInternalServerError) IsServerError

func (o *CreateMTOShipmentInternalServerError) IsServerError() bool

IsServerError returns true when this create m t o shipment internal server error response has a 5xx status code

func (*CreateMTOShipmentInternalServerError) IsSuccess

IsSuccess returns true when this create m t o shipment internal server error response has a 2xx status code

func (*CreateMTOShipmentInternalServerError) String

type CreateMTOShipmentNotFound

type CreateMTOShipmentNotFound struct {
	Payload *primemessages.ClientError
}

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

The requested resource wasn't found.

func NewCreateMTOShipmentNotFound

func NewCreateMTOShipmentNotFound() *CreateMTOShipmentNotFound

NewCreateMTOShipmentNotFound creates a CreateMTOShipmentNotFound with default headers values

func (*CreateMTOShipmentNotFound) Code

func (o *CreateMTOShipmentNotFound) Code() int

Code gets the status code for the create m t o shipment not found response

func (*CreateMTOShipmentNotFound) Error

func (o *CreateMTOShipmentNotFound) Error() string

func (*CreateMTOShipmentNotFound) GetPayload

func (*CreateMTOShipmentNotFound) IsClientError

func (o *CreateMTOShipmentNotFound) IsClientError() bool

IsClientError returns true when this create m t o shipment not found response has a 4xx status code

func (*CreateMTOShipmentNotFound) IsCode

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

IsCode returns true when this create m t o shipment not found response a status code equal to that given

func (*CreateMTOShipmentNotFound) IsRedirect

func (o *CreateMTOShipmentNotFound) IsRedirect() bool

IsRedirect returns true when this create m t o shipment not found response has a 3xx status code

func (*CreateMTOShipmentNotFound) IsServerError

func (o *CreateMTOShipmentNotFound) IsServerError() bool

IsServerError returns true when this create m t o shipment not found response has a 5xx status code

func (*CreateMTOShipmentNotFound) IsSuccess

func (o *CreateMTOShipmentNotFound) IsSuccess() bool

IsSuccess returns true when this create m t o shipment not found response has a 2xx status code

func (*CreateMTOShipmentNotFound) String

func (o *CreateMTOShipmentNotFound) String() string

type CreateMTOShipmentOK

type CreateMTOShipmentOK struct {
	Payload *primemessages.MTOShipment
}

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

Successfully created a MTO shipment.

func NewCreateMTOShipmentOK

func NewCreateMTOShipmentOK() *CreateMTOShipmentOK

NewCreateMTOShipmentOK creates a CreateMTOShipmentOK with default headers values

func (*CreateMTOShipmentOK) Code

func (o *CreateMTOShipmentOK) Code() int

Code gets the status code for the create m t o shipment o k response

func (*CreateMTOShipmentOK) Error

func (o *CreateMTOShipmentOK) Error() string

func (*CreateMTOShipmentOK) GetPayload

func (*CreateMTOShipmentOK) IsClientError

func (o *CreateMTOShipmentOK) IsClientError() bool

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

func (*CreateMTOShipmentOK) IsCode

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

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

func (*CreateMTOShipmentOK) IsRedirect

func (o *CreateMTOShipmentOK) IsRedirect() bool

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

func (*CreateMTOShipmentOK) IsServerError

func (o *CreateMTOShipmentOK) IsServerError() bool

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

func (*CreateMTOShipmentOK) IsSuccess

func (o *CreateMTOShipmentOK) IsSuccess() bool

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

func (*CreateMTOShipmentOK) String

func (o *CreateMTOShipmentOK) String() string

type CreateMTOShipmentParams

type CreateMTOShipmentParams struct {

	// Body.
	Body *primemessages.CreateMTOShipment

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

CreateMTOShipmentParams contains all the parameters to send to the API endpoint

for the create m t o shipment operation.

Typically these are written to a http.Request.

func NewCreateMTOShipmentParams

func NewCreateMTOShipmentParams() *CreateMTOShipmentParams

NewCreateMTOShipmentParams creates a new CreateMTOShipmentParams 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 NewCreateMTOShipmentParamsWithContext

func NewCreateMTOShipmentParamsWithContext(ctx context.Context) *CreateMTOShipmentParams

NewCreateMTOShipmentParamsWithContext creates a new CreateMTOShipmentParams object with the ability to set a context for a request.

func NewCreateMTOShipmentParamsWithHTTPClient

func NewCreateMTOShipmentParamsWithHTTPClient(client *http.Client) *CreateMTOShipmentParams

NewCreateMTOShipmentParamsWithHTTPClient creates a new CreateMTOShipmentParams object with the ability to set a custom HTTPClient for a request.

func NewCreateMTOShipmentParamsWithTimeout

func NewCreateMTOShipmentParamsWithTimeout(timeout time.Duration) *CreateMTOShipmentParams

NewCreateMTOShipmentParamsWithTimeout creates a new CreateMTOShipmentParams object with the ability to set a timeout on a request.

func (*CreateMTOShipmentParams) SetBody

SetBody adds the body to the create m t o shipment params

func (*CreateMTOShipmentParams) SetContext

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

SetContext adds the context to the create m t o shipment params

func (*CreateMTOShipmentParams) SetDefaults

func (o *CreateMTOShipmentParams) SetDefaults()

SetDefaults hydrates default values in the create m t o shipment params (not the query body).

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

func (*CreateMTOShipmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create m t o shipment params

func (*CreateMTOShipmentParams) SetTimeout

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

SetTimeout adds the timeout to the create m t o shipment params

func (*CreateMTOShipmentParams) WithBody

WithBody adds the body to the create m t o shipment params

func (*CreateMTOShipmentParams) WithContext

WithContext adds the context to the create m t o shipment params

func (*CreateMTOShipmentParams) WithDefaults

WithDefaults hydrates default values in the create m t o shipment params (not the query body).

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

func (*CreateMTOShipmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create m t o shipment params

func (*CreateMTOShipmentParams) WithTimeout

WithTimeout adds the timeout to the create m t o shipment params

func (*CreateMTOShipmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateMTOShipmentReader

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

CreateMTOShipmentReader is a Reader for the CreateMTOShipment structure.

func (*CreateMTOShipmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateMTOShipmentUnprocessableEntity

type CreateMTOShipmentUnprocessableEntity struct {
	Payload *primemessages.ValidationError
}

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

The request was unprocessable, likely due to bad input from the requester.

func NewCreateMTOShipmentUnprocessableEntity

func NewCreateMTOShipmentUnprocessableEntity() *CreateMTOShipmentUnprocessableEntity

NewCreateMTOShipmentUnprocessableEntity creates a CreateMTOShipmentUnprocessableEntity with default headers values

func (*CreateMTOShipmentUnprocessableEntity) Code

Code gets the status code for the create m t o shipment unprocessable entity response

func (*CreateMTOShipmentUnprocessableEntity) Error

func (*CreateMTOShipmentUnprocessableEntity) GetPayload

func (*CreateMTOShipmentUnprocessableEntity) IsClientError

func (o *CreateMTOShipmentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create m t o shipment unprocessable entity response has a 4xx status code

func (*CreateMTOShipmentUnprocessableEntity) IsCode

IsCode returns true when this create m t o shipment unprocessable entity response a status code equal to that given

func (*CreateMTOShipmentUnprocessableEntity) IsRedirect

IsRedirect returns true when this create m t o shipment unprocessable entity response has a 3xx status code

func (*CreateMTOShipmentUnprocessableEntity) IsServerError

func (o *CreateMTOShipmentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create m t o shipment unprocessable entity response has a 5xx status code

func (*CreateMTOShipmentUnprocessableEntity) IsSuccess

IsSuccess returns true when this create m t o shipment unprocessable entity response has a 2xx status code

func (*CreateMTOShipmentUnprocessableEntity) String

type CreateSITExtensionBadRequest

type CreateSITExtensionBadRequest struct {
	Payload *primemessages.ClientError
}

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

The request payload is invalid.

func NewCreateSITExtensionBadRequest

func NewCreateSITExtensionBadRequest() *CreateSITExtensionBadRequest

NewCreateSITExtensionBadRequest creates a CreateSITExtensionBadRequest with default headers values

func (*CreateSITExtensionBadRequest) Code

Code gets the status code for the create s i t extension bad request response

func (*CreateSITExtensionBadRequest) Error

func (*CreateSITExtensionBadRequest) GetPayload

func (*CreateSITExtensionBadRequest) IsClientError

func (o *CreateSITExtensionBadRequest) IsClientError() bool

IsClientError returns true when this create s i t extension bad request response has a 4xx status code

func (*CreateSITExtensionBadRequest) IsCode

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

IsCode returns true when this create s i t extension bad request response a status code equal to that given

func (*CreateSITExtensionBadRequest) IsRedirect

func (o *CreateSITExtensionBadRequest) IsRedirect() bool

IsRedirect returns true when this create s i t extension bad request response has a 3xx status code

func (*CreateSITExtensionBadRequest) IsServerError

func (o *CreateSITExtensionBadRequest) IsServerError() bool

IsServerError returns true when this create s i t extension bad request response has a 5xx status code

func (*CreateSITExtensionBadRequest) IsSuccess

func (o *CreateSITExtensionBadRequest) IsSuccess() bool

IsSuccess returns true when this create s i t extension bad request response has a 2xx status code

func (*CreateSITExtensionBadRequest) String

type CreateSITExtensionConflict

type CreateSITExtensionConflict struct {
	Payload *primemessages.ClientError
}

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

The request could not be processed because of conflict in the current state of the resource.

func NewCreateSITExtensionConflict

func NewCreateSITExtensionConflict() *CreateSITExtensionConflict

NewCreateSITExtensionConflict creates a CreateSITExtensionConflict with default headers values

func (*CreateSITExtensionConflict) Code

func (o *CreateSITExtensionConflict) Code() int

Code gets the status code for the create s i t extension conflict response

func (*CreateSITExtensionConflict) Error

func (*CreateSITExtensionConflict) GetPayload

func (*CreateSITExtensionConflict) IsClientError

func (o *CreateSITExtensionConflict) IsClientError() bool

IsClientError returns true when this create s i t extension conflict response has a 4xx status code

func (*CreateSITExtensionConflict) IsCode

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

IsCode returns true when this create s i t extension conflict response a status code equal to that given

func (*CreateSITExtensionConflict) IsRedirect

func (o *CreateSITExtensionConflict) IsRedirect() bool

IsRedirect returns true when this create s i t extension conflict response has a 3xx status code

func (*CreateSITExtensionConflict) IsServerError

func (o *CreateSITExtensionConflict) IsServerError() bool

IsServerError returns true when this create s i t extension conflict response has a 5xx status code

func (*CreateSITExtensionConflict) IsSuccess

func (o *CreateSITExtensionConflict) IsSuccess() bool

IsSuccess returns true when this create s i t extension conflict response has a 2xx status code

func (*CreateSITExtensionConflict) String

func (o *CreateSITExtensionConflict) String() string

type CreateSITExtensionCreated

type CreateSITExtensionCreated struct {
	Payload *primemessages.SITExtension
}

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

Successfully created the sit extension request.

func NewCreateSITExtensionCreated

func NewCreateSITExtensionCreated() *CreateSITExtensionCreated

NewCreateSITExtensionCreated creates a CreateSITExtensionCreated with default headers values

func (*CreateSITExtensionCreated) Code

func (o *CreateSITExtensionCreated) Code() int

Code gets the status code for the create s i t extension created response

func (*CreateSITExtensionCreated) Error

func (o *CreateSITExtensionCreated) Error() string

func (*CreateSITExtensionCreated) GetPayload

func (*CreateSITExtensionCreated) IsClientError

func (o *CreateSITExtensionCreated) IsClientError() bool

IsClientError returns true when this create s i t extension created response has a 4xx status code

func (*CreateSITExtensionCreated) IsCode

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

IsCode returns true when this create s i t extension created response a status code equal to that given

func (*CreateSITExtensionCreated) IsRedirect

func (o *CreateSITExtensionCreated) IsRedirect() bool

IsRedirect returns true when this create s i t extension created response has a 3xx status code

func (*CreateSITExtensionCreated) IsServerError

func (o *CreateSITExtensionCreated) IsServerError() bool

IsServerError returns true when this create s i t extension created response has a 5xx status code

func (*CreateSITExtensionCreated) IsSuccess

func (o *CreateSITExtensionCreated) IsSuccess() bool

IsSuccess returns true when this create s i t extension created response has a 2xx status code

func (*CreateSITExtensionCreated) String

func (o *CreateSITExtensionCreated) String() string

type CreateSITExtensionForbidden

type CreateSITExtensionForbidden struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewCreateSITExtensionForbidden

func NewCreateSITExtensionForbidden() *CreateSITExtensionForbidden

NewCreateSITExtensionForbidden creates a CreateSITExtensionForbidden with default headers values

func (*CreateSITExtensionForbidden) Code

func (o *CreateSITExtensionForbidden) Code() int

Code gets the status code for the create s i t extension forbidden response

func (*CreateSITExtensionForbidden) Error

func (*CreateSITExtensionForbidden) GetPayload

func (*CreateSITExtensionForbidden) IsClientError

func (o *CreateSITExtensionForbidden) IsClientError() bool

IsClientError returns true when this create s i t extension forbidden response has a 4xx status code

func (*CreateSITExtensionForbidden) IsCode

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

IsCode returns true when this create s i t extension forbidden response a status code equal to that given

func (*CreateSITExtensionForbidden) IsRedirect

func (o *CreateSITExtensionForbidden) IsRedirect() bool

IsRedirect returns true when this create s i t extension forbidden response has a 3xx status code

func (*CreateSITExtensionForbidden) IsServerError

func (o *CreateSITExtensionForbidden) IsServerError() bool

IsServerError returns true when this create s i t extension forbidden response has a 5xx status code

func (*CreateSITExtensionForbidden) IsSuccess

func (o *CreateSITExtensionForbidden) IsSuccess() bool

IsSuccess returns true when this create s i t extension forbidden response has a 2xx status code

func (*CreateSITExtensionForbidden) String

func (o *CreateSITExtensionForbidden) String() string

type CreateSITExtensionInternalServerError

type CreateSITExtensionInternalServerError struct {
	Payload *primemessages.Error
}

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

A server error occurred.

func NewCreateSITExtensionInternalServerError

func NewCreateSITExtensionInternalServerError() *CreateSITExtensionInternalServerError

NewCreateSITExtensionInternalServerError creates a CreateSITExtensionInternalServerError with default headers values

func (*CreateSITExtensionInternalServerError) Code

Code gets the status code for the create s i t extension internal server error response

func (*CreateSITExtensionInternalServerError) Error

func (*CreateSITExtensionInternalServerError) GetPayload

func (*CreateSITExtensionInternalServerError) IsClientError

func (o *CreateSITExtensionInternalServerError) IsClientError() bool

IsClientError returns true when this create s i t extension internal server error response has a 4xx status code

func (*CreateSITExtensionInternalServerError) IsCode

IsCode returns true when this create s i t extension internal server error response a status code equal to that given

func (*CreateSITExtensionInternalServerError) IsRedirect

IsRedirect returns true when this create s i t extension internal server error response has a 3xx status code

func (*CreateSITExtensionInternalServerError) IsServerError

func (o *CreateSITExtensionInternalServerError) IsServerError() bool

IsServerError returns true when this create s i t extension internal server error response has a 5xx status code

func (*CreateSITExtensionInternalServerError) IsSuccess

IsSuccess returns true when this create s i t extension internal server error response has a 2xx status code

func (*CreateSITExtensionInternalServerError) String

type CreateSITExtensionNotFound

type CreateSITExtensionNotFound struct {
	Payload *primemessages.ClientError
}

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

The requested resource wasn't found.

func NewCreateSITExtensionNotFound

func NewCreateSITExtensionNotFound() *CreateSITExtensionNotFound

NewCreateSITExtensionNotFound creates a CreateSITExtensionNotFound with default headers values

func (*CreateSITExtensionNotFound) Code

func (o *CreateSITExtensionNotFound) Code() int

Code gets the status code for the create s i t extension not found response

func (*CreateSITExtensionNotFound) Error

func (*CreateSITExtensionNotFound) GetPayload

func (*CreateSITExtensionNotFound) IsClientError

func (o *CreateSITExtensionNotFound) IsClientError() bool

IsClientError returns true when this create s i t extension not found response has a 4xx status code

func (*CreateSITExtensionNotFound) IsCode

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

IsCode returns true when this create s i t extension not found response a status code equal to that given

func (*CreateSITExtensionNotFound) IsRedirect

func (o *CreateSITExtensionNotFound) IsRedirect() bool

IsRedirect returns true when this create s i t extension not found response has a 3xx status code

func (*CreateSITExtensionNotFound) IsServerError

func (o *CreateSITExtensionNotFound) IsServerError() bool

IsServerError returns true when this create s i t extension not found response has a 5xx status code

func (*CreateSITExtensionNotFound) IsSuccess

func (o *CreateSITExtensionNotFound) IsSuccess() bool

IsSuccess returns true when this create s i t extension not found response has a 2xx status code

func (*CreateSITExtensionNotFound) String

func (o *CreateSITExtensionNotFound) String() string

type CreateSITExtensionParams

type CreateSITExtensionParams struct {

	// Body.
	Body *primemessages.CreateSITExtension

	/* MtoShipmentID.

	   UUID of the shipment associated with the agent

	   Format: uuid
	*/
	MtoShipmentID strfmt.UUID

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

CreateSITExtensionParams contains all the parameters to send to the API endpoint

for the create s i t extension operation.

Typically these are written to a http.Request.

func NewCreateSITExtensionParams

func NewCreateSITExtensionParams() *CreateSITExtensionParams

NewCreateSITExtensionParams creates a new CreateSITExtensionParams 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 NewCreateSITExtensionParamsWithContext

func NewCreateSITExtensionParamsWithContext(ctx context.Context) *CreateSITExtensionParams

NewCreateSITExtensionParamsWithContext creates a new CreateSITExtensionParams object with the ability to set a context for a request.

func NewCreateSITExtensionParamsWithHTTPClient

func NewCreateSITExtensionParamsWithHTTPClient(client *http.Client) *CreateSITExtensionParams

NewCreateSITExtensionParamsWithHTTPClient creates a new CreateSITExtensionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSITExtensionParamsWithTimeout

func NewCreateSITExtensionParamsWithTimeout(timeout time.Duration) *CreateSITExtensionParams

NewCreateSITExtensionParamsWithTimeout creates a new CreateSITExtensionParams object with the ability to set a timeout on a request.

func (*CreateSITExtensionParams) SetBody

SetBody adds the body to the create s i t extension params

func (*CreateSITExtensionParams) SetContext

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

SetContext adds the context to the create s i t extension params

func (*CreateSITExtensionParams) SetDefaults

func (o *CreateSITExtensionParams) SetDefaults()

SetDefaults hydrates default values in the create s i t extension params (not the query body).

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

func (*CreateSITExtensionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create s i t extension params

func (*CreateSITExtensionParams) SetMtoShipmentID

func (o *CreateSITExtensionParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)

SetMtoShipmentID adds the mtoShipmentId to the create s i t extension params

func (*CreateSITExtensionParams) SetTimeout

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

SetTimeout adds the timeout to the create s i t extension params

func (*CreateSITExtensionParams) WithBody

WithBody adds the body to the create s i t extension params

func (*CreateSITExtensionParams) WithContext

WithContext adds the context to the create s i t extension params

func (*CreateSITExtensionParams) WithDefaults

WithDefaults hydrates default values in the create s i t extension params (not the query body).

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

func (*CreateSITExtensionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create s i t extension params

func (*CreateSITExtensionParams) WithMtoShipmentID

func (o *CreateSITExtensionParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *CreateSITExtensionParams

WithMtoShipmentID adds the mtoShipmentID to the create s i t extension params

func (*CreateSITExtensionParams) WithTimeout

WithTimeout adds the timeout to the create s i t extension params

func (*CreateSITExtensionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSITExtensionReader

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

CreateSITExtensionReader is a Reader for the CreateSITExtension structure.

func (*CreateSITExtensionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSITExtensionUnauthorized

type CreateSITExtensionUnauthorized struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewCreateSITExtensionUnauthorized

func NewCreateSITExtensionUnauthorized() *CreateSITExtensionUnauthorized

NewCreateSITExtensionUnauthorized creates a CreateSITExtensionUnauthorized with default headers values

func (*CreateSITExtensionUnauthorized) Code

Code gets the status code for the create s i t extension unauthorized response

func (*CreateSITExtensionUnauthorized) Error

func (*CreateSITExtensionUnauthorized) GetPayload

func (*CreateSITExtensionUnauthorized) IsClientError

func (o *CreateSITExtensionUnauthorized) IsClientError() bool

IsClientError returns true when this create s i t extension unauthorized response has a 4xx status code

func (*CreateSITExtensionUnauthorized) IsCode

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

IsCode returns true when this create s i t extension unauthorized response a status code equal to that given

func (*CreateSITExtensionUnauthorized) IsRedirect

func (o *CreateSITExtensionUnauthorized) IsRedirect() bool

IsRedirect returns true when this create s i t extension unauthorized response has a 3xx status code

func (*CreateSITExtensionUnauthorized) IsServerError

func (o *CreateSITExtensionUnauthorized) IsServerError() bool

IsServerError returns true when this create s i t extension unauthorized response has a 5xx status code

func (*CreateSITExtensionUnauthorized) IsSuccess

func (o *CreateSITExtensionUnauthorized) IsSuccess() bool

IsSuccess returns true when this create s i t extension unauthorized response has a 2xx status code

func (*CreateSITExtensionUnauthorized) String

type CreateSITExtensionUnprocessableEntity

type CreateSITExtensionUnprocessableEntity struct {
	Payload *primemessages.ValidationError
}

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

The request was unprocessable, likely due to bad input from the requester.

func NewCreateSITExtensionUnprocessableEntity

func NewCreateSITExtensionUnprocessableEntity() *CreateSITExtensionUnprocessableEntity

NewCreateSITExtensionUnprocessableEntity creates a CreateSITExtensionUnprocessableEntity with default headers values

func (*CreateSITExtensionUnprocessableEntity) Code

Code gets the status code for the create s i t extension unprocessable entity response

func (*CreateSITExtensionUnprocessableEntity) Error

func (*CreateSITExtensionUnprocessableEntity) GetPayload

func (*CreateSITExtensionUnprocessableEntity) IsClientError

func (o *CreateSITExtensionUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create s i t extension unprocessable entity response has a 4xx status code

func (*CreateSITExtensionUnprocessableEntity) IsCode

IsCode returns true when this create s i t extension unprocessable entity response a status code equal to that given

func (*CreateSITExtensionUnprocessableEntity) IsRedirect

IsRedirect returns true when this create s i t extension unprocessable entity response has a 3xx status code

func (*CreateSITExtensionUnprocessableEntity) IsServerError

func (o *CreateSITExtensionUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create s i t extension unprocessable entity response has a 5xx status code

func (*CreateSITExtensionUnprocessableEntity) IsSuccess

IsSuccess returns true when this create s i t extension unprocessable entity response has a 2xx status code

func (*CreateSITExtensionUnprocessableEntity) String

type DeleteMTOShipmentBadRequest

type DeleteMTOShipmentBadRequest struct {
	Payload *primemessages.ClientError
}

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

The request payload is invalid.

func NewDeleteMTOShipmentBadRequest

func NewDeleteMTOShipmentBadRequest() *DeleteMTOShipmentBadRequest

NewDeleteMTOShipmentBadRequest creates a DeleteMTOShipmentBadRequest with default headers values

func (*DeleteMTOShipmentBadRequest) Code

func (o *DeleteMTOShipmentBadRequest) Code() int

Code gets the status code for the delete m t o shipment bad request response

func (*DeleteMTOShipmentBadRequest) Error

func (*DeleteMTOShipmentBadRequest) GetPayload

func (*DeleteMTOShipmentBadRequest) IsClientError

func (o *DeleteMTOShipmentBadRequest) IsClientError() bool

IsClientError returns true when this delete m t o shipment bad request response has a 4xx status code

func (*DeleteMTOShipmentBadRequest) IsCode

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

IsCode returns true when this delete m t o shipment bad request response a status code equal to that given

func (*DeleteMTOShipmentBadRequest) IsRedirect

func (o *DeleteMTOShipmentBadRequest) IsRedirect() bool

IsRedirect returns true when this delete m t o shipment bad request response has a 3xx status code

func (*DeleteMTOShipmentBadRequest) IsServerError

func (o *DeleteMTOShipmentBadRequest) IsServerError() bool

IsServerError returns true when this delete m t o shipment bad request response has a 5xx status code

func (*DeleteMTOShipmentBadRequest) IsSuccess

func (o *DeleteMTOShipmentBadRequest) IsSuccess() bool

IsSuccess returns true when this delete m t o shipment bad request response has a 2xx status code

func (*DeleteMTOShipmentBadRequest) String

func (o *DeleteMTOShipmentBadRequest) String() string

type DeleteMTOShipmentConflict

type DeleteMTOShipmentConflict struct {
	Payload *primemessages.ClientError
}

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

The request could not be processed because of conflict in the current state of the resource.

func NewDeleteMTOShipmentConflict

func NewDeleteMTOShipmentConflict() *DeleteMTOShipmentConflict

NewDeleteMTOShipmentConflict creates a DeleteMTOShipmentConflict with default headers values

func (*DeleteMTOShipmentConflict) Code

func (o *DeleteMTOShipmentConflict) Code() int

Code gets the status code for the delete m t o shipment conflict response

func (*DeleteMTOShipmentConflict) Error

func (o *DeleteMTOShipmentConflict) Error() string

func (*DeleteMTOShipmentConflict) GetPayload

func (*DeleteMTOShipmentConflict) IsClientError

func (o *DeleteMTOShipmentConflict) IsClientError() bool

IsClientError returns true when this delete m t o shipment conflict response has a 4xx status code

func (*DeleteMTOShipmentConflict) IsCode

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

IsCode returns true when this delete m t o shipment conflict response a status code equal to that given

func (*DeleteMTOShipmentConflict) IsRedirect

func (o *DeleteMTOShipmentConflict) IsRedirect() bool

IsRedirect returns true when this delete m t o shipment conflict response has a 3xx status code

func (*DeleteMTOShipmentConflict) IsServerError

func (o *DeleteMTOShipmentConflict) IsServerError() bool

IsServerError returns true when this delete m t o shipment conflict response has a 5xx status code

func (*DeleteMTOShipmentConflict) IsSuccess

func (o *DeleteMTOShipmentConflict) IsSuccess() bool

IsSuccess returns true when this delete m t o shipment conflict response has a 2xx status code

func (*DeleteMTOShipmentConflict) String

func (o *DeleteMTOShipmentConflict) String() string

type DeleteMTOShipmentForbidden

type DeleteMTOShipmentForbidden struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewDeleteMTOShipmentForbidden

func NewDeleteMTOShipmentForbidden() *DeleteMTOShipmentForbidden

NewDeleteMTOShipmentForbidden creates a DeleteMTOShipmentForbidden with default headers values

func (*DeleteMTOShipmentForbidden) Code

func (o *DeleteMTOShipmentForbidden) Code() int

Code gets the status code for the delete m t o shipment forbidden response

func (*DeleteMTOShipmentForbidden) Error

func (*DeleteMTOShipmentForbidden) GetPayload

func (*DeleteMTOShipmentForbidden) IsClientError

func (o *DeleteMTOShipmentForbidden) IsClientError() bool

IsClientError returns true when this delete m t o shipment forbidden response has a 4xx status code

func (*DeleteMTOShipmentForbidden) IsCode

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

IsCode returns true when this delete m t o shipment forbidden response a status code equal to that given

func (*DeleteMTOShipmentForbidden) IsRedirect

func (o *DeleteMTOShipmentForbidden) IsRedirect() bool

IsRedirect returns true when this delete m t o shipment forbidden response has a 3xx status code

func (*DeleteMTOShipmentForbidden) IsServerError

func (o *DeleteMTOShipmentForbidden) IsServerError() bool

IsServerError returns true when this delete m t o shipment forbidden response has a 5xx status code

func (*DeleteMTOShipmentForbidden) IsSuccess

func (o *DeleteMTOShipmentForbidden) IsSuccess() bool

IsSuccess returns true when this delete m t o shipment forbidden response has a 2xx status code

func (*DeleteMTOShipmentForbidden) String

func (o *DeleteMTOShipmentForbidden) String() string

type DeleteMTOShipmentInternalServerError

type DeleteMTOShipmentInternalServerError struct {
	Payload *primemessages.Error
}

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

A server error occurred.

func NewDeleteMTOShipmentInternalServerError

func NewDeleteMTOShipmentInternalServerError() *DeleteMTOShipmentInternalServerError

NewDeleteMTOShipmentInternalServerError creates a DeleteMTOShipmentInternalServerError with default headers values

func (*DeleteMTOShipmentInternalServerError) Code

Code gets the status code for the delete m t o shipment internal server error response

func (*DeleteMTOShipmentInternalServerError) Error

func (*DeleteMTOShipmentInternalServerError) GetPayload

func (*DeleteMTOShipmentInternalServerError) IsClientError

func (o *DeleteMTOShipmentInternalServerError) IsClientError() bool

IsClientError returns true when this delete m t o shipment internal server error response has a 4xx status code

func (*DeleteMTOShipmentInternalServerError) IsCode

IsCode returns true when this delete m t o shipment internal server error response a status code equal to that given

func (*DeleteMTOShipmentInternalServerError) IsRedirect

IsRedirect returns true when this delete m t o shipment internal server error response has a 3xx status code

func (*DeleteMTOShipmentInternalServerError) IsServerError

func (o *DeleteMTOShipmentInternalServerError) IsServerError() bool

IsServerError returns true when this delete m t o shipment internal server error response has a 5xx status code

func (*DeleteMTOShipmentInternalServerError) IsSuccess

IsSuccess returns true when this delete m t o shipment internal server error response has a 2xx status code

func (*DeleteMTOShipmentInternalServerError) String

type DeleteMTOShipmentNoContent

type DeleteMTOShipmentNoContent struct {
}

DeleteMTOShipmentNoContent describes a response with status code 204, with default header values.

Successfully deleted the MTO shipment.

func NewDeleteMTOShipmentNoContent

func NewDeleteMTOShipmentNoContent() *DeleteMTOShipmentNoContent

NewDeleteMTOShipmentNoContent creates a DeleteMTOShipmentNoContent with default headers values

func (*DeleteMTOShipmentNoContent) Code

func (o *DeleteMTOShipmentNoContent) Code() int

Code gets the status code for the delete m t o shipment no content response

func (*DeleteMTOShipmentNoContent) Error

func (*DeleteMTOShipmentNoContent) IsClientError

func (o *DeleteMTOShipmentNoContent) IsClientError() bool

IsClientError returns true when this delete m t o shipment no content response has a 4xx status code

func (*DeleteMTOShipmentNoContent) IsCode

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

IsCode returns true when this delete m t o shipment no content response a status code equal to that given

func (*DeleteMTOShipmentNoContent) IsRedirect

func (o *DeleteMTOShipmentNoContent) IsRedirect() bool

IsRedirect returns true when this delete m t o shipment no content response has a 3xx status code

func (*DeleteMTOShipmentNoContent) IsServerError

func (o *DeleteMTOShipmentNoContent) IsServerError() bool

IsServerError returns true when this delete m t o shipment no content response has a 5xx status code

func (*DeleteMTOShipmentNoContent) IsSuccess

func (o *DeleteMTOShipmentNoContent) IsSuccess() bool

IsSuccess returns true when this delete m t o shipment no content response has a 2xx status code

func (*DeleteMTOShipmentNoContent) String

func (o *DeleteMTOShipmentNoContent) String() string

type DeleteMTOShipmentNotFound

type DeleteMTOShipmentNotFound struct {
	Payload *primemessages.ClientError
}

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

The requested resource wasn't found.

func NewDeleteMTOShipmentNotFound

func NewDeleteMTOShipmentNotFound() *DeleteMTOShipmentNotFound

NewDeleteMTOShipmentNotFound creates a DeleteMTOShipmentNotFound with default headers values

func (*DeleteMTOShipmentNotFound) Code

func (o *DeleteMTOShipmentNotFound) Code() int

Code gets the status code for the delete m t o shipment not found response

func (*DeleteMTOShipmentNotFound) Error

func (o *DeleteMTOShipmentNotFound) Error() string

func (*DeleteMTOShipmentNotFound) GetPayload

func (*DeleteMTOShipmentNotFound) IsClientError

func (o *DeleteMTOShipmentNotFound) IsClientError() bool

IsClientError returns true when this delete m t o shipment not found response has a 4xx status code

func (*DeleteMTOShipmentNotFound) IsCode

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

IsCode returns true when this delete m t o shipment not found response a status code equal to that given

func (*DeleteMTOShipmentNotFound) IsRedirect

func (o *DeleteMTOShipmentNotFound) IsRedirect() bool

IsRedirect returns true when this delete m t o shipment not found response has a 3xx status code

func (*DeleteMTOShipmentNotFound) IsServerError

func (o *DeleteMTOShipmentNotFound) IsServerError() bool

IsServerError returns true when this delete m t o shipment not found response has a 5xx status code

func (*DeleteMTOShipmentNotFound) IsSuccess

func (o *DeleteMTOShipmentNotFound) IsSuccess() bool

IsSuccess returns true when this delete m t o shipment not found response has a 2xx status code

func (*DeleteMTOShipmentNotFound) String

func (o *DeleteMTOShipmentNotFound) String() string

type DeleteMTOShipmentParams

type DeleteMTOShipmentParams struct {

	/* MtoShipmentID.

	   UUID of the shipment to be deleted

	   Format: uuid
	*/
	MtoShipmentID strfmt.UUID

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

DeleteMTOShipmentParams contains all the parameters to send to the API endpoint

for the delete m t o shipment operation.

Typically these are written to a http.Request.

func NewDeleteMTOShipmentParams

func NewDeleteMTOShipmentParams() *DeleteMTOShipmentParams

NewDeleteMTOShipmentParams creates a new DeleteMTOShipmentParams 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 NewDeleteMTOShipmentParamsWithContext

func NewDeleteMTOShipmentParamsWithContext(ctx context.Context) *DeleteMTOShipmentParams

NewDeleteMTOShipmentParamsWithContext creates a new DeleteMTOShipmentParams object with the ability to set a context for a request.

func NewDeleteMTOShipmentParamsWithHTTPClient

func NewDeleteMTOShipmentParamsWithHTTPClient(client *http.Client) *DeleteMTOShipmentParams

NewDeleteMTOShipmentParamsWithHTTPClient creates a new DeleteMTOShipmentParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteMTOShipmentParamsWithTimeout

func NewDeleteMTOShipmentParamsWithTimeout(timeout time.Duration) *DeleteMTOShipmentParams

NewDeleteMTOShipmentParamsWithTimeout creates a new DeleteMTOShipmentParams object with the ability to set a timeout on a request.

func (*DeleteMTOShipmentParams) SetContext

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

SetContext adds the context to the delete m t o shipment params

func (*DeleteMTOShipmentParams) SetDefaults

func (o *DeleteMTOShipmentParams) SetDefaults()

SetDefaults hydrates default values in the delete m t o shipment params (not the query body).

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

func (*DeleteMTOShipmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete m t o shipment params

func (*DeleteMTOShipmentParams) SetMtoShipmentID

func (o *DeleteMTOShipmentParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)

SetMtoShipmentID adds the mtoShipmentId to the delete m t o shipment params

func (*DeleteMTOShipmentParams) SetTimeout

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

SetTimeout adds the timeout to the delete m t o shipment params

func (*DeleteMTOShipmentParams) WithContext

WithContext adds the context to the delete m t o shipment params

func (*DeleteMTOShipmentParams) WithDefaults

WithDefaults hydrates default values in the delete m t o shipment params (not the query body).

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

func (*DeleteMTOShipmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete m t o shipment params

func (*DeleteMTOShipmentParams) WithMtoShipmentID

func (o *DeleteMTOShipmentParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *DeleteMTOShipmentParams

WithMtoShipmentID adds the mtoShipmentID to the delete m t o shipment params

func (*DeleteMTOShipmentParams) WithTimeout

WithTimeout adds the timeout to the delete m t o shipment params

func (*DeleteMTOShipmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteMTOShipmentReader

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

DeleteMTOShipmentReader is a Reader for the DeleteMTOShipment structure.

func (*DeleteMTOShipmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteMTOShipmentUnprocessableEntity

type DeleteMTOShipmentUnprocessableEntity struct {
	Payload *primemessages.ValidationError
}

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

The request was unprocessable, likely due to bad input from the requester.

func NewDeleteMTOShipmentUnprocessableEntity

func NewDeleteMTOShipmentUnprocessableEntity() *DeleteMTOShipmentUnprocessableEntity

NewDeleteMTOShipmentUnprocessableEntity creates a DeleteMTOShipmentUnprocessableEntity with default headers values

func (*DeleteMTOShipmentUnprocessableEntity) Code

Code gets the status code for the delete m t o shipment unprocessable entity response

func (*DeleteMTOShipmentUnprocessableEntity) Error

func (*DeleteMTOShipmentUnprocessableEntity) GetPayload

func (*DeleteMTOShipmentUnprocessableEntity) IsClientError

func (o *DeleteMTOShipmentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this delete m t o shipment unprocessable entity response has a 4xx status code

func (*DeleteMTOShipmentUnprocessableEntity) IsCode

IsCode returns true when this delete m t o shipment unprocessable entity response a status code equal to that given

func (*DeleteMTOShipmentUnprocessableEntity) IsRedirect

IsRedirect returns true when this delete m t o shipment unprocessable entity response has a 3xx status code

func (*DeleteMTOShipmentUnprocessableEntity) IsServerError

func (o *DeleteMTOShipmentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this delete m t o shipment unprocessable entity response has a 5xx status code

func (*DeleteMTOShipmentUnprocessableEntity) IsSuccess

IsSuccess returns true when this delete m t o shipment unprocessable entity response has a 2xx status code

func (*DeleteMTOShipmentUnprocessableEntity) String

type UpdateMTOAgentBadRequest

type UpdateMTOAgentBadRequest struct {
	Payload *primemessages.ClientError
}

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

The request payload is invalid.

func NewUpdateMTOAgentBadRequest

func NewUpdateMTOAgentBadRequest() *UpdateMTOAgentBadRequest

NewUpdateMTOAgentBadRequest creates a UpdateMTOAgentBadRequest with default headers values

func (*UpdateMTOAgentBadRequest) Code

func (o *UpdateMTOAgentBadRequest) Code() int

Code gets the status code for the update m t o agent bad request response

func (*UpdateMTOAgentBadRequest) Error

func (o *UpdateMTOAgentBadRequest) Error() string

func (*UpdateMTOAgentBadRequest) GetPayload

func (*UpdateMTOAgentBadRequest) IsClientError

func (o *UpdateMTOAgentBadRequest) IsClientError() bool

IsClientError returns true when this update m t o agent bad request response has a 4xx status code

func (*UpdateMTOAgentBadRequest) IsCode

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

IsCode returns true when this update m t o agent bad request response a status code equal to that given

func (*UpdateMTOAgentBadRequest) IsRedirect

func (o *UpdateMTOAgentBadRequest) IsRedirect() bool

IsRedirect returns true when this update m t o agent bad request response has a 3xx status code

func (*UpdateMTOAgentBadRequest) IsServerError

func (o *UpdateMTOAgentBadRequest) IsServerError() bool

IsServerError returns true when this update m t o agent bad request response has a 5xx status code

func (*UpdateMTOAgentBadRequest) IsSuccess

func (o *UpdateMTOAgentBadRequest) IsSuccess() bool

IsSuccess returns true when this update m t o agent bad request response has a 2xx status code

func (*UpdateMTOAgentBadRequest) String

func (o *UpdateMTOAgentBadRequest) String() string

type UpdateMTOAgentForbidden

type UpdateMTOAgentForbidden struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewUpdateMTOAgentForbidden

func NewUpdateMTOAgentForbidden() *UpdateMTOAgentForbidden

NewUpdateMTOAgentForbidden creates a UpdateMTOAgentForbidden with default headers values

func (*UpdateMTOAgentForbidden) Code

func (o *UpdateMTOAgentForbidden) Code() int

Code gets the status code for the update m t o agent forbidden response

func (*UpdateMTOAgentForbidden) Error

func (o *UpdateMTOAgentForbidden) Error() string

func (*UpdateMTOAgentForbidden) GetPayload

func (*UpdateMTOAgentForbidden) IsClientError

func (o *UpdateMTOAgentForbidden) IsClientError() bool

IsClientError returns true when this update m t o agent forbidden response has a 4xx status code

func (*UpdateMTOAgentForbidden) IsCode

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

IsCode returns true when this update m t o agent forbidden response a status code equal to that given

func (*UpdateMTOAgentForbidden) IsRedirect

func (o *UpdateMTOAgentForbidden) IsRedirect() bool

IsRedirect returns true when this update m t o agent forbidden response has a 3xx status code

func (*UpdateMTOAgentForbidden) IsServerError

func (o *UpdateMTOAgentForbidden) IsServerError() bool

IsServerError returns true when this update m t o agent forbidden response has a 5xx status code

func (*UpdateMTOAgentForbidden) IsSuccess

func (o *UpdateMTOAgentForbidden) IsSuccess() bool

IsSuccess returns true when this update m t o agent forbidden response has a 2xx status code

func (*UpdateMTOAgentForbidden) String

func (o *UpdateMTOAgentForbidden) String() string

type UpdateMTOAgentInternalServerError

type UpdateMTOAgentInternalServerError struct {
	Payload *primemessages.Error
}

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

A server error occurred.

func NewUpdateMTOAgentInternalServerError

func NewUpdateMTOAgentInternalServerError() *UpdateMTOAgentInternalServerError

NewUpdateMTOAgentInternalServerError creates a UpdateMTOAgentInternalServerError with default headers values

func (*UpdateMTOAgentInternalServerError) Code

Code gets the status code for the update m t o agent internal server error response

func (*UpdateMTOAgentInternalServerError) Error

func (*UpdateMTOAgentInternalServerError) GetPayload

func (*UpdateMTOAgentInternalServerError) IsClientError

func (o *UpdateMTOAgentInternalServerError) IsClientError() bool

IsClientError returns true when this update m t o agent internal server error response has a 4xx status code

func (*UpdateMTOAgentInternalServerError) IsCode

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

IsCode returns true when this update m t o agent internal server error response a status code equal to that given

func (*UpdateMTOAgentInternalServerError) IsRedirect

func (o *UpdateMTOAgentInternalServerError) IsRedirect() bool

IsRedirect returns true when this update m t o agent internal server error response has a 3xx status code

func (*UpdateMTOAgentInternalServerError) IsServerError

func (o *UpdateMTOAgentInternalServerError) IsServerError() bool

IsServerError returns true when this update m t o agent internal server error response has a 5xx status code

func (*UpdateMTOAgentInternalServerError) IsSuccess

func (o *UpdateMTOAgentInternalServerError) IsSuccess() bool

IsSuccess returns true when this update m t o agent internal server error response has a 2xx status code

func (*UpdateMTOAgentInternalServerError) String

type UpdateMTOAgentNotFound

type UpdateMTOAgentNotFound struct {
	Payload *primemessages.ClientError
}

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

The requested resource wasn't found.

func NewUpdateMTOAgentNotFound

func NewUpdateMTOAgentNotFound() *UpdateMTOAgentNotFound

NewUpdateMTOAgentNotFound creates a UpdateMTOAgentNotFound with default headers values

func (*UpdateMTOAgentNotFound) Code

func (o *UpdateMTOAgentNotFound) Code() int

Code gets the status code for the update m t o agent not found response

func (*UpdateMTOAgentNotFound) Error

func (o *UpdateMTOAgentNotFound) Error() string

func (*UpdateMTOAgentNotFound) GetPayload

func (*UpdateMTOAgentNotFound) IsClientError

func (o *UpdateMTOAgentNotFound) IsClientError() bool

IsClientError returns true when this update m t o agent not found response has a 4xx status code

func (*UpdateMTOAgentNotFound) IsCode

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

IsCode returns true when this update m t o agent not found response a status code equal to that given

func (*UpdateMTOAgentNotFound) IsRedirect

func (o *UpdateMTOAgentNotFound) IsRedirect() bool

IsRedirect returns true when this update m t o agent not found response has a 3xx status code

func (*UpdateMTOAgentNotFound) IsServerError

func (o *UpdateMTOAgentNotFound) IsServerError() bool

IsServerError returns true when this update m t o agent not found response has a 5xx status code

func (*UpdateMTOAgentNotFound) IsSuccess

func (o *UpdateMTOAgentNotFound) IsSuccess() bool

IsSuccess returns true when this update m t o agent not found response has a 2xx status code

func (*UpdateMTOAgentNotFound) String

func (o *UpdateMTOAgentNotFound) String() string

type UpdateMTOAgentOK

type UpdateMTOAgentOK struct {
	Payload *primemessages.MTOAgent
}

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

Successfully updated the agent.

func NewUpdateMTOAgentOK

func NewUpdateMTOAgentOK() *UpdateMTOAgentOK

NewUpdateMTOAgentOK creates a UpdateMTOAgentOK with default headers values

func (*UpdateMTOAgentOK) Code

func (o *UpdateMTOAgentOK) Code() int

Code gets the status code for the update m t o agent o k response

func (*UpdateMTOAgentOK) Error

func (o *UpdateMTOAgentOK) Error() string

func (*UpdateMTOAgentOK) GetPayload

func (o *UpdateMTOAgentOK) GetPayload() *primemessages.MTOAgent

func (*UpdateMTOAgentOK) IsClientError

func (o *UpdateMTOAgentOK) IsClientError() bool

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

func (*UpdateMTOAgentOK) IsCode

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

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

func (*UpdateMTOAgentOK) IsRedirect

func (o *UpdateMTOAgentOK) IsRedirect() bool

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

func (*UpdateMTOAgentOK) IsServerError

func (o *UpdateMTOAgentOK) IsServerError() bool

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

func (*UpdateMTOAgentOK) IsSuccess

func (o *UpdateMTOAgentOK) IsSuccess() bool

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

func (*UpdateMTOAgentOK) String

func (o *UpdateMTOAgentOK) String() string

type UpdateMTOAgentParams

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

	/* AgentID.

	   UUID of the agent being updated

	   Format: uuid
	*/
	AgentID strfmt.UUID

	// Body.
	Body *primemessages.MTOAgent

	/* MtoShipmentID.

	   UUID of the shipment associated with the agent

	   Format: uuid
	*/
	MtoShipmentID strfmt.UUID

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

UpdateMTOAgentParams contains all the parameters to send to the API endpoint

for the update m t o agent operation.

Typically these are written to a http.Request.

func NewUpdateMTOAgentParams

func NewUpdateMTOAgentParams() *UpdateMTOAgentParams

NewUpdateMTOAgentParams creates a new UpdateMTOAgentParams 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 NewUpdateMTOAgentParamsWithContext

func NewUpdateMTOAgentParamsWithContext(ctx context.Context) *UpdateMTOAgentParams

NewUpdateMTOAgentParamsWithContext creates a new UpdateMTOAgentParams object with the ability to set a context for a request.

func NewUpdateMTOAgentParamsWithHTTPClient

func NewUpdateMTOAgentParamsWithHTTPClient(client *http.Client) *UpdateMTOAgentParams

NewUpdateMTOAgentParamsWithHTTPClient creates a new UpdateMTOAgentParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateMTOAgentParamsWithTimeout

func NewUpdateMTOAgentParamsWithTimeout(timeout time.Duration) *UpdateMTOAgentParams

NewUpdateMTOAgentParamsWithTimeout creates a new UpdateMTOAgentParams object with the ability to set a timeout on a request.

func (*UpdateMTOAgentParams) SetAgentID

func (o *UpdateMTOAgentParams) SetAgentID(agentID strfmt.UUID)

SetAgentID adds the agentId to the update m t o agent params

func (*UpdateMTOAgentParams) SetBody

func (o *UpdateMTOAgentParams) SetBody(body *primemessages.MTOAgent)

SetBody adds the body to the update m t o agent params

func (*UpdateMTOAgentParams) SetContext

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

SetContext adds the context to the update m t o agent params

func (*UpdateMTOAgentParams) SetDefaults

func (o *UpdateMTOAgentParams) SetDefaults()

SetDefaults hydrates default values in the update m t o agent params (not the query body).

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

func (*UpdateMTOAgentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update m t o agent params

func (*UpdateMTOAgentParams) SetIfMatch

func (o *UpdateMTOAgentParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the update m t o agent params

func (*UpdateMTOAgentParams) SetMtoShipmentID

func (o *UpdateMTOAgentParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)

SetMtoShipmentID adds the mtoShipmentId to the update m t o agent params

func (*UpdateMTOAgentParams) SetTimeout

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

SetTimeout adds the timeout to the update m t o agent params

func (*UpdateMTOAgentParams) WithAgentID

func (o *UpdateMTOAgentParams) WithAgentID(agentID strfmt.UUID) *UpdateMTOAgentParams

WithAgentID adds the agentID to the update m t o agent params

func (*UpdateMTOAgentParams) WithBody

WithBody adds the body to the update m t o agent params

func (*UpdateMTOAgentParams) WithContext

WithContext adds the context to the update m t o agent params

func (*UpdateMTOAgentParams) WithDefaults

func (o *UpdateMTOAgentParams) WithDefaults() *UpdateMTOAgentParams

WithDefaults hydrates default values in the update m t o agent params (not the query body).

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

func (*UpdateMTOAgentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update m t o agent params

func (*UpdateMTOAgentParams) WithIfMatch

func (o *UpdateMTOAgentParams) WithIfMatch(ifMatch string) *UpdateMTOAgentParams

WithIfMatch adds the ifMatch to the update m t o agent params

func (*UpdateMTOAgentParams) WithMtoShipmentID

func (o *UpdateMTOAgentParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *UpdateMTOAgentParams

WithMtoShipmentID adds the mtoShipmentID to the update m t o agent params

func (*UpdateMTOAgentParams) WithTimeout

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

WithTimeout adds the timeout to the update m t o agent params

func (*UpdateMTOAgentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateMTOAgentPreconditionFailed

type UpdateMTOAgentPreconditionFailed struct {
	Payload *primemessages.ClientError
}

UpdateMTOAgentPreconditionFailed 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 NewUpdateMTOAgentPreconditionFailed

func NewUpdateMTOAgentPreconditionFailed() *UpdateMTOAgentPreconditionFailed

NewUpdateMTOAgentPreconditionFailed creates a UpdateMTOAgentPreconditionFailed with default headers values

func (*UpdateMTOAgentPreconditionFailed) Code

Code gets the status code for the update m t o agent precondition failed response

func (*UpdateMTOAgentPreconditionFailed) Error

func (*UpdateMTOAgentPreconditionFailed) GetPayload

func (*UpdateMTOAgentPreconditionFailed) IsClientError

func (o *UpdateMTOAgentPreconditionFailed) IsClientError() bool

IsClientError returns true when this update m t o agent precondition failed response has a 4xx status code

func (*UpdateMTOAgentPreconditionFailed) IsCode

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

IsCode returns true when this update m t o agent precondition failed response a status code equal to that given

func (*UpdateMTOAgentPreconditionFailed) IsRedirect

func (o *UpdateMTOAgentPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this update m t o agent precondition failed response has a 3xx status code

func (*UpdateMTOAgentPreconditionFailed) IsServerError

func (o *UpdateMTOAgentPreconditionFailed) IsServerError() bool

IsServerError returns true when this update m t o agent precondition failed response has a 5xx status code

func (*UpdateMTOAgentPreconditionFailed) IsSuccess

func (o *UpdateMTOAgentPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this update m t o agent precondition failed response has a 2xx status code

func (*UpdateMTOAgentPreconditionFailed) String

type UpdateMTOAgentReader

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

UpdateMTOAgentReader is a Reader for the UpdateMTOAgent structure.

func (*UpdateMTOAgentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateMTOAgentUnauthorized

type UpdateMTOAgentUnauthorized struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewUpdateMTOAgentUnauthorized

func NewUpdateMTOAgentUnauthorized() *UpdateMTOAgentUnauthorized

NewUpdateMTOAgentUnauthorized creates a UpdateMTOAgentUnauthorized with default headers values

func (*UpdateMTOAgentUnauthorized) Code

func (o *UpdateMTOAgentUnauthorized) Code() int

Code gets the status code for the update m t o agent unauthorized response

func (*UpdateMTOAgentUnauthorized) Error

func (*UpdateMTOAgentUnauthorized) GetPayload

func (*UpdateMTOAgentUnauthorized) IsClientError

func (o *UpdateMTOAgentUnauthorized) IsClientError() bool

IsClientError returns true when this update m t o agent unauthorized response has a 4xx status code

func (*UpdateMTOAgentUnauthorized) IsCode

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

IsCode returns true when this update m t o agent unauthorized response a status code equal to that given

func (*UpdateMTOAgentUnauthorized) IsRedirect

func (o *UpdateMTOAgentUnauthorized) IsRedirect() bool

IsRedirect returns true when this update m t o agent unauthorized response has a 3xx status code

func (*UpdateMTOAgentUnauthorized) IsServerError

func (o *UpdateMTOAgentUnauthorized) IsServerError() bool

IsServerError returns true when this update m t o agent unauthorized response has a 5xx status code

func (*UpdateMTOAgentUnauthorized) IsSuccess

func (o *UpdateMTOAgentUnauthorized) IsSuccess() bool

IsSuccess returns true when this update m t o agent unauthorized response has a 2xx status code

func (*UpdateMTOAgentUnauthorized) String

func (o *UpdateMTOAgentUnauthorized) String() string

type UpdateMTOAgentUnprocessableEntity

type UpdateMTOAgentUnprocessableEntity struct {
	Payload *primemessages.ValidationError
}

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

The request was unprocessable, likely due to bad input from the requester.

func NewUpdateMTOAgentUnprocessableEntity

func NewUpdateMTOAgentUnprocessableEntity() *UpdateMTOAgentUnprocessableEntity

NewUpdateMTOAgentUnprocessableEntity creates a UpdateMTOAgentUnprocessableEntity with default headers values

func (*UpdateMTOAgentUnprocessableEntity) Code

Code gets the status code for the update m t o agent unprocessable entity response

func (*UpdateMTOAgentUnprocessableEntity) Error

func (*UpdateMTOAgentUnprocessableEntity) GetPayload

func (*UpdateMTOAgentUnprocessableEntity) IsClientError

func (o *UpdateMTOAgentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update m t o agent unprocessable entity response has a 4xx status code

func (*UpdateMTOAgentUnprocessableEntity) IsCode

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

IsCode returns true when this update m t o agent unprocessable entity response a status code equal to that given

func (*UpdateMTOAgentUnprocessableEntity) IsRedirect

func (o *UpdateMTOAgentUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update m t o agent unprocessable entity response has a 3xx status code

func (*UpdateMTOAgentUnprocessableEntity) IsServerError

func (o *UpdateMTOAgentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update m t o agent unprocessable entity response has a 5xx status code

func (*UpdateMTOAgentUnprocessableEntity) IsSuccess

func (o *UpdateMTOAgentUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update m t o agent unprocessable entity response has a 2xx status code

func (*UpdateMTOAgentUnprocessableEntity) String

type UpdateMTOShipmentAddressBadRequest

type UpdateMTOShipmentAddressBadRequest struct {
	Payload *primemessages.ClientError
}

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

The request payload is invalid.

func NewUpdateMTOShipmentAddressBadRequest

func NewUpdateMTOShipmentAddressBadRequest() *UpdateMTOShipmentAddressBadRequest

NewUpdateMTOShipmentAddressBadRequest creates a UpdateMTOShipmentAddressBadRequest with default headers values

func (*UpdateMTOShipmentAddressBadRequest) Code

Code gets the status code for the update m t o shipment address bad request response

func (*UpdateMTOShipmentAddressBadRequest) Error

func (*UpdateMTOShipmentAddressBadRequest) GetPayload

func (*UpdateMTOShipmentAddressBadRequest) IsClientError

func (o *UpdateMTOShipmentAddressBadRequest) IsClientError() bool

IsClientError returns true when this update m t o shipment address bad request response has a 4xx status code

func (*UpdateMTOShipmentAddressBadRequest) IsCode

IsCode returns true when this update m t o shipment address bad request response a status code equal to that given

func (*UpdateMTOShipmentAddressBadRequest) IsRedirect

func (o *UpdateMTOShipmentAddressBadRequest) IsRedirect() bool

IsRedirect returns true when this update m t o shipment address bad request response has a 3xx status code

func (*UpdateMTOShipmentAddressBadRequest) IsServerError

func (o *UpdateMTOShipmentAddressBadRequest) IsServerError() bool

IsServerError returns true when this update m t o shipment address bad request response has a 5xx status code

func (*UpdateMTOShipmentAddressBadRequest) IsSuccess

IsSuccess returns true when this update m t o shipment address bad request response has a 2xx status code

func (*UpdateMTOShipmentAddressBadRequest) String

type UpdateMTOShipmentAddressConflict

type UpdateMTOShipmentAddressConflict struct {
	Payload *primemessages.ClientError
}

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

The request could not be processed because of conflict in the current state of the resource.

func NewUpdateMTOShipmentAddressConflict

func NewUpdateMTOShipmentAddressConflict() *UpdateMTOShipmentAddressConflict

NewUpdateMTOShipmentAddressConflict creates a UpdateMTOShipmentAddressConflict with default headers values

func (*UpdateMTOShipmentAddressConflict) Code

Code gets the status code for the update m t o shipment address conflict response

func (*UpdateMTOShipmentAddressConflict) Error

func (*UpdateMTOShipmentAddressConflict) GetPayload

func (*UpdateMTOShipmentAddressConflict) IsClientError

func (o *UpdateMTOShipmentAddressConflict) IsClientError() bool

IsClientError returns true when this update m t o shipment address conflict response has a 4xx status code

func (*UpdateMTOShipmentAddressConflict) IsCode

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

IsCode returns true when this update m t o shipment address conflict response a status code equal to that given

func (*UpdateMTOShipmentAddressConflict) IsRedirect

func (o *UpdateMTOShipmentAddressConflict) IsRedirect() bool

IsRedirect returns true when this update m t o shipment address conflict response has a 3xx status code

func (*UpdateMTOShipmentAddressConflict) IsServerError

func (o *UpdateMTOShipmentAddressConflict) IsServerError() bool

IsServerError returns true when this update m t o shipment address conflict response has a 5xx status code

func (*UpdateMTOShipmentAddressConflict) IsSuccess

func (o *UpdateMTOShipmentAddressConflict) IsSuccess() bool

IsSuccess returns true when this update m t o shipment address conflict response has a 2xx status code

func (*UpdateMTOShipmentAddressConflict) String

type UpdateMTOShipmentAddressForbidden

type UpdateMTOShipmentAddressForbidden struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewUpdateMTOShipmentAddressForbidden

func NewUpdateMTOShipmentAddressForbidden() *UpdateMTOShipmentAddressForbidden

NewUpdateMTOShipmentAddressForbidden creates a UpdateMTOShipmentAddressForbidden with default headers values

func (*UpdateMTOShipmentAddressForbidden) Code

Code gets the status code for the update m t o shipment address forbidden response

func (*UpdateMTOShipmentAddressForbidden) Error

func (*UpdateMTOShipmentAddressForbidden) GetPayload

func (*UpdateMTOShipmentAddressForbidden) IsClientError

func (o *UpdateMTOShipmentAddressForbidden) IsClientError() bool

IsClientError returns true when this update m t o shipment address forbidden response has a 4xx status code

func (*UpdateMTOShipmentAddressForbidden) IsCode

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

IsCode returns true when this update m t o shipment address forbidden response a status code equal to that given

func (*UpdateMTOShipmentAddressForbidden) IsRedirect

func (o *UpdateMTOShipmentAddressForbidden) IsRedirect() bool

IsRedirect returns true when this update m t o shipment address forbidden response has a 3xx status code

func (*UpdateMTOShipmentAddressForbidden) IsServerError

func (o *UpdateMTOShipmentAddressForbidden) IsServerError() bool

IsServerError returns true when this update m t o shipment address forbidden response has a 5xx status code

func (*UpdateMTOShipmentAddressForbidden) IsSuccess

func (o *UpdateMTOShipmentAddressForbidden) IsSuccess() bool

IsSuccess returns true when this update m t o shipment address forbidden response has a 2xx status code

func (*UpdateMTOShipmentAddressForbidden) String

type UpdateMTOShipmentAddressInternalServerError

type UpdateMTOShipmentAddressInternalServerError struct {
	Payload *primemessages.Error
}

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

A server error occurred.

func NewUpdateMTOShipmentAddressInternalServerError

func NewUpdateMTOShipmentAddressInternalServerError() *UpdateMTOShipmentAddressInternalServerError

NewUpdateMTOShipmentAddressInternalServerError creates a UpdateMTOShipmentAddressInternalServerError with default headers values

func (*UpdateMTOShipmentAddressInternalServerError) Code

Code gets the status code for the update m t o shipment address internal server error response

func (*UpdateMTOShipmentAddressInternalServerError) Error

func (*UpdateMTOShipmentAddressInternalServerError) GetPayload

func (*UpdateMTOShipmentAddressInternalServerError) IsClientError

IsClientError returns true when this update m t o shipment address internal server error response has a 4xx status code

func (*UpdateMTOShipmentAddressInternalServerError) IsCode

IsCode returns true when this update m t o shipment address internal server error response a status code equal to that given

func (*UpdateMTOShipmentAddressInternalServerError) IsRedirect

IsRedirect returns true when this update m t o shipment address internal server error response has a 3xx status code

func (*UpdateMTOShipmentAddressInternalServerError) IsServerError

IsServerError returns true when this update m t o shipment address internal server error response has a 5xx status code

func (*UpdateMTOShipmentAddressInternalServerError) IsSuccess

IsSuccess returns true when this update m t o shipment address internal server error response has a 2xx status code

func (*UpdateMTOShipmentAddressInternalServerError) String

type UpdateMTOShipmentAddressNotFound

type UpdateMTOShipmentAddressNotFound struct {
	Payload *primemessages.ClientError
}

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

The requested resource wasn't found.

func NewUpdateMTOShipmentAddressNotFound

func NewUpdateMTOShipmentAddressNotFound() *UpdateMTOShipmentAddressNotFound

NewUpdateMTOShipmentAddressNotFound creates a UpdateMTOShipmentAddressNotFound with default headers values

func (*UpdateMTOShipmentAddressNotFound) Code

Code gets the status code for the update m t o shipment address not found response

func (*UpdateMTOShipmentAddressNotFound) Error

func (*UpdateMTOShipmentAddressNotFound) GetPayload

func (*UpdateMTOShipmentAddressNotFound) IsClientError

func (o *UpdateMTOShipmentAddressNotFound) IsClientError() bool

IsClientError returns true when this update m t o shipment address not found response has a 4xx status code

func (*UpdateMTOShipmentAddressNotFound) IsCode

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

IsCode returns true when this update m t o shipment address not found response a status code equal to that given

func (*UpdateMTOShipmentAddressNotFound) IsRedirect

func (o *UpdateMTOShipmentAddressNotFound) IsRedirect() bool

IsRedirect returns true when this update m t o shipment address not found response has a 3xx status code

func (*UpdateMTOShipmentAddressNotFound) IsServerError

func (o *UpdateMTOShipmentAddressNotFound) IsServerError() bool

IsServerError returns true when this update m t o shipment address not found response has a 5xx status code

func (*UpdateMTOShipmentAddressNotFound) IsSuccess

func (o *UpdateMTOShipmentAddressNotFound) IsSuccess() bool

IsSuccess returns true when this update m t o shipment address not found response has a 2xx status code

func (*UpdateMTOShipmentAddressNotFound) String

type UpdateMTOShipmentAddressOK

type UpdateMTOShipmentAddressOK struct {
	Payload *primemessages.Address
}

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

Successfully updated the address.

func NewUpdateMTOShipmentAddressOK

func NewUpdateMTOShipmentAddressOK() *UpdateMTOShipmentAddressOK

NewUpdateMTOShipmentAddressOK creates a UpdateMTOShipmentAddressOK with default headers values

func (*UpdateMTOShipmentAddressOK) Code

func (o *UpdateMTOShipmentAddressOK) Code() int

Code gets the status code for the update m t o shipment address o k response

func (*UpdateMTOShipmentAddressOK) Error

func (*UpdateMTOShipmentAddressOK) GetPayload

func (*UpdateMTOShipmentAddressOK) IsClientError

func (o *UpdateMTOShipmentAddressOK) IsClientError() bool

IsClientError returns true when this update m t o shipment address o k response has a 4xx status code

func (*UpdateMTOShipmentAddressOK) IsCode

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

IsCode returns true when this update m t o shipment address o k response a status code equal to that given

func (*UpdateMTOShipmentAddressOK) IsRedirect

func (o *UpdateMTOShipmentAddressOK) IsRedirect() bool

IsRedirect returns true when this update m t o shipment address o k response has a 3xx status code

func (*UpdateMTOShipmentAddressOK) IsServerError

func (o *UpdateMTOShipmentAddressOK) IsServerError() bool

IsServerError returns true when this update m t o shipment address o k response has a 5xx status code

func (*UpdateMTOShipmentAddressOK) IsSuccess

func (o *UpdateMTOShipmentAddressOK) IsSuccess() bool

IsSuccess returns true when this update m t o shipment address o k response has a 2xx status code

func (*UpdateMTOShipmentAddressOK) String

func (o *UpdateMTOShipmentAddressOK) String() string

type UpdateMTOShipmentAddressParams

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

	/* AddressID.

	   UUID of the address being updated

	   Format: uuid
	*/
	AddressID strfmt.UUID

	// Body.
	Body *primemessages.Address

	/* MtoShipmentID.

	   UUID of the shipment associated with the address

	   Format: uuid
	*/
	MtoShipmentID strfmt.UUID

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

UpdateMTOShipmentAddressParams contains all the parameters to send to the API endpoint

for the update m t o shipment address operation.

Typically these are written to a http.Request.

func NewUpdateMTOShipmentAddressParams

func NewUpdateMTOShipmentAddressParams() *UpdateMTOShipmentAddressParams

NewUpdateMTOShipmentAddressParams creates a new UpdateMTOShipmentAddressParams 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 NewUpdateMTOShipmentAddressParamsWithContext

func NewUpdateMTOShipmentAddressParamsWithContext(ctx context.Context) *UpdateMTOShipmentAddressParams

NewUpdateMTOShipmentAddressParamsWithContext creates a new UpdateMTOShipmentAddressParams object with the ability to set a context for a request.

func NewUpdateMTOShipmentAddressParamsWithHTTPClient

func NewUpdateMTOShipmentAddressParamsWithHTTPClient(client *http.Client) *UpdateMTOShipmentAddressParams

NewUpdateMTOShipmentAddressParamsWithHTTPClient creates a new UpdateMTOShipmentAddressParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateMTOShipmentAddressParamsWithTimeout

func NewUpdateMTOShipmentAddressParamsWithTimeout(timeout time.Duration) *UpdateMTOShipmentAddressParams

NewUpdateMTOShipmentAddressParamsWithTimeout creates a new UpdateMTOShipmentAddressParams object with the ability to set a timeout on a request.

func (*UpdateMTOShipmentAddressParams) SetAddressID

func (o *UpdateMTOShipmentAddressParams) SetAddressID(addressID strfmt.UUID)

SetAddressID adds the addressId to the update m t o shipment address params

func (*UpdateMTOShipmentAddressParams) SetBody

SetBody adds the body to the update m t o shipment address params

func (*UpdateMTOShipmentAddressParams) SetContext

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

SetContext adds the context to the update m t o shipment address params

func (*UpdateMTOShipmentAddressParams) SetDefaults

func (o *UpdateMTOShipmentAddressParams) SetDefaults()

SetDefaults hydrates default values in the update m t o shipment address params (not the query body).

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

func (*UpdateMTOShipmentAddressParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update m t o shipment address params

func (*UpdateMTOShipmentAddressParams) SetIfMatch

func (o *UpdateMTOShipmentAddressParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the update m t o shipment address params

func (*UpdateMTOShipmentAddressParams) SetMtoShipmentID

func (o *UpdateMTOShipmentAddressParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)

SetMtoShipmentID adds the mtoShipmentId to the update m t o shipment address params

func (*UpdateMTOShipmentAddressParams) SetTimeout

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

SetTimeout adds the timeout to the update m t o shipment address params

func (*UpdateMTOShipmentAddressParams) WithAddressID

WithAddressID adds the addressID to the update m t o shipment address params

func (*UpdateMTOShipmentAddressParams) WithBody

WithBody adds the body to the update m t o shipment address params

func (*UpdateMTOShipmentAddressParams) WithContext

WithContext adds the context to the update m t o shipment address params

func (*UpdateMTOShipmentAddressParams) WithDefaults

WithDefaults hydrates default values in the update m t o shipment address params (not the query body).

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

func (*UpdateMTOShipmentAddressParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update m t o shipment address params

func (*UpdateMTOShipmentAddressParams) WithIfMatch

WithIfMatch adds the ifMatch to the update m t o shipment address params

func (*UpdateMTOShipmentAddressParams) WithMtoShipmentID

func (o *UpdateMTOShipmentAddressParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *UpdateMTOShipmentAddressParams

WithMtoShipmentID adds the mtoShipmentID to the update m t o shipment address params

func (*UpdateMTOShipmentAddressParams) WithTimeout

WithTimeout adds the timeout to the update m t o shipment address params

func (*UpdateMTOShipmentAddressParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateMTOShipmentAddressPreconditionFailed

type UpdateMTOShipmentAddressPreconditionFailed struct {
	Payload *primemessages.ClientError
}

UpdateMTOShipmentAddressPreconditionFailed 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 NewUpdateMTOShipmentAddressPreconditionFailed

func NewUpdateMTOShipmentAddressPreconditionFailed() *UpdateMTOShipmentAddressPreconditionFailed

NewUpdateMTOShipmentAddressPreconditionFailed creates a UpdateMTOShipmentAddressPreconditionFailed with default headers values

func (*UpdateMTOShipmentAddressPreconditionFailed) Code

Code gets the status code for the update m t o shipment address precondition failed response

func (*UpdateMTOShipmentAddressPreconditionFailed) Error

func (*UpdateMTOShipmentAddressPreconditionFailed) GetPayload

func (*UpdateMTOShipmentAddressPreconditionFailed) IsClientError

IsClientError returns true when this update m t o shipment address precondition failed response has a 4xx status code

func (*UpdateMTOShipmentAddressPreconditionFailed) IsCode

IsCode returns true when this update m t o shipment address precondition failed response a status code equal to that given

func (*UpdateMTOShipmentAddressPreconditionFailed) IsRedirect

IsRedirect returns true when this update m t o shipment address precondition failed response has a 3xx status code

func (*UpdateMTOShipmentAddressPreconditionFailed) IsServerError

IsServerError returns true when this update m t o shipment address precondition failed response has a 5xx status code

func (*UpdateMTOShipmentAddressPreconditionFailed) IsSuccess

IsSuccess returns true when this update m t o shipment address precondition failed response has a 2xx status code

func (*UpdateMTOShipmentAddressPreconditionFailed) String

type UpdateMTOShipmentAddressReader

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

UpdateMTOShipmentAddressReader is a Reader for the UpdateMTOShipmentAddress structure.

func (*UpdateMTOShipmentAddressReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateMTOShipmentAddressUnauthorized

type UpdateMTOShipmentAddressUnauthorized struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewUpdateMTOShipmentAddressUnauthorized

func NewUpdateMTOShipmentAddressUnauthorized() *UpdateMTOShipmentAddressUnauthorized

NewUpdateMTOShipmentAddressUnauthorized creates a UpdateMTOShipmentAddressUnauthorized with default headers values

func (*UpdateMTOShipmentAddressUnauthorized) Code

Code gets the status code for the update m t o shipment address unauthorized response

func (*UpdateMTOShipmentAddressUnauthorized) Error

func (*UpdateMTOShipmentAddressUnauthorized) GetPayload

func (*UpdateMTOShipmentAddressUnauthorized) IsClientError

func (o *UpdateMTOShipmentAddressUnauthorized) IsClientError() bool

IsClientError returns true when this update m t o shipment address unauthorized response has a 4xx status code

func (*UpdateMTOShipmentAddressUnauthorized) IsCode

IsCode returns true when this update m t o shipment address unauthorized response a status code equal to that given

func (*UpdateMTOShipmentAddressUnauthorized) IsRedirect

IsRedirect returns true when this update m t o shipment address unauthorized response has a 3xx status code

func (*UpdateMTOShipmentAddressUnauthorized) IsServerError

func (o *UpdateMTOShipmentAddressUnauthorized) IsServerError() bool

IsServerError returns true when this update m t o shipment address unauthorized response has a 5xx status code

func (*UpdateMTOShipmentAddressUnauthorized) IsSuccess

IsSuccess returns true when this update m t o shipment address unauthorized response has a 2xx status code

func (*UpdateMTOShipmentAddressUnauthorized) String

type UpdateMTOShipmentAddressUnprocessableEntity

type UpdateMTOShipmentAddressUnprocessableEntity struct {
	Payload *primemessages.ValidationError
}

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

The request was unprocessable, likely due to bad input from the requester.

func NewUpdateMTOShipmentAddressUnprocessableEntity

func NewUpdateMTOShipmentAddressUnprocessableEntity() *UpdateMTOShipmentAddressUnprocessableEntity

NewUpdateMTOShipmentAddressUnprocessableEntity creates a UpdateMTOShipmentAddressUnprocessableEntity with default headers values

func (*UpdateMTOShipmentAddressUnprocessableEntity) Code

Code gets the status code for the update m t o shipment address unprocessable entity response

func (*UpdateMTOShipmentAddressUnprocessableEntity) Error

func (*UpdateMTOShipmentAddressUnprocessableEntity) GetPayload

func (*UpdateMTOShipmentAddressUnprocessableEntity) IsClientError

IsClientError returns true when this update m t o shipment address unprocessable entity response has a 4xx status code

func (*UpdateMTOShipmentAddressUnprocessableEntity) IsCode

IsCode returns true when this update m t o shipment address unprocessable entity response a status code equal to that given

func (*UpdateMTOShipmentAddressUnprocessableEntity) IsRedirect

IsRedirect returns true when this update m t o shipment address unprocessable entity response has a 3xx status code

func (*UpdateMTOShipmentAddressUnprocessableEntity) IsServerError

IsServerError returns true when this update m t o shipment address unprocessable entity response has a 5xx status code

func (*UpdateMTOShipmentAddressUnprocessableEntity) IsSuccess

IsSuccess returns true when this update m t o shipment address unprocessable entity response has a 2xx status code

func (*UpdateMTOShipmentAddressUnprocessableEntity) String

type UpdateMTOShipmentBadRequest

type UpdateMTOShipmentBadRequest struct {
	Payload *primemessages.ClientError
}

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

The request payload is invalid.

func NewUpdateMTOShipmentBadRequest

func NewUpdateMTOShipmentBadRequest() *UpdateMTOShipmentBadRequest

NewUpdateMTOShipmentBadRequest creates a UpdateMTOShipmentBadRequest with default headers values

func (*UpdateMTOShipmentBadRequest) Code

func (o *UpdateMTOShipmentBadRequest) Code() int

Code gets the status code for the update m t o shipment bad request response

func (*UpdateMTOShipmentBadRequest) Error

func (*UpdateMTOShipmentBadRequest) GetPayload

func (*UpdateMTOShipmentBadRequest) IsClientError

func (o *UpdateMTOShipmentBadRequest) IsClientError() bool

IsClientError returns true when this update m t o shipment bad request response has a 4xx status code

func (*UpdateMTOShipmentBadRequest) IsCode

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

IsCode returns true when this update m t o shipment bad request response a status code equal to that given

func (*UpdateMTOShipmentBadRequest) IsRedirect

func (o *UpdateMTOShipmentBadRequest) IsRedirect() bool

IsRedirect returns true when this update m t o shipment bad request response has a 3xx status code

func (*UpdateMTOShipmentBadRequest) IsServerError

func (o *UpdateMTOShipmentBadRequest) IsServerError() bool

IsServerError returns true when this update m t o shipment bad request response has a 5xx status code

func (*UpdateMTOShipmentBadRequest) IsSuccess

func (o *UpdateMTOShipmentBadRequest) IsSuccess() bool

IsSuccess returns true when this update m t o shipment bad request response has a 2xx status code

func (*UpdateMTOShipmentBadRequest) String

func (o *UpdateMTOShipmentBadRequest) String() string

type UpdateMTOShipmentForbidden

type UpdateMTOShipmentForbidden struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewUpdateMTOShipmentForbidden

func NewUpdateMTOShipmentForbidden() *UpdateMTOShipmentForbidden

NewUpdateMTOShipmentForbidden creates a UpdateMTOShipmentForbidden with default headers values

func (*UpdateMTOShipmentForbidden) Code

func (o *UpdateMTOShipmentForbidden) Code() int

Code gets the status code for the update m t o shipment forbidden response

func (*UpdateMTOShipmentForbidden) Error

func (*UpdateMTOShipmentForbidden) GetPayload

func (*UpdateMTOShipmentForbidden) IsClientError

func (o *UpdateMTOShipmentForbidden) IsClientError() bool

IsClientError returns true when this update m t o shipment forbidden response has a 4xx status code

func (*UpdateMTOShipmentForbidden) IsCode

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

IsCode returns true when this update m t o shipment forbidden response a status code equal to that given

func (*UpdateMTOShipmentForbidden) IsRedirect

func (o *UpdateMTOShipmentForbidden) IsRedirect() bool

IsRedirect returns true when this update m t o shipment forbidden response has a 3xx status code

func (*UpdateMTOShipmentForbidden) IsServerError

func (o *UpdateMTOShipmentForbidden) IsServerError() bool

IsServerError returns true when this update m t o shipment forbidden response has a 5xx status code

func (*UpdateMTOShipmentForbidden) IsSuccess

func (o *UpdateMTOShipmentForbidden) IsSuccess() bool

IsSuccess returns true when this update m t o shipment forbidden response has a 2xx status code

func (*UpdateMTOShipmentForbidden) String

func (o *UpdateMTOShipmentForbidden) String() string

type UpdateMTOShipmentInternalServerError

type UpdateMTOShipmentInternalServerError struct {
	Payload *primemessages.Error
}

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

A server error occurred.

func NewUpdateMTOShipmentInternalServerError

func NewUpdateMTOShipmentInternalServerError() *UpdateMTOShipmentInternalServerError

NewUpdateMTOShipmentInternalServerError creates a UpdateMTOShipmentInternalServerError with default headers values

func (*UpdateMTOShipmentInternalServerError) Code

Code gets the status code for the update m t o shipment internal server error response

func (*UpdateMTOShipmentInternalServerError) Error

func (*UpdateMTOShipmentInternalServerError) GetPayload

func (*UpdateMTOShipmentInternalServerError) IsClientError

func (o *UpdateMTOShipmentInternalServerError) IsClientError() bool

IsClientError returns true when this update m t o shipment internal server error response has a 4xx status code

func (*UpdateMTOShipmentInternalServerError) IsCode

IsCode returns true when this update m t o shipment internal server error response a status code equal to that given

func (*UpdateMTOShipmentInternalServerError) IsRedirect

IsRedirect returns true when this update m t o shipment internal server error response has a 3xx status code

func (*UpdateMTOShipmentInternalServerError) IsServerError

func (o *UpdateMTOShipmentInternalServerError) IsServerError() bool

IsServerError returns true when this update m t o shipment internal server error response has a 5xx status code

func (*UpdateMTOShipmentInternalServerError) IsSuccess

IsSuccess returns true when this update m t o shipment internal server error response has a 2xx status code

func (*UpdateMTOShipmentInternalServerError) String

type UpdateMTOShipmentNotFound

type UpdateMTOShipmentNotFound struct {
	Payload *primemessages.ClientError
}

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

The requested resource wasn't found.

func NewUpdateMTOShipmentNotFound

func NewUpdateMTOShipmentNotFound() *UpdateMTOShipmentNotFound

NewUpdateMTOShipmentNotFound creates a UpdateMTOShipmentNotFound with default headers values

func (*UpdateMTOShipmentNotFound) Code

func (o *UpdateMTOShipmentNotFound) Code() int

Code gets the status code for the update m t o shipment not found response

func (*UpdateMTOShipmentNotFound) Error

func (o *UpdateMTOShipmentNotFound) Error() string

func (*UpdateMTOShipmentNotFound) GetPayload

func (*UpdateMTOShipmentNotFound) IsClientError

func (o *UpdateMTOShipmentNotFound) IsClientError() bool

IsClientError returns true when this update m t o shipment not found response has a 4xx status code

func (*UpdateMTOShipmentNotFound) IsCode

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

IsCode returns true when this update m t o shipment not found response a status code equal to that given

func (*UpdateMTOShipmentNotFound) IsRedirect

func (o *UpdateMTOShipmentNotFound) IsRedirect() bool

IsRedirect returns true when this update m t o shipment not found response has a 3xx status code

func (*UpdateMTOShipmentNotFound) IsServerError

func (o *UpdateMTOShipmentNotFound) IsServerError() bool

IsServerError returns true when this update m t o shipment not found response has a 5xx status code

func (*UpdateMTOShipmentNotFound) IsSuccess

func (o *UpdateMTOShipmentNotFound) IsSuccess() bool

IsSuccess returns true when this update m t o shipment not found response has a 2xx status code

func (*UpdateMTOShipmentNotFound) String

func (o *UpdateMTOShipmentNotFound) String() string

type UpdateMTOShipmentOK

type UpdateMTOShipmentOK struct {
	Payload *primemessages.MTOShipment
}

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

Successfully updated the MTO shipment.

func NewUpdateMTOShipmentOK

func NewUpdateMTOShipmentOK() *UpdateMTOShipmentOK

NewUpdateMTOShipmentOK creates a UpdateMTOShipmentOK with default headers values

func (*UpdateMTOShipmentOK) Code

func (o *UpdateMTOShipmentOK) Code() int

Code gets the status code for the update m t o shipment o k response

func (*UpdateMTOShipmentOK) Error

func (o *UpdateMTOShipmentOK) Error() string

func (*UpdateMTOShipmentOK) GetPayload

func (*UpdateMTOShipmentOK) IsClientError

func (o *UpdateMTOShipmentOK) IsClientError() bool

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

func (*UpdateMTOShipmentOK) IsCode

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

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

func (*UpdateMTOShipmentOK) IsRedirect

func (o *UpdateMTOShipmentOK) IsRedirect() bool

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

func (*UpdateMTOShipmentOK) IsServerError

func (o *UpdateMTOShipmentOK) IsServerError() bool

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

func (*UpdateMTOShipmentOK) IsSuccess

func (o *UpdateMTOShipmentOK) IsSuccess() bool

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

func (*UpdateMTOShipmentOK) String

func (o *UpdateMTOShipmentOK) String() string

type UpdateMTOShipmentParams

type UpdateMTOShipmentParams 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 *primemessages.UpdateMTOShipment

	/* MtoShipmentID.

	   UUID of the shipment being updated.

	   Format: uuid
	*/
	MtoShipmentID strfmt.UUID

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

UpdateMTOShipmentParams contains all the parameters to send to the API endpoint

for the update m t o shipment operation.

Typically these are written to a http.Request.

func NewUpdateMTOShipmentParams

func NewUpdateMTOShipmentParams() *UpdateMTOShipmentParams

NewUpdateMTOShipmentParams creates a new UpdateMTOShipmentParams 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 NewUpdateMTOShipmentParamsWithContext

func NewUpdateMTOShipmentParamsWithContext(ctx context.Context) *UpdateMTOShipmentParams

NewUpdateMTOShipmentParamsWithContext creates a new UpdateMTOShipmentParams object with the ability to set a context for a request.

func NewUpdateMTOShipmentParamsWithHTTPClient

func NewUpdateMTOShipmentParamsWithHTTPClient(client *http.Client) *UpdateMTOShipmentParams

NewUpdateMTOShipmentParamsWithHTTPClient creates a new UpdateMTOShipmentParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateMTOShipmentParamsWithTimeout

func NewUpdateMTOShipmentParamsWithTimeout(timeout time.Duration) *UpdateMTOShipmentParams

NewUpdateMTOShipmentParamsWithTimeout creates a new UpdateMTOShipmentParams object with the ability to set a timeout on a request.

func (*UpdateMTOShipmentParams) SetBody

SetBody adds the body to the update m t o shipment params

func (*UpdateMTOShipmentParams) SetContext

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

SetContext adds the context to the update m t o shipment params

func (*UpdateMTOShipmentParams) SetDefaults

func (o *UpdateMTOShipmentParams) SetDefaults()

SetDefaults hydrates default values in the update m t o shipment params (not the query body).

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

func (*UpdateMTOShipmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update m t o shipment params

func (*UpdateMTOShipmentParams) SetIfMatch

func (o *UpdateMTOShipmentParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the update m t o shipment params

func (*UpdateMTOShipmentParams) SetMtoShipmentID

func (o *UpdateMTOShipmentParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)

SetMtoShipmentID adds the mtoShipmentId to the update m t o shipment params

func (*UpdateMTOShipmentParams) SetTimeout

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

SetTimeout adds the timeout to the update m t o shipment params

func (*UpdateMTOShipmentParams) WithBody

WithBody adds the body to the update m t o shipment params

func (*UpdateMTOShipmentParams) WithContext

WithContext adds the context to the update m t o shipment params

func (*UpdateMTOShipmentParams) WithDefaults

WithDefaults hydrates default values in the update m t o shipment params (not the query body).

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

func (*UpdateMTOShipmentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update m t o shipment params

func (*UpdateMTOShipmentParams) WithIfMatch

func (o *UpdateMTOShipmentParams) WithIfMatch(ifMatch string) *UpdateMTOShipmentParams

WithIfMatch adds the ifMatch to the update m t o shipment params

func (*UpdateMTOShipmentParams) WithMtoShipmentID

func (o *UpdateMTOShipmentParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *UpdateMTOShipmentParams

WithMtoShipmentID adds the mtoShipmentID to the update m t o shipment params

func (*UpdateMTOShipmentParams) WithTimeout

WithTimeout adds the timeout to the update m t o shipment params

func (*UpdateMTOShipmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateMTOShipmentPreconditionFailed

type UpdateMTOShipmentPreconditionFailed struct {
	Payload *primemessages.ClientError
}

UpdateMTOShipmentPreconditionFailed 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 NewUpdateMTOShipmentPreconditionFailed

func NewUpdateMTOShipmentPreconditionFailed() *UpdateMTOShipmentPreconditionFailed

NewUpdateMTOShipmentPreconditionFailed creates a UpdateMTOShipmentPreconditionFailed with default headers values

func (*UpdateMTOShipmentPreconditionFailed) Code

Code gets the status code for the update m t o shipment precondition failed response

func (*UpdateMTOShipmentPreconditionFailed) Error

func (*UpdateMTOShipmentPreconditionFailed) GetPayload

func (*UpdateMTOShipmentPreconditionFailed) IsClientError

func (o *UpdateMTOShipmentPreconditionFailed) IsClientError() bool

IsClientError returns true when this update m t o shipment precondition failed response has a 4xx status code

func (*UpdateMTOShipmentPreconditionFailed) IsCode

IsCode returns true when this update m t o shipment precondition failed response a status code equal to that given

func (*UpdateMTOShipmentPreconditionFailed) IsRedirect

func (o *UpdateMTOShipmentPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this update m t o shipment precondition failed response has a 3xx status code

func (*UpdateMTOShipmentPreconditionFailed) IsServerError

func (o *UpdateMTOShipmentPreconditionFailed) IsServerError() bool

IsServerError returns true when this update m t o shipment precondition failed response has a 5xx status code

func (*UpdateMTOShipmentPreconditionFailed) IsSuccess

IsSuccess returns true when this update m t o shipment precondition failed response has a 2xx status code

func (*UpdateMTOShipmentPreconditionFailed) String

type UpdateMTOShipmentReader

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

UpdateMTOShipmentReader is a Reader for the UpdateMTOShipment structure.

func (*UpdateMTOShipmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateMTOShipmentStatusBadRequest

type UpdateMTOShipmentStatusBadRequest struct {
	Payload *primemessages.ClientError
}

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

The request payload is invalid.

func NewUpdateMTOShipmentStatusBadRequest

func NewUpdateMTOShipmentStatusBadRequest() *UpdateMTOShipmentStatusBadRequest

NewUpdateMTOShipmentStatusBadRequest creates a UpdateMTOShipmentStatusBadRequest with default headers values

func (*UpdateMTOShipmentStatusBadRequest) Code

Code gets the status code for the update m t o shipment status bad request response

func (*UpdateMTOShipmentStatusBadRequest) Error

func (*UpdateMTOShipmentStatusBadRequest) GetPayload

func (*UpdateMTOShipmentStatusBadRequest) IsClientError

func (o *UpdateMTOShipmentStatusBadRequest) IsClientError() bool

IsClientError returns true when this update m t o shipment status bad request response has a 4xx status code

func (*UpdateMTOShipmentStatusBadRequest) IsCode

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

IsCode returns true when this update m t o shipment status bad request response a status code equal to that given

func (*UpdateMTOShipmentStatusBadRequest) IsRedirect

func (o *UpdateMTOShipmentStatusBadRequest) IsRedirect() bool

IsRedirect returns true when this update m t o shipment status bad request response has a 3xx status code

func (*UpdateMTOShipmentStatusBadRequest) IsServerError

func (o *UpdateMTOShipmentStatusBadRequest) IsServerError() bool

IsServerError returns true when this update m t o shipment status bad request response has a 5xx status code

func (*UpdateMTOShipmentStatusBadRequest) IsSuccess

func (o *UpdateMTOShipmentStatusBadRequest) IsSuccess() bool

IsSuccess returns true when this update m t o shipment status bad request response has a 2xx status code

func (*UpdateMTOShipmentStatusBadRequest) String

type UpdateMTOShipmentStatusConflict

type UpdateMTOShipmentStatusConflict struct {
	Payload *primemessages.ClientError
}

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

The request could not be processed because of conflict in the current state of the resource.

func NewUpdateMTOShipmentStatusConflict

func NewUpdateMTOShipmentStatusConflict() *UpdateMTOShipmentStatusConflict

NewUpdateMTOShipmentStatusConflict creates a UpdateMTOShipmentStatusConflict with default headers values

func (*UpdateMTOShipmentStatusConflict) Code

Code gets the status code for the update m t o shipment status conflict response

func (*UpdateMTOShipmentStatusConflict) Error

func (*UpdateMTOShipmentStatusConflict) GetPayload

func (*UpdateMTOShipmentStatusConflict) IsClientError

func (o *UpdateMTOShipmentStatusConflict) IsClientError() bool

IsClientError returns true when this update m t o shipment status conflict response has a 4xx status code

func (*UpdateMTOShipmentStatusConflict) IsCode

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

IsCode returns true when this update m t o shipment status conflict response a status code equal to that given

func (*UpdateMTOShipmentStatusConflict) IsRedirect

func (o *UpdateMTOShipmentStatusConflict) IsRedirect() bool

IsRedirect returns true when this update m t o shipment status conflict response has a 3xx status code

func (*UpdateMTOShipmentStatusConflict) IsServerError

func (o *UpdateMTOShipmentStatusConflict) IsServerError() bool

IsServerError returns true when this update m t o shipment status conflict response has a 5xx status code

func (*UpdateMTOShipmentStatusConflict) IsSuccess

func (o *UpdateMTOShipmentStatusConflict) IsSuccess() bool

IsSuccess returns true when this update m t o shipment status conflict response has a 2xx status code

func (*UpdateMTOShipmentStatusConflict) String

type UpdateMTOShipmentStatusForbidden

type UpdateMTOShipmentStatusForbidden struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewUpdateMTOShipmentStatusForbidden

func NewUpdateMTOShipmentStatusForbidden() *UpdateMTOShipmentStatusForbidden

NewUpdateMTOShipmentStatusForbidden creates a UpdateMTOShipmentStatusForbidden with default headers values

func (*UpdateMTOShipmentStatusForbidden) Code

Code gets the status code for the update m t o shipment status forbidden response

func (*UpdateMTOShipmentStatusForbidden) Error

func (*UpdateMTOShipmentStatusForbidden) GetPayload

func (*UpdateMTOShipmentStatusForbidden) IsClientError

func (o *UpdateMTOShipmentStatusForbidden) IsClientError() bool

IsClientError returns true when this update m t o shipment status forbidden response has a 4xx status code

func (*UpdateMTOShipmentStatusForbidden) IsCode

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

IsCode returns true when this update m t o shipment status forbidden response a status code equal to that given

func (*UpdateMTOShipmentStatusForbidden) IsRedirect

func (o *UpdateMTOShipmentStatusForbidden) IsRedirect() bool

IsRedirect returns true when this update m t o shipment status forbidden response has a 3xx status code

func (*UpdateMTOShipmentStatusForbidden) IsServerError

func (o *UpdateMTOShipmentStatusForbidden) IsServerError() bool

IsServerError returns true when this update m t o shipment status forbidden response has a 5xx status code

func (*UpdateMTOShipmentStatusForbidden) IsSuccess

func (o *UpdateMTOShipmentStatusForbidden) IsSuccess() bool

IsSuccess returns true when this update m t o shipment status forbidden response has a 2xx status code

func (*UpdateMTOShipmentStatusForbidden) String

type UpdateMTOShipmentStatusInternalServerError

type UpdateMTOShipmentStatusInternalServerError struct {
	Payload *primemessages.Error
}

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

A server error occurred.

func NewUpdateMTOShipmentStatusInternalServerError

func NewUpdateMTOShipmentStatusInternalServerError() *UpdateMTOShipmentStatusInternalServerError

NewUpdateMTOShipmentStatusInternalServerError creates a UpdateMTOShipmentStatusInternalServerError with default headers values

func (*UpdateMTOShipmentStatusInternalServerError) Code

Code gets the status code for the update m t o shipment status internal server error response

func (*UpdateMTOShipmentStatusInternalServerError) Error

func (*UpdateMTOShipmentStatusInternalServerError) GetPayload

func (*UpdateMTOShipmentStatusInternalServerError) IsClientError

IsClientError returns true when this update m t o shipment status internal server error response has a 4xx status code

func (*UpdateMTOShipmentStatusInternalServerError) IsCode

IsCode returns true when this update m t o shipment status internal server error response a status code equal to that given

func (*UpdateMTOShipmentStatusInternalServerError) IsRedirect

IsRedirect returns true when this update m t o shipment status internal server error response has a 3xx status code

func (*UpdateMTOShipmentStatusInternalServerError) IsServerError

IsServerError returns true when this update m t o shipment status internal server error response has a 5xx status code

func (*UpdateMTOShipmentStatusInternalServerError) IsSuccess

IsSuccess returns true when this update m t o shipment status internal server error response has a 2xx status code

func (*UpdateMTOShipmentStatusInternalServerError) String

type UpdateMTOShipmentStatusNotFound

type UpdateMTOShipmentStatusNotFound struct {
	Payload *primemessages.ClientError
}

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

The requested resource wasn't found.

func NewUpdateMTOShipmentStatusNotFound

func NewUpdateMTOShipmentStatusNotFound() *UpdateMTOShipmentStatusNotFound

NewUpdateMTOShipmentStatusNotFound creates a UpdateMTOShipmentStatusNotFound with default headers values

func (*UpdateMTOShipmentStatusNotFound) Code

Code gets the status code for the update m t o shipment status not found response

func (*UpdateMTOShipmentStatusNotFound) Error

func (*UpdateMTOShipmentStatusNotFound) GetPayload

func (*UpdateMTOShipmentStatusNotFound) IsClientError

func (o *UpdateMTOShipmentStatusNotFound) IsClientError() bool

IsClientError returns true when this update m t o shipment status not found response has a 4xx status code

func (*UpdateMTOShipmentStatusNotFound) IsCode

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

IsCode returns true when this update m t o shipment status not found response a status code equal to that given

func (*UpdateMTOShipmentStatusNotFound) IsRedirect

func (o *UpdateMTOShipmentStatusNotFound) IsRedirect() bool

IsRedirect returns true when this update m t o shipment status not found response has a 3xx status code

func (*UpdateMTOShipmentStatusNotFound) IsServerError

func (o *UpdateMTOShipmentStatusNotFound) IsServerError() bool

IsServerError returns true when this update m t o shipment status not found response has a 5xx status code

func (*UpdateMTOShipmentStatusNotFound) IsSuccess

func (o *UpdateMTOShipmentStatusNotFound) IsSuccess() bool

IsSuccess returns true when this update m t o shipment status not found response has a 2xx status code

func (*UpdateMTOShipmentStatusNotFound) String

type UpdateMTOShipmentStatusOK

type UpdateMTOShipmentStatusOK struct {
	Payload *primemessages.MTOShipment
}

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

Successfully updated the shipment's status.

func NewUpdateMTOShipmentStatusOK

func NewUpdateMTOShipmentStatusOK() *UpdateMTOShipmentStatusOK

NewUpdateMTOShipmentStatusOK creates a UpdateMTOShipmentStatusOK with default headers values

func (*UpdateMTOShipmentStatusOK) Code

func (o *UpdateMTOShipmentStatusOK) Code() int

Code gets the status code for the update m t o shipment status o k response

func (*UpdateMTOShipmentStatusOK) Error

func (o *UpdateMTOShipmentStatusOK) Error() string

func (*UpdateMTOShipmentStatusOK) GetPayload

func (*UpdateMTOShipmentStatusOK) IsClientError

func (o *UpdateMTOShipmentStatusOK) IsClientError() bool

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

func (*UpdateMTOShipmentStatusOK) IsCode

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

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

func (*UpdateMTOShipmentStatusOK) IsRedirect

func (o *UpdateMTOShipmentStatusOK) IsRedirect() bool

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

func (*UpdateMTOShipmentStatusOK) IsServerError

func (o *UpdateMTOShipmentStatusOK) IsServerError() bool

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

func (*UpdateMTOShipmentStatusOK) IsSuccess

func (o *UpdateMTOShipmentStatusOK) IsSuccess() bool

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

func (*UpdateMTOShipmentStatusOK) String

func (o *UpdateMTOShipmentStatusOK) String() string

type UpdateMTOShipmentStatusParams

type UpdateMTOShipmentStatusParams 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 *primemessages.UpdateMTOShipmentStatus

	/* MtoShipmentID.

	   UUID of the shipment associated with the agent

	   Format: uuid
	*/
	MtoShipmentID strfmt.UUID

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

UpdateMTOShipmentStatusParams contains all the parameters to send to the API endpoint

for the update m t o shipment status operation.

Typically these are written to a http.Request.

func NewUpdateMTOShipmentStatusParams

func NewUpdateMTOShipmentStatusParams() *UpdateMTOShipmentStatusParams

NewUpdateMTOShipmentStatusParams creates a new UpdateMTOShipmentStatusParams 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 NewUpdateMTOShipmentStatusParamsWithContext

func NewUpdateMTOShipmentStatusParamsWithContext(ctx context.Context) *UpdateMTOShipmentStatusParams

NewUpdateMTOShipmentStatusParamsWithContext creates a new UpdateMTOShipmentStatusParams object with the ability to set a context for a request.

func NewUpdateMTOShipmentStatusParamsWithHTTPClient

func NewUpdateMTOShipmentStatusParamsWithHTTPClient(client *http.Client) *UpdateMTOShipmentStatusParams

NewUpdateMTOShipmentStatusParamsWithHTTPClient creates a new UpdateMTOShipmentStatusParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateMTOShipmentStatusParamsWithTimeout

func NewUpdateMTOShipmentStatusParamsWithTimeout(timeout time.Duration) *UpdateMTOShipmentStatusParams

NewUpdateMTOShipmentStatusParamsWithTimeout creates a new UpdateMTOShipmentStatusParams object with the ability to set a timeout on a request.

func (*UpdateMTOShipmentStatusParams) SetBody

SetBody adds the body to the update m t o shipment status params

func (*UpdateMTOShipmentStatusParams) SetContext

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

SetContext adds the context to the update m t o shipment status params

func (*UpdateMTOShipmentStatusParams) SetDefaults

func (o *UpdateMTOShipmentStatusParams) SetDefaults()

SetDefaults hydrates default values in the update m t o shipment status params (not the query body).

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

func (*UpdateMTOShipmentStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update m t o shipment status params

func (*UpdateMTOShipmentStatusParams) SetIfMatch

func (o *UpdateMTOShipmentStatusParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the update m t o shipment status params

func (*UpdateMTOShipmentStatusParams) SetMtoShipmentID

func (o *UpdateMTOShipmentStatusParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)

SetMtoShipmentID adds the mtoShipmentId to the update m t o shipment status params

func (*UpdateMTOShipmentStatusParams) SetTimeout

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

SetTimeout adds the timeout to the update m t o shipment status params

func (*UpdateMTOShipmentStatusParams) WithBody

WithBody adds the body to the update m t o shipment status params

func (*UpdateMTOShipmentStatusParams) WithContext

WithContext adds the context to the update m t o shipment status params

func (*UpdateMTOShipmentStatusParams) WithDefaults

WithDefaults hydrates default values in the update m t o shipment status params (not the query body).

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

func (*UpdateMTOShipmentStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update m t o shipment status params

func (*UpdateMTOShipmentStatusParams) WithIfMatch

WithIfMatch adds the ifMatch to the update m t o shipment status params

func (*UpdateMTOShipmentStatusParams) WithMtoShipmentID

func (o *UpdateMTOShipmentStatusParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *UpdateMTOShipmentStatusParams

WithMtoShipmentID adds the mtoShipmentID to the update m t o shipment status params

func (*UpdateMTOShipmentStatusParams) WithTimeout

WithTimeout adds the timeout to the update m t o shipment status params

func (*UpdateMTOShipmentStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateMTOShipmentStatusPreconditionFailed

type UpdateMTOShipmentStatusPreconditionFailed struct {
	Payload *primemessages.ClientError
}

UpdateMTOShipmentStatusPreconditionFailed 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 NewUpdateMTOShipmentStatusPreconditionFailed

func NewUpdateMTOShipmentStatusPreconditionFailed() *UpdateMTOShipmentStatusPreconditionFailed

NewUpdateMTOShipmentStatusPreconditionFailed creates a UpdateMTOShipmentStatusPreconditionFailed with default headers values

func (*UpdateMTOShipmentStatusPreconditionFailed) Code

Code gets the status code for the update m t o shipment status precondition failed response

func (*UpdateMTOShipmentStatusPreconditionFailed) Error

func (*UpdateMTOShipmentStatusPreconditionFailed) GetPayload

func (*UpdateMTOShipmentStatusPreconditionFailed) IsClientError

IsClientError returns true when this update m t o shipment status precondition failed response has a 4xx status code

func (*UpdateMTOShipmentStatusPreconditionFailed) IsCode

IsCode returns true when this update m t o shipment status precondition failed response a status code equal to that given

func (*UpdateMTOShipmentStatusPreconditionFailed) IsRedirect

IsRedirect returns true when this update m t o shipment status precondition failed response has a 3xx status code

func (*UpdateMTOShipmentStatusPreconditionFailed) IsServerError

IsServerError returns true when this update m t o shipment status precondition failed response has a 5xx status code

func (*UpdateMTOShipmentStatusPreconditionFailed) IsSuccess

IsSuccess returns true when this update m t o shipment status precondition failed response has a 2xx status code

func (*UpdateMTOShipmentStatusPreconditionFailed) String

type UpdateMTOShipmentStatusReader

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

UpdateMTOShipmentStatusReader is a Reader for the UpdateMTOShipmentStatus structure.

func (*UpdateMTOShipmentStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateMTOShipmentStatusUnauthorized

type UpdateMTOShipmentStatusUnauthorized struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewUpdateMTOShipmentStatusUnauthorized

func NewUpdateMTOShipmentStatusUnauthorized() *UpdateMTOShipmentStatusUnauthorized

NewUpdateMTOShipmentStatusUnauthorized creates a UpdateMTOShipmentStatusUnauthorized with default headers values

func (*UpdateMTOShipmentStatusUnauthorized) Code

Code gets the status code for the update m t o shipment status unauthorized response

func (*UpdateMTOShipmentStatusUnauthorized) Error

func (*UpdateMTOShipmentStatusUnauthorized) GetPayload

func (*UpdateMTOShipmentStatusUnauthorized) IsClientError

func (o *UpdateMTOShipmentStatusUnauthorized) IsClientError() bool

IsClientError returns true when this update m t o shipment status unauthorized response has a 4xx status code

func (*UpdateMTOShipmentStatusUnauthorized) IsCode

IsCode returns true when this update m t o shipment status unauthorized response a status code equal to that given

func (*UpdateMTOShipmentStatusUnauthorized) IsRedirect

func (o *UpdateMTOShipmentStatusUnauthorized) IsRedirect() bool

IsRedirect returns true when this update m t o shipment status unauthorized response has a 3xx status code

func (*UpdateMTOShipmentStatusUnauthorized) IsServerError

func (o *UpdateMTOShipmentStatusUnauthorized) IsServerError() bool

IsServerError returns true when this update m t o shipment status unauthorized response has a 5xx status code

func (*UpdateMTOShipmentStatusUnauthorized) IsSuccess

IsSuccess returns true when this update m t o shipment status unauthorized response has a 2xx status code

func (*UpdateMTOShipmentStatusUnauthorized) String

type UpdateMTOShipmentStatusUnprocessableEntity

type UpdateMTOShipmentStatusUnprocessableEntity struct {
	Payload *primemessages.ValidationError
}

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

The request was unprocessable, likely due to bad input from the requester.

func NewUpdateMTOShipmentStatusUnprocessableEntity

func NewUpdateMTOShipmentStatusUnprocessableEntity() *UpdateMTOShipmentStatusUnprocessableEntity

NewUpdateMTOShipmentStatusUnprocessableEntity creates a UpdateMTOShipmentStatusUnprocessableEntity with default headers values

func (*UpdateMTOShipmentStatusUnprocessableEntity) Code

Code gets the status code for the update m t o shipment status unprocessable entity response

func (*UpdateMTOShipmentStatusUnprocessableEntity) Error

func (*UpdateMTOShipmentStatusUnprocessableEntity) GetPayload

func (*UpdateMTOShipmentStatusUnprocessableEntity) IsClientError

IsClientError returns true when this update m t o shipment status unprocessable entity response has a 4xx status code

func (*UpdateMTOShipmentStatusUnprocessableEntity) IsCode

IsCode returns true when this update m t o shipment status unprocessable entity response a status code equal to that given

func (*UpdateMTOShipmentStatusUnprocessableEntity) IsRedirect

IsRedirect returns true when this update m t o shipment status unprocessable entity response has a 3xx status code

func (*UpdateMTOShipmentStatusUnprocessableEntity) IsServerError

IsServerError returns true when this update m t o shipment status unprocessable entity response has a 5xx status code

func (*UpdateMTOShipmentStatusUnprocessableEntity) IsSuccess

IsSuccess returns true when this update m t o shipment status unprocessable entity response has a 2xx status code

func (*UpdateMTOShipmentStatusUnprocessableEntity) String

type UpdateMTOShipmentUnauthorized

type UpdateMTOShipmentUnauthorized struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewUpdateMTOShipmentUnauthorized

func NewUpdateMTOShipmentUnauthorized() *UpdateMTOShipmentUnauthorized

NewUpdateMTOShipmentUnauthorized creates a UpdateMTOShipmentUnauthorized with default headers values

func (*UpdateMTOShipmentUnauthorized) Code

Code gets the status code for the update m t o shipment unauthorized response

func (*UpdateMTOShipmentUnauthorized) Error

func (*UpdateMTOShipmentUnauthorized) GetPayload

func (*UpdateMTOShipmentUnauthorized) IsClientError

func (o *UpdateMTOShipmentUnauthorized) IsClientError() bool

IsClientError returns true when this update m t o shipment unauthorized response has a 4xx status code

func (*UpdateMTOShipmentUnauthorized) IsCode

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

IsCode returns true when this update m t o shipment unauthorized response a status code equal to that given

func (*UpdateMTOShipmentUnauthorized) IsRedirect

func (o *UpdateMTOShipmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this update m t o shipment unauthorized response has a 3xx status code

func (*UpdateMTOShipmentUnauthorized) IsServerError

func (o *UpdateMTOShipmentUnauthorized) IsServerError() bool

IsServerError returns true when this update m t o shipment unauthorized response has a 5xx status code

func (*UpdateMTOShipmentUnauthorized) IsSuccess

func (o *UpdateMTOShipmentUnauthorized) IsSuccess() bool

IsSuccess returns true when this update m t o shipment unauthorized response has a 2xx status code

func (*UpdateMTOShipmentUnauthorized) String

type UpdateMTOShipmentUnprocessableEntity

type UpdateMTOShipmentUnprocessableEntity struct {
	Payload *primemessages.ValidationError
}

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

The request was unprocessable, likely due to bad input from the requester.

func NewUpdateMTOShipmentUnprocessableEntity

func NewUpdateMTOShipmentUnprocessableEntity() *UpdateMTOShipmentUnprocessableEntity

NewUpdateMTOShipmentUnprocessableEntity creates a UpdateMTOShipmentUnprocessableEntity with default headers values

func (*UpdateMTOShipmentUnprocessableEntity) Code

Code gets the status code for the update m t o shipment unprocessable entity response

func (*UpdateMTOShipmentUnprocessableEntity) Error

func (*UpdateMTOShipmentUnprocessableEntity) GetPayload

func (*UpdateMTOShipmentUnprocessableEntity) IsClientError

func (o *UpdateMTOShipmentUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update m t o shipment unprocessable entity response has a 4xx status code

func (*UpdateMTOShipmentUnprocessableEntity) IsCode

IsCode returns true when this update m t o shipment unprocessable entity response a status code equal to that given

func (*UpdateMTOShipmentUnprocessableEntity) IsRedirect

IsRedirect returns true when this update m t o shipment unprocessable entity response has a 3xx status code

func (*UpdateMTOShipmentUnprocessableEntity) IsServerError

func (o *UpdateMTOShipmentUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update m t o shipment unprocessable entity response has a 5xx status code

func (*UpdateMTOShipmentUnprocessableEntity) IsSuccess

IsSuccess returns true when this update m t o shipment unprocessable entity response has a 2xx status code

func (*UpdateMTOShipmentUnprocessableEntity) String

type UpdateReweighBadRequest

type UpdateReweighBadRequest struct {
	Payload *primemessages.ClientError
}

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

The request payload is invalid.

func NewUpdateReweighBadRequest

func NewUpdateReweighBadRequest() *UpdateReweighBadRequest

NewUpdateReweighBadRequest creates a UpdateReweighBadRequest with default headers values

func (*UpdateReweighBadRequest) Code

func (o *UpdateReweighBadRequest) Code() int

Code gets the status code for the update reweigh bad request response

func (*UpdateReweighBadRequest) Error

func (o *UpdateReweighBadRequest) Error() string

func (*UpdateReweighBadRequest) GetPayload

func (*UpdateReweighBadRequest) IsClientError

func (o *UpdateReweighBadRequest) IsClientError() bool

IsClientError returns true when this update reweigh bad request response has a 4xx status code

func (*UpdateReweighBadRequest) IsCode

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

IsCode returns true when this update reweigh bad request response a status code equal to that given

func (*UpdateReweighBadRequest) IsRedirect

func (o *UpdateReweighBadRequest) IsRedirect() bool

IsRedirect returns true when this update reweigh bad request response has a 3xx status code

func (*UpdateReweighBadRequest) IsServerError

func (o *UpdateReweighBadRequest) IsServerError() bool

IsServerError returns true when this update reweigh bad request response has a 5xx status code

func (*UpdateReweighBadRequest) IsSuccess

func (o *UpdateReweighBadRequest) IsSuccess() bool

IsSuccess returns true when this update reweigh bad request response has a 2xx status code

func (*UpdateReweighBadRequest) String

func (o *UpdateReweighBadRequest) String() string

type UpdateReweighConflict

type UpdateReweighConflict struct {
	Payload *primemessages.ClientError
}

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

The request could not be processed because of conflict in the current state of the resource.

func NewUpdateReweighConflict

func NewUpdateReweighConflict() *UpdateReweighConflict

NewUpdateReweighConflict creates a UpdateReweighConflict with default headers values

func (*UpdateReweighConflict) Code

func (o *UpdateReweighConflict) Code() int

Code gets the status code for the update reweigh conflict response

func (*UpdateReweighConflict) Error

func (o *UpdateReweighConflict) Error() string

func (*UpdateReweighConflict) GetPayload

func (*UpdateReweighConflict) IsClientError

func (o *UpdateReweighConflict) IsClientError() bool

IsClientError returns true when this update reweigh conflict response has a 4xx status code

func (*UpdateReweighConflict) IsCode

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

IsCode returns true when this update reweigh conflict response a status code equal to that given

func (*UpdateReweighConflict) IsRedirect

func (o *UpdateReweighConflict) IsRedirect() bool

IsRedirect returns true when this update reweigh conflict response has a 3xx status code

func (*UpdateReweighConflict) IsServerError

func (o *UpdateReweighConflict) IsServerError() bool

IsServerError returns true when this update reweigh conflict response has a 5xx status code

func (*UpdateReweighConflict) IsSuccess

func (o *UpdateReweighConflict) IsSuccess() bool

IsSuccess returns true when this update reweigh conflict response has a 2xx status code

func (*UpdateReweighConflict) String

func (o *UpdateReweighConflict) String() string

type UpdateReweighForbidden

type UpdateReweighForbidden struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewUpdateReweighForbidden

func NewUpdateReweighForbidden() *UpdateReweighForbidden

NewUpdateReweighForbidden creates a UpdateReweighForbidden with default headers values

func (*UpdateReweighForbidden) Code

func (o *UpdateReweighForbidden) Code() int

Code gets the status code for the update reweigh forbidden response

func (*UpdateReweighForbidden) Error

func (o *UpdateReweighForbidden) Error() string

func (*UpdateReweighForbidden) GetPayload

func (*UpdateReweighForbidden) IsClientError

func (o *UpdateReweighForbidden) IsClientError() bool

IsClientError returns true when this update reweigh forbidden response has a 4xx status code

func (*UpdateReweighForbidden) IsCode

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

IsCode returns true when this update reweigh forbidden response a status code equal to that given

func (*UpdateReweighForbidden) IsRedirect

func (o *UpdateReweighForbidden) IsRedirect() bool

IsRedirect returns true when this update reweigh forbidden response has a 3xx status code

func (*UpdateReweighForbidden) IsServerError

func (o *UpdateReweighForbidden) IsServerError() bool

IsServerError returns true when this update reweigh forbidden response has a 5xx status code

func (*UpdateReweighForbidden) IsSuccess

func (o *UpdateReweighForbidden) IsSuccess() bool

IsSuccess returns true when this update reweigh forbidden response has a 2xx status code

func (*UpdateReweighForbidden) String

func (o *UpdateReweighForbidden) String() string

type UpdateReweighInternalServerError

type UpdateReweighInternalServerError struct {
	Payload *primemessages.Error
}

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

A server error occurred.

func NewUpdateReweighInternalServerError

func NewUpdateReweighInternalServerError() *UpdateReweighInternalServerError

NewUpdateReweighInternalServerError creates a UpdateReweighInternalServerError with default headers values

func (*UpdateReweighInternalServerError) Code

Code gets the status code for the update reweigh internal server error response

func (*UpdateReweighInternalServerError) Error

func (*UpdateReweighInternalServerError) GetPayload

func (*UpdateReweighInternalServerError) IsClientError

func (o *UpdateReweighInternalServerError) IsClientError() bool

IsClientError returns true when this update reweigh internal server error response has a 4xx status code

func (*UpdateReweighInternalServerError) IsCode

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

IsCode returns true when this update reweigh internal server error response a status code equal to that given

func (*UpdateReweighInternalServerError) IsRedirect

func (o *UpdateReweighInternalServerError) IsRedirect() bool

IsRedirect returns true when this update reweigh internal server error response has a 3xx status code

func (*UpdateReweighInternalServerError) IsServerError

func (o *UpdateReweighInternalServerError) IsServerError() bool

IsServerError returns true when this update reweigh internal server error response has a 5xx status code

func (*UpdateReweighInternalServerError) IsSuccess

func (o *UpdateReweighInternalServerError) IsSuccess() bool

IsSuccess returns true when this update reweigh internal server error response has a 2xx status code

func (*UpdateReweighInternalServerError) String

type UpdateReweighNotFound

type UpdateReweighNotFound struct {
	Payload *primemessages.ClientError
}

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

The requested resource wasn't found.

func NewUpdateReweighNotFound

func NewUpdateReweighNotFound() *UpdateReweighNotFound

NewUpdateReweighNotFound creates a UpdateReweighNotFound with default headers values

func (*UpdateReweighNotFound) Code

func (o *UpdateReweighNotFound) Code() int

Code gets the status code for the update reweigh not found response

func (*UpdateReweighNotFound) Error

func (o *UpdateReweighNotFound) Error() string

func (*UpdateReweighNotFound) GetPayload

func (*UpdateReweighNotFound) IsClientError

func (o *UpdateReweighNotFound) IsClientError() bool

IsClientError returns true when this update reweigh not found response has a 4xx status code

func (*UpdateReweighNotFound) IsCode

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

IsCode returns true when this update reweigh not found response a status code equal to that given

func (*UpdateReweighNotFound) IsRedirect

func (o *UpdateReweighNotFound) IsRedirect() bool

IsRedirect returns true when this update reweigh not found response has a 3xx status code

func (*UpdateReweighNotFound) IsServerError

func (o *UpdateReweighNotFound) IsServerError() bool

IsServerError returns true when this update reweigh not found response has a 5xx status code

func (*UpdateReweighNotFound) IsSuccess

func (o *UpdateReweighNotFound) IsSuccess() bool

IsSuccess returns true when this update reweigh not found response has a 2xx status code

func (*UpdateReweighNotFound) String

func (o *UpdateReweighNotFound) String() string

type UpdateReweighOK

type UpdateReweighOK struct {
	Payload *primemessages.Reweigh
}

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

Successfully updated the reweigh.

func NewUpdateReweighOK

func NewUpdateReweighOK() *UpdateReweighOK

NewUpdateReweighOK creates a UpdateReweighOK with default headers values

func (*UpdateReweighOK) Code

func (o *UpdateReweighOK) Code() int

Code gets the status code for the update reweigh o k response

func (*UpdateReweighOK) Error

func (o *UpdateReweighOK) Error() string

func (*UpdateReweighOK) GetPayload

func (o *UpdateReweighOK) GetPayload() *primemessages.Reweigh

func (*UpdateReweighOK) IsClientError

func (o *UpdateReweighOK) IsClientError() bool

IsClientError returns true when this update reweigh o k response has a 4xx status code

func (*UpdateReweighOK) IsCode

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

IsCode returns true when this update reweigh o k response a status code equal to that given

func (*UpdateReweighOK) IsRedirect

func (o *UpdateReweighOK) IsRedirect() bool

IsRedirect returns true when this update reweigh o k response has a 3xx status code

func (*UpdateReweighOK) IsServerError

func (o *UpdateReweighOK) IsServerError() bool

IsServerError returns true when this update reweigh o k response has a 5xx status code

func (*UpdateReweighOK) IsSuccess

func (o *UpdateReweighOK) IsSuccess() bool

IsSuccess returns true when this update reweigh o k response has a 2xx status code

func (*UpdateReweighOK) String

func (o *UpdateReweighOK) String() string

type UpdateReweighParams

type UpdateReweighParams 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 *primemessages.UpdateReweigh

	/* MtoShipmentID.

	   UUID of the shipment associated with the reweigh

	   Format: uuid
	*/
	MtoShipmentID strfmt.UUID

	/* ReweighID.

	   UUID of the reweigh being updated

	   Format: uuid
	*/
	ReweighID strfmt.UUID

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

UpdateReweighParams contains all the parameters to send to the API endpoint

for the update reweigh operation.

Typically these are written to a http.Request.

func NewUpdateReweighParams

func NewUpdateReweighParams() *UpdateReweighParams

NewUpdateReweighParams creates a new UpdateReweighParams 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 NewUpdateReweighParamsWithContext

func NewUpdateReweighParamsWithContext(ctx context.Context) *UpdateReweighParams

NewUpdateReweighParamsWithContext creates a new UpdateReweighParams object with the ability to set a context for a request.

func NewUpdateReweighParamsWithHTTPClient

func NewUpdateReweighParamsWithHTTPClient(client *http.Client) *UpdateReweighParams

NewUpdateReweighParamsWithHTTPClient creates a new UpdateReweighParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateReweighParamsWithTimeout

func NewUpdateReweighParamsWithTimeout(timeout time.Duration) *UpdateReweighParams

NewUpdateReweighParamsWithTimeout creates a new UpdateReweighParams object with the ability to set a timeout on a request.

func (*UpdateReweighParams) SetBody

SetBody adds the body to the update reweigh params

func (*UpdateReweighParams) SetContext

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

SetContext adds the context to the update reweigh params

func (*UpdateReweighParams) SetDefaults

func (o *UpdateReweighParams) SetDefaults()

SetDefaults hydrates default values in the update reweigh params (not the query body).

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

func (*UpdateReweighParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update reweigh params

func (*UpdateReweighParams) SetIfMatch

func (o *UpdateReweighParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the update reweigh params

func (*UpdateReweighParams) SetMtoShipmentID

func (o *UpdateReweighParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)

SetMtoShipmentID adds the mtoShipmentId to the update reweigh params

func (*UpdateReweighParams) SetReweighID

func (o *UpdateReweighParams) SetReweighID(reweighID strfmt.UUID)

SetReweighID adds the reweighId to the update reweigh params

func (*UpdateReweighParams) SetTimeout

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

SetTimeout adds the timeout to the update reweigh params

func (*UpdateReweighParams) WithBody

WithBody adds the body to the update reweigh params

func (*UpdateReweighParams) WithContext

WithContext adds the context to the update reweigh params

func (*UpdateReweighParams) WithDefaults

func (o *UpdateReweighParams) WithDefaults() *UpdateReweighParams

WithDefaults hydrates default values in the update reweigh params (not the query body).

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

func (*UpdateReweighParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update reweigh params

func (*UpdateReweighParams) WithIfMatch

func (o *UpdateReweighParams) WithIfMatch(ifMatch string) *UpdateReweighParams

WithIfMatch adds the ifMatch to the update reweigh params

func (*UpdateReweighParams) WithMtoShipmentID

func (o *UpdateReweighParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *UpdateReweighParams

WithMtoShipmentID adds the mtoShipmentID to the update reweigh params

func (*UpdateReweighParams) WithReweighID

func (o *UpdateReweighParams) WithReweighID(reweighID strfmt.UUID) *UpdateReweighParams

WithReweighID adds the reweighID to the update reweigh params

func (*UpdateReweighParams) WithTimeout

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

WithTimeout adds the timeout to the update reweigh params

func (*UpdateReweighParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateReweighPreconditionFailed

type UpdateReweighPreconditionFailed struct {
	Payload *primemessages.ClientError
}

UpdateReweighPreconditionFailed 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 NewUpdateReweighPreconditionFailed

func NewUpdateReweighPreconditionFailed() *UpdateReweighPreconditionFailed

NewUpdateReweighPreconditionFailed creates a UpdateReweighPreconditionFailed with default headers values

func (*UpdateReweighPreconditionFailed) Code

Code gets the status code for the update reweigh precondition failed response

func (*UpdateReweighPreconditionFailed) Error

func (*UpdateReweighPreconditionFailed) GetPayload

func (*UpdateReweighPreconditionFailed) IsClientError

func (o *UpdateReweighPreconditionFailed) IsClientError() bool

IsClientError returns true when this update reweigh precondition failed response has a 4xx status code

func (*UpdateReweighPreconditionFailed) IsCode

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

IsCode returns true when this update reweigh precondition failed response a status code equal to that given

func (*UpdateReweighPreconditionFailed) IsRedirect

func (o *UpdateReweighPreconditionFailed) IsRedirect() bool

IsRedirect returns true when this update reweigh precondition failed response has a 3xx status code

func (*UpdateReweighPreconditionFailed) IsServerError

func (o *UpdateReweighPreconditionFailed) IsServerError() bool

IsServerError returns true when this update reweigh precondition failed response has a 5xx status code

func (*UpdateReweighPreconditionFailed) IsSuccess

func (o *UpdateReweighPreconditionFailed) IsSuccess() bool

IsSuccess returns true when this update reweigh precondition failed response has a 2xx status code

func (*UpdateReweighPreconditionFailed) String

type UpdateReweighReader

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

UpdateReweighReader is a Reader for the UpdateReweigh structure.

func (*UpdateReweighReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateReweighUnauthorized

type UpdateReweighUnauthorized struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewUpdateReweighUnauthorized

func NewUpdateReweighUnauthorized() *UpdateReweighUnauthorized

NewUpdateReweighUnauthorized creates a UpdateReweighUnauthorized with default headers values

func (*UpdateReweighUnauthorized) Code

func (o *UpdateReweighUnauthorized) Code() int

Code gets the status code for the update reweigh unauthorized response

func (*UpdateReweighUnauthorized) Error

func (o *UpdateReweighUnauthorized) Error() string

func (*UpdateReweighUnauthorized) GetPayload

func (*UpdateReweighUnauthorized) IsClientError

func (o *UpdateReweighUnauthorized) IsClientError() bool

IsClientError returns true when this update reweigh unauthorized response has a 4xx status code

func (*UpdateReweighUnauthorized) IsCode

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

IsCode returns true when this update reweigh unauthorized response a status code equal to that given

func (*UpdateReweighUnauthorized) IsRedirect

func (o *UpdateReweighUnauthorized) IsRedirect() bool

IsRedirect returns true when this update reweigh unauthorized response has a 3xx status code

func (*UpdateReweighUnauthorized) IsServerError

func (o *UpdateReweighUnauthorized) IsServerError() bool

IsServerError returns true when this update reweigh unauthorized response has a 5xx status code

func (*UpdateReweighUnauthorized) IsSuccess

func (o *UpdateReweighUnauthorized) IsSuccess() bool

IsSuccess returns true when this update reweigh unauthorized response has a 2xx status code

func (*UpdateReweighUnauthorized) String

func (o *UpdateReweighUnauthorized) String() string

type UpdateReweighUnprocessableEntity

type UpdateReweighUnprocessableEntity struct {
	Payload *primemessages.ValidationError
}

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

The request was unprocessable, likely due to bad input from the requester.

func NewUpdateReweighUnprocessableEntity

func NewUpdateReweighUnprocessableEntity() *UpdateReweighUnprocessableEntity

NewUpdateReweighUnprocessableEntity creates a UpdateReweighUnprocessableEntity with default headers values

func (*UpdateReweighUnprocessableEntity) Code

Code gets the status code for the update reweigh unprocessable entity response

func (*UpdateReweighUnprocessableEntity) Error

func (*UpdateReweighUnprocessableEntity) GetPayload

func (*UpdateReweighUnprocessableEntity) IsClientError

func (o *UpdateReweighUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update reweigh unprocessable entity response has a 4xx status code

func (*UpdateReweighUnprocessableEntity) IsCode

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

IsCode returns true when this update reweigh unprocessable entity response a status code equal to that given

func (*UpdateReweighUnprocessableEntity) IsRedirect

func (o *UpdateReweighUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update reweigh unprocessable entity response has a 3xx status code

func (*UpdateReweighUnprocessableEntity) IsServerError

func (o *UpdateReweighUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update reweigh unprocessable entity response has a 5xx status code

func (*UpdateReweighUnprocessableEntity) IsSuccess

func (o *UpdateReweighUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update reweigh unprocessable entity response has a 2xx status code

func (*UpdateReweighUnprocessableEntity) String

type UpdateShipmentDestinationAddressBadRequest

type UpdateShipmentDestinationAddressBadRequest struct {
	Payload *primemessages.ClientError
}

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

The request payload is invalid.

func NewUpdateShipmentDestinationAddressBadRequest

func NewUpdateShipmentDestinationAddressBadRequest() *UpdateShipmentDestinationAddressBadRequest

NewUpdateShipmentDestinationAddressBadRequest creates a UpdateShipmentDestinationAddressBadRequest with default headers values

func (*UpdateShipmentDestinationAddressBadRequest) Code

Code gets the status code for the update shipment destination address bad request response

func (*UpdateShipmentDestinationAddressBadRequest) Error

func (*UpdateShipmentDestinationAddressBadRequest) GetPayload

func (*UpdateShipmentDestinationAddressBadRequest) IsClientError

IsClientError returns true when this update shipment destination address bad request response has a 4xx status code

func (*UpdateShipmentDestinationAddressBadRequest) IsCode

IsCode returns true when this update shipment destination address bad request response a status code equal to that given

func (*UpdateShipmentDestinationAddressBadRequest) IsRedirect

IsRedirect returns true when this update shipment destination address bad request response has a 3xx status code

func (*UpdateShipmentDestinationAddressBadRequest) IsServerError

IsServerError returns true when this update shipment destination address bad request response has a 5xx status code

func (*UpdateShipmentDestinationAddressBadRequest) IsSuccess

IsSuccess returns true when this update shipment destination address bad request response has a 2xx status code

func (*UpdateShipmentDestinationAddressBadRequest) String

type UpdateShipmentDestinationAddressConflict

type UpdateShipmentDestinationAddressConflict struct {
	Payload *primemessages.ClientError
}

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

The request could not be processed because of conflict in the current state of the resource.

func NewUpdateShipmentDestinationAddressConflict

func NewUpdateShipmentDestinationAddressConflict() *UpdateShipmentDestinationAddressConflict

NewUpdateShipmentDestinationAddressConflict creates a UpdateShipmentDestinationAddressConflict with default headers values

func (*UpdateShipmentDestinationAddressConflict) Code

Code gets the status code for the update shipment destination address conflict response

func (*UpdateShipmentDestinationAddressConflict) Error

func (*UpdateShipmentDestinationAddressConflict) GetPayload

func (*UpdateShipmentDestinationAddressConflict) IsClientError

IsClientError returns true when this update shipment destination address conflict response has a 4xx status code

func (*UpdateShipmentDestinationAddressConflict) IsCode

IsCode returns true when this update shipment destination address conflict response a status code equal to that given

func (*UpdateShipmentDestinationAddressConflict) IsRedirect

IsRedirect returns true when this update shipment destination address conflict response has a 3xx status code

func (*UpdateShipmentDestinationAddressConflict) IsServerError

IsServerError returns true when this update shipment destination address conflict response has a 5xx status code

func (*UpdateShipmentDestinationAddressConflict) IsSuccess

IsSuccess returns true when this update shipment destination address conflict response has a 2xx status code

func (*UpdateShipmentDestinationAddressConflict) String

type UpdateShipmentDestinationAddressCreated

type UpdateShipmentDestinationAddressCreated struct {
	Payload *primemessages.ShipmentAddressUpdate
}

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

Successfully created the address update request.

func NewUpdateShipmentDestinationAddressCreated

func NewUpdateShipmentDestinationAddressCreated() *UpdateShipmentDestinationAddressCreated

NewUpdateShipmentDestinationAddressCreated creates a UpdateShipmentDestinationAddressCreated with default headers values

func (*UpdateShipmentDestinationAddressCreated) Code

Code gets the status code for the update shipment destination address created response

func (*UpdateShipmentDestinationAddressCreated) Error

func (*UpdateShipmentDestinationAddressCreated) GetPayload

func (*UpdateShipmentDestinationAddressCreated) IsClientError

func (o *UpdateShipmentDestinationAddressCreated) IsClientError() bool

IsClientError returns true when this update shipment destination address created response has a 4xx status code

func (*UpdateShipmentDestinationAddressCreated) IsCode

IsCode returns true when this update shipment destination address created response a status code equal to that given

func (*UpdateShipmentDestinationAddressCreated) IsRedirect

IsRedirect returns true when this update shipment destination address created response has a 3xx status code

func (*UpdateShipmentDestinationAddressCreated) IsServerError

func (o *UpdateShipmentDestinationAddressCreated) IsServerError() bool

IsServerError returns true when this update shipment destination address created response has a 5xx status code

func (*UpdateShipmentDestinationAddressCreated) IsSuccess

IsSuccess returns true when this update shipment destination address created response has a 2xx status code

func (*UpdateShipmentDestinationAddressCreated) String

type UpdateShipmentDestinationAddressForbidden

type UpdateShipmentDestinationAddressForbidden struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewUpdateShipmentDestinationAddressForbidden

func NewUpdateShipmentDestinationAddressForbidden() *UpdateShipmentDestinationAddressForbidden

NewUpdateShipmentDestinationAddressForbidden creates a UpdateShipmentDestinationAddressForbidden with default headers values

func (*UpdateShipmentDestinationAddressForbidden) Code

Code gets the status code for the update shipment destination address forbidden response

func (*UpdateShipmentDestinationAddressForbidden) Error

func (*UpdateShipmentDestinationAddressForbidden) GetPayload

func (*UpdateShipmentDestinationAddressForbidden) IsClientError

IsClientError returns true when this update shipment destination address forbidden response has a 4xx status code

func (*UpdateShipmentDestinationAddressForbidden) IsCode

IsCode returns true when this update shipment destination address forbidden response a status code equal to that given

func (*UpdateShipmentDestinationAddressForbidden) IsRedirect

IsRedirect returns true when this update shipment destination address forbidden response has a 3xx status code

func (*UpdateShipmentDestinationAddressForbidden) IsServerError

IsServerError returns true when this update shipment destination address forbidden response has a 5xx status code

func (*UpdateShipmentDestinationAddressForbidden) IsSuccess

IsSuccess returns true when this update shipment destination address forbidden response has a 2xx status code

func (*UpdateShipmentDestinationAddressForbidden) String

type UpdateShipmentDestinationAddressInternalServerError

type UpdateShipmentDestinationAddressInternalServerError struct {
	Payload *primemessages.Error
}

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

A server error occurred.

func NewUpdateShipmentDestinationAddressInternalServerError

func NewUpdateShipmentDestinationAddressInternalServerError() *UpdateShipmentDestinationAddressInternalServerError

NewUpdateShipmentDestinationAddressInternalServerError creates a UpdateShipmentDestinationAddressInternalServerError with default headers values

func (*UpdateShipmentDestinationAddressInternalServerError) Code

Code gets the status code for the update shipment destination address internal server error response

func (*UpdateShipmentDestinationAddressInternalServerError) Error

func (*UpdateShipmentDestinationAddressInternalServerError) GetPayload

func (*UpdateShipmentDestinationAddressInternalServerError) IsClientError

IsClientError returns true when this update shipment destination address internal server error response has a 4xx status code

func (*UpdateShipmentDestinationAddressInternalServerError) IsCode

IsCode returns true when this update shipment destination address internal server error response a status code equal to that given

func (*UpdateShipmentDestinationAddressInternalServerError) IsRedirect

IsRedirect returns true when this update shipment destination address internal server error response has a 3xx status code

func (*UpdateShipmentDestinationAddressInternalServerError) IsServerError

IsServerError returns true when this update shipment destination address internal server error response has a 5xx status code

func (*UpdateShipmentDestinationAddressInternalServerError) IsSuccess

IsSuccess returns true when this update shipment destination address internal server error response has a 2xx status code

func (*UpdateShipmentDestinationAddressInternalServerError) String

type UpdateShipmentDestinationAddressNotFound

type UpdateShipmentDestinationAddressNotFound struct {
	Payload *primemessages.ClientError
}

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

The requested resource wasn't found.

func NewUpdateShipmentDestinationAddressNotFound

func NewUpdateShipmentDestinationAddressNotFound() *UpdateShipmentDestinationAddressNotFound

NewUpdateShipmentDestinationAddressNotFound creates a UpdateShipmentDestinationAddressNotFound with default headers values

func (*UpdateShipmentDestinationAddressNotFound) Code

Code gets the status code for the update shipment destination address not found response

func (*UpdateShipmentDestinationAddressNotFound) Error

func (*UpdateShipmentDestinationAddressNotFound) GetPayload

func (*UpdateShipmentDestinationAddressNotFound) IsClientError

IsClientError returns true when this update shipment destination address not found response has a 4xx status code

func (*UpdateShipmentDestinationAddressNotFound) IsCode

IsCode returns true when this update shipment destination address not found response a status code equal to that given

func (*UpdateShipmentDestinationAddressNotFound) IsRedirect

IsRedirect returns true when this update shipment destination address not found response has a 3xx status code

func (*UpdateShipmentDestinationAddressNotFound) IsServerError

IsServerError returns true when this update shipment destination address not found response has a 5xx status code

func (*UpdateShipmentDestinationAddressNotFound) IsSuccess

IsSuccess returns true when this update shipment destination address not found response has a 2xx status code

func (*UpdateShipmentDestinationAddressNotFound) String

type UpdateShipmentDestinationAddressParams

type UpdateShipmentDestinationAddressParams struct {

	/* IfMatch.

	   Needs to be the eTag of the mtoShipment. 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 *primemessages.UpdateShipmentDestinationAddress

	/* MtoShipmentID.

	   UUID of the shipment associated with the address

	   Format: uuid
	*/
	MtoShipmentID strfmt.UUID

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

UpdateShipmentDestinationAddressParams contains all the parameters to send to the API endpoint

for the update shipment destination address operation.

Typically these are written to a http.Request.

func NewUpdateShipmentDestinationAddressParams

func NewUpdateShipmentDestinationAddressParams() *UpdateShipmentDestinationAddressParams

NewUpdateShipmentDestinationAddressParams creates a new UpdateShipmentDestinationAddressParams 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 NewUpdateShipmentDestinationAddressParamsWithContext

func NewUpdateShipmentDestinationAddressParamsWithContext(ctx context.Context) *UpdateShipmentDestinationAddressParams

NewUpdateShipmentDestinationAddressParamsWithContext creates a new UpdateShipmentDestinationAddressParams object with the ability to set a context for a request.

func NewUpdateShipmentDestinationAddressParamsWithHTTPClient

func NewUpdateShipmentDestinationAddressParamsWithHTTPClient(client *http.Client) *UpdateShipmentDestinationAddressParams

NewUpdateShipmentDestinationAddressParamsWithHTTPClient creates a new UpdateShipmentDestinationAddressParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateShipmentDestinationAddressParamsWithTimeout

func NewUpdateShipmentDestinationAddressParamsWithTimeout(timeout time.Duration) *UpdateShipmentDestinationAddressParams

NewUpdateShipmentDestinationAddressParamsWithTimeout creates a new UpdateShipmentDestinationAddressParams object with the ability to set a timeout on a request.

func (*UpdateShipmentDestinationAddressParams) SetBody

SetBody adds the body to the update shipment destination address params

func (*UpdateShipmentDestinationAddressParams) SetContext

SetContext adds the context to the update shipment destination address params

func (*UpdateShipmentDestinationAddressParams) SetDefaults

func (o *UpdateShipmentDestinationAddressParams) SetDefaults()

SetDefaults hydrates default values in the update shipment destination address params (not the query body).

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

func (*UpdateShipmentDestinationAddressParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update shipment destination address params

func (*UpdateShipmentDestinationAddressParams) SetIfMatch

func (o *UpdateShipmentDestinationAddressParams) SetIfMatch(ifMatch string)

SetIfMatch adds the ifMatch to the update shipment destination address params

func (*UpdateShipmentDestinationAddressParams) SetMtoShipmentID

func (o *UpdateShipmentDestinationAddressParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)

SetMtoShipmentID adds the mtoShipmentId to the update shipment destination address params

func (*UpdateShipmentDestinationAddressParams) SetTimeout

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

SetTimeout adds the timeout to the update shipment destination address params

func (*UpdateShipmentDestinationAddressParams) WithBody

WithBody adds the body to the update shipment destination address params

func (*UpdateShipmentDestinationAddressParams) WithContext

WithContext adds the context to the update shipment destination address params

func (*UpdateShipmentDestinationAddressParams) WithDefaults

WithDefaults hydrates default values in the update shipment destination address params (not the query body).

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

func (*UpdateShipmentDestinationAddressParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update shipment destination address params

func (*UpdateShipmentDestinationAddressParams) WithIfMatch

WithIfMatch adds the ifMatch to the update shipment destination address params

func (*UpdateShipmentDestinationAddressParams) WithMtoShipmentID

WithMtoShipmentID adds the mtoShipmentID to the update shipment destination address params

func (*UpdateShipmentDestinationAddressParams) WithTimeout

WithTimeout adds the timeout to the update shipment destination address params

func (*UpdateShipmentDestinationAddressParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateShipmentDestinationAddressPreconditionFailed

type UpdateShipmentDestinationAddressPreconditionFailed struct {
	Payload *primemessages.ClientError
}

UpdateShipmentDestinationAddressPreconditionFailed 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 NewUpdateShipmentDestinationAddressPreconditionFailed

func NewUpdateShipmentDestinationAddressPreconditionFailed() *UpdateShipmentDestinationAddressPreconditionFailed

NewUpdateShipmentDestinationAddressPreconditionFailed creates a UpdateShipmentDestinationAddressPreconditionFailed with default headers values

func (*UpdateShipmentDestinationAddressPreconditionFailed) Code

Code gets the status code for the update shipment destination address precondition failed response

func (*UpdateShipmentDestinationAddressPreconditionFailed) Error

func (*UpdateShipmentDestinationAddressPreconditionFailed) GetPayload

func (*UpdateShipmentDestinationAddressPreconditionFailed) IsClientError

IsClientError returns true when this update shipment destination address precondition failed response has a 4xx status code

func (*UpdateShipmentDestinationAddressPreconditionFailed) IsCode

IsCode returns true when this update shipment destination address precondition failed response a status code equal to that given

func (*UpdateShipmentDestinationAddressPreconditionFailed) IsRedirect

IsRedirect returns true when this update shipment destination address precondition failed response has a 3xx status code

func (*UpdateShipmentDestinationAddressPreconditionFailed) IsServerError

IsServerError returns true when this update shipment destination address precondition failed response has a 5xx status code

func (*UpdateShipmentDestinationAddressPreconditionFailed) IsSuccess

IsSuccess returns true when this update shipment destination address precondition failed response has a 2xx status code

func (*UpdateShipmentDestinationAddressPreconditionFailed) String

type UpdateShipmentDestinationAddressReader

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

UpdateShipmentDestinationAddressReader is a Reader for the UpdateShipmentDestinationAddress structure.

func (*UpdateShipmentDestinationAddressReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateShipmentDestinationAddressUnauthorized

type UpdateShipmentDestinationAddressUnauthorized struct {
	Payload *primemessages.ClientError
}

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

The request was denied.

func NewUpdateShipmentDestinationAddressUnauthorized

func NewUpdateShipmentDestinationAddressUnauthorized() *UpdateShipmentDestinationAddressUnauthorized

NewUpdateShipmentDestinationAddressUnauthorized creates a UpdateShipmentDestinationAddressUnauthorized with default headers values

func (*UpdateShipmentDestinationAddressUnauthorized) Code

Code gets the status code for the update shipment destination address unauthorized response

func (*UpdateShipmentDestinationAddressUnauthorized) Error

func (*UpdateShipmentDestinationAddressUnauthorized) GetPayload

func (*UpdateShipmentDestinationAddressUnauthorized) IsClientError

IsClientError returns true when this update shipment destination address unauthorized response has a 4xx status code

func (*UpdateShipmentDestinationAddressUnauthorized) IsCode

IsCode returns true when this update shipment destination address unauthorized response a status code equal to that given

func (*UpdateShipmentDestinationAddressUnauthorized) IsRedirect

IsRedirect returns true when this update shipment destination address unauthorized response has a 3xx status code

func (*UpdateShipmentDestinationAddressUnauthorized) IsServerError

IsServerError returns true when this update shipment destination address unauthorized response has a 5xx status code

func (*UpdateShipmentDestinationAddressUnauthorized) IsSuccess

IsSuccess returns true when this update shipment destination address unauthorized response has a 2xx status code

func (*UpdateShipmentDestinationAddressUnauthorized) String

type UpdateShipmentDestinationAddressUnprocessableEntity

type UpdateShipmentDestinationAddressUnprocessableEntity struct {
	Payload *primemessages.ValidationError
}

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

The request was unprocessable, likely due to bad input from the requester.

func NewUpdateShipmentDestinationAddressUnprocessableEntity

func NewUpdateShipmentDestinationAddressUnprocessableEntity() *UpdateShipmentDestinationAddressUnprocessableEntity

NewUpdateShipmentDestinationAddressUnprocessableEntity creates a UpdateShipmentDestinationAddressUnprocessableEntity with default headers values

func (*UpdateShipmentDestinationAddressUnprocessableEntity) Code

Code gets the status code for the update shipment destination address unprocessable entity response

func (*UpdateShipmentDestinationAddressUnprocessableEntity) Error

func (*UpdateShipmentDestinationAddressUnprocessableEntity) GetPayload

func (*UpdateShipmentDestinationAddressUnprocessableEntity) IsClientError

IsClientError returns true when this update shipment destination address unprocessable entity response has a 4xx status code

func (*UpdateShipmentDestinationAddressUnprocessableEntity) IsCode

IsCode returns true when this update shipment destination address unprocessable entity response a status code equal to that given

func (*UpdateShipmentDestinationAddressUnprocessableEntity) IsRedirect

IsRedirect returns true when this update shipment destination address unprocessable entity response has a 3xx status code

func (*UpdateShipmentDestinationAddressUnprocessableEntity) IsServerError

IsServerError returns true when this update shipment destination address unprocessable entity response has a 5xx status code

func (*UpdateShipmentDestinationAddressUnprocessableEntity) IsSuccess

IsSuccess returns true when this update shipment destination address unprocessable entity response has a 2xx status code

func (*UpdateShipmentDestinationAddressUnprocessableEntity) String

Jump to

Keyboard shortcuts

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