support

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: AGPL-3.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

View Source
const GetCallHomeOptionValueOKCode int = 200

GetCallHomeOptionValueOKCode is the HTTP code returned for type GetCallHomeOptionValueOK

View Source
const SetCallHomeStatusNoContentCode int = 204

SetCallHomeStatusNoContentCode is the HTTP code returned for type SetCallHomeStatusNoContent

Variables

This section is empty.

Functions

This section is empty.

Types

type GetCallHomeOptionValue

type GetCallHomeOptionValue struct {
	Context *middleware.Context
	Handler GetCallHomeOptionValueHandler
}
GetCallHomeOptionValue swagger:route GET /support/callhome Support getCallHomeOptionValue

Get Callhome current status

func NewGetCallHomeOptionValue

func NewGetCallHomeOptionValue(ctx *middleware.Context, handler GetCallHomeOptionValueHandler) *GetCallHomeOptionValue

NewGetCallHomeOptionValue creates a new http.Handler for the get call home option value operation

func (*GetCallHomeOptionValue) ServeHTTP

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

type GetCallHomeOptionValueDefault

type GetCallHomeOptionValueDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetCallHomeOptionValueDefault Generic error response.

swagger:response getCallHomeOptionValueDefault

func NewGetCallHomeOptionValueDefault

func NewGetCallHomeOptionValueDefault(code int) *GetCallHomeOptionValueDefault

NewGetCallHomeOptionValueDefault creates GetCallHomeOptionValueDefault with default headers values

func (*GetCallHomeOptionValueDefault) SetPayload

func (o *GetCallHomeOptionValueDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the get call home option value default response

func (*GetCallHomeOptionValueDefault) SetStatusCode

func (o *GetCallHomeOptionValueDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get call home option value default response

func (*GetCallHomeOptionValueDefault) WithPayload

WithPayload adds the payload to the get call home option value default response

func (*GetCallHomeOptionValueDefault) WithStatusCode

WithStatusCode adds the status to the get call home option value default response

func (*GetCallHomeOptionValueDefault) WriteResponse

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

WriteResponse to the client

type GetCallHomeOptionValueHandler

type GetCallHomeOptionValueHandler interface {
	Handle(GetCallHomeOptionValueParams, *models.Principal) middleware.Responder
}

GetCallHomeOptionValueHandler interface for that can handle valid get call home option value params

type GetCallHomeOptionValueHandlerFunc

type GetCallHomeOptionValueHandlerFunc func(GetCallHomeOptionValueParams, *models.Principal) middleware.Responder

GetCallHomeOptionValueHandlerFunc turns a function with the right signature into a get call home option value handler

func (GetCallHomeOptionValueHandlerFunc) Handle

Handle executing the request and returning a response

type GetCallHomeOptionValueOK

type GetCallHomeOptionValueOK struct {

	/*
	  In: Body
	*/
	Payload *models.CallHomeGetResponse `json:"body,omitempty"`
}

GetCallHomeOptionValueOK A successful response.

swagger:response getCallHomeOptionValueOK

func NewGetCallHomeOptionValueOK

func NewGetCallHomeOptionValueOK() *GetCallHomeOptionValueOK

NewGetCallHomeOptionValueOK creates GetCallHomeOptionValueOK with default headers values

func (*GetCallHomeOptionValueOK) SetPayload

func (o *GetCallHomeOptionValueOK) SetPayload(payload *models.CallHomeGetResponse)

SetPayload sets the payload to the get call home option value o k response

func (*GetCallHomeOptionValueOK) WithPayload

WithPayload adds the payload to the get call home option value o k response

func (*GetCallHomeOptionValueOK) WriteResponse

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

WriteResponse to the client

type GetCallHomeOptionValueParams

type GetCallHomeOptionValueParams struct {

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

GetCallHomeOptionValueParams contains all the bound params for the get call home option value operation typically these are obtained from a http.Request

swagger:parameters GetCallHomeOptionValue

func NewGetCallHomeOptionValueParams

func NewGetCallHomeOptionValueParams() GetCallHomeOptionValueParams

NewGetCallHomeOptionValueParams creates a new GetCallHomeOptionValueParams object

There are no default values defined in the spec.

func (*GetCallHomeOptionValueParams) 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 NewGetCallHomeOptionValueParams() beforehand.

type GetCallHomeOptionValueURL

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

GetCallHomeOptionValueURL generates an URL for the get call home option value operation

func (*GetCallHomeOptionValueURL) Build

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

Build a url path and query string

func (*GetCallHomeOptionValueURL) BuildFull

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

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

func (*GetCallHomeOptionValueURL) Must

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

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

func (*GetCallHomeOptionValueURL) SetBasePath

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

func (o *GetCallHomeOptionValueURL) String() string

String returns the string representation of the path with query string

func (*GetCallHomeOptionValueURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetCallHomeOptionValueURL) 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 SetCallHomeStatus

type SetCallHomeStatus struct {
	Context *middleware.Context
	Handler SetCallHomeStatusHandler
}
SetCallHomeStatus swagger:route PUT /support/callhome Support setCallHomeStatus

Sets callhome status

func NewSetCallHomeStatus

func NewSetCallHomeStatus(ctx *middleware.Context, handler SetCallHomeStatusHandler) *SetCallHomeStatus

NewSetCallHomeStatus creates a new http.Handler for the set call home status operation

func (*SetCallHomeStatus) ServeHTTP

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

type SetCallHomeStatusDefault

type SetCallHomeStatusDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

SetCallHomeStatusDefault Generic error response.

swagger:response setCallHomeStatusDefault

func NewSetCallHomeStatusDefault

func NewSetCallHomeStatusDefault(code int) *SetCallHomeStatusDefault

NewSetCallHomeStatusDefault creates SetCallHomeStatusDefault with default headers values

func (*SetCallHomeStatusDefault) SetPayload

func (o *SetCallHomeStatusDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the set call home status default response

func (*SetCallHomeStatusDefault) SetStatusCode

func (o *SetCallHomeStatusDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set call home status default response

func (*SetCallHomeStatusDefault) WithPayload

WithPayload adds the payload to the set call home status default response

func (*SetCallHomeStatusDefault) WithStatusCode

func (o *SetCallHomeStatusDefault) WithStatusCode(code int) *SetCallHomeStatusDefault

WithStatusCode adds the status to the set call home status default response

func (*SetCallHomeStatusDefault) WriteResponse

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

WriteResponse to the client

type SetCallHomeStatusHandler

type SetCallHomeStatusHandler interface {
	Handle(SetCallHomeStatusParams, *models.Principal) middleware.Responder
}

SetCallHomeStatusHandler interface for that can handle valid set call home status params

type SetCallHomeStatusHandlerFunc

type SetCallHomeStatusHandlerFunc func(SetCallHomeStatusParams, *models.Principal) middleware.Responder

SetCallHomeStatusHandlerFunc turns a function with the right signature into a set call home status handler

func (SetCallHomeStatusHandlerFunc) Handle

Handle executing the request and returning a response

type SetCallHomeStatusNoContent

type SetCallHomeStatusNoContent struct {
}

SetCallHomeStatusNoContent A successful response.

swagger:response setCallHomeStatusNoContent

func NewSetCallHomeStatusNoContent

func NewSetCallHomeStatusNoContent() *SetCallHomeStatusNoContent

NewSetCallHomeStatusNoContent creates SetCallHomeStatusNoContent with default headers values

func (*SetCallHomeStatusNoContent) WriteResponse

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

WriteResponse to the client

type SetCallHomeStatusParams

type SetCallHomeStatusParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.CallHomeSetStatus
}

SetCallHomeStatusParams contains all the bound params for the set call home status operation typically these are obtained from a http.Request

swagger:parameters SetCallHomeStatus

func NewSetCallHomeStatusParams

func NewSetCallHomeStatusParams() SetCallHomeStatusParams

NewSetCallHomeStatusParams creates a new SetCallHomeStatusParams object

There are no default values defined in the spec.

func (*SetCallHomeStatusParams) BindRequest

func (o *SetCallHomeStatusParams) 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 NewSetCallHomeStatusParams() beforehand.

type SetCallHomeStatusURL

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

SetCallHomeStatusURL generates an URL for the set call home status operation

func (*SetCallHomeStatusURL) Build

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

Build a url path and query string

func (*SetCallHomeStatusURL) BuildFull

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

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

func (*SetCallHomeStatusURL) Must

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

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

func (*SetCallHomeStatusURL) SetBasePath

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

func (o *SetCallHomeStatusURL) String() string

String returns the string representation of the path with query string

func (*SetCallHomeStatusURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SetCallHomeStatusURL) WithBasePath

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

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