client

package
v0.0.0-...-dca2783 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceptTncUserPath

func AcceptTncUserPath(userID int32) string

AcceptTncUserPath returns the URL path to the user service accept tnc HTTP endpoint.

func AddUserPath

func AddUserPath() string

AddUserPath returns the URL path to the user service add HTTP endpoint.

func AdminDeleteUserPath

func AdminDeleteUserPath() string

AdminDeleteUserPath returns the URL path to the user service admin delete HTTP endpoint.

func AdminSearchUserPath

func AdminSearchUserPath() string

AdminSearchUserPath returns the URL path to the user service admin search HTTP endpoint.

func AdminTermsAndConditionsUserPath

func AdminTermsAndConditionsUserPath() string

AdminTermsAndConditionsUserPath returns the URL path to the user service admin terms and conditions HTTP endpoint.

func BuildAcceptTncPayload

func BuildAcceptTncPayload(userAcceptTncBody string, userAcceptTncUserID string, userAcceptTncAuth string) (*user.AcceptTncPayload, error)

BuildAcceptTncPayload builds the payload for the user accept tnc endpoint from CLI flags.

func BuildAddPayload

func BuildAddPayload(userAddBody string) (*user.AddPayload, error)

BuildAddPayload builds the payload for the user add endpoint from CLI flags.

func BuildAdminDeletePayload

func BuildAdminDeletePayload(userAdminDeleteBody string, userAdminDeleteAuth string) (*user.AdminDeletePayload, error)

BuildAdminDeletePayload builds the payload for the user admin delete endpoint from CLI flags.

func BuildAdminSearchPayload

func BuildAdminSearchPayload(userAdminSearchQuery string, userAdminSearchAuth string) (*user.AdminSearchPayload, error)

BuildAdminSearchPayload builds the payload for the user admin search endpoint from CLI flags.

func BuildAdminTermsAndConditionsPayload

func BuildAdminTermsAndConditionsPayload(userAdminTermsAndConditionsBody string, userAdminTermsAndConditionsAuth string) (*user.AdminTermsAndConditionsPayload, error)

BuildAdminTermsAndConditionsPayload builds the payload for the user admin terms and conditions endpoint from CLI flags.

func BuildChangePasswordPayload

func BuildChangePasswordPayload(userChangePasswordBody string, userChangePasswordUserID string, userChangePasswordAuth string) (*user.ChangePasswordPayload, error)

BuildChangePasswordPayload builds the payload for the user change password endpoint from CLI flags.

func BuildDownloadPhotoPayload

func BuildDownloadPhotoPayload(userDownloadPhotoUserID string, userDownloadPhotoSize string, userDownloadPhotoIfNoneMatch string) (*user.DownloadPhotoPayload, error)

BuildDownloadPhotoPayload builds the payload for the user download photo endpoint from CLI flags.

func BuildGetCurrentPayload

func BuildGetCurrentPayload(userGetCurrentAuth string) (*user.GetCurrentPayload, error)

BuildGetCurrentPayload builds the payload for the user get current endpoint from CLI flags.

func BuildIssueTransmissionTokenPayload

func BuildIssueTransmissionTokenPayload(userIssueTransmissionTokenAuth string) (*user.IssueTransmissionTokenPayload, error)

BuildIssueTransmissionTokenPayload builds the payload for the user issue transmission token endpoint from CLI flags.

func BuildListByProjectPayload

func BuildListByProjectPayload(userListByProjectProjectID string, userListByProjectAuth string) (*user.ListByProjectPayload, error)

BuildListByProjectPayload builds the payload for the user list by project endpoint from CLI flags.

func BuildLoginPayload

func BuildLoginPayload(userLoginBody string) (*user.LoginPayload, error)

BuildLoginPayload builds the payload for the user login endpoint from CLI flags.

func BuildLogoutPayload

func BuildLogoutPayload(userLogoutAuth string) (*user.LogoutPayload, error)

BuildLogoutPayload builds the payload for the user logout endpoint from CLI flags.

func BuildMentionablesPayload

func BuildMentionablesPayload(userMentionablesProjectID string, userMentionablesBookmark string, userMentionablesQuery string, userMentionablesAuth string) (*user.MentionablesPayload, error)

BuildMentionablesPayload builds the payload for the user mentionables endpoint from CLI flags.

func BuildRecoveryLookupPayload

func BuildRecoveryLookupPayload(userRecoveryLookupBody string) (*user.RecoveryLookupPayload, error)

BuildRecoveryLookupPayload builds the payload for the user recovery lookup endpoint from CLI flags.

func BuildRecoveryPayload

func BuildRecoveryPayload(userRecoveryBody string) (*user.RecoveryPayload, error)

BuildRecoveryPayload builds the payload for the user recovery endpoint from CLI flags.

func BuildRefreshPayload

func BuildRefreshPayload(userRefreshBody string) (*user.RefreshPayload, error)

BuildRefreshPayload builds the payload for the user refresh endpoint from CLI flags.

func BuildResumePayload

func BuildResumePayload(userResumeBody string) (*user.ResumePayload, error)

BuildResumePayload builds the payload for the user resume endpoint from CLI flags.

func BuildRolesPayload

func BuildRolesPayload(userRolesAuth string) (*user.RolesPayload, error)

BuildRolesPayload builds the payload for the user roles endpoint from CLI flags.

func BuildSendValidationPayload

func BuildSendValidationPayload(userSendValidationUserID string) (*user.SendValidationPayload, error)

BuildSendValidationPayload builds the payload for the user send validation endpoint from CLI flags.

func BuildUpdatePayload

func BuildUpdatePayload(userUpdateBody string, userUpdateUserID string, userUpdateAuth string) (*user.UpdatePayload, error)

BuildUpdatePayload builds the payload for the user update endpoint from CLI flags.

func BuildUploadPhotoPayload

func BuildUploadPhotoPayload(userUploadPhotoContentType string, userUploadPhotoContentLength string, userUploadPhotoAuth string) (*user.UploadPhotoPayload, error)

BuildUploadPhotoPayload builds the payload for the user upload photo endpoint from CLI flags.

func BuildUploadPhotoStreamPayload

func BuildUploadPhotoStreamPayload(payload interface{}, fpath string) (*user.UploadPhotoRequestData, error)

// BuildUploadPhotoStreamPayload creates a streaming endpoint request payload from the method payload and the path to the file to be streamed

func BuildValidatePayload

func BuildValidatePayload(userValidateToken string) (*user.ValidatePayload, error)

BuildValidatePayload builds the payload for the user validate endpoint from CLI flags.

func ChangePasswordUserPath

func ChangePasswordUserPath(userID int32) string

ChangePasswordUserPath returns the URL path to the user service change password HTTP endpoint.

func DecodeAcceptTncResponse

func DecodeAcceptTncResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeAcceptTncResponse returns a decoder for responses returned by the user accept tnc endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeAcceptTncResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeAddResponse

func DecodeAddResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeAddResponse returns a decoder for responses returned by the user add endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeAddResponse may return the following errors:

  • "user-email-registered" (type *goa.ServiceError): http.StatusBadRequest
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • error: internal error

func DecodeAdminDeleteResponse

func DecodeAdminDeleteResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeAdminDeleteResponse returns a decoder for responses returned by the user admin delete endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeAdminDeleteResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeAdminSearchResponse

func DecodeAdminSearchResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeAdminSearchResponse returns a decoder for responses returned by the user admin search endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeAdminSearchResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeAdminTermsAndConditionsResponse

func DecodeAdminTermsAndConditionsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeAdminTermsAndConditionsResponse returns a decoder for responses returned by the user admin terms and conditions endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeAdminTermsAndConditionsResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeChangePasswordResponse

func DecodeChangePasswordResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeChangePasswordResponse returns a decoder for responses returned by the user change password endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeChangePasswordResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeDownloadPhotoResponse

func DecodeDownloadPhotoResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeDownloadPhotoResponse returns a decoder for responses returned by the user download photo endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeDownloadPhotoResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeGetCurrentResponse

func DecodeGetCurrentResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeGetCurrentResponse returns a decoder for responses returned by the user get current endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeGetCurrentResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeIssueTransmissionTokenResponse

func DecodeIssueTransmissionTokenResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeIssueTransmissionTokenResponse returns a decoder for responses returned by the user issue transmission token endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeIssueTransmissionTokenResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeListByProjectResponse

func DecodeListByProjectResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeListByProjectResponse returns a decoder for responses returned by the user list by project endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeListByProjectResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeLoginResponse

func DecodeLoginResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeLoginResponse returns a decoder for responses returned by the user login endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeLoginResponse may return the following errors:

  • "user-unverified" (type *goa.ServiceError): http.StatusForbidden
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeLogoutResponse

func DecodeLogoutResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeLogoutResponse returns a decoder for responses returned by the user logout endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeLogoutResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeMentionablesResponse

func DecodeMentionablesResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeMentionablesResponse returns a decoder for responses returned by the user mentionables endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeMentionablesResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeProjectRolesResponse

func DecodeProjectRolesResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeProjectRolesResponse returns a decoder for responses returned by the user project roles endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeProjectRolesResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeRecoveryLookupResponse

func DecodeRecoveryLookupResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeRecoveryLookupResponse returns a decoder for responses returned by the user recovery lookup endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeRecoveryLookupResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeRecoveryResponse

func DecodeRecoveryResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeRecoveryResponse returns a decoder for responses returned by the user recovery endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeRecoveryResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeRefreshResponse

func DecodeRefreshResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeRefreshResponse returns a decoder for responses returned by the user refresh endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeRefreshResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeResumeResponse

func DecodeResumeResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeResumeResponse returns a decoder for responses returned by the user resume endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeResumeResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeRolesResponse

func DecodeRolesResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeRolesResponse returns a decoder for responses returned by the user roles endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeRolesResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeSendValidationResponse

func DecodeSendValidationResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeSendValidationResponse returns a decoder for responses returned by the user send validation endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeSendValidationResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeUpdateResponse

func DecodeUpdateResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeUpdateResponse returns a decoder for responses returned by the user update endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeUpdateResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeUploadPhotoResponse

func DecodeUploadPhotoResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeUploadPhotoResponse returns a decoder for responses returned by the user upload photo endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeUploadPhotoResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DecodeValidateResponse

func DecodeValidateResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeValidateResponse returns a decoder for responses returned by the user validate endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeValidateResponse may return the following errors:

  • "unauthorized" (type *goa.ServiceError): http.StatusUnauthorized
  • "forbidden" (type *goa.ServiceError): http.StatusForbidden
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • "bad-request" (type *goa.ServiceError): http.StatusBadRequest
  • error: internal error

func DownloadPhotoUserPath

func DownloadPhotoUserPath(userID int32) string

DownloadPhotoUserPath returns the URL path to the user service download photo HTTP endpoint.

func EncodeAcceptTncRequest

func EncodeAcceptTncRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeAcceptTncRequest returns an encoder for requests sent to the user accept tnc server.

func EncodeAddRequest

func EncodeAddRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeAddRequest returns an encoder for requests sent to the user add server.

func EncodeAdminDeleteRequest

func EncodeAdminDeleteRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeAdminDeleteRequest returns an encoder for requests sent to the user admin delete server.

func EncodeAdminSearchRequest

func EncodeAdminSearchRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeAdminSearchRequest returns an encoder for requests sent to the user admin search server.

func EncodeAdminTermsAndConditionsRequest

func EncodeAdminTermsAndConditionsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeAdminTermsAndConditionsRequest returns an encoder for requests sent to the user admin terms and conditions server.

func EncodeChangePasswordRequest

func EncodeChangePasswordRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeChangePasswordRequest returns an encoder for requests sent to the user change password server.

func EncodeDownloadPhotoRequest

func EncodeDownloadPhotoRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeDownloadPhotoRequest returns an encoder for requests sent to the user download photo server.

func EncodeGetCurrentRequest

func EncodeGetCurrentRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeGetCurrentRequest returns an encoder for requests sent to the user get current server.

func EncodeIssueTransmissionTokenRequest

func EncodeIssueTransmissionTokenRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeIssueTransmissionTokenRequest returns an encoder for requests sent to the user issue transmission token server.

func EncodeListByProjectRequest

func EncodeListByProjectRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeListByProjectRequest returns an encoder for requests sent to the user list by project server.

func EncodeLoginRequest

func EncodeLoginRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeLoginRequest returns an encoder for requests sent to the user login server.

func EncodeLogoutRequest

func EncodeLogoutRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeLogoutRequest returns an encoder for requests sent to the user logout server.

func EncodeMentionablesRequest

func EncodeMentionablesRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeMentionablesRequest returns an encoder for requests sent to the user mentionables server.

func EncodeRecoveryLookupRequest

func EncodeRecoveryLookupRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeRecoveryLookupRequest returns an encoder for requests sent to the user recovery lookup server.

func EncodeRecoveryRequest

func EncodeRecoveryRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeRecoveryRequest returns an encoder for requests sent to the user recovery server.

func EncodeRefreshRequest

func EncodeRefreshRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeRefreshRequest returns an encoder for requests sent to the user refresh server.

func EncodeResumeRequest

func EncodeResumeRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeResumeRequest returns an encoder for requests sent to the user resume server.

func EncodeRolesRequest

func EncodeRolesRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeRolesRequest returns an encoder for requests sent to the user roles server.

func EncodeUpdateRequest

func EncodeUpdateRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeUpdateRequest returns an encoder for requests sent to the user update server.

func EncodeUploadPhotoRequest

func EncodeUploadPhotoRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeUploadPhotoRequest returns an encoder for requests sent to the user upload photo server.

func EncodeValidateRequest

func EncodeValidateRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeValidateRequest returns an encoder for requests sent to the user validate server.

func GetCurrentUserPath

func GetCurrentUserPath() string

GetCurrentUserPath returns the URL path to the user service get current HTTP endpoint.

func IssueTransmissionTokenUserPath

func IssueTransmissionTokenUserPath() string

