email

package
v0.0.0-...-07c1023 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const AddEmailAccountInternalServerErrorCode int = 500

AddEmailAccountInternalServerErrorCode is the HTTP code returned for type AddEmailAccountInternalServerError

View Source
const AddEmailAccountMethodNotAllowedCode int = 405

AddEmailAccountMethodNotAllowedCode is the HTTP code returned for type AddEmailAccountMethodNotAllowed

View Source
const AddEmailAccountNotAcceptableCode int = 406

AddEmailAccountNotAcceptableCode is the HTTP code returned for type AddEmailAccountNotAcceptable

View Source
const AddEmailAccountOKCode int = 200

AddEmailAccountOKCode is the HTTP code returned for type AddEmailAccountOK

View Source
const AddEmailAliasInternalServerErrorCode int = 500

AddEmailAliasInternalServerErrorCode is the HTTP code returned for type AddEmailAliasInternalServerError

View Source
const AddEmailAliasMethodNotAllowedCode int = 405

AddEmailAliasMethodNotAllowedCode is the HTTP code returned for type AddEmailAliasMethodNotAllowed

View Source
const AddEmailAliasNotAcceptableCode int = 406

AddEmailAliasNotAcceptableCode is the HTTP code returned for type AddEmailAliasNotAcceptable

View Source
const AddEmailAliasOKCode int = 200

AddEmailAliasOKCode is the HTTP code returned for type AddEmailAliasOK

View Source
const DeleteEmailAccountInternalServerErrorCode int = 500

DeleteEmailAccountInternalServerErrorCode is the HTTP code returned for type DeleteEmailAccountInternalServerError

View Source
const DeleteEmailAccountMethodNotAllowedCode int = 405

DeleteEmailAccountMethodNotAllowedCode is the HTTP code returned for type DeleteEmailAccountMethodNotAllowed

View Source
const DeleteEmailAccountNotFoundCode int = 404

DeleteEmailAccountNotFoundCode is the HTTP code returned for type DeleteEmailAccountNotFound

View Source
const DeleteEmailAccountOKCode int = 200

DeleteEmailAccountOKCode is the HTTP code returned for type DeleteEmailAccountOK

View Source
const DeleteEmailAliasInternalServerErrorCode int = 500

DeleteEmailAliasInternalServerErrorCode is the HTTP code returned for type DeleteEmailAliasInternalServerError

View Source
const DeleteEmailAliasMethodNotAllowedCode int = 405

DeleteEmailAliasMethodNotAllowedCode is the HTTP code returned for type DeleteEmailAliasMethodNotAllowed

View Source
const DeleteEmailAliasNotFoundCode int = 404

DeleteEmailAliasNotFoundCode is the HTTP code returned for type DeleteEmailAliasNotFound

View Source
const DeleteEmailAliasOKCode int = 200

DeleteEmailAliasOKCode is the HTTP code returned for type DeleteEmailAliasOK

View Source
const DeleteQuotaOfEmailAccountInternalServerErrorCode int = 500

DeleteQuotaOfEmailAccountInternalServerErrorCode is the HTTP code returned for type DeleteQuotaOfEmailAccountInternalServerError

View Source
const DeleteQuotaOfEmailAccountMethodNotAllowedCode int = 405

DeleteQuotaOfEmailAccountMethodNotAllowedCode is the HTTP code returned for type DeleteQuotaOfEmailAccountMethodNotAllowed

View Source
const DeleteQuotaOfEmailAccountNotFoundCode int = 404

DeleteQuotaOfEmailAccountNotFoundCode is the HTTP code returned for type DeleteQuotaOfEmailAccountNotFound

View Source
const DeleteQuotaOfEmailAccountOKCode int = 200

DeleteQuotaOfEmailAccountOKCode is the HTTP code returned for type DeleteQuotaOfEmailAccountOK

View Source
const GetQuotaOfEmailAccountInternalServerErrorCode int = 500

GetQuotaOfEmailAccountInternalServerErrorCode is the HTTP code returned for type GetQuotaOfEmailAccountInternalServerError

View Source
const GetQuotaOfEmailAccountNotFoundCode int = 404

GetQuotaOfEmailAccountNotFoundCode is the HTTP code returned for type GetQuotaOfEmailAccountNotFound

View Source
const GetQuotaOfEmailAccountOKCode int = 200

GetQuotaOfEmailAccountOKCode is the HTTP code returned for type GetQuotaOfEmailAccountOK

View Source
const ListEmailAccountsInternalServerErrorCode int = 500

ListEmailAccountsInternalServerErrorCode is the HTTP code returned for type ListEmailAccountsInternalServerError

View Source
const ListEmailAccountsOKCode int = 200

ListEmailAccountsOKCode is the HTTP code returned for type ListEmailAccountsOK

View Source
const PutQuotaOfEmailAccountInternalServerErrorCode int = 500

PutQuotaOfEmailAccountInternalServerErrorCode is the HTTP code returned for type PutQuotaOfEmailAccountInternalServerError

View Source
const PutQuotaOfEmailAccountMethodNotAllowedCode int = 405

PutQuotaOfEmailAccountMethodNotAllowedCode is the HTTP code returned for type PutQuotaOfEmailAccountMethodNotAllowed

View Source
const PutQuotaOfEmailAccountNotFoundCode int = 404

PutQuotaOfEmailAccountNotFoundCode is the HTTP code returned for type PutQuotaOfEmailAccountNotFound

View Source
const PutQuotaOfEmailAccountOKCode int = 200

PutQuotaOfEmailAccountOKCode is the HTTP code returned for type PutQuotaOfEmailAccountOK

View Source
const UpdateEmailAddressInternalServerErrorCode int = 500

UpdateEmailAddressInternalServerErrorCode is the HTTP code returned for type UpdateEmailAddressInternalServerError

View Source
const UpdateEmailAddressMethodNotAllowedCode int = 405

UpdateEmailAddressMethodNotAllowedCode is the HTTP code returned for type UpdateEmailAddressMethodNotAllowed

View Source
const UpdateEmailAddressNotFoundCode int = 404

UpdateEmailAddressNotFoundCode is the HTTP code returned for type UpdateEmailAddressNotFound

View Source
const UpdateEmailAddressOKCode int = 200

UpdateEmailAddressOKCode is the HTTP code returned for type UpdateEmailAddressOK

Variables

This section is empty.

Functions

This section is empty.

