Documentation ¶
Index ¶
- Constants
- type CreateOrUpdateNote
- type CreateOrUpdateNoteBadRequest
- type CreateOrUpdateNoteHandler
- type CreateOrUpdateNoteHandlerFunc
- type CreateOrUpdateNoteInternalServerError
- type CreateOrUpdateNoteOK
- type CreateOrUpdateNoteParams
- type CreateOrUpdateNoteURL
- func (o *CreateOrUpdateNoteURL) Build() (*url.URL, error)
- func (o *CreateOrUpdateNoteURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateOrUpdateNoteURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateOrUpdateNoteURL) SetBasePath(bp string)
- func (o *CreateOrUpdateNoteURL) String() string
- func (o *CreateOrUpdateNoteURL) StringFull(scheme, host string) string
- func (o *CreateOrUpdateNoteURL) WithBasePath(bp string) *CreateOrUpdateNoteURL
- type CreateOrUpdateUserAddress
- type CreateOrUpdateUserAddressBadRequest
- type CreateOrUpdateUserAddressHandler
- type CreateOrUpdateUserAddressHandlerFunc
- type CreateOrUpdateUserAddressInternalServerError
- type CreateOrUpdateUserAddressOK
- type CreateOrUpdateUserAddressParams
- type CreateOrUpdateUserAddressURL
- func (o *CreateOrUpdateUserAddressURL) Build() (*url.URL, error)
- func (o *CreateOrUpdateUserAddressURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateOrUpdateUserAddressURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateOrUpdateUserAddressURL) SetBasePath(bp string)
- func (o *CreateOrUpdateUserAddressURL) String() string
- func (o *CreateOrUpdateUserAddressURL) StringFull(scheme, host string) string
- func (o *CreateOrUpdateUserAddressURL) WithBasePath(bp string) *CreateOrUpdateUserAddressURL
- type DeleteUserAddress
- type DeleteUserAddressBadRequest
- type DeleteUserAddressHandler
- type DeleteUserAddressHandlerFunc
- type DeleteUserAddressInternalServerError
- type DeleteUserAddressOK
- type DeleteUserAddressParams
- type DeleteUserAddressURL
- func (o *DeleteUserAddressURL) Build() (*url.URL, error)
- func (o *DeleteUserAddressURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteUserAddressURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteUserAddressURL) SetBasePath(bp string)
- func (o *DeleteUserAddressURL) String() string
- func (o *DeleteUserAddressURL) StringFull(scheme, host string) string
- func (o *DeleteUserAddressURL) WithBasePath(bp string) *DeleteUserAddressURL
- type DeleteUserNote
- type DeleteUserNoteBadRequest
- type DeleteUserNoteHandler
- type DeleteUserNoteHandlerFunc
- type DeleteUserNoteInternalServerError
- type DeleteUserNoteOK
- type DeleteUserNoteParams
- type DeleteUserNoteURL
- func (o *DeleteUserNoteURL) Build() (*url.URL, error)
- func (o *DeleteUserNoteURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteUserNoteURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteUserNoteURL) SetBasePath(bp string)
- func (o *DeleteUserNoteURL) String() string
- func (o *DeleteUserNoteURL) StringFull(scheme, host string) string
- func (o *DeleteUserNoteURL) WithBasePath(bp string) *DeleteUserNoteURL
- type GetUserAddresses
- type GetUserAddressesBadRequest
- type GetUserAddressesHandler
- type GetUserAddressesHandlerFunc
- type GetUserAddressesInternalServerError
- type GetUserAddressesOK
- type GetUserAddressesParams
- type GetUserAddressesURL
- func (o *GetUserAddressesURL) Build() (*url.URL, error)
- func (o *GetUserAddressesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetUserAddressesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetUserAddressesURL) SetBasePath(bp string)
- func (o *GetUserAddressesURL) String() string
- func (o *GetUserAddressesURL) StringFull(scheme, host string) string
- func (o *GetUserAddressesURL) WithBasePath(bp string) *GetUserAddressesURL
- type GetUserNotes
- type GetUserNotesBadRequest
- type GetUserNotesHandler
- type GetUserNotesHandlerFunc
- type GetUserNotesInternalServerError
- type GetUserNotesOK
- type GetUserNotesParams
- type GetUserNotesURL
- func (o *GetUserNotesURL) Build() (*url.URL, error)
- func (o *GetUserNotesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetUserNotesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetUserNotesURL) SetBasePath(bp string)
- func (o *GetUserNotesURL) String() string
- func (o *GetUserNotesURL) StringFull(scheme, host string) string
- func (o *GetUserNotesURL) WithBasePath(bp string) *GetUserNotesURL
- type GetUserProfile
- type GetUserProfileBadRequest
- type GetUserProfileHandler
- type GetUserProfileHandlerFunc
- type GetUserProfileInternalServerError
- type GetUserProfileOK
- type GetUserProfileParams
- type GetUserProfileURL
- func (o *GetUserProfileURL) Build() (*url.URL, error)
- func (o *GetUserProfileURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetUserProfileURL) Must(u *url.URL, err error) *url.URL
- func (o *GetUserProfileURL) SetBasePath(bp string)
- func (o *GetUserProfileURL) String() string
- func (o *GetUserProfileURL) StringFull(scheme, host string) string
- func (o *GetUserProfileURL) WithBasePath(bp string) *GetUserProfileURL
- type UpdateProfile
- type UpdateProfileBadRequest
- type UpdateProfileHandler
- type UpdateProfileHandlerFunc
- type UpdateProfileInternalServerError
- type UpdateProfileOK
- type UpdateProfileParams
- type UpdateProfileURL
- func (o *UpdateProfileURL) Build() (*url.URL, error)
- func (o *UpdateProfileURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateProfileURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateProfileURL) SetBasePath(bp string)
- func (o *UpdateProfileURL) String() string
- func (o *UpdateProfileURL) StringFull(scheme, host string) string
- func (o *UpdateProfileURL) WithBasePath(bp string) *UpdateProfileURL
- type VerifyEmail
- type VerifyEmailBadRequest
- type VerifyEmailHandler
- type VerifyEmailHandlerFunc
- type VerifyEmailInternalServerError
- type VerifyEmailOK
- type VerifyEmailParams
- type VerifyEmailToken
- type VerifyEmailTokenBadRequest
- type VerifyEmailTokenHandler
- type VerifyEmailTokenHandlerFunc
- type VerifyEmailTokenInternalServerError
- type VerifyEmailTokenOK
- type VerifyEmailTokenParams
- type VerifyEmailTokenURL
- func (o *VerifyEmailTokenURL) Build() (*url.URL, error)
- func (o *VerifyEmailTokenURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *VerifyEmailTokenURL) Must(u *url.URL, err error) *url.URL
- func (o *VerifyEmailTokenURL) SetBasePath(bp string)
- func (o *VerifyEmailTokenURL) String() string
- func (o *VerifyEmailTokenURL) StringFull(scheme, host string) string
- func (o *VerifyEmailTokenURL) WithBasePath(bp string) *VerifyEmailTokenURL
- type VerifyEmailURL
- func (o *VerifyEmailURL) Build() (*url.URL, error)
- func (o *VerifyEmailURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *VerifyEmailURL) Must(u *url.URL, err error) *url.URL
- func (o *VerifyEmailURL) SetBasePath(bp string)
- func (o *VerifyEmailURL) String() string
- func (o *VerifyEmailURL) StringFull(scheme, host string) string
- func (o *VerifyEmailURL) WithBasePath(bp string) *VerifyEmailURL
Constants ¶
const CreateOrUpdateNoteBadRequestCode int = 400
CreateOrUpdateNoteBadRequestCode is the HTTP code returned for type CreateOrUpdateNoteBadRequest
const CreateOrUpdateNoteInternalServerErrorCode int = 500
CreateOrUpdateNoteInternalServerErrorCode is the HTTP code returned for type CreateOrUpdateNoteInternalServerError
const CreateOrUpdateNoteOKCode int = 200
CreateOrUpdateNoteOKCode is the HTTP code returned for type CreateOrUpdateNoteOK
const CreateOrUpdateUserAddressBadRequestCode int = 400
CreateOrUpdateUserAddressBadRequestCode is the HTTP code returned for type CreateOrUpdateUserAddressBadRequest
const CreateOrUpdateUserAddressInternalServerErrorCode int = 500
CreateOrUpdateUserAddressInternalServerErrorCode is the HTTP code returned for type CreateOrUpdateUserAddressInternalServerError
const CreateOrUpdateUserAddressOKCode int = 200
CreateOrUpdateUserAddressOKCode is the HTTP code returned for type CreateOrUpdateUserAddressOK
const DeleteUserAddressBadRequestCode int = 400
DeleteUserAddressBadRequestCode is the HTTP code returned for type DeleteUserAddressBadRequest
const DeleteUserAddressInternalServerErrorCode int = 500
DeleteUserAddressInternalServerErrorCode is the HTTP code returned for type DeleteUserAddressInternalServerError
const DeleteUserAddressOKCode int = 200
DeleteUserAddressOKCode is the HTTP code returned for type DeleteUserAddressOK
const DeleteUserNoteBadRequestCode int = 400
DeleteUserNoteBadRequestCode is the HTTP code returned for type DeleteUserNoteBadRequest
const DeleteUserNoteInternalServerErrorCode int = 500
DeleteUserNoteInternalServerErrorCode is the HTTP code returned for type DeleteUserNoteInternalServerError
const DeleteUserNoteOKCode int = 200
DeleteUserNoteOKCode is the HTTP code returned for type DeleteUserNoteOK
const GetUserAddressesBadRequestCode int = 400
GetUserAddressesBadRequestCode is the HTTP code returned for type GetUserAddressesBadRequest
const GetUserAddressesInternalServerErrorCode int = 500
GetUserAddressesInternalServerErrorCode is the HTTP code returned for type GetUserAddressesInternalServerError
const GetUserAddressesOKCode int = 200
GetUserAddressesOKCode is the HTTP code returned for type GetUserAddressesOK
const GetUserNotesBadRequestCode int = 400
GetUserNotesBadRequestCode is the HTTP code returned for type GetUserNotesBadRequest
const GetUserNotesInternalServerErrorCode int = 500
GetUserNotesInternalServerErrorCode is the HTTP code returned for type GetUserNotesInternalServerError
const GetUserNotesOKCode int = 200
GetUserNotesOKCode is the HTTP code returned for type GetUserNotesOK
const GetUserProfileBadRequestCode int = 400
GetUserProfileBadRequestCode is the HTTP code returned for type GetUserProfileBadRequest
const GetUserProfileInternalServerErrorCode int = 500
GetUserProfileInternalServerErrorCode is the HTTP code returned for type GetUserProfileInternalServerError
const GetUserProfileOKCode int = 200
GetUserProfileOKCode is the HTTP code returned for type GetUserProfileOK
const UpdateProfileBadRequestCode int = 400
UpdateProfileBadRequestCode is the HTTP code returned for type UpdateProfileBadRequest
const UpdateProfileInternalServerErrorCode int = 500
UpdateProfileInternalServerErrorCode is the HTTP code returned for type UpdateProfileInternalServerError
const UpdateProfileOKCode int = 200
UpdateProfileOKCode is the HTTP code returned for type UpdateProfileOK
const VerifyEmailBadRequestCode int = 400
VerifyEmailBadRequestCode is the HTTP code returned for type VerifyEmailBadRequest
const VerifyEmailInternalServerErrorCode int = 500
VerifyEmailInternalServerErrorCode is the HTTP code returned for type VerifyEmailInternalServerError
const VerifyEmailOKCode int = 200
VerifyEmailOKCode is the HTTP code returned for type VerifyEmailOK
const VerifyEmailTokenBadRequestCode int = 400
VerifyEmailTokenBadRequestCode is the HTTP code returned for type VerifyEmailTokenBadRequest
const VerifyEmailTokenInternalServerErrorCode int = 500
VerifyEmailTokenInternalServerErrorCode is the HTTP code returned for type VerifyEmailTokenInternalServerError
const VerifyEmailTokenOKCode int = 200
VerifyEmailTokenOKCode is the HTTP code returned for type VerifyEmailTokenOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOrUpdateNote ¶
type CreateOrUpdateNote struct { Context *middleware.Context Handler CreateOrUpdateNoteHandler }
CreateOrUpdateNote swagger:route POST /v2/data/profile/note Profile createOrUpdateNote
CreateOrUpdateNote create or update note API
func NewCreateOrUpdateNote ¶
func NewCreateOrUpdateNote(ctx *middleware.Context, handler CreateOrUpdateNoteHandler) *CreateOrUpdateNote
NewCreateOrUpdateNote creates a new http.Handler for the create or update note operation
func (*CreateOrUpdateNote) ServeHTTP ¶
func (o *CreateOrUpdateNote) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateOrUpdateNoteBadRequest ¶
type CreateOrUpdateNoteBadRequest struct { }
CreateOrUpdateNoteBadRequest Bad request
swagger:response createOrUpdateNoteBadRequest
func NewCreateOrUpdateNoteBadRequest ¶
func NewCreateOrUpdateNoteBadRequest() *CreateOrUpdateNoteBadRequest
NewCreateOrUpdateNoteBadRequest creates CreateOrUpdateNoteBadRequest with default headers values
func (*CreateOrUpdateNoteBadRequest) WriteResponse ¶
func (o *CreateOrUpdateNoteBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateOrUpdateNoteHandler ¶
type CreateOrUpdateNoteHandler interface {
Handle(CreateOrUpdateNoteParams) middleware.Responder
}
CreateOrUpdateNoteHandler interface for that can handle valid create or update note params
type CreateOrUpdateNoteHandlerFunc ¶
type CreateOrUpdateNoteHandlerFunc func(CreateOrUpdateNoteParams) middleware.Responder
CreateOrUpdateNoteHandlerFunc turns a function with the right signature into a create or update note handler
func (CreateOrUpdateNoteHandlerFunc) Handle ¶
func (fn CreateOrUpdateNoteHandlerFunc) Handle(params CreateOrUpdateNoteParams) middleware.Responder
Handle executing the request and returning a response
type CreateOrUpdateNoteInternalServerError ¶
type CreateOrUpdateNoteInternalServerError struct { }
CreateOrUpdateNoteInternalServerError Internal error
swagger:response createOrUpdateNoteInternalServerError
func NewCreateOrUpdateNoteInternalServerError ¶
func NewCreateOrUpdateNoteInternalServerError() *CreateOrUpdateNoteInternalServerError
NewCreateOrUpdateNoteInternalServerError creates CreateOrUpdateNoteInternalServerError with default headers values
func (*CreateOrUpdateNoteInternalServerError) WriteResponse ¶
func (o *CreateOrUpdateNoteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateOrUpdateNoteOK ¶
type CreateOrUpdateNoteOK struct { }
CreateOrUpdateNoteOK Updated user note
swagger:response createOrUpdateNoteOK
func NewCreateOrUpdateNoteOK ¶
func NewCreateOrUpdateNoteOK() *CreateOrUpdateNoteOK
NewCreateOrUpdateNoteOK creates CreateOrUpdateNoteOK with default headers values
func (*CreateOrUpdateNoteOK) WriteResponse ¶
func (o *CreateOrUpdateNoteOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateOrUpdateNoteParams ¶
type CreateOrUpdateNoteParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ Address string /* In: body */ Data *models.UserNote }
CreateOrUpdateNoteParams contains all the bound params for the create or update note operation typically these are obtained from a http.Request
swagger:parameters createOrUpdateNote
func NewCreateOrUpdateNoteParams ¶
func NewCreateOrUpdateNoteParams() CreateOrUpdateNoteParams
NewCreateOrUpdateNoteParams creates a new CreateOrUpdateNoteParams object no default values defined in spec.
func (*CreateOrUpdateNoteParams) BindRequest ¶
func (o *CreateOrUpdateNoteParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateOrUpdateNoteParams() beforehand.
type CreateOrUpdateNoteURL ¶
type CreateOrUpdateNoteURL struct {
// contains filtered or unexported fields
}
CreateOrUpdateNoteURL generates an URL for the create or update note operation
func (*CreateOrUpdateNoteURL) Build ¶
func (o *CreateOrUpdateNoteURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateOrUpdateNoteURL) BuildFull ¶
func (o *CreateOrUpdateNoteURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateOrUpdateNoteURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateOrUpdateNoteURL) SetBasePath ¶
func (o *CreateOrUpdateNoteURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateOrUpdateNoteURL) String ¶
func (o *CreateOrUpdateNoteURL) String() string
String returns the string representation of the path with query string
func (*CreateOrUpdateNoteURL) StringFull ¶
func (o *CreateOrUpdateNoteURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateOrUpdateNoteURL) WithBasePath ¶
func (o *CreateOrUpdateNoteURL) WithBasePath(bp string) *CreateOrUpdateNoteURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateOrUpdateUserAddress ¶
type CreateOrUpdateUserAddress struct { Context *middleware.Context Handler CreateOrUpdateUserAddressHandler }
CreateOrUpdateUserAddress swagger:route POST /v2/data/profile/address Profile createOrUpdateUserAddress
CreateOrUpdateUserAddress create or update user address API
func NewCreateOrUpdateUserAddress ¶
func NewCreateOrUpdateUserAddress(ctx *middleware.Context, handler CreateOrUpdateUserAddressHandler) *CreateOrUpdateUserAddress
NewCreateOrUpdateUserAddress creates a new http.Handler for the create or update user address operation
func (*CreateOrUpdateUserAddress) ServeHTTP ¶
func (o *CreateOrUpdateUserAddress) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateOrUpdateUserAddressBadRequest ¶
type CreateOrUpdateUserAddressBadRequest struct { }
CreateOrUpdateUserAddressBadRequest Bad request
swagger:response createOrUpdateUserAddressBadRequest
func NewCreateOrUpdateUserAddressBadRequest ¶
func NewCreateOrUpdateUserAddressBadRequest() *CreateOrUpdateUserAddressBadRequest
NewCreateOrUpdateUserAddressBadRequest creates CreateOrUpdateUserAddressBadRequest with default headers values
func (*CreateOrUpdateUserAddressBadRequest) WriteResponse ¶
func (o *CreateOrUpdateUserAddressBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateOrUpdateUserAddressHandler ¶
type CreateOrUpdateUserAddressHandler interface {
Handle(CreateOrUpdateUserAddressParams) middleware.Responder
}
CreateOrUpdateUserAddressHandler interface for that can handle valid create or update user address params
type CreateOrUpdateUserAddressHandlerFunc ¶
type CreateOrUpdateUserAddressHandlerFunc func(CreateOrUpdateUserAddressParams) middleware.Responder
CreateOrUpdateUserAddressHandlerFunc turns a function with the right signature into a create or update user address handler
func (CreateOrUpdateUserAddressHandlerFunc) Handle ¶
func (fn CreateOrUpdateUserAddressHandlerFunc) Handle(params CreateOrUpdateUserAddressParams) middleware.Responder
Handle executing the request and returning a response
type CreateOrUpdateUserAddressInternalServerError ¶
type CreateOrUpdateUserAddressInternalServerError struct { }
CreateOrUpdateUserAddressInternalServerError Internal error
swagger:response createOrUpdateUserAddressInternalServerError
func NewCreateOrUpdateUserAddressInternalServerError ¶
func NewCreateOrUpdateUserAddressInternalServerError() *CreateOrUpdateUserAddressInternalServerError
NewCreateOrUpdateUserAddressInternalServerError creates CreateOrUpdateUserAddressInternalServerError with default headers values
func (*CreateOrUpdateUserAddressInternalServerError) WriteResponse ¶
func (o *CreateOrUpdateUserAddressInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateOrUpdateUserAddressOK ¶
type CreateOrUpdateUserAddressOK struct { }
CreateOrUpdateUserAddressOK Create or update user address
swagger:response createOrUpdateUserAddressOK
func NewCreateOrUpdateUserAddressOK ¶
func NewCreateOrUpdateUserAddressOK() *CreateOrUpdateUserAddressOK
NewCreateOrUpdateUserAddressOK creates CreateOrUpdateUserAddressOK with default headers values
func (*CreateOrUpdateUserAddressOK) WriteResponse ¶
func (o *CreateOrUpdateUserAddressOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateOrUpdateUserAddressParams ¶
type CreateOrUpdateUserAddressParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ Address string /* In: body */ Data *models.UserAddress }
CreateOrUpdateUserAddressParams contains all the bound params for the create or update user address operation typically these are obtained from a http.Request
swagger:parameters createOrUpdateUserAddress
func NewCreateOrUpdateUserAddressParams ¶
func NewCreateOrUpdateUserAddressParams() CreateOrUpdateUserAddressParams
NewCreateOrUpdateUserAddressParams creates a new CreateOrUpdateUserAddressParams object no default values defined in spec.
func (*CreateOrUpdateUserAddressParams) BindRequest ¶
func (o *CreateOrUpdateUserAddressParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateOrUpdateUserAddressParams() beforehand.
type CreateOrUpdateUserAddressURL ¶
type CreateOrUpdateUserAddressURL struct {
// contains filtered or unexported fields
}
CreateOrUpdateUserAddressURL generates an URL for the create or update user address operation
func (*CreateOrUpdateUserAddressURL) Build ¶
func (o *CreateOrUpdateUserAddressURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateOrUpdateUserAddressURL) BuildFull ¶
func (o *CreateOrUpdateUserAddressURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateOrUpdateUserAddressURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateOrUpdateUserAddressURL) SetBasePath ¶
func (o *CreateOrUpdateUserAddressURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateOrUpdateUserAddressURL) String ¶
func (o *CreateOrUpdateUserAddressURL) String() string
String returns the string representation of the path with query string
func (*CreateOrUpdateUserAddressURL) StringFull ¶
func (o *CreateOrUpdateUserAddressURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateOrUpdateUserAddressURL) WithBasePath ¶
func (o *CreateOrUpdateUserAddressURL) WithBasePath(bp string) *CreateOrUpdateUserAddressURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteUserAddress ¶
type DeleteUserAddress struct { Context *middleware.Context Handler DeleteUserAddressHandler }
DeleteUserAddress swagger:route POST /v2/data/profile/delete/address Profile deleteUserAddress
DeleteUserAddress delete user address API
func NewDeleteUserAddress ¶
func NewDeleteUserAddress(ctx *middleware.Context, handler DeleteUserAddressHandler) *DeleteUserAddress
NewDeleteUserAddress creates a new http.Handler for the delete user address operation
func (*DeleteUserAddress) ServeHTTP ¶
func (o *DeleteUserAddress) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteUserAddressBadRequest ¶
type DeleteUserAddressBadRequest struct { }
DeleteUserAddressBadRequest Bad request
swagger:response deleteUserAddressBadRequest
func NewDeleteUserAddressBadRequest ¶
func NewDeleteUserAddressBadRequest() *DeleteUserAddressBadRequest
NewDeleteUserAddressBadRequest creates DeleteUserAddressBadRequest with default headers values
func (*DeleteUserAddressBadRequest) WriteResponse ¶
func (o *DeleteUserAddressBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUserAddressHandler ¶
type DeleteUserAddressHandler interface {
Handle(DeleteUserAddressParams) middleware.Responder
}
DeleteUserAddressHandler interface for that can handle valid delete user address params
type DeleteUserAddressHandlerFunc ¶
type DeleteUserAddressHandlerFunc func(DeleteUserAddressParams) middleware.Responder
DeleteUserAddressHandlerFunc turns a function with the right signature into a delete user address handler
func (DeleteUserAddressHandlerFunc) Handle ¶
func (fn DeleteUserAddressHandlerFunc) Handle(params DeleteUserAddressParams) middleware.Responder
Handle executing the request and returning a response
type DeleteUserAddressInternalServerError ¶
type DeleteUserAddressInternalServerError struct { }
DeleteUserAddressInternalServerError Internal error
swagger:response deleteUserAddressInternalServerError
func NewDeleteUserAddressInternalServerError ¶
func NewDeleteUserAddressInternalServerError() *DeleteUserAddressInternalServerError
NewDeleteUserAddressInternalServerError creates DeleteUserAddressInternalServerError with default headers values
func (*DeleteUserAddressInternalServerError) WriteResponse ¶
func (o *DeleteUserAddressInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUserAddressOK ¶
type DeleteUserAddressOK struct { }
DeleteUserAddressOK Deleted user address
swagger:response deleteUserAddressOK
func NewDeleteUserAddressOK ¶
func NewDeleteUserAddressOK() *DeleteUserAddressOK
NewDeleteUserAddressOK creates DeleteUserAddressOK with default headers values
func (*DeleteUserAddressOK) WriteResponse ¶
func (o *DeleteUserAddressOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUserAddressParams ¶
type DeleteUserAddressParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ Address string /* In: body */ Data *models.DeleteUserAddress }
DeleteUserAddressParams contains all the bound params for the delete user address operation typically these are obtained from a http.Request
swagger:parameters deleteUserAddress
func NewDeleteUserAddressParams ¶
func NewDeleteUserAddressParams() DeleteUserAddressParams
NewDeleteUserAddressParams creates a new DeleteUserAddressParams object no default values defined in spec.
func (*DeleteUserAddressParams) BindRequest ¶
func (o *DeleteUserAddressParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteUserAddressParams() beforehand.
type DeleteUserAddressURL ¶
type DeleteUserAddressURL struct {
// contains filtered or unexported fields
}
DeleteUserAddressURL generates an URL for the delete user address operation
func (*DeleteUserAddressURL) Build ¶
func (o *DeleteUserAddressURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteUserAddressURL) BuildFull ¶
func (o *DeleteUserAddressURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteUserAddressURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteUserAddressURL) SetBasePath ¶
func (o *DeleteUserAddressURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteUserAddressURL) String ¶
func (o *DeleteUserAddressURL) String() string
String returns the string representation of the path with query string
func (*DeleteUserAddressURL) StringFull ¶
func (o *DeleteUserAddressURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteUserAddressURL) WithBasePath ¶
func (o *DeleteUserAddressURL) WithBasePath(bp string) *DeleteUserAddressURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteUserNote ¶
type DeleteUserNote struct { Context *middleware.Context Handler DeleteUserNoteHandler }
DeleteUserNote swagger:route POST /v2/data/profile/delete/note Profile deleteUserNote
DeleteUserNote delete user note API
func NewDeleteUserNote ¶
func NewDeleteUserNote(ctx *middleware.Context, handler DeleteUserNoteHandler) *DeleteUserNote
NewDeleteUserNote creates a new http.Handler for the delete user note operation
func (*DeleteUserNote) ServeHTTP ¶
func (o *DeleteUserNote) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteUserNoteBadRequest ¶
type DeleteUserNoteBadRequest struct { }
DeleteUserNoteBadRequest Bad request
swagger:response deleteUserNoteBadRequest
func NewDeleteUserNoteBadRequest ¶
func NewDeleteUserNoteBadRequest() *DeleteUserNoteBadRequest
NewDeleteUserNoteBadRequest creates DeleteUserNoteBadRequest with default headers values
func (*DeleteUserNoteBadRequest) WriteResponse ¶
func (o *DeleteUserNoteBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUserNoteHandler ¶
type DeleteUserNoteHandler interface {
Handle(DeleteUserNoteParams) middleware.Responder
}
DeleteUserNoteHandler interface for that can handle valid delete user note params
type DeleteUserNoteHandlerFunc ¶
type DeleteUserNoteHandlerFunc func(DeleteUserNoteParams) middleware.Responder
DeleteUserNoteHandlerFunc turns a function with the right signature into a delete user note handler
func (DeleteUserNoteHandlerFunc) Handle ¶
func (fn DeleteUserNoteHandlerFunc) Handle(params DeleteUserNoteParams) middleware.Responder
Handle executing the request and returning a response
type DeleteUserNoteInternalServerError ¶
type DeleteUserNoteInternalServerError struct { }
DeleteUserNoteInternalServerError Internal error
swagger:response deleteUserNoteInternalServerError
func NewDeleteUserNoteInternalServerError ¶
func NewDeleteUserNoteInternalServerError() *DeleteUserNoteInternalServerError
NewDeleteUserNoteInternalServerError creates DeleteUserNoteInternalServerError with default headers values
func (*DeleteUserNoteInternalServerError) WriteResponse ¶
func (o *DeleteUserNoteInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUserNoteOK ¶
type DeleteUserNoteOK struct { }
DeleteUserNoteOK Deleted user note
swagger:response deleteUserNoteOK
func NewDeleteUserNoteOK ¶
func NewDeleteUserNoteOK() *DeleteUserNoteOK
NewDeleteUserNoteOK creates DeleteUserNoteOK with default headers values
func (*DeleteUserNoteOK) WriteResponse ¶
func (o *DeleteUserNoteOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteUserNoteParams ¶
type DeleteUserNoteParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ Address string /* In: body */ Data *models.DeleteUserNote }
DeleteUserNoteParams contains all the bound params for the delete user note operation typically these are obtained from a http.Request
swagger:parameters deleteUserNote
func NewDeleteUserNoteParams ¶
func NewDeleteUserNoteParams() DeleteUserNoteParams
NewDeleteUserNoteParams creates a new DeleteUserNoteParams object no default values defined in spec.
func (*DeleteUserNoteParams) BindRequest ¶
func (o *DeleteUserNoteParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteUserNoteParams() beforehand.
type DeleteUserNoteURL ¶
type DeleteUserNoteURL struct {
// contains filtered or unexported fields
}
DeleteUserNoteURL generates an URL for the delete user note operation
func (*DeleteUserNoteURL) Build ¶
func (o *DeleteUserNoteURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteUserNoteURL) BuildFull ¶
func (o *DeleteUserNoteURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteUserNoteURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteUserNoteURL) SetBasePath ¶
func (o *DeleteUserNoteURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteUserNoteURL) String ¶
func (o *DeleteUserNoteURL) String() string
String returns the string representation of the path with query string
func (*DeleteUserNoteURL) StringFull ¶
func (o *DeleteUserNoteURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteUserNoteURL) WithBasePath ¶
func (o *DeleteUserNoteURL) WithBasePath(bp string) *DeleteUserNoteURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetUserAddresses ¶
type GetUserAddresses struct { Context *middleware.Context Handler GetUserAddressesHandler }
GetUserAddresses swagger:route GET /v2/data/profile/addresses Profile getUserAddresses
GetUserAddresses get user addresses API
func NewGetUserAddresses ¶
func NewGetUserAddresses(ctx *middleware.Context, handler GetUserAddressesHandler) *GetUserAddresses
NewGetUserAddresses creates a new http.Handler for the get user addresses operation
func (*GetUserAddresses) ServeHTTP ¶
func (o *GetUserAddresses) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetUserAddressesBadRequest ¶
type GetUserAddressesBadRequest struct { }
GetUserAddressesBadRequest Bad request
swagger:response getUserAddressesBadRequest
func NewGetUserAddressesBadRequest ¶
func NewGetUserAddressesBadRequest() *GetUserAddressesBadRequest
NewGetUserAddressesBadRequest creates GetUserAddressesBadRequest with default headers values
func (*GetUserAddressesBadRequest) WriteResponse ¶
func (o *GetUserAddressesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUserAddressesHandler ¶
type GetUserAddressesHandler interface {
Handle(GetUserAddressesParams) middleware.Responder
}
GetUserAddressesHandler interface for that can handle valid get user addresses params
type GetUserAddressesHandlerFunc ¶
type GetUserAddressesHandlerFunc func(GetUserAddressesParams) middleware.Responder
GetUserAddressesHandlerFunc turns a function with the right signature into a get user addresses handler
func (GetUserAddressesHandlerFunc) Handle ¶
func (fn GetUserAddressesHandlerFunc) Handle(params GetUserAddressesParams) middleware.Responder
Handle executing the request and returning a response
type GetUserAddressesInternalServerError ¶
type GetUserAddressesInternalServerError struct { }
GetUserAddressesInternalServerError Internal error
swagger:response getUserAddressesInternalServerError
func NewGetUserAddressesInternalServerError ¶
func NewGetUserAddressesInternalServerError() *GetUserAddressesInternalServerError
NewGetUserAddressesInternalServerError creates GetUserAddressesInternalServerError with default headers values
func (*GetUserAddressesInternalServerError) WriteResponse ¶
func (o *GetUserAddressesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUserAddressesOK ¶
type GetUserAddressesOK struct { /* In: Body */ Payload []*models.UserAddressWithBalance `json:"body,omitempty"` }
GetUserAddressesOK Get user addresses
swagger:response getUserAddressesOK
func NewGetUserAddressesOK ¶
func NewGetUserAddressesOK() *GetUserAddressesOK
NewGetUserAddressesOK creates GetUserAddressesOK with default headers values
func (*GetUserAddressesOK) SetPayload ¶
func (o *GetUserAddressesOK) SetPayload(payload []*models.UserAddressWithBalance)
SetPayload sets the payload to the get user addresses o k response
func (*GetUserAddressesOK) WithPayload ¶
func (o *GetUserAddressesOK) WithPayload(payload []*models.UserAddressWithBalance) *GetUserAddressesOK
WithPayload adds the payload to the get user addresses o k response
func (*GetUserAddressesOK) WriteResponse ¶
func (o *GetUserAddressesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUserAddressesParams ¶
type GetUserAddressesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ Address string }
GetUserAddressesParams contains all the bound params for the get user addresses operation typically these are obtained from a http.Request
swagger:parameters getUserAddresses
func NewGetUserAddressesParams ¶
func NewGetUserAddressesParams() GetUserAddressesParams
NewGetUserAddressesParams creates a new GetUserAddressesParams object no default values defined in spec.
func (*GetUserAddressesParams) BindRequest ¶
func (o *GetUserAddressesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetUserAddressesParams() beforehand.
type GetUserAddressesURL ¶
type GetUserAddressesURL struct {
// contains filtered or unexported fields
}
GetUserAddressesURL generates an URL for the get user addresses operation
func (*GetUserAddressesURL) Build ¶
func (o *GetUserAddressesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetUserAddressesURL) BuildFull ¶
func (o *GetUserAddressesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetUserAddressesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetUserAddressesURL) SetBasePath ¶
func (o *GetUserAddressesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetUserAddressesURL) String ¶
func (o *GetUserAddressesURL) String() string
String returns the string representation of the path with query string
func (*GetUserAddressesURL) StringFull ¶
func (o *GetUserAddressesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetUserAddressesURL) WithBasePath ¶
func (o *GetUserAddressesURL) WithBasePath(bp string) *GetUserAddressesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetUserNotes ¶
type GetUserNotes struct { Context *middleware.Context Handler GetUserNotesHandler }
GetUserNotes swagger:route GET /v2/data/profile/notes Profile getUserNotes
GetUserNotes get user notes API
func NewGetUserNotes ¶
func NewGetUserNotes(ctx *middleware.Context, handler GetUserNotesHandler) *GetUserNotes
NewGetUserNotes creates a new http.Handler for the get user notes operation
func (*GetUserNotes) ServeHTTP ¶
func (o *GetUserNotes) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetUserNotesBadRequest ¶
type GetUserNotesBadRequest struct { }
GetUserNotesBadRequest Bad request
swagger:response getUserNotesBadRequest
func NewGetUserNotesBadRequest ¶
func NewGetUserNotesBadRequest() *GetUserNotesBadRequest
NewGetUserNotesBadRequest creates GetUserNotesBadRequest with default headers values
func (*GetUserNotesBadRequest) WriteResponse ¶
func (o *GetUserNotesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUserNotesHandler ¶
type GetUserNotesHandler interface {
Handle(GetUserNotesParams) middleware.Responder
}
GetUserNotesHandler interface for that can handle valid get user notes params
type GetUserNotesHandlerFunc ¶
type GetUserNotesHandlerFunc func(GetUserNotesParams) middleware.Responder
GetUserNotesHandlerFunc turns a function with the right signature into a get user notes handler
func (GetUserNotesHandlerFunc) Handle ¶
func (fn GetUserNotesHandlerFunc) Handle(params GetUserNotesParams) middleware.Responder
Handle executing the request and returning a response
type GetUserNotesInternalServerError ¶
type GetUserNotesInternalServerError struct { }
GetUserNotesInternalServerError Internal error
swagger:response getUserNotesInternalServerError
func NewGetUserNotesInternalServerError ¶
func NewGetUserNotesInternalServerError() *GetUserNotesInternalServerError
NewGetUserNotesInternalServerError creates GetUserNotesInternalServerError with default headers values
func (*GetUserNotesInternalServerError) WriteResponse ¶
func (o *GetUserNotesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUserNotesOK ¶
type GetUserNotesOK struct { /* In: Body */ Payload []*models.UserNoteWithBalance `json:"body,omitempty"` }
GetUserNotesOK Get user notes
swagger:response getUserNotesOK
func NewGetUserNotesOK ¶
func NewGetUserNotesOK() *GetUserNotesOK
NewGetUserNotesOK creates GetUserNotesOK with default headers values
func (*GetUserNotesOK) SetPayload ¶
func (o *GetUserNotesOK) SetPayload(payload []*models.UserNoteWithBalance)
SetPayload sets the payload to the get user notes o k response
func (*GetUserNotesOK) WithPayload ¶
func (o *GetUserNotesOK) WithPayload(payload []*models.UserNoteWithBalance) *GetUserNotesOK
WithPayload adds the payload to the get user notes o k response
func (*GetUserNotesOK) WriteResponse ¶
func (o *GetUserNotesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUserNotesParams ¶
type GetUserNotesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ Address string }
GetUserNotesParams contains all the bound params for the get user notes operation typically these are obtained from a http.Request
swagger:parameters getUserNotes
func NewGetUserNotesParams ¶
func NewGetUserNotesParams() GetUserNotesParams
NewGetUserNotesParams creates a new GetUserNotesParams object no default values defined in spec.
func (*GetUserNotesParams) BindRequest ¶
func (o *GetUserNotesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetUserNotesParams() beforehand.
type GetUserNotesURL ¶
type GetUserNotesURL struct {
// contains filtered or unexported fields
}
GetUserNotesURL generates an URL for the get user notes operation
func (*GetUserNotesURL) Build ¶
func (o *GetUserNotesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetUserNotesURL) BuildFull ¶
func (o *GetUserNotesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetUserNotesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetUserNotesURL) SetBasePath ¶
func (o *GetUserNotesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetUserNotesURL) String ¶
func (o *GetUserNotesURL) String() string
String returns the string representation of the path with query string
func (*GetUserNotesURL) StringFull ¶
func (o *GetUserNotesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetUserNotesURL) WithBasePath ¶
func (o *GetUserNotesURL) WithBasePath(bp string) *GetUserNotesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetUserProfile ¶
type GetUserProfile struct { Context *middleware.Context Handler GetUserProfileHandler }
GetUserProfile swagger:route GET /v2/data/profile Profile getUserProfile
GetUserProfile get user profile API
func NewGetUserProfile ¶
func NewGetUserProfile(ctx *middleware.Context, handler GetUserProfileHandler) *GetUserProfile
NewGetUserProfile creates a new http.Handler for the get user profile operation
func (*GetUserProfile) ServeHTTP ¶
func (o *GetUserProfile) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetUserProfileBadRequest ¶
type GetUserProfileBadRequest struct { }
GetUserProfileBadRequest Bad request
swagger:response getUserProfileBadRequest
func NewGetUserProfileBadRequest ¶
func NewGetUserProfileBadRequest() *GetUserProfileBadRequest
NewGetUserProfileBadRequest creates GetUserProfileBadRequest with default headers values
func (*GetUserProfileBadRequest) WriteResponse ¶
func (o *GetUserProfileBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUserProfileHandler ¶
type GetUserProfileHandler interface {
Handle(GetUserProfileParams) middleware.Responder
}
GetUserProfileHandler interface for that can handle valid get user profile params
type GetUserProfileHandlerFunc ¶
type GetUserProfileHandlerFunc func(GetUserProfileParams) middleware.Responder
GetUserProfileHandlerFunc turns a function with the right signature into a get user profile handler
func (GetUserProfileHandlerFunc) Handle ¶
func (fn GetUserProfileHandlerFunc) Handle(params GetUserProfileParams) middleware.Responder
Handle executing the request and returning a response
type GetUserProfileInternalServerError ¶
type GetUserProfileInternalServerError struct { }
GetUserProfileInternalServerError Internal error
swagger:response getUserProfileInternalServerError
func NewGetUserProfileInternalServerError ¶
func NewGetUserProfileInternalServerError() *GetUserProfileInternalServerError
NewGetUserProfileInternalServerError creates GetUserProfileInternalServerError with default headers values
func (*GetUserProfileInternalServerError) WriteResponse ¶
func (o *GetUserProfileInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUserProfileOK ¶
type GetUserProfileOK struct { /* In: Body */ Payload *models.UserProfile `json:"body,omitempty"` }
GetUserProfileOK Get user profile
swagger:response getUserProfileOK
func NewGetUserProfileOK ¶
func NewGetUserProfileOK() *GetUserProfileOK
NewGetUserProfileOK creates GetUserProfileOK with default headers values
func (*GetUserProfileOK) SetPayload ¶
func (o *GetUserProfileOK) SetPayload(payload *models.UserProfile)
SetPayload sets the payload to the get user profile o k response
func (*GetUserProfileOK) WithPayload ¶
func (o *GetUserProfileOK) WithPayload(payload *models.UserProfile) *GetUserProfileOK
WithPayload adds the payload to the get user profile o k response
func (*GetUserProfileOK) WriteResponse ¶
func (o *GetUserProfileOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUserProfileParams ¶
type GetUserProfileParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ Address string }
GetUserProfileParams contains all the bound params for the get user profile operation typically these are obtained from a http.Request
swagger:parameters getUserProfile
func NewGetUserProfileParams ¶
func NewGetUserProfileParams() GetUserProfileParams
NewGetUserProfileParams creates a new GetUserProfileParams object no default values defined in spec.
func (*GetUserProfileParams) BindRequest ¶
func (o *GetUserProfileParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetUserProfileParams() beforehand.
type GetUserProfileURL ¶
type GetUserProfileURL struct {
// contains filtered or unexported fields
}
GetUserProfileURL generates an URL for the get user profile operation
func (*GetUserProfileURL) Build ¶
func (o *GetUserProfileURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetUserProfileURL) BuildFull ¶
func (o *GetUserProfileURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetUserProfileURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetUserProfileURL) SetBasePath ¶
func (o *GetUserProfileURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetUserProfileURL) String ¶
func (o *GetUserProfileURL) String() string
String returns the string representation of the path with query string
func (*GetUserProfileURL) StringFull ¶
func (o *GetUserProfileURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetUserProfileURL) WithBasePath ¶
func (o *GetUserProfileURL) WithBasePath(bp string) *GetUserProfileURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateProfile ¶
type UpdateProfile struct { Context *middleware.Context Handler UpdateProfileHandler }
UpdateProfile swagger:route POST /v2/data/profile/update Profile updateProfile
UpdateProfile update profile API
func NewUpdateProfile ¶
func NewUpdateProfile(ctx *middleware.Context, handler UpdateProfileHandler) *UpdateProfile
NewUpdateProfile creates a new http.Handler for the update profile operation
func (*UpdateProfile) ServeHTTP ¶
func (o *UpdateProfile) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateProfileBadRequest ¶
type UpdateProfileBadRequest struct { }
UpdateProfileBadRequest Bad request
swagger:response updateProfileBadRequest
func NewUpdateProfileBadRequest ¶
func NewUpdateProfileBadRequest() *UpdateProfileBadRequest
NewUpdateProfileBadRequest creates UpdateProfileBadRequest with default headers values
func (*UpdateProfileBadRequest) WriteResponse ¶
func (o *UpdateProfileBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProfileHandler ¶
type UpdateProfileHandler interface {
Handle(UpdateProfileParams) middleware.Responder
}
UpdateProfileHandler interface for that can handle valid update profile params
type UpdateProfileHandlerFunc ¶
type UpdateProfileHandlerFunc func(UpdateProfileParams) middleware.Responder
UpdateProfileHandlerFunc turns a function with the right signature into a update profile handler
func (UpdateProfileHandlerFunc) Handle ¶
func (fn UpdateProfileHandlerFunc) Handle(params UpdateProfileParams) middleware.Responder
Handle executing the request and returning a response
type UpdateProfileInternalServerError ¶
type UpdateProfileInternalServerError struct { }
UpdateProfileInternalServerError Internal error
swagger:response updateProfileInternalServerError
func NewUpdateProfileInternalServerError ¶
func NewUpdateProfileInternalServerError() *UpdateProfileInternalServerError
NewUpdateProfileInternalServerError creates UpdateProfileInternalServerError with default headers values
func (*UpdateProfileInternalServerError) WriteResponse ¶
func (o *UpdateProfileInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProfileOK ¶
type UpdateProfileOK struct { }
UpdateProfileOK Update user profile
swagger:response updateProfileOK
func NewUpdateProfileOK ¶
func NewUpdateProfileOK() *UpdateProfileOK
NewUpdateProfileOK creates UpdateProfileOK with default headers values
func (*UpdateProfileOK) WriteResponse ¶
func (o *UpdateProfileOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateProfileParams ¶
type UpdateProfileParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ Address string /* In: body */ Data *models.RequestUserProfile }
UpdateProfileParams contains all the bound params for the update profile operation typically these are obtained from a http.Request
swagger:parameters updateProfile
func NewUpdateProfileParams ¶
func NewUpdateProfileParams() UpdateProfileParams
NewUpdateProfileParams creates a new UpdateProfileParams object no default values defined in spec.
func (*UpdateProfileParams) BindRequest ¶
func (o *UpdateProfileParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateProfileParams() beforehand.
type UpdateProfileURL ¶
type UpdateProfileURL struct {
// contains filtered or unexported fields
}
UpdateProfileURL generates an URL for the update profile operation
func (*UpdateProfileURL) Build ¶
func (o *UpdateProfileURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateProfileURL) BuildFull ¶
func (o *UpdateProfileURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateProfileURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateProfileURL) SetBasePath ¶
func (o *UpdateProfileURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateProfileURL) String ¶
func (o *UpdateProfileURL) String() string
String returns the string representation of the path with query string
func (*UpdateProfileURL) StringFull ¶
func (o *UpdateProfileURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateProfileURL) WithBasePath ¶
func (o *UpdateProfileURL) WithBasePath(bp string) *UpdateProfileURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type VerifyEmail ¶
type VerifyEmail struct { Context *middleware.Context Handler VerifyEmailHandler }
VerifyEmail swagger:route POST /v2/data/profile/verify/email Profile verifyEmail
VerifyEmail verify email API
func NewVerifyEmail ¶
func NewVerifyEmail(ctx *middleware.Context, handler VerifyEmailHandler) *VerifyEmail
NewVerifyEmail creates a new http.Handler for the verify email operation
func (*VerifyEmail) ServeHTTP ¶
func (o *VerifyEmail) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type VerifyEmailBadRequest ¶
type VerifyEmailBadRequest struct { }
VerifyEmailBadRequest Bad request
swagger:response verifyEmailBadRequest
func NewVerifyEmailBadRequest ¶
func NewVerifyEmailBadRequest() *VerifyEmailBadRequest
NewVerifyEmailBadRequest creates VerifyEmailBadRequest with default headers values
func (*VerifyEmailBadRequest) WriteResponse ¶
func (o *VerifyEmailBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyEmailHandler ¶
type VerifyEmailHandler interface {
Handle(VerifyEmailParams) middleware.Responder
}
VerifyEmailHandler interface for that can handle valid verify email params
type VerifyEmailHandlerFunc ¶
type VerifyEmailHandlerFunc func(VerifyEmailParams) middleware.Responder
VerifyEmailHandlerFunc turns a function with the right signature into a verify email handler
func (VerifyEmailHandlerFunc) Handle ¶
func (fn VerifyEmailHandlerFunc) Handle(params VerifyEmailParams) middleware.Responder
Handle executing the request and returning a response
type VerifyEmailInternalServerError ¶
type VerifyEmailInternalServerError struct { }
VerifyEmailInternalServerError Internal error
swagger:response verifyEmailInternalServerError
func NewVerifyEmailInternalServerError ¶
func NewVerifyEmailInternalServerError() *VerifyEmailInternalServerError
NewVerifyEmailInternalServerError creates VerifyEmailInternalServerError with default headers values
func (*VerifyEmailInternalServerError) WriteResponse ¶
func (o *VerifyEmailInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyEmailOK ¶
type VerifyEmailOK struct { }
VerifyEmailOK Verified user email
swagger:response verifyEmailOK
func NewVerifyEmailOK ¶
func NewVerifyEmailOK() *VerifyEmailOK
NewVerifyEmailOK creates VerifyEmailOK with default headers values
func (*VerifyEmailOK) WriteResponse ¶
func (o *VerifyEmailOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyEmailParams ¶
type VerifyEmailParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: header */ Address string }
VerifyEmailParams contains all the bound params for the verify email operation typically these are obtained from a http.Request
swagger:parameters verifyEmail
func NewVerifyEmailParams ¶
func NewVerifyEmailParams() VerifyEmailParams
NewVerifyEmailParams creates a new VerifyEmailParams object no default values defined in spec.
func (*VerifyEmailParams) BindRequest ¶
func (o *VerifyEmailParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewVerifyEmailParams() beforehand.
type VerifyEmailToken ¶
type VerifyEmailToken struct { Context *middleware.Context Handler VerifyEmailTokenHandler }
VerifyEmailToken swagger:route POST /v2/data/profile/verify/email/token Profile verifyEmailToken
VerifyEmailToken verify email token API
func NewVerifyEmailToken ¶
func NewVerifyEmailToken(ctx *middleware.Context, handler VerifyEmailTokenHandler) *VerifyEmailToken
NewVerifyEmailToken creates a new http.Handler for the verify email token operation
func (*VerifyEmailToken) ServeHTTP ¶
func (o *VerifyEmailToken) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type VerifyEmailTokenBadRequest ¶
type VerifyEmailTokenBadRequest struct { }
VerifyEmailTokenBadRequest Bad request
swagger:response verifyEmailTokenBadRequest
func NewVerifyEmailTokenBadRequest ¶
func NewVerifyEmailTokenBadRequest() *VerifyEmailTokenBadRequest
NewVerifyEmailTokenBadRequest creates VerifyEmailTokenBadRequest with default headers values
func (*VerifyEmailTokenBadRequest) WriteResponse ¶
func (o *VerifyEmailTokenBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyEmailTokenHandler ¶
type VerifyEmailTokenHandler interface {
Handle(VerifyEmailTokenParams) middleware.Responder
}
VerifyEmailTokenHandler interface for that can handle valid verify email token params
type VerifyEmailTokenHandlerFunc ¶
type VerifyEmailTokenHandlerFunc func(VerifyEmailTokenParams) middleware.Responder
VerifyEmailTokenHandlerFunc turns a function with the right signature into a verify email token handler
func (VerifyEmailTokenHandlerFunc) Handle ¶
func (fn VerifyEmailTokenHandlerFunc) Handle(params VerifyEmailTokenParams) middleware.Responder
Handle executing the request and returning a response
type VerifyEmailTokenInternalServerError ¶
type VerifyEmailTokenInternalServerError struct { }
VerifyEmailTokenInternalServerError Internal error
swagger:response verifyEmailTokenInternalServerError
func NewVerifyEmailTokenInternalServerError ¶
func NewVerifyEmailTokenInternalServerError() *VerifyEmailTokenInternalServerError
NewVerifyEmailTokenInternalServerError creates VerifyEmailTokenInternalServerError with default headers values
func (*VerifyEmailTokenInternalServerError) WriteResponse ¶
func (o *VerifyEmailTokenInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyEmailTokenOK ¶
type VerifyEmailTokenOK struct { }
VerifyEmailTokenOK Verified user email token
swagger:response verifyEmailTokenOK
func NewVerifyEmailTokenOK ¶
func NewVerifyEmailTokenOK() *VerifyEmailTokenOK
NewVerifyEmailTokenOK creates VerifyEmailTokenOK with default headers values
func (*VerifyEmailTokenOK) WriteResponse ¶
func (o *VerifyEmailTokenOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyEmailTokenParams ¶
type VerifyEmailTokenParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Data *models.EmailToken }
VerifyEmailTokenParams contains all the bound params for the verify email token operation typically these are obtained from a http.Request
swagger:parameters verifyEmailToken
func NewVerifyEmailTokenParams ¶
func NewVerifyEmailTokenParams() VerifyEmailTokenParams
NewVerifyEmailTokenParams creates a new VerifyEmailTokenParams object no default values defined in spec.
func (*VerifyEmailTokenParams) BindRequest ¶
func (o *VerifyEmailTokenParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewVerifyEmailTokenParams() beforehand.
type VerifyEmailTokenURL ¶
type VerifyEmailTokenURL struct {
// contains filtered or unexported fields
}
VerifyEmailTokenURL generates an URL for the verify email token operation
func (*VerifyEmailTokenURL) Build ¶
func (o *VerifyEmailTokenURL) Build() (*url.URL, error)
Build a url path and query string
func (*VerifyEmailTokenURL) BuildFull ¶
func (o *VerifyEmailTokenURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*VerifyEmailTokenURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*VerifyEmailTokenURL) SetBasePath ¶
func (o *VerifyEmailTokenURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*VerifyEmailTokenURL) String ¶
func (o *VerifyEmailTokenURL) String() string
String returns the string representation of the path with query string
func (*VerifyEmailTokenURL) StringFull ¶
func (o *VerifyEmailTokenURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*VerifyEmailTokenURL) WithBasePath ¶
func (o *VerifyEmailTokenURL) WithBasePath(bp string) *VerifyEmailTokenURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type VerifyEmailURL ¶
type VerifyEmailURL struct {
// contains filtered or unexported fields
}
VerifyEmailURL generates an URL for the verify email operation
func (*VerifyEmailURL) Build ¶
func (o *VerifyEmailURL) Build() (*url.URL, error)
Build a url path and query string
func (*VerifyEmailURL) BuildFull ¶
func (o *VerifyEmailURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*VerifyEmailURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*VerifyEmailURL) SetBasePath ¶
func (o *VerifyEmailURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*VerifyEmailURL) String ¶
func (o *VerifyEmailURL) String() string
String returns the string representation of the path with query string
func (*VerifyEmailURL) StringFull ¶
func (o *VerifyEmailURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*VerifyEmailURL) WithBasePath ¶
func (o *VerifyEmailURL) WithBasePath(bp string) *VerifyEmailURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- create_or_update_note.go
- create_or_update_note_parameters.go
- create_or_update_note_responses.go
- create_or_update_note_urlbuilder.go
- create_or_update_user_address.go
- create_or_update_user_address_parameters.go
- create_or_update_user_address_responses.go
- create_or_update_user_address_urlbuilder.go
- delete_user_address.go
- delete_user_address_parameters.go
- delete_user_address_responses.go
- delete_user_address_urlbuilder.go
- delete_user_note.go
- delete_user_note_parameters.go
- delete_user_note_responses.go
- delete_user_note_urlbuilder.go
- get_user_addresses.go
- get_user_addresses_parameters.go
- get_user_addresses_responses.go
- get_user_addresses_urlbuilder.go
- get_user_notes.go
- get_user_notes_parameters.go
- get_user_notes_responses.go
- get_user_notes_urlbuilder.go
- get_user_profile.go
- get_user_profile_parameters.go
- get_user_profile_responses.go
- get_user_profile_urlbuilder.go
- update_profile.go
- update_profile_parameters.go
- update_profile_responses.go
- update_profile_urlbuilder.go
- verify_email.go
- verify_email_parameters.go
- verify_email_responses.go
- verify_email_token.go
- verify_email_token_parameters.go
- verify_email_token_responses.go
- verify_email_token_urlbuilder.go
- verify_email_urlbuilder.go