IssueTransmissionTokenUserPath returns the URL path to the user service issue transmission token HTTP endpoint.

func ListByProjectUserPath

func ListByProjectUserPath(projectID int32) string

ListByProjectUserPath returns the URL path to the user service list by project HTTP endpoint.

func LoginUserPath

func LoginUserPath() string

LoginUserPath returns the URL path to the user service login HTTP endpoint.

func LogoutUserPath

func LogoutUserPath() string

LogoutUserPath returns the URL path to the user service logout HTTP endpoint.

func MentionablesUserPath

func MentionablesUserPath() string

MentionablesUserPath returns the URL path to the user service mentionables HTTP endpoint.

func NewAcceptTncBadRequest

func NewAcceptTncBadRequest(body *AcceptTncBadRequestResponseBody) *goa.ServiceError

NewAcceptTncBadRequest builds a user service accept tnc endpoint bad-request error.

func NewAcceptTncForbidden

func NewAcceptTncForbidden(body *AcceptTncForbiddenResponseBody) *goa.ServiceError

NewAcceptTncForbidden builds a user service accept tnc endpoint forbidden error.

func NewAcceptTncNotFound

func NewAcceptTncNotFound(body *AcceptTncNotFoundResponseBody) *goa.ServiceError

NewAcceptTncNotFound builds a user service accept tnc endpoint not-found error.

func NewAcceptTncUnauthorized

func NewAcceptTncUnauthorized(body *AcceptTncUnauthorizedResponseBody) *goa.ServiceError

NewAcceptTncUnauthorized builds a user service accept tnc endpoint unauthorized error.

func NewAcceptTncUserOK

func NewAcceptTncUserOK(body *AcceptTncResponseBody) *userviews.UserView

NewAcceptTncUserOK builds a "user" service "accept tnc" endpoint result from a HTTP "OK" response.

func NewAddBadRequest

func NewAddBadRequest(body *AddBadRequestResponseBody) *goa.ServiceError

NewAddBadRequest builds a user service add endpoint bad-request error.

func NewAddForbidden

func NewAddForbidden(body *AddForbiddenResponseBody) *goa.ServiceError

NewAddForbidden builds a user service add endpoint forbidden error.

func NewAddNotFound

func NewAddNotFound(body *AddNotFoundResponseBody) *goa.ServiceError

NewAddNotFound builds a user service add endpoint not-found error.

func NewAddUnauthorized

func NewAddUnauthorized(body *AddUnauthorizedResponseBody) *goa.ServiceError

NewAddUnauthorized builds a user service add endpoint unauthorized error.

func NewAddUserEmailRegistered

func NewAddUserEmailRegistered(body *AddUserEmailRegisteredResponseBody) *goa.ServiceError

NewAddUserEmailRegistered builds a user service add endpoint user-email-registered error.

func NewAddUserOK

func NewAddUserOK(body *AddResponseBody) *userviews.UserView

NewAddUserOK builds a "user" service "add" endpoint result from a HTTP "OK" response.

func NewAdminDeleteBadRequest

func NewAdminDeleteBadRequest(body *AdminDeleteBadRequestResponseBody) *goa.ServiceError

NewAdminDeleteBadRequest builds a user service admin delete endpoint bad-request error.

func NewAdminDeleteForbidden

func NewAdminDeleteForbidden(body *AdminDeleteForbiddenResponseBody) *goa.ServiceError

NewAdminDeleteForbidden builds a user service admin delete endpoint forbidden error.

func NewAdminDeleteNotFound

func NewAdminDeleteNotFound(body *AdminDeleteNotFoundResponseBody) *goa.ServiceError

NewAdminDeleteNotFound builds a user service admin delete endpoint not-found error.

func NewAdminDeleteUnauthorized

func NewAdminDeleteUnauthorized(body *AdminDeleteUnauthorizedResponseBody) *goa.ServiceError

NewAdminDeleteUnauthorized builds a user service admin delete endpoint unauthorized error.

func NewAdminSearchBadRequest

func NewAdminSearchBadRequest(body *AdminSearchBadRequestResponseBody) *goa.ServiceError

NewAdminSearchBadRequest builds a user service admin search endpoint bad-request error.

func NewAdminSearchForbidden

func NewAdminSearchForbidden(body *AdminSearchForbiddenResponseBody) *goa.ServiceError

NewAdminSearchForbidden builds a user service admin search endpoint forbidden error.

func NewAdminSearchNotFound

func NewAdminSearchNotFound(body *AdminSearchNotFoundResponseBody) *goa.ServiceError

NewAdminSearchNotFound builds a user service admin search endpoint not-found error.

func NewAdminSearchResultOK

func NewAdminSearchResultOK(body *AdminSearchResponseBody) *user.AdminSearchResult

NewAdminSearchResultOK builds a "user" service "admin search" endpoint result from a HTTP "OK" response.

func NewAdminSearchUnauthorized

func NewAdminSearchUnauthorized(body *AdminSearchUnauthorizedResponseBody) *goa.ServiceError

NewAdminSearchUnauthorized builds a user service admin search endpoint unauthorized error.

func NewAdminTermsAndConditionsBadRequest

func NewAdminTermsAndConditionsBadRequest(body *AdminTermsAndConditionsBadRequestResponseBody) *goa.ServiceError

NewAdminTermsAndConditionsBadRequest builds a user service admin terms and conditions endpoint bad-request error.

func NewAdminTermsAndConditionsForbidden

func NewAdminTermsAndConditionsForbidden(body *AdminTermsAndConditionsForbiddenResponseBody) *goa.ServiceError

NewAdminTermsAndConditionsForbidden builds a user service admin terms and conditions endpoint forbidden error.

func NewAdminTermsAndConditionsNotFound

func NewAdminTermsAndConditionsNotFound(body *AdminTermsAndConditionsNotFoundResponseBody) *goa.ServiceError

NewAdminTermsAndConditionsNotFound builds a user service admin terms and conditions endpoint not-found error.

func NewAdminTermsAndConditionsUnauthorized

func NewAdminTermsAndConditionsUnauthorized(body *AdminTermsAndConditionsUnauthorizedResponseBody) *goa.ServiceError

NewAdminTermsAndConditionsUnauthorized builds a user service admin terms and conditions endpoint unauthorized error.

func NewChangePasswordBadRequest

func NewChangePasswordBadRequest(body *ChangePasswordBadRequestResponseBody) *goa.ServiceError

NewChangePasswordBadRequest builds a user service change password endpoint bad-request error.

func NewChangePasswordForbidden

func NewChangePasswordForbidden(body *ChangePasswordForbiddenResponseBody) *goa.ServiceError

NewChangePasswordForbidden builds a user service change password endpoint forbidden error.

func NewChangePasswordNotFound

func NewChangePasswordNotFound(body *ChangePasswordNotFoundResponseBody) *goa.ServiceError

NewChangePasswordNotFound builds a user service change password endpoint not-found error.

func NewChangePasswordUnauthorized

func NewChangePasswordUnauthorized(body *ChangePasswordUnauthorizedResponseBody) *goa.ServiceError

NewChangePasswordUnauthorized builds a user service change password endpoint unauthorized error.

func NewChangePasswordUserOK

func NewChangePasswordUserOK(body *ChangePasswordResponseBody) *userviews.UserView

NewChangePasswordUserOK builds a "user" service "change password" endpoint result from a HTTP "OK" response.

func NewDownloadPhotoBadRequest

func NewDownloadPhotoBadRequest(body *DownloadPhotoBadRequestResponseBody) *goa.ServiceError

NewDownloadPhotoBadRequest builds a user service download photo endpoint bad-request error.

func NewDownloadPhotoDownloadedPhotoOK

func NewDownloadPhotoDownloadedPhotoOK(body *DownloadPhotoResponseBody) *userviews.DownloadedPhotoView

NewDownloadPhotoDownloadedPhotoOK builds a "user" service "download photo" endpoint result from a HTTP "OK" response.

func NewDownloadPhotoForbidden

func NewDownloadPhotoForbidden(body *DownloadPhotoForbiddenResponseBody) *goa.ServiceError

NewDownloadPhotoForbidden builds a user service download photo endpoint forbidden error.

func NewDownloadPhotoNotFound

func NewDownloadPhotoNotFound(body *DownloadPhotoNotFoundResponseBody) *goa.ServiceError

NewDownloadPhotoNotFound builds a user service download photo endpoint not-found error.

func NewDownloadPhotoUnauthorized

func NewDownloadPhotoUnauthorized(body *DownloadPhotoUnauthorizedResponseBody) *goa.ServiceError

NewDownloadPhotoUnauthorized builds a user service download photo endpoint unauthorized error.

func NewGetCurrentBadRequest

func NewGetCurrentBadRequest(body *GetCurrentBadRequestResponseBody) *goa.ServiceError

NewGetCurrentBadRequest builds a user service get current endpoint bad-request error.

func NewGetCurrentForbidden

func NewGetCurrentForbidden(body *GetCurrentForbiddenResponseBody) *goa.ServiceError

NewGetCurrentForbidden builds a user service get current endpoint forbidden error.

func NewGetCurrentNotFound

func NewGetCurrentNotFound(body *GetCurrentNotFoundResponseBody) *goa.ServiceError

NewGetCurrentNotFound builds a user service get current endpoint not-found error.

func NewGetCurrentUnauthorized

func NewGetCurrentUnauthorized(body *GetCurrentUnauthorizedResponseBody) *goa.ServiceError

NewGetCurrentUnauthorized builds a user service get current endpoint unauthorized error.

func NewGetCurrentUserOK

func NewGetCurrentUserOK(body *GetCurrentResponseBody) *userviews.UserView

NewGetCurrentUserOK builds a "user" service "get current" endpoint result from a HTTP "OK" response.

func NewIssueTransmissionTokenBadRequest

func NewIssueTransmissionTokenBadRequest(body *IssueTransmissionTokenBadRequestResponseBody) *goa.ServiceError

NewIssueTransmissionTokenBadRequest builds a user service issue transmission token endpoint bad-request error.

func NewIssueTransmissionTokenForbidden

func NewIssueTransmissionTokenForbidden(body *IssueTransmissionTokenForbiddenResponseBody) *goa.ServiceError

NewIssueTransmissionTokenForbidden builds a user service issue transmission token endpoint forbidden error.

func NewIssueTransmissionTokenNotFound

func NewIssueTransmissionTokenNotFound(body *IssueTransmissionTokenNotFoundResponseBody) *goa.ServiceError

NewIssueTransmissionTokenNotFound builds a user service issue transmission token endpoint not-found error.

func NewIssueTransmissionTokenTransmissionTokenOK

func NewIssueTransmissionTokenTransmissionTokenOK(body *IssueTransmissionTokenResponseBody) *userviews.TransmissionTokenView

NewIssueTransmissionTokenTransmissionTokenOK builds a "user" service "issue transmission token" endpoint result from a HTTP "OK" response.

func NewIssueTransmissionTokenUnauthorized

func NewIssueTransmissionTokenUnauthorized(body *IssueTransmissionTokenUnauthorizedResponseBody) *goa.ServiceError

NewIssueTransmissionTokenUnauthorized builds a user service issue transmission token endpoint unauthorized error.

func NewListByProjectBadRequest

func NewListByProjectBadRequest(body *ListByProjectBadRequestResponseBody) *goa.ServiceError

NewListByProjectBadRequest builds a user service list by project endpoint bad-request error.

func NewListByProjectForbidden

func NewListByProjectForbidden(body *ListByProjectForbiddenResponseBody) *goa.ServiceError

NewListByProjectForbidden builds a user service list by project endpoint forbidden error.

func NewListByProjectNotFound

func NewListByProjectNotFound(body *ListByProjectNotFoundResponseBody) *goa.ServiceError

NewListByProjectNotFound builds a user service list by project endpoint not-found error.

func NewListByProjectProjectUsersOK

func NewListByProjectProjectUsersOK(body *ListByProjectResponseBody) *userviews.ProjectUsersView

NewListByProjectProjectUsersOK builds a "user" service "list by project" endpoint result from a HTTP "OK" response.

func NewListByProjectUnauthorized

func NewListByProjectUnauthorized(body *ListByProjectUnauthorizedResponseBody) *goa.ServiceError

NewListByProjectUnauthorized builds a user service list by project endpoint unauthorized error.

func NewLoginBadRequest

func NewLoginBadRequest(body *LoginBadRequestResponseBody) *goa.ServiceError

NewLoginBadRequest builds a user service login endpoint bad-request error.

func NewLoginForbidden

func NewLoginForbidden(body *LoginForbiddenResponseBody) *goa.ServiceError

NewLoginForbidden builds a user service login endpoint forbidden error.

func NewLoginNotFound

func NewLoginNotFound(body *LoginNotFoundResponseBody) *goa.ServiceError

NewLoginNotFound builds a user service login endpoint not-found error.

func NewLoginResultNoContent

func NewLoginResultNoContent(authorization string) *user.LoginResult

NewLoginResultNoContent builds a "user" service "login" endpoint result from a HTTP "NoContent" response.

func NewLoginUnauthorized

func NewLoginUnauthorized(body *LoginUnauthorizedResponseBody) *goa.ServiceError

NewLoginUnauthorized builds a user service login endpoint unauthorized error.

func NewLoginUserUnverified

func NewLoginUserUnverified(body *LoginUserUnverifiedResponseBody) *goa.ServiceError

NewLoginUserUnverified builds a user service login endpoint user-unverified error.

func NewLogoutBadRequest

func NewLogoutBadRequest(body *LogoutBadRequestResponseBody) *goa.ServiceError

NewLogoutBadRequest builds a user service logout endpoint bad-request error.

func NewLogoutForbidden

func NewLogoutForbidden(body *LogoutForbiddenResponseBody) *goa.ServiceError

NewLogoutForbidden builds a user service logout endpoint forbidden error.

func NewLogoutNotFound

func NewLogoutNotFound(body *LogoutNotFoundResponseBody) *goa.ServiceError

NewLogoutNotFound builds a user service logout endpoint not-found error.

func NewLogoutUnauthorized

func NewLogoutUnauthorized(body *LogoutUnauthorizedResponseBody) *goa.ServiceError

