Documentation ¶
Index ¶
- Constants
- type GetTransportationOffices
- type GetTransportationOfficesBadRequest
- func (o *GetTransportationOfficesBadRequest) SetPayload(payload *internalmessages.ClientError)
- func (o *GetTransportationOfficesBadRequest) WithPayload(payload *internalmessages.ClientError) *GetTransportationOfficesBadRequest
- func (o *GetTransportationOfficesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTransportationOfficesForbidden
- func (o *GetTransportationOfficesForbidden) SetPayload(payload *internalmessages.ClientError)
- func (o *GetTransportationOfficesForbidden) WithPayload(payload *internalmessages.ClientError) *GetTransportationOfficesForbidden
- func (o *GetTransportationOfficesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTransportationOfficesHandler
- type GetTransportationOfficesHandlerFunc
- type GetTransportationOfficesInternalServerError
- func (o *GetTransportationOfficesInternalServerError) SetPayload(payload *internalmessages.Error)
- func (o *GetTransportationOfficesInternalServerError) WithPayload(payload *internalmessages.Error) *GetTransportationOfficesInternalServerError
- func (o *GetTransportationOfficesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTransportationOfficesNotFound
- func (o *GetTransportationOfficesNotFound) SetPayload(payload *internalmessages.ClientError)
- func (o *GetTransportationOfficesNotFound) WithPayload(payload *internalmessages.ClientError) *GetTransportationOfficesNotFound
- func (o *GetTransportationOfficesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTransportationOfficesOK
- func (o *GetTransportationOfficesOK) SetPayload(payload internalmessages.TransportationOffices)
- func (o *GetTransportationOfficesOK) WithPayload(payload internalmessages.TransportationOffices) *GetTransportationOfficesOK
- func (o *GetTransportationOfficesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTransportationOfficesParams
- type GetTransportationOfficesURL
- func (o *GetTransportationOfficesURL) Build() (*url.URL, error)
- func (o *GetTransportationOfficesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetTransportationOfficesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetTransportationOfficesURL) SetBasePath(bp string)
- func (o *GetTransportationOfficesURL) String() string
- func (o *GetTransportationOfficesURL) StringFull(scheme, host string) string
- func (o *GetTransportationOfficesURL) WithBasePath(bp string) *GetTransportationOfficesURL
- type GetTransportationOfficesUnauthorized
- func (o *GetTransportationOfficesUnauthorized) SetPayload(payload *internalmessages.ClientError)
- func (o *GetTransportationOfficesUnauthorized) WithPayload(payload *internalmessages.ClientError) *GetTransportationOfficesUnauthorized
- func (o *GetTransportationOfficesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShowCounselingOffices
- type ShowCounselingOfficesHandler
- type ShowCounselingOfficesHandlerFunc
- type ShowCounselingOfficesInternalServerError
- type ShowCounselingOfficesOK
- func (o *ShowCounselingOfficesOK) SetPayload(payload internalmessages.CounselingOffices)
- func (o *ShowCounselingOfficesOK) WithPayload(payload internalmessages.CounselingOffices) *ShowCounselingOfficesOK
- func (o *ShowCounselingOfficesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShowCounselingOfficesParams
- type ShowCounselingOfficesURL
- func (o *ShowCounselingOfficesURL) Build() (*url.URL, error)
- func (o *ShowCounselingOfficesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ShowCounselingOfficesURL) Must(u *url.URL, err error) *url.URL
- func (o *ShowCounselingOfficesURL) SetBasePath(bp string)
- func (o *ShowCounselingOfficesURL) String() string
- func (o *ShowCounselingOfficesURL) StringFull(scheme, host string) string
- func (o *ShowCounselingOfficesURL) WithBasePath(bp string) *ShowCounselingOfficesURL
- type ShowDutyLocationTransportationOffice
- type ShowDutyLocationTransportationOfficeBadRequest
- type ShowDutyLocationTransportationOfficeForbidden
- type ShowDutyLocationTransportationOfficeHandler
- type ShowDutyLocationTransportationOfficeHandlerFunc
- type ShowDutyLocationTransportationOfficeInternalServerError
- type ShowDutyLocationTransportationOfficeNotFound
- type ShowDutyLocationTransportationOfficeOK
- func (o *ShowDutyLocationTransportationOfficeOK) SetPayload(payload *internalmessages.TransportationOffice)
- func (o *ShowDutyLocationTransportationOfficeOK) WithPayload(payload *internalmessages.TransportationOffice) *ShowDutyLocationTransportationOfficeOK
- func (o *ShowDutyLocationTransportationOfficeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ShowDutyLocationTransportationOfficeParams
- type ShowDutyLocationTransportationOfficeURL
- func (o *ShowDutyLocationTransportationOfficeURL) Build() (*url.URL, error)
- func (o *ShowDutyLocationTransportationOfficeURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ShowDutyLocationTransportationOfficeURL) Must(u *url.URL, err error) *url.URL
- func (o *ShowDutyLocationTransportationOfficeURL) SetBasePath(bp string)
- func (o *ShowDutyLocationTransportationOfficeURL) String() string
- func (o *ShowDutyLocationTransportationOfficeURL) StringFull(scheme, host string) string
- func (o *ShowDutyLocationTransportationOfficeURL) WithBasePath(bp string) *ShowDutyLocationTransportationOfficeURL
- type ShowDutyLocationTransportationOfficeUnauthorized
Constants ¶
const GetTransportationOfficesBadRequestCode int = 400
GetTransportationOfficesBadRequestCode is the HTTP code returned for type GetTransportationOfficesBadRequest
const GetTransportationOfficesForbiddenCode int = 403
GetTransportationOfficesForbiddenCode is the HTTP code returned for type GetTransportationOfficesForbidden
const GetTransportationOfficesInternalServerErrorCode int = 500
GetTransportationOfficesInternalServerErrorCode is the HTTP code returned for type GetTransportationOfficesInternalServerError
const GetTransportationOfficesNotFoundCode int = 404
GetTransportationOfficesNotFoundCode is the HTTP code returned for type GetTransportationOfficesNotFound
const GetTransportationOfficesOKCode int = 200
GetTransportationOfficesOKCode is the HTTP code returned for type GetTransportationOfficesOK
GetTransportationOfficesUnauthorizedCode is the HTTP code returned for type GetTransportationOfficesUnauthorized
const ShowCounselingOfficesInternalServerErrorCode int = 500
ShowCounselingOfficesInternalServerErrorCode is the HTTP code returned for type ShowCounselingOfficesInternalServerError
const ShowCounselingOfficesOKCode int = 200
ShowCounselingOfficesOKCode is the HTTP code returned for type ShowCounselingOfficesOK
const ShowDutyLocationTransportationOfficeBadRequestCode int = 400
ShowDutyLocationTransportationOfficeBadRequestCode is the HTTP code returned for type ShowDutyLocationTransportationOfficeBadRequest
const ShowDutyLocationTransportationOfficeForbiddenCode int = 403
ShowDutyLocationTransportationOfficeForbiddenCode is the HTTP code returned for type ShowDutyLocationTransportationOfficeForbidden
const ShowDutyLocationTransportationOfficeInternalServerErrorCode int = 500
ShowDutyLocationTransportationOfficeInternalServerErrorCode is the HTTP code returned for type ShowDutyLocationTransportationOfficeInternalServerError
const ShowDutyLocationTransportationOfficeNotFoundCode int = 404
ShowDutyLocationTransportationOfficeNotFoundCode is the HTTP code returned for type ShowDutyLocationTransportationOfficeNotFound
const ShowDutyLocationTransportationOfficeOKCode int = 200
ShowDutyLocationTransportationOfficeOKCode is the HTTP code returned for type ShowDutyLocationTransportationOfficeOK
ShowDutyLocationTransportationOfficeUnauthorizedCode is the HTTP code returned for type ShowDutyLocationTransportationOfficeUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetTransportationOffices ¶
type GetTransportationOffices struct { Context *middleware.Context Handler GetTransportationOfficesHandler }
GetTransportationOffices swagger:route GET /transportation-offices transportation_offices getTransportationOffices
Returns the transportation offices matching the search query ¶
Returns the transportation offices matching the search query
func NewGetTransportationOffices ¶
func NewGetTransportationOffices(ctx *middleware.Context, handler GetTransportationOfficesHandler) *GetTransportationOffices
NewGetTransportationOffices creates a new http.Handler for the get transportation offices operation
func (*GetTransportationOffices) ServeHTTP ¶
func (o *GetTransportationOffices) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetTransportationOfficesBadRequest ¶
type GetTransportationOfficesBadRequest struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
GetTransportationOfficesBadRequest The request payload is invalid.
swagger:response getTransportationOfficesBadRequest
func NewGetTransportationOfficesBadRequest ¶
func NewGetTransportationOfficesBadRequest() *GetTransportationOfficesBadRequest
NewGetTransportationOfficesBadRequest creates GetTransportationOfficesBadRequest with default headers values
func (*GetTransportationOfficesBadRequest) SetPayload ¶
func (o *GetTransportationOfficesBadRequest) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the get transportation offices bad request response
func (*GetTransportationOfficesBadRequest) WithPayload ¶
func (o *GetTransportationOfficesBadRequest) WithPayload(payload *internalmessages.ClientError) *GetTransportationOfficesBadRequest
WithPayload adds the payload to the get transportation offices bad request response
func (*GetTransportationOfficesBadRequest) WriteResponse ¶
func (o *GetTransportationOfficesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTransportationOfficesForbidden ¶
type GetTransportationOfficesForbidden struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
GetTransportationOfficesForbidden The request was denied.
swagger:response getTransportationOfficesForbidden
func NewGetTransportationOfficesForbidden ¶
func NewGetTransportationOfficesForbidden() *GetTransportationOfficesForbidden
NewGetTransportationOfficesForbidden creates GetTransportationOfficesForbidden with default headers values
func (*GetTransportationOfficesForbidden) SetPayload ¶
func (o *GetTransportationOfficesForbidden) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the get transportation offices forbidden response
func (*GetTransportationOfficesForbidden) WithPayload ¶
func (o *GetTransportationOfficesForbidden) WithPayload(payload *internalmessages.ClientError) *GetTransportationOfficesForbidden
WithPayload adds the payload to the get transportation offices forbidden response
func (*GetTransportationOfficesForbidden) WriteResponse ¶
func (o *GetTransportationOfficesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTransportationOfficesHandler ¶
type GetTransportationOfficesHandler interface {
Handle(GetTransportationOfficesParams) middleware.Responder
}
GetTransportationOfficesHandler interface for that can handle valid get transportation offices params
type GetTransportationOfficesHandlerFunc ¶
type GetTransportationOfficesHandlerFunc func(GetTransportationOfficesParams) middleware.Responder
GetTransportationOfficesHandlerFunc turns a function with the right signature into a get transportation offices handler
func (GetTransportationOfficesHandlerFunc) Handle ¶
func (fn GetTransportationOfficesHandlerFunc) Handle(params GetTransportationOfficesParams) middleware.Responder
Handle executing the request and returning a response
type GetTransportationOfficesInternalServerError ¶
type GetTransportationOfficesInternalServerError struct { /* In: Body */ Payload *internalmessages.Error `json:"body,omitempty"` }
GetTransportationOfficesInternalServerError A server error occurred.
swagger:response getTransportationOfficesInternalServerError
func NewGetTransportationOfficesInternalServerError ¶
func NewGetTransportationOfficesInternalServerError() *GetTransportationOfficesInternalServerError
NewGetTransportationOfficesInternalServerError creates GetTransportationOfficesInternalServerError with default headers values
func (*GetTransportationOfficesInternalServerError) SetPayload ¶
func (o *GetTransportationOfficesInternalServerError) SetPayload(payload *internalmessages.Error)
SetPayload sets the payload to the get transportation offices internal server error response
func (*GetTransportationOfficesInternalServerError) WithPayload ¶
func (o *GetTransportationOfficesInternalServerError) WithPayload(payload *internalmessages.Error) *GetTransportationOfficesInternalServerError
WithPayload adds the payload to the get transportation offices internal server error response
func (*GetTransportationOfficesInternalServerError) WriteResponse ¶
func (o *GetTransportationOfficesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTransportationOfficesNotFound ¶
type GetTransportationOfficesNotFound struct { /* In: Body */ Payload *internalmessages.ClientError `json:"body,omitempty"` }
GetTransportationOfficesNotFound The requested resource wasn't found.
swagger:response getTransportationOfficesNotFound
func NewGetTransportationOfficesNotFound ¶
func NewGetTransportationOfficesNotFound() *GetTransportationOfficesNotFound
NewGetTransportationOfficesNotFound creates GetTransportationOfficesNotFound with default headers values
func (*GetTransportationOfficesNotFound) SetPayload ¶
func (o *GetTransportationOfficesNotFound) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the get transportation offices not found response
func (*GetTransportationOfficesNotFound) WithPayload ¶
func (o *GetTransportationOfficesNotFound) WithPayload(payload *internalmessages.ClientError) *GetTransportationOfficesNotFound
WithPayload adds the payload to the get transportation offices not found response
func (*GetTransportationOfficesNotFound) WriteResponse ¶
func (o *GetTransportationOfficesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTransportationOfficesOK ¶
type GetTransportationOfficesOK struct { /* In: Body */ Payload internalmessages.TransportationOffices `json:"body,omitempty"` }
GetTransportationOfficesOK Successfully retrieved transportation offices
swagger:response getTransportationOfficesOK
func NewGetTransportationOfficesOK ¶
func NewGetTransportationOfficesOK() *GetTransportationOfficesOK
NewGetTransportationOfficesOK creates GetTransportationOfficesOK with default headers values
func (*GetTransportationOfficesOK) SetPayload ¶
func (o *GetTransportationOfficesOK) SetPayload(payload internalmessages.TransportationOffices)
SetPayload sets the payload to the get transportation offices o k response
func (*GetTransportationOfficesOK) WithPayload ¶
func (o *GetTransportationOfficesOK) WithPayload(payload internalmessages.TransportationOffices) *GetTransportationOfficesOK
WithPayload adds the payload to the get transportation offices o k response
func (*GetTransportationOfficesOK) WriteResponse ¶
func (o *GetTransportationOfficesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTransportationOfficesParams ¶
type GetTransportationOfficesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Search string for transportation offices Required: true Min Length: 2 In: query */ Search string }
GetTransportationOfficesParams contains all the bound params for the get transportation offices operation typically these are obtained from a http.Request
swagger:parameters getTransportationOffices
func NewGetTransportationOfficesParams ¶
func NewGetTransportationOfficesParams() GetTransportationOfficesParams
NewGetTransportationOfficesParams creates a new GetTransportationOfficesParams object
There are no default values defined in the spec.
func (*GetTransportationOfficesParams) BindRequest ¶
func (o *GetTransportationOfficesParams) 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 NewGetTransportationOfficesParams() beforehand.
type GetTransportationOfficesURL ¶
type GetTransportationOfficesURL struct { Search string // contains filtered or unexported fields }
GetTransportationOfficesURL generates an URL for the get transportation offices operation
func (*GetTransportationOfficesURL) Build ¶
func (o *GetTransportationOfficesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetTransportationOfficesURL) BuildFull ¶
func (o *GetTransportationOfficesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetTransportationOfficesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetTransportationOfficesURL) SetBasePath ¶
func (o *GetTransportationOfficesURL) 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 (*GetTransportationOfficesURL) String ¶
func (o *GetTransportationOfficesURL) String() string
String returns the string representation of the path with query string
func (*GetTransportationOfficesURL) StringFull ¶
func (o *GetTransportationOfficesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetTransportationOfficesURL) WithBasePath ¶
func (o *GetTransportationOfficesURL) WithBasePath(bp string) *GetTransportationOfficesURL
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 GetTransportationOfficesUnauthorized ¶
type GetTransportationOfficesUnauthorized struct { internalmessages.ClientError `json:"body,omitempty"` }Payload *
GetTransportationOfficesUnauthorized The request was denied.
swagger:response getTransportationOfficesUnauthorized
func NewGetTransportationOfficesUnauthorized ¶
func NewGetTransportationOfficesUnauthorized() *GetTransportationOfficesUnauthorized
NewGetTransportationOfficesUnauthorized creates GetTransportationOfficesUnauthorized with default headers values
func (*GetTransportationOfficesUnauthorized) SetPayload ¶
func (o *GetTransportationOfficesUnauthorized) SetPayload(payload *internalmessages.ClientError)
SetPayload sets the payload to the get transportation offices unauthorized response
func (*GetTransportationOfficesUnauthorized) WithPayload ¶
func (o *GetTransportationOfficesUnauthorized) WithPayload(payload *internalmessages.ClientError) *GetTransportationOfficesUnauthorized
WithPayload adds the payload to the get transportation offices unauthorized response
func (*GetTransportationOfficesUnauthorized) WriteResponse ¶
func (o *GetTransportationOfficesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowCounselingOffices ¶
type ShowCounselingOffices struct { Context *middleware.Context Handler ShowCounselingOfficesHandler }
ShowCounselingOffices swagger:route GET /transportation_offices/{dutyLocationId}/counseling_offices transportation_offices showCounselingOffices
Returns the counseling locations in the GBLOC matching the duty location ¶
Returns the counseling locations matching the GBLOC from the selected duty location
func NewShowCounselingOffices ¶
func NewShowCounselingOffices(ctx *middleware.Context, handler ShowCounselingOfficesHandler) *ShowCounselingOffices
NewShowCounselingOffices creates a new http.Handler for the show counseling offices operation
func (*ShowCounselingOffices) ServeHTTP ¶
func (o *ShowCounselingOffices) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ShowCounselingOfficesHandler ¶
type ShowCounselingOfficesHandler interface {
Handle(ShowCounselingOfficesParams) middleware.Responder
}
ShowCounselingOfficesHandler interface for that can handle valid show counseling offices params
type ShowCounselingOfficesHandlerFunc ¶
type ShowCounselingOfficesHandlerFunc func(ShowCounselingOfficesParams) middleware.Responder
ShowCounselingOfficesHandlerFunc turns a function with the right signature into a show counseling offices handler
func (ShowCounselingOfficesHandlerFunc) Handle ¶
func (fn ShowCounselingOfficesHandlerFunc) Handle(params ShowCounselingOfficesParams) middleware.Responder
Handle executing the request and returning a response
type ShowCounselingOfficesInternalServerError ¶
type ShowCounselingOfficesInternalServerError struct { }
ShowCounselingOfficesInternalServerError internal server error
swagger:response showCounselingOfficesInternalServerError
func NewShowCounselingOfficesInternalServerError ¶
func NewShowCounselingOfficesInternalServerError() *ShowCounselingOfficesInternalServerError
NewShowCounselingOfficesInternalServerError creates ShowCounselingOfficesInternalServerError with default headers values
func (*ShowCounselingOfficesInternalServerError) WriteResponse ¶
func (o *ShowCounselingOfficesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowCounselingOfficesOK ¶
type ShowCounselingOfficesOK struct { /* In: Body */ Payload internalmessages.CounselingOffices `json:"body,omitempty"` }
ShowCounselingOfficesOK the instance of the counseling office for a duty location
swagger:response showCounselingOfficesOK
func NewShowCounselingOfficesOK ¶
func NewShowCounselingOfficesOK() *ShowCounselingOfficesOK
NewShowCounselingOfficesOK creates ShowCounselingOfficesOK with default headers values
func (*ShowCounselingOfficesOK) SetPayload ¶
func (o *ShowCounselingOfficesOK) SetPayload(payload internalmessages.CounselingOffices)
SetPayload sets the payload to the show counseling offices o k response
func (*ShowCounselingOfficesOK) WithPayload ¶
func (o *ShowCounselingOfficesOK) WithPayload(payload internalmessages.CounselingOffices) *ShowCounselingOfficesOK
WithPayload adds the payload to the show counseling offices o k response
func (*ShowCounselingOfficesOK) WriteResponse ¶
func (o *ShowCounselingOfficesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowCounselingOfficesParams ¶
type ShowCounselingOfficesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the duty location Required: true In: path */ DutyLocationID strfmt.UUID }
ShowCounselingOfficesParams contains all the bound params for the show counseling offices operation typically these are obtained from a http.Request
swagger:parameters showCounselingOffices
func NewShowCounselingOfficesParams ¶
func NewShowCounselingOfficesParams() ShowCounselingOfficesParams
NewShowCounselingOfficesParams creates a new ShowCounselingOfficesParams object
There are no default values defined in the spec.
func (*ShowCounselingOfficesParams) BindRequest ¶
func (o *ShowCounselingOfficesParams) 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 NewShowCounselingOfficesParams() beforehand.
type ShowCounselingOfficesURL ¶
type ShowCounselingOfficesURL struct { DutyLocationID strfmt.UUID // contains filtered or unexported fields }
ShowCounselingOfficesURL generates an URL for the show counseling offices operation
func (*ShowCounselingOfficesURL) Build ¶
func (o *ShowCounselingOfficesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ShowCounselingOfficesURL) BuildFull ¶
func (o *ShowCounselingOfficesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ShowCounselingOfficesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ShowCounselingOfficesURL) SetBasePath ¶
func (o *ShowCounselingOfficesURL) 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 (*ShowCounselingOfficesURL) String ¶
func (o *ShowCounselingOfficesURL) String() string
String returns the string representation of the path with query string
func (*ShowCounselingOfficesURL) StringFull ¶
func (o *ShowCounselingOfficesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ShowCounselingOfficesURL) WithBasePath ¶
func (o *ShowCounselingOfficesURL) WithBasePath(bp string) *ShowCounselingOfficesURL
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 ShowDutyLocationTransportationOffice ¶
type ShowDutyLocationTransportationOffice struct { Context *middleware.Context Handler ShowDutyLocationTransportationOfficeHandler }
ShowDutyLocationTransportationOffice swagger:route GET /duty_locations/{dutyLocationId}/transportation_office transportation_offices showDutyLocationTransportationOffice
Returns the transportation office for a given duty location ¶
Returns the given duty location's transportation office
func NewShowDutyLocationTransportationOffice ¶
func NewShowDutyLocationTransportationOffice(ctx *middleware.Context, handler ShowDutyLocationTransportationOfficeHandler) *ShowDutyLocationTransportationOffice
NewShowDutyLocationTransportationOffice creates a new http.Handler for the show duty location transportation office operation
func (*ShowDutyLocationTransportationOffice) ServeHTTP ¶
func (o *ShowDutyLocationTransportationOffice) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ShowDutyLocationTransportationOfficeBadRequest ¶
type ShowDutyLocationTransportationOfficeBadRequest struct { }
ShowDutyLocationTransportationOfficeBadRequest invalid request
swagger:response showDutyLocationTransportationOfficeBadRequest
func NewShowDutyLocationTransportationOfficeBadRequest ¶
func NewShowDutyLocationTransportationOfficeBadRequest() *ShowDutyLocationTransportationOfficeBadRequest
NewShowDutyLocationTransportationOfficeBadRequest creates ShowDutyLocationTransportationOfficeBadRequest with default headers values
func (*ShowDutyLocationTransportationOfficeBadRequest) WriteResponse ¶
func (o *ShowDutyLocationTransportationOfficeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowDutyLocationTransportationOfficeForbidden ¶
type ShowDutyLocationTransportationOfficeForbidden struct { }
ShowDutyLocationTransportationOfficeForbidden user is not authorized
swagger:response showDutyLocationTransportationOfficeForbidden
func NewShowDutyLocationTransportationOfficeForbidden ¶
func NewShowDutyLocationTransportationOfficeForbidden() *ShowDutyLocationTransportationOfficeForbidden
NewShowDutyLocationTransportationOfficeForbidden creates ShowDutyLocationTransportationOfficeForbidden with default headers values
func (*ShowDutyLocationTransportationOfficeForbidden) WriteResponse ¶
func (o *ShowDutyLocationTransportationOfficeForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowDutyLocationTransportationOfficeHandler ¶
type ShowDutyLocationTransportationOfficeHandler interface {
Handle(ShowDutyLocationTransportationOfficeParams) middleware.Responder
}
ShowDutyLocationTransportationOfficeHandler interface for that can handle valid show duty location transportation office params
type ShowDutyLocationTransportationOfficeHandlerFunc ¶
type ShowDutyLocationTransportationOfficeHandlerFunc func(ShowDutyLocationTransportationOfficeParams) middleware.Responder
ShowDutyLocationTransportationOfficeHandlerFunc turns a function with the right signature into a show duty location transportation office handler
func (ShowDutyLocationTransportationOfficeHandlerFunc) Handle ¶
func (fn ShowDutyLocationTransportationOfficeHandlerFunc) Handle(params ShowDutyLocationTransportationOfficeParams) middleware.Responder
Handle executing the request and returning a response
type ShowDutyLocationTransportationOfficeInternalServerError ¶
type ShowDutyLocationTransportationOfficeInternalServerError struct { }
ShowDutyLocationTransportationOfficeInternalServerError internal server error
swagger:response showDutyLocationTransportationOfficeInternalServerError
func NewShowDutyLocationTransportationOfficeInternalServerError ¶
func NewShowDutyLocationTransportationOfficeInternalServerError() *ShowDutyLocationTransportationOfficeInternalServerError
NewShowDutyLocationTransportationOfficeInternalServerError creates ShowDutyLocationTransportationOfficeInternalServerError with default headers values
func (*ShowDutyLocationTransportationOfficeInternalServerError) WriteResponse ¶
func (o *ShowDutyLocationTransportationOfficeInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowDutyLocationTransportationOfficeNotFound ¶
type ShowDutyLocationTransportationOfficeNotFound struct { }
ShowDutyLocationTransportationOfficeNotFound transportation office not found
swagger:response showDutyLocationTransportationOfficeNotFound
func NewShowDutyLocationTransportationOfficeNotFound ¶
func NewShowDutyLocationTransportationOfficeNotFound() *ShowDutyLocationTransportationOfficeNotFound
NewShowDutyLocationTransportationOfficeNotFound creates ShowDutyLocationTransportationOfficeNotFound with default headers values
func (*ShowDutyLocationTransportationOfficeNotFound) WriteResponse ¶
func (o *ShowDutyLocationTransportationOfficeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowDutyLocationTransportationOfficeOK ¶
type ShowDutyLocationTransportationOfficeOK struct { /* In: Body */ Payload *internalmessages.TransportationOffice `json:"body,omitempty"` }
ShowDutyLocationTransportationOfficeOK the instance of the transportation office for a duty location
swagger:response showDutyLocationTransportationOfficeOK
func NewShowDutyLocationTransportationOfficeOK ¶
func NewShowDutyLocationTransportationOfficeOK() *ShowDutyLocationTransportationOfficeOK
NewShowDutyLocationTransportationOfficeOK creates ShowDutyLocationTransportationOfficeOK with default headers values
func (*ShowDutyLocationTransportationOfficeOK) SetPayload ¶
func (o *ShowDutyLocationTransportationOfficeOK) SetPayload(payload *internalmessages.TransportationOffice)
SetPayload sets the payload to the show duty location transportation office o k response
func (*ShowDutyLocationTransportationOfficeOK) WithPayload ¶
func (o *ShowDutyLocationTransportationOfficeOK) WithPayload(payload *internalmessages.TransportationOffice) *ShowDutyLocationTransportationOfficeOK
WithPayload adds the payload to the show duty location transportation office o k response
func (*ShowDutyLocationTransportationOfficeOK) WriteResponse ¶
func (o *ShowDutyLocationTransportationOfficeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowDutyLocationTransportationOfficeParams ¶
type ShowDutyLocationTransportationOfficeParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the duty location Required: true In: path */ DutyLocationID strfmt.UUID }
ShowDutyLocationTransportationOfficeParams contains all the bound params for the show duty location transportation office operation typically these are obtained from a http.Request
swagger:parameters showDutyLocationTransportationOffice
func NewShowDutyLocationTransportationOfficeParams ¶
func NewShowDutyLocationTransportationOfficeParams() ShowDutyLocationTransportationOfficeParams
NewShowDutyLocationTransportationOfficeParams creates a new ShowDutyLocationTransportationOfficeParams object
There are no default values defined in the spec.
func (*ShowDutyLocationTransportationOfficeParams) BindRequest ¶
func (o *ShowDutyLocationTransportationOfficeParams) 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 NewShowDutyLocationTransportationOfficeParams() beforehand.
type ShowDutyLocationTransportationOfficeURL ¶
type ShowDutyLocationTransportationOfficeURL struct { DutyLocationID strfmt.UUID // contains filtered or unexported fields }
ShowDutyLocationTransportationOfficeURL generates an URL for the show duty location transportation office operation
func (*ShowDutyLocationTransportationOfficeURL) Build ¶
func (o *ShowDutyLocationTransportationOfficeURL) Build() (*url.URL, error)
Build a url path and query string
func (*ShowDutyLocationTransportationOfficeURL) BuildFull ¶
func (o *ShowDutyLocationTransportationOfficeURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ShowDutyLocationTransportationOfficeURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ShowDutyLocationTransportationOfficeURL) SetBasePath ¶
func (o *ShowDutyLocationTransportationOfficeURL) 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 (*ShowDutyLocationTransportationOfficeURL) String ¶
func (o *ShowDutyLocationTransportationOfficeURL) String() string
String returns the string representation of the path with query string
func (*ShowDutyLocationTransportationOfficeURL) StringFull ¶
func (o *ShowDutyLocationTransportationOfficeURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ShowDutyLocationTransportationOfficeURL) WithBasePath ¶
func (o *ShowDutyLocationTransportationOfficeURL) WithBasePath(bp string) *ShowDutyLocationTransportationOfficeURL
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 ShowDutyLocationTransportationOfficeUnauthorized ¶
type ShowDutyLocationTransportationOfficeUnauthorized struct { }
ShowDutyLocationTransportationOfficeUnauthorized request requires user authentication
swagger:response showDutyLocationTransportationOfficeUnauthorized
func NewShowDutyLocationTransportationOfficeUnauthorized ¶
func NewShowDutyLocationTransportationOfficeUnauthorized() *ShowDutyLocationTransportationOfficeUnauthorized
NewShowDutyLocationTransportationOfficeUnauthorized creates ShowDutyLocationTransportationOfficeUnauthorized with default headers values
func (*ShowDutyLocationTransportationOfficeUnauthorized) WriteResponse ¶
func (o *ShowDutyLocationTransportationOfficeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- get_transportation_offices.go
- get_transportation_offices_parameters.go
- get_transportation_offices_responses.go
- get_transportation_offices_urlbuilder.go
- show_counseling_offices.go
- show_counseling_offices_parameters.go
- show_counseling_offices_responses.go
- show_counseling_offices_urlbuilder.go
- show_duty_location_transportation_office.go
- show_duty_location_transportation_office_parameters.go
- show_duty_location_transportation_office_responses.go
- show_duty_location_transportation_office_urlbuilder.go