office

package
v0.0.0-...-c486877 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ApproveMoveBadRequestCode int = 400

ApproveMoveBadRequestCode is the HTTP code returned for type ApproveMoveBadRequest

View Source
const ApproveMoveConflictCode int = 409

ApproveMoveConflictCode is the HTTP code returned for type ApproveMoveConflict

View Source
const ApproveMoveForbiddenCode int = 403

ApproveMoveForbiddenCode is the HTTP code returned for type ApproveMoveForbidden

View Source
const ApproveMoveInternalServerErrorCode int = 500

ApproveMoveInternalServerErrorCode is the HTTP code returned for type ApproveMoveInternalServerError

View Source
const ApproveMoveOKCode int = 200

ApproveMoveOKCode is the HTTP code returned for type ApproveMoveOK

View Source
const ApproveMoveUnauthorizedCode int = 401

ApproveMoveUnauthorizedCode is the HTTP code returned for type ApproveMoveUnauthorized

View Source
const ApproveReimbursementBadRequestCode int = 400

ApproveReimbursementBadRequestCode is the HTTP code returned for type ApproveReimbursementBadRequest

View Source
const ApproveReimbursementForbiddenCode int = 403

ApproveReimbursementForbiddenCode is the HTTP code returned for type ApproveReimbursementForbidden

View Source
const ApproveReimbursementInternalServerErrorCode int = 500

ApproveReimbursementInternalServerErrorCode is the HTTP code returned for type ApproveReimbursementInternalServerError

View Source
const ApproveReimbursementOKCode int = 200

ApproveReimbursementOKCode is the HTTP code returned for type ApproveReimbursementOK

View Source
const ApproveReimbursementUnauthorizedCode int = 401

ApproveReimbursementUnauthorizedCode is the HTTP code returned for type ApproveReimbursementUnauthorized

View Source
const CancelMoveBadRequestCode int = 400

CancelMoveBadRequestCode is the HTTP code returned for type CancelMoveBadRequest

View Source
const CancelMoveConflictCode int = 409

CancelMoveConflictCode is the HTTP code returned for type CancelMoveConflict

View Source
const CancelMoveForbiddenCode int = 403

CancelMoveForbiddenCode is the HTTP code returned for type CancelMoveForbidden

View Source
const CancelMoveInternalServerErrorCode int = 500

CancelMoveInternalServerErrorCode is the HTTP code returned for type CancelMoveInternalServerError

View Source
const CancelMoveOKCode int = 200

CancelMoveOKCode is the HTTP code returned for type CancelMoveOK

View Source
const CancelMoveUnauthorizedCode int = 401

CancelMoveUnauthorizedCode is the HTTP code returned for type CancelMoveUnauthorized

View Source
const ShowOfficeOrdersBadRequestCode int = 400

ShowOfficeOrdersBadRequestCode is the HTTP code returned for type ShowOfficeOrdersBadRequest

View Source
const ShowOfficeOrdersForbiddenCode int = 403

ShowOfficeOrdersForbiddenCode is the HTTP code returned for type ShowOfficeOrdersForbidden

View Source
const ShowOfficeOrdersInternalServerErrorCode int = 500

ShowOfficeOrdersInternalServerErrorCode is the HTTP code returned for type ShowOfficeOrdersInternalServerError

View Source
const ShowOfficeOrdersNotFoundCode int = 404

ShowOfficeOrdersNotFoundCode is the HTTP code returned for type ShowOfficeOrdersNotFound

View Source
const ShowOfficeOrdersOKCode int = 200

ShowOfficeOrdersOKCode is the HTTP code returned for type ShowOfficeOrdersOK

View Source
const ShowOfficeOrdersUnauthorizedCode int = 401

ShowOfficeOrdersUnauthorizedCode is the HTTP code returned for type ShowOfficeOrdersUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type ApproveMove

type ApproveMove struct {
	Context *middleware.Context
	Handler ApproveMoveHandler
}
ApproveMove swagger:route POST /moves/{moveId}/approve office approveMove