NewLogoutUnauthorized builds a user service logout endpoint unauthorized error.

func NewMentionablesBadRequest

func NewMentionablesBadRequest(body *MentionablesBadRequestResponseBody) *goa.ServiceError

NewMentionablesBadRequest builds a user service mentionables endpoint bad-request error.

func NewMentionablesForbidden

func NewMentionablesForbidden(body *MentionablesForbiddenResponseBody) *goa.ServiceError

NewMentionablesForbidden builds a user service mentionables endpoint forbidden error.

func NewMentionablesMentionableOptionsOK

func NewMentionablesMentionableOptionsOK(body *MentionablesResponseBody) *userviews.MentionableOptionsView

NewMentionablesMentionableOptionsOK builds a "user" service "mentionables" endpoint result from a HTTP "OK" response.

func NewMentionablesNotFound

func NewMentionablesNotFound(body *MentionablesNotFoundResponseBody) *goa.ServiceError

NewMentionablesNotFound builds a user service mentionables endpoint not-found error.

func NewMentionablesUnauthorized

func NewMentionablesUnauthorized(body *MentionablesUnauthorizedResponseBody) *goa.ServiceError

NewMentionablesUnauthorized builds a user service mentionables endpoint unauthorized error.

func NewProjectRolesBadRequest

func NewProjectRolesBadRequest(body *ProjectRolesBadRequestResponseBody) *goa.ServiceError

NewProjectRolesBadRequest builds a user service project roles endpoint bad-request error.

func NewProjectRolesForbidden

func NewProjectRolesForbidden(body *ProjectRolesForbiddenResponseBody) *goa.ServiceError

NewProjectRolesForbidden builds a user service project roles endpoint forbidden error.

func NewProjectRolesNotFound

func NewProjectRolesNotFound(body *ProjectRolesNotFoundResponseBody) *goa.ServiceError

NewProjectRolesNotFound builds a user service project roles endpoint not-found error.

func NewProjectRolesProjectRoleCollectionOK

func NewProjectRolesProjectRoleCollectionOK(body ProjectRolesResponseBody) userviews.ProjectRoleCollectionView

NewProjectRolesProjectRoleCollectionOK builds a "user" service "project roles" endpoint result from a HTTP "OK" response.

func NewProjectRolesUnauthorized

func NewProjectRolesUnauthorized(body *ProjectRolesUnauthorizedResponseBody) *goa.ServiceError

NewProjectRolesUnauthorized builds a user service project roles endpoint unauthorized error.

func NewRecoveryBadRequest

func NewRecoveryBadRequest(body *RecoveryBadRequestResponseBody) *goa.ServiceError

NewRecoveryBadRequest builds a user service recovery endpoint bad-request error.

func NewRecoveryForbidden

func NewRecoveryForbidden(body *RecoveryForbiddenResponseBody) *goa.ServiceError

NewRecoveryForbidden builds a user service recovery endpoint forbidden error.

func NewRecoveryLookupBadRequest

func NewRecoveryLookupBadRequest(body *RecoveryLookupBadRequestResponseBody) *goa.ServiceError

NewRecoveryLookupBadRequest builds a user service recovery lookup endpoint bad-request error.

func NewRecoveryLookupForbidden

func NewRecoveryLookupForbidden(body *RecoveryLookupForbiddenResponseBody) *goa.ServiceError

NewRecoveryLookupForbidden builds a user service recovery lookup endpoint forbidden error.

func NewRecoveryLookupNotFound

func NewRecoveryLookupNotFound(body *RecoveryLookupNotFoundResponseBody) *goa.ServiceError

NewRecoveryLookupNotFound builds a user service recovery lookup endpoint not-found error.

func NewRecoveryLookupUnauthorized

func NewRecoveryLookupUnauthorized(body *RecoveryLookupUnauthorizedResponseBody) *goa.ServiceError

NewRecoveryLookupUnauthorized builds a user service recovery lookup endpoint unauthorized error.

func NewRecoveryNotFound

func NewRecoveryNotFound(body *RecoveryNotFoundResponseBody) *goa.ServiceError

NewRecoveryNotFound builds a user service recovery endpoint not-found error.

func NewRecoveryUnauthorized

func NewRecoveryUnauthorized(body *RecoveryUnauthorizedResponseBody) *goa.ServiceError

NewRecoveryUnauthorized builds a user service recovery endpoint unauthorized error.

func NewRefreshBadRequest

func NewRefreshBadRequest(body *RefreshBadRequestResponseBody) *goa.ServiceError

NewRefreshBadRequest builds a user service refresh endpoint bad-request error.

func NewRefreshForbidden

func NewRefreshForbidden(body *RefreshForbiddenResponseBody) *goa.ServiceError

NewRefreshForbidden builds a user service refresh endpoint forbidden error.

func NewRefreshNotFound

func NewRefreshNotFound(body *RefreshNotFoundResponseBody) *goa.ServiceError

NewRefreshNotFound builds a user service refresh endpoint not-found error.

func NewRefreshResultNoContent

func NewRefreshResultNoContent(authorization string) *user.RefreshResult

NewRefreshResultNoContent builds a "user" service "refresh" endpoint result from a HTTP "NoContent" response.

func NewRefreshUnauthorized

func NewRefreshUnauthorized(body *RefreshUnauthorizedResponseBody) *goa.ServiceError

NewRefreshUnauthorized builds a user service refresh endpoint unauthorized error.

func NewResumeBadRequest

func NewResumeBadRequest(body *ResumeBadRequestResponseBody) *goa.ServiceError

NewResumeBadRequest builds a user service resume endpoint bad-request error.

func NewResumeForbidden

func NewResumeForbidden(body *ResumeForbiddenResponseBody) *goa.ServiceError

NewResumeForbidden builds a user service resume endpoint forbidden error.

func NewResumeNotFound

func NewResumeNotFound(body *ResumeNotFoundResponseBody) *goa.ServiceError

NewResumeNotFound builds a user service resume endpoint not-found error.

func NewResumeResultNoContent

func NewResumeResultNoContent(authorization string) *user.ResumeResult

NewResumeResultNoContent builds a "user" service "resume" endpoint result from a HTTP "NoContent" response.

func NewResumeUnauthorized

func NewResumeUnauthorized(body *ResumeUnauthorizedResponseBody) *goa.ServiceError

NewResumeUnauthorized builds a user service resume endpoint unauthorized error.

func NewRolesAvailableRolesOK

func NewRolesAvailableRolesOK(body *RolesResponseBody) *userviews.AvailableRolesView

NewRolesAvailableRolesOK builds a "user" service "roles" endpoint result from a HTTP "OK" response.

func NewRolesBadRequest

func NewRolesBadRequest(body *RolesBadRequestResponseBody) *goa.ServiceError

NewRolesBadRequest builds a user service roles endpoint bad-request error.

func NewRolesForbidden

func NewRolesForbidden(body *RolesForbiddenResponseBody) *goa.ServiceError

NewRolesForbidden builds a user service roles endpoint forbidden error.

func NewRolesNotFound

func NewRolesNotFound(body *RolesNotFoundResponseBody) *goa.ServiceError

NewRolesNotFound builds a user service roles endpoint not-found error.

func NewRolesUnauthorized

func NewRolesUnauthorized(body *RolesUnauthorizedResponseBody) *goa.ServiceError

NewRolesUnauthorized builds a user service roles endpoint unauthorized error.

func NewSendValidationBadRequest

func NewSendValidationBadRequest(body *SendValidationBadRequestResponseBody) *goa.ServiceError

NewSendValidationBadRequest builds a user service send validation endpoint bad-request error.

func NewSendValidationForbidden

func NewSendValidationForbidden(body *SendValidationForbiddenResponseBody) *goa.ServiceError

NewSendValidationForbidden builds a user service send validation endpoint forbidden error.

func NewSendValidationNotFound

func NewSendValidationNotFound(body *SendValidationNotFoundResponseBody) *goa.ServiceError

NewSendValidationNotFound builds a user service send validation endpoint not-found error.

func NewSendValidationUnauthorized

func NewSendValidationUnauthorized(body *SendValidationUnauthorizedResponseBody) *goa.ServiceError

NewSendValidationUnauthorized builds a user service send validation endpoint unauthorized error.

func NewUpdateBadRequest

func NewUpdateBadRequest(body *UpdateBadRequestResponseBody) *goa.ServiceError

NewUpdateBadRequest builds a user service update endpoint bad-request error.

func NewUpdateForbidden

func NewUpdateForbidden(body *UpdateForbiddenResponseBody) *goa.ServiceError

NewUpdateForbidden builds a user service update endpoint forbidden error.

func NewUpdateNotFound

func NewUpdateNotFound(body *UpdateNotFoundResponseBody) *goa.ServiceError

NewUpdateNotFound builds a user service update endpoint not-found error.

func NewUpdateUnauthorized

func NewUpdateUnauthorized(body *UpdateUnauthorizedResponseBody) *goa.ServiceError

NewUpdateUnauthorized builds a user service update endpoint unauthorized error.

func NewUpdateUserOK

func NewUpdateUserOK(body *UpdateResponseBody) *userviews.UserView

NewUpdateUserOK builds a "user" service "update" endpoint result from a HTTP "OK" response.

func NewUploadPhotoBadRequest

func NewUploadPhotoBadRequest(body *UploadPhotoBadRequestResponseBody) *goa.ServiceError

NewUploadPhotoBadRequest builds a user service upload photo endpoint bad-request error.

func NewUploadPhotoForbidden

func NewUploadPhotoForbidden(body *UploadPhotoForbiddenResponseBody) *goa.ServiceError

NewUploadPhotoForbidden builds a user service upload photo endpoint forbidden error.

func NewUploadPhotoNotFound

func NewUploadPhotoNotFound(body *UploadPhotoNotFoundResponseBody) *goa.ServiceError

NewUploadPhotoNotFound builds a user service upload photo endpoint not-found error.

func NewUploadPhotoUnauthorized

func NewUploadPhotoUnauthorized(body *UploadPhotoUnauthorizedResponseBody) *goa.ServiceError

NewUploadPhotoUnauthorized builds a user service upload photo endpoint unauthorized error.

func NewValidateBadRequest

func NewValidateBadRequest(body *ValidateBadRequestResponseBody) *goa.ServiceError

NewValidateBadRequest builds a user service validate endpoint bad-request error.

func NewValidateForbidden

func NewValidateForbidden(body *ValidateForbiddenResponseBody) *goa.ServiceError

NewValidateForbidden builds a user service validate endpoint forbidden error.

func NewValidateNotFound

func NewValidateNotFound(body *ValidateNotFoundResponseBody) *goa.ServiceError

NewValidateNotFound builds a user service validate endpoint not-found error.

func NewValidateResultFound

func NewValidateResultFound(location string) *user.ValidateResult

NewValidateResultFound builds a "user" service "validate" endpoint result from a HTTP "Found" response.

func NewValidateUnauthorized

func NewValidateUnauthorized(body *ValidateUnauthorizedResponseBody) *goa.ServiceError

NewValidateUnauthorized builds a user service validate endpoint unauthorized error.

func ProjectRolesUserPath

func ProjectRolesUserPath() string

ProjectRolesUserPath returns the URL path to the user service project roles HTTP endpoint.

func RecoveryLookupUserPath

func RecoveryLookupUserPath() string

RecoveryLookupUserPath returns the URL path to the user service recovery lookup HTTP endpoint.

func RecoveryUserPath

func RecoveryUserPath() string

RecoveryUserPath returns the URL path to the user service recovery HTTP endpoint.

func RefreshUserPath

func RefreshUserPath() string

RefreshUserPath returns the URL path to the user service refresh HTTP endpoint.

func ResumeUserPath

func ResumeUserPath() string

ResumeUserPath returns the URL path to the user service resume HTTP endpoint.

func RolesUserPath

func RolesUserPath() string

RolesUserPath returns the URL path to the user service roles HTTP endpoint.

func SendValidationUserPath

func SendValidationUserPath(userID int32) string

SendValidationUserPath returns the URL path to the user service send validation HTTP endpoint.

func UpdateUserPath

func UpdateUserPath(userID int32) string

UpdateUserPath returns the URL path to the user service update HTTP endpoint.

func UploadPhotoUserPath

func UploadPhotoUserPath() string

UploadPhotoUserPath returns the URL path to the user service upload photo HTTP endpoint.

func ValidateAcceptTncBadRequestResponseBody

func ValidateAcceptTncBadRequestResponseBody(body *AcceptTncBadRequestResponseBody) (err error)

ValidateAcceptTncBadRequestResponseBody runs the validations defined on accept tnc_bad-request_response_body

func ValidateAcceptTncForbiddenResponseBody

func ValidateAcceptTncForbiddenResponseBody(body *AcceptTncForbiddenResponseBody) (err error)

ValidateAcceptTncForbiddenResponseBody runs the validations defined on accept tnc_forbidden_response_body

func ValidateAcceptTncNotFoundResponseBody

func ValidateAcceptTncNotFoundResponseBody(body *AcceptTncNotFoundResponseBody) (err error)

ValidateAcceptTncNotFoundResponseBody runs the validations defined on accept tnc_not-found_response_body

func ValidateAcceptTncUnauthorizedResponseBody

func ValidateAcceptTncUnauthorizedResponseBody(body *AcceptTncUnauthorizedResponseBody) (err error)

ValidateAcceptTncUnauthorizedResponseBody runs the validations defined on accept tnc_unauthorized_response_body

func ValidateAddBadRequestResponseBody

func ValidateAddBadRequestResponseBody(body *AddBadRequestResponseBody) (err error)

ValidateAddBadRequestResponseBody runs the validations defined on add_bad-request_response_body

func ValidateAddForbiddenResponseBody

func ValidateAddForbiddenResponseBody(body *AddForbiddenResponseBody) (err error)

ValidateAddForbiddenResponseBody runs the validations defined on add_forbidden_response_body

func ValidateAddNotFoundResponseBody

func ValidateAddNotFoundResponseBody(body *AddNotFoundResponseBody) (err error)

