Documentation ¶
Index ¶
- Constants
- type AddGatewayRegister
- type AddGatewayRegisterDefault
- func (o *AddGatewayRegisterDefault) SetPayload(payload *models.Error)
- func (o *AddGatewayRegisterDefault) SetStatusCode(code int)
- func (o *AddGatewayRegisterDefault) WithPayload(payload *models.Error) *AddGatewayRegisterDefault
- func (o *AddGatewayRegisterDefault) WithStatusCode(code int) *AddGatewayRegisterDefault
- func (o *AddGatewayRegisterDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddGatewayRegisterHandler
- type AddGatewayRegisterHandlerFunc
- type AddGatewayRegisterOK
- type AddGatewayRegisterParams
- type AddGatewayRegisterURL
- func (o *AddGatewayRegisterURL) Build() (*url.URL, error)
- func (o *AddGatewayRegisterURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddGatewayRegisterURL) Must(u *url.URL, err error) *url.URL
- func (o *AddGatewayRegisterURL) SetBasePath(bp string)
- func (o *AddGatewayRegisterURL) String() string
- func (o *AddGatewayRegisterURL) StringFull(scheme, host string) string
- func (o *AddGatewayRegisterURL) WithBasePath(bp string) *AddGatewayRegisterURL
- type DeleteGatewayRegister
- type DeleteGatewayRegisterDefault
- func (o *DeleteGatewayRegisterDefault) SetPayload(payload *models.Error)
- func (o *DeleteGatewayRegisterDefault) SetStatusCode(code int)
- func (o *DeleteGatewayRegisterDefault) WithPayload(payload *models.Error) *DeleteGatewayRegisterDefault
- func (o *DeleteGatewayRegisterDefault) WithStatusCode(code int) *DeleteGatewayRegisterDefault
- func (o *DeleteGatewayRegisterDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteGatewayRegisterHandler
- type DeleteGatewayRegisterHandlerFunc
- type DeleteGatewayRegisterOK
- type DeleteGatewayRegisterParams
- type DeleteGatewayRegisterURL
- func (o *DeleteGatewayRegisterURL) Build() (*url.URL, error)
- func (o *DeleteGatewayRegisterURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteGatewayRegisterURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteGatewayRegisterURL) SetBasePath(bp string)
- func (o *DeleteGatewayRegisterURL) String() string
- func (o *DeleteGatewayRegisterURL) StringFull(scheme, host string) string
- func (o *DeleteGatewayRegisterURL) WithBasePath(bp string) *DeleteGatewayRegisterURL
- type GetGatewayRegisters
- type GetGatewayRegistersByID
- type GetGatewayRegistersByIDDefault
- func (o *GetGatewayRegistersByIDDefault) SetPayload(payload *models.Error)
- func (o *GetGatewayRegistersByIDDefault) SetStatusCode(code int)
- func (o *GetGatewayRegistersByIDDefault) WithPayload(payload *models.Error) *GetGatewayRegistersByIDDefault
- func (o *GetGatewayRegistersByIDDefault) WithStatusCode(code int) *GetGatewayRegistersByIDDefault
- func (o *GetGatewayRegistersByIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGatewayRegistersByIDHandler
- type GetGatewayRegistersByIDHandlerFunc
- type GetGatewayRegistersByIDOK
- type GetGatewayRegistersByIDParams
- type GetGatewayRegistersByIDURL
- func (o *GetGatewayRegistersByIDURL) Build() (*url.URL, error)
- func (o *GetGatewayRegistersByIDURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetGatewayRegistersByIDURL) Must(u *url.URL, err error) *url.URL
- func (o *GetGatewayRegistersByIDURL) SetBasePath(bp string)
- func (o *GetGatewayRegistersByIDURL) String() string
- func (o *GetGatewayRegistersByIDURL) StringFull(scheme, host string) string
- func (o *GetGatewayRegistersByIDURL) WithBasePath(bp string) *GetGatewayRegistersByIDURL
- type GetGatewayRegistersDefault
- func (o *GetGatewayRegistersDefault) SetPayload(payload *models.Error)
- func (o *GetGatewayRegistersDefault) SetStatusCode(code int)
- func (o *GetGatewayRegistersDefault) WithPayload(payload *models.Error) *GetGatewayRegistersDefault
- func (o *GetGatewayRegistersDefault) WithStatusCode(code int) *GetGatewayRegistersDefault
- func (o *GetGatewayRegistersDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetGatewayRegistersHandler
- type GetGatewayRegistersHandlerFunc
- type GetGatewayRegistersOK
- type GetGatewayRegistersParams
- type GetGatewayRegistersURL
- func (o *GetGatewayRegistersURL) Build() (*url.URL, error)
- func (o *GetGatewayRegistersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetGatewayRegistersURL) Must(u *url.URL, err error) *url.URL
- func (o *GetGatewayRegistersURL) SetBasePath(bp string)
- func (o *GetGatewayRegistersURL) String() string
- func (o *GetGatewayRegistersURL) StringFull(scheme, host string) string
- func (o *GetGatewayRegistersURL) WithBasePath(bp string) *GetGatewayRegistersURL
Constants ¶
const AddGatewayRegisterOKCode int = 200
AddGatewayRegisterOKCode is the HTTP code returned for type AddGatewayRegisterOK
const DeleteGatewayRegisterOKCode int = 200
DeleteGatewayRegisterOKCode is the HTTP code returned for type DeleteGatewayRegisterOK
const GetGatewayRegistersByIDOKCode int = 200
GetGatewayRegistersByIDOKCode is the HTTP code returned for type GetGatewayRegistersByIDOK
const GetGatewayRegistersOKCode int = 200
GetGatewayRegistersOKCode is the HTTP code returned for type GetGatewayRegistersOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddGatewayRegister ¶
type AddGatewayRegister struct { Context *middleware.Context Handler AddGatewayRegisterHandler }
AddGatewayRegister swagger:route POST /registers/gateway Gateway addGatewayRegister
Add a Gateway register ¶
<b>Add a Gateway register</b>
func NewAddGatewayRegister ¶
func NewAddGatewayRegister(ctx *middleware.Context, handler AddGatewayRegisterHandler) *AddGatewayRegister
NewAddGatewayRegister creates a new http.Handler for the add gateway register operation
func (*AddGatewayRegister) ServeHTTP ¶
func (o *AddGatewayRegister) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type AddGatewayRegisterDefault ¶
type AddGatewayRegisterDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
AddGatewayRegisterDefault Internal error
swagger:response addGatewayRegisterDefault
func NewAddGatewayRegisterDefault ¶
func NewAddGatewayRegisterDefault(code int) *AddGatewayRegisterDefault
NewAddGatewayRegisterDefault creates AddGatewayRegisterDefault with default headers values
func (*AddGatewayRegisterDefault) SetPayload ¶
func (o *AddGatewayRegisterDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the add gateway register default response
func (*AddGatewayRegisterDefault) SetStatusCode ¶
func (o *AddGatewayRegisterDefault) SetStatusCode(code int)
SetStatusCode sets the status to the add gateway register default response
func (*AddGatewayRegisterDefault) WithPayload ¶
func (o *AddGatewayRegisterDefault) WithPayload(payload *models.Error) *AddGatewayRegisterDefault
WithPayload adds the payload to the add gateway register default response
func (*AddGatewayRegisterDefault) WithStatusCode ¶
func (o *AddGatewayRegisterDefault) WithStatusCode(code int) *AddGatewayRegisterDefault
WithStatusCode adds the status to the add gateway register default response
func (*AddGatewayRegisterDefault) WriteResponse ¶
func (o *AddGatewayRegisterDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddGatewayRegisterHandler ¶
type AddGatewayRegisterHandler interface {
Handle(AddGatewayRegisterParams) middleware.Responder
}
AddGatewayRegisterHandler interface for that can handle valid add gateway register params
type AddGatewayRegisterHandlerFunc ¶
type AddGatewayRegisterHandlerFunc func(AddGatewayRegisterParams) middleware.Responder
AddGatewayRegisterHandlerFunc turns a function with the right signature into a add gateway register handler
func (AddGatewayRegisterHandlerFunc) Handle ¶
func (fn AddGatewayRegisterHandlerFunc) Handle(params AddGatewayRegisterParams) middleware.Responder
Handle executing the request and returning a response
type AddGatewayRegisterOK ¶
type AddGatewayRegisterOK struct { /* In: Body */ Payload *models.GatewayRegister `json:"body,omitempty"` }
AddGatewayRegisterOK Gateway register added
swagger:response addGatewayRegisterOK
func NewAddGatewayRegisterOK ¶
func NewAddGatewayRegisterOK() *AddGatewayRegisterOK
NewAddGatewayRegisterOK creates AddGatewayRegisterOK with default headers values
func (*AddGatewayRegisterOK) SetPayload ¶
func (o *AddGatewayRegisterOK) SetPayload(payload *models.GatewayRegister)
SetPayload sets the payload to the add gateway register o k response
func (*AddGatewayRegisterOK) WithPayload ¶
func (o *AddGatewayRegisterOK) WithPayload(payload *models.GatewayRegister) *AddGatewayRegisterOK
WithPayload adds the payload to the add gateway register o k response
func (*AddGatewayRegisterOK) WriteResponse ¶
func (o *AddGatewayRegisterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddGatewayRegisterParams ¶
type AddGatewayRegisterParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Add a Gateway register Required: true In: body */ Register *models.GatewayRegister }
AddGatewayRegisterParams contains all the bound params for the add gateway register operation typically these are obtained from a http.Request
swagger:parameters addGatewayRegister
func NewAddGatewayRegisterParams ¶
func NewAddGatewayRegisterParams() AddGatewayRegisterParams
NewAddGatewayRegisterParams creates a new AddGatewayRegisterParams object
There are no default values defined in the spec.
func (*AddGatewayRegisterParams) BindRequest ¶
func (o *AddGatewayRegisterParams) 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 NewAddGatewayRegisterParams() beforehand.
type AddGatewayRegisterURL ¶
type AddGatewayRegisterURL struct {
// contains filtered or unexported fields
}
AddGatewayRegisterURL generates an URL for the add gateway register operation
func (*AddGatewayRegisterURL) Build ¶
func (o *AddGatewayRegisterURL) Build() (*url.URL, error)
Build a url path and query string
func (*AddGatewayRegisterURL) BuildFull ¶
func (o *AddGatewayRegisterURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AddGatewayRegisterURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*AddGatewayRegisterURL) SetBasePath ¶
func (o *AddGatewayRegisterURL) 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 (*AddGatewayRegisterURL) String ¶
func (o *AddGatewayRegisterURL) String() string
String returns the string representation of the path with query string
func (*AddGatewayRegisterURL) StringFull ¶
func (o *AddGatewayRegisterURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AddGatewayRegisterURL) WithBasePath ¶
func (o *AddGatewayRegisterURL) WithBasePath(bp string) *AddGatewayRegisterURL
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 DeleteGatewayRegister ¶
type DeleteGatewayRegister struct { Context *middleware.Context Handler DeleteGatewayRegisterHandler }
DeleteGatewayRegister swagger:route DELETE /registers/gateway Gateway deleteGatewayRegister
Delete Gateway registers ¶
<b>Delete Gateway registers</b>
func NewDeleteGatewayRegister ¶
func NewDeleteGatewayRegister(ctx *middleware.Context, handler DeleteGatewayRegisterHandler) *DeleteGatewayRegister
NewDeleteGatewayRegister creates a new http.Handler for the delete gateway register operation
func (*DeleteGatewayRegister) ServeHTTP ¶
func (o *DeleteGatewayRegister) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteGatewayRegisterDefault ¶
type DeleteGatewayRegisterDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteGatewayRegisterDefault Internal error
swagger:response deleteGatewayRegisterDefault
func NewDeleteGatewayRegisterDefault ¶
func NewDeleteGatewayRegisterDefault(code int) *DeleteGatewayRegisterDefault
NewDeleteGatewayRegisterDefault creates DeleteGatewayRegisterDefault with default headers values
func (*DeleteGatewayRegisterDefault) SetPayload ¶
func (o *DeleteGatewayRegisterDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete gateway register default response
func (*DeleteGatewayRegisterDefault) SetStatusCode ¶
func (o *DeleteGatewayRegisterDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete gateway register default response
func (*DeleteGatewayRegisterDefault) WithPayload ¶
func (o *DeleteGatewayRegisterDefault) WithPayload(payload *models.Error) *DeleteGatewayRegisterDefault
WithPayload adds the payload to the delete gateway register default response
func (*DeleteGatewayRegisterDefault) WithStatusCode ¶
func (o *DeleteGatewayRegisterDefault) WithStatusCode(code int) *DeleteGatewayRegisterDefault
WithStatusCode adds the status to the delete gateway register default response
func (*DeleteGatewayRegisterDefault) WriteResponse ¶
func (o *DeleteGatewayRegisterDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteGatewayRegisterHandler ¶
type DeleteGatewayRegisterHandler interface {
Handle(DeleteGatewayRegisterParams) middleware.Responder
}
DeleteGatewayRegisterHandler interface for that can handle valid delete gateway register params
type DeleteGatewayRegisterHandlerFunc ¶
type DeleteGatewayRegisterHandlerFunc func(DeleteGatewayRegisterParams) middleware.Responder
DeleteGatewayRegisterHandlerFunc turns a function with the right signature into a delete gateway register handler
func (DeleteGatewayRegisterHandlerFunc) Handle ¶
func (fn DeleteGatewayRegisterHandlerFunc) Handle(params DeleteGatewayRegisterParams) middleware.Responder
Handle executing the request and returning a response
type DeleteGatewayRegisterOK ¶
DeleteGatewayRegisterOK Gateway registers deleted
swagger:response deleteGatewayRegisterOK
func NewDeleteGatewayRegisterOK ¶
func NewDeleteGatewayRegisterOK() *DeleteGatewayRegisterOK
NewDeleteGatewayRegisterOK creates DeleteGatewayRegisterOK with default headers values
func (*DeleteGatewayRegisterOK) SetPayload ¶
func (o *DeleteGatewayRegisterOK) SetPayload(payload *models.Ack)
SetPayload sets the payload to the delete gateway register o k response
func (*DeleteGatewayRegisterOK) WithPayload ¶
func (o *DeleteGatewayRegisterOK) WithPayload(payload *models.Ack) *DeleteGatewayRegisterOK
WithPayload adds the payload to the delete gateway register o k response
func (*DeleteGatewayRegisterOK) WriteResponse ¶
func (o *DeleteGatewayRegisterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteGatewayRegisterParams ¶
type DeleteGatewayRegisterParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
DeleteGatewayRegisterParams contains all the bound params for the delete gateway register operation typically these are obtained from a http.Request
swagger:parameters deleteGatewayRegister
func NewDeleteGatewayRegisterParams ¶
func NewDeleteGatewayRegisterParams() DeleteGatewayRegisterParams
NewDeleteGatewayRegisterParams creates a new DeleteGatewayRegisterParams object
There are no default values defined in the spec.
func (*DeleteGatewayRegisterParams) BindRequest ¶
func (o *DeleteGatewayRegisterParams) 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 NewDeleteGatewayRegisterParams() beforehand.
type DeleteGatewayRegisterURL ¶
type DeleteGatewayRegisterURL struct {
// contains filtered or unexported fields
}
DeleteGatewayRegisterURL generates an URL for the delete gateway register operation
func (*DeleteGatewayRegisterURL) Build ¶
func (o *DeleteGatewayRegisterURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteGatewayRegisterURL) BuildFull ¶
func (o *DeleteGatewayRegisterURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteGatewayRegisterURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteGatewayRegisterURL) SetBasePath ¶
func (o *DeleteGatewayRegisterURL) 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 (*DeleteGatewayRegisterURL) String ¶
func (o *DeleteGatewayRegisterURL) String() string
String returns the string representation of the path with query string
func (*DeleteGatewayRegisterURL) StringFull ¶
func (o *DeleteGatewayRegisterURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteGatewayRegisterURL) WithBasePath ¶
func (o *DeleteGatewayRegisterURL) WithBasePath(bp string) *DeleteGatewayRegisterURL
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 GetGatewayRegisters ¶
type GetGatewayRegisters struct { Context *middleware.Context Handler GetGatewayRegistersHandler }
GetGatewayRegisters swagger:route GET /registers/gateway Gateway getGatewayRegisters
Get register list ¶
<b>Get Gateway register list</b>
func NewGetGatewayRegisters ¶
func NewGetGatewayRegisters(ctx *middleware.Context, handler GetGatewayRegistersHandler) *GetGatewayRegisters
NewGetGatewayRegisters creates a new http.Handler for the get gateway registers operation
func (*GetGatewayRegisters) ServeHTTP ¶
func (o *GetGatewayRegisters) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetGatewayRegistersByID ¶
type GetGatewayRegistersByID struct { Context *middleware.Context Handler GetGatewayRegistersByIDHandler }
GetGatewayRegistersByID swagger:route GET /registers/gateway/{id} Gateway getGatewayRegistersById
Get registered Gateway by Id ¶
<b>Get a provider gateway by Id</b>
func NewGetGatewayRegistersByID ¶
func NewGetGatewayRegistersByID(ctx *middleware.Context, handler GetGatewayRegistersByIDHandler) *GetGatewayRegistersByID
NewGetGatewayRegistersByID creates a new http.Handler for the get gateway registers by Id operation
func (*GetGatewayRegistersByID) ServeHTTP ¶
func (o *GetGatewayRegistersByID) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetGatewayRegistersByIDDefault ¶
type GetGatewayRegistersByIDDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetGatewayRegistersByIDDefault Internal error
swagger:response getGatewayRegistersByIdDefault
func NewGetGatewayRegistersByIDDefault ¶
func NewGetGatewayRegistersByIDDefault(code int) *GetGatewayRegistersByIDDefault
NewGetGatewayRegistersByIDDefault creates GetGatewayRegistersByIDDefault with default headers values
func (*GetGatewayRegistersByIDDefault) SetPayload ¶
func (o *GetGatewayRegistersByIDDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get gateway registers by Id default response
func (*GetGatewayRegistersByIDDefault) SetStatusCode ¶
func (o *GetGatewayRegistersByIDDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get gateway registers by Id default response
func (*GetGatewayRegistersByIDDefault) WithPayload ¶
func (o *GetGatewayRegistersByIDDefault) WithPayload(payload *models.Error) *GetGatewayRegistersByIDDefault
WithPayload adds the payload to the get gateway registers by Id default response
func (*GetGatewayRegistersByIDDefault) WithStatusCode ¶
func (o *GetGatewayRegistersByIDDefault) WithStatusCode(code int) *GetGatewayRegistersByIDDefault
WithStatusCode adds the status to the get gateway registers by Id default response
func (*GetGatewayRegistersByIDDefault) WriteResponse ¶
func (o *GetGatewayRegistersByIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGatewayRegistersByIDHandler ¶
type GetGatewayRegistersByIDHandler interface {
Handle(GetGatewayRegistersByIDParams) middleware.Responder
}
GetGatewayRegistersByIDHandler interface for that can handle valid get gateway registers by Id params
type GetGatewayRegistersByIDHandlerFunc ¶
type GetGatewayRegistersByIDHandlerFunc func(GetGatewayRegistersByIDParams) middleware.Responder
GetGatewayRegistersByIDHandlerFunc turns a function with the right signature into a get gateway registers by Id handler
func (GetGatewayRegistersByIDHandlerFunc) Handle ¶
func (fn GetGatewayRegistersByIDHandlerFunc) Handle(params GetGatewayRegistersByIDParams) middleware.Responder
Handle executing the request and returning a response
type GetGatewayRegistersByIDOK ¶
type GetGatewayRegistersByIDOK struct { /* In: Body */ Payload *models.GatewayRegister `json:"body,omitempty"` }
GetGatewayRegistersByIDOK Get a registered gateway by Id
swagger:response getGatewayRegistersByIdOK
func NewGetGatewayRegistersByIDOK ¶
func NewGetGatewayRegistersByIDOK() *GetGatewayRegistersByIDOK
NewGetGatewayRegistersByIDOK creates GetGatewayRegistersByIDOK with default headers values
func (*GetGatewayRegistersByIDOK) SetPayload ¶
func (o *GetGatewayRegistersByIDOK) SetPayload(payload *models.GatewayRegister)
SetPayload sets the payload to the get gateway registers by Id o k response
func (*GetGatewayRegistersByIDOK) WithPayload ¶
func (o *GetGatewayRegistersByIDOK) WithPayload(payload *models.GatewayRegister) *GetGatewayRegistersByIDOK
WithPayload adds the payload to the get gateway registers by Id o k response
func (*GetGatewayRegistersByIDOK) WriteResponse ¶
func (o *GetGatewayRegistersByIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGatewayRegistersByIDParams ¶
type GetGatewayRegistersByIDParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Gateway ID Required: true In: path */ ID string }
GetGatewayRegistersByIDParams contains all the bound params for the get gateway registers by Id operation typically these are obtained from a http.Request
swagger:parameters getGatewayRegistersById
func NewGetGatewayRegistersByIDParams ¶
func NewGetGatewayRegistersByIDParams() GetGatewayRegistersByIDParams
NewGetGatewayRegistersByIDParams creates a new GetGatewayRegistersByIDParams object
There are no default values defined in the spec.
func (*GetGatewayRegistersByIDParams) BindRequest ¶
func (o *GetGatewayRegistersByIDParams) 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 NewGetGatewayRegistersByIDParams() beforehand.
type GetGatewayRegistersByIDURL ¶
type GetGatewayRegistersByIDURL struct { ID string // contains filtered or unexported fields }
GetGatewayRegistersByIDURL generates an URL for the get gateway registers by Id operation
func (*GetGatewayRegistersByIDURL) Build ¶
func (o *GetGatewayRegistersByIDURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetGatewayRegistersByIDURL) BuildFull ¶
func (o *GetGatewayRegistersByIDURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetGatewayRegistersByIDURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetGatewayRegistersByIDURL) SetBasePath ¶
func (o *GetGatewayRegistersByIDURL) 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 (*GetGatewayRegistersByIDURL) String ¶
func (o *GetGatewayRegistersByIDURL) String() string
String returns the string representation of the path with query string
func (*GetGatewayRegistersByIDURL) StringFull ¶
func (o *GetGatewayRegistersByIDURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetGatewayRegistersByIDURL) WithBasePath ¶
func (o *GetGatewayRegistersByIDURL) WithBasePath(bp string) *GetGatewayRegistersByIDURL
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 GetGatewayRegistersDefault ¶
type GetGatewayRegistersDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetGatewayRegistersDefault Internal error
swagger:response getGatewayRegistersDefault
func NewGetGatewayRegistersDefault ¶
func NewGetGatewayRegistersDefault(code int) *GetGatewayRegistersDefault
NewGetGatewayRegistersDefault creates GetGatewayRegistersDefault with default headers values
func (*GetGatewayRegistersDefault) SetPayload ¶
func (o *GetGatewayRegistersDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get gateway registers default response
func (*GetGatewayRegistersDefault) SetStatusCode ¶
func (o *GetGatewayRegistersDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get gateway registers default response
func (*GetGatewayRegistersDefault) WithPayload ¶
func (o *GetGatewayRegistersDefault) WithPayload(payload *models.Error) *GetGatewayRegistersDefault
WithPayload adds the payload to the get gateway registers default response
func (*GetGatewayRegistersDefault) WithStatusCode ¶
func (o *GetGatewayRegistersDefault) WithStatusCode(code int) *GetGatewayRegistersDefault
WithStatusCode adds the status to the get gateway registers default response
func (*GetGatewayRegistersDefault) WriteResponse ¶
func (o *GetGatewayRegistersDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGatewayRegistersHandler ¶
type GetGatewayRegistersHandler interface {
Handle(GetGatewayRegistersParams) middleware.Responder
}
GetGatewayRegistersHandler interface for that can handle valid get gateway registers params
type GetGatewayRegistersHandlerFunc ¶
type GetGatewayRegistersHandlerFunc func(GetGatewayRegistersParams) middleware.Responder
GetGatewayRegistersHandlerFunc turns a function with the right signature into a get gateway registers handler
func (GetGatewayRegistersHandlerFunc) Handle ¶
func (fn GetGatewayRegistersHandlerFunc) Handle(params GetGatewayRegistersParams) middleware.Responder
Handle executing the request and returning a response
type GetGatewayRegistersOK ¶
type GetGatewayRegistersOK struct { /* In: Body */ Payload []*models.GatewayRegister `json:"body,omitempty"` }
GetGatewayRegistersOK Gateway register list
swagger:response getGatewayRegistersOK
func NewGetGatewayRegistersOK ¶
func NewGetGatewayRegistersOK() *GetGatewayRegistersOK
NewGetGatewayRegistersOK creates GetGatewayRegistersOK with default headers values
func (*GetGatewayRegistersOK) SetPayload ¶
func (o *GetGatewayRegistersOK) SetPayload(payload []*models.GatewayRegister)
SetPayload sets the payload to the get gateway registers o k response
func (*GetGatewayRegistersOK) WithPayload ¶
func (o *GetGatewayRegistersOK) WithPayload(payload []*models.GatewayRegister) *GetGatewayRegistersOK
WithPayload adds the payload to the get gateway registers o k response
func (*GetGatewayRegistersOK) WriteResponse ¶
func (o *GetGatewayRegistersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetGatewayRegistersParams ¶
type GetGatewayRegistersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetGatewayRegistersParams contains all the bound params for the get gateway registers operation typically these are obtained from a http.Request
swagger:parameters getGatewayRegisters
func NewGetGatewayRegistersParams ¶
func NewGetGatewayRegistersParams() GetGatewayRegistersParams
NewGetGatewayRegistersParams creates a new GetGatewayRegistersParams object
There are no default values defined in the spec.
func (*GetGatewayRegistersParams) BindRequest ¶
func (o *GetGatewayRegistersParams) 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 NewGetGatewayRegistersParams() beforehand.
type GetGatewayRegistersURL ¶
type GetGatewayRegistersURL struct {
// contains filtered or unexported fields
}
GetGatewayRegistersURL generates an URL for the get gateway registers operation
func (*GetGatewayRegistersURL) Build ¶
func (o *GetGatewayRegistersURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetGatewayRegistersURL) BuildFull ¶
func (o *GetGatewayRegistersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetGatewayRegistersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetGatewayRegistersURL) SetBasePath ¶
func (o *GetGatewayRegistersURL) 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 (*GetGatewayRegistersURL) String ¶
func (o *GetGatewayRegistersURL) String() string
String returns the string representation of the path with query string
func (*GetGatewayRegistersURL) StringFull ¶
func (o *GetGatewayRegistersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetGatewayRegistersURL) WithBasePath ¶
func (o *GetGatewayRegistersURL) WithBasePath(bp string) *GetGatewayRegistersURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- add_gateway_register.go
- add_gateway_register_parameters.go
- add_gateway_register_responses.go
- add_gateway_register_urlbuilder.go
- delete_gateway_register.go
- delete_gateway_register_parameters.go
- delete_gateway_register_responses.go
- delete_gateway_register_urlbuilder.go
- get_gateway_registers.go
- get_gateway_registers_by_id.go
- get_gateway_registers_by_id_parameters.go
- get_gateway_registers_by_id_responses.go
- get_gateway_registers_by_id_urlbuilder.go
- get_gateway_registers_parameters.go
- get_gateway_registers_responses.go
- get_gateway_registers_urlbuilder.go