Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateMTOAgent(params *CreateMTOAgentParams, opts ...ClientOption) (*CreateMTOAgentOK, error)
- func (a *Client) CreateMTOShipment(params *CreateMTOShipmentParams, opts ...ClientOption) error
- func (a *Client) CreateSITExtension(params *CreateSITExtensionParams, opts ...ClientOption) (*CreateSITExtensionCreated, error)
- func (a *Client) DeleteMTOShipment(params *DeleteMTOShipmentParams, opts ...ClientOption) (*DeleteMTOShipmentNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateMTOAgent(params *UpdateMTOAgentParams, opts ...ClientOption) (*UpdateMTOAgentOK, error)
- func (a *Client) UpdateMTOShipment(params *UpdateMTOShipmentParams, opts ...ClientOption) error
- func (a *Client) UpdateMTOShipmentAddress(params *UpdateMTOShipmentAddressParams, opts ...ClientOption) (*UpdateMTOShipmentAddressOK, error)
- func (a *Client) UpdateMTOShipmentStatus(params *UpdateMTOShipmentStatusParams, opts ...ClientOption) (*UpdateMTOShipmentStatusOK, error)
- func (a *Client) UpdateReweigh(params *UpdateReweighParams, opts ...ClientOption) (*UpdateReweighOK, error)
- func (a *Client) UpdateShipmentDestinationAddress(params *UpdateShipmentDestinationAddressParams, opts ...ClientOption) (*UpdateShipmentDestinationAddressCreated, error)
- type ClientOption
- type ClientService
- type CreateMTOAgentBadRequest
- func (o *CreateMTOAgentBadRequest) Code() int
- func (o *CreateMTOAgentBadRequest) Error() string
- func (o *CreateMTOAgentBadRequest) GetPayload() *primemessages.ClientError
- func (o *CreateMTOAgentBadRequest) IsClientError() bool
- func (o *CreateMTOAgentBadRequest) IsCode(code int) bool
- func (o *CreateMTOAgentBadRequest) IsRedirect() bool
- func (o *CreateMTOAgentBadRequest) IsServerError() bool
- func (o *CreateMTOAgentBadRequest) IsSuccess() bool
- func (o *CreateMTOAgentBadRequest) String() string
- type CreateMTOAgentConflict
- func (o *CreateMTOAgentConflict) Code() int
- func (o *CreateMTOAgentConflict) Error() string
- func (o *CreateMTOAgentConflict) GetPayload() *primemessages.ClientError
- func (o *CreateMTOAgentConflict) IsClientError() bool
- func (o *CreateMTOAgentConflict) IsCode(code int) bool
- func (o *CreateMTOAgentConflict) IsRedirect() bool
- func (o *CreateMTOAgentConflict) IsServerError() bool
- func (o *CreateMTOAgentConflict) IsSuccess() bool
- func (o *CreateMTOAgentConflict) String() string
- type CreateMTOAgentForbidden
- func (o *CreateMTOAgentForbidden) Code() int
- func (o *CreateMTOAgentForbidden) Error() string
- func (o *CreateMTOAgentForbidden) GetPayload() *primemessages.ClientError
- func (o *CreateMTOAgentForbidden) IsClientError() bool
- func (o *CreateMTOAgentForbidden) IsCode(code int) bool
- func (o *CreateMTOAgentForbidden) IsRedirect() bool
- func (o *CreateMTOAgentForbidden) IsServerError() bool
- func (o *CreateMTOAgentForbidden) IsSuccess() bool
- func (o *CreateMTOAgentForbidden) String() string
- type CreateMTOAgentInternalServerError
- func (o *CreateMTOAgentInternalServerError) Code() int
- func (o *CreateMTOAgentInternalServerError) Error() string
- func (o *CreateMTOAgentInternalServerError) GetPayload() *primemessages.Error
- func (o *CreateMTOAgentInternalServerError) IsClientError() bool
- func (o *CreateMTOAgentInternalServerError) IsCode(code int) bool
- func (o *CreateMTOAgentInternalServerError) IsRedirect() bool
- func (o *CreateMTOAgentInternalServerError) IsServerError() bool
- func (o *CreateMTOAgentInternalServerError) IsSuccess() bool
- func (o *CreateMTOAgentInternalServerError) String() string
- type CreateMTOAgentNotFound
- func (o *CreateMTOAgentNotFound) Code() int
- func (o *CreateMTOAgentNotFound) Error() string
- func (o *CreateMTOAgentNotFound) GetPayload() *primemessages.ClientError
- func (o *CreateMTOAgentNotFound) IsClientError() bool
- func (o *CreateMTOAgentNotFound) IsCode(code int) bool
- func (o *CreateMTOAgentNotFound) IsRedirect() bool
- func (o *CreateMTOAgentNotFound) IsServerError() bool
- func (o *CreateMTOAgentNotFound) IsSuccess() bool
- func (o *CreateMTOAgentNotFound) String() string
- type CreateMTOAgentOK
- func (o *CreateMTOAgentOK) Code() int
- func (o *CreateMTOAgentOK) Error() string
- func (o *CreateMTOAgentOK) GetPayload() *primemessages.MTOAgent
- func (o *CreateMTOAgentOK) IsClientError() bool
- func (o *CreateMTOAgentOK) IsCode(code int) bool
- func (o *CreateMTOAgentOK) IsRedirect() bool
- func (o *CreateMTOAgentOK) IsServerError() bool
- func (o *CreateMTOAgentOK) IsSuccess() bool
- func (o *CreateMTOAgentOK) String() string
- type CreateMTOAgentParams
- func NewCreateMTOAgentParams() *CreateMTOAgentParams
- func NewCreateMTOAgentParamsWithContext(ctx context.Context) *CreateMTOAgentParams
- func NewCreateMTOAgentParamsWithHTTPClient(client *http.Client) *CreateMTOAgentParams
- func NewCreateMTOAgentParamsWithTimeout(timeout time.Duration) *CreateMTOAgentParams
- func (o *CreateMTOAgentParams) SetBody(body *primemessages.MTOAgent)
- func (o *CreateMTOAgentParams) SetContext(ctx context.Context)
- func (o *CreateMTOAgentParams) SetDefaults()
- func (o *CreateMTOAgentParams) SetHTTPClient(client *http.Client)
- func (o *CreateMTOAgentParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)
- func (o *CreateMTOAgentParams) SetTimeout(timeout time.Duration)
- func (o *CreateMTOAgentParams) WithBody(body *primemessages.MTOAgent) *CreateMTOAgentParams
- func (o *CreateMTOAgentParams) WithContext(ctx context.Context) *CreateMTOAgentParams
- func (o *CreateMTOAgentParams) WithDefaults() *CreateMTOAgentParams
- func (o *CreateMTOAgentParams) WithHTTPClient(client *http.Client) *CreateMTOAgentParams
- func (o *CreateMTOAgentParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *CreateMTOAgentParams
- func (o *CreateMTOAgentParams) WithTimeout(timeout time.Duration) *CreateMTOAgentParams
- func (o *CreateMTOAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMTOAgentReader
- type CreateMTOAgentUnauthorized
- func (o *CreateMTOAgentUnauthorized) Code() int
- func (o *CreateMTOAgentUnauthorized) Error() string
- func (o *CreateMTOAgentUnauthorized) GetPayload() *primemessages.ClientError
- func (o *CreateMTOAgentUnauthorized) IsClientError() bool
- func (o *CreateMTOAgentUnauthorized) IsCode(code int) bool
- func (o *CreateMTOAgentUnauthorized) IsRedirect() bool
- func (o *CreateMTOAgentUnauthorized) IsServerError() bool
- func (o *CreateMTOAgentUnauthorized) IsSuccess() bool
- func (o *CreateMTOAgentUnauthorized) String() string
- type CreateMTOAgentUnprocessableEntity
- func (o *CreateMTOAgentUnprocessableEntity) Code() int
- func (o *CreateMTOAgentUnprocessableEntity) Error() string
- func (o *CreateMTOAgentUnprocessableEntity) GetPayload() *primemessages.ValidationError
- func (o *CreateMTOAgentUnprocessableEntity) IsClientError() bool
- func (o *CreateMTOAgentUnprocessableEntity) IsCode(code int) bool
- func (o *CreateMTOAgentUnprocessableEntity) IsRedirect() bool
- func (o *CreateMTOAgentUnprocessableEntity) IsServerError() bool
- func (o *CreateMTOAgentUnprocessableEntity) IsSuccess() bool
- func (o *CreateMTOAgentUnprocessableEntity) String() string
- type CreateMTOShipmentGone
- func (o *CreateMTOShipmentGone) Code() int
- func (o *CreateMTOShipmentGone) Error() string
- func (o *CreateMTOShipmentGone) IsClientError() bool
- func (o *CreateMTOShipmentGone) IsCode(code int) bool
- func (o *CreateMTOShipmentGone) IsRedirect() bool
- func (o *CreateMTOShipmentGone) IsServerError() bool
- func (o *CreateMTOShipmentGone) IsSuccess() bool
- func (o *CreateMTOShipmentGone) String() string
- type CreateMTOShipmentParams
- func NewCreateMTOShipmentParams() *CreateMTOShipmentParams
- func NewCreateMTOShipmentParamsWithContext(ctx context.Context) *CreateMTOShipmentParams
- func NewCreateMTOShipmentParamsWithHTTPClient(client *http.Client) *CreateMTOShipmentParams
- func NewCreateMTOShipmentParamsWithTimeout(timeout time.Duration) *CreateMTOShipmentParams
- func (o *CreateMTOShipmentParams) SetContext(ctx context.Context)
- func (o *CreateMTOShipmentParams) SetDefaults()
- func (o *CreateMTOShipmentParams) SetHTTPClient(client *http.Client)
- func (o *CreateMTOShipmentParams) SetTimeout(timeout time.Duration)
- func (o *CreateMTOShipmentParams) WithContext(ctx context.Context) *CreateMTOShipmentParams
- func (o *CreateMTOShipmentParams) WithDefaults() *CreateMTOShipmentParams
- func (o *CreateMTOShipmentParams) WithHTTPClient(client *http.Client) *CreateMTOShipmentParams
- func (o *CreateMTOShipmentParams) WithTimeout(timeout time.Duration) *CreateMTOShipmentParams
- func (o *CreateMTOShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMTOShipmentReader
- type CreateSITExtensionBadRequest
- func (o *CreateSITExtensionBadRequest) Code() int
- func (o *CreateSITExtensionBadRequest) Error() string
- func (o *CreateSITExtensionBadRequest) GetPayload() *primemessages.ClientError
- func (o *CreateSITExtensionBadRequest) IsClientError() bool
- func (o *CreateSITExtensionBadRequest) IsCode(code int) bool
- func (o *CreateSITExtensionBadRequest) IsRedirect() bool
- func (o *CreateSITExtensionBadRequest) IsServerError() bool
- func (o *CreateSITExtensionBadRequest) IsSuccess() bool
- func (o *CreateSITExtensionBadRequest) String() string
- type CreateSITExtensionConflict
- func (o *CreateSITExtensionConflict) Code() int
- func (o *CreateSITExtensionConflict) Error() string
- func (o *CreateSITExtensionConflict) GetPayload() *primemessages.ClientError
- func (o *CreateSITExtensionConflict) IsClientError() bool
- func (o *CreateSITExtensionConflict) IsCode(code int) bool
- func (o *CreateSITExtensionConflict) IsRedirect() bool
- func (o *CreateSITExtensionConflict) IsServerError() bool
- func (o *CreateSITExtensionConflict) IsSuccess() bool
- func (o *CreateSITExtensionConflict) String() string
- type CreateSITExtensionCreated
- func (o *CreateSITExtensionCreated) Code() int
- func (o *CreateSITExtensionCreated) Error() string
- func (o *CreateSITExtensionCreated) GetPayload() *primemessages.SITExtension
- func (o *CreateSITExtensionCreated) IsClientError() bool
- func (o *CreateSITExtensionCreated) IsCode(code int) bool
- func (o *CreateSITExtensionCreated) IsRedirect() bool
- func (o *CreateSITExtensionCreated) IsServerError() bool
- func (o *CreateSITExtensionCreated) IsSuccess() bool
- func (o *CreateSITExtensionCreated) String() string
- type CreateSITExtensionForbidden
- func (o *CreateSITExtensionForbidden) Code() int
- func (o *CreateSITExtensionForbidden) Error() string
- func (o *CreateSITExtensionForbidden) GetPayload() *primemessages.ClientError
- func (o *CreateSITExtensionForbidden) IsClientError() bool
- func (o *CreateSITExtensionForbidden) IsCode(code int) bool
- func (o *CreateSITExtensionForbidden) IsRedirect() bool
- func (o *CreateSITExtensionForbidden) IsServerError() bool
- func (o *CreateSITExtensionForbidden) IsSuccess() bool
- func (o *CreateSITExtensionForbidden) String() string
- type CreateSITExtensionInternalServerError
- func (o *CreateSITExtensionInternalServerError) Code() int
- func (o *CreateSITExtensionInternalServerError) Error() string
- func (o *CreateSITExtensionInternalServerError) GetPayload() *primemessages.Error
- func (o *CreateSITExtensionInternalServerError) IsClientError() bool
- func (o *CreateSITExtensionInternalServerError) IsCode(code int) bool
- func (o *CreateSITExtensionInternalServerError) IsRedirect() bool
- func (o *CreateSITExtensionInternalServerError) IsServerError() bool
- func (o *CreateSITExtensionInternalServerError) IsSuccess() bool
- func (o *CreateSITExtensionInternalServerError) String() string
- type CreateSITExtensionNotFound
- func (o *CreateSITExtensionNotFound) Code() int
- func (o *CreateSITExtensionNotFound) Error() string
- func (o *CreateSITExtensionNotFound) GetPayload() *primemessages.ClientError
- func (o *CreateSITExtensionNotFound) IsClientError() bool
- func (o *CreateSITExtensionNotFound) IsCode(code int) bool
- func (o *CreateSITExtensionNotFound) IsRedirect() bool
- func (o *CreateSITExtensionNotFound) IsServerError() bool
- func (o *CreateSITExtensionNotFound) IsSuccess() bool
- func (o *CreateSITExtensionNotFound) String() string
- type CreateSITExtensionParams
- func NewCreateSITExtensionParams() *CreateSITExtensionParams
- func NewCreateSITExtensionParamsWithContext(ctx context.Context) *CreateSITExtensionParams
- func NewCreateSITExtensionParamsWithHTTPClient(client *http.Client) *CreateSITExtensionParams
- func NewCreateSITExtensionParamsWithTimeout(timeout time.Duration) *CreateSITExtensionParams
- func (o *CreateSITExtensionParams) SetBody(body *primemessages.CreateSITExtension)
- func (o *CreateSITExtensionParams) SetContext(ctx context.Context)
- func (o *CreateSITExtensionParams) SetDefaults()
- func (o *CreateSITExtensionParams) SetHTTPClient(client *http.Client)
- func (o *CreateSITExtensionParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)
- func (o *CreateSITExtensionParams) SetTimeout(timeout time.Duration)
- func (o *CreateSITExtensionParams) WithBody(body *primemessages.CreateSITExtension) *CreateSITExtensionParams
- func (o *CreateSITExtensionParams) WithContext(ctx context.Context) *CreateSITExtensionParams
- func (o *CreateSITExtensionParams) WithDefaults() *CreateSITExtensionParams
- func (o *CreateSITExtensionParams) WithHTTPClient(client *http.Client) *CreateSITExtensionParams
- func (o *CreateSITExtensionParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *CreateSITExtensionParams
- func (o *CreateSITExtensionParams) WithTimeout(timeout time.Duration) *CreateSITExtensionParams
- func (o *CreateSITExtensionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateSITExtensionReader
- type CreateSITExtensionUnauthorized
- func (o *CreateSITExtensionUnauthorized) Code() int
- func (o *CreateSITExtensionUnauthorized) Error() string
- func (o *CreateSITExtensionUnauthorized) GetPayload() *primemessages.ClientError
- func (o *CreateSITExtensionUnauthorized) IsClientError() bool
- func (o *CreateSITExtensionUnauthorized) IsCode(code int) bool
- func (o *CreateSITExtensionUnauthorized) IsRedirect() bool
- func (o *CreateSITExtensionUnauthorized) IsServerError() bool
- func (o *CreateSITExtensionUnauthorized) IsSuccess() bool
- func (o *CreateSITExtensionUnauthorized) String() string
- type CreateSITExtensionUnprocessableEntity
- func (o *CreateSITExtensionUnprocessableEntity) Code() int
- func (o *CreateSITExtensionUnprocessableEntity) Error() string
- func (o *CreateSITExtensionUnprocessableEntity) GetPayload() *primemessages.ValidationError
- func (o *CreateSITExtensionUnprocessableEntity) IsClientError() bool
- func (o *CreateSITExtensionUnprocessableEntity) IsCode(code int) bool
- func (o *CreateSITExtensionUnprocessableEntity) IsRedirect() bool
- func (o *CreateSITExtensionUnprocessableEntity) IsServerError() bool
- func (o *CreateSITExtensionUnprocessableEntity) IsSuccess() bool
- func (o *CreateSITExtensionUnprocessableEntity) String() string
- type DeleteMTOShipmentBadRequest
- func (o *DeleteMTOShipmentBadRequest) Code() int
- func (o *DeleteMTOShipmentBadRequest) Error() string
- func (o *DeleteMTOShipmentBadRequest) GetPayload() *primemessages.ClientError
- func (o *DeleteMTOShipmentBadRequest) IsClientError() bool
- func (o *DeleteMTOShipmentBadRequest) IsCode(code int) bool
- func (o *DeleteMTOShipmentBadRequest) IsRedirect() bool
- func (o *DeleteMTOShipmentBadRequest) IsServerError() bool
- func (o *DeleteMTOShipmentBadRequest) IsSuccess() bool
- func (o *DeleteMTOShipmentBadRequest) String() string
- type DeleteMTOShipmentConflict
- func (o *DeleteMTOShipmentConflict) Code() int
- func (o *DeleteMTOShipmentConflict) Error() string
- func (o *DeleteMTOShipmentConflict) GetPayload() *primemessages.ClientError
- func (o *DeleteMTOShipmentConflict) IsClientError() bool
- func (o *DeleteMTOShipmentConflict) IsCode(code int) bool
- func (o *DeleteMTOShipmentConflict) IsRedirect() bool
- func (o *DeleteMTOShipmentConflict) IsServerError() bool
- func (o *DeleteMTOShipmentConflict) IsSuccess() bool
- func (o *DeleteMTOShipmentConflict) String() string
- type DeleteMTOShipmentForbidden
- func (o *DeleteMTOShipmentForbidden) Code() int
- func (o *DeleteMTOShipmentForbidden) Error() string
- func (o *DeleteMTOShipmentForbidden) GetPayload() *primemessages.ClientError
- func (o *DeleteMTOShipmentForbidden) IsClientError() bool
- func (o *DeleteMTOShipmentForbidden) IsCode(code int) bool
- func (o *DeleteMTOShipmentForbidden) IsRedirect() bool
- func (o *DeleteMTOShipmentForbidden) IsServerError() bool
- func (o *DeleteMTOShipmentForbidden) IsSuccess() bool
- func (o *DeleteMTOShipmentForbidden) String() string
- type DeleteMTOShipmentInternalServerError
- func (o *DeleteMTOShipmentInternalServerError) Code() int
- func (o *DeleteMTOShipmentInternalServerError) Error() string
- func (o *DeleteMTOShipmentInternalServerError) GetPayload() *primemessages.Error
- func (o *DeleteMTOShipmentInternalServerError) IsClientError() bool
- func (o *DeleteMTOShipmentInternalServerError) IsCode(code int) bool
- func (o *DeleteMTOShipmentInternalServerError) IsRedirect() bool
- func (o *DeleteMTOShipmentInternalServerError) IsServerError() bool
- func (o *DeleteMTOShipmentInternalServerError) IsSuccess() bool
- func (o *DeleteMTOShipmentInternalServerError) String() string
- type DeleteMTOShipmentNoContent
- func (o *DeleteMTOShipmentNoContent) Code() int
- func (o *DeleteMTOShipmentNoContent) Error() string
- func (o *DeleteMTOShipmentNoContent) IsClientError() bool
- func (o *DeleteMTOShipmentNoContent) IsCode(code int) bool
- func (o *DeleteMTOShipmentNoContent) IsRedirect() bool
- func (o *DeleteMTOShipmentNoContent) IsServerError() bool
- func (o *DeleteMTOShipmentNoContent) IsSuccess() bool
- func (o *DeleteMTOShipmentNoContent) String() string
- type DeleteMTOShipmentNotFound
- func (o *DeleteMTOShipmentNotFound) Code() int
- func (o *DeleteMTOShipmentNotFound) Error() string
- func (o *DeleteMTOShipmentNotFound) GetPayload() *primemessages.ClientError
- func (o *DeleteMTOShipmentNotFound) IsClientError() bool
- func (o *DeleteMTOShipmentNotFound) IsCode(code int) bool
- func (o *DeleteMTOShipmentNotFound) IsRedirect() bool
- func (o *DeleteMTOShipmentNotFound) IsServerError() bool
- func (o *DeleteMTOShipmentNotFound) IsSuccess() bool
- func (o *DeleteMTOShipmentNotFound) String() string
- type DeleteMTOShipmentParams
- func NewDeleteMTOShipmentParams() *DeleteMTOShipmentParams
- func NewDeleteMTOShipmentParamsWithContext(ctx context.Context) *DeleteMTOShipmentParams
- func NewDeleteMTOShipmentParamsWithHTTPClient(client *http.Client) *DeleteMTOShipmentParams
- func NewDeleteMTOShipmentParamsWithTimeout(timeout time.Duration) *DeleteMTOShipmentParams
- func (o *DeleteMTOShipmentParams) SetContext(ctx context.Context)
- func (o *DeleteMTOShipmentParams) SetDefaults()
- func (o *DeleteMTOShipmentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMTOShipmentParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)
- func (o *DeleteMTOShipmentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMTOShipmentParams) WithContext(ctx context.Context) *DeleteMTOShipmentParams
- func (o *DeleteMTOShipmentParams) WithDefaults() *DeleteMTOShipmentParams
- func (o *DeleteMTOShipmentParams) WithHTTPClient(client *http.Client) *DeleteMTOShipmentParams
- func (o *DeleteMTOShipmentParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *DeleteMTOShipmentParams
- func (o *DeleteMTOShipmentParams) WithTimeout(timeout time.Duration) *DeleteMTOShipmentParams
- func (o *DeleteMTOShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMTOShipmentReader
- type DeleteMTOShipmentUnprocessableEntity
- func (o *DeleteMTOShipmentUnprocessableEntity) Code() int
- func (o *DeleteMTOShipmentUnprocessableEntity) Error() string
- func (o *DeleteMTOShipmentUnprocessableEntity) GetPayload() *primemessages.ValidationError
- func (o *DeleteMTOShipmentUnprocessableEntity) IsClientError() bool
- func (o *DeleteMTOShipmentUnprocessableEntity) IsCode(code int) bool
- func (o *DeleteMTOShipmentUnprocessableEntity) IsRedirect() bool
- func (o *DeleteMTOShipmentUnprocessableEntity) IsServerError() bool
- func (o *DeleteMTOShipmentUnprocessableEntity) IsSuccess() bool
- func (o *DeleteMTOShipmentUnprocessableEntity) String() string
- type UpdateMTOAgentBadRequest
- func (o *UpdateMTOAgentBadRequest) Code() int
- func (o *UpdateMTOAgentBadRequest) Error() string
- func (o *UpdateMTOAgentBadRequest) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOAgentBadRequest) IsClientError() bool
- func (o *UpdateMTOAgentBadRequest) IsCode(code int) bool
- func (o *UpdateMTOAgentBadRequest) IsRedirect() bool
- func (o *UpdateMTOAgentBadRequest) IsServerError() bool
- func (o *UpdateMTOAgentBadRequest) IsSuccess() bool
- func (o *UpdateMTOAgentBadRequest) String() string
- type UpdateMTOAgentForbidden
- func (o *UpdateMTOAgentForbidden) Code() int
- func (o *UpdateMTOAgentForbidden) Error() string
- func (o *UpdateMTOAgentForbidden) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOAgentForbidden) IsClientError() bool
- func (o *UpdateMTOAgentForbidden) IsCode(code int) bool
- func (o *UpdateMTOAgentForbidden) IsRedirect() bool
- func (o *UpdateMTOAgentForbidden) IsServerError() bool
- func (o *UpdateMTOAgentForbidden) IsSuccess() bool
- func (o *UpdateMTOAgentForbidden) String() string
- type UpdateMTOAgentInternalServerError
- func (o *UpdateMTOAgentInternalServerError) Code() int
- func (o *UpdateMTOAgentInternalServerError) Error() string
- func (o *UpdateMTOAgentInternalServerError) GetPayload() *primemessages.Error
- func (o *UpdateMTOAgentInternalServerError) IsClientError() bool
- func (o *UpdateMTOAgentInternalServerError) IsCode(code int) bool
- func (o *UpdateMTOAgentInternalServerError) IsRedirect() bool
- func (o *UpdateMTOAgentInternalServerError) IsServerError() bool
- func (o *UpdateMTOAgentInternalServerError) IsSuccess() bool
- func (o *UpdateMTOAgentInternalServerError) String() string
- type UpdateMTOAgentNotFound
- func (o *UpdateMTOAgentNotFound) Code() int
- func (o *UpdateMTOAgentNotFound) Error() string
- func (o *UpdateMTOAgentNotFound) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOAgentNotFound) IsClientError() bool
- func (o *UpdateMTOAgentNotFound) IsCode(code int) bool
- func (o *UpdateMTOAgentNotFound) IsRedirect() bool
- func (o *UpdateMTOAgentNotFound) IsServerError() bool
- func (o *UpdateMTOAgentNotFound) IsSuccess() bool
- func (o *UpdateMTOAgentNotFound) String() string
- type UpdateMTOAgentOK
- func (o *UpdateMTOAgentOK) Code() int
- func (o *UpdateMTOAgentOK) Error() string
- func (o *UpdateMTOAgentOK) GetPayload() *primemessages.MTOAgent
- func (o *UpdateMTOAgentOK) IsClientError() bool
- func (o *UpdateMTOAgentOK) IsCode(code int) bool
- func (o *UpdateMTOAgentOK) IsRedirect() bool
- func (o *UpdateMTOAgentOK) IsServerError() bool
- func (o *UpdateMTOAgentOK) IsSuccess() bool
- func (o *UpdateMTOAgentOK) String() string
- type UpdateMTOAgentParams
- func NewUpdateMTOAgentParams() *UpdateMTOAgentParams
- func NewUpdateMTOAgentParamsWithContext(ctx context.Context) *UpdateMTOAgentParams
- func NewUpdateMTOAgentParamsWithHTTPClient(client *http.Client) *UpdateMTOAgentParams
- func NewUpdateMTOAgentParamsWithTimeout(timeout time.Duration) *UpdateMTOAgentParams
- func (o *UpdateMTOAgentParams) SetAgentID(agentID strfmt.UUID)
- func (o *UpdateMTOAgentParams) SetBody(body *primemessages.MTOAgent)
- func (o *UpdateMTOAgentParams) SetContext(ctx context.Context)
- func (o *UpdateMTOAgentParams) SetDefaults()
- func (o *UpdateMTOAgentParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMTOAgentParams) SetIfMatch(ifMatch string)
- func (o *UpdateMTOAgentParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)
- func (o *UpdateMTOAgentParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMTOAgentParams) WithAgentID(agentID strfmt.UUID) *UpdateMTOAgentParams
- func (o *UpdateMTOAgentParams) WithBody(body *primemessages.MTOAgent) *UpdateMTOAgentParams
- func (o *UpdateMTOAgentParams) WithContext(ctx context.Context) *UpdateMTOAgentParams
- func (o *UpdateMTOAgentParams) WithDefaults() *UpdateMTOAgentParams
- func (o *UpdateMTOAgentParams) WithHTTPClient(client *http.Client) *UpdateMTOAgentParams
- func (o *UpdateMTOAgentParams) WithIfMatch(ifMatch string) *UpdateMTOAgentParams
- func (o *UpdateMTOAgentParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *UpdateMTOAgentParams
- func (o *UpdateMTOAgentParams) WithTimeout(timeout time.Duration) *UpdateMTOAgentParams
- func (o *UpdateMTOAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMTOAgentPreconditionFailed
- func (o *UpdateMTOAgentPreconditionFailed) Code() int
- func (o *UpdateMTOAgentPreconditionFailed) Error() string
- func (o *UpdateMTOAgentPreconditionFailed) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOAgentPreconditionFailed) IsClientError() bool
- func (o *UpdateMTOAgentPreconditionFailed) IsCode(code int) bool
- func (o *UpdateMTOAgentPreconditionFailed) IsRedirect() bool
- func (o *UpdateMTOAgentPreconditionFailed) IsServerError() bool
- func (o *UpdateMTOAgentPreconditionFailed) IsSuccess() bool
- func (o *UpdateMTOAgentPreconditionFailed) String() string
- type UpdateMTOAgentReader
- type UpdateMTOAgentUnauthorized
- func (o *UpdateMTOAgentUnauthorized) Code() int
- func (o *UpdateMTOAgentUnauthorized) Error() string
- func (o *UpdateMTOAgentUnauthorized) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOAgentUnauthorized) IsClientError() bool
- func (o *UpdateMTOAgentUnauthorized) IsCode(code int) bool
- func (o *UpdateMTOAgentUnauthorized) IsRedirect() bool
- func (o *UpdateMTOAgentUnauthorized) IsServerError() bool
- func (o *UpdateMTOAgentUnauthorized) IsSuccess() bool
- func (o *UpdateMTOAgentUnauthorized) String() string
- type UpdateMTOAgentUnprocessableEntity
- func (o *UpdateMTOAgentUnprocessableEntity) Code() int
- func (o *UpdateMTOAgentUnprocessableEntity) Error() string
- func (o *UpdateMTOAgentUnprocessableEntity) GetPayload() *primemessages.ValidationError
- func (o *UpdateMTOAgentUnprocessableEntity) IsClientError() bool
- func (o *UpdateMTOAgentUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateMTOAgentUnprocessableEntity) IsRedirect() bool
- func (o *UpdateMTOAgentUnprocessableEntity) IsServerError() bool
- func (o *UpdateMTOAgentUnprocessableEntity) IsSuccess() bool
- func (o *UpdateMTOAgentUnprocessableEntity) String() string
- type UpdateMTOShipmentAddressBadRequest
- func (o *UpdateMTOShipmentAddressBadRequest) Code() int
- func (o *UpdateMTOShipmentAddressBadRequest) Error() string
- func (o *UpdateMTOShipmentAddressBadRequest) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOShipmentAddressBadRequest) IsClientError() bool
- func (o *UpdateMTOShipmentAddressBadRequest) IsCode(code int) bool
- func (o *UpdateMTOShipmentAddressBadRequest) IsRedirect() bool
- func (o *UpdateMTOShipmentAddressBadRequest) IsServerError() bool
- func (o *UpdateMTOShipmentAddressBadRequest) IsSuccess() bool
- func (o *UpdateMTOShipmentAddressBadRequest) String() string
- type UpdateMTOShipmentAddressConflict
- func (o *UpdateMTOShipmentAddressConflict) Code() int
- func (o *UpdateMTOShipmentAddressConflict) Error() string
- func (o *UpdateMTOShipmentAddressConflict) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOShipmentAddressConflict) IsClientError() bool
- func (o *UpdateMTOShipmentAddressConflict) IsCode(code int) bool
- func (o *UpdateMTOShipmentAddressConflict) IsRedirect() bool
- func (o *UpdateMTOShipmentAddressConflict) IsServerError() bool
- func (o *UpdateMTOShipmentAddressConflict) IsSuccess() bool
- func (o *UpdateMTOShipmentAddressConflict) String() string
- type UpdateMTOShipmentAddressForbidden
- func (o *UpdateMTOShipmentAddressForbidden) Code() int
- func (o *UpdateMTOShipmentAddressForbidden) Error() string
- func (o *UpdateMTOShipmentAddressForbidden) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOShipmentAddressForbidden) IsClientError() bool
- func (o *UpdateMTOShipmentAddressForbidden) IsCode(code int) bool
- func (o *UpdateMTOShipmentAddressForbidden) IsRedirect() bool
- func (o *UpdateMTOShipmentAddressForbidden) IsServerError() bool
- func (o *UpdateMTOShipmentAddressForbidden) IsSuccess() bool
- func (o *UpdateMTOShipmentAddressForbidden) String() string
- type UpdateMTOShipmentAddressInternalServerError
- func (o *UpdateMTOShipmentAddressInternalServerError) Code() int
- func (o *UpdateMTOShipmentAddressInternalServerError) Error() string
- func (o *UpdateMTOShipmentAddressInternalServerError) GetPayload() *primemessages.Error
- func (o *UpdateMTOShipmentAddressInternalServerError) IsClientError() bool
- func (o *UpdateMTOShipmentAddressInternalServerError) IsCode(code int) bool
- func (o *UpdateMTOShipmentAddressInternalServerError) IsRedirect() bool
- func (o *UpdateMTOShipmentAddressInternalServerError) IsServerError() bool
- func (o *UpdateMTOShipmentAddressInternalServerError) IsSuccess() bool
- func (o *UpdateMTOShipmentAddressInternalServerError) String() string
- type UpdateMTOShipmentAddressNotFound
- func (o *UpdateMTOShipmentAddressNotFound) Code() int
- func (o *UpdateMTOShipmentAddressNotFound) Error() string
- func (o *UpdateMTOShipmentAddressNotFound) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOShipmentAddressNotFound) IsClientError() bool
- func (o *UpdateMTOShipmentAddressNotFound) IsCode(code int) bool
- func (o *UpdateMTOShipmentAddressNotFound) IsRedirect() bool
- func (o *UpdateMTOShipmentAddressNotFound) IsServerError() bool
- func (o *UpdateMTOShipmentAddressNotFound) IsSuccess() bool
- func (o *UpdateMTOShipmentAddressNotFound) String() string
- type UpdateMTOShipmentAddressOK
- func (o *UpdateMTOShipmentAddressOK) Code() int
- func (o *UpdateMTOShipmentAddressOK) Error() string
- func (o *UpdateMTOShipmentAddressOK) GetPayload() *primemessages.Address
- func (o *UpdateMTOShipmentAddressOK) IsClientError() bool
- func (o *UpdateMTOShipmentAddressOK) IsCode(code int) bool
- func (o *UpdateMTOShipmentAddressOK) IsRedirect() bool
- func (o *UpdateMTOShipmentAddressOK) IsServerError() bool
- func (o *UpdateMTOShipmentAddressOK) IsSuccess() bool
- func (o *UpdateMTOShipmentAddressOK) String() string
- type UpdateMTOShipmentAddressParams
- func NewUpdateMTOShipmentAddressParams() *UpdateMTOShipmentAddressParams
- func NewUpdateMTOShipmentAddressParamsWithContext(ctx context.Context) *UpdateMTOShipmentAddressParams
- func NewUpdateMTOShipmentAddressParamsWithHTTPClient(client *http.Client) *UpdateMTOShipmentAddressParams
- func NewUpdateMTOShipmentAddressParamsWithTimeout(timeout time.Duration) *UpdateMTOShipmentAddressParams
- func (o *UpdateMTOShipmentAddressParams) SetAddressID(addressID strfmt.UUID)
- func (o *UpdateMTOShipmentAddressParams) SetBody(body *primemessages.Address)
- func (o *UpdateMTOShipmentAddressParams) SetContext(ctx context.Context)
- func (o *UpdateMTOShipmentAddressParams) SetDefaults()
- func (o *UpdateMTOShipmentAddressParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMTOShipmentAddressParams) SetIfMatch(ifMatch string)
- func (o *UpdateMTOShipmentAddressParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)
- func (o *UpdateMTOShipmentAddressParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMTOShipmentAddressParams) WithAddressID(addressID strfmt.UUID) *UpdateMTOShipmentAddressParams
- func (o *UpdateMTOShipmentAddressParams) WithBody(body *primemessages.Address) *UpdateMTOShipmentAddressParams
- func (o *UpdateMTOShipmentAddressParams) WithContext(ctx context.Context) *UpdateMTOShipmentAddressParams
- func (o *UpdateMTOShipmentAddressParams) WithDefaults() *UpdateMTOShipmentAddressParams
- func (o *UpdateMTOShipmentAddressParams) WithHTTPClient(client *http.Client) *UpdateMTOShipmentAddressParams
- func (o *UpdateMTOShipmentAddressParams) WithIfMatch(ifMatch string) *UpdateMTOShipmentAddressParams
- func (o *UpdateMTOShipmentAddressParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *UpdateMTOShipmentAddressParams
- func (o *UpdateMTOShipmentAddressParams) WithTimeout(timeout time.Duration) *UpdateMTOShipmentAddressParams
- func (o *UpdateMTOShipmentAddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMTOShipmentAddressPreconditionFailed
- func (o *UpdateMTOShipmentAddressPreconditionFailed) Code() int
- func (o *UpdateMTOShipmentAddressPreconditionFailed) Error() string
- func (o *UpdateMTOShipmentAddressPreconditionFailed) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOShipmentAddressPreconditionFailed) IsClientError() bool
- func (o *UpdateMTOShipmentAddressPreconditionFailed) IsCode(code int) bool
- func (o *UpdateMTOShipmentAddressPreconditionFailed) IsRedirect() bool
- func (o *UpdateMTOShipmentAddressPreconditionFailed) IsServerError() bool
- func (o *UpdateMTOShipmentAddressPreconditionFailed) IsSuccess() bool
- func (o *UpdateMTOShipmentAddressPreconditionFailed) String() string
- type UpdateMTOShipmentAddressReader
- type UpdateMTOShipmentAddressUnauthorized
- func (o *UpdateMTOShipmentAddressUnauthorized) Code() int
- func (o *UpdateMTOShipmentAddressUnauthorized) Error() string
- func (o *UpdateMTOShipmentAddressUnauthorized) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOShipmentAddressUnauthorized) IsClientError() bool
- func (o *UpdateMTOShipmentAddressUnauthorized) IsCode(code int) bool
- func (o *UpdateMTOShipmentAddressUnauthorized) IsRedirect() bool
- func (o *UpdateMTOShipmentAddressUnauthorized) IsServerError() bool
- func (o *UpdateMTOShipmentAddressUnauthorized) IsSuccess() bool
- func (o *UpdateMTOShipmentAddressUnauthorized) String() string
- type UpdateMTOShipmentAddressUnprocessableEntity
- func (o *UpdateMTOShipmentAddressUnprocessableEntity) Code() int
- func (o *UpdateMTOShipmentAddressUnprocessableEntity) Error() string
- func (o *UpdateMTOShipmentAddressUnprocessableEntity) GetPayload() *primemessages.ValidationError
- func (o *UpdateMTOShipmentAddressUnprocessableEntity) IsClientError() bool
- func (o *UpdateMTOShipmentAddressUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateMTOShipmentAddressUnprocessableEntity) IsRedirect() bool
- func (o *UpdateMTOShipmentAddressUnprocessableEntity) IsServerError() bool
- func (o *UpdateMTOShipmentAddressUnprocessableEntity) IsSuccess() bool
- func (o *UpdateMTOShipmentAddressUnprocessableEntity) String() string
- type UpdateMTOShipmentGone
- func (o *UpdateMTOShipmentGone) Code() int
- func (o *UpdateMTOShipmentGone) Error() string
- func (o *UpdateMTOShipmentGone) IsClientError() bool
- func (o *UpdateMTOShipmentGone) IsCode(code int) bool
- func (o *UpdateMTOShipmentGone) IsRedirect() bool
- func (o *UpdateMTOShipmentGone) IsServerError() bool
- func (o *UpdateMTOShipmentGone) IsSuccess() bool
- func (o *UpdateMTOShipmentGone) String() string
- type UpdateMTOShipmentParams
- func NewUpdateMTOShipmentParams() *UpdateMTOShipmentParams
- func NewUpdateMTOShipmentParamsWithContext(ctx context.Context) *UpdateMTOShipmentParams
- func NewUpdateMTOShipmentParamsWithHTTPClient(client *http.Client) *UpdateMTOShipmentParams
- func NewUpdateMTOShipmentParamsWithTimeout(timeout time.Duration) *UpdateMTOShipmentParams
- func (o *UpdateMTOShipmentParams) SetContext(ctx context.Context)
- func (o *UpdateMTOShipmentParams) SetDefaults()
- func (o *UpdateMTOShipmentParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMTOShipmentParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)
- func (o *UpdateMTOShipmentParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMTOShipmentParams) WithContext(ctx context.Context) *UpdateMTOShipmentParams
- func (o *UpdateMTOShipmentParams) WithDefaults() *UpdateMTOShipmentParams
- func (o *UpdateMTOShipmentParams) WithHTTPClient(client *http.Client) *UpdateMTOShipmentParams
- func (o *UpdateMTOShipmentParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *UpdateMTOShipmentParams
- func (o *UpdateMTOShipmentParams) WithTimeout(timeout time.Duration) *UpdateMTOShipmentParams
- func (o *UpdateMTOShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMTOShipmentReader
- type UpdateMTOShipmentStatusBadRequest
- func (o *UpdateMTOShipmentStatusBadRequest) Code() int
- func (o *UpdateMTOShipmentStatusBadRequest) Error() string
- func (o *UpdateMTOShipmentStatusBadRequest) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOShipmentStatusBadRequest) IsClientError() bool
- func (o *UpdateMTOShipmentStatusBadRequest) IsCode(code int) bool
- func (o *UpdateMTOShipmentStatusBadRequest) IsRedirect() bool
- func (o *UpdateMTOShipmentStatusBadRequest) IsServerError() bool
- func (o *UpdateMTOShipmentStatusBadRequest) IsSuccess() bool
- func (o *UpdateMTOShipmentStatusBadRequest) String() string
- type UpdateMTOShipmentStatusConflict
- func (o *UpdateMTOShipmentStatusConflict) Code() int
- func (o *UpdateMTOShipmentStatusConflict) Error() string
- func (o *UpdateMTOShipmentStatusConflict) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOShipmentStatusConflict) IsClientError() bool
- func (o *UpdateMTOShipmentStatusConflict) IsCode(code int) bool
- func (o *UpdateMTOShipmentStatusConflict) IsRedirect() bool
- func (o *UpdateMTOShipmentStatusConflict) IsServerError() bool
- func (o *UpdateMTOShipmentStatusConflict) IsSuccess() bool
- func (o *UpdateMTOShipmentStatusConflict) String() string
- type UpdateMTOShipmentStatusForbidden
- func (o *UpdateMTOShipmentStatusForbidden) Code() int
- func (o *UpdateMTOShipmentStatusForbidden) Error() string
- func (o *UpdateMTOShipmentStatusForbidden) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOShipmentStatusForbidden) IsClientError() bool
- func (o *UpdateMTOShipmentStatusForbidden) IsCode(code int) bool
- func (o *UpdateMTOShipmentStatusForbidden) IsRedirect() bool
- func (o *UpdateMTOShipmentStatusForbidden) IsServerError() bool
- func (o *UpdateMTOShipmentStatusForbidden) IsSuccess() bool
- func (o *UpdateMTOShipmentStatusForbidden) String() string
- type UpdateMTOShipmentStatusInternalServerError
- func (o *UpdateMTOShipmentStatusInternalServerError) Code() int
- func (o *UpdateMTOShipmentStatusInternalServerError) Error() string
- func (o *UpdateMTOShipmentStatusInternalServerError) GetPayload() *primemessages.Error
- func (o *UpdateMTOShipmentStatusInternalServerError) IsClientError() bool
- func (o *UpdateMTOShipmentStatusInternalServerError) IsCode(code int) bool
- func (o *UpdateMTOShipmentStatusInternalServerError) IsRedirect() bool
- func (o *UpdateMTOShipmentStatusInternalServerError) IsServerError() bool
- func (o *UpdateMTOShipmentStatusInternalServerError) IsSuccess() bool
- func (o *UpdateMTOShipmentStatusInternalServerError) String() string
- type UpdateMTOShipmentStatusNotFound
- func (o *UpdateMTOShipmentStatusNotFound) Code() int
- func (o *UpdateMTOShipmentStatusNotFound) Error() string
- func (o *UpdateMTOShipmentStatusNotFound) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOShipmentStatusNotFound) IsClientError() bool
- func (o *UpdateMTOShipmentStatusNotFound) IsCode(code int) bool
- func (o *UpdateMTOShipmentStatusNotFound) IsRedirect() bool
- func (o *UpdateMTOShipmentStatusNotFound) IsServerError() bool
- func (o *UpdateMTOShipmentStatusNotFound) IsSuccess() bool
- func (o *UpdateMTOShipmentStatusNotFound) String() string
- type UpdateMTOShipmentStatusOK
- func (o *UpdateMTOShipmentStatusOK) Code() int
- func (o *UpdateMTOShipmentStatusOK) Error() string
- func (o *UpdateMTOShipmentStatusOK) GetPayload() *primemessages.MTOShipment
- func (o *UpdateMTOShipmentStatusOK) IsClientError() bool
- func (o *UpdateMTOShipmentStatusOK) IsCode(code int) bool
- func (o *UpdateMTOShipmentStatusOK) IsRedirect() bool
- func (o *UpdateMTOShipmentStatusOK) IsServerError() bool
- func (o *UpdateMTOShipmentStatusOK) IsSuccess() bool
- func (o *UpdateMTOShipmentStatusOK) String() string
- type UpdateMTOShipmentStatusParams
- func NewUpdateMTOShipmentStatusParams() *UpdateMTOShipmentStatusParams
- func NewUpdateMTOShipmentStatusParamsWithContext(ctx context.Context) *UpdateMTOShipmentStatusParams
- func NewUpdateMTOShipmentStatusParamsWithHTTPClient(client *http.Client) *UpdateMTOShipmentStatusParams
- func NewUpdateMTOShipmentStatusParamsWithTimeout(timeout time.Duration) *UpdateMTOShipmentStatusParams
- func (o *UpdateMTOShipmentStatusParams) SetBody(body *primemessages.UpdateMTOShipmentStatus)
- func (o *UpdateMTOShipmentStatusParams) SetContext(ctx context.Context)
- func (o *UpdateMTOShipmentStatusParams) SetDefaults()
- func (o *UpdateMTOShipmentStatusParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMTOShipmentStatusParams) SetIfMatch(ifMatch string)
- func (o *UpdateMTOShipmentStatusParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)
- func (o *UpdateMTOShipmentStatusParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMTOShipmentStatusParams) WithBody(body *primemessages.UpdateMTOShipmentStatus) *UpdateMTOShipmentStatusParams
- func (o *UpdateMTOShipmentStatusParams) WithContext(ctx context.Context) *UpdateMTOShipmentStatusParams
- func (o *UpdateMTOShipmentStatusParams) WithDefaults() *UpdateMTOShipmentStatusParams
- func (o *UpdateMTOShipmentStatusParams) WithHTTPClient(client *http.Client) *UpdateMTOShipmentStatusParams
- func (o *UpdateMTOShipmentStatusParams) WithIfMatch(ifMatch string) *UpdateMTOShipmentStatusParams
- func (o *UpdateMTOShipmentStatusParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *UpdateMTOShipmentStatusParams
- func (o *UpdateMTOShipmentStatusParams) WithTimeout(timeout time.Duration) *UpdateMTOShipmentStatusParams
- func (o *UpdateMTOShipmentStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMTOShipmentStatusPreconditionFailed
- func (o *UpdateMTOShipmentStatusPreconditionFailed) Code() int
- func (o *UpdateMTOShipmentStatusPreconditionFailed) Error() string
- func (o *UpdateMTOShipmentStatusPreconditionFailed) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOShipmentStatusPreconditionFailed) IsClientError() bool
- func (o *UpdateMTOShipmentStatusPreconditionFailed) IsCode(code int) bool
- func (o *UpdateMTOShipmentStatusPreconditionFailed) IsRedirect() bool
- func (o *UpdateMTOShipmentStatusPreconditionFailed) IsServerError() bool
- func (o *UpdateMTOShipmentStatusPreconditionFailed) IsSuccess() bool
- func (o *UpdateMTOShipmentStatusPreconditionFailed) String() string
- type UpdateMTOShipmentStatusReader
- type UpdateMTOShipmentStatusUnauthorized
- func (o *UpdateMTOShipmentStatusUnauthorized) Code() int
- func (o *UpdateMTOShipmentStatusUnauthorized) Error() string
- func (o *UpdateMTOShipmentStatusUnauthorized) GetPayload() *primemessages.ClientError
- func (o *UpdateMTOShipmentStatusUnauthorized) IsClientError() bool
- func (o *UpdateMTOShipmentStatusUnauthorized) IsCode(code int) bool
- func (o *UpdateMTOShipmentStatusUnauthorized) IsRedirect() bool
- func (o *UpdateMTOShipmentStatusUnauthorized) IsServerError() bool
- func (o *UpdateMTOShipmentStatusUnauthorized) IsSuccess() bool
- func (o *UpdateMTOShipmentStatusUnauthorized) String() string
- type UpdateMTOShipmentStatusUnprocessableEntity
- func (o *UpdateMTOShipmentStatusUnprocessableEntity) Code() int
- func (o *UpdateMTOShipmentStatusUnprocessableEntity) Error() string
- func (o *UpdateMTOShipmentStatusUnprocessableEntity) GetPayload() *primemessages.ValidationError
- func (o *UpdateMTOShipmentStatusUnprocessableEntity) IsClientError() bool
- func (o *UpdateMTOShipmentStatusUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateMTOShipmentStatusUnprocessableEntity) IsRedirect() bool
- func (o *UpdateMTOShipmentStatusUnprocessableEntity) IsServerError() bool
- func (o *UpdateMTOShipmentStatusUnprocessableEntity) IsSuccess() bool
- func (o *UpdateMTOShipmentStatusUnprocessableEntity) String() string
- type UpdateReweighBadRequest
- func (o *UpdateReweighBadRequest) Code() int
- func (o *UpdateReweighBadRequest) Error() string
- func (o *UpdateReweighBadRequest) GetPayload() *primemessages.ClientError
- func (o *UpdateReweighBadRequest) IsClientError() bool
- func (o *UpdateReweighBadRequest) IsCode(code int) bool
- func (o *UpdateReweighBadRequest) IsRedirect() bool
- func (o *UpdateReweighBadRequest) IsServerError() bool
- func (o *UpdateReweighBadRequest) IsSuccess() bool
- func (o *UpdateReweighBadRequest) String() string
- type UpdateReweighConflict
- func (o *UpdateReweighConflict) Code() int
- func (o *UpdateReweighConflict) Error() string
- func (o *UpdateReweighConflict) GetPayload() *primemessages.ClientError
- func (o *UpdateReweighConflict) IsClientError() bool
- func (o *UpdateReweighConflict) IsCode(code int) bool
- func (o *UpdateReweighConflict) IsRedirect() bool
- func (o *UpdateReweighConflict) IsServerError() bool
- func (o *UpdateReweighConflict) IsSuccess() bool
- func (o *UpdateReweighConflict) String() string
- type UpdateReweighForbidden
- func (o *UpdateReweighForbidden) Code() int
- func (o *UpdateReweighForbidden) Error() string
- func (o *UpdateReweighForbidden) GetPayload() *primemessages.ClientError
- func (o *UpdateReweighForbidden) IsClientError() bool
- func (o *UpdateReweighForbidden) IsCode(code int) bool
- func (o *UpdateReweighForbidden) IsRedirect() bool
- func (o *UpdateReweighForbidden) IsServerError() bool
- func (o *UpdateReweighForbidden) IsSuccess() bool
- func (o *UpdateReweighForbidden) String() string
- type UpdateReweighInternalServerError
- func (o *UpdateReweighInternalServerError) Code() int
- func (o *UpdateReweighInternalServerError) Error() string
- func (o *UpdateReweighInternalServerError) GetPayload() *primemessages.Error
- func (o *UpdateReweighInternalServerError) IsClientError() bool
- func (o *UpdateReweighInternalServerError) IsCode(code int) bool
- func (o *UpdateReweighInternalServerError) IsRedirect() bool
- func (o *UpdateReweighInternalServerError) IsServerError() bool
- func (o *UpdateReweighInternalServerError) IsSuccess() bool
- func (o *UpdateReweighInternalServerError) String() string
- type UpdateReweighNotFound
- func (o *UpdateReweighNotFound) Code() int
- func (o *UpdateReweighNotFound) Error() string
- func (o *UpdateReweighNotFound) GetPayload() *primemessages.ClientError
- func (o *UpdateReweighNotFound) IsClientError() bool
- func (o *UpdateReweighNotFound) IsCode(code int) bool
- func (o *UpdateReweighNotFound) IsRedirect() bool
- func (o *UpdateReweighNotFound) IsServerError() bool
- func (o *UpdateReweighNotFound) IsSuccess() bool
- func (o *UpdateReweighNotFound) String() string
- type UpdateReweighOK
- func (o *UpdateReweighOK) Code() int
- func (o *UpdateReweighOK) Error() string
- func (o *UpdateReweighOK) GetPayload() *primemessages.Reweigh
- func (o *UpdateReweighOK) IsClientError() bool
- func (o *UpdateReweighOK) IsCode(code int) bool
- func (o *UpdateReweighOK) IsRedirect() bool
- func (o *UpdateReweighOK) IsServerError() bool
- func (o *UpdateReweighOK) IsSuccess() bool
- func (o *UpdateReweighOK) String() string
- type UpdateReweighParams
- func (o *UpdateReweighParams) SetBody(body *primemessages.UpdateReweigh)
- func (o *UpdateReweighParams) SetContext(ctx context.Context)
- func (o *UpdateReweighParams) SetDefaults()
- func (o *UpdateReweighParams) SetHTTPClient(client *http.Client)
- func (o *UpdateReweighParams) SetIfMatch(ifMatch string)
- func (o *UpdateReweighParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)
- func (o *UpdateReweighParams) SetReweighID(reweighID strfmt.UUID)
- func (o *UpdateReweighParams) SetTimeout(timeout time.Duration)
- func (o *UpdateReweighParams) WithBody(body *primemessages.UpdateReweigh) *UpdateReweighParams
- func (o *UpdateReweighParams) WithContext(ctx context.Context) *UpdateReweighParams
- func (o *UpdateReweighParams) WithDefaults() *UpdateReweighParams
- func (o *UpdateReweighParams) WithHTTPClient(client *http.Client) *UpdateReweighParams
- func (o *UpdateReweighParams) WithIfMatch(ifMatch string) *UpdateReweighParams
- func (o *UpdateReweighParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *UpdateReweighParams
- func (o *UpdateReweighParams) WithReweighID(reweighID strfmt.UUID) *UpdateReweighParams
- func (o *UpdateReweighParams) WithTimeout(timeout time.Duration) *UpdateReweighParams
- func (o *UpdateReweighParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateReweighPreconditionFailed
- func (o *UpdateReweighPreconditionFailed) Code() int
- func (o *UpdateReweighPreconditionFailed) Error() string
- func (o *UpdateReweighPreconditionFailed) GetPayload() *primemessages.ClientError
- func (o *UpdateReweighPreconditionFailed) IsClientError() bool
- func (o *UpdateReweighPreconditionFailed) IsCode(code int) bool
- func (o *UpdateReweighPreconditionFailed) IsRedirect() bool
- func (o *UpdateReweighPreconditionFailed) IsServerError() bool
- func (o *UpdateReweighPreconditionFailed) IsSuccess() bool
- func (o *UpdateReweighPreconditionFailed) String() string
- type UpdateReweighReader
- type UpdateReweighUnauthorized
- func (o *UpdateReweighUnauthorized) Code() int
- func (o *UpdateReweighUnauthorized) Error() string
- func (o *UpdateReweighUnauthorized) GetPayload() *primemessages.ClientError
- func (o *UpdateReweighUnauthorized) IsClientError() bool
- func (o *UpdateReweighUnauthorized) IsCode(code int) bool
- func (o *UpdateReweighUnauthorized) IsRedirect() bool
- func (o *UpdateReweighUnauthorized) IsServerError() bool
- func (o *UpdateReweighUnauthorized) IsSuccess() bool
- func (o *UpdateReweighUnauthorized) String() string
- type UpdateReweighUnprocessableEntity
- func (o *UpdateReweighUnprocessableEntity) Code() int
- func (o *UpdateReweighUnprocessableEntity) Error() string
- func (o *UpdateReweighUnprocessableEntity) GetPayload() *primemessages.ValidationError
- func (o *UpdateReweighUnprocessableEntity) IsClientError() bool
- func (o *UpdateReweighUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateReweighUnprocessableEntity) IsRedirect() bool
- func (o *UpdateReweighUnprocessableEntity) IsServerError() bool
- func (o *UpdateReweighUnprocessableEntity) IsSuccess() bool
- func (o *UpdateReweighUnprocessableEntity) String() string
- type UpdateShipmentDestinationAddressBadRequest
- func (o *UpdateShipmentDestinationAddressBadRequest) Code() int
- func (o *UpdateShipmentDestinationAddressBadRequest) Error() string
- func (o *UpdateShipmentDestinationAddressBadRequest) GetPayload() *primemessages.ClientError
- func (o *UpdateShipmentDestinationAddressBadRequest) IsClientError() bool
- func (o *UpdateShipmentDestinationAddressBadRequest) IsCode(code int) bool
- func (o *UpdateShipmentDestinationAddressBadRequest) IsRedirect() bool
- func (o *UpdateShipmentDestinationAddressBadRequest) IsServerError() bool
- func (o *UpdateShipmentDestinationAddressBadRequest) IsSuccess() bool
- func (o *UpdateShipmentDestinationAddressBadRequest) String() string
- type UpdateShipmentDestinationAddressConflict
- func (o *UpdateShipmentDestinationAddressConflict) Code() int
- func (o *UpdateShipmentDestinationAddressConflict) Error() string
- func (o *UpdateShipmentDestinationAddressConflict) GetPayload() *primemessages.ClientError
- func (o *UpdateShipmentDestinationAddressConflict) IsClientError() bool
- func (o *UpdateShipmentDestinationAddressConflict) IsCode(code int) bool
- func (o *UpdateShipmentDestinationAddressConflict) IsRedirect() bool
- func (o *UpdateShipmentDestinationAddressConflict) IsServerError() bool
- func (o *UpdateShipmentDestinationAddressConflict) IsSuccess() bool
- func (o *UpdateShipmentDestinationAddressConflict) String() string
- type UpdateShipmentDestinationAddressCreated
- func (o *UpdateShipmentDestinationAddressCreated) Code() int
- func (o *UpdateShipmentDestinationAddressCreated) Error() string
- func (o *UpdateShipmentDestinationAddressCreated) GetPayload() *primemessages.ShipmentAddressUpdate
- func (o *UpdateShipmentDestinationAddressCreated) IsClientError() bool
- func (o *UpdateShipmentDestinationAddressCreated) IsCode(code int) bool
- func (o *UpdateShipmentDestinationAddressCreated) IsRedirect() bool
- func (o *UpdateShipmentDestinationAddressCreated) IsServerError() bool
- func (o *UpdateShipmentDestinationAddressCreated) IsSuccess() bool
- func (o *UpdateShipmentDestinationAddressCreated) String() string
- type UpdateShipmentDestinationAddressForbidden
- func (o *UpdateShipmentDestinationAddressForbidden) Code() int
- func (o *UpdateShipmentDestinationAddressForbidden) Error() string
- func (o *UpdateShipmentDestinationAddressForbidden) GetPayload() *primemessages.ClientError
- func (o *UpdateShipmentDestinationAddressForbidden) IsClientError() bool
- func (o *UpdateShipmentDestinationAddressForbidden) IsCode(code int) bool
- func (o *UpdateShipmentDestinationAddressForbidden) IsRedirect() bool
- func (o *UpdateShipmentDestinationAddressForbidden) IsServerError() bool
- func (o *UpdateShipmentDestinationAddressForbidden) IsSuccess() bool
- func (o *UpdateShipmentDestinationAddressForbidden) String() string
- type UpdateShipmentDestinationAddressInternalServerError
- func (o *UpdateShipmentDestinationAddressInternalServerError) Code() int
- func (o *UpdateShipmentDestinationAddressInternalServerError) Error() string
- func (o *UpdateShipmentDestinationAddressInternalServerError) GetPayload() *primemessages.Error
- func (o *UpdateShipmentDestinationAddressInternalServerError) IsClientError() bool
- func (o *UpdateShipmentDestinationAddressInternalServerError) IsCode(code int) bool
- func (o *UpdateShipmentDestinationAddressInternalServerError) IsRedirect() bool
- func (o *UpdateShipmentDestinationAddressInternalServerError) IsServerError() bool
- func (o *UpdateShipmentDestinationAddressInternalServerError) IsSuccess() bool
- func (o *UpdateShipmentDestinationAddressInternalServerError) String() string
- type UpdateShipmentDestinationAddressNotFound
- func (o *UpdateShipmentDestinationAddressNotFound) Code() int
- func (o *UpdateShipmentDestinationAddressNotFound) Error() string
- func (o *UpdateShipmentDestinationAddressNotFound) GetPayload() *primemessages.ClientError
- func (o *UpdateShipmentDestinationAddressNotFound) IsClientError() bool
- func (o *UpdateShipmentDestinationAddressNotFound) IsCode(code int) bool
- func (o *UpdateShipmentDestinationAddressNotFound) IsRedirect() bool
- func (o *UpdateShipmentDestinationAddressNotFound) IsServerError() bool
- func (o *UpdateShipmentDestinationAddressNotFound) IsSuccess() bool
- func (o *UpdateShipmentDestinationAddressNotFound) String() string
- type UpdateShipmentDestinationAddressParams
- func NewUpdateShipmentDestinationAddressParams() *UpdateShipmentDestinationAddressParams
- func NewUpdateShipmentDestinationAddressParamsWithContext(ctx context.Context) *UpdateShipmentDestinationAddressParams
- func NewUpdateShipmentDestinationAddressParamsWithHTTPClient(client *http.Client) *UpdateShipmentDestinationAddressParams
- func NewUpdateShipmentDestinationAddressParamsWithTimeout(timeout time.Duration) *UpdateShipmentDestinationAddressParams
- func (o *UpdateShipmentDestinationAddressParams) SetBody(body *primemessages.UpdateShipmentDestinationAddress)
- func (o *UpdateShipmentDestinationAddressParams) SetContext(ctx context.Context)
- func (o *UpdateShipmentDestinationAddressParams) SetDefaults()
- func (o *UpdateShipmentDestinationAddressParams) SetHTTPClient(client *http.Client)
- func (o *UpdateShipmentDestinationAddressParams) SetIfMatch(ifMatch string)
- func (o *UpdateShipmentDestinationAddressParams) SetMtoShipmentID(mtoShipmentID strfmt.UUID)
- func (o *UpdateShipmentDestinationAddressParams) SetTimeout(timeout time.Duration)
- func (o *UpdateShipmentDestinationAddressParams) WithBody(body *primemessages.UpdateShipmentDestinationAddress) *UpdateShipmentDestinationAddressParams
- func (o *UpdateShipmentDestinationAddressParams) WithContext(ctx context.Context) *UpdateShipmentDestinationAddressParams
- func (o *UpdateShipmentDestinationAddressParams) WithDefaults() *UpdateShipmentDestinationAddressParams
- func (o *UpdateShipmentDestinationAddressParams) WithHTTPClient(client *http.Client) *UpdateShipmentDestinationAddressParams
- func (o *UpdateShipmentDestinationAddressParams) WithIfMatch(ifMatch string) *UpdateShipmentDestinationAddressParams
- func (o *UpdateShipmentDestinationAddressParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *UpdateShipmentDestinationAddressParams
- func (o *UpdateShipmentDestinationAddressParams) WithTimeout(timeout time.Duration) *UpdateShipmentDestinationAddressParams
- func (o *UpdateShipmentDestinationAddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateShipmentDestinationAddressPreconditionFailed
- func (o *UpdateShipmentDestinationAddressPreconditionFailed) Code() int
- func (o *UpdateShipmentDestinationAddressPreconditionFailed) Error() string
- func (o *UpdateShipmentDestinationAddressPreconditionFailed) GetPayload() *primemessages.ClientError
- func (o *UpdateShipmentDestinationAddressPreconditionFailed) IsClientError() bool
- func (o *UpdateShipmentDestinationAddressPreconditionFailed) IsCode(code int) bool
- func (o *UpdateShipmentDestinationAddressPreconditionFailed) IsRedirect() bool
- func (o *UpdateShipmentDestinationAddressPreconditionFailed) IsServerError() bool
- func (o *UpdateShipmentDestinationAddressPreconditionFailed) IsSuccess() bool
- func (o *UpdateShipmentDestinationAddressPreconditionFailed) String() string
- type UpdateShipmentDestinationAddressReader
- type UpdateShipmentDestinationAddressUnauthorized
- func (o *UpdateShipmentDestinationAddressUnauthorized) Code() int
- func (o *UpdateShipmentDestinationAddressUnauthorized) Error() string
- func (o *UpdateShipmentDestinationAddressUnauthorized) GetPayload() *primemessages.ClientError
- func (o *UpdateShipmentDestinationAddressUnauthorized) IsClientError() bool
- func (o *UpdateShipmentDestinationAddressUnauthorized) IsCode(code int) bool
- func (o *UpdateShipmentDestinationAddressUnauthorized) IsRedirect() bool
- func (o *UpdateShipmentDestinationAddressUnauthorized) IsServerError() bool
- func (o *UpdateShipmentDestinationAddressUnauthorized) IsSuccess() bool
- func (o *UpdateShipmentDestinationAddressUnauthorized) String() string
- type UpdateShipmentDestinationAddressUnprocessableEntity
- func (o *UpdateShipmentDestinationAddressUnprocessableEntity) Code() int
- func (o *UpdateShipmentDestinationAddressUnprocessableEntity) Error() string
- func (o *UpdateShipmentDestinationAddressUnprocessableEntity) GetPayload() *primemessages.ValidationError
- func (o *UpdateShipmentDestinationAddressUnprocessableEntity) IsClientError() bool
- func (o *UpdateShipmentDestinationAddressUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateShipmentDestinationAddressUnprocessableEntity) IsRedirect() bool
- func (o *UpdateShipmentDestinationAddressUnprocessableEntity) IsServerError() bool
- func (o *UpdateShipmentDestinationAddressUnprocessableEntity) IsSuccess() bool
- func (o *UpdateShipmentDestinationAddressUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for mto 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) error
CreateMTOShipment creates m t o shipment _[Deprecated: this endpoint was deprecated on August 5th, 2024]_
Please use the new endpoint at `/prime/v3/createMTOShipment` instead.
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) error
UpdateMTOShipment updates m t o shipment _[Deprecated: this endpoint was deprecated on August 5th, 2024]_
Please use the new endpoint at `/prime/v3/updateMTOShipment` instead.
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.
This endpoint and operation only supports the following shipment types: - HHG - NTSR
For HHG shipments, 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) 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) 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 (o *CreateMTOAgentBadRequest) GetPayload() *primemessages.ClientError
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 (o *CreateMTOAgentConflict) GetPayload() *primemessages.ClientError
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 (o *CreateMTOAgentForbidden) GetPayload() *primemessages.ClientError
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 ¶
func (o *CreateMTOAgentInternalServerError) Code() int
Code gets the status code for the create m t o agent internal server error response
func (*CreateMTOAgentInternalServerError) Error ¶
func (o *CreateMTOAgentInternalServerError) Error() string
func (*CreateMTOAgentInternalServerError) GetPayload ¶
func (o *CreateMTOAgentInternalServerError) GetPayload() *primemessages.Error
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 ¶
func (o *CreateMTOAgentInternalServerError) String() 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 (o *CreateMTOAgentNotFound) GetPayload() *primemessages.ClientError
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 ¶
func (o *CreateMTOAgentParams) WithBody(body *primemessages.MTOAgent) *CreateMTOAgentParams
WithBody adds the body to the create m t o agent params
func (*CreateMTOAgentParams) WithContext ¶
func (o *CreateMTOAgentParams) WithContext(ctx context.Context) *CreateMTOAgentParams
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 {
}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 (o *CreateMTOAgentUnauthorized) Error() string
func (*CreateMTOAgentUnauthorized) GetPayload ¶
func (o *CreateMTOAgentUnauthorized) GetPayload() *primemessages.ClientError
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 ¶
func (o *CreateMTOAgentUnprocessableEntity) Code() int
Code gets the status code for the create m t o agent unprocessable entity response
func (*CreateMTOAgentUnprocessableEntity) Error ¶
func (o *CreateMTOAgentUnprocessableEntity) Error() string
func (*CreateMTOAgentUnprocessableEntity) GetPayload ¶
func (o *CreateMTOAgentUnprocessableEntity) GetPayload() *primemessages.ValidationError
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 ¶
func (o *CreateMTOAgentUnprocessableEntity) String() string
type CreateMTOShipmentGone ¶
type CreateMTOShipmentGone struct { }
CreateMTOShipmentGone describes a response with status code 410, with default header values.
This endpoint is deprecated. Please use `/prime/v3/createMTOShipment` instead.
func NewCreateMTOShipmentGone ¶
func NewCreateMTOShipmentGone() *CreateMTOShipmentGone
NewCreateMTOShipmentGone creates a CreateMTOShipmentGone with default headers values
func (*CreateMTOShipmentGone) Code ¶
func (o *CreateMTOShipmentGone) Code() int
Code gets the status code for the create m t o shipment gone response
func (*CreateMTOShipmentGone) Error ¶
func (o *CreateMTOShipmentGone) Error() string
func (*CreateMTOShipmentGone) IsClientError ¶
func (o *CreateMTOShipmentGone) IsClientError() bool
IsClientError returns true when this create m t o shipment gone response has a 4xx status code
func (*CreateMTOShipmentGone) IsCode ¶
func (o *CreateMTOShipmentGone) IsCode(code int) bool
IsCode returns true when this create m t o shipment gone response a status code equal to that given
func (*CreateMTOShipmentGone) IsRedirect ¶
func (o *CreateMTOShipmentGone) IsRedirect() bool
IsRedirect returns true when this create m t o shipment gone response has a 3xx status code
func (*CreateMTOShipmentGone) IsServerError ¶
func (o *CreateMTOShipmentGone) IsServerError() bool
IsServerError returns true when this create m t o shipment gone response has a 5xx status code
func (*CreateMTOShipmentGone) IsSuccess ¶
func (o *CreateMTOShipmentGone) IsSuccess() bool
IsSuccess returns true when this create m t o shipment gone response has a 2xx status code
func (*CreateMTOShipmentGone) String ¶
func (o *CreateMTOShipmentGone) String() string
type CreateMTOShipmentParams ¶
type CreateMTOShipmentParams struct { 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) 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) WithContext ¶
func (o *CreateMTOShipmentParams) WithContext(ctx context.Context) *CreateMTOShipmentParams
WithContext adds the context to the create m t o shipment params
func (*CreateMTOShipmentParams) WithDefaults ¶
func (o *CreateMTOShipmentParams) WithDefaults() *CreateMTOShipmentParams
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 ¶
func (o *CreateMTOShipmentParams) WithTimeout(timeout time.Duration) *CreateMTOShipmentParams
WithTimeout adds the timeout to the create m t o shipment params
func (*CreateMTOShipmentParams) WriteToRequest ¶
func (o *CreateMTOShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 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 ¶
func (o *CreateSITExtensionBadRequest) Code() int
Code gets the status code for the create s i t extension bad request response
func (*CreateSITExtensionBadRequest) Error ¶
func (o *CreateSITExtensionBadRequest) Error() string
func (*CreateSITExtensionBadRequest) GetPayload ¶
func (o *CreateSITExtensionBadRequest) GetPayload() *primemessages.ClientError
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 ¶
func (o *CreateSITExtensionBadRequest) String() 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 (o *CreateSITExtensionConflict) Error() string
func (*CreateSITExtensionConflict) GetPayload ¶
func (o *CreateSITExtensionConflict) GetPayload() *primemessages.ClientError
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 (o *CreateSITExtensionCreated) GetPayload() *primemessages.SITExtension
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 (o *CreateSITExtensionForbidden) Error() string
func (*CreateSITExtensionForbidden) GetPayload ¶
func (o *CreateSITExtensionForbidden) GetPayload() *primemessages.ClientError
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 ¶
func (o *CreateSITExtensionInternalServerError) Code() int
Code gets the status code for the create s i t extension internal server error response
func (*CreateSITExtensionInternalServerError) Error ¶
func (o *CreateSITExtensionInternalServerError) Error() string
func (*CreateSITExtensionInternalServerError) GetPayload ¶
func (o *CreateSITExtensionInternalServerError) GetPayload() *primemessages.Error
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 ¶
func (o *CreateSITExtensionInternalServerError) IsCode(code int) bool
IsCode returns true when this create s i t extension internal server error response a status code equal to that given
func (*CreateSITExtensionInternalServerError) IsRedirect ¶
func (o *CreateSITExtensionInternalServerError) IsRedirect() bool
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 ¶
func (o *CreateSITExtensionInternalServerError) IsSuccess() bool
IsSuccess returns true when this create s i t extension internal server error response has a 2xx status code
func (*CreateSITExtensionInternalServerError) String ¶
func (o *CreateSITExtensionInternalServerError) String() 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 (o *CreateSITExtensionNotFound) Error() string
func (*CreateSITExtensionNotFound) GetPayload ¶
func (o *CreateSITExtensionNotFound) GetPayload() *primemessages.ClientError
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 ¶
func (o *CreateSITExtensionParams) SetBody(body *primemessages.CreateSITExtension)
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 ¶
func (o *CreateSITExtensionParams) WithBody(body *primemessages.CreateSITExtension) *CreateSITExtensionParams
WithBody adds the body to the create s i t extension params
func (*CreateSITExtensionParams) WithContext ¶
func (o *CreateSITExtensionParams) WithContext(ctx context.Context) *CreateSITExtensionParams
WithContext adds the context to the create s i t extension params
func (*CreateSITExtensionParams) WithDefaults ¶
func (o *CreateSITExtensionParams) WithDefaults() *CreateSITExtensionParams
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 ¶
func (o *CreateSITExtensionParams) WithTimeout(timeout time.Duration) *CreateSITExtensionParams
WithTimeout adds the timeout to the create s i t extension params
func (*CreateSITExtensionParams) WriteToRequest ¶
func (o *CreateSITExtensionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 ¶
func (o *CreateSITExtensionUnauthorized) Code() int
Code gets the status code for the create s i t extension unauthorized response
func (*CreateSITExtensionUnauthorized) Error ¶
func (o *CreateSITExtensionUnauthorized) Error() string
func (*CreateSITExtensionUnauthorized) GetPayload ¶
func (o *CreateSITExtensionUnauthorized) GetPayload() *primemessages.ClientError
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 ¶
func (o *CreateSITExtensionUnauthorized) String() 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 ¶
func (o *CreateSITExtensionUnprocessableEntity) Code() int
Code gets the status code for the create s i t extension unprocessable entity response
func (*CreateSITExtensionUnprocessableEntity) Error ¶
func (o *CreateSITExtensionUnprocessableEntity) Error() string
func (*CreateSITExtensionUnprocessableEntity) GetPayload ¶
func (o *CreateSITExtensionUnprocessableEntity) GetPayload() *primemessages.ValidationError
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 ¶
func (o *CreateSITExtensionUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create s i t extension unprocessable entity response a status code equal to that given
func (*CreateSITExtensionUnprocessableEntity) IsRedirect ¶
func (o *CreateSITExtensionUnprocessableEntity) IsRedirect() bool
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 ¶
func (o *CreateSITExtensionUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create s i t extension unprocessable entity response has a 2xx status code
func (*CreateSITExtensionUnprocessableEntity) String ¶
func (o *CreateSITExtensionUnprocessableEntity) String() 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 (o *DeleteMTOShipmentBadRequest) Error() string
func (*DeleteMTOShipmentBadRequest) GetPayload ¶
func (o *DeleteMTOShipmentBadRequest) GetPayload() *primemessages.ClientError
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 (o *DeleteMTOShipmentConflict) GetPayload() *primemessages.ClientError
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 (o *DeleteMTOShipmentForbidden) Error() string
func (*DeleteMTOShipmentForbidden) GetPayload ¶
func (o *DeleteMTOShipmentForbidden) GetPayload() *primemessages.ClientError
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 ¶
func (o *DeleteMTOShipmentInternalServerError) Code() int
Code gets the status code for the delete m t o shipment internal server error response
func (*DeleteMTOShipmentInternalServerError) Error ¶
func (o *DeleteMTOShipmentInternalServerError) Error() string
func (*DeleteMTOShipmentInternalServerError) GetPayload ¶
func (o *DeleteMTOShipmentInternalServerError) GetPayload() *primemessages.Error
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 ¶
func (o *DeleteMTOShipmentInternalServerError) IsCode(code int) bool
IsCode returns true when this delete m t o shipment internal server error response a status code equal to that given
func (*DeleteMTOShipmentInternalServerError) IsRedirect ¶
func (o *DeleteMTOShipmentInternalServerError) IsRedirect() bool
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 ¶
func (o *DeleteMTOShipmentInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete m t o shipment internal server error response has a 2xx status code
func (*DeleteMTOShipmentInternalServerError) String ¶
func (o *DeleteMTOShipmentInternalServerError) String() 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 (o *DeleteMTOShipmentNoContent) Error() string
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 (o *DeleteMTOShipmentNotFound) GetPayload() *primemessages.ClientError
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 ¶
func (o *DeleteMTOShipmentParams) WithContext(ctx context.Context) *DeleteMTOShipmentParams
WithContext adds the context to the delete m t o shipment params
func (*DeleteMTOShipmentParams) WithDefaults ¶
func (o *DeleteMTOShipmentParams) WithDefaults() *DeleteMTOShipmentParams
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 ¶
func (o *DeleteMTOShipmentParams) WithTimeout(timeout time.Duration) *DeleteMTOShipmentParams
WithTimeout adds the timeout to the delete m t o shipment params
func (*DeleteMTOShipmentParams) WriteToRequest ¶
func (o *DeleteMTOShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteMTOShipmentUnprocessableEntity) Code() int
Code gets the status code for the delete m t o shipment unprocessable entity response
func (*DeleteMTOShipmentUnprocessableEntity) Error ¶
func (o *DeleteMTOShipmentUnprocessableEntity) Error() string
func (*DeleteMTOShipmentUnprocessableEntity) GetPayload ¶
func (o *DeleteMTOShipmentUnprocessableEntity) GetPayload() *primemessages.ValidationError
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 ¶
func (o *DeleteMTOShipmentUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this delete m t o shipment unprocessable entity response a status code equal to that given
func (*DeleteMTOShipmentUnprocessableEntity) IsRedirect ¶
func (o *DeleteMTOShipmentUnprocessableEntity) IsRedirect() bool
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 ¶
func (o *DeleteMTOShipmentUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this delete m t o shipment unprocessable entity response has a 2xx status code
func (*DeleteMTOShipmentUnprocessableEntity) String ¶
func (o *DeleteMTOShipmentUnprocessableEntity) String() 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 (o *UpdateMTOAgentBadRequest) GetPayload() *primemessages.ClientError
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 (o *UpdateMTOAgentForbidden) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateMTOAgentInternalServerError) Code() int
Code gets the status code for the update m t o agent internal server error response
func (*UpdateMTOAgentInternalServerError) Error ¶
func (o *UpdateMTOAgentInternalServerError) Error() string
func (*UpdateMTOAgentInternalServerError) GetPayload ¶
func (o *UpdateMTOAgentInternalServerError) GetPayload() *primemessages.Error
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 ¶
func (o *UpdateMTOAgentInternalServerError) String() 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 (o *UpdateMTOAgentNotFound) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateMTOAgentParams) WithBody(body *primemessages.MTOAgent) *UpdateMTOAgentParams
WithBody adds the body to the update m t o agent params
func (*UpdateMTOAgentParams) WithContext ¶
func (o *UpdateMTOAgentParams) WithContext(ctx context.Context) *UpdateMTOAgentParams
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 ¶
func (o *UpdateMTOAgentPreconditionFailed) Code() int
Code gets the status code for the update m t o agent precondition failed response
func (*UpdateMTOAgentPreconditionFailed) Error ¶
func (o *UpdateMTOAgentPreconditionFailed) Error() string
func (*UpdateMTOAgentPreconditionFailed) GetPayload ¶
func (o *UpdateMTOAgentPreconditionFailed) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateMTOAgentPreconditionFailed) String() 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 {
}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 (o *UpdateMTOAgentUnauthorized) Error() string
func (*UpdateMTOAgentUnauthorized) GetPayload ¶
func (o *UpdateMTOAgentUnauthorized) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateMTOAgentUnprocessableEntity) Code() int
Code gets the status code for the update m t o agent unprocessable entity response
func (*UpdateMTOAgentUnprocessableEntity) Error ¶
func (o *UpdateMTOAgentUnprocessableEntity) Error() string
func (*UpdateMTOAgentUnprocessableEntity) GetPayload ¶
func (o *UpdateMTOAgentUnprocessableEntity) GetPayload() *primemessages.ValidationError
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 ¶
func (o *UpdateMTOAgentUnprocessableEntity) String() 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 ¶
func (o *UpdateMTOShipmentAddressBadRequest) Code() int
Code gets the status code for the update m t o shipment address bad request response
func (*UpdateMTOShipmentAddressBadRequest) Error ¶
func (o *UpdateMTOShipmentAddressBadRequest) Error() string
func (*UpdateMTOShipmentAddressBadRequest) GetPayload ¶
func (o *UpdateMTOShipmentAddressBadRequest) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateMTOShipmentAddressBadRequest) IsCode(code int) bool
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 ¶
func (o *UpdateMTOShipmentAddressBadRequest) IsSuccess() bool
IsSuccess returns true when this update m t o shipment address bad request response has a 2xx status code
func (*UpdateMTOShipmentAddressBadRequest) String ¶
func (o *UpdateMTOShipmentAddressBadRequest) String() 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 ¶
func (o *UpdateMTOShipmentAddressConflict) Code() int
Code gets the status code for the update m t o shipment address conflict response
func (*UpdateMTOShipmentAddressConflict) Error ¶
func (o *UpdateMTOShipmentAddressConflict) Error() string
func (*UpdateMTOShipmentAddressConflict) GetPayload ¶
func (o *UpdateMTOShipmentAddressConflict) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateMTOShipmentAddressConflict) String() 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 ¶
func (o *UpdateMTOShipmentAddressForbidden) Code() int
Code gets the status code for the update m t o shipment address forbidden response
func (*UpdateMTOShipmentAddressForbidden) Error ¶
func (o *UpdateMTOShipmentAddressForbidden) Error() string
func (*UpdateMTOShipmentAddressForbidden) GetPayload ¶
func (o *UpdateMTOShipmentAddressForbidden) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateMTOShipmentAddressForbidden) String() 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 ¶
func (o *UpdateMTOShipmentAddressInternalServerError) Code() int
Code gets the status code for the update m t o shipment address internal server error response
func (*UpdateMTOShipmentAddressInternalServerError) Error ¶
func (o *UpdateMTOShipmentAddressInternalServerError) Error() string
func (*UpdateMTOShipmentAddressInternalServerError) GetPayload ¶
func (o *UpdateMTOShipmentAddressInternalServerError) GetPayload() *primemessages.Error
func (*UpdateMTOShipmentAddressInternalServerError) IsClientError ¶
func (o *UpdateMTOShipmentAddressInternalServerError) IsClientError() bool
IsClientError returns true when this update m t o shipment address internal server error response has a 4xx status code
func (*UpdateMTOShipmentAddressInternalServerError) IsCode ¶
func (o *UpdateMTOShipmentAddressInternalServerError) IsCode(code int) bool
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 ¶
func (o *UpdateMTOShipmentAddressInternalServerError) IsRedirect() bool
IsRedirect returns true when this update m t o shipment address internal server error response has a 3xx status code
func (*UpdateMTOShipmentAddressInternalServerError) IsServerError ¶
func (o *UpdateMTOShipmentAddressInternalServerError) IsServerError() bool
IsServerError returns true when this update m t o shipment address internal server error response has a 5xx status code
func (*UpdateMTOShipmentAddressInternalServerError) IsSuccess ¶
func (o *UpdateMTOShipmentAddressInternalServerError) IsSuccess() bool
IsSuccess returns true when this update m t o shipment address internal server error response has a 2xx status code
func (*UpdateMTOShipmentAddressInternalServerError) String ¶
func (o *UpdateMTOShipmentAddressInternalServerError) String() 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 ¶
func (o *UpdateMTOShipmentAddressNotFound) Code() int
Code gets the status code for the update m t o shipment address not found response
func (*UpdateMTOShipmentAddressNotFound) Error ¶
func (o *UpdateMTOShipmentAddressNotFound) Error() string
func (*UpdateMTOShipmentAddressNotFound) GetPayload ¶
func (o *UpdateMTOShipmentAddressNotFound) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateMTOShipmentAddressNotFound) String() 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 (o *UpdateMTOShipmentAddressOK) Error() string
func (*UpdateMTOShipmentAddressOK) GetPayload ¶
func (o *UpdateMTOShipmentAddressOK) GetPayload() *primemessages.Address
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 ¶
func (o *UpdateMTOShipmentAddressParams) SetBody(body *primemessages.Address)
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 ¶
func (o *UpdateMTOShipmentAddressParams) WithAddressID(addressID strfmt.UUID) *UpdateMTOShipmentAddressParams
WithAddressID adds the addressID to the update m t o shipment address params
func (*UpdateMTOShipmentAddressParams) WithBody ¶
func (o *UpdateMTOShipmentAddressParams) WithBody(body *primemessages.Address) *UpdateMTOShipmentAddressParams
WithBody adds the body to the update m t o shipment address params
func (*UpdateMTOShipmentAddressParams) WithContext ¶
func (o *UpdateMTOShipmentAddressParams) WithContext(ctx context.Context) *UpdateMTOShipmentAddressParams
WithContext adds the context to the update m t o shipment address params
func (*UpdateMTOShipmentAddressParams) WithDefaults ¶
func (o *UpdateMTOShipmentAddressParams) WithDefaults() *UpdateMTOShipmentAddressParams
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 ¶
func (o *UpdateMTOShipmentAddressParams) WithHTTPClient(client *http.Client) *UpdateMTOShipmentAddressParams
WithHTTPClient adds the HTTPClient to the update m t o shipment address params
func (*UpdateMTOShipmentAddressParams) WithIfMatch ¶
func (o *UpdateMTOShipmentAddressParams) WithIfMatch(ifMatch string) *UpdateMTOShipmentAddressParams
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 ¶
func (o *UpdateMTOShipmentAddressParams) WithTimeout(timeout time.Duration) *UpdateMTOShipmentAddressParams
WithTimeout adds the timeout to the update m t o shipment address params
func (*UpdateMTOShipmentAddressParams) WriteToRequest ¶
func (o *UpdateMTOShipmentAddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateMTOShipmentAddressPreconditionFailed) Code() int
Code gets the status code for the update m t o shipment address precondition failed response
func (*UpdateMTOShipmentAddressPreconditionFailed) Error ¶
func (o *UpdateMTOShipmentAddressPreconditionFailed) Error() string
func (*UpdateMTOShipmentAddressPreconditionFailed) GetPayload ¶
func (o *UpdateMTOShipmentAddressPreconditionFailed) GetPayload() *primemessages.ClientError
func (*UpdateMTOShipmentAddressPreconditionFailed) IsClientError ¶
func (o *UpdateMTOShipmentAddressPreconditionFailed) IsClientError() bool
IsClientError returns true when this update m t o shipment address precondition failed response has a 4xx status code
func (*UpdateMTOShipmentAddressPreconditionFailed) IsCode ¶
func (o *UpdateMTOShipmentAddressPreconditionFailed) IsCode(code int) bool
IsCode returns true when this update m t o shipment address precondition failed response a status code equal to that given
func (*UpdateMTOShipmentAddressPreconditionFailed) IsRedirect ¶
func (o *UpdateMTOShipmentAddressPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this update m t o shipment address precondition failed response has a 3xx status code
func (*UpdateMTOShipmentAddressPreconditionFailed) IsServerError ¶
func (o *UpdateMTOShipmentAddressPreconditionFailed) IsServerError() bool
IsServerError returns true when this update m t o shipment address precondition failed response has a 5xx status code
func (*UpdateMTOShipmentAddressPreconditionFailed) IsSuccess ¶
func (o *UpdateMTOShipmentAddressPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this update m t o shipment address precondition failed response has a 2xx status code
func (*UpdateMTOShipmentAddressPreconditionFailed) String ¶
func (o *UpdateMTOShipmentAddressPreconditionFailed) String() 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 {
}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 ¶
func (o *UpdateMTOShipmentAddressUnauthorized) Code() int
Code gets the status code for the update m t o shipment address unauthorized response
func (*UpdateMTOShipmentAddressUnauthorized) Error ¶
func (o *UpdateMTOShipmentAddressUnauthorized) Error() string
func (*UpdateMTOShipmentAddressUnauthorized) GetPayload ¶
func (o *UpdateMTOShipmentAddressUnauthorized) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateMTOShipmentAddressUnauthorized) IsCode(code int) bool
IsCode returns true when this update m t o shipment address unauthorized response a status code equal to that given
func (*UpdateMTOShipmentAddressUnauthorized) IsRedirect ¶
func (o *UpdateMTOShipmentAddressUnauthorized) IsRedirect() bool
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 ¶
func (o *UpdateMTOShipmentAddressUnauthorized) IsSuccess() bool
IsSuccess returns true when this update m t o shipment address unauthorized response has a 2xx status code
func (*UpdateMTOShipmentAddressUnauthorized) String ¶
func (o *UpdateMTOShipmentAddressUnauthorized) String() 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 ¶
func (o *UpdateMTOShipmentAddressUnprocessableEntity) Code() int
Code gets the status code for the update m t o shipment address unprocessable entity response
func (*UpdateMTOShipmentAddressUnprocessableEntity) Error ¶
func (o *UpdateMTOShipmentAddressUnprocessableEntity) Error() string
func (*UpdateMTOShipmentAddressUnprocessableEntity) GetPayload ¶
func (o *UpdateMTOShipmentAddressUnprocessableEntity) GetPayload() *primemessages.ValidationError
func (*UpdateMTOShipmentAddressUnprocessableEntity) IsClientError ¶
func (o *UpdateMTOShipmentAddressUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update m t o shipment address unprocessable entity response has a 4xx status code
func (*UpdateMTOShipmentAddressUnprocessableEntity) IsCode ¶
func (o *UpdateMTOShipmentAddressUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update m t o shipment address unprocessable entity response a status code equal to that given
func (*UpdateMTOShipmentAddressUnprocessableEntity) IsRedirect ¶
func (o *UpdateMTOShipmentAddressUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update m t o shipment address unprocessable entity response has a 3xx status code
func (*UpdateMTOShipmentAddressUnprocessableEntity) IsServerError ¶
func (o *UpdateMTOShipmentAddressUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update m t o shipment address unprocessable entity response has a 5xx status code
func (*UpdateMTOShipmentAddressUnprocessableEntity) IsSuccess ¶
func (o *UpdateMTOShipmentAddressUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update m t o shipment address unprocessable entity response has a 2xx status code
func (*UpdateMTOShipmentAddressUnprocessableEntity) String ¶
func (o *UpdateMTOShipmentAddressUnprocessableEntity) String() string
type UpdateMTOShipmentGone ¶
type UpdateMTOShipmentGone struct { }
UpdateMTOShipmentGone describes a response with status code 410, with default header values.
This endpoint is deprecated. Please use `/prime/v3/updateMTOShipment` instead.
func NewUpdateMTOShipmentGone ¶
func NewUpdateMTOShipmentGone() *UpdateMTOShipmentGone
NewUpdateMTOShipmentGone creates a UpdateMTOShipmentGone with default headers values
func (*UpdateMTOShipmentGone) Code ¶
func (o *UpdateMTOShipmentGone) Code() int
Code gets the status code for the update m t o shipment gone response
func (*UpdateMTOShipmentGone) Error ¶
func (o *UpdateMTOShipmentGone) Error() string
func (*UpdateMTOShipmentGone) IsClientError ¶
func (o *UpdateMTOShipmentGone) IsClientError() bool
IsClientError returns true when this update m t o shipment gone response has a 4xx status code
func (*UpdateMTOShipmentGone) IsCode ¶
func (o *UpdateMTOShipmentGone) IsCode(code int) bool
IsCode returns true when this update m t o shipment gone response a status code equal to that given
func (*UpdateMTOShipmentGone) IsRedirect ¶
func (o *UpdateMTOShipmentGone) IsRedirect() bool
IsRedirect returns true when this update m t o shipment gone response has a 3xx status code
func (*UpdateMTOShipmentGone) IsServerError ¶
func (o *UpdateMTOShipmentGone) IsServerError() bool
IsServerError returns true when this update m t o shipment gone response has a 5xx status code
func (*UpdateMTOShipmentGone) IsSuccess ¶
func (o *UpdateMTOShipmentGone) IsSuccess() bool
IsSuccess returns true when this update m t o shipment gone response has a 2xx status code
func (*UpdateMTOShipmentGone) String ¶
func (o *UpdateMTOShipmentGone) String() string
type UpdateMTOShipmentParams ¶
type UpdateMTOShipmentParams struct { /* 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) 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) 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) WithContext ¶
func (o *UpdateMTOShipmentParams) WithContext(ctx context.Context) *UpdateMTOShipmentParams
WithContext adds the context to the update m t o shipment params
func (*UpdateMTOShipmentParams) WithDefaults ¶
func (o *UpdateMTOShipmentParams) WithDefaults() *UpdateMTOShipmentParams
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) WithMtoShipmentID ¶
func (o *UpdateMTOShipmentParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *UpdateMTOShipmentParams
WithMtoShipmentID adds the mtoShipmentID to the update m t o shipment params
func (*UpdateMTOShipmentParams) WithTimeout ¶
func (o *UpdateMTOShipmentParams) WithTimeout(timeout time.Duration) *UpdateMTOShipmentParams
WithTimeout adds the timeout to the update m t o shipment params
func (*UpdateMTOShipmentParams) WriteToRequest ¶
func (o *UpdateMTOShipmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
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 ¶
func (o *UpdateMTOShipmentStatusBadRequest) Code() int
Code gets the status code for the update m t o shipment status bad request response
func (*UpdateMTOShipmentStatusBadRequest) Error ¶
func (o *UpdateMTOShipmentStatusBadRequest) Error() string
func (*UpdateMTOShipmentStatusBadRequest) GetPayload ¶
func (o *UpdateMTOShipmentStatusBadRequest) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateMTOShipmentStatusBadRequest) String() 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 ¶
func (o *UpdateMTOShipmentStatusConflict) Code() int
Code gets the status code for the update m t o shipment status conflict response
func (*UpdateMTOShipmentStatusConflict) Error ¶
func (o *UpdateMTOShipmentStatusConflict) Error() string
func (*UpdateMTOShipmentStatusConflict) GetPayload ¶
func (o *UpdateMTOShipmentStatusConflict) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateMTOShipmentStatusConflict) String() 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 ¶
func (o *UpdateMTOShipmentStatusForbidden) Code() int
Code gets the status code for the update m t o shipment status forbidden response
func (*UpdateMTOShipmentStatusForbidden) Error ¶
func (o *UpdateMTOShipmentStatusForbidden) Error() string
func (*UpdateMTOShipmentStatusForbidden) GetPayload ¶
func (o *UpdateMTOShipmentStatusForbidden) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateMTOShipmentStatusForbidden) String() 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 ¶
func (o *UpdateMTOShipmentStatusInternalServerError) Code() int
Code gets the status code for the update m t o shipment status internal server error response
func (*UpdateMTOShipmentStatusInternalServerError) Error ¶
func (o *UpdateMTOShipmentStatusInternalServerError) Error() string
func (*UpdateMTOShipmentStatusInternalServerError) GetPayload ¶
func (o *UpdateMTOShipmentStatusInternalServerError) GetPayload() *primemessages.Error
func (*UpdateMTOShipmentStatusInternalServerError) IsClientError ¶
func (o *UpdateMTOShipmentStatusInternalServerError) IsClientError() bool
IsClientError returns true when this update m t o shipment status internal server error response has a 4xx status code
func (*UpdateMTOShipmentStatusInternalServerError) IsCode ¶
func (o *UpdateMTOShipmentStatusInternalServerError) IsCode(code int) bool
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 ¶
func (o *UpdateMTOShipmentStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this update m t o shipment status internal server error response has a 3xx status code
func (*UpdateMTOShipmentStatusInternalServerError) IsServerError ¶
func (o *UpdateMTOShipmentStatusInternalServerError) IsServerError() bool
IsServerError returns true when this update m t o shipment status internal server error response has a 5xx status code
func (*UpdateMTOShipmentStatusInternalServerError) IsSuccess ¶
func (o *UpdateMTOShipmentStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this update m t o shipment status internal server error response has a 2xx status code
func (*UpdateMTOShipmentStatusInternalServerError) String ¶
func (o *UpdateMTOShipmentStatusInternalServerError) String() 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 ¶
func (o *UpdateMTOShipmentStatusNotFound) Code() int
Code gets the status code for the update m t o shipment status not found response
func (*UpdateMTOShipmentStatusNotFound) Error ¶
func (o *UpdateMTOShipmentStatusNotFound) Error() string
func (*UpdateMTOShipmentStatusNotFound) GetPayload ¶
func (o *UpdateMTOShipmentStatusNotFound) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateMTOShipmentStatusNotFound) String() 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 (o *UpdateMTOShipmentStatusOK) GetPayload() *primemessages.MTOShipment
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 ¶
func (o *UpdateMTOShipmentStatusParams) SetBody(body *primemessages.UpdateMTOShipmentStatus)
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 ¶
func (o *UpdateMTOShipmentStatusParams) WithBody(body *primemessages.UpdateMTOShipmentStatus) *UpdateMTOShipmentStatusParams
WithBody adds the body to the update m t o shipment status params
func (*UpdateMTOShipmentStatusParams) WithContext ¶
func (o *UpdateMTOShipmentStatusParams) WithContext(ctx context.Context) *UpdateMTOShipmentStatusParams
WithContext adds the context to the update m t o shipment status params
func (*UpdateMTOShipmentStatusParams) WithDefaults ¶
func (o *UpdateMTOShipmentStatusParams) WithDefaults() *UpdateMTOShipmentStatusParams
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 ¶
func (o *UpdateMTOShipmentStatusParams) WithHTTPClient(client *http.Client) *UpdateMTOShipmentStatusParams
WithHTTPClient adds the HTTPClient to the update m t o shipment status params
func (*UpdateMTOShipmentStatusParams) WithIfMatch ¶
func (o *UpdateMTOShipmentStatusParams) WithIfMatch(ifMatch string) *UpdateMTOShipmentStatusParams
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 ¶
func (o *UpdateMTOShipmentStatusParams) WithTimeout(timeout time.Duration) *UpdateMTOShipmentStatusParams
WithTimeout adds the timeout to the update m t o shipment status params
func (*UpdateMTOShipmentStatusParams) WriteToRequest ¶
func (o *UpdateMTOShipmentStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateMTOShipmentStatusPreconditionFailed) Code() int
Code gets the status code for the update m t o shipment status precondition failed response
func (*UpdateMTOShipmentStatusPreconditionFailed) Error ¶
func (o *UpdateMTOShipmentStatusPreconditionFailed) Error() string
func (*UpdateMTOShipmentStatusPreconditionFailed) GetPayload ¶
func (o *UpdateMTOShipmentStatusPreconditionFailed) GetPayload() *primemessages.ClientError
func (*UpdateMTOShipmentStatusPreconditionFailed) IsClientError ¶
func (o *UpdateMTOShipmentStatusPreconditionFailed) IsClientError() bool
IsClientError returns true when this update m t o shipment status precondition failed response has a 4xx status code
func (*UpdateMTOShipmentStatusPreconditionFailed) IsCode ¶
func (o *UpdateMTOShipmentStatusPreconditionFailed) IsCode(code int) bool
IsCode returns true when this update m t o shipment status precondition failed response a status code equal to that given
func (*UpdateMTOShipmentStatusPreconditionFailed) IsRedirect ¶
func (o *UpdateMTOShipmentStatusPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this update m t o shipment status precondition failed response has a 3xx status code
func (*UpdateMTOShipmentStatusPreconditionFailed) IsServerError ¶
func (o *UpdateMTOShipmentStatusPreconditionFailed) IsServerError() bool
IsServerError returns true when this update m t o shipment status precondition failed response has a 5xx status code
func (*UpdateMTOShipmentStatusPreconditionFailed) IsSuccess ¶
func (o *UpdateMTOShipmentStatusPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this update m t o shipment status precondition failed response has a 2xx status code
func (*UpdateMTOShipmentStatusPreconditionFailed) String ¶
func (o *UpdateMTOShipmentStatusPreconditionFailed) String() 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 {
}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 ¶
func (o *UpdateMTOShipmentStatusUnauthorized) Code() int
Code gets the status code for the update m t o shipment status unauthorized response
func (*UpdateMTOShipmentStatusUnauthorized) Error ¶
func (o *UpdateMTOShipmentStatusUnauthorized) Error() string
func (*UpdateMTOShipmentStatusUnauthorized) GetPayload ¶
func (o *UpdateMTOShipmentStatusUnauthorized) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateMTOShipmentStatusUnauthorized) IsCode(code int) bool
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 ¶
func (o *UpdateMTOShipmentStatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this update m t o shipment status unauthorized response has a 2xx status code
func (*UpdateMTOShipmentStatusUnauthorized) String ¶
func (o *UpdateMTOShipmentStatusUnauthorized) String() 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 ¶
func (o *UpdateMTOShipmentStatusUnprocessableEntity) Code() int
Code gets the status code for the update m t o shipment status unprocessable entity response
func (*UpdateMTOShipmentStatusUnprocessableEntity) Error ¶
func (o *UpdateMTOShipmentStatusUnprocessableEntity) Error() string
func (*UpdateMTOShipmentStatusUnprocessableEntity) GetPayload ¶
func (o *UpdateMTOShipmentStatusUnprocessableEntity) GetPayload() *primemessages.ValidationError
func (*UpdateMTOShipmentStatusUnprocessableEntity) IsClientError ¶
func (o *UpdateMTOShipmentStatusUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update m t o shipment status unprocessable entity response has a 4xx status code
func (*UpdateMTOShipmentStatusUnprocessableEntity) IsCode ¶
func (o *UpdateMTOShipmentStatusUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update m t o shipment status unprocessable entity response a status code equal to that given
func (*UpdateMTOShipmentStatusUnprocessableEntity) IsRedirect ¶
func (o *UpdateMTOShipmentStatusUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update m t o shipment status unprocessable entity response has a 3xx status code
func (*UpdateMTOShipmentStatusUnprocessableEntity) IsServerError ¶
func (o *UpdateMTOShipmentStatusUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update m t o shipment status unprocessable entity response has a 5xx status code
func (*UpdateMTOShipmentStatusUnprocessableEntity) IsSuccess ¶
func (o *UpdateMTOShipmentStatusUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update m t o shipment status unprocessable entity response has a 2xx status code
func (*UpdateMTOShipmentStatusUnprocessableEntity) String ¶
func (o *UpdateMTOShipmentStatusUnprocessableEntity) String() 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 (o *UpdateReweighBadRequest) GetPayload() *primemessages.ClientError
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 (o *UpdateReweighConflict) GetPayload() *primemessages.ClientError
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 (o *UpdateReweighForbidden) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateReweighInternalServerError) Code() int
Code gets the status code for the update reweigh internal server error response
func (*UpdateReweighInternalServerError) Error ¶
func (o *UpdateReweighInternalServerError) Error() string
func (*UpdateReweighInternalServerError) GetPayload ¶
func (o *UpdateReweighInternalServerError) GetPayload() *primemessages.Error
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 ¶
func (o *UpdateReweighInternalServerError) String() 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 (o *UpdateReweighNotFound) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateReweighParams) SetBody(body *primemessages.UpdateReweigh)
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 ¶
func (o *UpdateReweighParams) WithBody(body *primemessages.UpdateReweigh) *UpdateReweighParams
WithBody adds the body to the update reweigh params
func (*UpdateReweighParams) WithContext ¶
func (o *UpdateReweighParams) WithContext(ctx context.Context) *UpdateReweighParams
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 ¶
func (o *UpdateReweighPreconditionFailed) Code() int
Code gets the status code for the update reweigh precondition failed response
func (*UpdateReweighPreconditionFailed) Error ¶
func (o *UpdateReweighPreconditionFailed) Error() string
func (*UpdateReweighPreconditionFailed) GetPayload ¶
func (o *UpdateReweighPreconditionFailed) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateReweighPreconditionFailed) String() 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 {
}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 (o *UpdateReweighUnauthorized) GetPayload() *primemessages.ClientError
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 ¶
func (o *UpdateReweighUnprocessableEntity) Code() int
Code gets the status code for the update reweigh unprocessable entity response
func (*UpdateReweighUnprocessableEntity) Error ¶
func (o *UpdateReweighUnprocessableEntity) Error() string
func (*UpdateReweighUnprocessableEntity) GetPayload ¶
func (o *UpdateReweighUnprocessableEntity) GetPayload() *primemessages.ValidationError
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 ¶
func (o *UpdateReweighUnprocessableEntity) String() 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 ¶
func (o *UpdateShipmentDestinationAddressBadRequest) Code() int
Code gets the status code for the update shipment destination address bad request response
func (*UpdateShipmentDestinationAddressBadRequest) Error ¶
func (o *UpdateShipmentDestinationAddressBadRequest) Error() string
func (*UpdateShipmentDestinationAddressBadRequest) GetPayload ¶
func (o *UpdateShipmentDestinationAddressBadRequest) GetPayload() *primemessages.ClientError
func (*UpdateShipmentDestinationAddressBadRequest) IsClientError ¶
func (o *UpdateShipmentDestinationAddressBadRequest) IsClientError() bool
IsClientError returns true when this update shipment destination address bad request response has a 4xx status code
func (*UpdateShipmentDestinationAddressBadRequest) IsCode ¶
func (o *UpdateShipmentDestinationAddressBadRequest) IsCode(code int) bool
IsCode returns true when this update shipment destination address bad request response a status code equal to that given
func (*UpdateShipmentDestinationAddressBadRequest) IsRedirect ¶
func (o *UpdateShipmentDestinationAddressBadRequest) IsRedirect() bool
IsRedirect returns true when this update shipment destination address bad request response has a 3xx status code
func (*UpdateShipmentDestinationAddressBadRequest) IsServerError ¶
func (o *UpdateShipmentDestinationAddressBadRequest) IsServerError() bool
IsServerError returns true when this update shipment destination address bad request response has a 5xx status code
func (*UpdateShipmentDestinationAddressBadRequest) IsSuccess ¶
func (o *UpdateShipmentDestinationAddressBadRequest) IsSuccess() bool
IsSuccess returns true when this update shipment destination address bad request response has a 2xx status code
func (*UpdateShipmentDestinationAddressBadRequest) String ¶
func (o *UpdateShipmentDestinationAddressBadRequest) String() 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 ¶
func (o *UpdateShipmentDestinationAddressConflict) Code() int
Code gets the status code for the update shipment destination address conflict response
func (*UpdateShipmentDestinationAddressConflict) Error ¶
func (o *UpdateShipmentDestinationAddressConflict) Error() string
func (*UpdateShipmentDestinationAddressConflict) GetPayload ¶
func (o *UpdateShipmentDestinationAddressConflict) GetPayload() *primemessages.ClientError
func (*UpdateShipmentDestinationAddressConflict) IsClientError ¶
func (o *UpdateShipmentDestinationAddressConflict) IsClientError() bool
IsClientError returns true when this update shipment destination address conflict response has a 4xx status code
func (*UpdateShipmentDestinationAddressConflict) IsCode ¶
func (o *UpdateShipmentDestinationAddressConflict) IsCode(code int) bool
IsCode returns true when this update shipment destination address conflict response a status code equal to that given
func (*UpdateShipmentDestinationAddressConflict) IsRedirect ¶
func (o *UpdateShipmentDestinationAddressConflict) IsRedirect() bool
IsRedirect returns true when this update shipment destination address conflict response has a 3xx status code
func (*UpdateShipmentDestinationAddressConflict) IsServerError ¶
func (o *UpdateShipmentDestinationAddressConflict) IsServerError() bool
IsServerError returns true when this update shipment destination address conflict response has a 5xx status code
func (*UpdateShipmentDestinationAddressConflict) IsSuccess ¶
func (o *UpdateShipmentDestinationAddressConflict) IsSuccess() bool
IsSuccess returns true when this update shipment destination address conflict response has a 2xx status code
func (*UpdateShipmentDestinationAddressConflict) String ¶
func (o *UpdateShipmentDestinationAddressConflict) String() 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 ¶
func (o *UpdateShipmentDestinationAddressCreated) Code() int
Code gets the status code for the update shipment destination address created response
func (*UpdateShipmentDestinationAddressCreated) Error ¶
func (o *UpdateShipmentDestinationAddressCreated) Error() string
func (*UpdateShipmentDestinationAddressCreated) GetPayload ¶
func (o *UpdateShipmentDestinationAddressCreated) GetPayload() *primemessages.ShipmentAddressUpdate
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 ¶
func (o *UpdateShipmentDestinationAddressCreated) IsCode(code int) bool
IsCode returns true when this update shipment destination address created response a status code equal to that given
func (*UpdateShipmentDestinationAddressCreated) IsRedirect ¶
func (o *UpdateShipmentDestinationAddressCreated) IsRedirect() bool
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 ¶
func (o *UpdateShipmentDestinationAddressCreated) IsSuccess() bool
IsSuccess returns true when this update shipment destination address created response has a 2xx status code
func (*UpdateShipmentDestinationAddressCreated) String ¶
func (o *UpdateShipmentDestinationAddressCreated) String() 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 ¶
func (o *UpdateShipmentDestinationAddressForbidden) Code() int
Code gets the status code for the update shipment destination address forbidden response
func (*UpdateShipmentDestinationAddressForbidden) Error ¶
func (o *UpdateShipmentDestinationAddressForbidden) Error() string
func (*UpdateShipmentDestinationAddressForbidden) GetPayload ¶
func (o *UpdateShipmentDestinationAddressForbidden) GetPayload() *primemessages.ClientError
func (*UpdateShipmentDestinationAddressForbidden) IsClientError ¶
func (o *UpdateShipmentDestinationAddressForbidden) IsClientError() bool
IsClientError returns true when this update shipment destination address forbidden response has a 4xx status code
func (*UpdateShipmentDestinationAddressForbidden) IsCode ¶
func (o *UpdateShipmentDestinationAddressForbidden) IsCode(code int) bool
IsCode returns true when this update shipment destination address forbidden response a status code equal to that given
func (*UpdateShipmentDestinationAddressForbidden) IsRedirect ¶
func (o *UpdateShipmentDestinationAddressForbidden) IsRedirect() bool
IsRedirect returns true when this update shipment destination address forbidden response has a 3xx status code
func (*UpdateShipmentDestinationAddressForbidden) IsServerError ¶
func (o *UpdateShipmentDestinationAddressForbidden) IsServerError() bool
IsServerError returns true when this update shipment destination address forbidden response has a 5xx status code
func (*UpdateShipmentDestinationAddressForbidden) IsSuccess ¶
func (o *UpdateShipmentDestinationAddressForbidden) IsSuccess() bool
IsSuccess returns true when this update shipment destination address forbidden response has a 2xx status code
func (*UpdateShipmentDestinationAddressForbidden) String ¶
func (o *UpdateShipmentDestinationAddressForbidden) String() 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 ¶
func (o *UpdateShipmentDestinationAddressInternalServerError) Code() int
Code gets the status code for the update shipment destination address internal server error response
func (*UpdateShipmentDestinationAddressInternalServerError) Error ¶
func (o *UpdateShipmentDestinationAddressInternalServerError) Error() string
func (*UpdateShipmentDestinationAddressInternalServerError) GetPayload ¶
func (o *UpdateShipmentDestinationAddressInternalServerError) GetPayload() *primemessages.Error
func (*UpdateShipmentDestinationAddressInternalServerError) IsClientError ¶
func (o *UpdateShipmentDestinationAddressInternalServerError) IsClientError() bool
IsClientError returns true when this update shipment destination address internal server error response has a 4xx status code
func (*UpdateShipmentDestinationAddressInternalServerError) IsCode ¶
func (o *UpdateShipmentDestinationAddressInternalServerError) IsCode(code int) bool
IsCode returns true when this update shipment destination address internal server error response a status code equal to that given
func (*UpdateShipmentDestinationAddressInternalServerError) IsRedirect ¶
func (o *UpdateShipmentDestinationAddressInternalServerError) IsRedirect() bool
IsRedirect returns true when this update shipment destination address internal server error response has a 3xx status code
func (*UpdateShipmentDestinationAddressInternalServerError) IsServerError ¶
func (o *UpdateShipmentDestinationAddressInternalServerError) IsServerError() bool
IsServerError returns true when this update shipment destination address internal server error response has a 5xx status code
func (*UpdateShipmentDestinationAddressInternalServerError) IsSuccess ¶
func (o *UpdateShipmentDestinationAddressInternalServerError) IsSuccess() bool
IsSuccess returns true when this update shipment destination address internal server error response has a 2xx status code
func (*UpdateShipmentDestinationAddressInternalServerError) String ¶
func (o *UpdateShipmentDestinationAddressInternalServerError) String() 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 ¶
func (o *UpdateShipmentDestinationAddressNotFound) Code() int
Code gets the status code for the update shipment destination address not found response
func (*UpdateShipmentDestinationAddressNotFound) Error ¶
func (o *UpdateShipmentDestinationAddressNotFound) Error() string
func (*UpdateShipmentDestinationAddressNotFound) GetPayload ¶
func (o *UpdateShipmentDestinationAddressNotFound) GetPayload() *primemessages.ClientError
func (*UpdateShipmentDestinationAddressNotFound) IsClientError ¶
func (o *UpdateShipmentDestinationAddressNotFound) IsClientError() bool
IsClientError returns true when this update shipment destination address not found response has a 4xx status code
func (*UpdateShipmentDestinationAddressNotFound) IsCode ¶
func (o *UpdateShipmentDestinationAddressNotFound) IsCode(code int) bool
IsCode returns true when this update shipment destination address not found response a status code equal to that given
func (*UpdateShipmentDestinationAddressNotFound) IsRedirect ¶
func (o *UpdateShipmentDestinationAddressNotFound) IsRedirect() bool
IsRedirect returns true when this update shipment destination address not found response has a 3xx status code
func (*UpdateShipmentDestinationAddressNotFound) IsServerError ¶
func (o *UpdateShipmentDestinationAddressNotFound) IsServerError() bool
IsServerError returns true when this update shipment destination address not found response has a 5xx status code
func (*UpdateShipmentDestinationAddressNotFound) IsSuccess ¶
func (o *UpdateShipmentDestinationAddressNotFound) IsSuccess() bool
IsSuccess returns true when this update shipment destination address not found response has a 2xx status code
func (*UpdateShipmentDestinationAddressNotFound) String ¶
func (o *UpdateShipmentDestinationAddressNotFound) String() 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 ¶
func (o *UpdateShipmentDestinationAddressParams) SetBody(body *primemessages.UpdateShipmentDestinationAddress)
SetBody adds the body to the update shipment destination address params
func (*UpdateShipmentDestinationAddressParams) SetContext ¶
func (o *UpdateShipmentDestinationAddressParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateShipmentDestinationAddressParams) WithBody(body *primemessages.UpdateShipmentDestinationAddress) *UpdateShipmentDestinationAddressParams
WithBody adds the body to the update shipment destination address params
func (*UpdateShipmentDestinationAddressParams) WithContext ¶
func (o *UpdateShipmentDestinationAddressParams) WithContext(ctx context.Context) *UpdateShipmentDestinationAddressParams
WithContext adds the context to the update shipment destination address params
func (*UpdateShipmentDestinationAddressParams) WithDefaults ¶
func (o *UpdateShipmentDestinationAddressParams) WithDefaults() *UpdateShipmentDestinationAddressParams
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 ¶
func (o *UpdateShipmentDestinationAddressParams) WithHTTPClient(client *http.Client) *UpdateShipmentDestinationAddressParams
WithHTTPClient adds the HTTPClient to the update shipment destination address params
func (*UpdateShipmentDestinationAddressParams) WithIfMatch ¶
func (o *UpdateShipmentDestinationAddressParams) WithIfMatch(ifMatch string) *UpdateShipmentDestinationAddressParams
WithIfMatch adds the ifMatch to the update shipment destination address params
func (*UpdateShipmentDestinationAddressParams) WithMtoShipmentID ¶
func (o *UpdateShipmentDestinationAddressParams) WithMtoShipmentID(mtoShipmentID strfmt.UUID) *UpdateShipmentDestinationAddressParams
WithMtoShipmentID adds the mtoShipmentID to the update shipment destination address params
func (*UpdateShipmentDestinationAddressParams) WithTimeout ¶
func (o *UpdateShipmentDestinationAddressParams) WithTimeout(timeout time.Duration) *UpdateShipmentDestinationAddressParams
WithTimeout adds the timeout to the update shipment destination address params
func (*UpdateShipmentDestinationAddressParams) WriteToRequest ¶
func (o *UpdateShipmentDestinationAddressParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateShipmentDestinationAddressPreconditionFailed) Code() int
Code gets the status code for the update shipment destination address precondition failed response
func (*UpdateShipmentDestinationAddressPreconditionFailed) Error ¶
func (o *UpdateShipmentDestinationAddressPreconditionFailed) Error() string
func (*UpdateShipmentDestinationAddressPreconditionFailed) GetPayload ¶
func (o *UpdateShipmentDestinationAddressPreconditionFailed) GetPayload() *primemessages.ClientError
func (*UpdateShipmentDestinationAddressPreconditionFailed) IsClientError ¶
func (o *UpdateShipmentDestinationAddressPreconditionFailed) IsClientError() bool
IsClientError returns true when this update shipment destination address precondition failed response has a 4xx status code
func (*UpdateShipmentDestinationAddressPreconditionFailed) IsCode ¶
func (o *UpdateShipmentDestinationAddressPreconditionFailed) IsCode(code int) bool
IsCode returns true when this update shipment destination address precondition failed response a status code equal to that given
func (*UpdateShipmentDestinationAddressPreconditionFailed) IsRedirect ¶
func (o *UpdateShipmentDestinationAddressPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this update shipment destination address precondition failed response has a 3xx status code
func (*UpdateShipmentDestinationAddressPreconditionFailed) IsServerError ¶
func (o *UpdateShipmentDestinationAddressPreconditionFailed) IsServerError() bool
IsServerError returns true when this update shipment destination address precondition failed response has a 5xx status code
func (*UpdateShipmentDestinationAddressPreconditionFailed) IsSuccess ¶
func (o *UpdateShipmentDestinationAddressPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this update shipment destination address precondition failed response has a 2xx status code
func (*UpdateShipmentDestinationAddressPreconditionFailed) String ¶
func (o *UpdateShipmentDestinationAddressPreconditionFailed) String() 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 {
}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 ¶
func (o *UpdateShipmentDestinationAddressUnauthorized) Code() int
Code gets the status code for the update shipment destination address unauthorized response
func (*UpdateShipmentDestinationAddressUnauthorized) Error ¶
func (o *UpdateShipmentDestinationAddressUnauthorized) Error() string
func (*UpdateShipmentDestinationAddressUnauthorized) GetPayload ¶
func (o *UpdateShipmentDestinationAddressUnauthorized) GetPayload() *primemessages.ClientError
func (*UpdateShipmentDestinationAddressUnauthorized) IsClientError ¶
func (o *UpdateShipmentDestinationAddressUnauthorized) IsClientError() bool
IsClientError returns true when this update shipment destination address unauthorized response has a 4xx status code
func (*UpdateShipmentDestinationAddressUnauthorized) IsCode ¶
func (o *UpdateShipmentDestinationAddressUnauthorized) IsCode(code int) bool
IsCode returns true when this update shipment destination address unauthorized response a status code equal to that given
func (*UpdateShipmentDestinationAddressUnauthorized) IsRedirect ¶
func (o *UpdateShipmentDestinationAddressUnauthorized) IsRedirect() bool
IsRedirect returns true when this update shipment destination address unauthorized response has a 3xx status code
func (*UpdateShipmentDestinationAddressUnauthorized) IsServerError ¶
func (o *UpdateShipmentDestinationAddressUnauthorized) IsServerError() bool
IsServerError returns true when this update shipment destination address unauthorized response has a 5xx status code
func (*UpdateShipmentDestinationAddressUnauthorized) IsSuccess ¶
func (o *UpdateShipmentDestinationAddressUnauthorized) IsSuccess() bool
IsSuccess returns true when this update shipment destination address unauthorized response has a 2xx status code
func (*UpdateShipmentDestinationAddressUnauthorized) String ¶
func (o *UpdateShipmentDestinationAddressUnauthorized) String() 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 ¶
func (o *UpdateShipmentDestinationAddressUnprocessableEntity) Code() int
Code gets the status code for the update shipment destination address unprocessable entity response
func (*UpdateShipmentDestinationAddressUnprocessableEntity) Error ¶
func (o *UpdateShipmentDestinationAddressUnprocessableEntity) Error() string
func (*UpdateShipmentDestinationAddressUnprocessableEntity) GetPayload ¶
func (o *UpdateShipmentDestinationAddressUnprocessableEntity) GetPayload() *primemessages.ValidationError
func (*UpdateShipmentDestinationAddressUnprocessableEntity) IsClientError ¶
func (o *UpdateShipmentDestinationAddressUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update shipment destination address unprocessable entity response has a 4xx status code
func (*UpdateShipmentDestinationAddressUnprocessableEntity) IsCode ¶
func (o *UpdateShipmentDestinationAddressUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update shipment destination address unprocessable entity response a status code equal to that given
func (*UpdateShipmentDestinationAddressUnprocessableEntity) IsRedirect ¶
func (o *UpdateShipmentDestinationAddressUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update shipment destination address unprocessable entity response has a 3xx status code
func (*UpdateShipmentDestinationAddressUnprocessableEntity) IsServerError ¶
func (o *UpdateShipmentDestinationAddressUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update shipment destination address unprocessable entity response has a 5xx status code
func (*UpdateShipmentDestinationAddressUnprocessableEntity) IsSuccess ¶
func (o *UpdateShipmentDestinationAddressUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update shipment destination address unprocessable entity response has a 2xx status code
func (*UpdateShipmentDestinationAddressUnprocessableEntity) String ¶
func (o *UpdateShipmentDestinationAddressUnprocessableEntity) String() string
Source Files
¶
- create_m_t_o_agent_parameters.go
- create_m_t_o_agent_responses.go
- create_m_t_o_shipment_parameters.go
- create_m_t_o_shipment_responses.go
- create_s_i_t_extension_parameters.go
- create_s_i_t_extension_responses.go
- delete_m_t_o_shipment_parameters.go
- delete_m_t_o_shipment_responses.go
- mto_shipment_client.go
- update_m_t_o_agent_parameters.go
- update_m_t_o_agent_responses.go
- update_m_t_o_shipment_address_parameters.go
- update_m_t_o_shipment_address_responses.go
- update_m_t_o_shipment_parameters.go
- update_m_t_o_shipment_responses.go
- update_m_t_o_shipment_status_parameters.go
- update_m_t_o_shipment_status_responses.go
- update_reweigh_parameters.go
- update_reweigh_responses.go
- update_shipment_destination_address_parameters.go
- update_shipment_destination_address_responses.go