Documentation ¶
Index ¶
- Constants
- type CreateServiceMember
- type CreateServiceMemberBadRequest
- type CreateServiceMemberCreated
- func (o *CreateServiceMemberCreated) SetPayload(payload *internalmessages.ServiceMemberPayload)
- func (o *CreateServiceMemberCreated) WithPayload(payload *internalmessages.ServiceMemberPayload) *CreateServiceMemberCreated
- func (o *CreateServiceMemberCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceMemberForbidden
- type CreateServiceMemberHandler
- type CreateServiceMemberHandlerFunc
- type CreateServiceMemberInternalServerError
- type CreateServiceMemberNotFound
- type CreateServiceMemberParams
- type CreateServiceMemberURL
- func (o *CreateServiceMemberURL) Build() (*url.URL, error)
- func (o *CreateServiceMemberURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServiceMemberURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServiceMemberURL) SetBasePath(bp string)
- func (o *CreateServiceMemberURL) String() string
- func (o *CreateServiceMemberURL) StringFull(scheme, host string) string
- func (o *CreateServiceMemberURL) WithBasePath(bp string) *CreateServiceMemberURL
- type CreateServiceMemberUnauthorized
- type PatchServiceMember
- type PatchServiceMemberBadRequest
- type PatchServiceMemberForbidden
- type PatchServiceMemberHandler
- type PatchServiceMemberHandlerFunc
- type PatchServiceMemberInternalServerError
- type PatchServiceMemberNotFound
- type PatchServiceMemberOK
- type PatchServiceMemberParams
- type PatchServiceMemberURL
- func (o *PatchServiceMemberURL) Build() (*url.URL, error)
- func (o *PatchServiceMemberURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchServiceMemberURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchServiceMemberURL) SetBasePath(bp string)
- func (o *PatchServiceMemberURL) String() string
- func (o *PatchServiceMemberURL) StringFull(scheme, host string) string
- func (o *PatchServiceMemberURL) WithBasePath(bp string) *PatchServiceMemberURL
- type PatchServiceMemberUnauthorized
- type ShowServiceMember
- type ShowServiceMemberBadRequest
- type ShowServiceMemberForbidden
- type ShowServiceMemberHandler
- type ShowServiceMemberHandlerFunc
- type ShowServiceMemberInternalServerError
- type ShowServiceMemberNotFound
- type ShowServiceMemberOK
- type ShowServiceMemberOrders
- type ShowServiceMemberOrdersBadRequest
- type ShowServiceMemberOrdersForbidden
- type ShowServiceMemberOrdersHandler
- type ShowServiceMemberOrdersHandlerFunc
- type ShowServiceMemberOrdersInternalServerError
- type ShowServiceMemberOrdersNotFound
- type ShowServiceMemberOrdersOK
- type ShowServiceMemberOrdersParams
- type ShowServiceMemberOrdersURL
- func (o *ShowServiceMemberOrdersURL) Build() (*url.URL, error)
- func (o *ShowServiceMemberOrdersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ShowServiceMemberOrdersURL) Must(u *url.URL, err error) *url.URL
- func (o *ShowServiceMemberOrdersURL) SetBasePath(bp string)
- func (o *ShowServiceMemberOrdersURL) String() string
- func (o *ShowServiceMemberOrdersURL) StringFull(scheme, host string) string
- func (o *ShowServiceMemberOrdersURL) WithBasePath(bp string) *ShowServiceMemberOrdersURL
- type ShowServiceMemberOrdersUnauthorized
- type ShowServiceMemberParams
- type ShowServiceMemberURL
- func (o *ShowServiceMemberURL) Build() (*url.URL, error)
- func (o *ShowServiceMemberURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ShowServiceMemberURL) Must(u *url.URL, err error) *url.URL
- func (o *ShowServiceMemberURL) SetBasePath(bp string)
- func (o *ShowServiceMemberURL) String() string
- func (o *ShowServiceMemberURL) StringFull(scheme, host string) string
- func (o *ShowServiceMemberURL) WithBasePath(bp string) *ShowServiceMemberURL
- type ShowServiceMemberUnauthorized
Constants ¶
const CreateServiceMemberBadRequestCode int = 400
CreateServiceMemberBadRequestCode is the HTTP code returned for type CreateServiceMemberBadRequest
const CreateServiceMemberCreatedCode int = 201
CreateServiceMemberCreatedCode is the HTTP code returned for type CreateServiceMemberCreated
const CreateServiceMemberForbiddenCode int = 403
CreateServiceMemberForbiddenCode is the HTTP code returned for type CreateServiceMemberForbidden
const CreateServiceMemberInternalServerErrorCode int = 500
CreateServiceMemberInternalServerErrorCode is the HTTP code returned for type CreateServiceMemberInternalServerError
const CreateServiceMemberNotFoundCode int = 404
CreateServiceMemberNotFoundCode is the HTTP code returned for type CreateServiceMemberNotFound
CreateServiceMemberUnauthorizedCode is the HTTP code returned for type CreateServiceMemberUnauthorized
const PatchServiceMemberBadRequestCode int = 400
PatchServiceMemberBadRequestCode is the HTTP code returned for type PatchServiceMemberBadRequest
const PatchServiceMemberForbiddenCode int = 403
PatchServiceMemberForbiddenCode is the HTTP code returned for type PatchServiceMemberForbidden
const PatchServiceMemberInternalServerErrorCode int = 500
PatchServiceMemberInternalServerErrorCode is the HTTP code returned for type PatchServiceMemberInternalServerError
const PatchServiceMemberNotFoundCode int = 404
PatchServiceMemberNotFoundCode is the HTTP code returned for type PatchServiceMemberNotFound
const PatchServiceMemberOKCode int = 200
PatchServiceMemberOKCode is the HTTP code returned for type PatchServiceMemberOK
PatchServiceMemberUnauthorizedCode is the HTTP code returned for type PatchServiceMemberUnauthorized
const ShowServiceMemberBadRequestCode int = 400
ShowServiceMemberBadRequestCode is the HTTP code returned for type ShowServiceMemberBadRequest
const ShowServiceMemberForbiddenCode int = 403
ShowServiceMemberForbiddenCode is the HTTP code returned for type ShowServiceMemberForbidden
const ShowServiceMemberInternalServerErrorCode int = 500
ShowServiceMemberInternalServerErrorCode is the HTTP code returned for type ShowServiceMemberInternalServerError
const ShowServiceMemberNotFoundCode int = 404
ShowServiceMemberNotFoundCode is the HTTP code returned for type ShowServiceMemberNotFound
const ShowServiceMemberOKCode int = 200
ShowServiceMemberOKCode is the HTTP code returned for type ShowServiceMemberOK
const ShowServiceMemberOrdersBadRequestCode int = 400
ShowServiceMemberOrdersBadRequestCode is the HTTP code returned for type ShowServiceMemberOrdersBadRequest
const ShowServiceMemberOrdersForbiddenCode int = 403
ShowServiceMemberOrdersForbiddenCode is the HTTP code returned for type ShowServiceMemberOrdersForbidden
const ShowServiceMemberOrdersInternalServerErrorCode int = 500
ShowServiceMemberOrdersInternalServerErrorCode is the HTTP code returned for type ShowServiceMemberOrdersInternalServerError
const ShowServiceMemberOrdersNotFoundCode int = 404
ShowServiceMemberOrdersNotFoundCode is the HTTP code returned for type ShowServiceMemberOrdersNotFound
const ShowServiceMemberOrdersOKCode int = 200
ShowServiceMemberOrdersOKCode is the HTTP code returned for type ShowServiceMemberOrdersOK
ShowServiceMemberOrdersUnauthorizedCode is the HTTP code returned for type ShowServiceMemberOrdersUnauthorized
ShowServiceMemberUnauthorizedCode is the HTTP code returned for type ShowServiceMemberUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateServiceMember ¶
type CreateServiceMember struct { Context *middleware.Context Handler CreateServiceMemberHandler }
CreateServiceMember swagger:route POST /service_members service_members createServiceMember
Creates service member for a logged-in user ¶
Creates an instance of a service member tied to a user
func NewCreateServiceMember ¶
func NewCreateServiceMember(ctx *middleware.Context, handler CreateServiceMemberHandler) *CreateServiceMember
NewCreateServiceMember creates a new http.Handler for the create service member operation
func (*CreateServiceMember) ServeHTTP ¶
func (o *CreateServiceMember) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateServiceMemberBadRequest ¶
type CreateServiceMemberBadRequest struct { }
CreateServiceMemberBadRequest invalid request
swagger:response createServiceMemberBadRequest
func NewCreateServiceMemberBadRequest ¶
func NewCreateServiceMemberBadRequest() *CreateServiceMemberBadRequest
NewCreateServiceMemberBadRequest creates CreateServiceMemberBadRequest with default headers values
func (*CreateServiceMemberBadRequest) WriteResponse ¶
func (o *CreateServiceMemberBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceMemberCreated ¶
type CreateServiceMemberCreated struct { /* In: Body */ Payload *internalmessages.ServiceMemberPayload `json:"body,omitempty"` }
CreateServiceMemberCreated created instance of service member
swagger:response createServiceMemberCreated
func NewCreateServiceMemberCreated ¶
func NewCreateServiceMemberCreated() *CreateServiceMemberCreated
NewCreateServiceMemberCreated creates CreateServiceMemberCreated with default headers values
func (*CreateServiceMemberCreated) SetPayload ¶
func (o *CreateServiceMemberCreated) SetPayload(payload *internalmessages.ServiceMemberPayload)
SetPayload sets the payload to the create service member created response
func (*CreateServiceMemberCreated) WithPayload ¶
func (o *CreateServiceMemberCreated) WithPayload(payload *internalmessages.ServiceMemberPayload) *CreateServiceMemberCreated
WithPayload adds the payload to the create service member created response
func (*CreateServiceMemberCreated) WriteResponse ¶
func (o *CreateServiceMemberCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceMemberForbidden ¶
type CreateServiceMemberForbidden struct { }
CreateServiceMemberForbidden user is not authorized
swagger:response createServiceMemberForbidden
func NewCreateServiceMemberForbidden ¶
func NewCreateServiceMemberForbidden() *CreateServiceMemberForbidden
NewCreateServiceMemberForbidden creates CreateServiceMemberForbidden with default headers values
func (*CreateServiceMemberForbidden) WriteResponse ¶
func (o *CreateServiceMemberForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceMemberHandler ¶
type CreateServiceMemberHandler interface {
Handle(CreateServiceMemberParams) middleware.Responder
}
CreateServiceMemberHandler interface for that can handle valid create service member params
type CreateServiceMemberHandlerFunc ¶
type CreateServiceMemberHandlerFunc func(CreateServiceMemberParams) middleware.Responder
CreateServiceMemberHandlerFunc turns a function with the right signature into a create service member handler
func (CreateServiceMemberHandlerFunc) Handle ¶
func (fn CreateServiceMemberHandlerFunc) Handle(params CreateServiceMemberParams) middleware.Responder
Handle executing the request and returning a response
type CreateServiceMemberInternalServerError ¶
type CreateServiceMemberInternalServerError struct { }
CreateServiceMemberInternalServerError internal server error
swagger:response createServiceMemberInternalServerError
func NewCreateServiceMemberInternalServerError ¶
func NewCreateServiceMemberInternalServerError() *CreateServiceMemberInternalServerError
NewCreateServiceMemberInternalServerError creates CreateServiceMemberInternalServerError with default headers values
func (*CreateServiceMemberInternalServerError) WriteResponse ¶
func (o *CreateServiceMemberInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceMemberNotFound ¶
type CreateServiceMemberNotFound struct { }
CreateServiceMemberNotFound service member not found
swagger:response createServiceMemberNotFound
func NewCreateServiceMemberNotFound ¶
func NewCreateServiceMemberNotFound() *CreateServiceMemberNotFound
NewCreateServiceMemberNotFound creates CreateServiceMemberNotFound with default headers values
func (*CreateServiceMemberNotFound) WriteResponse ¶
func (o *CreateServiceMemberNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceMemberParams ¶
type CreateServiceMemberParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ CreateServiceMemberPayload *internalmessages.CreateServiceMemberPayload }
CreateServiceMemberParams contains all the bound params for the create service member operation typically these are obtained from a http.Request
swagger:parameters createServiceMember
func NewCreateServiceMemberParams ¶
func NewCreateServiceMemberParams() CreateServiceMemberParams
NewCreateServiceMemberParams creates a new CreateServiceMemberParams object
There are no default values defined in the spec.
func (*CreateServiceMemberParams) BindRequest ¶
func (o *CreateServiceMemberParams) 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 NewCreateServiceMemberParams() beforehand.
type CreateServiceMemberURL ¶
type CreateServiceMemberURL struct {
// contains filtered or unexported fields
}
CreateServiceMemberURL generates an URL for the create service member operation
func (*CreateServiceMemberURL) Build ¶
func (o *CreateServiceMemberURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateServiceMemberURL) BuildFull ¶
func (o *CreateServiceMemberURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateServiceMemberURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateServiceMemberURL) SetBasePath ¶
func (o *CreateServiceMemberURL) 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 (*CreateServiceMemberURL) String ¶
func (o *CreateServiceMemberURL) String() string
String returns the string representation of the path with query string
func (*CreateServiceMemberURL) StringFull ¶
func (o *CreateServiceMemberURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateServiceMemberURL) WithBasePath ¶
func (o *CreateServiceMemberURL) WithBasePath(bp string) *CreateServiceMemberURL
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 CreateServiceMemberUnauthorized ¶
type CreateServiceMemberUnauthorized struct { }
CreateServiceMemberUnauthorized request requires user authentication
swagger:response createServiceMemberUnauthorized
func NewCreateServiceMemberUnauthorized ¶
func NewCreateServiceMemberUnauthorized() *CreateServiceMemberUnauthorized
NewCreateServiceMemberUnauthorized creates CreateServiceMemberUnauthorized with default headers values
func (*CreateServiceMemberUnauthorized) WriteResponse ¶
func (o *CreateServiceMemberUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServiceMember ¶
type PatchServiceMember struct { Context *middleware.Context Handler PatchServiceMemberHandler }
PatchServiceMember swagger:route PATCH /service_members/{serviceMemberId} service_members patchServiceMember
Patches the service member ¶
Any fields sent in this request will be set on the service member referenced
func NewPatchServiceMember ¶
func NewPatchServiceMember(ctx *middleware.Context, handler PatchServiceMemberHandler) *PatchServiceMember
NewPatchServiceMember creates a new http.Handler for the patch service member operation
func (*PatchServiceMember) ServeHTTP ¶
func (o *PatchServiceMember) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchServiceMemberBadRequest ¶
type PatchServiceMemberBadRequest struct { }
PatchServiceMemberBadRequest invalid request
swagger:response patchServiceMemberBadRequest
func NewPatchServiceMemberBadRequest ¶
func NewPatchServiceMemberBadRequest() *PatchServiceMemberBadRequest
NewPatchServiceMemberBadRequest creates PatchServiceMemberBadRequest with default headers values
func (*PatchServiceMemberBadRequest) WriteResponse ¶
func (o *PatchServiceMemberBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServiceMemberForbidden ¶
type PatchServiceMemberForbidden struct { }
PatchServiceMemberForbidden user is not authorized
swagger:response patchServiceMemberForbidden
func NewPatchServiceMemberForbidden ¶
func NewPatchServiceMemberForbidden() *PatchServiceMemberForbidden
NewPatchServiceMemberForbidden creates PatchServiceMemberForbidden with default headers values
func (*PatchServiceMemberForbidden) WriteResponse ¶
func (o *PatchServiceMemberForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServiceMemberHandler ¶
type PatchServiceMemberHandler interface {
Handle(PatchServiceMemberParams) middleware.Responder
}
PatchServiceMemberHandler interface for that can handle valid patch service member params
type PatchServiceMemberHandlerFunc ¶
type PatchServiceMemberHandlerFunc func(PatchServiceMemberParams) middleware.Responder
PatchServiceMemberHandlerFunc turns a function with the right signature into a patch service member handler
func (PatchServiceMemberHandlerFunc) Handle ¶
func (fn PatchServiceMemberHandlerFunc) Handle(params PatchServiceMemberParams) middleware.Responder
Handle executing the request and returning a response
type PatchServiceMemberInternalServerError ¶
type PatchServiceMemberInternalServerError struct { }
PatchServiceMemberInternalServerError internal server error
swagger:response patchServiceMemberInternalServerError
func NewPatchServiceMemberInternalServerError ¶
func NewPatchServiceMemberInternalServerError() *PatchServiceMemberInternalServerError
NewPatchServiceMemberInternalServerError creates PatchServiceMemberInternalServerError with default headers values
func (*PatchServiceMemberInternalServerError) WriteResponse ¶
func (o *PatchServiceMemberInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServiceMemberNotFound ¶
type PatchServiceMemberNotFound struct { }
PatchServiceMemberNotFound service member not found
swagger:response patchServiceMemberNotFound
func NewPatchServiceMemberNotFound ¶
func NewPatchServiceMemberNotFound() *PatchServiceMemberNotFound
NewPatchServiceMemberNotFound creates PatchServiceMemberNotFound with default headers values
func (*PatchServiceMemberNotFound) WriteResponse ¶
func (o *PatchServiceMemberNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServiceMemberOK ¶
type PatchServiceMemberOK struct { /* In: Body */ Payload *internalmessages.ServiceMemberPayload `json:"body,omitempty"` }
PatchServiceMemberOK updated instance of service member
swagger:response patchServiceMemberOK
func NewPatchServiceMemberOK ¶
func NewPatchServiceMemberOK() *PatchServiceMemberOK
NewPatchServiceMemberOK creates PatchServiceMemberOK with default headers values
func (*PatchServiceMemberOK) SetPayload ¶
func (o *PatchServiceMemberOK) SetPayload(payload *internalmessages.ServiceMemberPayload)
SetPayload sets the payload to the patch service member o k response
func (*PatchServiceMemberOK) WithPayload ¶
func (o *PatchServiceMemberOK) WithPayload(payload *internalmessages.ServiceMemberPayload) *PatchServiceMemberOK
WithPayload adds the payload to the patch service member o k response
func (*PatchServiceMemberOK) WriteResponse ¶
func (o *PatchServiceMemberOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServiceMemberParams ¶
type PatchServiceMemberParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ PatchServiceMemberPayload *internalmessages.PatchServiceMemberPayload /*UUID of the service member Required: true In: path */ ServiceMemberID strfmt.UUID }
PatchServiceMemberParams contains all the bound params for the patch service member operation typically these are obtained from a http.Request
swagger:parameters patchServiceMember
func NewPatchServiceMemberParams ¶
func NewPatchServiceMemberParams() PatchServiceMemberParams
NewPatchServiceMemberParams creates a new PatchServiceMemberParams object
There are no default values defined in the spec.
func (*PatchServiceMemberParams) BindRequest ¶
func (o *PatchServiceMemberParams) 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 NewPatchServiceMemberParams() beforehand.
type PatchServiceMemberURL ¶
type PatchServiceMemberURL struct { ServiceMemberID strfmt.UUID // contains filtered or unexported fields }
PatchServiceMemberURL generates an URL for the patch service member operation
func (*PatchServiceMemberURL) Build ¶
func (o *PatchServiceMemberURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchServiceMemberURL) BuildFull ¶
func (o *PatchServiceMemberURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchServiceMemberURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchServiceMemberURL) SetBasePath ¶
func (o *PatchServiceMemberURL) 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 (*PatchServiceMemberURL) String ¶
func (o *PatchServiceMemberURL) String() string
String returns the string representation of the path with query string
func (*PatchServiceMemberURL) StringFull ¶
func (o *PatchServiceMemberURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchServiceMemberURL) WithBasePath ¶
func (o *PatchServiceMemberURL) WithBasePath(bp string) *PatchServiceMemberURL
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 PatchServiceMemberUnauthorized ¶
type PatchServiceMemberUnauthorized struct { }
PatchServiceMemberUnauthorized request requires user authentication
swagger:response patchServiceMemberUnauthorized
func NewPatchServiceMemberUnauthorized ¶
func NewPatchServiceMemberUnauthorized() *PatchServiceMemberUnauthorized
NewPatchServiceMemberUnauthorized creates PatchServiceMemberUnauthorized with default headers values
func (*PatchServiceMemberUnauthorized) WriteResponse ¶
func (o *PatchServiceMemberUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowServiceMember ¶
type ShowServiceMember struct { Context *middleware.Context Handler ShowServiceMemberHandler }
ShowServiceMember swagger:route GET /service_members/{serviceMemberId} service_members showServiceMember
Returns the given service member ¶
Returns the given service member
func NewShowServiceMember ¶
func NewShowServiceMember(ctx *middleware.Context, handler ShowServiceMemberHandler) *ShowServiceMember
NewShowServiceMember creates a new http.Handler for the show service member operation
func (*ShowServiceMember) ServeHTTP ¶
func (o *ShowServiceMember) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ShowServiceMemberBadRequest ¶
type ShowServiceMemberBadRequest struct { }
ShowServiceMemberBadRequest invalid request
swagger:response showServiceMemberBadRequest
func NewShowServiceMemberBadRequest ¶
func NewShowServiceMemberBadRequest() *ShowServiceMemberBadRequest
NewShowServiceMemberBadRequest creates ShowServiceMemberBadRequest with default headers values
func (*ShowServiceMemberBadRequest) WriteResponse ¶
func (o *ShowServiceMemberBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowServiceMemberForbidden ¶
type ShowServiceMemberForbidden struct { }
ShowServiceMemberForbidden user is not authorized
swagger:response showServiceMemberForbidden
func NewShowServiceMemberForbidden ¶
func NewShowServiceMemberForbidden() *ShowServiceMemberForbidden
NewShowServiceMemberForbidden creates ShowServiceMemberForbidden with default headers values
func (*ShowServiceMemberForbidden) WriteResponse ¶
func (o *ShowServiceMemberForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowServiceMemberHandler ¶
type ShowServiceMemberHandler interface {
Handle(ShowServiceMemberParams) middleware.Responder
}
ShowServiceMemberHandler interface for that can handle valid show service member params
type ShowServiceMemberHandlerFunc ¶
type ShowServiceMemberHandlerFunc func(ShowServiceMemberParams) middleware.Responder
ShowServiceMemberHandlerFunc turns a function with the right signature into a show service member handler
func (ShowServiceMemberHandlerFunc) Handle ¶
func (fn ShowServiceMemberHandlerFunc) Handle(params ShowServiceMemberParams) middleware.Responder
Handle executing the request and returning a response
type ShowServiceMemberInternalServerError ¶
type ShowServiceMemberInternalServerError struct { }
ShowServiceMemberInternalServerError internal server error
swagger:response showServiceMemberInternalServerError
func NewShowServiceMemberInternalServerError ¶
func NewShowServiceMemberInternalServerError() *ShowServiceMemberInternalServerError
NewShowServiceMemberInternalServerError creates ShowServiceMemberInternalServerError with default headers values
func (*ShowServiceMemberInternalServerError) WriteResponse ¶
func (o *ShowServiceMemberInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowServiceMemberNotFound ¶
type ShowServiceMemberNotFound struct { }
ShowServiceMemberNotFound service member not found
swagger:response showServiceMemberNotFound
func NewShowServiceMemberNotFound ¶
func NewShowServiceMemberNotFound() *ShowServiceMemberNotFound
NewShowServiceMemberNotFound creates ShowServiceMemberNotFound with default headers values
func (*ShowServiceMemberNotFound) WriteResponse ¶
func (o *ShowServiceMemberNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowServiceMemberOK ¶
type ShowServiceMemberOK struct { /* In: Body */ Payload *internalmessages.ServiceMemberPayload `json:"body,omitempty"` }
ShowServiceMemberOK the instance of the service member
swagger:response showServiceMemberOK
func NewShowServiceMemberOK ¶
func NewShowServiceMemberOK() *ShowServiceMemberOK
NewShowServiceMemberOK creates ShowServiceMemberOK with default headers values
func (*ShowServiceMemberOK) SetPayload ¶
func (o *ShowServiceMemberOK) SetPayload(payload *internalmessages.ServiceMemberPayload)
SetPayload sets the payload to the show service member o k response
func (*ShowServiceMemberOK) WithPayload ¶
func (o *ShowServiceMemberOK) WithPayload(payload *internalmessages.ServiceMemberPayload) *ShowServiceMemberOK
WithPayload adds the payload to the show service member o k response
func (*ShowServiceMemberOK) WriteResponse ¶
func (o *ShowServiceMemberOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowServiceMemberOrders ¶
type ShowServiceMemberOrders struct { Context *middleware.Context Handler ShowServiceMemberOrdersHandler }
ShowServiceMemberOrders swagger:route GET /service_members/{serviceMemberId}/current_orders service_members showServiceMemberOrders
Returns the latest orders for a given service member ¶
Returns orders
func NewShowServiceMemberOrders ¶
func NewShowServiceMemberOrders(ctx *middleware.Context, handler ShowServiceMemberOrdersHandler) *ShowServiceMemberOrders
NewShowServiceMemberOrders creates a new http.Handler for the show service member orders operation
func (*ShowServiceMemberOrders) ServeHTTP ¶
func (o *ShowServiceMemberOrders) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ShowServiceMemberOrdersBadRequest ¶
type ShowServiceMemberOrdersBadRequest struct { }
ShowServiceMemberOrdersBadRequest invalid request
swagger:response showServiceMemberOrdersBadRequest
func NewShowServiceMemberOrdersBadRequest ¶
func NewShowServiceMemberOrdersBadRequest() *ShowServiceMemberOrdersBadRequest
NewShowServiceMemberOrdersBadRequest creates ShowServiceMemberOrdersBadRequest with default headers values
func (*ShowServiceMemberOrdersBadRequest) WriteResponse ¶
func (o *ShowServiceMemberOrdersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowServiceMemberOrdersForbidden ¶
type ShowServiceMemberOrdersForbidden struct { }
ShowServiceMemberOrdersForbidden user is not authorized
swagger:response showServiceMemberOrdersForbidden
func NewShowServiceMemberOrdersForbidden ¶
func NewShowServiceMemberOrdersForbidden() *ShowServiceMemberOrdersForbidden
NewShowServiceMemberOrdersForbidden creates ShowServiceMemberOrdersForbidden with default headers values
func (*ShowServiceMemberOrdersForbidden) WriteResponse ¶
func (o *ShowServiceMemberOrdersForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowServiceMemberOrdersHandler ¶
type ShowServiceMemberOrdersHandler interface {
Handle(ShowServiceMemberOrdersParams) middleware.Responder
}
ShowServiceMemberOrdersHandler interface for that can handle valid show service member orders params
type ShowServiceMemberOrdersHandlerFunc ¶
type ShowServiceMemberOrdersHandlerFunc func(ShowServiceMemberOrdersParams) middleware.Responder
ShowServiceMemberOrdersHandlerFunc turns a function with the right signature into a show service member orders handler
func (ShowServiceMemberOrdersHandlerFunc) Handle ¶
func (fn ShowServiceMemberOrdersHandlerFunc) Handle(params ShowServiceMemberOrdersParams) middleware.Responder
Handle executing the request and returning a response
type ShowServiceMemberOrdersInternalServerError ¶
type ShowServiceMemberOrdersInternalServerError struct { }
ShowServiceMemberOrdersInternalServerError internal server error
swagger:response showServiceMemberOrdersInternalServerError
func NewShowServiceMemberOrdersInternalServerError ¶
func NewShowServiceMemberOrdersInternalServerError() *ShowServiceMemberOrdersInternalServerError
NewShowServiceMemberOrdersInternalServerError creates ShowServiceMemberOrdersInternalServerError with default headers values
func (*ShowServiceMemberOrdersInternalServerError) WriteResponse ¶
func (o *ShowServiceMemberOrdersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowServiceMemberOrdersNotFound ¶
type ShowServiceMemberOrdersNotFound struct { }
ShowServiceMemberOrdersNotFound service member not found
swagger:response showServiceMemberOrdersNotFound
func NewShowServiceMemberOrdersNotFound ¶
func NewShowServiceMemberOrdersNotFound() *ShowServiceMemberOrdersNotFound
NewShowServiceMemberOrdersNotFound creates ShowServiceMemberOrdersNotFound with default headers values
func (*ShowServiceMemberOrdersNotFound) WriteResponse ¶
func (o *ShowServiceMemberOrdersNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowServiceMemberOrdersOK ¶
type ShowServiceMemberOrdersOK struct { /* In: Body */ Payload *internalmessages.Orders `json:"body,omitempty"` }
ShowServiceMemberOrdersOK the instance of the service member
swagger:response showServiceMemberOrdersOK
func NewShowServiceMemberOrdersOK ¶
func NewShowServiceMemberOrdersOK() *ShowServiceMemberOrdersOK
NewShowServiceMemberOrdersOK creates ShowServiceMemberOrdersOK with default headers values
func (*ShowServiceMemberOrdersOK) SetPayload ¶
func (o *ShowServiceMemberOrdersOK) SetPayload(payload *internalmessages.Orders)
SetPayload sets the payload to the show service member orders o k response
func (*ShowServiceMemberOrdersOK) WithPayload ¶
func (o *ShowServiceMemberOrdersOK) WithPayload(payload *internalmessages.Orders) *ShowServiceMemberOrdersOK
WithPayload adds the payload to the show service member orders o k response
func (*ShowServiceMemberOrdersOK) WriteResponse ¶
func (o *ShowServiceMemberOrdersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowServiceMemberOrdersParams ¶
type ShowServiceMemberOrdersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the service member Required: true In: path */ ServiceMemberID strfmt.UUID }
ShowServiceMemberOrdersParams contains all the bound params for the show service member orders operation typically these are obtained from a http.Request
swagger:parameters showServiceMemberOrders
func NewShowServiceMemberOrdersParams ¶
func NewShowServiceMemberOrdersParams() ShowServiceMemberOrdersParams
NewShowServiceMemberOrdersParams creates a new ShowServiceMemberOrdersParams object
There are no default values defined in the spec.
func (*ShowServiceMemberOrdersParams) BindRequest ¶
func (o *ShowServiceMemberOrdersParams) 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 NewShowServiceMemberOrdersParams() beforehand.
type ShowServiceMemberOrdersURL ¶
type ShowServiceMemberOrdersURL struct { ServiceMemberID strfmt.UUID // contains filtered or unexported fields }
ShowServiceMemberOrdersURL generates an URL for the show service member orders operation
func (*ShowServiceMemberOrdersURL) Build ¶
func (o *ShowServiceMemberOrdersURL) Build() (*url.URL, error)
Build a url path and query string
func (*ShowServiceMemberOrdersURL) BuildFull ¶
func (o *ShowServiceMemberOrdersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ShowServiceMemberOrdersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ShowServiceMemberOrdersURL) SetBasePath ¶
func (o *ShowServiceMemberOrdersURL) 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 (*ShowServiceMemberOrdersURL) String ¶
func (o *ShowServiceMemberOrdersURL) String() string
String returns the string representation of the path with query string
func (*ShowServiceMemberOrdersURL) StringFull ¶
func (o *ShowServiceMemberOrdersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ShowServiceMemberOrdersURL) WithBasePath ¶
func (o *ShowServiceMemberOrdersURL) WithBasePath(bp string) *ShowServiceMemberOrdersURL
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 ShowServiceMemberOrdersUnauthorized ¶
type ShowServiceMemberOrdersUnauthorized struct { }
ShowServiceMemberOrdersUnauthorized request requires user authentication
swagger:response showServiceMemberOrdersUnauthorized
func NewShowServiceMemberOrdersUnauthorized ¶
func NewShowServiceMemberOrdersUnauthorized() *ShowServiceMemberOrdersUnauthorized
NewShowServiceMemberOrdersUnauthorized creates ShowServiceMemberOrdersUnauthorized with default headers values
func (*ShowServiceMemberOrdersUnauthorized) WriteResponse ¶
func (o *ShowServiceMemberOrdersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ShowServiceMemberParams ¶
type ShowServiceMemberParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*UUID of the service member Required: true In: path */ ServiceMemberID strfmt.UUID }
ShowServiceMemberParams contains all the bound params for the show service member operation typically these are obtained from a http.Request
swagger:parameters showServiceMember
func NewShowServiceMemberParams ¶
func NewShowServiceMemberParams() ShowServiceMemberParams
NewShowServiceMemberParams creates a new ShowServiceMemberParams object
There are no default values defined in the spec.
func (*ShowServiceMemberParams) BindRequest ¶
func (o *ShowServiceMemberParams) 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 NewShowServiceMemberParams() beforehand.
type ShowServiceMemberURL ¶
type ShowServiceMemberURL struct { ServiceMemberID strfmt.UUID // contains filtered or unexported fields }
ShowServiceMemberURL generates an URL for the show service member operation
func (*ShowServiceMemberURL) Build ¶
func (o *ShowServiceMemberURL) Build() (*url.URL, error)
Build a url path and query string
func (*ShowServiceMemberURL) BuildFull ¶
func (o *ShowServiceMemberURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ShowServiceMemberURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ShowServiceMemberURL) SetBasePath ¶
func (o *ShowServiceMemberURL) 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 (*ShowServiceMemberURL) String ¶
func (o *ShowServiceMemberURL) String() string
String returns the string representation of the path with query string
func (*ShowServiceMemberURL) StringFull ¶
func (o *ShowServiceMemberURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ShowServiceMemberURL) WithBasePath ¶
func (o *ShowServiceMemberURL) WithBasePath(bp string) *ShowServiceMemberURL
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 ShowServiceMemberUnauthorized ¶
type ShowServiceMemberUnauthorized struct { }
ShowServiceMemberUnauthorized request requires user authentication
swagger:response showServiceMemberUnauthorized
func NewShowServiceMemberUnauthorized ¶
func NewShowServiceMemberUnauthorized() *ShowServiceMemberUnauthorized
NewShowServiceMemberUnauthorized creates ShowServiceMemberUnauthorized with default headers values
func (*ShowServiceMemberUnauthorized) WriteResponse ¶
func (o *ShowServiceMemberUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_service_member.go
- create_service_member_parameters.go
- create_service_member_responses.go
- create_service_member_urlbuilder.go
- patch_service_member.go
- patch_service_member_parameters.go
- patch_service_member_responses.go
- patch_service_member_urlbuilder.go
- show_service_member.go
- show_service_member_orders.go
- show_service_member_orders_parameters.go
- show_service_member_orders_responses.go
- show_service_member_orders_urlbuilder.go
- show_service_member_parameters.go
- show_service_member_responses.go
- show_service_member_urlbuilder.go