Approves a move to proceed

Approves the basic details of a move. The status of the move will be updated to APPROVED

func NewApproveMove

func NewApproveMove(ctx *middleware.Context, handler ApproveMoveHandler) *ApproveMove

NewApproveMove creates a new http.Handler for the approve move operation

func (*ApproveMove) ServeHTTP

func (o *ApproveMove) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ApproveMoveBadRequest

type ApproveMoveBadRequest struct {
}

ApproveMoveBadRequest invalid request

swagger:response approveMoveBadRequest

func NewApproveMoveBadRequest

func NewApproveMoveBadRequest() *ApproveMoveBadRequest

NewApproveMoveBadRequest creates ApproveMoveBadRequest with default headers values

func (*ApproveMoveBadRequest) WriteResponse

func (o *ApproveMoveBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ApproveMoveConflict

type ApproveMoveConflict struct {

	/*
	  In: Body
	*/
	Payload *internalmessages.MovePayload `json:"body,omitempty"`
}

ApproveMoveConflict the move is not in a state to be approved

swagger:response approveMoveConflict

func NewApproveMoveConflict

func NewApproveMoveConflict() *ApproveMoveConflict

NewApproveMoveConflict creates ApproveMoveConflict with default headers values

func (*ApproveMoveConflict) SetPayload

func (o *ApproveMoveConflict) SetPayload(payload *internalmessages.MovePayload)

SetPayload sets the payload to the approve move conflict response

func (*ApproveMoveConflict) WithPayload

WithPayload adds the payload to the approve move conflict response

func (*ApproveMoveConflict) WriteResponse

func (o *ApproveMoveConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ApproveMoveForbidden

type ApproveMoveForbidden struct {
}

ApproveMoveForbidden not authorized to approve this move

swagger:response approveMoveForbidden

func NewApproveMoveForbidden

func NewApproveMoveForbidden() *ApproveMoveForbidden

NewApproveMoveForbidden creates ApproveMoveForbidden with default headers values

func (*ApproveMoveForbidden) WriteResponse

func (o *ApproveMoveForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ApproveMoveHandler

type ApproveMoveHandler interface {
	Handle(ApproveMoveParams) middleware.Responder
}

ApproveMoveHandler interface for that can handle valid approve move params

type ApproveMoveHandlerFunc

type ApproveMoveHandlerFunc func(ApproveMoveParams) middleware.Responder

ApproveMoveHandlerFunc turns a function with the right signature into a approve move handler

func (ApproveMoveHandlerFunc) Handle

Handle executing the request and returning a response

type ApproveMoveInternalServerError

type ApproveMoveInternalServerError struct {
}

ApproveMoveInternalServerError server error

swagger:response approveMoveInternalServerError

func NewApproveMoveInternalServerError

func NewApproveMoveInternalServerError() *ApproveMoveInternalServerError

NewApproveMoveInternalServerError creates ApproveMoveInternalServerError with default headers values

func (*ApproveMoveInternalServerError) WriteResponse

func (o *ApproveMoveInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ApproveMoveOK

type ApproveMoveOK struct {

	/*
	  In: Body
	*/
	Payload *internalmessages.MovePayload `json:"body,omitempty"`
}

ApproveMoveOK returns updated (approved) move object

swagger:response approveMoveOK

func NewApproveMoveOK

func NewApproveMoveOK() *ApproveMoveOK

NewApproveMoveOK creates ApproveMoveOK with default headers values

func (*ApproveMoveOK) SetPayload

func (o *ApproveMoveOK) SetPayload(payload *internalmessages.MovePayload)

SetPayload sets the payload to the approve move o k response

func (*ApproveMoveOK) WithPayload

func (o *ApproveMoveOK) WithPayload(payload *internalmessages.MovePayload) *ApproveMoveOK

WithPayload adds the payload to the approve move o k response

func (*ApproveMoveOK) WriteResponse

func (o *ApproveMoveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ApproveMoveParams

type ApproveMoveParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*UUID of the move
	  Required: true
	  In: path
	*/
	MoveID strfmt.UUID
}

ApproveMoveParams contains all the bound params for the approve move operation typically these are obtained from a http.Request

swagger:parameters approveMove

func NewApproveMoveParams

func NewApproveMoveParams() ApproveMoveParams

NewApproveMoveParams creates a new ApproveMoveParams object

There are no default values defined in the spec.

func (*ApproveMoveParams) BindRequest

func (o *ApproveMoveParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewApproveMoveParams() beforehand.

type ApproveMoveURL

type ApproveMoveURL struct {
	MoveID strfmt.UUID
	// contains filtered or unexported fields
}

ApproveMoveURL generates an URL for the approve move operation

func (*ApproveMoveURL) Build

func (o *ApproveMoveURL) Build() (*url.URL, error)

Build a url path and query string

func (*ApproveMoveURL) BuildFull

func (o *ApproveMoveURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ApproveMoveURL) Must

func (o *ApproveMoveURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ApproveMoveURL) SetBasePath

func (o *ApproveMoveURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ApproveMoveURL) String

func (o *ApproveMoveURL) String() string

String returns the string representation of the path with query string

func (*ApproveMoveURL) StringFull

func (o *ApproveMoveURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ApproveMoveURL) WithBasePath

func (o *ApproveMoveURL) WithBasePath(bp string) *ApproveMoveURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ApproveMoveUnauthorized

type ApproveMoveUnauthorized struct {
}

ApproveMoveUnauthorized must be authenticated to use this endpoint

swagger:response approveMoveUnauthorized

func NewApproveMoveUnauthorized

func NewApproveMoveUnauthorized() *ApproveMoveUnauthorized

NewApproveMoveUnauthorized creates ApproveMoveUnauthorized with default headers values

func (*ApproveMoveUnauthorized) WriteResponse

func (o *ApproveMoveUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ApproveReimbursement

type ApproveReimbursement struct {
	Context *middleware.Context
	Handler ApproveReimbursementHandler
}
ApproveReimbursement swagger:route POST /reimbursement/{reimbursementId}/approve office approveReimbursement

Approves the reimbursement

Sets the status of the reimbursement to APPROVED.

func NewApproveReimbursement

func NewApproveReimbursement(ctx *middleware.Context, handler ApproveReimbursementHandler) *ApproveReimbursement

NewApproveReimbursement creates a new http.Handler for the approve reimbursement operation

func (*ApproveReimbursement) ServeHTTP

func (o *ApproveReimbursement) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ApproveReimbursementBadRequest

type ApproveReimbursementBadRequest struct {
}

ApproveReimbursementBadRequest invalid request

swagger:response approveReimbursementBadRequest

func NewApproveReimbursementBadRequest

func NewApproveReimbursementBadRequest() *ApproveReimbursementBadRequest

NewApproveReimbursementBadRequest creates ApproveReimbursementBadRequest with default headers values

func (*ApproveReimbursementBadRequest) WriteResponse

func (o *ApproveReimbursementBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ApproveReimbursementForbidden

type ApproveReimbursementForbidden struct {
}

ApproveReimbursementForbidden user is not authorized

swagger:response approveReimbursementForbidden

func NewApproveReimbursementForbidden

func NewApproveReimbursementForbidden() *ApproveReimbursementForbidden

NewApproveReimbursementForbidden creates ApproveReimbursementForbidden with default headers values

func (*ApproveReimbursementForbidden) WriteResponse

func (o *ApproveReimbursementForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ApproveReimbursementHandler

type ApproveReimbursementHandler interface {
	Handle(ApproveReimbursementParams) middleware.Responder
}

ApproveReimbursementHandler interface for that can handle valid approve reimbursement params

type ApproveReimbursementHandlerFunc

type ApproveReimbursementHandlerFunc func(ApproveReimbursementParams) middleware.Responder

ApproveReimbursementHandlerFunc turns a function with the right signature into a approve reimbursement handler

func (ApproveReimbursementHandlerFunc) Handle

Handle executing the request and returning a response

type ApproveReimbursementInternalServerError

type ApproveReimbursementInternalServerError struct {
}

ApproveReimbursementInternalServerError internal server error

swagger:response approveReimbursementInternalServerError

func NewApproveReimbursementInternalServerError

func NewApproveReimbursementInternalServerError() *ApproveReimbursementInternalServerError

NewApproveReimbursementInternalServerError creates ApproveReimbursementInternalServerError with default headers values

func (*ApproveReimbursementInternalServerError) WriteResponse

WriteResponse to the client

type ApproveReimbursementOK

type ApproveReimbursementOK struct {

	/*
	  In: Body
	*/
	Payload *internalmessages.Reimbursement `json:"body,omitempty"`
}

ApproveReimbursementOK updated instance of reimbursement

swagger:response approveReimbursementOK

func NewApproveReimbursementOK

func NewApproveReimbursementOK() *ApproveReimbursementOK

NewApproveReimbursementOK creates ApproveReimbursementOK with default headers values

func (*ApproveReimbursementOK) SetPayload

func (o *ApproveReimbursementOK) SetPayload(payload *internalmessages.Reimbursement)

SetPayload sets the payload to the approve reimbursement o k response

func (*ApproveReimbursementOK) WithPayload

WithPayload adds the payload to the approve reimbursement o k response

func (*ApproveReimbursementOK) WriteResponse

func (o *ApproveReimbursementOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ApproveReimbursementParams

type ApproveReimbursementParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*UUID of the reimbursement being approved
	  Required: true
	  In: path
	*/
	ReimbursementID strfmt.UUID
}

ApproveReimbursementParams contains all the bound params for the approve reimbursement operation typically these are obtained from a http.Request

swagger:parameters approveReimbursement

func NewApproveReimbursementParams

func NewApproveReimbursementParams() ApproveReimbursementParams

NewApproveReimbursementParams creates a new ApproveReimbursementParams object

There are no default values defined in the spec.

func (*ApproveReimbursementParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewApproveReimbursementParams() beforehand.

type ApproveReimbursementURL

type ApproveReimbursementURL struct {
	ReimbursementID strfmt.UUID
	// contains filtered or unexported fields
}

ApproveReimbursementURL generates an URL for the approve reimbursement operation

func (*ApproveReimbursementURL) Build

func (o *ApproveReimbursementURL) Build() (*url.URL, error)

Build a url path and query string

func (*ApproveReimbursementURL) BuildFull

func (o *ApproveReimbursementURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ApproveReimbursementURL) Must

func (o *ApproveReimbursementURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ApproveReimbursementURL) SetBasePath

func (o *ApproveReimbursementURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ApproveReimbursementURL) String

func (o *ApproveReimbursementURL) String() string

String returns the string representation of the path with query string

func (*ApproveReimbursementURL) StringFull

func (o *ApproveReimbursementURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ApproveReimbursementURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ApproveReimbursementUnauthorized

type ApproveReimbursementUnauthorized struct {
}

ApproveReimbursementUnauthorized request requires user authentication

swagger:response approveReimbursementUnauthorized

func NewApproveReimbursementUnauthorized

func NewApproveReimbursementUnauthorized() *ApproveReimbursementUnauthorized

NewApproveReimbursementUnauthorized creates ApproveReimbursementUnauthorized with default headers values

func (*ApproveReimbursementUnauthorized) WriteResponse

func (o *ApproveReimbursementUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CancelMove

type CancelMove struct {
	Context *middleware.Context
	Handler CancelMoveHandler
}
CancelMove swagger:route POST /moves/{moveId}/cancel office cancelMove

Cancels a move

Cancels the basic details of a move. The status of the move will be updated to CANCELED

func NewCancelMove

func NewCancelMove(ctx *middleware.Context, handler CancelMoveHandler) *CancelMove

NewCancelMove creates a new http.Handler for the cancel move operation

func (*CancelMove) ServeHTTP

func (o *CancelMove) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CancelMoveBadRequest

type CancelMoveBadRequest struct {
}

CancelMoveBadRequest invalid request

swagger:response cancelMoveBadRequest

func NewCancelMoveBadRequest

func NewCancelMoveBadRequest() *CancelMoveBadRequest

NewCancelMoveBadRequest creates CancelMoveBadRequest with default headers values

func (*CancelMoveBadRequest) WriteResponse

func (o *CancelMoveBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CancelMoveConflict

type CancelMoveConflict struct {

	/*
	  In: Body
	*/
	Payload *internalmessages.MovePayload `json:"body,omitempty"`
}

CancelMoveConflict the move is not in a state to be canceled

swagger:response cancelMoveConflict

func NewCancelMoveConflict

func NewCancelMoveConflict() *CancelMoveConflict

NewCancelMoveConflict creates CancelMoveConflict with default headers values

func (*CancelMoveConflict) SetPayload

func (o *CancelMoveConflict) SetPayload(payload *internalmessages.MovePayload)

SetPayload sets the payload to the cancel move conflict response

func (*CancelMoveConflict) WithPayload

WithPayload adds the payload to the cancel move conflict response

func (*CancelMoveConflict) WriteResponse

func (o *CancelMoveConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CancelMoveForbidden

type CancelMoveForbidden struct {
}

CancelMoveForbidden not authorized to cancel this move

swagger:response cancelMoveForbidden

func NewCancelMoveForbidden

func NewCancelMoveForbidden() *CancelMoveForbidden

NewCancelMoveForbidden creates CancelMoveForbidden with default headers values

func (*CancelMoveForbidden) WriteResponse

func (o *CancelMoveForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CancelMoveHandler

type CancelMoveHandler interface {
	Handle(CancelMoveParams) middleware.Responder
}

CancelMoveHandler interface for that can handle valid cancel move params

type CancelMoveHandlerFunc

type CancelMoveHandlerFunc func(CancelMoveParams) middleware.Responder

CancelMoveHandlerFunc turns a function with the right signature into a cancel move handler

func (CancelMoveHandlerFunc) Handle

Handle executing the request and returning a response

type CancelMoveInternalServerError

type CancelMoveInternalServerError struct {
}

CancelMoveInternalServerError server error

swagger:response cancelMoveInternalServerError

func NewCancelMoveInternalServerError

func NewCancelMoveInternalServerError() *CancelMoveInternalServerError

NewCancelMoveInternalServerError creates CancelMoveInternalServerError with default headers values

func (*CancelMoveInternalServerError) WriteResponse

func (o *CancelMoveInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CancelMoveOK

type CancelMoveOK struct {

	/*
	  In: Body
	*/
	Payload *internalmessages.MovePayload `json:"body,omitempty"`
}

CancelMoveOK returns updated (canceled) move object

swagger:response cancelMoveOK

func NewCancelMoveOK

func NewCancelMoveOK() *CancelMoveOK

NewCancelMoveOK creates CancelMoveOK with default headers values

func (*CancelMoveOK) SetPayload

func (o *CancelMoveOK) SetPayload(payload *internalmessages.MovePayload)

SetPayload sets the payload to the cancel move o k response

func (*CancelMoveOK) WithPayload

func (o *CancelMoveOK) WithPayload(payload *internalmessages.MovePayload) *CancelMoveOK

WithPayload adds the payload to the cancel move o k response

func (*CancelMoveOK) WriteResponse

func (o *CancelMoveOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CancelMoveParams

type CancelMoveParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	CancelMove *internalmessages.CancelMove
	/*UUID of the move
	  Required: true
	  In: path
	*/
	MoveID strfmt.UUID
}

CancelMoveParams contains all the bound params for the cancel move operation typically these are obtained from a http.Request

swagger:parameters cancelMove

func NewCancelMoveParams

func NewCancelMoveParams() CancelMoveParams

NewCancelMoveParams creates a new CancelMoveParams object

There are no default values defined in the spec.

func (*CancelMoveParams) BindRequest

func (o *CancelMoveParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCancelMoveParams() beforehand.

type CancelMoveURL

type CancelMoveURL struct {
	MoveID strfmt.UUID
	// contains filtered or unexported fields
}

CancelMoveURL generates an URL for the cancel move operation

func (*CancelMoveURL) Build

func (o *CancelMoveURL) Build() (*url.URL, error)

Build a url path and query string

func (*CancelMoveURL) BuildFull

func (o *CancelMoveURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CancelMoveURL) Must

func (o *CancelMoveURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CancelMoveURL) SetBasePath

func (o *CancelMoveURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CancelMoveURL) String

func (o *CancelMoveURL) String() string

String returns the string representation of the path with query string

func (*CancelMoveURL) StringFull

func (o *CancelMoveURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CancelMoveURL) WithBasePath

func (o *CancelMoveURL) WithBasePath(bp string) *CancelMoveURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CancelMoveUnauthorized

type CancelMoveUnauthorized struct {
}

CancelMoveUnauthorized must be authenticated to use this endpoint

swagger:response cancelMoveUnauthorized

func NewCancelMoveUnauthorized

func NewCancelMoveUnauthorized() *CancelMoveUnauthorized

NewCancelMoveUnauthorized creates CancelMoveUnauthorized with default headers values

func (*CancelMoveUnauthorized) WriteResponse

func (o *CancelMoveUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ShowOfficeOrders

type ShowOfficeOrders struct {
	Context *middleware.Context
	Handler ShowOfficeOrdersHandler
}
ShowOfficeOrders swagger:route GET /moves/{moveId}/orders office showOfficeOrders

Returns orders information for a move for office use

Returns orders information for a move for office use

func NewShowOfficeOrders

func NewShowOfficeOrders(ctx *middleware.Context, handler ShowOfficeOrdersHandler) *ShowOfficeOrders

NewShowOfficeOrders creates a new http.Handler for the show office orders operation

func (*ShowOfficeOrders) ServeHTTP

func (o *ShowOfficeOrders) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ShowOfficeOrdersBadRequest

type ShowOfficeOrdersBadRequest struct {
}

ShowOfficeOrdersBadRequest invalid request

swagger:response showOfficeOrdersBadRequest

func NewShowOfficeOrdersBadRequest

func NewShowOfficeOrdersBadRequest() *ShowOfficeOrdersBadRequest

NewShowOfficeOrdersBadRequest creates ShowOfficeOrdersBadRequest with default headers values

func (*ShowOfficeOrdersBadRequest) WriteResponse

func (o *ShowOfficeOrdersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ShowOfficeOrdersForbidden

type ShowOfficeOrdersForbidden struct {
}

ShowOfficeOrdersForbidden user is not authorized

swagger:response showOfficeOrdersForbidden

func NewShowOfficeOrdersForbidden

func NewShowOfficeOrdersForbidden() *ShowOfficeOrdersForbidden

NewShowOfficeOrdersForbidden creates ShowOfficeOrdersForbidden with default headers values

func (*ShowOfficeOrdersForbidden) WriteResponse

func (o *ShowOfficeOrdersForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ShowOfficeOrdersHandler

type ShowOfficeOrdersHandler interface {
	Handle(ShowOfficeOrdersParams) middleware.Responder
}

ShowOfficeOrdersHandler interface for that can handle valid show office orders params

type ShowOfficeOrdersHandlerFunc

type ShowOfficeOrdersHandlerFunc func(ShowOfficeOrdersParams) middleware.Responder

ShowOfficeOrdersHandlerFunc turns a function with the right signature into a show office orders handler

func (ShowOfficeOrdersHandlerFunc) Handle

Handle executing the request and returning a response

type ShowOfficeOrdersInternalServerError

type ShowOfficeOrdersInternalServerError struct {
}

ShowOfficeOrdersInternalServerError internal server error

swagger:response showOfficeOrdersInternalServerError

func NewShowOfficeOrdersInternalServerError

func NewShowOfficeOrdersInternalServerError() *ShowOfficeOrdersInternalServerError

NewShowOfficeOrdersInternalServerError creates ShowOfficeOrdersInternalServerError with default headers values

func (*ShowOfficeOrdersInternalServerError) WriteResponse

WriteResponse to the client

type ShowOfficeOrdersNotFound

type ShowOfficeOrdersNotFound struct {
}

ShowOfficeOrdersNotFound move not found

swagger:response showOfficeOrdersNotFound

func NewShowOfficeOrdersNotFound

func NewShowOfficeOrdersNotFound() *ShowOfficeOrdersNotFound

NewShowOfficeOrdersNotFound creates ShowOfficeOrdersNotFound with default headers values

func (*ShowOfficeOrdersNotFound) WriteResponse

func (o *ShowOfficeOrdersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ShowOfficeOrdersOK

type ShowOfficeOrdersOK struct {

	/*
	  In: Body
	*/
	Payload *internalmessages.Orders `json:"body,omitempty"`
}

ShowOfficeOrdersOK the orders information for a move for office use

swagger:response showOfficeOrdersOK

func NewShowOfficeOrdersOK

func NewShowOfficeOrdersOK() *ShowOfficeOrdersOK

NewShowOfficeOrdersOK creates ShowOfficeOrdersOK with default headers values

func (*ShowOfficeOrdersOK) SetPayload

func (o *ShowOfficeOrdersOK) SetPayload(payload *internalmessages.Orders)

SetPayload sets the payload to the show office orders o k response

func (*ShowOfficeOrdersOK) WithPayload

WithPayload adds the payload to the show office orders o k response

func (*ShowOfficeOrdersOK) WriteResponse

func (o *ShowOfficeOrdersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ShowOfficeOrdersParams

type ShowOfficeOrdersParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*UUID of the move
	  Required: true
	  In: path
	*/
	MoveID strfmt.UUID
}

ShowOfficeOrdersParams contains all the bound params for the show office orders operation typically these are obtained from a http.Request

swagger:parameters showOfficeOrders

func NewShowOfficeOrdersParams

func NewShowOfficeOrdersParams() ShowOfficeOrdersParams

NewShowOfficeOrdersParams creates a new ShowOfficeOrdersParams object

There are no default values defined in the spec.

func (*ShowOfficeOrdersParams) BindRequest

func (o *ShowOfficeOrdersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewShowOfficeOrdersParams() beforehand.

type ShowOfficeOrdersURL

type ShowOfficeOrdersURL struct {
	MoveID strfmt.UUID
	// contains filtered or unexported fields
}

ShowOfficeOrdersURL generates an URL for the show office orders operation

func (*ShowOfficeOrdersURL) Build

func (o *ShowOfficeOrdersURL) Build() (*url.URL, error)

Build a url path and query string

func (*ShowOfficeOrdersURL) BuildFull

func (o *ShowOfficeOrdersURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ShowOfficeOrdersURL) Must

func (o *ShowOfficeOrdersURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ShowOfficeOrdersURL) SetBasePath

func (o *ShowOfficeOrdersURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ShowOfficeOrdersURL) String

func (o *ShowOfficeOrdersURL) String() string

String returns the string representation of the path with query string

func (*ShowOfficeOrdersURL) StringFull

func (o *ShowOfficeOrdersURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ShowOfficeOrdersURL) WithBasePath

func (o *ShowOfficeOrdersURL) WithBasePath(bp string) *ShowOfficeOrdersURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ShowOfficeOrdersUnauthorized

type ShowOfficeOrdersUnauthorized struct {
}

ShowOfficeOrdersUnauthorized request requires user authentication

swagger:response showOfficeOrdersUnauthorized

func NewShowOfficeOrdersUnauthorized

func NewShowOfficeOrdersUnauthorized() *ShowOfficeOrdersUnauthorized

NewShowOfficeOrdersUnauthorized creates ShowOfficeOrdersUnauthorized with default headers values

func (*ShowOfficeOrdersUnauthorized) WriteResponse

func (o *ShowOfficeOrdersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

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