backup_contacts

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 CreateServiceMemberBackupContactBadRequestCode int = 400

CreateServiceMemberBackupContactBadRequestCode is the HTTP code returned for type CreateServiceMemberBackupContactBadRequest

View Source
const CreateServiceMemberBackupContactCreatedCode int = 201

CreateServiceMemberBackupContactCreatedCode is the HTTP code returned for type CreateServiceMemberBackupContactCreated

View Source
const CreateServiceMemberBackupContactForbiddenCode int = 403

CreateServiceMemberBackupContactForbiddenCode is the HTTP code returned for type CreateServiceMemberBackupContactForbidden

View Source
const CreateServiceMemberBackupContactInternalServerErrorCode int = 500

CreateServiceMemberBackupContactInternalServerErrorCode is the HTTP code returned for type CreateServiceMemberBackupContactInternalServerError

View Source
const CreateServiceMemberBackupContactNotFoundCode int = 404

CreateServiceMemberBackupContactNotFoundCode is the HTTP code returned for type CreateServiceMemberBackupContactNotFound

View Source
const CreateServiceMemberBackupContactUnauthorizedCode int = 401

CreateServiceMemberBackupContactUnauthorizedCode is the HTTP code returned for type CreateServiceMemberBackupContactUnauthorized

View Source
const IndexServiceMemberBackupContactsBadRequestCode int = 400

IndexServiceMemberBackupContactsBadRequestCode is the HTTP code returned for type IndexServiceMemberBackupContactsBadRequest

View Source
const IndexServiceMemberBackupContactsForbiddenCode int = 403

IndexServiceMemberBackupContactsForbiddenCode is the HTTP code returned for type IndexServiceMemberBackupContactsForbidden

View Source
const IndexServiceMemberBackupContactsInternalServerErrorCode int = 500

IndexServiceMemberBackupContactsInternalServerErrorCode is the HTTP code returned for type IndexServiceMemberBackupContactsInternalServerError

View Source
const IndexServiceMemberBackupContactsNotFoundCode int = 404

IndexServiceMemberBackupContactsNotFoundCode is the HTTP code returned for type IndexServiceMemberBackupContactsNotFound

View Source
const IndexServiceMemberBackupContactsOKCode int = 200

IndexServiceMemberBackupContactsOKCode is the HTTP code returned for type IndexServiceMemberBackupContactsOK

View Source
const IndexServiceMemberBackupContactsUnauthorizedCode int = 401

IndexServiceMemberBackupContactsUnauthorizedCode is the HTTP code returned for type IndexServiceMemberBackupContactsUnauthorized

View Source
const ShowServiceMemberBackupContactBadRequestCode int = 400

ShowServiceMemberBackupContactBadRequestCode is the HTTP code returned for type ShowServiceMemberBackupContactBadRequest

View Source
const ShowServiceMemberBackupContactForbiddenCode int = 403

ShowServiceMemberBackupContactForbiddenCode is the HTTP code returned for type ShowServiceMemberBackupContactForbidden

View Source
const ShowServiceMemberBackupContactInternalServerErrorCode int = 500

ShowServiceMemberBackupContactInternalServerErrorCode is the HTTP code returned for type ShowServiceMemberBackupContactInternalServerError

View Source
const ShowServiceMemberBackupContactNotFoundCode int = 404

ShowServiceMemberBackupContactNotFoundCode is the HTTP code returned for type ShowServiceMemberBackupContactNotFound

View Source
const ShowServiceMemberBackupContactOKCode int = 200

ShowServiceMemberBackupContactOKCode is the HTTP code returned for type ShowServiceMemberBackupContactOK

View Source
const ShowServiceMemberBackupContactUnauthorizedCode int = 401

ShowServiceMemberBackupContactUnauthorizedCode is the HTTP code returned for type ShowServiceMemberBackupContactUnauthorized

View Source
const UpdateServiceMemberBackupContactBadRequestCode int = 400

UpdateServiceMemberBackupContactBadRequestCode is the HTTP code returned for type UpdateServiceMemberBackupContactBadRequest

View Source
const UpdateServiceMemberBackupContactCreatedCode int = 201

UpdateServiceMemberBackupContactCreatedCode is the HTTP code returned for type UpdateServiceMemberBackupContactCreated

