profile

package
v0.0.0-...-80b2b3e Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const CreateOrUpdateNoteBadRequestCode int = 400

CreateOrUpdateNoteBadRequestCode is the HTTP code returned for type CreateOrUpdateNoteBadRequest

View Source
const CreateOrUpdateNoteInternalServerErrorCode int = 500

CreateOrUpdateNoteInternalServerErrorCode is the HTTP code returned for type CreateOrUpdateNoteInternalServerError

View Source
const CreateOrUpdateNoteOKCode int = 200

CreateOrUpdateNoteOKCode is the HTTP code returned for type CreateOrUpdateNoteOK

View Source
const CreateOrUpdateUserAddressBadRequestCode int = 400

CreateOrUpdateUserAddressBadRequestCode is the HTTP code returned for type CreateOrUpdateUserAddressBadRequest

View Source
const CreateOrUpdateUserAddressInternalServerErrorCode int = 500

CreateOrUpdateUserAddressInternalServerErrorCode is the HTTP code returned for type CreateOrUpdateUserAddressInternalServerError

View Source
const CreateOrUpdateUserAddressOKCode int = 200

CreateOrUpdateUserAddressOKCode is the HTTP code returned for type CreateOrUpdateUserAddressOK

View Source
const DeleteUserAddressBadRequestCode int = 400

DeleteUserAddressBadRequestCode is the HTTP code returned for type DeleteUserAddressBadRequest

View Source
const DeleteUserAddressInternalServerErrorCode int = 500

DeleteUserAddressInternalServerErrorCode is the HTTP code returned for type DeleteUserAddressInternalServerError

View Source
const DeleteUserAddressOKCode int = 200

DeleteUserAddressOKCode is the HTTP code returned for type DeleteUserAddressOK

View Source
const DeleteUserNoteBadRequestCode int = 400

DeleteUserNoteBadRequestCode is the HTTP code returned for type DeleteUserNoteBadRequest

View Source
const DeleteUserNoteInternalServerErrorCode int = 500

DeleteUserNoteInternalServerErrorCode is the HTTP code returned for type DeleteUserNoteInternalServerError

View Source
const DeleteUserNoteOKCode int = 200

DeleteUserNoteOKCode is the HTTP code returned for type DeleteUserNoteOK

View Source
const GetUserAddressesBadRequestCode int = 400

GetUserAddressesBadRequestCode is the HTTP code returned for type GetUserAddressesBadRequest

View Source
const GetUserAddressesInternalServerErrorCode int = 500

GetUserAddressesInternalServerErrorCode is the HTTP code returned for type GetUserAddressesInternalServerError

View Source
const GetUserAddressesOKCode int = 200

GetUserAddressesOKCode is the HTTP code returned for type GetUserAddressesOK

View Source
const GetUserNotesBadRequestCode int = 400

GetUserNotesBadRequestCode is the HTTP code returned for type GetUserNotesBadRequest

View Source
const GetUserNotesInternalServerErrorCode int = 500

GetUserNotesInternalServerErrorCode is the HTTP code returned for type GetUserNotesInternalServerError

View Source
const GetUserNotesOKCode int = 200

GetUserNotesOKCode is the HTTP code returned for type GetUserNotesOK

View Source
const GetUserProfileBadRequestCode int = 400

GetUserProfileBadRequestCode is the HTTP code returned for type GetUserProfileBadRequest

View Source
const GetUserProfileInternalServerErrorCode int = 500

GetUserProfileInternalServerErrorCode is the HTTP code returned for type GetUserProfileInternalServerError

View Source
const GetUserProfileOKCode int = 200

GetUserProfileOKCode is the HTTP code returned for type GetUserProfileOK

View Source
const UpdateProfileBadRequestCode int = 400

UpdateProfileBadRequestCode is the HTTP code returned for type UpdateProfileBadRequest

View Source
const UpdateProfileInternalServerErrorCode int = 500

UpdateProfileInternalServerErrorCode is the HTTP code returned for type UpdateProfileInternalServerError

View Source
const UpdateProfileOKCode int = 200

UpdateProfileOKCode is the HTTP code returned for type UpdateProfileOK

View Source
const VerifyEmailBadRequestCode int = 400

VerifyEmailBadRequestCode is the HTTP code returned for type VerifyEmailBadRequest

View Source
const VerifyEmailInternalServerErrorCode int = 500

VerifyEmailInternalServerErrorCode is the HTTP code returned for type VerifyEmailInternalServerError

View Source
const VerifyEmailOKCode int = 200

VerifyEmailOKCode is the HTTP code returned for type VerifyEmailOK

View Source
const VerifyEmailTokenBadRequestCode int = 400

VerifyEmailTokenBadRequestCode is the HTTP code returned for type VerifyEmailTokenBadRequest

View Source
const VerifyEmailTokenInternalServerErrorCode int = 500

VerifyEmailTokenInternalServerErrorCode is the HTTP code returned for type VerifyEmailTokenInternalServerError

View Source
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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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