Types

type AddEmailAccount

type AddEmailAccount struct {
	Context *middleware.Context
	Handler AddEmailAccountHandler
}
AddEmailAccount swagger:route POST /email email addEmailAccount

AddEmailAccount add email account API

func NewAddEmailAccount

func NewAddEmailAccount(ctx *middleware.Context, handler AddEmailAccountHandler) *AddEmailAccount

NewAddEmailAccount creates a new http.Handler for the add email account operation

func (*AddEmailAccount) ServeHTTP

func (o *AddEmailAccount) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type AddEmailAccountHandler

type AddEmailAccountHandler interface {
	Handle(AddEmailAccountParams, interface{}) middleware.Responder
}

AddEmailAccountHandler interface for that can handle valid add email account params

type AddEmailAccountHandlerFunc

type AddEmailAccountHandlerFunc func(AddEmailAccountParams, interface{}) middleware.Responder

AddEmailAccountHandlerFunc turns a function with the right signature into a add email account handler

func (AddEmailAccountHandlerFunc) Handle

func (fn AddEmailAccountHandlerFunc) Handle(params AddEmailAccountParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddEmailAccountInternalServerError

type AddEmailAccountInternalServerError struct {
}

AddEmailAccountInternalServerError Internal error

swagger:response addEmailAccountInternalServerError

func NewAddEmailAccountInternalServerError

func NewAddEmailAccountInternalServerError() *AddEmailAccountInternalServerError

NewAddEmailAccountInternalServerError creates AddEmailAccountInternalServerError with default headers values

func (*AddEmailAccountInternalServerError) WriteResponse

WriteResponse to the client

type AddEmailAccountMethodNotAllowed

type AddEmailAccountMethodNotAllowed struct {
}

AddEmailAccountMethodNotAllowed Invalid input

swagger:response addEmailAccountMethodNotAllowed

func NewAddEmailAccountMethodNotAllowed

func NewAddEmailAccountMethodNotAllowed() *AddEmailAccountMethodNotAllowed

NewAddEmailAccountMethodNotAllowed creates AddEmailAccountMethodNotAllowed with default headers values

func (*AddEmailAccountMethodNotAllowed) WriteResponse

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

WriteResponse to the client

type AddEmailAccountNotAcceptable

type AddEmailAccountNotAcceptable struct {
}

AddEmailAccountNotAcceptable Email address already exists!

swagger:response addEmailAccountNotAcceptable

func NewAddEmailAccountNotAcceptable

func NewAddEmailAccountNotAcceptable() *AddEmailAccountNotAcceptable

NewAddEmailAccountNotAcceptable creates AddEmailAccountNotAcceptable with default headers values

func (*AddEmailAccountNotAcceptable) WriteResponse

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

WriteResponse to the client

type AddEmailAccountOK

type AddEmailAccountOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

AddEmailAccountOK Successful operation

swagger:response addEmailAccountOK

func NewAddEmailAccountOK

func NewAddEmailAccountOK() *AddEmailAccountOK

NewAddEmailAccountOK creates AddEmailAccountOK with default headers values

func (*AddEmailAccountOK) SetPayload

func (o *AddEmailAccountOK) SetPayload(payload string)

SetPayload sets the payload to the add email account o k response

func (*AddEmailAccountOK) WithPayload

func (o *AddEmailAccountOK) WithPayload(payload string) *AddEmailAccountOK

WithPayload adds the payload to the add email account o k response

func (*AddEmailAccountOK) WriteResponse

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

WriteResponse to the client

type AddEmailAccountParams

type AddEmailAccountParams struct {

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

	/*Create a new email account
	  Required: true
	  In: body
	*/
	Body *models.EmailAccount
}

AddEmailAccountParams contains all the bound params for the add email account operation typically these are obtained from a http.Request

swagger:parameters addEmailAccount

func NewAddEmailAccountParams

func NewAddEmailAccountParams() AddEmailAccountParams

NewAddEmailAccountParams creates a new AddEmailAccountParams object

There are no default values defined in the spec.

func (*AddEmailAccountParams) BindRequest

func (o *AddEmailAccountParams) 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 NewAddEmailAccountParams() beforehand.

type AddEmailAccountURL

type AddEmailAccountURL struct {
	// contains filtered or unexported fields
}

AddEmailAccountURL generates an URL for the add email account operation

func (*AddEmailAccountURL) Build

func (o *AddEmailAccountURL) Build() (*url.URL, error)

Build a url path and query string

func (*AddEmailAccountURL) BuildFull

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

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

func (*AddEmailAccountURL) Must

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

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

func (*AddEmailAccountURL) SetBasePath

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

func (o *AddEmailAccountURL) String() string

String returns the string representation of the path with query string

func (*AddEmailAccountURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddEmailAccountURL) WithBasePath

func (o *AddEmailAccountURL) WithBasePath(bp string) *AddEmailAccountURL

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 AddEmailAlias

type AddEmailAlias struct {
	Context *middleware.Context
	Handler AddEmailAliasHandler
}
AddEmailAlias swagger:route POST /email/{emailAddress}/aliasses email alias addEmailAlias

AddEmailAlias add email alias API

func NewAddEmailAlias

func NewAddEmailAlias(ctx *middleware.Context, handler AddEmailAliasHandler) *AddEmailAlias

NewAddEmailAlias creates a new http.Handler for the add email alias operation

func (*AddEmailAlias) ServeHTTP

func (o *AddEmailAlias) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type AddEmailAliasHandler

type AddEmailAliasHandler interface {
	Handle(AddEmailAliasParams, interface{}) middleware.Responder
}

AddEmailAliasHandler interface for that can handle valid add email alias params

type AddEmailAliasHandlerFunc

type AddEmailAliasHandlerFunc func(AddEmailAliasParams, interface{}) middleware.Responder

AddEmailAliasHandlerFunc turns a function with the right signature into a add email alias handler

func (AddEmailAliasHandlerFunc) Handle

func (fn AddEmailAliasHandlerFunc) Handle(params AddEmailAliasParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddEmailAliasInternalServerError

type AddEmailAliasInternalServerError struct {
}

AddEmailAliasInternalServerError Internal error

swagger:response addEmailAliasInternalServerError

func NewAddEmailAliasInternalServerError

func NewAddEmailAliasInternalServerError() *AddEmailAliasInternalServerError

NewAddEmailAliasInternalServerError creates AddEmailAliasInternalServerError with default headers values

func (*AddEmailAliasInternalServerError) WriteResponse

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

WriteResponse to the client

type AddEmailAliasMethodNotAllowed

type AddEmailAliasMethodNotAllowed struct {
}

AddEmailAliasMethodNotAllowed Invalid input

swagger:response addEmailAliasMethodNotAllowed

func NewAddEmailAliasMethodNotAllowed

func NewAddEmailAliasMethodNotAllowed() *AddEmailAliasMethodNotAllowed

NewAddEmailAliasMethodNotAllowed creates AddEmailAliasMethodNotAllowed with default headers values

func (*AddEmailAliasMethodNotAllowed) WriteResponse

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

WriteResponse to the client

type AddEmailAliasNotAcceptable

type AddEmailAliasNotAcceptable struct {
}

AddEmailAliasNotAcceptable Email alias already exists!

swagger:response addEmailAliasNotAcceptable

func NewAddEmailAliasNotAcceptable

func NewAddEmailAliasNotAcceptable() *AddEmailAliasNotAcceptable

NewAddEmailAliasNotAcceptable creates AddEmailAliasNotAcceptable with default headers values

func (*AddEmailAliasNotAcceptable) WriteResponse

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

WriteResponse to the client

type AddEmailAliasOK

type AddEmailAliasOK struct {
}

AddEmailAliasOK Successful operation

swagger:response addEmailAliasOK

func NewAddEmailAliasOK

func NewAddEmailAliasOK() *AddEmailAliasOK

NewAddEmailAliasOK creates AddEmailAliasOK with default headers values

func (*AddEmailAliasOK) WriteResponse

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

WriteResponse to the client

type AddEmailAliasParams

type AddEmailAliasParams struct {

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

	/*Alias to add to the email account
	  Required: true
	  In: body
	*/
	Alias string
	/*Address of the email account to point the alias to.
	  Required: true
	  In: path
	*/
	EmailAddress string
}

AddEmailAliasParams contains all the bound params for the add email alias operation typically these are obtained from a http.Request

swagger:parameters addEmailAlias

func NewAddEmailAliasParams

func NewAddEmailAliasParams() AddEmailAliasParams

NewAddEmailAliasParams creates a new AddEmailAliasParams object

There are no default values defined in the spec.

func (*AddEmailAliasParams) BindRequest

func (o *AddEmailAliasParams) 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 NewAddEmailAliasParams() beforehand.

type AddEmailAliasURL

type AddEmailAliasURL struct {
	EmailAddress string
	// contains filtered or unexported fields
}

AddEmailAliasURL generates an URL for the add email alias operation

func (*AddEmailAliasURL) Build

func (o *AddEmailAliasURL) Build() (*url.URL, error)

Build a url path and query string

func (*AddEmailAliasURL) BuildFull

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

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

func (*AddEmailAliasURL) Must

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

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

func (*AddEmailAliasURL) SetBasePath

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

func (o *AddEmailAliasURL) String() string

String returns the string representation of the path with query string

func (*AddEmailAliasURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddEmailAliasURL) WithBasePath

func (o *AddEmailAliasURL) WithBasePath(bp string) *AddEmailAliasURL

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 DeleteEmailAccount

type DeleteEmailAccount struct {
	Context *middleware.Context
	Handler DeleteEmailAccountHandler
}
DeleteEmailAccount swagger:route DELETE /email/{emailAddress} email deleteEmailAccount

DeleteEmailAccount delete email account API

func NewDeleteEmailAccount

func NewDeleteEmailAccount(ctx *middleware.Context, handler DeleteEmailAccountHandler) *DeleteEmailAccount

NewDeleteEmailAccount creates a new http.Handler for the delete email account operation

func (*DeleteEmailAccount) ServeHTTP

func (o *DeleteEmailAccount) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteEmailAccountHandler

type DeleteEmailAccountHandler interface {
	Handle(DeleteEmailAccountParams, interface{}) middleware.Responder
}

DeleteEmailAccountHandler interface for that can handle valid delete email account params

type DeleteEmailAccountHandlerFunc

type DeleteEmailAccountHandlerFunc func(DeleteEmailAccountParams, interface{}) middleware.Responder

DeleteEmailAccountHandlerFunc turns a function with the right signature into a delete email account handler

func (DeleteEmailAccountHandlerFunc) Handle

func (fn DeleteEmailAccountHandlerFunc) Handle(params DeleteEmailAccountParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteEmailAccountInternalServerError

type DeleteEmailAccountInternalServerError struct {
}

DeleteEmailAccountInternalServerError Internal error

swagger:response deleteEmailAccountInternalServerError

func NewDeleteEmailAccountInternalServerError

func NewDeleteEmailAccountInternalServerError() *DeleteEmailAccountInternalServerError

NewDeleteEmailAccountInternalServerError creates DeleteEmailAccountInternalServerError with default headers values

func (*DeleteEmailAccountInternalServerError) WriteResponse

WriteResponse to the client

type DeleteEmailAccountMethodNotAllowed

type DeleteEmailAccountMethodNotAllowed struct {
}

DeleteEmailAccountMethodNotAllowed Invalid input

swagger:response deleteEmailAccountMethodNotAllowed

func NewDeleteEmailAccountMethodNotAllowed

func NewDeleteEmailAccountMethodNotAllowed() *DeleteEmailAccountMethodNotAllowed

NewDeleteEmailAccountMethodNotAllowed creates DeleteEmailAccountMethodNotAllowed with default headers values

func (*DeleteEmailAccountMethodNotAllowed) WriteResponse

WriteResponse to the client

type DeleteEmailAccountNotFound

type DeleteEmailAccountNotFound struct {
}

DeleteEmailAccountNotFound Account not found

swagger:response deleteEmailAccountNotFound

func NewDeleteEmailAccountNotFound

func NewDeleteEmailAccountNotFound() *DeleteEmailAccountNotFound

NewDeleteEmailAccountNotFound creates DeleteEmailAccountNotFound with default headers values

func (*DeleteEmailAccountNotFound) WriteResponse

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

WriteResponse to the client

type DeleteEmailAccountOK

type DeleteEmailAccountOK struct {
}

DeleteEmailAccountOK Successful operation

swagger:response deleteEmailAccountOK

func NewDeleteEmailAccountOK

func NewDeleteEmailAccountOK() *DeleteEmailAccountOK

NewDeleteEmailAccountOK creates DeleteEmailAccountOK with default headers values

func (*DeleteEmailAccountOK) WriteResponse

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

WriteResponse to the client

type DeleteEmailAccountParams

type DeleteEmailAccountParams struct {

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

	/*Address of the email account to delete
	  Required: true
	  In: path
	*/
	EmailAddress string
}

DeleteEmailAccountParams contains all the bound params for the delete email account operation typically these are obtained from a http.Request

swagger:parameters deleteEmailAccount

func NewDeleteEmailAccountParams

func NewDeleteEmailAccountParams() DeleteEmailAccountParams

NewDeleteEmailAccountParams creates a new DeleteEmailAccountParams object

There are no default values defined in the spec.

func (*DeleteEmailAccountParams) 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 NewDeleteEmailAccountParams() beforehand.

type DeleteEmailAccountURL

type DeleteEmailAccountURL struct {
	EmailAddress string
	// contains filtered or unexported fields
}

DeleteEmailAccountURL generates an URL for the delete email account operation

func (*DeleteEmailAccountURL) Build

func (o *DeleteEmailAccountURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteEmailAccountURL) BuildFull

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

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

func (*DeleteEmailAccountURL) Must

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

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

func (*DeleteEmailAccountURL) SetBasePath

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

func (o *DeleteEmailAccountURL) String() string

String returns the string representation of the path with query string

func (*DeleteEmailAccountURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteEmailAccountURL) WithBasePath

func (o *DeleteEmailAccountURL) WithBasePath(bp string) *DeleteEmailAccountURL

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 DeleteEmailAlias

type DeleteEmailAlias struct {
	Context *middleware.Context
	Handler DeleteEmailAliasHandler
}
DeleteEmailAlias swagger:route DELETE /email/{emailAddress}/aliasses email alias deleteEmailAlias

DeleteEmailAlias delete email alias API

func NewDeleteEmailAlias

func NewDeleteEmailAlias(ctx *middleware.Context, handler DeleteEmailAliasHandler) *DeleteEmailAlias

NewDeleteEmailAlias creates a new http.Handler for the delete email alias operation

func (*DeleteEmailAlias) ServeHTTP

func (o *DeleteEmailAlias) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteEmailAliasHandler

type DeleteEmailAliasHandler interface {
	Handle(DeleteEmailAliasParams, interface{}) middleware.Responder
}

DeleteEmailAliasHandler interface for that can handle valid delete email alias params

type DeleteEmailAliasHandlerFunc

type DeleteEmailAliasHandlerFunc func(DeleteEmailAliasParams, interface{}) middleware.Responder

DeleteEmailAliasHandlerFunc turns a function with the right signature into a delete email alias handler

func (DeleteEmailAliasHandlerFunc) Handle

func (fn DeleteEmailAliasHandlerFunc) Handle(params DeleteEmailAliasParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteEmailAliasInternalServerError

type DeleteEmailAliasInternalServerError struct {
}

DeleteEmailAliasInternalServerError Internal error

swagger:response deleteEmailAliasInternalServerError

func NewDeleteEmailAliasInternalServerError

func NewDeleteEmailAliasInternalServerError() *DeleteEmailAliasInternalServerError

NewDeleteEmailAliasInternalServerError creates DeleteEmailAliasInternalServerError with default headers values

func (*DeleteEmailAliasInternalServerError) WriteResponse

WriteResponse to the client

type DeleteEmailAliasMethodNotAllowed

type DeleteEmailAliasMethodNotAllowed struct {
}

DeleteEmailAliasMethodNotAllowed Invalid input

swagger:response deleteEmailAliasMethodNotAllowed

func NewDeleteEmailAliasMethodNotAllowed

func NewDeleteEmailAliasMethodNotAllowed() *DeleteEmailAliasMethodNotAllowed

NewDeleteEmailAliasMethodNotAllowed creates DeleteEmailAliasMethodNotAllowed with default headers values

func (*DeleteEmailAliasMethodNotAllowed) WriteResponse

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

WriteResponse to the client

type DeleteEmailAliasNotFound

type DeleteEmailAliasNotFound struct {
}

DeleteEmailAliasNotFound Account or alias not found

swagger:response deleteEmailAliasNotFound

func NewDeleteEmailAliasNotFound

func NewDeleteEmailAliasNotFound() *DeleteEmailAliasNotFound

NewDeleteEmailAliasNotFound creates DeleteEmailAliasNotFound with default headers values

func (*DeleteEmailAliasNotFound) WriteResponse

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

WriteResponse to the client

type DeleteEmailAliasOK

type DeleteEmailAliasOK struct {
}

DeleteEmailAliasOK Successful operation

swagger:response deleteEmailAliasOK

func NewDeleteEmailAliasOK

func NewDeleteEmailAliasOK() *DeleteEmailAliasOK

NewDeleteEmailAliasOK creates DeleteEmailAliasOK with default headers values

func (*DeleteEmailAliasOK) WriteResponse

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

WriteResponse to the client

type DeleteEmailAliasParams

type DeleteEmailAliasParams struct {

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

	/*Alias to remove from the email account
	  Required: true
	  In: body
	*/
	Alias string
	/*Address of the email account to delete the alias from
	  Required: true
	  In: path
	*/
	EmailAddress string
}

DeleteEmailAliasParams contains all the bound params for the delete email alias operation typically these are obtained from a http.Request

swagger:parameters deleteEmailAlias

func NewDeleteEmailAliasParams

func NewDeleteEmailAliasParams() DeleteEmailAliasParams

NewDeleteEmailAliasParams creates a new DeleteEmailAliasParams object

There are no default values defined in the spec.

func (*DeleteEmailAliasParams) BindRequest

func (o *DeleteEmailAliasParams) 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 NewDeleteEmailAliasParams() beforehand.

type DeleteEmailAliasURL

type DeleteEmailAliasURL struct {
	EmailAddress string
	// contains filtered or unexported fields
}

DeleteEmailAliasURL generates an URL for the delete email alias operation

func (*DeleteEmailAliasURL) Build

func (o *DeleteEmailAliasURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteEmailAliasURL) BuildFull

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

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

func (*DeleteEmailAliasURL) Must

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

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

func (*DeleteEmailAliasURL) SetBasePath

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

func (o *DeleteEmailAliasURL) String() string

String returns the string representation of the path with query string

func (*DeleteEmailAliasURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteEmailAliasURL) WithBasePath

func (o *DeleteEmailAliasURL) WithBasePath(bp string) *DeleteEmailAliasURL

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 DeleteQuotaOfEmailAccount

type DeleteQuotaOfEmailAccount struct {
	Context *middleware.Context
	Handler DeleteQuotaOfEmailAccountHandler
}
DeleteQuotaOfEmailAccount swagger:route DELETE /email/{emailAddress}/quota email deleteQuotaOfEmailAccount

DeleteQuotaOfEmailAccount delete quota of email account API

func NewDeleteQuotaOfEmailAccount

func NewDeleteQuotaOfEmailAccount(ctx *middleware.Context, handler DeleteQuotaOfEmailAccountHandler) *DeleteQuotaOfEmailAccount

NewDeleteQuotaOfEmailAccount creates a new http.Handler for the delete quota of email account operation

func (*DeleteQuotaOfEmailAccount) ServeHTTP

type DeleteQuotaOfEmailAccountHandler

type DeleteQuotaOfEmailAccountHandler interface {
	Handle(DeleteQuotaOfEmailAccountParams, interface{}) middleware.Responder
}

DeleteQuotaOfEmailAccountHandler interface for that can handle valid delete quota of email account params

type DeleteQuotaOfEmailAccountHandlerFunc

type DeleteQuotaOfEmailAccountHandlerFunc func(DeleteQuotaOfEmailAccountParams, interface{}) middleware.Responder

DeleteQuotaOfEmailAccountHandlerFunc turns a function with the right signature into a delete quota of email account handler

func (DeleteQuotaOfEmailAccountHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteQuotaOfEmailAccountInternalServerError

type DeleteQuotaOfEmailAccountInternalServerError struct {
}

DeleteQuotaOfEmailAccountInternalServerError Internal error

swagger:response deleteQuotaOfEmailAccountInternalServerError

func NewDeleteQuotaOfEmailAccountInternalServerError

func NewDeleteQuotaOfEmailAccountInternalServerError() *DeleteQuotaOfEmailAccountInternalServerError

NewDeleteQuotaOfEmailAccountInternalServerError creates DeleteQuotaOfEmailAccountInternalServerError with default headers values

func (*DeleteQuotaOfEmailAccountInternalServerError) WriteResponse

WriteResponse to the client

type DeleteQuotaOfEmailAccountMethodNotAllowed

type DeleteQuotaOfEmailAccountMethodNotAllowed struct {
}

DeleteQuotaOfEmailAccountMethodNotAllowed Invalid input

swagger:response deleteQuotaOfEmailAccountMethodNotAllowed

func NewDeleteQuotaOfEmailAccountMethodNotAllowed

func NewDeleteQuotaOfEmailAccountMethodNotAllowed() *DeleteQuotaOfEmailAccountMethodNotAllowed

NewDeleteQuotaOfEmailAccountMethodNotAllowed creates DeleteQuotaOfEmailAccountMethodNotAllowed with default headers values

func (*DeleteQuotaOfEmailAccountMethodNotAllowed) WriteResponse

WriteResponse to the client

type DeleteQuotaOfEmailAccountNotFound

type DeleteQuotaOfEmailAccountNotFound struct {
}

DeleteQuotaOfEmailAccountNotFound Email account not found

swagger:response deleteQuotaOfEmailAccountNotFound

func NewDeleteQuotaOfEmailAccountNotFound

func NewDeleteQuotaOfEmailAccountNotFound() *DeleteQuotaOfEmailAccountNotFound

NewDeleteQuotaOfEmailAccountNotFound creates DeleteQuotaOfEmailAccountNotFound with default headers values

func (*DeleteQuotaOfEmailAccountNotFound) WriteResponse

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

WriteResponse to the client

type DeleteQuotaOfEmailAccountOK

type DeleteQuotaOfEmailAccountOK struct {
}

DeleteQuotaOfEmailAccountOK Successful operation

swagger:response deleteQuotaOfEmailAccountOK

func NewDeleteQuotaOfEmailAccountOK

func NewDeleteQuotaOfEmailAccountOK() *DeleteQuotaOfEmailAccountOK

NewDeleteQuotaOfEmailAccountOK creates DeleteQuotaOfEmailAccountOK with default headers values

func (*DeleteQuotaOfEmailAccountOK) WriteResponse

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

WriteResponse to the client

type DeleteQuotaOfEmailAccountParams

type DeleteQuotaOfEmailAccountParams struct {

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

	/*Address of the email account to delete
	  Required: true
	  In: path
	*/
	EmailAddress string
}

DeleteQuotaOfEmailAccountParams contains all the bound params for the delete quota of email account operation typically these are obtained from a http.Request

swagger:parameters deleteQuotaOfEmailAccount

func NewDeleteQuotaOfEmailAccountParams

func NewDeleteQuotaOfEmailAccountParams() DeleteQuotaOfEmailAccountParams

NewDeleteQuotaOfEmailAccountParams creates a new DeleteQuotaOfEmailAccountParams object

There are no default values defined in the spec.

func (*DeleteQuotaOfEmailAccountParams) 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 NewDeleteQuotaOfEmailAccountParams() beforehand.

type DeleteQuotaOfEmailAccountURL

type DeleteQuotaOfEmailAccountURL struct {
	EmailAddress string
	// contains filtered or unexported fields
}

DeleteQuotaOfEmailAccountURL generates an URL for the delete quota of email account operation

func (*DeleteQuotaOfEmailAccountURL) Build

func (o *DeleteQuotaOfEmailAccountURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteQuotaOfEmailAccountURL) BuildFull

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

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

func (*DeleteQuotaOfEmailAccountURL) Must

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

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

func (*DeleteQuotaOfEmailAccountURL) SetBasePath

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

String returns the string representation of the path with query string

func (*DeleteQuotaOfEmailAccountURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteQuotaOfEmailAccountURL) 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 GetQuotaOfEmailAccount

type GetQuotaOfEmailAccount struct {
	Context *middleware.Context
	Handler GetQuotaOfEmailAccountHandler
}
GetQuotaOfEmailAccount swagger:route GET /email/{emailAddress}/quota email getQuotaOfEmailAccount

GetQuotaOfEmailAccount get quota of email account API

func NewGetQuotaOfEmailAccount

func NewGetQuotaOfEmailAccount(ctx *middleware.Context, handler GetQuotaOfEmailAccountHandler) *GetQuotaOfEmailAccount

NewGetQuotaOfEmailAccount creates a new http.Handler for the get quota of email account operation

func (*GetQuotaOfEmailAccount) ServeHTTP

func (o *GetQuotaOfEmailAccount) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetQuotaOfEmailAccountHandler

type GetQuotaOfEmailAccountHandler interface {
	Handle(GetQuotaOfEmailAccountParams, interface{}) middleware.Responder
}

GetQuotaOfEmailAccountHandler interface for that can handle valid get quota of email account params

type GetQuotaOfEmailAccountHandlerFunc

type GetQuotaOfEmailAccountHandlerFunc func(GetQuotaOfEmailAccountParams, interface{}) middleware.Responder

GetQuotaOfEmailAccountHandlerFunc turns a function with the right signature into a get quota of email account handler

func (GetQuotaOfEmailAccountHandlerFunc) Handle

Handle executing the request and returning a response

type GetQuotaOfEmailAccountInternalServerError

type GetQuotaOfEmailAccountInternalServerError struct {
}

GetQuotaOfEmailAccountInternalServerError Internal error

swagger:response getQuotaOfEmailAccountInternalServerError

func NewGetQuotaOfEmailAccountInternalServerError

func NewGetQuotaOfEmailAccountInternalServerError() *GetQuotaOfEmailAccountInternalServerError

NewGetQuotaOfEmailAccountInternalServerError creates GetQuotaOfEmailAccountInternalServerError with default headers values

func (*GetQuotaOfEmailAccountInternalServerError) WriteResponse

WriteResponse to the client

type GetQuotaOfEmailAccountNotFound

type GetQuotaOfEmailAccountNotFound struct {
}

GetQuotaOfEmailAccountNotFound Email account not found

swagger:response getQuotaOfEmailAccountNotFound

func NewGetQuotaOfEmailAccountNotFound

func NewGetQuotaOfEmailAccountNotFound() *GetQuotaOfEmailAccountNotFound

NewGetQuotaOfEmailAccountNotFound creates GetQuotaOfEmailAccountNotFound with default headers values

func (*GetQuotaOfEmailAccountNotFound) WriteResponse

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

WriteResponse to the client

type GetQuotaOfEmailAccountOK

type GetQuotaOfEmailAccountOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Quota `json:"body,omitempty"`
}

GetQuotaOfEmailAccountOK Successful retrieval of email account quota

swagger:response getQuotaOfEmailAccountOK

func NewGetQuotaOfEmailAccountOK

func NewGetQuotaOfEmailAccountOK() *GetQuotaOfEmailAccountOK

NewGetQuotaOfEmailAccountOK creates GetQuotaOfEmailAccountOK with default headers values

func (*GetQuotaOfEmailAccountOK) SetPayload

func (o *GetQuotaOfEmailAccountOK) SetPayload(payload []*models.Quota)

SetPayload sets the payload to the get quota of email account o k response

func (*GetQuotaOfEmailAccountOK) WithPayload

func (o *GetQuotaOfEmailAccountOK) WithPayload(payload []*models.Quota) *GetQuotaOfEmailAccountOK

WithPayload adds the payload to the get quota of email account o k response

func (*GetQuotaOfEmailAccountOK) WriteResponse

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

WriteResponse to the client

type GetQuotaOfEmailAccountParams

type GetQuotaOfEmailAccountParams struct {

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

	/*Address of the email account to get the quota of.
	  Required: true
	  In: path
	*/
	EmailAddress string
}

GetQuotaOfEmailAccountParams contains all the bound params for the get quota of email account operation typically these are obtained from a http.Request

swagger:parameters getQuotaOfEmailAccount

func NewGetQuotaOfEmailAccountParams

func NewGetQuotaOfEmailAccountParams() GetQuotaOfEmailAccountParams

NewGetQuotaOfEmailAccountParams creates a new GetQuotaOfEmailAccountParams object

There are no default values defined in the spec.

func (*GetQuotaOfEmailAccountParams) 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 NewGetQuotaOfEmailAccountParams() beforehand.

type GetQuotaOfEmailAccountURL

type GetQuotaOfEmailAccountURL struct {
	EmailAddress string
	// contains filtered or unexported fields
}

GetQuotaOfEmailAccountURL generates an URL for the get quota of email account operation

func (*GetQuotaOfEmailAccountURL) Build

func (o *GetQuotaOfEmailAccountURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetQuotaOfEmailAccountURL) BuildFull

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

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

func (*GetQuotaOfEmailAccountURL) Must

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

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

func (*GetQuotaOfEmailAccountURL) SetBasePath

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

func (o *GetQuotaOfEmailAccountURL) String() string

String returns the string representation of the path with query string

func (*GetQuotaOfEmailAccountURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetQuotaOfEmailAccountURL) 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 ListEmailAccounts

type ListEmailAccounts struct {
	Context *middleware.Context
	Handler ListEmailAccountsHandler
}
ListEmailAccounts swagger:route GET /email email listEmailAccounts

ListEmailAccounts list email accounts API

func NewListEmailAccounts

func NewListEmailAccounts(ctx *middleware.Context, handler ListEmailAccountsHandler) *ListEmailAccounts

NewListEmailAccounts creates a new http.Handler for the list email accounts operation

func (*ListEmailAccounts) ServeHTTP

func (o *ListEmailAccounts) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListEmailAccountsHandler

type ListEmailAccountsHandler interface {
	Handle(ListEmailAccountsParams, interface{}) middleware.Responder
}

ListEmailAccountsHandler interface for that can handle valid list email accounts params

type ListEmailAccountsHandlerFunc

type ListEmailAccountsHandlerFunc func(ListEmailAccountsParams, interface{}) middleware.Responder

ListEmailAccountsHandlerFunc turns a function with the right signature into a list email accounts handler

func (ListEmailAccountsHandlerFunc) Handle

func (fn ListEmailAccountsHandlerFunc) Handle(params ListEmailAccountsParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ListEmailAccountsInternalServerError

type ListEmailAccountsInternalServerError struct {
}

ListEmailAccountsInternalServerError Internal error

swagger:response listEmailAccountsInternalServerError

func NewListEmailAccountsInternalServerError

func NewListEmailAccountsInternalServerError() *ListEmailAccountsInternalServerError

NewListEmailAccountsInternalServerError creates ListEmailAccountsInternalServerError with default headers values

func (*ListEmailAccountsInternalServerError) WriteResponse

WriteResponse to the client

type ListEmailAccountsOK

type ListEmailAccountsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.EmailAccountListItem `json:"body,omitempty"`
}

ListEmailAccountsOK Successful listing of email addresses

swagger:response listEmailAccountsOK

func NewListEmailAccountsOK

func NewListEmailAccountsOK() *ListEmailAccountsOK

NewListEmailAccountsOK creates ListEmailAccountsOK with default headers values

func (*ListEmailAccountsOK) SetPayload

func (o *ListEmailAccountsOK) SetPayload(payload []*models.EmailAccountListItem)

SetPayload sets the payload to the list email accounts o k response

func (*ListEmailAccountsOK) WithPayload

WithPayload adds the payload to the list email accounts o k response

func (*ListEmailAccountsOK) WriteResponse

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

WriteResponse to the client

type ListEmailAccountsParams

type ListEmailAccountsParams struct {

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

ListEmailAccountsParams contains all the bound params for the list email accounts operation typically these are obtained from a http.Request

swagger:parameters listEmailAccounts

func NewListEmailAccountsParams

func NewListEmailAccountsParams() ListEmailAccountsParams

NewListEmailAccountsParams creates a new ListEmailAccountsParams object

There are no default values defined in the spec.

func (*ListEmailAccountsParams) BindRequest

func (o *ListEmailAccountsParams) 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 NewListEmailAccountsParams() beforehand.

type ListEmailAccountsURL

type ListEmailAccountsURL struct {
	// contains filtered or unexported fields
}

ListEmailAccountsURL generates an URL for the list email accounts operation

func (*ListEmailAccountsURL) Build

func (o *ListEmailAccountsURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListEmailAccountsURL) BuildFull

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

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

func (*ListEmailAccountsURL) Must

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

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

func (*ListEmailAccountsURL) SetBasePath

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

func (o *ListEmailAccountsURL) String() string

String returns the string representation of the path with query string

func (*ListEmailAccountsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListEmailAccountsURL) WithBasePath

func (o *ListEmailAccountsURL) WithBasePath(bp string) *ListEmailAccountsURL

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 PutQuotaOfEmailAccount

type PutQuotaOfEmailAccount struct {
	Context *middleware.Context
	Handler PutQuotaOfEmailAccountHandler
}
PutQuotaOfEmailAccount swagger:route PUT /email/{emailAddress}/quota email putQuotaOfEmailAccount

PutQuotaOfEmailAccount put quota of email account API

func NewPutQuotaOfEmailAccount

func NewPutQuotaOfEmailAccount(ctx *middleware.Context, handler PutQuotaOfEmailAccountHandler) *PutQuotaOfEmailAccount

NewPutQuotaOfEmailAccount creates a new http.Handler for the put quota of email account operation

func (*PutQuotaOfEmailAccount) ServeHTTP

func (o *PutQuotaOfEmailAccount) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PutQuotaOfEmailAccountHandler

type PutQuotaOfEmailAccountHandler interface {
	Handle(PutQuotaOfEmailAccountParams, interface{}) middleware.Responder
}

PutQuotaOfEmailAccountHandler interface for that can handle valid put quota of email account params

type PutQuotaOfEmailAccountHandlerFunc

type PutQuotaOfEmailAccountHandlerFunc func(PutQuotaOfEmailAccountParams, interface{}) middleware.Responder

PutQuotaOfEmailAccountHandlerFunc turns a function with the right signature into a put quota of email account handler

func (PutQuotaOfEmailAccountHandlerFunc) Handle

Handle executing the request and returning a response

type PutQuotaOfEmailAccountInternalServerError

type PutQuotaOfEmailAccountInternalServerError struct {
}

PutQuotaOfEmailAccountInternalServerError Internal error

swagger:response putQuotaOfEmailAccountInternalServerError

func NewPutQuotaOfEmailAccountInternalServerError

func NewPutQuotaOfEmailAccountInternalServerError() *PutQuotaOfEmailAccountInternalServerError

NewPutQuotaOfEmailAccountInternalServerError creates PutQuotaOfEmailAccountInternalServerError with default headers values

func (*PutQuotaOfEmailAccountInternalServerError) WriteResponse

WriteResponse to the client

type PutQuotaOfEmailAccountMethodNotAllowed

type PutQuotaOfEmailAccountMethodNotAllowed struct {
}

PutQuotaOfEmailAccountMethodNotAllowed Invalid input

swagger:response putQuotaOfEmailAccountMethodNotAllowed

func NewPutQuotaOfEmailAccountMethodNotAllowed

func NewPutQuotaOfEmailAccountMethodNotAllowed() *PutQuotaOfEmailAccountMethodNotAllowed

NewPutQuotaOfEmailAccountMethodNotAllowed creates PutQuotaOfEmailAccountMethodNotAllowed with default headers values

func (*PutQuotaOfEmailAccountMethodNotAllowed) WriteResponse

WriteResponse to the client

type PutQuotaOfEmailAccountNotFound

type PutQuotaOfEmailAccountNotFound struct {
}

PutQuotaOfEmailAccountNotFound Email account not found

swagger:response putQuotaOfEmailAccountNotFound

func NewPutQuotaOfEmailAccountNotFound

func NewPutQuotaOfEmailAccountNotFound() *PutQuotaOfEmailAccountNotFound

NewPutQuotaOfEmailAccountNotFound creates PutQuotaOfEmailAccountNotFound with default headers values

func (*PutQuotaOfEmailAccountNotFound) WriteResponse

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

WriteResponse to the client

type PutQuotaOfEmailAccountOK

type PutQuotaOfEmailAccountOK struct {
}

PutQuotaOfEmailAccountOK Successful operation

swagger:response putQuotaOfEmailAccountOK

func NewPutQuotaOfEmailAccountOK

func NewPutQuotaOfEmailAccountOK() *PutQuotaOfEmailAccountOK

NewPutQuotaOfEmailAccountOK creates PutQuotaOfEmailAccountOK with default headers values

func (*PutQuotaOfEmailAccountOK) WriteResponse

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

WriteResponse to the client

type PutQuotaOfEmailAccountParams

type PutQuotaOfEmailAccountParams struct {

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

	/*Address of the email account to delete
	  Required: true
	  In: path
	*/
	EmailAddress string
	/*The quota to set for this email account
	  Required: true
	  In: body
	*/
	Quota string
}

PutQuotaOfEmailAccountParams contains all the bound params for the put quota of email account operation typically these are obtained from a http.Request

swagger:parameters putQuotaOfEmailAccount

func NewPutQuotaOfEmailAccountParams

func NewPutQuotaOfEmailAccountParams() PutQuotaOfEmailAccountParams

NewPutQuotaOfEmailAccountParams creates a new PutQuotaOfEmailAccountParams object

There are no default values defined in the spec.

func (*PutQuotaOfEmailAccountParams) 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 NewPutQuotaOfEmailAccountParams() beforehand.

type PutQuotaOfEmailAccountURL

type PutQuotaOfEmailAccountURL struct {
	EmailAddress string
	// contains filtered or unexported fields
}

PutQuotaOfEmailAccountURL generates an URL for the put quota of email account operation

func (*PutQuotaOfEmailAccountURL) Build

func (o *PutQuotaOfEmailAccountURL) Build() (*url.URL, error)

Build a url path and query string

func (*PutQuotaOfEmailAccountURL) BuildFull

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

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

func (*PutQuotaOfEmailAccountURL) Must

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

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

func (*PutQuotaOfEmailAccountURL) SetBasePath

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

func (o *PutQuotaOfEmailAccountURL) String() string

String returns the string representation of the path with query string

func (*PutQuotaOfEmailAccountURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PutQuotaOfEmailAccountURL) 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 UpdateEmailAddress

type UpdateEmailAddress struct {
	Context *middleware.Context
	Handler UpdateEmailAddressHandler
}
UpdateEmailAddress swagger:route PUT /email/{emailAddress} email updateEmailAddress

UpdateEmailAddress update email address API

func NewUpdateEmailAddress

func NewUpdateEmailAddress(ctx *middleware.Context, handler UpdateEmailAddressHandler) *UpdateEmailAddress

NewUpdateEmailAddress creates a new http.Handler for the update email address operation

func (*UpdateEmailAddress) ServeHTTP

func (o *UpdateEmailAddress) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateEmailAddressHandler

type UpdateEmailAddressHandler interface {
	Handle(UpdateEmailAddressParams, interface{}) middleware.Responder
}

UpdateEmailAddressHandler interface for that can handle valid update email address params

type UpdateEmailAddressHandlerFunc

type UpdateEmailAddressHandlerFunc func(UpdateEmailAddressParams, interface{}) middleware.Responder

UpdateEmailAddressHandlerFunc turns a function with the right signature into a update email address handler

func (UpdateEmailAddressHandlerFunc) Handle

func (fn UpdateEmailAddressHandlerFunc) Handle(params UpdateEmailAddressParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdateEmailAddressInternalServerError

type UpdateEmailAddressInternalServerError struct {
}

UpdateEmailAddressInternalServerError Internal error

swagger:response updateEmailAddressInternalServerError

func NewUpdateEmailAddressInternalServerError

func NewUpdateEmailAddressInternalServerError() *UpdateEmailAddressInternalServerError

NewUpdateEmailAddressInternalServerError creates UpdateEmailAddressInternalServerError with default headers values

func (*UpdateEmailAddressInternalServerError) WriteResponse

WriteResponse to the client

type UpdateEmailAddressMethodNotAllowed

type UpdateEmailAddressMethodNotAllowed struct {
}

UpdateEmailAddressMethodNotAllowed Invalid input

swagger:response updateEmailAddressMethodNotAllowed

func NewUpdateEmailAddressMethodNotAllowed

func NewUpdateEmailAddressMethodNotAllowed() *UpdateEmailAddressMethodNotAllowed

NewUpdateEmailAddressMethodNotAllowed creates UpdateEmailAddressMethodNotAllowed with default headers values

func (*UpdateEmailAddressMethodNotAllowed) WriteResponse

WriteResponse to the client

type UpdateEmailAddressNotFound

type UpdateEmailAddressNotFound struct {
}

UpdateEmailAddressNotFound Account not found

swagger:response updateEmailAddressNotFound

func NewUpdateEmailAddressNotFound

func NewUpdateEmailAddressNotFound() *UpdateEmailAddressNotFound

NewUpdateEmailAddressNotFound creates UpdateEmailAddressNotFound with default headers values

func (*UpdateEmailAddressNotFound) WriteResponse

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

WriteResponse to the client

type UpdateEmailAddressOK

type UpdateEmailAddressOK struct {
}

UpdateEmailAddressOK Successful operation

swagger:response updateEmailAddressOK

func NewUpdateEmailAddressOK

func NewUpdateEmailAddressOK() *UpdateEmailAddressOK

NewUpdateEmailAddressOK creates UpdateEmailAddressOK with default headers values

func (*UpdateEmailAddressOK) WriteResponse

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

WriteResponse to the client

type UpdateEmailAddressParams

type UpdateEmailAddressParams struct {

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

	/*Address of the email account to update
	  Required: true
	  In: path
	*/
	EmailAddress string
	/*Password for the email account
	  Required: true
	  In: body
	*/
	Password string
}

UpdateEmailAddressParams contains all the bound params for the update email address operation typically these are obtained from a http.Request

swagger:parameters updateEmailAddress

func NewUpdateEmailAddressParams

func NewUpdateEmailAddressParams() UpdateEmailAddressParams

NewUpdateEmailAddressParams creates a new UpdateEmailAddressParams object

There are no default values defined in the spec.

func (*UpdateEmailAddressParams) 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 NewUpdateEmailAddressParams() beforehand.

type UpdateEmailAddressURL

type UpdateEmailAddressURL struct {
	EmailAddress string
	// contains filtered or unexported fields
}

UpdateEmailAddressURL generates an URL for the update email address operation

func (*UpdateEmailAddressURL) Build

func (o *UpdateEmailAddressURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateEmailAddressURL) BuildFull

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

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

func (*UpdateEmailAddressURL) Must

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

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

func (*UpdateEmailAddressURL) SetBasePath

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

func (o *UpdateEmailAddressURL) String() string

String returns the string representation of the path with query string

func (*UpdateEmailAddressURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateEmailAddressURL) WithBasePath

func (o *UpdateEmailAddressURL) WithBasePath(bp string) *UpdateEmailAddressURL

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