View Source
const UpdateServiceMemberBackupContactForbiddenCode int = 403

UpdateServiceMemberBackupContactForbiddenCode is the HTTP code returned for type UpdateServiceMemberBackupContactForbidden

View Source
const UpdateServiceMemberBackupContactInternalServerErrorCode int = 500

UpdateServiceMemberBackupContactInternalServerErrorCode is the HTTP code returned for type UpdateServiceMemberBackupContactInternalServerError

View Source
const UpdateServiceMemberBackupContactNotFoundCode int = 404

UpdateServiceMemberBackupContactNotFoundCode is the HTTP code returned for type UpdateServiceMemberBackupContactNotFound

View Source
const UpdateServiceMemberBackupContactUnauthorizedCode int = 401

UpdateServiceMemberBackupContactUnauthorizedCode is the HTTP code returned for type UpdateServiceMemberBackupContactUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateServiceMemberBackupContact

type CreateServiceMemberBackupContact struct {
	Context *middleware.Context
	Handler CreateServiceMemberBackupContactHandler
}
CreateServiceMemberBackupContact swagger:route POST /service_members/{serviceMemberId}/backup_contacts backup_contacts createServiceMemberBackupContact

Submits backup contact for a logged-in user

Creates an instance of a backup contact tied to a service member user

func NewCreateServiceMemberBackupContact

func NewCreateServiceMemberBackupContact(ctx *middleware.Context, handler CreateServiceMemberBackupContactHandler) *CreateServiceMemberBackupContact

NewCreateServiceMemberBackupContact creates a new http.Handler for the create service member backup contact operation

func (*CreateServiceMemberBackupContact) ServeHTTP

type CreateServiceMemberBackupContactBadRequest

type CreateServiceMemberBackupContactBadRequest struct {
}

CreateServiceMemberBackupContactBadRequest invalid request

swagger:response createServiceMemberBackupContactBadRequest

func NewCreateServiceMemberBackupContactBadRequest

func NewCreateServiceMemberBackupContactBadRequest() *CreateServiceMemberBackupContactBadRequest

NewCreateServiceMemberBackupContactBadRequest creates CreateServiceMemberBackupContactBadRequest with default headers values

func (*CreateServiceMemberBackupContactBadRequest) WriteResponse

WriteResponse to the client

type CreateServiceMemberBackupContactCreated

type CreateServiceMemberBackupContactCreated struct {

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

CreateServiceMemberBackupContactCreated created instance of service member backup contact

swagger:response createServiceMemberBackupContactCreated

func NewCreateServiceMemberBackupContactCreated

func NewCreateServiceMemberBackupContactCreated() *CreateServiceMemberBackupContactCreated

NewCreateServiceMemberBackupContactCreated creates CreateServiceMemberBackupContactCreated with default headers values

func (*CreateServiceMemberBackupContactCreated) SetPayload

SetPayload sets the payload to the create service member backup contact created response

func (*CreateServiceMemberBackupContactCreated) WithPayload

WithPayload adds the payload to the create service member backup contact created response

func (*CreateServiceMemberBackupContactCreated) WriteResponse

WriteResponse to the client

type CreateServiceMemberBackupContactForbidden

type CreateServiceMemberBackupContactForbidden struct {
}

CreateServiceMemberBackupContactForbidden user is not authorized to create this backup contact

swagger:response createServiceMemberBackupContactForbidden

func NewCreateServiceMemberBackupContactForbidden

func NewCreateServiceMemberBackupContactForbidden() *CreateServiceMemberBackupContactForbidden

NewCreateServiceMemberBackupContactForbidden creates CreateServiceMemberBackupContactForbidden with default headers values

func (*CreateServiceMemberBackupContactForbidden) WriteResponse

WriteResponse to the client

type CreateServiceMemberBackupContactHandler

type CreateServiceMemberBackupContactHandler interface {
	Handle(CreateServiceMemberBackupContactParams) middleware.Responder
}

CreateServiceMemberBackupContactHandler interface for that can handle valid create service member backup contact params

type CreateServiceMemberBackupContactHandlerFunc

type CreateServiceMemberBackupContactHandlerFunc func(CreateServiceMemberBackupContactParams) middleware.Responder

CreateServiceMemberBackupContactHandlerFunc turns a function with the right signature into a create service member backup contact handler

func (CreateServiceMemberBackupContactHandlerFunc) Handle

Handle executing the request and returning a response

type CreateServiceMemberBackupContactInternalServerError

type CreateServiceMemberBackupContactInternalServerError struct {
}

CreateServiceMemberBackupContactInternalServerError internal server error

swagger:response createServiceMemberBackupContactInternalServerError

func NewCreateServiceMemberBackupContactInternalServerError

func NewCreateServiceMemberBackupContactInternalServerError() *CreateServiceMemberBackupContactInternalServerError

NewCreateServiceMemberBackupContactInternalServerError creates CreateServiceMemberBackupContactInternalServerError with default headers values

func (*CreateServiceMemberBackupContactInternalServerError) WriteResponse

WriteResponse to the client

type CreateServiceMemberBackupContactNotFound

type CreateServiceMemberBackupContactNotFound struct {
}

CreateServiceMemberBackupContactNotFound contact not found

swagger:response createServiceMemberBackupContactNotFound

func NewCreateServiceMemberBackupContactNotFound

func NewCreateServiceMemberBackupContactNotFound() *CreateServiceMemberBackupContactNotFound

NewCreateServiceMemberBackupContactNotFound creates CreateServiceMemberBackupContactNotFound with default headers values

func (*CreateServiceMemberBackupContactNotFound) WriteResponse

WriteResponse to the client

type CreateServiceMemberBackupContactParams

type CreateServiceMemberBackupContactParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	CreateBackupContactPayload *internalmessages.CreateServiceMemberBackupContactPayload
	/*UUID of the service member
	  Required: true
	  In: path
	*/
	ServiceMemberID strfmt.UUID
}

