service_members

package
v0.0.0-...-c407d37 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const CreateServiceMemberBadRequestCode int = 400

CreateServiceMemberBadRequestCode is the HTTP code returned for type CreateServiceMemberBadRequest

View Source
const CreateServiceMemberCreatedCode int = 201

CreateServiceMemberCreatedCode is the HTTP code returned for type CreateServiceMemberCreated

View Source
const CreateServiceMemberForbiddenCode int = 403

CreateServiceMemberForbiddenCode is the HTTP code returned for type CreateServiceMemberForbidden

View Source
const CreateServiceMemberInternalServerErrorCode int = 500

CreateServiceMemberInternalServerErrorCode is the HTTP code returned for type CreateServiceMemberInternalServerError

View Source
const CreateServiceMemberNotFoundCode int = 404

CreateServiceMemberNotFoundCode is the HTTP code returned for type CreateServiceMemberNotFound

View Source
const CreateServiceMemberUnauthorizedCode int = 401

CreateServiceMemberUnauthorizedCode is the HTTP code returned for type CreateServiceMemberUnauthorized

View Source
const PatchServiceMemberBadRequestCode int = 400

PatchServiceMemberBadRequestCode is the HTTP code returned for type PatchServiceMemberBadRequest

View Source
const PatchServiceMemberForbiddenCode int = 403

PatchServiceMemberForbiddenCode is the HTTP code returned for type PatchServiceMemberForbidden

View Source
const PatchServiceMemberInternalServerErrorCode int = 500

PatchServiceMemberInternalServerErrorCode is the HTTP code returned for type PatchServiceMemberInternalServerError

View Source
const PatchServiceMemberNotFoundCode int = 404

PatchServiceMemberNotFoundCode is the HTTP code returned for type PatchServiceMemberNotFound

View Source
const PatchServiceMemberOKCode int = 200

PatchServiceMemberOKCode is the HTTP code returned for type PatchServiceMemberOK

View Source
const PatchServiceMemberUnauthorizedCode int = 401

PatchServiceMemberUnauthorizedCode is the HTTP code returned for type PatchServiceMemberUnauthorized

View Source
const ShowServiceMemberBadRequestCode int = 400

ShowServiceMemberBadRequestCode is the HTTP code returned for type ShowServiceMemberBadRequest

View Source
const ShowServiceMemberForbiddenCode int = 403

ShowServiceMemberForbiddenCode is the HTTP code returned for type ShowServiceMemberForbidden

View Source
const ShowServiceMemberInternalServerErrorCode int = 500

ShowServiceMemberInternalServerErrorCode is the HTTP code returned for type ShowServiceMemberInternalServerError

View Source
const ShowServiceMemberNotFoundCode int = 404

ShowServiceMemberNotFoundCode is the HTTP code returned for type ShowServiceMemberNotFound

View Source
const ShowServiceMemberOKCode int = 200

ShowServiceMemberOKCode is the HTTP code returned for type ShowServiceMemberOK

View Source
const ShowServiceMemberOrdersBadRequestCode int = 400

ShowServiceMemberOrdersBadRequestCode is the HTTP code returned for type ShowServiceMemberOrdersBadRequest

View Source
const ShowServiceMemberOrdersForbiddenCode int = 403

ShowServiceMemberOrdersForbiddenCode is the HTTP code returned for type ShowServiceMemberOrdersForbidden

View Source
const ShowServiceMemberOrdersInternalServerErrorCode int = 500

ShowServiceMemberOrdersInternalServerErrorCode is the HTTP code returned for type ShowServiceMemberOrdersInternalServerError

View Source
const ShowServiceMemberOrdersNotFoundCode int = 404

ShowServiceMemberOrdersNotFoundCode is the HTTP code returned for type ShowServiceMemberOrdersNotFound

View Source
const ShowServiceMemberOrdersOKCode int = 200

ShowServiceMemberOrdersOKCode is the HTTP code returned for type ShowServiceMemberOrdersOK

View Source
const ShowServiceMemberOrdersUnauthorizedCode int = 401

ShowServiceMemberOrdersUnauthorizedCode is the HTTP code returned for type ShowServiceMemberOrdersUnauthorized

View Source
const ShowServiceMemberUnauthorizedCode int = 401

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

SetPayload sets the payload to the create service member created response

func (*CreateServiceMemberCreated) WithPayload

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

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

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

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

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

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

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

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

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

SetPayload sets the payload to the patch service member o k response

func (*PatchServiceMemberOK) WithPayload

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

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

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

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

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

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

SetPayload sets the payload to the show service member o k response

func (*ShowServiceMemberOK) WithPayload

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

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

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

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

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

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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