ValidateAddNotFoundResponseBody runs the validations defined on add_not-found_response_body

func ValidateAddUnauthorizedResponseBody

func ValidateAddUnauthorizedResponseBody(body *AddUnauthorizedResponseBody) (err error)

ValidateAddUnauthorizedResponseBody runs the validations defined on add_unauthorized_response_body

func ValidateAddUserEmailRegisteredResponseBody

func ValidateAddUserEmailRegisteredResponseBody(body *AddUserEmailRegisteredResponseBody) (err error)

ValidateAddUserEmailRegisteredResponseBody runs the validations defined on add_user-email-registered_response_body

func ValidateAdminDeleteBadRequestResponseBody

func ValidateAdminDeleteBadRequestResponseBody(body *AdminDeleteBadRequestResponseBody) (err error)

ValidateAdminDeleteBadRequestResponseBody runs the validations defined on admin delete_bad-request_response_body

func ValidateAdminDeleteForbiddenResponseBody

func ValidateAdminDeleteForbiddenResponseBody(body *AdminDeleteForbiddenResponseBody) (err error)

ValidateAdminDeleteForbiddenResponseBody runs the validations defined on admin delete_forbidden_response_body

func ValidateAdminDeleteNotFoundResponseBody

func ValidateAdminDeleteNotFoundResponseBody(body *AdminDeleteNotFoundResponseBody) (err error)

ValidateAdminDeleteNotFoundResponseBody runs the validations defined on admin delete_not-found_response_body

func ValidateAdminDeleteUnauthorizedResponseBody

func ValidateAdminDeleteUnauthorizedResponseBody(body *AdminDeleteUnauthorizedResponseBody) (err error)

ValidateAdminDeleteUnauthorizedResponseBody runs the validations defined on admin delete_unauthorized_response_body

func ValidateAdminSearchBadRequestResponseBody

func ValidateAdminSearchBadRequestResponseBody(body *AdminSearchBadRequestResponseBody) (err error)

ValidateAdminSearchBadRequestResponseBody runs the validations defined on admin search_bad-request_response_body

func ValidateAdminSearchForbiddenResponseBody

func ValidateAdminSearchForbiddenResponseBody(body *AdminSearchForbiddenResponseBody) (err error)

ValidateAdminSearchForbiddenResponseBody runs the validations defined on admin search_forbidden_response_body

func ValidateAdminSearchNotFoundResponseBody

func ValidateAdminSearchNotFoundResponseBody(body *AdminSearchNotFoundResponseBody) (err error)

ValidateAdminSearchNotFoundResponseBody runs the validations defined on admin search_not-found_response_body

func ValidateAdminSearchResponseBody

func ValidateAdminSearchResponseBody(body *AdminSearchResponseBody) (err error)

ValidateAdminSearchResponseBody runs the validations defined on Admin SearchResponseBody

func ValidateAdminSearchUnauthorizedResponseBody

func ValidateAdminSearchUnauthorizedResponseBody(body *AdminSearchUnauthorizedResponseBody) (err error)

ValidateAdminSearchUnauthorizedResponseBody runs the validations defined on admin search_unauthorized_response_body

func ValidateAdminTermsAndConditionsBadRequestResponseBody

func ValidateAdminTermsAndConditionsBadRequestResponseBody(body *AdminTermsAndConditionsBadRequestResponseBody) (err error)

ValidateAdminTermsAndConditionsBadRequestResponseBody runs the validations defined on admin terms and conditions_bad-request_response_body

func ValidateAdminTermsAndConditionsForbiddenResponseBody

func ValidateAdminTermsAndConditionsForbiddenResponseBody(body *AdminTermsAndConditionsForbiddenResponseBody) (err error)

ValidateAdminTermsAndConditionsForbiddenResponseBody runs the validations defined on admin terms and conditions_forbidden_response_body

func ValidateAdminTermsAndConditionsNotFoundResponseBody

func ValidateAdminTermsAndConditionsNotFoundResponseBody(body *AdminTermsAndConditionsNotFoundResponseBody) (err error)

ValidateAdminTermsAndConditionsNotFoundResponseBody runs the validations defined on admin terms and conditions_not-found_response_body

func ValidateAdminTermsAndConditionsUnauthorizedResponseBody

func ValidateAdminTermsAndConditionsUnauthorizedResponseBody(body *AdminTermsAndConditionsUnauthorizedResponseBody) (err error)

ValidateAdminTermsAndConditionsUnauthorizedResponseBody runs the validations defined on admin terms and conditions_unauthorized_response_body

func ValidateAvailableRoleResponseBody

func ValidateAvailableRoleResponseBody(body *AvailableRoleResponseBody) (err error)

ValidateAvailableRoleResponseBody runs the validations defined on AvailableRoleResponseBody

func ValidateChangePasswordBadRequestResponseBody

func ValidateChangePasswordBadRequestResponseBody(body *ChangePasswordBadRequestResponseBody) (err error)

ValidateChangePasswordBadRequestResponseBody runs the validations defined on change password_bad-request_response_body

func ValidateChangePasswordForbiddenResponseBody

func ValidateChangePasswordForbiddenResponseBody(body *ChangePasswordForbiddenResponseBody) (err error)

ValidateChangePasswordForbiddenResponseBody runs the validations defined on change password_forbidden_response_body

func ValidateChangePasswordNotFoundResponseBody

func ValidateChangePasswordNotFoundResponseBody(body *ChangePasswordNotFoundResponseBody) (err error)

ValidateChangePasswordNotFoundResponseBody runs the validations defined on change password_not-found_response_body

func ValidateChangePasswordUnauthorizedResponseBody

func ValidateChangePasswordUnauthorizedResponseBody(body *ChangePasswordUnauthorizedResponseBody) (err error)

ValidateChangePasswordUnauthorizedResponseBody runs the validations defined on change password_unauthorized_response_body

func ValidateDownloadPhotoBadRequestResponseBody

func ValidateDownloadPhotoBadRequestResponseBody(body *DownloadPhotoBadRequestResponseBody) (err error)

ValidateDownloadPhotoBadRequestResponseBody runs the validations defined on download photo_bad-request_response_body

func ValidateDownloadPhotoForbiddenResponseBody

func ValidateDownloadPhotoForbiddenResponseBody(body *DownloadPhotoForbiddenResponseBody) (err error)

ValidateDownloadPhotoForbiddenResponseBody runs the validations defined on download photo_forbidden_response_body

func ValidateDownloadPhotoNotFoundResponseBody

func ValidateDownloadPhotoNotFoundResponseBody(body *DownloadPhotoNotFoundResponseBody) (err error)

ValidateDownloadPhotoNotFoundResponseBody runs the validations defined on download photo_not-found_response_body

func ValidateDownloadPhotoUnauthorizedResponseBody

func ValidateDownloadPhotoUnauthorizedResponseBody(body *DownloadPhotoUnauthorizedResponseBody) (err error)

ValidateDownloadPhotoUnauthorizedResponseBody runs the validations defined on download photo_unauthorized_response_body

func ValidateGetCurrentBadRequestResponseBody

func ValidateGetCurrentBadRequestResponseBody(body *GetCurrentBadRequestResponseBody) (err error)

ValidateGetCurrentBadRequestResponseBody runs the validations defined on get current_bad-request_response_body

func ValidateGetCurrentForbiddenResponseBody

func ValidateGetCurrentForbiddenResponseBody(body *GetCurrentForbiddenResponseBody) (err error)

ValidateGetCurrentForbiddenResponseBody runs the validations defined on get current_forbidden_response_body

func ValidateGetCurrentNotFoundResponseBody

func ValidateGetCurrentNotFoundResponseBody(body *GetCurrentNotFoundResponseBody) (err error)

ValidateGetCurrentNotFoundResponseBody runs the validations defined on get current_not-found_response_body

func ValidateGetCurrentUnauthorizedResponseBody

func ValidateGetCurrentUnauthorizedResponseBody(body *GetCurrentUnauthorizedResponseBody) (err error)

ValidateGetCurrentUnauthorizedResponseBody runs the validations defined on get current_unauthorized_response_body

func ValidateIssueTransmissionTokenBadRequestResponseBody

func ValidateIssueTransmissionTokenBadRequestResponseBody(body *IssueTransmissionTokenBadRequestResponseBody) (err error)

ValidateIssueTransmissionTokenBadRequestResponseBody runs the validations defined on issue transmission token_bad-request_response_body

func ValidateIssueTransmissionTokenForbiddenResponseBody

func ValidateIssueTransmissionTokenForbiddenResponseBody(body *IssueTransmissionTokenForbiddenResponseBody) (err error)

ValidateIssueTransmissionTokenForbiddenResponseBody runs the validations defined on issue transmission token_forbidden_response_body

func ValidateIssueTransmissionTokenNotFoundResponseBody

func ValidateIssueTransmissionTokenNotFoundResponseBody(body *IssueTransmissionTokenNotFoundResponseBody) (err error)

ValidateIssueTransmissionTokenNotFoundResponseBody runs the validations defined on issue transmission token_not-found_response_body

func ValidateIssueTransmissionTokenUnauthorizedResponseBody

func ValidateIssueTransmissionTokenUnauthorizedResponseBody(body *IssueTransmissionTokenUnauthorizedResponseBody) (err error)

ValidateIssueTransmissionTokenUnauthorizedResponseBody runs the validations defined on issue transmission token_unauthorized_response_body

func ValidateListByProjectBadRequestResponseBody

func ValidateListByProjectBadRequestResponseBody(body *ListByProjectBadRequestResponseBody) (err error)

ValidateListByProjectBadRequestResponseBody runs the validations defined on list by project_bad-request_response_body

func ValidateListByProjectForbiddenResponseBody

func ValidateListByProjectForbiddenResponseBody(body *ListByProjectForbiddenResponseBody) (err error)

ValidateListByProjectForbiddenResponseBody runs the validations defined on list by project_forbidden_response_body

func ValidateListByProjectNotFoundResponseBody

func ValidateListByProjectNotFoundResponseBody(body *ListByProjectNotFoundResponseBody) (err error)

ValidateListByProjectNotFoundResponseBody runs the validations defined on list by project_not-found_response_body

func ValidateListByProjectUnauthorizedResponseBody

func ValidateListByProjectUnauthorizedResponseBody(body *ListByProjectUnauthorizedResponseBody) (err error)

ValidateListByProjectUnauthorizedResponseBody runs the validations defined on list by project_unauthorized_response_body

func ValidateLoginBadRequestResponseBody

func ValidateLoginBadRequestResponseBody(body *LoginBadRequestResponseBody) (err error)

ValidateLoginBadRequestResponseBody runs the validations defined on login_bad-request_response_body

func ValidateLoginForbiddenResponseBody

func ValidateLoginForbiddenResponseBody(body *LoginForbiddenResponseBody) (err error)

ValidateLoginForbiddenResponseBody runs the validations defined on login_forbidden_response_body

func ValidateLoginNotFoundResponseBody

func ValidateLoginNotFoundResponseBody(body *LoginNotFoundResponseBody) (err error)

ValidateLoginNotFoundResponseBody runs the validations defined on login_not-found_response_body

func ValidateLoginUnauthorizedResponseBody

func ValidateLoginUnauthorizedResponseBody(body *LoginUnauthorizedResponseBody) (err error)

ValidateLoginUnauthorizedResponseBody runs the validations defined on login_unauthorized_response_body

func ValidateLoginUserUnverifiedResponseBody

func ValidateLoginUserUnverifiedResponseBody(body *LoginUserUnverifiedResponseBody) (err error)

ValidateLoginUserUnverifiedResponseBody runs the validations defined on login_user-unverified_response_body

func ValidateLogoutBadRequestResponseBody

func ValidateLogoutBadRequestResponseBody(body *LogoutBadRequestResponseBody) (err error)

ValidateLogoutBadRequestResponseBody runs the validations defined on logout_bad-request_response_body

func ValidateLogoutForbiddenResponseBody

func ValidateLogoutForbiddenResponseBody(body *LogoutForbiddenResponseBody) (err error)

ValidateLogoutForbiddenResponseBody runs the validations defined on logout_forbidden_response_body

func ValidateLogoutNotFoundResponseBody

func ValidateLogoutNotFoundResponseBody(body *LogoutNotFoundResponseBody) (err error)

ValidateLogoutNotFoundResponseBody runs the validations defined on logout_not-found_response_body

func ValidateLogoutUnauthorizedResponseBody

func ValidateLogoutUnauthorizedResponseBody(body *LogoutUnauthorizedResponseBody) (err error)

ValidateLogoutUnauthorizedResponseBody runs the validations defined on logout_unauthorized_response_body

func ValidateMentionableUserCollectionResponseBody

func ValidateMentionableUserCollectionResponseBody(body MentionableUserCollectionResponseBody) (err error)

ValidateMentionableUserCollectionResponseBody runs the validations defined on MentionableUserCollectionResponseBody

func ValidateMentionableUserResponseBody

func ValidateMentionableUserResponseBody(body *MentionableUserResponseBody) (err error)

ValidateMentionableUserResponseBody runs the validations defined on MentionableUserResponseBody

func ValidateMentionablesBadRequestResponseBody

func ValidateMentionablesBadRequestResponseBody(body *MentionablesBadRequestResponseBody) (err error)

ValidateMentionablesBadRequestResponseBody runs the validations defined on mentionables_bad-request_response_body

func ValidateMentionablesForbiddenResponseBody

func ValidateMentionablesForbiddenResponseBody(body *MentionablesForbiddenResponseBody) (err error)

ValidateMentionablesForbiddenResponseBody runs the validations defined on mentionables_forbidden_response_body

func ValidateMentionablesNotFoundResponseBody

func ValidateMentionablesNotFoundResponseBody(body *MentionablesNotFoundResponseBody) (err error)

ValidateMentionablesNotFoundResponseBody runs the validations defined on mentionables_not-found_response_body

func ValidateMentionablesUnauthorizedResponseBody

func ValidateMentionablesUnauthorizedResponseBody(body *MentionablesUnauthorizedResponseBody) (err error)