CreateServiceMemberBackupContactParams contains all the bound params for the create service member backup contact operation typically these are obtained from a http.Request

swagger:parameters createServiceMemberBackupContact

func NewCreateServiceMemberBackupContactParams

func NewCreateServiceMemberBackupContactParams() CreateServiceMemberBackupContactParams

NewCreateServiceMemberBackupContactParams creates a new CreateServiceMemberBackupContactParams object

There are no default values defined in the spec.

func (*CreateServiceMemberBackupContactParams) 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 NewCreateServiceMemberBackupContactParams() beforehand.

type CreateServiceMemberBackupContactURL

type CreateServiceMemberBackupContactURL struct {
	ServiceMemberID strfmt.UUID
	// contains filtered or unexported fields
}

CreateServiceMemberBackupContactURL generates an URL for the create service member backup contact operation

func (*CreateServiceMemberBackupContactURL) Build

Build a url path and query string

func (*CreateServiceMemberBackupContactURL) BuildFull

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

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

func (*CreateServiceMemberBackupContactURL) Must

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

func (*CreateServiceMemberBackupContactURL) SetBasePath

func (o *CreateServiceMemberBackupContactURL) 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 (*CreateServiceMemberBackupContactURL) String

String returns the string representation of the path with query string

func (*CreateServiceMemberBackupContactURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateServiceMemberBackupContactURL) 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 CreateServiceMemberBackupContactUnauthorized

type CreateServiceMemberBackupContactUnauthorized struct {
}

CreateServiceMemberBackupContactUnauthorized request requires user authentication

swagger:response createServiceMemberBackupContactUnauthorized

func NewCreateServiceMemberBackupContactUnauthorized

func NewCreateServiceMemberBackupContactUnauthorized() *CreateServiceMemberBackupContactUnauthorized

NewCreateServiceMemberBackupContactUnauthorized creates CreateServiceMemberBackupContactUnauthorized with default headers values

func (*CreateServiceMemberBackupContactUnauthorized) WriteResponse

WriteResponse to the client

type IndexServiceMemberBackupContacts

type IndexServiceMemberBackupContacts struct {
	Context *middleware.Context
	Handler IndexServiceMemberBackupContactsHandler
}
IndexServiceMemberBackupContacts swagger:route GET /service_members/{serviceMemberId}/backup_contacts backup_contacts indexServiceMemberBackupContacts

List all service member backup contacts

List all service member backup contacts

