package
2.85.0+incompatible
Repository: https://github.com/transcom/mymove.git
Documentation: pkg.go.dev
# Functions
NewCreateServiceMemberBackupContact creates a new http.Handler for the create service member backup contact operation.
NewCreateServiceMemberBackupContactBadRequest creates CreateServiceMemberBackupContactBadRequest with default headers values.
NewCreateServiceMemberBackupContactCreated creates CreateServiceMemberBackupContactCreated with default headers values.
NewCreateServiceMemberBackupContactForbidden creates CreateServiceMemberBackupContactForbidden with default headers values.
NewCreateServiceMemberBackupContactInternalServerError creates CreateServiceMemberBackupContactInternalServerError with default headers values.
NewCreateServiceMemberBackupContactNotFound creates CreateServiceMemberBackupContactNotFound with default headers values.
NewCreateServiceMemberBackupContactParams creates a new CreateServiceMemberBackupContactParams object
There are no default values defined in the spec.
NewCreateServiceMemberBackupContactUnauthorized creates CreateServiceMemberBackupContactUnauthorized with default headers values.
NewIndexServiceMemberBackupContacts creates a new http.Handler for the index service member backup contacts operation.
NewIndexServiceMemberBackupContactsBadRequest creates IndexServiceMemberBackupContactsBadRequest with default headers values.
NewIndexServiceMemberBackupContactsForbidden creates IndexServiceMemberBackupContactsForbidden with default headers values.
NewIndexServiceMemberBackupContactsInternalServerError creates IndexServiceMemberBackupContactsInternalServerError with default headers values.
NewIndexServiceMemberBackupContactsNotFound creates IndexServiceMemberBackupContactsNotFound with default headers values.
NewIndexServiceMemberBackupContactsOK creates IndexServiceMemberBackupContactsOK with default headers values.
NewIndexServiceMemberBackupContactsParams creates a new IndexServiceMemberBackupContactsParams object
There are no default values defined in the spec.
NewIndexServiceMemberBackupContactsUnauthorized creates IndexServiceMemberBackupContactsUnauthorized with default headers values.
NewShowServiceMemberBackupContact creates a new http.Handler for the show service member backup contact operation.
NewShowServiceMemberBackupContactBadRequest creates ShowServiceMemberBackupContactBadRequest with default headers values.
NewShowServiceMemberBackupContactForbidden creates ShowServiceMemberBackupContactForbidden with default headers values.
NewShowServiceMemberBackupContactInternalServerError creates ShowServiceMemberBackupContactInternalServerError with default headers values.
NewShowServiceMemberBackupContactNotFound creates ShowServiceMemberBackupContactNotFound with default headers values.
NewShowServiceMemberBackupContactOK creates ShowServiceMemberBackupContactOK with default headers values.
NewShowServiceMemberBackupContactParams creates a new ShowServiceMemberBackupContactParams object
There are no default values defined in the spec.
NewShowServiceMemberBackupContactUnauthorized creates ShowServiceMemberBackupContactUnauthorized with default headers values.
NewUpdateServiceMemberBackupContact creates a new http.Handler for the update service member backup contact operation.
NewUpdateServiceMemberBackupContactBadRequest creates UpdateServiceMemberBackupContactBadRequest with default headers values.
NewUpdateServiceMemberBackupContactCreated creates UpdateServiceMemberBackupContactCreated with default headers values.
NewUpdateServiceMemberBackupContactForbidden creates UpdateServiceMemberBackupContactForbidden with default headers values.
NewUpdateServiceMemberBackupContactInternalServerError creates UpdateServiceMemberBackupContactInternalServerError with default headers values.
NewUpdateServiceMemberBackupContactNotFound creates UpdateServiceMemberBackupContactNotFound with default headers values.
NewUpdateServiceMemberBackupContactParams creates a new UpdateServiceMemberBackupContactParams object
There are no default values defined in the spec.
NewUpdateServiceMemberBackupContactUnauthorized creates UpdateServiceMemberBackupContactUnauthorized with default headers values.
# Constants
CreateServiceMemberBackupContactBadRequestCode is the HTTP code returned for type CreateServiceMemberBackupContactBadRequest.
CreateServiceMemberBackupContactCreatedCode is the HTTP code returned for type CreateServiceMemberBackupContactCreated.
CreateServiceMemberBackupContactForbiddenCode is the HTTP code returned for type CreateServiceMemberBackupContactForbidden.
CreateServiceMemberBackupContactInternalServerErrorCode is the HTTP code returned for type CreateServiceMemberBackupContactInternalServerError.
CreateServiceMemberBackupContactNotFoundCode is the HTTP code returned for type CreateServiceMemberBackupContactNotFound.
CreateServiceMemberBackupContactUnauthorizedCode is the HTTP code returned for type CreateServiceMemberBackupContactUnauthorized.
IndexServiceMemberBackupContactsBadRequestCode is the HTTP code returned for type IndexServiceMemberBackupContactsBadRequest.
IndexServiceMemberBackupContactsForbiddenCode is the HTTP code returned for type IndexServiceMemberBackupContactsForbidden.
IndexServiceMemberBackupContactsInternalServerErrorCode is the HTTP code returned for type IndexServiceMemberBackupContactsInternalServerError.
IndexServiceMemberBackupContactsNotFoundCode is the HTTP code returned for type IndexServiceMemberBackupContactsNotFound.
IndexServiceMemberBackupContactsOKCode is the HTTP code returned for type IndexServiceMemberBackupContactsOK.
IndexServiceMemberBackupContactsUnauthorizedCode is the HTTP code returned for type IndexServiceMemberBackupContactsUnauthorized.
ShowServiceMemberBackupContactBadRequestCode is the HTTP code returned for type ShowServiceMemberBackupContactBadRequest.
ShowServiceMemberBackupContactForbiddenCode is the HTTP code returned for type ShowServiceMemberBackupContactForbidden.
ShowServiceMemberBackupContactInternalServerErrorCode is the HTTP code returned for type ShowServiceMemberBackupContactInternalServerError.
ShowServiceMemberBackupContactNotFoundCode is the HTTP code returned for type ShowServiceMemberBackupContactNotFound.
ShowServiceMemberBackupContactOKCode is the HTTP code returned for type ShowServiceMemberBackupContactOK.
ShowServiceMemberBackupContactUnauthorizedCode is the HTTP code returned for type ShowServiceMemberBackupContactUnauthorized.
UpdateServiceMemberBackupContactBadRequestCode is the HTTP code returned for type UpdateServiceMemberBackupContactBadRequest.
UpdateServiceMemberBackupContactCreatedCode is the HTTP code returned for type UpdateServiceMemberBackupContactCreated.
UpdateServiceMemberBackupContactForbiddenCode is the HTTP code returned for type UpdateServiceMemberBackupContactForbidden.
UpdateServiceMemberBackupContactInternalServerErrorCode is the HTTP code returned for type UpdateServiceMemberBackupContactInternalServerError.
UpdateServiceMemberBackupContactNotFoundCode is the HTTP code returned for type UpdateServiceMemberBackupContactNotFound.
UpdateServiceMemberBackupContactUnauthorizedCode is the HTTP code returned for type UpdateServiceMemberBackupContactUnauthorized.
# Structs
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
*/.
CreateServiceMemberBackupContactBadRequest invalid request
swagger:response createServiceMemberBackupContactBadRequest
*/.
CreateServiceMemberBackupContactCreated created instance of service member backup contact
swagger:response createServiceMemberBackupContactCreated
*/.
CreateServiceMemberBackupContactForbidden user is not authorized to create this backup contact
swagger:response createServiceMemberBackupContactForbidden
*/.
CreateServiceMemberBackupContactInternalServerError internal server error
swagger:response createServiceMemberBackupContactInternalServerError
*/.
CreateServiceMemberBackupContactNotFound contact not found
swagger:response createServiceMemberBackupContactNotFound
*/.
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.
CreateServiceMemberBackupContactUnauthorized request requires user authentication
swagger:response createServiceMemberBackupContactUnauthorized
*/.
CreateServiceMemberBackupContactURL generates an URL for the create service member backup contact operation.
IndexServiceMemberBackupContacts swagger:route GET /service_members/{serviceMemberId}/backup_contacts backup_contacts indexServiceMemberBackupContacts
# List all service member backup contacts
List all service member backup contacts
*/.
IndexServiceMemberBackupContactsBadRequest invalid request
swagger:response indexServiceMemberBackupContactsBadRequest
*/.
IndexServiceMemberBackupContactsForbidden user is not authorized to see this backup contact
swagger:response indexServiceMemberBackupContactsForbidden
*/.
IndexServiceMemberBackupContactsInternalServerError internal server error
swagger:response indexServiceMemberBackupContactsInternalServerError
*/.
IndexServiceMemberBackupContactsNotFound contact not found
swagger:response indexServiceMemberBackupContactsNotFound
*/.
IndexServiceMemberBackupContactsOK list of service member backup contacts
swagger:response indexServiceMemberBackupContactsOK
*/.
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.
IndexServiceMemberBackupContactsUnauthorized request requires user authentication
swagger:response indexServiceMemberBackupContactsUnauthorized
*/.
IndexServiceMemberBackupContactsURL generates an URL for the index service member backup contacts operation.
ShowServiceMemberBackupContact swagger:route GET /backup_contacts/{backupContactId} backup_contacts showServiceMemberBackupContact
# Returns the given service member backup contact
Returns the given service member backup contact
*/.
ShowServiceMemberBackupContactBadRequest invalid request
swagger:response showServiceMemberBackupContactBadRequest
*/.
ShowServiceMemberBackupContactForbidden user is not authorized
swagger:response showServiceMemberBackupContactForbidden
*/.
ShowServiceMemberBackupContactInternalServerError internal server error
swagger:response showServiceMemberBackupContactInternalServerError
*/.
ShowServiceMemberBackupContactNotFound backup contact not found
swagger:response showServiceMemberBackupContactNotFound
*/.
ShowServiceMemberBackupContactOK the instance of the service member backup contact
swagger:response showServiceMemberBackupContactOK
*/.
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.
ShowServiceMemberBackupContactUnauthorized request requires user authentication
swagger:response showServiceMemberBackupContactUnauthorized
*/.
ShowServiceMemberBackupContactURL generates an URL for the show service member backup contact operation.
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
*/.
UpdateServiceMemberBackupContactBadRequest invalid request
swagger:response updateServiceMemberBackupContactBadRequest
*/.
UpdateServiceMemberBackupContactCreated updated instance of backup contact
swagger:response updateServiceMemberBackupContactCreated
*/.
UpdateServiceMemberBackupContactForbidden user is not authorized
swagger:response updateServiceMemberBackupContactForbidden
*/.
UpdateServiceMemberBackupContactInternalServerError internal server error
swagger:response updateServiceMemberBackupContactInternalServerError
*/.
UpdateServiceMemberBackupContactNotFound backup contact not found
swagger:response updateServiceMemberBackupContactNotFound
*/.
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.
UpdateServiceMemberBackupContactUnauthorized request requires user authentication
swagger:response updateServiceMemberBackupContactUnauthorized
*/.
UpdateServiceMemberBackupContactURL generates an URL for the update service member backup contact operation.
# Interfaces
CreateServiceMemberBackupContactHandler interface for that can handle valid create service member backup contact params.
IndexServiceMemberBackupContactsHandler interface for that can handle valid index service member backup contacts params.
ShowServiceMemberBackupContactHandler interface for that can handle valid show service member backup contact params.
UpdateServiceMemberBackupContactHandler interface for that can handle valid update service member backup contact params.
# Type aliases
CreateServiceMemberBackupContactHandlerFunc turns a function with the right signature into a create service member backup contact handler.
IndexServiceMemberBackupContactsHandlerFunc turns a function with the right signature into a index service member backup contacts handler.
ShowServiceMemberBackupContactHandlerFunc turns a function with the right signature into a show service member backup contact handler.
UpdateServiceMemberBackupContactHandlerFunc turns a function with the right signature into a update service member backup contact handler.