ValidateMentionablesUnauthorizedResponseBody runs the validations defined on mentionables_unauthorized_response_body

func ValidateProjectRoleResponse

func ValidateProjectRoleResponse(body *ProjectRoleResponse) (err error)

ValidateProjectRoleResponse runs the validations defined on ProjectRoleResponse

func ValidateProjectRolesBadRequestResponseBody

func ValidateProjectRolesBadRequestResponseBody(body *ProjectRolesBadRequestResponseBody) (err error)

ValidateProjectRolesBadRequestResponseBody runs the validations defined on project roles_bad-request_response_body

func ValidateProjectRolesForbiddenResponseBody

func ValidateProjectRolesForbiddenResponseBody(body *ProjectRolesForbiddenResponseBody) (err error)

ValidateProjectRolesForbiddenResponseBody runs the validations defined on project roles_forbidden_response_body

func ValidateProjectRolesNotFoundResponseBody

func ValidateProjectRolesNotFoundResponseBody(body *ProjectRolesNotFoundResponseBody) (err error)

ValidateProjectRolesNotFoundResponseBody runs the validations defined on project roles_not-found_response_body

func ValidateProjectRolesUnauthorizedResponseBody

func ValidateProjectRolesUnauthorizedResponseBody(body *ProjectRolesUnauthorizedResponseBody) (err error)

ValidateProjectRolesUnauthorizedResponseBody runs the validations defined on project roles_unauthorized_response_body

func ValidateProjectUserCollectionResponseBody

func ValidateProjectUserCollectionResponseBody(body ProjectUserCollectionResponseBody) (err error)

ValidateProjectUserCollectionResponseBody runs the validations defined on ProjectUserCollectionResponseBody

func ValidateProjectUserResponseBody

func ValidateProjectUserResponseBody(body *ProjectUserResponseBody) (err error)

ValidateProjectUserResponseBody runs the validations defined on ProjectUserResponseBody

func ValidateRecoveryBadRequestResponseBody

func ValidateRecoveryBadRequestResponseBody(body *RecoveryBadRequestResponseBody) (err error)

ValidateRecoveryBadRequestResponseBody runs the validations defined on recovery_bad-request_response_body

func ValidateRecoveryForbiddenResponseBody

func ValidateRecoveryForbiddenResponseBody(body *RecoveryForbiddenResponseBody) (err error)

ValidateRecoveryForbiddenResponseBody runs the validations defined on recovery_forbidden_response_body

func ValidateRecoveryLookupBadRequestResponseBody

func ValidateRecoveryLookupBadRequestResponseBody(body *RecoveryLookupBadRequestResponseBody) (err error)

ValidateRecoveryLookupBadRequestResponseBody runs the validations defined on recovery lookup_bad-request_response_body

func ValidateRecoveryLookupForbiddenResponseBody

func ValidateRecoveryLookupForbiddenResponseBody(body *RecoveryLookupForbiddenResponseBody) (err error)

ValidateRecoveryLookupForbiddenResponseBody runs the validations defined on recovery lookup_forbidden_response_body

func ValidateRecoveryLookupNotFoundResponseBody

func ValidateRecoveryLookupNotFoundResponseBody(body *RecoveryLookupNotFoundResponseBody) (err error)

ValidateRecoveryLookupNotFoundResponseBody runs the validations defined on recovery lookup_not-found_response_body

func ValidateRecoveryLookupUnauthorizedResponseBody

func ValidateRecoveryLookupUnauthorizedResponseBody(body *RecoveryLookupUnauthorizedResponseBody) (err error)

ValidateRecoveryLookupUnauthorizedResponseBody runs the validations defined on recovery lookup_unauthorized_response_body

func ValidateRecoveryNotFoundResponseBody

func ValidateRecoveryNotFoundResponseBody(body *RecoveryNotFoundResponseBody) (err error)

ValidateRecoveryNotFoundResponseBody runs the validations defined on recovery_not-found_response_body

func ValidateRecoveryUnauthorizedResponseBody

func ValidateRecoveryUnauthorizedResponseBody(body *RecoveryUnauthorizedResponseBody) (err error)

ValidateRecoveryUnauthorizedResponseBody runs the validations defined on recovery_unauthorized_response_body

func ValidateRefreshBadRequestResponseBody

func ValidateRefreshBadRequestResponseBody(body *RefreshBadRequestResponseBody) (err error)

ValidateRefreshBadRequestResponseBody runs the validations defined on refresh_bad-request_response_body

func ValidateRefreshForbiddenResponseBody

func ValidateRefreshForbiddenResponseBody(body *RefreshForbiddenResponseBody) (err error)

ValidateRefreshForbiddenResponseBody runs the validations defined on refresh_forbidden_response_body

func ValidateRefreshNotFoundResponseBody

func ValidateRefreshNotFoundResponseBody(body *RefreshNotFoundResponseBody) (err error)

ValidateRefreshNotFoundResponseBody runs the validations defined on refresh_not-found_response_body

func ValidateRefreshUnauthorizedResponseBody

func ValidateRefreshUnauthorizedResponseBody(body *RefreshUnauthorizedResponseBody) (err error)

ValidateRefreshUnauthorizedResponseBody runs the validations defined on refresh_unauthorized_response_body

func ValidateResumeBadRequestResponseBody

func ValidateResumeBadRequestResponseBody(body *ResumeBadRequestResponseBody) (err error)

ValidateResumeBadRequestResponseBody runs the validations defined on resume_bad-request_response_body

func ValidateResumeForbiddenResponseBody

func ValidateResumeForbiddenResponseBody(body *ResumeForbiddenResponseBody) (err error)

ValidateResumeForbiddenResponseBody runs the validations defined on resume_forbidden_response_body

func ValidateResumeNotFoundResponseBody

func ValidateResumeNotFoundResponseBody(body *ResumeNotFoundResponseBody) (err error)

ValidateResumeNotFoundResponseBody runs the validations defined on resume_not-found_response_body

func ValidateResumeUnauthorizedResponseBody

func ValidateResumeUnauthorizedResponseBody(body *ResumeUnauthorizedResponseBody) (err error)

ValidateResumeUnauthorizedResponseBody runs the validations defined on resume_unauthorized_response_body

func ValidateRolesBadRequestResponseBody

func ValidateRolesBadRequestResponseBody(body *RolesBadRequestResponseBody) (err error)

ValidateRolesBadRequestResponseBody runs the validations defined on roles_bad-request_response_body

func ValidateRolesForbiddenResponseBody

func ValidateRolesForbiddenResponseBody(body *RolesForbiddenResponseBody) (err error)

ValidateRolesForbiddenResponseBody runs the validations defined on roles_forbidden_response_body

func ValidateRolesNotFoundResponseBody

func ValidateRolesNotFoundResponseBody(body *RolesNotFoundResponseBody) (err error)

ValidateRolesNotFoundResponseBody runs the validations defined on roles_not-found_response_body

func ValidateRolesUnauthorizedResponseBody

func ValidateRolesUnauthorizedResponseBody(body *RolesUnauthorizedResponseBody) (err error)

ValidateRolesUnauthorizedResponseBody runs the validations defined on roles_unauthorized_response_body

func ValidateSendValidationBadRequestResponseBody

func ValidateSendValidationBadRequestResponseBody(body *SendValidationBadRequestResponseBody) (err error)

ValidateSendValidationBadRequestResponseBody runs the validations defined on send validation_bad-request_response_body

func ValidateSendValidationForbiddenResponseBody

func ValidateSendValidationForbiddenResponseBody(body *SendValidationForbiddenResponseBody) (err error)

ValidateSendValidationForbiddenResponseBody runs the validations defined on send validation_forbidden_response_body

func ValidateSendValidationNotFoundResponseBody

func ValidateSendValidationNotFoundResponseBody(body *SendValidationNotFoundResponseBody) (err error)

ValidateSendValidationNotFoundResponseBody runs the validations defined on send validation_not-found_response_body

func ValidateSendValidationUnauthorizedResponseBody

func ValidateSendValidationUnauthorizedResponseBody(body *SendValidationUnauthorizedResponseBody) (err error)

ValidateSendValidationUnauthorizedResponseBody runs the validations defined on send validation_unauthorized_response_body

func ValidateUpdateBadRequestResponseBody

func ValidateUpdateBadRequestResponseBody(body *UpdateBadRequestResponseBody) (err error)

ValidateUpdateBadRequestResponseBody runs the validations defined on update_bad-request_response_body

func ValidateUpdateForbiddenResponseBody

func ValidateUpdateForbiddenResponseBody(body *UpdateForbiddenResponseBody) (err error)

ValidateUpdateForbiddenResponseBody runs the validations defined on update_forbidden_response_body

func ValidateUpdateNotFoundResponseBody

func ValidateUpdateNotFoundResponseBody(body *UpdateNotFoundResponseBody) (err error)

ValidateUpdateNotFoundResponseBody runs the validations defined on update_not-found_response_body

func ValidateUpdateUnauthorizedResponseBody

func ValidateUpdateUnauthorizedResponseBody(body *UpdateUnauthorizedResponseBody) (err error)

ValidateUpdateUnauthorizedResponseBody runs the validations defined on update_unauthorized_response_body

func ValidateUploadPhotoBadRequestResponseBody

func ValidateUploadPhotoBadRequestResponseBody(body *UploadPhotoBadRequestResponseBody) (err error)

ValidateUploadPhotoBadRequestResponseBody runs the validations defined on upload photo_bad-request_response_body

func ValidateUploadPhotoForbiddenResponseBody

func ValidateUploadPhotoForbiddenResponseBody(body *UploadPhotoForbiddenResponseBody) (err error)

ValidateUploadPhotoForbiddenResponseBody runs the validations defined on upload photo_forbidden_response_body

func ValidateUploadPhotoNotFoundResponseBody

func ValidateUploadPhotoNotFoundResponseBody(body *UploadPhotoNotFoundResponseBody) (err error)

ValidateUploadPhotoNotFoundResponseBody runs the validations defined on upload photo_not-found_response_body

func ValidateUploadPhotoUnauthorizedResponseBody

func ValidateUploadPhotoUnauthorizedResponseBody(body *UploadPhotoUnauthorizedResponseBody) (err error)

ValidateUploadPhotoUnauthorizedResponseBody runs the validations defined on upload photo_unauthorized_response_body

func ValidateUserCollectionResponseBody

func ValidateUserCollectionResponseBody(body UserCollectionResponseBody) (err error)

ValidateUserCollectionResponseBody runs the validations defined on UserCollectionResponseBody

func ValidateUserPath

func ValidateUserPath() string

ValidateUserPath returns the URL path to the user service validate HTTP endpoint.

func ValidateUserResponseBody

func ValidateUserResponseBody(body *UserResponseBody) (err error)

ValidateUserResponseBody runs the validations defined on UserResponseBody

func ValidateValidateBadRequestResponseBody

func ValidateValidateBadRequestResponseBody(body *ValidateBadRequestResponseBody) (err error)

ValidateValidateBadRequestResponseBody runs the validations defined on validate_bad-request_response_body

func ValidateValidateForbiddenResponseBody

func ValidateValidateForbiddenResponseBody(body *ValidateForbiddenResponseBody) (err error)

ValidateValidateForbiddenResponseBody runs the validations defined on validate_forbidden_response_body

func ValidateValidateNotFoundResponseBody

func ValidateValidateNotFoundResponseBody(body *ValidateNotFoundResponseBody) (err error)

ValidateValidateNotFoundResponseBody runs the validations defined on validate_not-found_response_body

func ValidateValidateUnauthorizedResponseBody

func ValidateValidateUnauthorizedResponseBody(body *ValidateUnauthorizedResponseBody) (err error)

ValidateValidateUnauthorizedResponseBody runs the validations defined on validate_unauthorized_response_body

Types

type AcceptTncBadRequestResponseBody

type AcceptTncBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AcceptTncBadRequestResponseBody is the type of the "user" service "accept tnc" endpoint HTTP response body for the "bad-request" error.

type AcceptTncForbiddenResponseBody

type AcceptTncForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AcceptTncForbiddenResponseBody is the type of the "user" service "accept tnc" endpoint HTTP response body for the "forbidden" error.

type AcceptTncNotFoundResponseBody

type AcceptTncNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AcceptTncNotFoundResponseBody is the type of the "user" service "accept tnc" endpoint HTTP response body for the "not-found" error.

type AcceptTncRequestBody

type AcceptTncRequestBody struct {
	Accept bool `form:"accept" json:"accept" xml:"accept"`
}

AcceptTncRequestBody is the type of the "user" service "accept tnc" endpoint HTTP request body.

func NewAcceptTncRequestBody

func NewAcceptTncRequestBody(p *user.AcceptTncPayload) *AcceptTncRequestBody

NewAcceptTncRequestBody builds the HTTP request body from the payload of the "accept tnc" endpoint of the "user" service.

type AcceptTncResponseBody

type AcceptTncResponseBody struct {
	ID        *int32                 `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name      *string                `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Email     *string                `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"`
	Bio       *string                `form:"bio,omitempty" json:"bio,omitempty" xml:"bio,omitempty"`
	Photo     *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"`
	Admin     *bool                  `form:"admin,omitempty" json:"admin,omitempty" xml:"admin,omitempty"`
	UpdatedAt *int64                 `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"`
	TncDate   *int64                 `form:"tncDate,omitempty" json:"tncDate,omitempty" xml:"tncDate,omitempty"`
}

AcceptTncResponseBody is the type of the "user" service "accept tnc" endpoint HTTP response body.

type AcceptTncUnauthorizedResponseBody

type AcceptTncUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AcceptTncUnauthorizedResponseBody is the type of the "user" service "accept tnc" endpoint HTTP response body for the "unauthorized" error.

type AddBadRequestResponseBody

type AddBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AddBadRequestResponseBody is the type of the "user" service "add" endpoint HTTP response body for the "bad-request" error.

type AddForbiddenResponseBody

type AddForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AddForbiddenResponseBody is the type of the "user" service "add" endpoint HTTP response body for the "forbidden" error.

type AddNotFoundResponseBody

type AddNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AddNotFoundResponseBody is the type of the "user" service "add" endpoint HTTP response body for the "not-found" error.

type AddRequestBody

type AddRequestBody struct {
	Name        string  `form:"name" json:"name" xml:"name"`
	Email       string  `form:"email" json:"email" xml:"email"`
	Password    string  `form:"password" json:"password" xml:"password"`
	InviteToken *string `form:"invite_token,omitempty" json:"invite_token,omitempty" xml:"invite_token,omitempty"`
	TncAccept   *bool   `form:"tncAccept,omitempty" json:"tncAccept,omitempty" xml:"tncAccept,omitempty"`
}

AddRequestBody is the type of the "user" service "add" endpoint HTTP request body.

func NewAddRequestBody

func NewAddRequestBody(p *user.AddPayload) *AddRequestBody

NewAddRequestBody builds the HTTP request body from the payload of the "add" endpoint of the "user" service.

type AddResponseBody

type AddResponseBody struct {
	ID        *int32                 `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name      *string                `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Email     *string                `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"`
	Bio       *string                `form:"bio,omitempty" json:"bio,omitempty" xml:"bio,omitempty"`
	Photo     *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"`
	Admin     *bool                  `form:"admin,omitempty" json:"admin,omitempty" xml:"admin,omitempty"`
	UpdatedAt *int64                 `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"`
	TncDate   *int64                 `form:"tncDate,omitempty" json:"tncDate,omitempty" xml:"tncDate,omitempty"`
}

AddResponseBody is the type of the "user" service "add" endpoint HTTP response body.

type AddUnauthorizedResponseBody

type AddUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AddUnauthorizedResponseBody is the type of the "user" service "add" endpoint HTTP response body for the "unauthorized" error.

type AddUserEmailRegisteredResponseBody

type AddUserEmailRegisteredResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AddUserEmailRegisteredResponseBody is the type of the "user" service "add" endpoint HTTP response body for the "user-email-registered" error.

type AdminDeleteBadRequestResponseBody

type AdminDeleteBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminDeleteBadRequestResponseBody is the type of the "user" service "admin delete" endpoint HTTP response body for the "bad-request" error.

type AdminDeleteForbiddenResponseBody

type AdminDeleteForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminDeleteForbiddenResponseBody is the type of the "user" service "admin delete" endpoint HTTP response body for the "forbidden" error.

type AdminDeleteNotFoundResponseBody

type AdminDeleteNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminDeleteNotFoundResponseBody is the type of the "user" service "admin delete" endpoint HTTP response body for the "not-found" error.

type AdminDeleteRequestBody

type AdminDeleteRequestBody struct {
	Email    string `form:"email" json:"email" xml:"email"`
	Password string `form:"password" json:"password" xml:"password"`
}

AdminDeleteRequestBody is the type of the "user" service "admin delete" endpoint HTTP request body.

func NewAdminDeleteRequestBody

func NewAdminDeleteRequestBody(p *user.AdminDeletePayload) *AdminDeleteRequestBody

NewAdminDeleteRequestBody builds the HTTP request body from the payload of the "admin delete" endpoint of the "user" service.

type AdminDeleteUnauthorizedResponseBody

type AdminDeleteUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminDeleteUnauthorizedResponseBody is the type of the "user" service "admin delete" endpoint HTTP response body for the "unauthorized" error.

type AdminSearchBadRequestResponseBody

type AdminSearchBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminSearchBadRequestResponseBody is the type of the "user" service "admin search" endpoint HTTP response body for the "bad-request" error.

type AdminSearchForbiddenResponseBody

type AdminSearchForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminSearchForbiddenResponseBody is the type of the "user" service "admin search" endpoint HTTP response body for the "forbidden" error.

type AdminSearchNotFoundResponseBody

type AdminSearchNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminSearchNotFoundResponseBody is the type of the "user" service "admin search" endpoint HTTP response body for the "not-found" error.

type AdminSearchResponseBody

type AdminSearchResponseBody struct {
	Users UserCollectionResponseBody `form:"users,omitempty" json:"users,omitempty" xml:"users,omitempty"`
}

AdminSearchResponseBody is the type of the "user" service "admin search" endpoint HTTP response body.

type AdminSearchUnauthorizedResponseBody

type AdminSearchUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminSearchUnauthorizedResponseBody is the type of the "user" service "admin search" endpoint HTTP response body for the "unauthorized" error.

type AdminTermsAndConditionsBadRequestResponseBody

type AdminTermsAndConditionsBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminTermsAndConditionsBadRequestResponseBody is the type of the "user" service "admin terms and conditions" endpoint HTTP response body for the "bad-request" error.

type AdminTermsAndConditionsForbiddenResponseBody

type AdminTermsAndConditionsForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminTermsAndConditionsForbiddenResponseBody is the type of the "user" service "admin terms and conditions" endpoint HTTP response body for the "forbidden" error.

type AdminTermsAndConditionsNotFoundResponseBody

type AdminTermsAndConditionsNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminTermsAndConditionsNotFoundResponseBody is the type of the "user" service "admin terms and conditions" endpoint HTTP response body for the "not-found" error.

type AdminTermsAndConditionsRequestBody

type AdminTermsAndConditionsRequestBody struct {
	Email string `form:"email" json:"email" xml:"email"`
}

AdminTermsAndConditionsRequestBody is the type of the "user" service "admin terms and conditions" endpoint HTTP request body.

func NewAdminTermsAndConditionsRequestBody

func NewAdminTermsAndConditionsRequestBody(p *user.AdminTermsAndConditionsPayload) *AdminTermsAndConditionsRequestBody

NewAdminTermsAndConditionsRequestBody builds the HTTP request body from the payload of the "admin terms and conditions" endpoint of the "user" service.

type AdminTermsAndConditionsUnauthorizedResponseBody

type AdminTermsAndConditionsUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

AdminTermsAndConditionsUnauthorizedResponseBody is the type of the "user" service "admin terms and conditions" endpoint HTTP response body for the "unauthorized" error.

type AvailableRoleResponseBody

type AvailableRoleResponseBody struct {
	ID   *int32  `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
}

AvailableRoleResponseBody is used to define fields on response body types.

type ChangePasswordBadRequestResponseBody

type ChangePasswordBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ChangePasswordBadRequestResponseBody is the type of the "user" service "change password" endpoint HTTP response body for the "bad-request" error.

type ChangePasswordForbiddenResponseBody

type ChangePasswordForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ChangePasswordForbiddenResponseBody is the type of the "user" service "change password" endpoint HTTP response body for the "forbidden" error.

type ChangePasswordNotFoundResponseBody

type ChangePasswordNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ChangePasswordNotFoundResponseBody is the type of the "user" service "change password" endpoint HTTP response body for the "not-found" error.

type ChangePasswordRequestBody

type ChangePasswordRequestBody struct {
	OldPassword string `form:"oldPassword" json:"oldPassword" xml:"oldPassword"`
	NewPassword string `form:"newPassword" json:"newPassword" xml:"newPassword"`
}

ChangePasswordRequestBody is the type of the "user" service "change password" endpoint HTTP request body.

func NewChangePasswordRequestBody

func NewChangePasswordRequestBody(p *user.ChangePasswordPayload) *ChangePasswordRequestBody

NewChangePasswordRequestBody builds the HTTP request body from the payload of the "change password" endpoint of the "user" service.

type ChangePasswordResponseBody

type ChangePasswordResponseBody struct {
	ID        *int32                 `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name      *string                `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Email     *string                `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"`
	Bio       *string                `form:"bio,omitempty" json:"bio,omitempty" xml:"bio,omitempty"`
	Photo     *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"`
	Admin     *bool                  `form:"admin,omitempty" json:"admin,omitempty" xml:"admin,omitempty"`
	UpdatedAt *int64                 `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"`
	TncDate   *int64                 `form:"tncDate,omitempty" json:"tncDate,omitempty" xml:"tncDate,omitempty"`
}

ChangePasswordResponseBody is the type of the "user" service "change password" endpoint HTTP response body.

type ChangePasswordUnauthorizedResponseBody

type ChangePasswordUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ChangePasswordUnauthorizedResponseBody is the type of the "user" service "change password" endpoint HTTP response body for the "unauthorized" error.

type Client

type Client struct {
	// Roles Doer is the HTTP client used to make requests to the roles endpoint.
	RolesDoer goahttp.Doer

	// UploadPhoto Doer is the HTTP client used to make requests to the upload
	// photo endpoint.
	UploadPhotoDoer goahttp.Doer

	// DownloadPhoto Doer is the HTTP client used to make requests to the download
	// photo endpoint.
	DownloadPhotoDoer goahttp.Doer

	// Login Doer is the HTTP client used to make requests to the login endpoint.
	LoginDoer goahttp.Doer

	// RecoveryLookup Doer is the HTTP client used to make requests to the recovery
	// lookup endpoint.
	RecoveryLookupDoer goahttp.Doer

	// Recovery Doer is the HTTP client used to make requests to the recovery
	// endpoint.
	RecoveryDoer goahttp.Doer

	// Resume Doer is the HTTP client used to make requests to the resume endpoint.
	ResumeDoer goahttp.Doer

	// Logout Doer is the HTTP client used to make requests to the logout endpoint.
	LogoutDoer goahttp.Doer

	// Refresh Doer is the HTTP client used to make requests to the refresh
	// endpoint.
	RefreshDoer goahttp.Doer

	// SendValidation Doer is the HTTP client used to make requests to the send
	// validation endpoint.
	SendValidationDoer goahttp.Doer

	// Validate Doer is the HTTP client used to make requests to the validate
	// endpoint.
	ValidateDoer goahttp.Doer

	// Add Doer is the HTTP client used to make requests to the add endpoint.
	AddDoer goahttp.Doer

	// Update Doer is the HTTP client used to make requests to the update endpoint.
	UpdateDoer goahttp.Doer

	// ChangePassword Doer is the HTTP client used to make requests to the change
	// password endpoint.
	ChangePasswordDoer goahttp.Doer

	// AcceptTnc Doer is the HTTP client used to make requests to the accept tnc
	// endpoint.
	AcceptTncDoer goahttp.Doer

	// GetCurrent Doer is the HTTP client used to make requests to the get current
	// endpoint.
	GetCurrentDoer goahttp.Doer

	// ListByProject Doer is the HTTP client used to make requests to the list by
	// project endpoint.
	ListByProjectDoer goahttp.Doer

	// IssueTransmissionToken Doer is the HTTP client used to make requests to the
	// issue transmission token endpoint.
	IssueTransmissionTokenDoer goahttp.Doer

	// ProjectRoles Doer is the HTTP client used to make requests to the project
	// roles endpoint.
	ProjectRolesDoer goahttp.Doer

	// AdminTermsAndConditions Doer is the HTTP client used to make requests to the
	// admin terms and conditions endpoint.
	AdminTermsAndConditionsDoer goahttp.Doer

	// AdminDelete Doer is the HTTP client used to make requests to the admin
	// delete endpoint.
	AdminDeleteDoer goahttp.Doer

	// AdminSearch Doer is the HTTP client used to make requests to the admin
	// search endpoint.
	AdminSearchDoer goahttp.Doer

	// Mentionables Doer is the HTTP client used to make requests to the
	// mentionables endpoint.
	MentionablesDoer goahttp.Doer

	// CORS Doer is the HTTP client used to make requests to the  endpoint.
	CORSDoer goahttp.Doer

	// RestoreResponseBody controls whether the response bodies are reset after
	// decoding so they can be read again.
	RestoreResponseBody bool
	// contains filtered or unexported fields
}

Client lists the user service endpoint HTTP clients.

func NewClient

func NewClient(
	scheme string,
	host string,
	doer goahttp.Doer,
	enc func(*http.Request) goahttp.Encoder,
	dec func(*http.Response) goahttp.Decoder,
	restoreBody bool,
) *Client

NewClient instantiates HTTP clients for all the user service servers.

func (*Client) AcceptTnc

func (c *Client) AcceptTnc() goa.Endpoint

AcceptTnc returns an endpoint that makes HTTP requests to the user service accept tnc server.

func (*Client) Add

func (c *Client) Add() goa.Endpoint

Add returns an endpoint that makes HTTP requests to the user service add server.

func (*Client) AdminDelete

func (c *Client) AdminDelete() goa.Endpoint

AdminDelete returns an endpoint that makes HTTP requests to the user service admin delete server.

func (*Client) AdminSearch

func (c *Client) AdminSearch() goa.Endpoint

AdminSearch returns an endpoint that makes HTTP requests to the user service admin search server.

func (*Client) AdminTermsAndConditions

func (c *Client) AdminTermsAndConditions() goa.Endpoint

AdminTermsAndConditions returns an endpoint that makes HTTP requests to the user service admin terms and conditions server.

func (*Client) BuildAcceptTncRequest

func (c *Client) BuildAcceptTncRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildAcceptTncRequest instantiates a HTTP request object with method and path set to call the "user" service "accept tnc" endpoint

func (*Client) BuildAddRequest

func (c *Client) BuildAddRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildAddRequest instantiates a HTTP request object with method and path set to call the "user" service "add" endpoint

func (*Client) BuildAdminDeleteRequest

func (c *Client) BuildAdminDeleteRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildAdminDeleteRequest instantiates a HTTP request object with method and path set to call the "user" service "admin delete" endpoint

func (*Client) BuildAdminSearchRequest

func (c *Client) BuildAdminSearchRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildAdminSearchRequest instantiates a HTTP request object with method and path set to call the "user" service "admin search" endpoint

func (*Client) BuildAdminTermsAndConditionsRequest

func (c *Client) BuildAdminTermsAndConditionsRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildAdminTermsAndConditionsRequest instantiates a HTTP request object with method and path set to call the "user" service "admin terms and conditions" endpoint

func (*Client) BuildChangePasswordRequest

func (c *Client) BuildChangePasswordRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildChangePasswordRequest instantiates a HTTP request object with method and path set to call the "user" service "change password" endpoint

func (*Client) BuildDownloadPhotoRequest

func (c *Client) BuildDownloadPhotoRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildDownloadPhotoRequest instantiates a HTTP request object with method and path set to call the "user" service "download photo" endpoint

func (*Client) BuildGetCurrentRequest

func (c *Client) BuildGetCurrentRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildGetCurrentRequest instantiates a HTTP request object with method and path set to call the "user" service "get current" endpoint

func (*Client) BuildIssueTransmissionTokenRequest

func (c *Client) BuildIssueTransmissionTokenRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildIssueTransmissionTokenRequest instantiates a HTTP request object with method and path set to call the "user" service "issue transmission token" endpoint

func (*Client) BuildListByProjectRequest

func (c *Client) BuildListByProjectRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildListByProjectRequest instantiates a HTTP request object with method and path set to call the "user" service "list by project" endpoint

func (*Client) BuildLoginRequest

func (c *Client) BuildLoginRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildLoginRequest instantiates a HTTP request object with method and path set to call the "user" service "login" endpoint

func (*Client) BuildLogoutRequest

func (c *Client) BuildLogoutRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildLogoutRequest instantiates a HTTP request object with method and path set to call the "user" service "logout" endpoint

func (*Client) BuildMentionablesRequest

func (c *Client) BuildMentionablesRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildMentionablesRequest instantiates a HTTP request object with method and path set to call the "user" service "mentionables" endpoint

func (*Client) BuildProjectRolesRequest

func (c *Client) BuildProjectRolesRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildProjectRolesRequest instantiates a HTTP request object with method and path set to call the "user" service "project roles" endpoint

func (*Client) BuildRecoveryLookupRequest

func (c *Client) BuildRecoveryLookupRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildRecoveryLookupRequest instantiates a HTTP request object with method and path set to call the "user" service "recovery lookup" endpoint

func (*Client) BuildRecoveryRequest

func (c *Client) BuildRecoveryRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildRecoveryRequest instantiates a HTTP request object with method and path set to call the "user" service "recovery" endpoint

func (*Client) BuildRefreshRequest

func (c *Client) BuildRefreshRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildRefreshRequest instantiates a HTTP request object with method and path set to call the "user" service "refresh" endpoint

func (*Client) BuildResumeRequest

func (c *Client) BuildResumeRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildResumeRequest instantiates a HTTP request object with method and path set to call the "user" service "resume" endpoint

func (*Client) BuildRolesRequest

func (c *Client) BuildRolesRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildRolesRequest instantiates a HTTP request object with method and path set to call the "user" service "roles" endpoint

func (*Client) BuildSendValidationRequest

func (c *Client) BuildSendValidationRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildSendValidationRequest instantiates a HTTP request object with method and path set to call the "user" service "send validation" endpoint

func (*Client) BuildUpdateRequest

func (c *Client) BuildUpdateRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildUpdateRequest instantiates a HTTP request object with method and path set to call the "user" service "update" endpoint

func (*Client) BuildUploadPhotoRequest

func (c *Client) BuildUploadPhotoRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildUploadPhotoRequest instantiates a HTTP request object with method and path set to call the "user" service "upload photo" endpoint

func (*Client) BuildValidateRequest

func (c *Client) BuildValidateRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildValidateRequest instantiates a HTTP request object with method and path set to call the "user" service "validate" endpoint

func (*Client) ChangePassword

func (c *Client) ChangePassword() goa.Endpoint

ChangePassword returns an endpoint that makes HTTP requests to the user service change password server.

func (*Client) DownloadPhoto

func (c *Client) DownloadPhoto() goa.Endpoint

DownloadPhoto returns an endpoint that makes HTTP requests to the user service download photo server.

func (*Client) GetCurrent

func (c *Client) GetCurrent() goa.Endpoint

GetCurrent returns an endpoint that makes HTTP requests to the user service get current server.

func (*Client) IssueTransmissionToken

func (c *Client) IssueTransmissionToken() goa.Endpoint

IssueTransmissionToken returns an endpoint that makes HTTP requests to the user service issue transmission token server.

func (*Client) ListByProject

func (c *Client) ListByProject() goa.Endpoint

ListByProject returns an endpoint that makes HTTP requests to the user service list by project server.

func (*Client) Login

func (c *Client) Login() goa.Endpoint

Login returns an endpoint that makes HTTP requests to the user service login server.

func (*Client) Logout

func (c *Client) Logout() goa.Endpoint

Logout returns an endpoint that makes HTTP requests to the user service logout server.

func (*Client) Mentionables

func (c *Client) Mentionables() goa.Endpoint

Mentionables returns an endpoint that makes HTTP requests to the user service mentionables server.

func (*Client) ProjectRoles

func (c *Client) ProjectRoles() goa.Endpoint

ProjectRoles returns an endpoint that makes HTTP requests to the user service project roles server.

func (*Client) Recovery

func (c *Client) Recovery() goa.Endpoint

Recovery returns an endpoint that makes HTTP requests to the user service recovery server.

func (*Client) RecoveryLookup

func (c *Client) RecoveryLookup() goa.Endpoint

RecoveryLookup returns an endpoint that makes HTTP requests to the user service recovery lookup server.

func (*Client) Refresh

func (c *Client) Refresh() goa.Endpoint

Refresh returns an endpoint that makes HTTP requests to the user service refresh server.

func (*Client) Resume

func (c *Client) Resume() goa.Endpoint

Resume returns an endpoint that makes HTTP requests to the user service resume server.

func (*Client) Roles

func (c *Client) Roles() goa.Endpoint

Roles returns an endpoint that makes HTTP requests to the user service roles server.

func (*Client) SendValidation

func (c *Client) SendValidation() goa.Endpoint

SendValidation returns an endpoint that makes HTTP requests to the user service send validation server.

func (*Client) Update

func (c *Client) Update() goa.Endpoint

Update returns an endpoint that makes HTTP requests to the user service update server.

func (*Client) UploadPhoto

func (c *Client) UploadPhoto() goa.Endpoint

UploadPhoto returns an endpoint that makes HTTP requests to the user service upload photo server.

func (*Client) Validate

func (c *Client) Validate() goa.Endpoint

Validate returns an endpoint that makes HTTP requests to the user service validate server.

type DownloadPhotoBadRequestResponseBody

type DownloadPhotoBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DownloadPhotoBadRequestResponseBody is the type of the "user" service "download photo" endpoint HTTP response body for the "bad-request" error.

type DownloadPhotoForbiddenResponseBody

type DownloadPhotoForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DownloadPhotoForbiddenResponseBody is the type of the "user" service "download photo" endpoint HTTP response body for the "forbidden" error.

type DownloadPhotoNotFoundResponseBody

type DownloadPhotoNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DownloadPhotoNotFoundResponseBody is the type of the "user" service "download photo" endpoint HTTP response body for the "not-found" error.

type DownloadPhotoResponseBody

type DownloadPhotoResponseBody struct {
	Length      *int64  `form:"length,omitempty" json:"length,omitempty" xml:"length,omitempty"`
	ContentType *string `form:"contentType,omitempty" json:"contentType,omitempty" xml:"contentType,omitempty"`
	Etag        *string `form:"etag,omitempty" json:"etag,omitempty" xml:"etag,omitempty"`
	Body        []byte  `form:"body,omitempty" json:"body,omitempty" xml:"body,omitempty"`
}

DownloadPhotoResponseBody is the type of the "user" service "download photo" endpoint HTTP response body.

type DownloadPhotoUnauthorizedResponseBody

type DownloadPhotoUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

DownloadPhotoUnauthorizedResponseBody is the type of the "user" service "download photo" endpoint HTTP response body for the "unauthorized" error.

type GetCurrentBadRequestResponseBody

type GetCurrentBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

GetCurrentBadRequestResponseBody is the type of the "user" service "get current" endpoint HTTP response body for the "bad-request" error.

type GetCurrentForbiddenResponseBody

type GetCurrentForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

GetCurrentForbiddenResponseBody is the type of the "user" service "get current" endpoint HTTP response body for the "forbidden" error.

type GetCurrentNotFoundResponseBody

type GetCurrentNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

GetCurrentNotFoundResponseBody is the type of the "user" service "get current" endpoint HTTP response body for the "not-found" error.

type GetCurrentResponseBody

type GetCurrentResponseBody struct {
	ID        *int32                 `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name      *string                `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Email     *string                `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"`
	Bio       *string                `form:"bio,omitempty" json:"bio,omitempty" xml:"bio,omitempty"`
	Photo     *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"`
	Admin     *bool                  `form:"admin,omitempty" json:"admin,omitempty" xml:"admin,omitempty"`
	UpdatedAt *int64                 `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"`
	TncDate   *int64                 `form:"tncDate,omitempty" json:"tncDate,omitempty" xml:"tncDate,omitempty"`
}

GetCurrentResponseBody is the type of the "user" service "get current" endpoint HTTP response body.

type GetCurrentUnauthorizedResponseBody

type GetCurrentUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

GetCurrentUnauthorizedResponseBody is the type of the "user" service "get current" endpoint HTTP response body for the "unauthorized" error.

type IssueTransmissionTokenBadRequestResponseBody

type IssueTransmissionTokenBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

IssueTransmissionTokenBadRequestResponseBody is the type of the "user" service "issue transmission token" endpoint HTTP response body for the "bad-request" error.

type IssueTransmissionTokenForbiddenResponseBody

type IssueTransmissionTokenForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

IssueTransmissionTokenForbiddenResponseBody is the type of the "user" service "issue transmission token" endpoint HTTP response body for the "forbidden" error.

type IssueTransmissionTokenNotFoundResponseBody

type IssueTransmissionTokenNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

IssueTransmissionTokenNotFoundResponseBody is the type of the "user" service "issue transmission token" endpoint HTTP response body for the "not-found" error.

type IssueTransmissionTokenResponseBody

type IssueTransmissionTokenResponseBody struct {
	Token *string `form:"token,omitempty" json:"token,omitempty" xml:"token,omitempty"`
	URL   *string `form:"url,omitempty" json:"url,omitempty" xml:"url,omitempty"`
}

IssueTransmissionTokenResponseBody is the type of the "user" service "issue transmission token" endpoint HTTP response body.

type IssueTransmissionTokenUnauthorizedResponseBody

type IssueTransmissionTokenUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

IssueTransmissionTokenUnauthorizedResponseBody is the type of the "user" service "issue transmission token" endpoint HTTP response body for the "unauthorized" error.

type ListByProjectBadRequestResponseBody

type ListByProjectBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListByProjectBadRequestResponseBody is the type of the "user" service "list by project" endpoint HTTP response body for the "bad-request" error.

type ListByProjectForbiddenResponseBody

type ListByProjectForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListByProjectForbiddenResponseBody is the type of the "user" service "list by project" endpoint HTTP response body for the "forbidden" error.

type ListByProjectNotFoundResponseBody

type ListByProjectNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListByProjectNotFoundResponseBody is the type of the "user" service "list by project" endpoint HTTP response body for the "not-found" error.

type ListByProjectResponseBody

type ListByProjectResponseBody struct {
	Users ProjectUserCollectionResponseBody `form:"users,omitempty" json:"users,omitempty" xml:"users,omitempty"`
}

ListByProjectResponseBody is the type of the "user" service "list by project" endpoint HTTP response body.

type ListByProjectUnauthorizedResponseBody

type ListByProjectUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListByProjectUnauthorizedResponseBody is the type of the "user" service "list by project" endpoint HTTP response body for the "unauthorized" error.

type LoginBadRequestResponseBody

type LoginBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

LoginBadRequestResponseBody is the type of the "user" service "login" endpoint HTTP response body for the "bad-request" error.

type LoginForbiddenResponseBody

type LoginForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

LoginForbiddenResponseBody is the type of the "user" service "login" endpoint HTTP response body for the "forbidden" error.

type LoginNotFoundResponseBody

type LoginNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

LoginNotFoundResponseBody is the type of the "user" service "login" endpoint HTTP response body for the "not-found" error.

type LoginRequestBody

type LoginRequestBody struct {
	Email    string `form:"email" json:"email" xml:"email"`
	Password string `form:"password" json:"password" xml:"password"`
}

LoginRequestBody is the type of the "user" service "login" endpoint HTTP request body.

func NewLoginRequestBody

func NewLoginRequestBody(p *user.LoginPayload) *LoginRequestBody

NewLoginRequestBody builds the HTTP request body from the payload of the "login" endpoint of the "user" service.

type LoginUnauthorizedResponseBody

type LoginUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

LoginUnauthorizedResponseBody is the type of the "user" service "login" endpoint HTTP response body for the "unauthorized" error.

type LoginUserUnverifiedResponseBody

type LoginUserUnverifiedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

LoginUserUnverifiedResponseBody is the type of the "user" service "login" endpoint HTTP response body for the "user-unverified" error.

type LogoutBadRequestResponseBody

type LogoutBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

LogoutBadRequestResponseBody is the type of the "user" service "logout" endpoint HTTP response body for the "bad-request" error.

type LogoutForbiddenResponseBody

type LogoutForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

LogoutForbiddenResponseBody is the type of the "user" service "logout" endpoint HTTP response body for the "forbidden" error.

type LogoutNotFoundResponseBody

type LogoutNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

LogoutNotFoundResponseBody is the type of the "user" service "logout" endpoint HTTP response body for the "not-found" error.

type LogoutUnauthorizedResponseBody

type LogoutUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

LogoutUnauthorizedResponseBody is the type of the "user" service "logout" endpoint HTTP response body for the "unauthorized" error.

type MentionableUserCollectionResponseBody

type MentionableUserCollectionResponseBody []*MentionableUserResponseBody

MentionableUserCollectionResponseBody is used to define fields on response body types.

type MentionableUserResponseBody

type MentionableUserResponseBody struct {
	ID      *int32                 `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name    *string                `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Mention *string                `form:"mention,omitempty" json:"mention,omitempty" xml:"mention,omitempty"`
	Photo   *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"`
}

MentionableUserResponseBody is used to define fields on response body types.

type MentionablesBadRequestResponseBody

type MentionablesBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