func NewIndexServiceMemberBackupContacts

func NewIndexServiceMemberBackupContacts(ctx *middleware.Context, handler IndexServiceMemberBackupContactsHandler) *IndexServiceMemberBackupContacts

NewIndexServiceMemberBackupContacts creates a new http.Handler for the index service member backup contacts operation

func (*IndexServiceMemberBackupContacts) ServeHTTP

type IndexServiceMemberBackupContactsBadRequest

type IndexServiceMemberBackupContactsBadRequest struct {
}

IndexServiceMemberBackupContactsBadRequest invalid request

swagger:response indexServiceMemberBackupContactsBadRequest

func NewIndexServiceMemberBackupContactsBadRequest

func NewIndexServiceMemberBackupContactsBadRequest() *IndexServiceMemberBackupContactsBadRequest

NewIndexServiceMemberBackupContactsBadRequest creates IndexServiceMemberBackupContactsBadRequest with default headers values

func (*IndexServiceMemberBackupContactsBadRequest) WriteResponse

WriteResponse to the client

type IndexServiceMemberBackupContactsForbidden

type IndexServiceMemberBackupContactsForbidden struct {
}

IndexServiceMemberBackupContactsForbidden user is not authorized to see this backup contact

swagger:response indexServiceMemberBackupContactsForbidden

func NewIndexServiceMemberBackupContactsForbidden

func NewIndexServiceMemberBackupContactsForbidden() *IndexServiceMemberBackupContactsForbidden

NewIndexServiceMemberBackupContactsForbidden creates IndexServiceMemberBackupContactsForbidden with default headers values

func (*IndexServiceMemberBackupContactsForbidden) WriteResponse

WriteResponse to the client

type IndexServiceMemberBackupContactsHandler

type IndexServiceMemberBackupContactsHandler interface {
	Handle(IndexServiceMemberBackupContactsParams) middleware.Responder
}

IndexServiceMemberBackupContactsHandler interface for that can handle valid index service member backup contacts params

type IndexServiceMemberBackupContactsHandlerFunc

type IndexServiceMemberBackupContactsHandlerFunc func(IndexServiceMemberBackupContactsParams) middleware.Responder

IndexServiceMemberBackupContactsHandlerFunc turns a function with the right signature into a index service member backup contacts handler

func (IndexServiceMemberBackupContactsHandlerFunc) Handle

Handle executing the request and returning a response

type IndexServiceMemberBackupContactsInternalServerError

type IndexServiceMemberBackupContactsInternalServerError struct {
}

IndexServiceMemberBackupContactsInternalServerError internal server error

swagger:response indexServiceMemberBackupContactsInternalServerError

func NewIndexServiceMemberBackupContactsInternalServerError

func NewIndexServiceMemberBackupContactsInternalServerError() *IndexServiceMemberBackupContactsInternalServerError

NewIndexServiceMemberBackupContactsInternalServerError creates IndexServiceMemberBackupContactsInternalServerError with default headers values

func (*IndexServiceMemberBackupContactsInternalServerError) WriteResponse

WriteResponse to the client

type IndexServiceMemberBackupContactsNotFound

type IndexServiceMemberBackupContactsNotFound struct {
}

IndexServiceMemberBackupContactsNotFound contact not found

swagger:response indexServiceMemberBackupContactsNotFound

func NewIndexServiceMemberBackupContactsNotFound

func NewIndexServiceMemberBackupContactsNotFound() *IndexServiceMemberBackupContactsNotFound

NewIndexServiceMemberBackupContactsNotFound creates IndexServiceMemberBackupContactsNotFound with default headers values

func (*IndexServiceMemberBackupContactsNotFound) WriteResponse

WriteResponse to the client

type IndexServiceMemberBackupContactsOK