MentionablesBadRequestResponseBody is the type of the "user" service "mentionables" endpoint HTTP response body for the "bad-request" error.

type MentionablesForbiddenResponseBody

type MentionablesForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

MentionablesForbiddenResponseBody is the type of the "user" service "mentionables" endpoint HTTP response body for the "forbidden" error.

type MentionablesNotFoundResponseBody

type MentionablesNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

MentionablesNotFoundResponseBody is the type of the "user" service "mentionables" endpoint HTTP response body for the "not-found" error.

type MentionablesResponseBody

type MentionablesResponseBody struct {
	Users MentionableUserCollectionResponseBody `form:"users,omitempty" json:"users,omitempty" xml:"users,omitempty"`
}

MentionablesResponseBody is the type of the "user" service "mentionables" endpoint HTTP response body.

type MentionablesUnauthorizedResponseBody

type MentionablesUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

MentionablesUnauthorizedResponseBody is the type of the "user" service "mentionables" endpoint HTTP response body for the "unauthorized" error.

type ProjectRoleResponse

type ProjectRoleResponse struct {
	ID   *int32  `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
}

ProjectRoleResponse is used to define fields on response body types.

type ProjectRolesBadRequestResponseBody

type ProjectRolesBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ProjectRolesBadRequestResponseBody is the type of the "user" service "project roles" endpoint HTTP response body for the "bad-request" error.

type ProjectRolesForbiddenResponseBody

type ProjectRolesForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ProjectRolesForbiddenResponseBody is the type of the "user" service "project roles" endpoint HTTP response body for the "forbidden" error.

type ProjectRolesNotFoundResponseBody

type ProjectRolesNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ProjectRolesNotFoundResponseBody is the type of the "user" service "project roles" endpoint HTTP response body for the "not-found" error.

type ProjectRolesResponseBody

type ProjectRolesResponseBody []*ProjectRoleResponse

ProjectRolesResponseBody is the type of the "user" service "project roles" endpoint HTTP response body.

type ProjectRolesUnauthorizedResponseBody

type ProjectRolesUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ProjectRolesUnauthorizedResponseBody is the type of the "user" service "project roles" endpoint HTTP response body for the "unauthorized" error.

type ProjectUserCollectionResponseBody

type ProjectUserCollectionResponseBody []*ProjectUserResponseBody

ProjectUserCollectionResponseBody is used to define fields on response body types.

type ProjectUserResponseBody

type ProjectUserResponseBody struct {
	User       *UserResponseBody `form:"user,omitempty" json:"user,omitempty" xml:"user,omitempty"`
	Role       *string           `form:"role,omitempty" json:"role,omitempty" xml:"role,omitempty"`
	Membership *string           `form:"membership,omitempty" json:"membership,omitempty" xml:"membership,omitempty"`
	Invited    *bool             `form:"invited,omitempty" json:"invited,omitempty" xml:"invited,omitempty"`
	Accepted   *bool             `form:"accepted,omitempty" json:"accepted,omitempty" xml:"accepted,omitempty"`
	Rejected   *bool             `form:"rejected,omitempty" json:"rejected,omitempty" xml:"rejected,omitempty"`
}

ProjectUserResponseBody is used to define fields on response body types.

type RecoveryBadRequestResponseBody

type RecoveryBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RecoveryBadRequestResponseBody is the type of the "user" service "recovery" endpoint HTTP response body for the "bad-request" error.

type RecoveryForbiddenResponseBody

type RecoveryForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RecoveryForbiddenResponseBody is the type of the "user" service "recovery" endpoint HTTP response body for the "forbidden" error.

type RecoveryLookupBadRequestResponseBody

type RecoveryLookupBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RecoveryLookupBadRequestResponseBody is the type of the "user" service "recovery lookup" endpoint HTTP response body for the "bad-request" error.

type RecoveryLookupForbiddenResponseBody

type RecoveryLookupForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RecoveryLookupForbiddenResponseBody is the type of the "user" service "recovery lookup" endpoint HTTP response body for the "forbidden" error.

type RecoveryLookupNotFoundResponseBody

type RecoveryLookupNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RecoveryLookupNotFoundResponseBody is the type of the "user" service "recovery lookup" endpoint HTTP response body for the "not-found" error.

type RecoveryLookupRequestBody

type RecoveryLookupRequestBody struct {
	Email string `form:"email" json:"email" xml:"email"`
}

RecoveryLookupRequestBody is the type of the "user" service "recovery lookup" endpoint HTTP request body.

func NewRecoveryLookupRequestBody

func NewRecoveryLookupRequestBody(p *user.RecoveryLookupPayload) *RecoveryLookupRequestBody

NewRecoveryLookupRequestBody builds the HTTP request body from the payload of the "recovery lookup" endpoint of the "user" service.

type RecoveryLookupUnauthorizedResponseBody

type RecoveryLookupUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RecoveryLookupUnauthorizedResponseBody is the type of the "user" service "recovery lookup" endpoint HTTP response body for the "unauthorized" error.

type RecoveryNotFoundResponseBody

type RecoveryNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RecoveryNotFoundResponseBody is the type of the "user" service "recovery" endpoint HTTP response body for the "not-found" error.

type RecoveryRequestBody

type RecoveryRequestBody struct {
	Token    string `form:"token" json:"token" xml:"token"`
	Password string `form:"password" json:"password" xml:"password"`
}

RecoveryRequestBody is the type of the "user" service "recovery" endpoint HTTP request body.

func NewRecoveryRequestBody

func NewRecoveryRequestBody(p *user.RecoveryPayload) *RecoveryRequestBody

NewRecoveryRequestBody builds the HTTP request body from the payload of the "recovery" endpoint of the "user" service.

type RecoveryUnauthorizedResponseBody

type RecoveryUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RecoveryUnauthorizedResponseBody is the type of the "user" service "recovery" endpoint HTTP response body for the "unauthorized" error.

type RefreshBadRequestResponseBody

type RefreshBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RefreshBadRequestResponseBody is the type of the "user" service "refresh" endpoint HTTP response body for the "bad-request" error.

type RefreshForbiddenResponseBody

type RefreshForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RefreshForbiddenResponseBody is the type of the "user" service "refresh" endpoint HTTP response body for the "forbidden" error.

type RefreshNotFoundResponseBody

type RefreshNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RefreshNotFoundResponseBody is the type of the "user" service "refresh" endpoint HTTP response body for the "not-found" error.

type RefreshRequestBody

type RefreshRequestBody struct {
	RefreshToken string `form:"refreshToken" json:"refreshToken" xml:"refreshToken"`
}

RefreshRequestBody is the type of the "user" service "refresh" endpoint HTTP request body.

func NewRefreshRequestBody

func NewRefreshRequestBody(p *user.RefreshPayload) *RefreshRequestBody

NewRefreshRequestBody builds the HTTP request body from the payload of the "refresh" endpoint of the "user" service.

type RefreshUnauthorizedResponseBody

type RefreshUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RefreshUnauthorizedResponseBody is the type of the "user" service "refresh" endpoint HTTP response body for the "unauthorized" error.

type ResumeBadRequestResponseBody

type ResumeBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ResumeBadRequestResponseBody is the type of the "user" service "resume" endpoint HTTP response body for the "bad-request" error.

type ResumeForbiddenResponseBody

type ResumeForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ResumeForbiddenResponseBody is the type of the "user" service "resume" endpoint HTTP response body for the "forbidden" error.

type ResumeNotFoundResponseBody

type ResumeNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ResumeNotFoundResponseBody is the type of the "user" service "resume" endpoint HTTP response body for the "not-found" error.

type ResumeUnauthorizedResponseBody

type ResumeUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ResumeUnauthorizedResponseBody is the type of the "user" service "resume" endpoint HTTP response body for the "unauthorized" error.

type RolesBadRequestResponseBody

type RolesBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RolesBadRequestResponseBody is the type of the "user" service "roles" endpoint HTTP response body for the "bad-request" error.

type RolesForbiddenResponseBody

type RolesForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RolesForbiddenResponseBody is the type of the "user" service "roles" endpoint HTTP response body for the "forbidden" error.

type RolesNotFoundResponseBody

type RolesNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RolesNotFoundResponseBody is the type of the "user" service "roles" endpoint HTTP response body for the "not-found" error.

type RolesResponseBody

type RolesResponseBody struct {
	Roles []*AvailableRoleResponseBody `form:"roles,omitempty" json:"roles,omitempty" xml:"roles,omitempty"`
}

RolesResponseBody is the type of the "user" service "roles" endpoint HTTP response body.

type RolesUnauthorizedResponseBody

type RolesUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

RolesUnauthorizedResponseBody is the type of the "user" service "roles" endpoint HTTP response body for the "unauthorized" error.

type SendValidationBadRequestResponseBody

type SendValidationBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

SendValidationBadRequestResponseBody is the type of the "user" service "send validation" endpoint HTTP response body for the "bad-request" error.

type SendValidationForbiddenResponseBody

type SendValidationForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

SendValidationForbiddenResponseBody is the type of the "user" service "send validation" endpoint HTTP response body for the "forbidden" error.

type SendValidationNotFoundResponseBody

type SendValidationNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

SendValidationNotFoundResponseBody is the type of the "user" service "send validation" endpoint HTTP response body for the "not-found" error.

type SendValidationUnauthorizedResponseBody

type SendValidationUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

SendValidationUnauthorizedResponseBody is the type of the "user" service "send validation" endpoint HTTP response body for the "unauthorized" error.

type UpdateBadRequestResponseBody

type UpdateBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpdateBadRequestResponseBody is the type of the "user" service "update" endpoint HTTP response body for the "bad-request" error.

type UpdateForbiddenResponseBody

type UpdateForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpdateForbiddenResponseBody is the type of the "user" service "update" endpoint HTTP response body for the "forbidden" error.

type UpdateNotFoundResponseBody

type UpdateNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpdateNotFoundResponseBody is the type of the "user" service "update" endpoint HTTP response body for the "not-found" error.

type UpdateRequestBody

type UpdateRequestBody struct {
	Name  string `form:"name" json:"name" xml:"name"`
	Email string `form:"email" json:"email" xml:"email"`
	Bio   string `form:"bio" json:"bio" xml:"bio"`
}

UpdateRequestBody is the type of the "user" service "update" endpoint HTTP request body.

func NewUpdateRequestBody

func NewUpdateRequestBody(p *user.UpdatePayload) *UpdateRequestBody

NewUpdateRequestBody builds the HTTP request body from the payload of the "update" endpoint of the "user" service.

type UpdateResponseBody

type UpdateResponseBody struct {
	ID        *int32                 `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name      *string                `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Email     *string                `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"`
	Bio       *string                `form:"bio,omitempty" json:"bio,omitempty" xml:"bio,omitempty"`
	Photo     *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"`
	Admin     *bool                  `form:"admin,omitempty" json:"admin,omitempty" xml:"admin,omitempty"`
	UpdatedAt *int64                 `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"`
	TncDate   *int64                 `form:"tncDate,omitempty" json:"tncDate,omitempty" xml:"tncDate,omitempty"`
}

UpdateResponseBody is the type of the "user" service "update" endpoint HTTP response body.

type UpdateUnauthorizedResponseBody

type UpdateUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UpdateUnauthorizedResponseBody is the type of the "user" service "update" endpoint HTTP response body for the "unauthorized" error.

type UploadPhotoBadRequestResponseBody

type UploadPhotoBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UploadPhotoBadRequestResponseBody is the type of the "user" service "upload photo" endpoint HTTP response body for the "bad-request" error.

type UploadPhotoForbiddenResponseBody

type UploadPhotoForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UploadPhotoForbiddenResponseBody is the type of the "user" service "upload photo" endpoint HTTP response body for the "forbidden" error.

type UploadPhotoNotFoundResponseBody

type UploadPhotoNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UploadPhotoNotFoundResponseBody is the type of the "user" service "upload photo" endpoint HTTP response body for the "not-found" error.

type UploadPhotoUnauthorizedResponseBody

type UploadPhotoUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

UploadPhotoUnauthorizedResponseBody is the type of the "user" service "upload photo" endpoint HTTP response body for the "unauthorized" error.

type UserCollectionResponseBody

type UserCollectionResponseBody []*UserResponseBody

UserCollectionResponseBody is used to define fields on response body types.

type UserPhotoResponseBody

type UserPhotoResponseBody struct {
	URL *string `form:"url,omitempty" json:"url,omitempty" xml:"url,omitempty"`
}

UserPhotoResponseBody is used to define fields on response body types.

type UserResponseBody

type UserResponseBody struct {
	ID        *int32                 `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	Name      *string                `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Email     *string                `form:"email,omitempty" json:"email,omitempty" xml:"email,omitempty"`
	Bio       *string                `form:"bio,omitempty" json:"bio,omitempty" xml:"bio,omitempty"`
	Photo     *UserPhotoResponseBody `form:"photo,omitempty" json:"photo,omitempty" xml:"photo,omitempty"`
	Admin     *bool                  `form:"admin,omitempty" json:"admin,omitempty" xml:"admin,omitempty"`
	UpdatedAt *int64                 `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"`
	TncDate   *int64                 `form:"tncDate,omitempty" json:"tncDate,omitempty" xml:"tncDate,omitempty"`
}

UserResponseBody is used to define fields on response body types.

type ValidateBadRequestResponseBody

type ValidateBadRequestResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ValidateBadRequestResponseBody is the type of the "user" service "validate" endpoint HTTP response body for the "bad-request" error.

type ValidateForbiddenResponseBody

type ValidateForbiddenResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ValidateForbiddenResponseBody is the type of the "user" service "validate" endpoint HTTP response body for the "forbidden" error.

type ValidateNotFoundResponseBody

type ValidateNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ValidateNotFoundResponseBody is the type of the "user" service "validate" endpoint HTTP response body for the "not-found" error.

type ValidateUnauthorizedResponseBody

type ValidateUnauthorizedResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ValidateUnauthorizedResponseBody is the type of the "user" service "validate" endpoint HTTP response body for the "unauthorized" error.

Jump to

Keyboard shortcuts

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