type IndexServiceMemberBackupContactsOK struct {

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

IndexServiceMemberBackupContactsOK list of service member backup contacts

swagger:response indexServiceMemberBackupContactsOK

func NewIndexServiceMemberBackupContactsOK

func NewIndexServiceMemberBackupContactsOK() *IndexServiceMemberBackupContactsOK

NewIndexServiceMemberBackupContactsOK creates IndexServiceMemberBackupContactsOK with default headers values

func (*IndexServiceMemberBackupContactsOK) SetPayload

SetPayload sets the payload to the index service member backup contacts o k response

func (*IndexServiceMemberBackupContactsOK) WithPayload

WithPayload adds the payload to the index service member backup contacts o k response

func (*IndexServiceMemberBackupContactsOK) WriteResponse

WriteResponse to the client

type IndexServiceMemberBackupContactsParams

type IndexServiceMemberBackupContactsParams struct {

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

	/*UUID of the service member
	  Required: true
	  In: path
	*/
	ServiceMemberID strfmt.UUID
}

IndexServiceMemberBackupContactsParams contains all the bound params for the index service member backup contacts operation typically these are obtained from a http.Request

swagger:parameters indexServiceMemberBackupContacts

func NewIndexServiceMemberBackupContactsParams

func NewIndexServiceMemberBackupContactsParams() IndexServiceMemberBackupContactsParams

NewIndexServiceMemberBackupContactsParams creates a new IndexServiceMemberBackupContactsParams object

There are no default values defined in the spec.

func (*IndexServiceMemberBackupContactsParams) 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 NewIndexServiceMemberBackupContactsParams() beforehand.

type IndexServiceMemberBackupContactsURL

type IndexServiceMemberBackupContactsURL struct {
	ServiceMemberID strfmt.UUID
	// contains filtered or unexported fields
}

IndexServiceMemberBackupContactsURL generates an URL for the index service member backup contacts operation

func (*IndexServiceMemberBackupContactsURL) Build

Build a url path and query string

func (*IndexServiceMemberBackupContactsURL) BuildFull

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

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

func (*IndexServiceMemberBackupContactsURL) Must

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

func (*IndexServiceMemberBackupContactsURL) SetBasePath

func (o *IndexServiceMemberBackupContactsURL) 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 (*IndexServiceMemberBackupContactsURL) String

String returns the string representation of the path with query string

func (*IndexServiceMemberBackupContactsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*IndexServiceMemberBackupContactsURL) 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 IndexServiceMemberBackupContactsUnauthorized

type IndexServiceMemberBackupContactsUnauthorized struct {
}

IndexServiceMemberBackupContactsUnauthorized request requires user authentication

swagger:response indexServiceMemberBackupContactsUnauthorized

func NewIndexServiceMemberBackupContactsUnauthorized

func NewIndexServiceMemberBackupContactsUnauthorized() *IndexServiceMemberBackupContactsUnauthorized

NewIndexServiceMemberBackupContactsUnauthorized creates IndexServiceMemberBackupContactsUnauthorized with default headers values

func (*IndexServiceMemberBackupContactsUnauthorized) WriteResponse

WriteResponse to the client

type ShowServiceMemberBackupContact

type ShowServiceMemberBackupContact struct {
	Context *middleware.Context
	Handler ShowServiceMemberBackupContactHandler
}
ShowServiceMemberBackupContact swagger:route GET /backup_contacts/{backupContactId} backup_contacts showServiceMemberBackupContact

Returns the given service member backup contact

Returns the given service member backup contact

func NewShowServiceMemberBackupContact

func NewShowServiceMemberBackupContact(ctx *middleware.Context, handler ShowServiceMemberBackupContactHandler) *ShowServiceMemberBackupContact

NewShowServiceMemberBackupContact creates a new http.Handler for the show service member backup contact operation

func (*ShowServiceMemberBackupContact) ServeHTTP

type ShowServiceMemberBackupContactBadRequest

type ShowServiceMemberBackupContactBadRequest struct {
}

ShowServiceMemberBackupContactBadRequest invalid request

swagger:response showServiceMemberBackupContactBadRequest

func NewShowServiceMemberBackupContactBadRequest

func NewShowServiceMemberBackupContactBadRequest() *ShowServiceMemberBackupContactBadRequest

NewShowServiceMemberBackupContactBadRequest creates ShowServiceMemberBackupContactBadRequest with default headers values

func (*ShowServiceMemberBackupContactBadRequest) WriteResponse

WriteResponse to the client

type ShowServiceMemberBackupContactForbidden

type ShowServiceMemberBackupContactForbidden struct {
}

ShowServiceMemberBackupContactForbidden user is not authorized

swagger:response showServiceMemberBackupContactForbidden

func NewShowServiceMemberBackupContactForbidden

func NewShowServiceMemberBackupContactForbidden() *ShowServiceMemberBackupContactForbidden

NewShowServiceMemberBackupContactForbidden creates ShowServiceMemberBackupContactForbidden with default headers values

func (*ShowServiceMemberBackupContactForbidden) WriteResponse

WriteResponse to the client

type ShowServiceMemberBackupContactHandler

type ShowServiceMemberBackupContactHandler interface {
	Handle(ShowServiceMemberBackupContactParams) middleware.Responder
}

ShowServiceMemberBackupContactHandler interface for that can handle valid show service member backup contact params

type ShowServiceMemberBackupContactHandlerFunc

type ShowServiceMemberBackupContactHandlerFunc func(ShowServiceMemberBackupContactParams) middleware.Responder

ShowServiceMemberBackupContactHandlerFunc turns a function with the right signature into a show service member backup contact handler

func (ShowServiceMemberBackupContactHandlerFunc) Handle

Handle executing the request and returning a response

type ShowServiceMemberBackupContactInternalServerError

type ShowServiceMemberBackupContactInternalServerError struct {
}

ShowServiceMemberBackupContactInternalServerError internal server error

swagger:response showServiceMemberBackupContactInternalServerError

func NewShowServiceMemberBackupContactInternalServerError

func NewShowServiceMemberBackupContactInternalServerError() *ShowServiceMemberBackupContactInternalServerError

NewShowServiceMemberBackupContactInternalServerError creates ShowServiceMemberBackupContactInternalServerError with default headers values

func (*ShowServiceMemberBackupContactInternalServerError) WriteResponse

WriteResponse to the client

type ShowServiceMemberBackupContactNotFound

type ShowServiceMemberBackupContactNotFound struct {
}

ShowServiceMemberBackupContactNotFound backup contact not found

swagger:response showServiceMemberBackupContactNotFound

func NewShowServiceMemberBackupContactNotFound

func NewShowServiceMemberBackupContactNotFound() *ShowServiceMemberBackupContactNotFound

NewShowServiceMemberBackupContactNotFound creates ShowServiceMemberBackupContactNotFound with default headers values

func (*ShowServiceMemberBackupContactNotFound) WriteResponse

WriteResponse to the client

type ShowServiceMemberBackupContactOK

type ShowServiceMemberBackupContactOK struct {

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

ShowServiceMemberBackupContactOK the instance of the service member backup contact

swagger:response showServiceMemberBackupContactOK

func NewShowServiceMemberBackupContactOK

func NewShowServiceMemberBackupContactOK() *ShowServiceMemberBackupContactOK

NewShowServiceMemberBackupContactOK creates ShowServiceMemberBackupContactOK with default headers values

func (*ShowServiceMemberBackupContactOK) SetPayload

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

func (*ShowServiceMemberBackupContactOK) WithPayload

WithPayload adds the payload to the show service member backup contact o k response

func (*ShowServiceMemberBackupContactOK) WriteResponse

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

WriteResponse to the client

type ShowServiceMemberBackupContactParams

type ShowServiceMemberBackupContactParams struct {

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

	/*UUID of the service member backup contact
	  Required: true
	  In: path
	*/
	BackupContactID strfmt.UUID
}

ShowServiceMemberBackupContactParams contains all the bound params for the show service member backup contact operation typically these are obtained from a http.Request

swagger:parameters showServiceMemberBackupContact

func NewShowServiceMemberBackupContactParams

func NewShowServiceMemberBackupContactParams() ShowServiceMemberBackupContactParams

NewShowServiceMemberBackupContactParams creates a new ShowServiceMemberBackupContactParams object

There are no default values defined in the spec.

func (*ShowServiceMemberBackupContactParams) 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 NewShowServiceMemberBackupContactParams() beforehand.

type ShowServiceMemberBackupContactURL

type ShowServiceMemberBackupContactURL struct {
	BackupContactID strfmt.UUID
	// contains filtered or unexported fields
}

ShowServiceMemberBackupContactURL generates an URL for the show service member backup contact operation

func (*ShowServiceMemberBackupContactURL) Build

Build a url path and query string

func (*ShowServiceMemberBackupContactURL) BuildFull

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

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

func (*ShowServiceMemberBackupContactURL) Must

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

func (*ShowServiceMemberBackupContactURL) SetBasePath

func (o *ShowServiceMemberBackupContactURL) 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 (*ShowServiceMemberBackupContactURL) String

String returns the string representation of the path with query string

func (*ShowServiceMemberBackupContactURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ShowServiceMemberBackupContactURL) 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 ShowServiceMemberBackupContactUnauthorized

type ShowServiceMemberBackupContactUnauthorized struct {
}

ShowServiceMemberBackupContactUnauthorized request requires user authentication

swagger:response showServiceMemberBackupContactUnauthorized

func NewShowServiceMemberBackupContactUnauthorized

func NewShowServiceMemberBackupContactUnauthorized() *ShowServiceMemberBackupContactUnauthorized

NewShowServiceMemberBackupContactUnauthorized creates ShowServiceMemberBackupContactUnauthorized with default headers values

func (*ShowServiceMemberBackupContactUnauthorized) WriteResponse

WriteResponse to the client

type UpdateServiceMemberBackupContact

type UpdateServiceMemberBackupContact struct {
	Context *middleware.Context
	Handler UpdateServiceMemberBackupContactHandler
}
UpdateServiceMemberBackupContact swagger:route PUT /backup_contacts/{backupContactId} backup_contacts updateServiceMemberBackupContact

Updates a service member backup contact

Any fields sent in this request will be set on the backup contact referenced

func NewUpdateServiceMemberBackupContact

func NewUpdateServiceMemberBackupContact(ctx *middleware.Context, handler UpdateServiceMemberBackupContactHandler) *UpdateServiceMemberBackupContact

NewUpdateServiceMemberBackupContact creates a new http.Handler for the update service member backup contact operation

func (*UpdateServiceMemberBackupContact) ServeHTTP

type UpdateServiceMemberBackupContactBadRequest

type UpdateServiceMemberBackupContactBadRequest struct {
}

UpdateServiceMemberBackupContactBadRequest invalid request

swagger:response updateServiceMemberBackupContactBadRequest

func NewUpdateServiceMemberBackupContactBadRequest

func NewUpdateServiceMemberBackupContactBadRequest() *UpdateServiceMemberBackupContactBadRequest

NewUpdateServiceMemberBackupContactBadRequest creates UpdateServiceMemberBackupContactBadRequest with default headers values

func (*UpdateServiceMemberBackupContactBadRequest) WriteResponse

WriteResponse to the client

type UpdateServiceMemberBackupContactCreated

type UpdateServiceMemberBackupContactCreated struct {

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

UpdateServiceMemberBackupContactCreated updated instance of backup contact

swagger:response updateServiceMemberBackupContactCreated

func NewUpdateServiceMemberBackupContactCreated

func NewUpdateServiceMemberBackupContactCreated() *UpdateServiceMemberBackupContactCreated

NewUpdateServiceMemberBackupContactCreated creates UpdateServiceMemberBackupContactCreated with default headers values

func (*UpdateServiceMemberBackupContactCreated) SetPayload

SetPayload sets the payload to the update service member backup contact created response

func (*UpdateServiceMemberBackupContactCreated) WithPayload

WithPayload adds the payload to the update service member backup contact created response

func (*UpdateServiceMemberBackupContactCreated) WriteResponse

WriteResponse to the client

type UpdateServiceMemberBackupContactForbidden

type UpdateServiceMemberBackupContactForbidden struct {
}

UpdateServiceMemberBackupContactForbidden user is not authorized

swagger:response updateServiceMemberBackupContactForbidden

func NewUpdateServiceMemberBackupContactForbidden

func NewUpdateServiceMemberBackupContactForbidden() *UpdateServiceMemberBackupContactForbidden

NewUpdateServiceMemberBackupContactForbidden creates UpdateServiceMemberBackupContactForbidden with default headers values

func (*UpdateServiceMemberBackupContactForbidden) WriteResponse

WriteResponse to the client

type UpdateServiceMemberBackupContactHandler

type UpdateServiceMemberBackupContactHandler interface {
	Handle(UpdateServiceMemberBackupContactParams) middleware.Responder
}

UpdateServiceMemberBackupContactHandler interface for that can handle valid update service member backup contact params

type UpdateServiceMemberBackupContactHandlerFunc

type UpdateServiceMemberBackupContactHandlerFunc func(UpdateServiceMemberBackupContactParams) middleware.Responder

UpdateServiceMemberBackupContactHandlerFunc turns a function with the right signature into a update service member backup contact handler

func (UpdateServiceMemberBackupContactHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateServiceMemberBackupContactInternalServerError

type UpdateServiceMemberBackupContactInternalServerError struct {
}

UpdateServiceMemberBackupContactInternalServerError internal server error

swagger:response updateServiceMemberBackupContactInternalServerError

func NewUpdateServiceMemberBackupContactInternalServerError

func NewUpdateServiceMemberBackupContactInternalServerError() *UpdateServiceMemberBackupContactInternalServerError

NewUpdateServiceMemberBackupContactInternalServerError creates UpdateServiceMemberBackupContactInternalServerError with default headers values

func (*UpdateServiceMemberBackupContactInternalServerError) WriteResponse

WriteResponse to the client

type UpdateServiceMemberBackupContactNotFound

type UpdateServiceMemberBackupContactNotFound struct {
}

UpdateServiceMemberBackupContactNotFound backup contact not found

swagger:response updateServiceMemberBackupContactNotFound

func NewUpdateServiceMemberBackupContactNotFound

func NewUpdateServiceMemberBackupContactNotFound() *UpdateServiceMemberBackupContactNotFound

NewUpdateServiceMemberBackupContactNotFound creates UpdateServiceMemberBackupContactNotFound with default headers values

func (*UpdateServiceMemberBackupContactNotFound) WriteResponse

WriteResponse to the client

type UpdateServiceMemberBackupContactParams

type UpdateServiceMemberBackupContactParams struct {

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

	/*UUID of the service member backup contact
	  Required: true
	  In: path
	*/
	BackupContactID strfmt.UUID
	/*
	  Required: true
	  In: body
	*/
	UpdateServiceMemberBackupContactPayload *internalmessages.UpdateServiceMemberBackupContactPayload
}

UpdateServiceMemberBackupContactParams contains all the bound params for the update service member backup contact operation typically these are obtained from a http.Request

swagger:parameters updateServiceMemberBackupContact

func NewUpdateServiceMemberBackupContactParams

func NewUpdateServiceMemberBackupContactParams() UpdateServiceMemberBackupContactParams

NewUpdateServiceMemberBackupContactParams creates a new UpdateServiceMemberBackupContactParams object

There are no default values defined in the spec.

func (*UpdateServiceMemberBackupContactParams) 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 NewUpdateServiceMemberBackupContactParams() beforehand.

type UpdateServiceMemberBackupContactURL

type UpdateServiceMemberBackupContactURL struct {
	BackupContactID strfmt.UUID
	// contains filtered or unexported fields
}

UpdateServiceMemberBackupContactURL generates an URL for the update service member backup contact operation

func (*UpdateServiceMemberBackupContactURL) Build

Build a url path and query string

func (*UpdateServiceMemberBackupContactURL) BuildFull

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

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

func (*UpdateServiceMemberBackupContactURL) Must

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

func (*UpdateServiceMemberBackupContactURL) SetBasePath

func (o *UpdateServiceMemberBackupContactURL) 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 (*UpdateServiceMemberBackupContactURL) String

String returns the string representation of the path with query string

func (*UpdateServiceMemberBackupContactURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateServiceMemberBackupContactURL) 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 UpdateServiceMemberBackupContactUnauthorized

type UpdateServiceMemberBackupContactUnauthorized struct {
}

UpdateServiceMemberBackupContactUnauthorized request requires user authentication

swagger:response updateServiceMemberBackupContactUnauthorized

func NewUpdateServiceMemberBackupContactUnauthorized

func NewUpdateServiceMemberBackupContactUnauthorized() *UpdateServiceMemberBackupContactUnauthorized

NewUpdateServiceMemberBackupContactUnauthorized creates UpdateServiceMemberBackupContactUnauthorized with default headers values

func (*UpdateServiceMemberBackupContactUnauthorized) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

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