Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteGatewaysID(params *DeleteGatewaysIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteGatewaysIDOK, error)
- func (a *Client) GetGateways(params *GetGatewaysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGatewaysOK, error)
- func (a *Client) GetGatewaysID(params *GetGatewaysIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetGatewaysIDOK, error)
- func (a *Client) PostGateways(params *PostGatewaysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostGatewaysOK, error)
- func (a *Client) PutGatewaysID(params *PutGatewaysIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutGatewaysIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteGatewaysIDForbidden
- type DeleteGatewaysIDInternalServerError
- type DeleteGatewaysIDNotFound
- type DeleteGatewaysIDOK
- type DeleteGatewaysIDParams
- func NewDeleteGatewaysIDParams() *DeleteGatewaysIDParams
- func NewDeleteGatewaysIDParamsWithContext(ctx context.Context) *DeleteGatewaysIDParams
- func NewDeleteGatewaysIDParamsWithHTTPClient(client *http.Client) *DeleteGatewaysIDParams
- func NewDeleteGatewaysIDParamsWithTimeout(timeout time.Duration) *DeleteGatewaysIDParams
- func (o *DeleteGatewaysIDParams) SetContext(ctx context.Context)
- func (o *DeleteGatewaysIDParams) SetDefaults()
- func (o *DeleteGatewaysIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGatewaysIDParams) SetID(id string)
- func (o *DeleteGatewaysIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGatewaysIDParams) WithContext(ctx context.Context) *DeleteGatewaysIDParams
- func (o *DeleteGatewaysIDParams) WithDefaults() *DeleteGatewaysIDParams
- func (o *DeleteGatewaysIDParams) WithHTTPClient(client *http.Client) *DeleteGatewaysIDParams
- func (o *DeleteGatewaysIDParams) WithID(id string) *DeleteGatewaysIDParams
- func (o *DeleteGatewaysIDParams) WithTimeout(timeout time.Duration) *DeleteGatewaysIDParams
- func (o *DeleteGatewaysIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGatewaysIDReader
- type DeleteGatewaysIDUnauthorized
- type GetGatewaysForbidden
- type GetGatewaysIDForbidden
- type GetGatewaysIDInternalServerError
- type GetGatewaysIDNotFound
- type GetGatewaysIDOK
- type GetGatewaysIDParams
- func (o *GetGatewaysIDParams) SetContext(ctx context.Context)
- func (o *GetGatewaysIDParams) SetDefaults()
- func (o *GetGatewaysIDParams) SetHTTPClient(client *http.Client)
- func (o *GetGatewaysIDParams) SetID(id string)
- func (o *GetGatewaysIDParams) SetTimeout(timeout time.Duration)
- func (o *GetGatewaysIDParams) WithContext(ctx context.Context) *GetGatewaysIDParams
- func (o *GetGatewaysIDParams) WithDefaults() *GetGatewaysIDParams
- func (o *GetGatewaysIDParams) WithHTTPClient(client *http.Client) *GetGatewaysIDParams
- func (o *GetGatewaysIDParams) WithID(id string) *GetGatewaysIDParams
- func (o *GetGatewaysIDParams) WithTimeout(timeout time.Duration) *GetGatewaysIDParams
- func (o *GetGatewaysIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGatewaysIDReader
- type GetGatewaysIDUnauthorized
- type GetGatewaysInternalServerError
- type GetGatewaysOK
- type GetGatewaysParams
- func (o *GetGatewaysParams) SetContext(ctx context.Context)
- func (o *GetGatewaysParams) SetDefaults()
- func (o *GetGatewaysParams) SetHTTPClient(client *http.Client)
- func (o *GetGatewaysParams) SetTimeout(timeout time.Duration)
- func (o *GetGatewaysParams) WithContext(ctx context.Context) *GetGatewaysParams
- func (o *GetGatewaysParams) WithDefaults() *GetGatewaysParams
- func (o *GetGatewaysParams) WithHTTPClient(client *http.Client) *GetGatewaysParams
- func (o *GetGatewaysParams) WithTimeout(timeout time.Duration) *GetGatewaysParams
- func (o *GetGatewaysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGatewaysReader
- type GetGatewaysUnauthorized
- type PostGatewaysBadRequest
- type PostGatewaysForbidden
- type PostGatewaysInternalServerError
- type PostGatewaysOK
- type PostGatewaysParams
- func (o *PostGatewaysParams) SetBody(body *models.NewGateway)
- func (o *PostGatewaysParams) SetContext(ctx context.Context)
- func (o *PostGatewaysParams) SetDefaults()
- func (o *PostGatewaysParams) SetHTTPClient(client *http.Client)
- func (o *PostGatewaysParams) SetTimeout(timeout time.Duration)
- func (o *PostGatewaysParams) WithBody(body *models.NewGateway) *PostGatewaysParams
- func (o *PostGatewaysParams) WithContext(ctx context.Context) *PostGatewaysParams
- func (o *PostGatewaysParams) WithDefaults() *PostGatewaysParams
- func (o *PostGatewaysParams) WithHTTPClient(client *http.Client) *PostGatewaysParams
- func (o *PostGatewaysParams) WithTimeout(timeout time.Duration) *PostGatewaysParams
- func (o *PostGatewaysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostGatewaysReader
- type PostGatewaysUnauthorized
- type PutGatewaysIDBadRequest
- type PutGatewaysIDForbidden
- type PutGatewaysIDInternalServerError
- type PutGatewaysIDNotFound
- type PutGatewaysIDOK
- type PutGatewaysIDParams
- func (o *PutGatewaysIDParams) SetBody(body *models.Model8)
- func (o *PutGatewaysIDParams) SetContext(ctx context.Context)
- func (o *PutGatewaysIDParams) SetDefaults()
- func (o *PutGatewaysIDParams) SetHTTPClient(client *http.Client)
- func (o *PutGatewaysIDParams) SetID(id string)
- func (o *PutGatewaysIDParams) SetTimeout(timeout time.Duration)
- func (o *PutGatewaysIDParams) WithBody(body *models.Model8) *PutGatewaysIDParams
- func (o *PutGatewaysIDParams) WithContext(ctx context.Context) *PutGatewaysIDParams
- func (o *PutGatewaysIDParams) WithDefaults() *PutGatewaysIDParams
- func (o *PutGatewaysIDParams) WithHTTPClient(client *http.Client) *PutGatewaysIDParams
- func (o *PutGatewaysIDParams) WithID(id string) *PutGatewaysIDParams
- func (o *PutGatewaysIDParams) WithTimeout(timeout time.Duration) *PutGatewaysIDParams
- func (o *PutGatewaysIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutGatewaysIDReader
- type PutGatewaysIDUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for gateways API
func (*Client) DeleteGatewaysID ¶
func (a *Client) DeleteGatewaysID(params *DeleteGatewaysIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGatewaysIDOK, error)
DeleteGatewaysID deletes a gateway
func (*Client) GetGateways ¶
func (a *Client) GetGateways(params *GetGatewaysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGatewaysOK, error)
GetGateways gets all gateways
func (*Client) GetGatewaysID ¶
func (a *Client) GetGatewaysID(params *GetGatewaysIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGatewaysIDOK, error)
GetGatewaysID gets gateway detail
func (*Client) PostGateways ¶
func (a *Client) PostGateways(params *PostGatewaysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostGatewaysOK, error)
PostGateways creates a new gateway
func (*Client) PutGatewaysID ¶
func (a *Client) PutGatewaysID(params *PutGatewaysIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutGatewaysIDOK, error)
PutGatewaysID updates a gateway
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteGatewaysID(params *DeleteGatewaysIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGatewaysIDOK, error) GetGateways(params *GetGatewaysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGatewaysOK, error) GetGatewaysID(params *GetGatewaysIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGatewaysIDOK, error) PostGateways(params *PostGatewaysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostGatewaysOK, error) PutGatewaysID(params *PutGatewaysIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutGatewaysIDOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new gateways API client.
type DeleteGatewaysIDForbidden ¶
DeleteGatewaysIDForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteGatewaysIDForbidden ¶
func NewDeleteGatewaysIDForbidden() *DeleteGatewaysIDForbidden
NewDeleteGatewaysIDForbidden creates a DeleteGatewaysIDForbidden with default headers values
func (*DeleteGatewaysIDForbidden) Error ¶
func (o *DeleteGatewaysIDForbidden) Error() string
func (*DeleteGatewaysIDForbidden) GetPayload ¶
func (o *DeleteGatewaysIDForbidden) GetPayload() *models.Error
type DeleteGatewaysIDInternalServerError ¶
DeleteGatewaysIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewDeleteGatewaysIDInternalServerError ¶
func NewDeleteGatewaysIDInternalServerError() *DeleteGatewaysIDInternalServerError
NewDeleteGatewaysIDInternalServerError creates a DeleteGatewaysIDInternalServerError with default headers values
func (*DeleteGatewaysIDInternalServerError) Error ¶
func (o *DeleteGatewaysIDInternalServerError) Error() string
func (*DeleteGatewaysIDInternalServerError) GetPayload ¶
func (o *DeleteGatewaysIDInternalServerError) GetPayload() *models.Error
type DeleteGatewaysIDNotFound ¶
DeleteGatewaysIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteGatewaysIDNotFound ¶
func NewDeleteGatewaysIDNotFound() *DeleteGatewaysIDNotFound
NewDeleteGatewaysIDNotFound creates a DeleteGatewaysIDNotFound with default headers values
func (*DeleteGatewaysIDNotFound) Error ¶
func (o *DeleteGatewaysIDNotFound) Error() string
func (*DeleteGatewaysIDNotFound) GetPayload ¶
func (o *DeleteGatewaysIDNotFound) GetPayload() *models.Error
type DeleteGatewaysIDOK ¶
DeleteGatewaysIDOK describes a response with status code 200, with default header values.
Successful
func NewDeleteGatewaysIDOK ¶
func NewDeleteGatewaysIDOK() *DeleteGatewaysIDOK
NewDeleteGatewaysIDOK creates a DeleteGatewaysIDOK with default headers values
func (*DeleteGatewaysIDOK) Error ¶
func (o *DeleteGatewaysIDOK) Error() string
func (*DeleteGatewaysIDOK) GetPayload ¶
func (o *DeleteGatewaysIDOK) GetPayload() *models.Status
type DeleteGatewaysIDParams ¶
type DeleteGatewaysIDParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteGatewaysIDParams contains all the parameters to send to the API endpoint
for the delete gateways Id operation. Typically these are written to a http.Request.
func NewDeleteGatewaysIDParams ¶
func NewDeleteGatewaysIDParams() *DeleteGatewaysIDParams
NewDeleteGatewaysIDParams creates a new DeleteGatewaysIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteGatewaysIDParamsWithContext ¶
func NewDeleteGatewaysIDParamsWithContext(ctx context.Context) *DeleteGatewaysIDParams
NewDeleteGatewaysIDParamsWithContext creates a new DeleteGatewaysIDParams object with the ability to set a context for a request.
func NewDeleteGatewaysIDParamsWithHTTPClient ¶
func NewDeleteGatewaysIDParamsWithHTTPClient(client *http.Client) *DeleteGatewaysIDParams
NewDeleteGatewaysIDParamsWithHTTPClient creates a new DeleteGatewaysIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteGatewaysIDParamsWithTimeout ¶
func NewDeleteGatewaysIDParamsWithTimeout(timeout time.Duration) *DeleteGatewaysIDParams
NewDeleteGatewaysIDParamsWithTimeout creates a new DeleteGatewaysIDParams object with the ability to set a timeout on a request.
func (*DeleteGatewaysIDParams) SetContext ¶
func (o *DeleteGatewaysIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete gateways Id params
func (*DeleteGatewaysIDParams) SetDefaults ¶
func (o *DeleteGatewaysIDParams) SetDefaults()
SetDefaults hydrates default values in the delete gateways Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGatewaysIDParams) SetHTTPClient ¶
func (o *DeleteGatewaysIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete gateways Id params
func (*DeleteGatewaysIDParams) SetID ¶
func (o *DeleteGatewaysIDParams) SetID(id string)
SetID adds the id to the delete gateways Id params
func (*DeleteGatewaysIDParams) SetTimeout ¶
func (o *DeleteGatewaysIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete gateways Id params
func (*DeleteGatewaysIDParams) WithContext ¶
func (o *DeleteGatewaysIDParams) WithContext(ctx context.Context) *DeleteGatewaysIDParams
WithContext adds the context to the delete gateways Id params
func (*DeleteGatewaysIDParams) WithDefaults ¶
func (o *DeleteGatewaysIDParams) WithDefaults() *DeleteGatewaysIDParams
WithDefaults hydrates default values in the delete gateways Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteGatewaysIDParams) WithHTTPClient ¶
func (o *DeleteGatewaysIDParams) WithHTTPClient(client *http.Client) *DeleteGatewaysIDParams
WithHTTPClient adds the HTTPClient to the delete gateways Id params
func (*DeleteGatewaysIDParams) WithID ¶
func (o *DeleteGatewaysIDParams) WithID(id string) *DeleteGatewaysIDParams
WithID adds the id to the delete gateways Id params
func (*DeleteGatewaysIDParams) WithTimeout ¶
func (o *DeleteGatewaysIDParams) WithTimeout(timeout time.Duration) *DeleteGatewaysIDParams
WithTimeout adds the timeout to the delete gateways Id params
func (*DeleteGatewaysIDParams) WriteToRequest ¶
func (o *DeleteGatewaysIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteGatewaysIDReader ¶
type DeleteGatewaysIDReader struct {
// contains filtered or unexported fields
}
DeleteGatewaysIDReader is a Reader for the DeleteGatewaysID structure.
func (*DeleteGatewaysIDReader) ReadResponse ¶
func (o *DeleteGatewaysIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteGatewaysIDUnauthorized ¶
type DeleteGatewaysIDUnauthorized struct {
}DeleteGatewaysIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteGatewaysIDUnauthorized ¶
func NewDeleteGatewaysIDUnauthorized() *DeleteGatewaysIDUnauthorized
NewDeleteGatewaysIDUnauthorized creates a DeleteGatewaysIDUnauthorized with default headers values
func (*DeleteGatewaysIDUnauthorized) Error ¶
func (o *DeleteGatewaysIDUnauthorized) Error() string
func (*DeleteGatewaysIDUnauthorized) GetPayload ¶
func (o *DeleteGatewaysIDUnauthorized) GetPayload() *models.Error
type GetGatewaysForbidden ¶
GetGatewaysForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetGatewaysForbidden ¶
func NewGetGatewaysForbidden() *GetGatewaysForbidden
NewGetGatewaysForbidden creates a GetGatewaysForbidden with default headers values
func (*GetGatewaysForbidden) Error ¶
func (o *GetGatewaysForbidden) Error() string
func (*GetGatewaysForbidden) GetPayload ¶
func (o *GetGatewaysForbidden) GetPayload() *models.Error
type GetGatewaysIDForbidden ¶
GetGatewaysIDForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetGatewaysIDForbidden ¶
func NewGetGatewaysIDForbidden() *GetGatewaysIDForbidden
NewGetGatewaysIDForbidden creates a GetGatewaysIDForbidden with default headers values
func (*GetGatewaysIDForbidden) Error ¶
func (o *GetGatewaysIDForbidden) Error() string
func (*GetGatewaysIDForbidden) GetPayload ¶
func (o *GetGatewaysIDForbidden) GetPayload() *models.Error
type GetGatewaysIDInternalServerError ¶
GetGatewaysIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetGatewaysIDInternalServerError ¶
func NewGetGatewaysIDInternalServerError() *GetGatewaysIDInternalServerError
NewGetGatewaysIDInternalServerError creates a GetGatewaysIDInternalServerError with default headers values
func (*GetGatewaysIDInternalServerError) Error ¶
func (o *GetGatewaysIDInternalServerError) Error() string
func (*GetGatewaysIDInternalServerError) GetPayload ¶
func (o *GetGatewaysIDInternalServerError) GetPayload() *models.Error
type GetGatewaysIDNotFound ¶
GetGatewaysIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetGatewaysIDNotFound ¶
func NewGetGatewaysIDNotFound() *GetGatewaysIDNotFound
NewGetGatewaysIDNotFound creates a GetGatewaysIDNotFound with default headers values
func (*GetGatewaysIDNotFound) Error ¶
func (o *GetGatewaysIDNotFound) Error() string
func (*GetGatewaysIDNotFound) GetPayload ¶
func (o *GetGatewaysIDNotFound) GetPayload() *models.Error
type GetGatewaysIDOK ¶
GetGatewaysIDOK describes a response with status code 200, with default header values.
Successful
func NewGetGatewaysIDOK ¶
func NewGetGatewaysIDOK() *GetGatewaysIDOK
NewGetGatewaysIDOK creates a GetGatewaysIDOK with default headers values
func (*GetGatewaysIDOK) Error ¶
func (o *GetGatewaysIDOK) Error() string
func (*GetGatewaysIDOK) GetPayload ¶
func (o *GetGatewaysIDOK) GetPayload() *models.Model8
type GetGatewaysIDParams ¶
type GetGatewaysIDParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGatewaysIDParams contains all the parameters to send to the API endpoint
for the get gateways Id operation. Typically these are written to a http.Request.
func NewGetGatewaysIDParams ¶
func NewGetGatewaysIDParams() *GetGatewaysIDParams
NewGetGatewaysIDParams creates a new GetGatewaysIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetGatewaysIDParamsWithContext ¶
func NewGetGatewaysIDParamsWithContext(ctx context.Context) *GetGatewaysIDParams
NewGetGatewaysIDParamsWithContext creates a new GetGatewaysIDParams object with the ability to set a context for a request.
func NewGetGatewaysIDParamsWithHTTPClient ¶
func NewGetGatewaysIDParamsWithHTTPClient(client *http.Client) *GetGatewaysIDParams
NewGetGatewaysIDParamsWithHTTPClient creates a new GetGatewaysIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetGatewaysIDParamsWithTimeout ¶
func NewGetGatewaysIDParamsWithTimeout(timeout time.Duration) *GetGatewaysIDParams
NewGetGatewaysIDParamsWithTimeout creates a new GetGatewaysIDParams object with the ability to set a timeout on a request.
func (*GetGatewaysIDParams) SetContext ¶
func (o *GetGatewaysIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get gateways Id params
func (*GetGatewaysIDParams) SetDefaults ¶
func (o *GetGatewaysIDParams) SetDefaults()
SetDefaults hydrates default values in the get gateways Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetGatewaysIDParams) SetHTTPClient ¶
func (o *GetGatewaysIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get gateways Id params
func (*GetGatewaysIDParams) SetID ¶ added in v0.5.0
func (o *GetGatewaysIDParams) SetID(id string)
SetID adds the id to the get gateways Id params
func (*GetGatewaysIDParams) SetTimeout ¶
func (o *GetGatewaysIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get gateways Id params
func (*GetGatewaysIDParams) WithContext ¶
func (o *GetGatewaysIDParams) WithContext(ctx context.Context) *GetGatewaysIDParams
WithContext adds the context to the get gateways Id params
func (*GetGatewaysIDParams) WithDefaults ¶
func (o *GetGatewaysIDParams) WithDefaults() *GetGatewaysIDParams
WithDefaults hydrates default values in the get gateways Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetGatewaysIDParams) WithHTTPClient ¶
func (o *GetGatewaysIDParams) WithHTTPClient(client *http.Client) *GetGatewaysIDParams
WithHTTPClient adds the HTTPClient to the get gateways Id params
func (*GetGatewaysIDParams) WithID ¶ added in v0.5.0
func (o *GetGatewaysIDParams) WithID(id string) *GetGatewaysIDParams
WithID adds the id to the get gateways Id params
func (*GetGatewaysIDParams) WithTimeout ¶
func (o *GetGatewaysIDParams) WithTimeout(timeout time.Duration) *GetGatewaysIDParams
WithTimeout adds the timeout to the get gateways Id params
func (*GetGatewaysIDParams) WriteToRequest ¶
func (o *GetGatewaysIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGatewaysIDReader ¶
type GetGatewaysIDReader struct {
// contains filtered or unexported fields
}
GetGatewaysIDReader is a Reader for the GetGatewaysID structure.
func (*GetGatewaysIDReader) ReadResponse ¶
func (o *GetGatewaysIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGatewaysIDUnauthorized ¶
type GetGatewaysIDUnauthorized struct {
}GetGatewaysIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGatewaysIDUnauthorized ¶
func NewGetGatewaysIDUnauthorized() *GetGatewaysIDUnauthorized
NewGetGatewaysIDUnauthorized creates a GetGatewaysIDUnauthorized with default headers values
func (*GetGatewaysIDUnauthorized) Error ¶
func (o *GetGatewaysIDUnauthorized) Error() string
func (*GetGatewaysIDUnauthorized) GetPayload ¶
func (o *GetGatewaysIDUnauthorized) GetPayload() *models.Error
type GetGatewaysInternalServerError ¶
GetGatewaysInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetGatewaysInternalServerError ¶
func NewGetGatewaysInternalServerError() *GetGatewaysInternalServerError
NewGetGatewaysInternalServerError creates a GetGatewaysInternalServerError with default headers values
func (*GetGatewaysInternalServerError) Error ¶
func (o *GetGatewaysInternalServerError) Error() string
func (*GetGatewaysInternalServerError) GetPayload ¶
func (o *GetGatewaysInternalServerError) GetPayload() *models.Error
type GetGatewaysOK ¶
type GetGatewaysOK struct {
Payload models.ListOfGateways
}
GetGatewaysOK describes a response with status code 200, with default header values.
Successful
func NewGetGatewaysOK ¶
func NewGetGatewaysOK() *GetGatewaysOK
NewGetGatewaysOK creates a GetGatewaysOK with default headers values
func (*GetGatewaysOK) Error ¶
func (o *GetGatewaysOK) Error() string
func (*GetGatewaysOK) GetPayload ¶
func (o *GetGatewaysOK) GetPayload() models.ListOfGateways
type GetGatewaysParams ¶
type GetGatewaysParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGatewaysParams contains all the parameters to send to the API endpoint
for the get gateways operation. Typically these are written to a http.Request.
func NewGetGatewaysParams ¶
func NewGetGatewaysParams() *GetGatewaysParams
NewGetGatewaysParams creates a new GetGatewaysParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetGatewaysParamsWithContext ¶
func NewGetGatewaysParamsWithContext(ctx context.Context) *GetGatewaysParams
NewGetGatewaysParamsWithContext creates a new GetGatewaysParams object with the ability to set a context for a request.
func NewGetGatewaysParamsWithHTTPClient ¶
func NewGetGatewaysParamsWithHTTPClient(client *http.Client) *GetGatewaysParams
NewGetGatewaysParamsWithHTTPClient creates a new GetGatewaysParams object with the ability to set a custom HTTPClient for a request.
func NewGetGatewaysParamsWithTimeout ¶
func NewGetGatewaysParamsWithTimeout(timeout time.Duration) *GetGatewaysParams
NewGetGatewaysParamsWithTimeout creates a new GetGatewaysParams object with the ability to set a timeout on a request.
func (*GetGatewaysParams) SetContext ¶
func (o *GetGatewaysParams) SetContext(ctx context.Context)
SetContext adds the context to the get gateways params
func (*GetGatewaysParams) SetDefaults ¶
func (o *GetGatewaysParams) SetDefaults()
SetDefaults hydrates default values in the get gateways params (not the query body).
All values with no default are reset to their zero value.
func (*GetGatewaysParams) SetHTTPClient ¶
func (o *GetGatewaysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get gateways params
func (*GetGatewaysParams) SetTimeout ¶
func (o *GetGatewaysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get gateways params
func (*GetGatewaysParams) WithContext ¶
func (o *GetGatewaysParams) WithContext(ctx context.Context) *GetGatewaysParams
WithContext adds the context to the get gateways params
func (*GetGatewaysParams) WithDefaults ¶
func (o *GetGatewaysParams) WithDefaults() *GetGatewaysParams
WithDefaults hydrates default values in the get gateways params (not the query body).
All values with no default are reset to their zero value.
func (*GetGatewaysParams) WithHTTPClient ¶
func (o *GetGatewaysParams) WithHTTPClient(client *http.Client) *GetGatewaysParams
WithHTTPClient adds the HTTPClient to the get gateways params
func (*GetGatewaysParams) WithTimeout ¶
func (o *GetGatewaysParams) WithTimeout(timeout time.Duration) *GetGatewaysParams
WithTimeout adds the timeout to the get gateways params
func (*GetGatewaysParams) WriteToRequest ¶
func (o *GetGatewaysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGatewaysReader ¶
type GetGatewaysReader struct {
// contains filtered or unexported fields
}
GetGatewaysReader is a Reader for the GetGateways structure.
func (*GetGatewaysReader) ReadResponse ¶
func (o *GetGatewaysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGatewaysUnauthorized ¶
type GetGatewaysUnauthorized struct {
}GetGatewaysUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGatewaysUnauthorized ¶
func NewGetGatewaysUnauthorized() *GetGatewaysUnauthorized
NewGetGatewaysUnauthorized creates a GetGatewaysUnauthorized with default headers values
func (*GetGatewaysUnauthorized) Error ¶
func (o *GetGatewaysUnauthorized) Error() string
func (*GetGatewaysUnauthorized) GetPayload ¶
func (o *GetGatewaysUnauthorized) GetPayload() *models.Error
type PostGatewaysBadRequest ¶
PostGatewaysBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostGatewaysBadRequest ¶
func NewPostGatewaysBadRequest() *PostGatewaysBadRequest
NewPostGatewaysBadRequest creates a PostGatewaysBadRequest with default headers values
func (*PostGatewaysBadRequest) Error ¶
func (o *PostGatewaysBadRequest) Error() string
func (*PostGatewaysBadRequest) GetPayload ¶
func (o *PostGatewaysBadRequest) GetPayload() *models.Error
type PostGatewaysForbidden ¶
PostGatewaysForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPostGatewaysForbidden ¶
func NewPostGatewaysForbidden() *PostGatewaysForbidden
NewPostGatewaysForbidden creates a PostGatewaysForbidden with default headers values
func (*PostGatewaysForbidden) Error ¶
func (o *PostGatewaysForbidden) Error() string
func (*PostGatewaysForbidden) GetPayload ¶
func (o *PostGatewaysForbidden) GetPayload() *models.Error
type PostGatewaysInternalServerError ¶
PostGatewaysInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostGatewaysInternalServerError ¶
func NewPostGatewaysInternalServerError() *PostGatewaysInternalServerError
NewPostGatewaysInternalServerError creates a PostGatewaysInternalServerError with default headers values
func (*PostGatewaysInternalServerError) Error ¶
func (o *PostGatewaysInternalServerError) Error() string
func (*PostGatewaysInternalServerError) GetPayload ¶
func (o *PostGatewaysInternalServerError) GetPayload() *models.Error
type PostGatewaysOK ¶
PostGatewaysOK describes a response with status code 200, with default header values.
status of updated gateway with data
func NewPostGatewaysOK ¶
func NewPostGatewaysOK() *PostGatewaysOK
NewPostGatewaysOK creates a PostGatewaysOK with default headers values
func (*PostGatewaysOK) Error ¶
func (o *PostGatewaysOK) Error() string
func (*PostGatewaysOK) GetPayload ¶
func (o *PostGatewaysOK) GetPayload() *models.Model68
type PostGatewaysParams ¶
type PostGatewaysParams struct { // Body. Body *models.NewGateway Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostGatewaysParams contains all the parameters to send to the API endpoint
for the post gateways operation. Typically these are written to a http.Request.
func NewPostGatewaysParams ¶
func NewPostGatewaysParams() *PostGatewaysParams
NewPostGatewaysParams creates a new PostGatewaysParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostGatewaysParamsWithContext ¶
func NewPostGatewaysParamsWithContext(ctx context.Context) *PostGatewaysParams
NewPostGatewaysParamsWithContext creates a new PostGatewaysParams object with the ability to set a context for a request.
func NewPostGatewaysParamsWithHTTPClient ¶
func NewPostGatewaysParamsWithHTTPClient(client *http.Client) *PostGatewaysParams
NewPostGatewaysParamsWithHTTPClient creates a new PostGatewaysParams object with the ability to set a custom HTTPClient for a request.
func NewPostGatewaysParamsWithTimeout ¶
func NewPostGatewaysParamsWithTimeout(timeout time.Duration) *PostGatewaysParams
NewPostGatewaysParamsWithTimeout creates a new PostGatewaysParams object with the ability to set a timeout on a request.
func (*PostGatewaysParams) SetBody ¶
func (o *PostGatewaysParams) SetBody(body *models.NewGateway)
SetBody adds the body to the post gateways params
func (*PostGatewaysParams) SetContext ¶
func (o *PostGatewaysParams) SetContext(ctx context.Context)
SetContext adds the context to the post gateways params
func (*PostGatewaysParams) SetDefaults ¶
func (o *PostGatewaysParams) SetDefaults()
SetDefaults hydrates default values in the post gateways params (not the query body).
All values with no default are reset to their zero value.
func (*PostGatewaysParams) SetHTTPClient ¶
func (o *PostGatewaysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post gateways params
func (*PostGatewaysParams) SetTimeout ¶
func (o *PostGatewaysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post gateways params
func (*PostGatewaysParams) WithBody ¶
func (o *PostGatewaysParams) WithBody(body *models.NewGateway) *PostGatewaysParams
WithBody adds the body to the post gateways params
func (*PostGatewaysParams) WithContext ¶
func (o *PostGatewaysParams) WithContext(ctx context.Context) *PostGatewaysParams
WithContext adds the context to the post gateways params
func (*PostGatewaysParams) WithDefaults ¶
func (o *PostGatewaysParams) WithDefaults() *PostGatewaysParams
WithDefaults hydrates default values in the post gateways params (not the query body).
All values with no default are reset to their zero value.
func (*PostGatewaysParams) WithHTTPClient ¶
func (o *PostGatewaysParams) WithHTTPClient(client *http.Client) *PostGatewaysParams
WithHTTPClient adds the HTTPClient to the post gateways params
func (*PostGatewaysParams) WithTimeout ¶
func (o *PostGatewaysParams) WithTimeout(timeout time.Duration) *PostGatewaysParams
WithTimeout adds the timeout to the post gateways params
func (*PostGatewaysParams) WriteToRequest ¶
func (o *PostGatewaysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostGatewaysReader ¶
type PostGatewaysReader struct {
// contains filtered or unexported fields
}
PostGatewaysReader is a Reader for the PostGateways structure.
func (*PostGatewaysReader) ReadResponse ¶
func (o *PostGatewaysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostGatewaysUnauthorized ¶
type PostGatewaysUnauthorized struct {
}PostGatewaysUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPostGatewaysUnauthorized ¶
func NewPostGatewaysUnauthorized() *PostGatewaysUnauthorized
NewPostGatewaysUnauthorized creates a PostGatewaysUnauthorized with default headers values
func (*PostGatewaysUnauthorized) Error ¶
func (o *PostGatewaysUnauthorized) Error() string
func (*PostGatewaysUnauthorized) GetPayload ¶
func (o *PostGatewaysUnauthorized) GetPayload() *models.Error
type PutGatewaysIDBadRequest ¶
PutGatewaysIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPutGatewaysIDBadRequest ¶
func NewPutGatewaysIDBadRequest() *PutGatewaysIDBadRequest
NewPutGatewaysIDBadRequest creates a PutGatewaysIDBadRequest with default headers values
func (*PutGatewaysIDBadRequest) Error ¶
func (o *PutGatewaysIDBadRequest) Error() string
func (*PutGatewaysIDBadRequest) GetPayload ¶
func (o *PutGatewaysIDBadRequest) GetPayload() *models.Error
type PutGatewaysIDForbidden ¶
PutGatewaysIDForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPutGatewaysIDForbidden ¶
func NewPutGatewaysIDForbidden() *PutGatewaysIDForbidden
NewPutGatewaysIDForbidden creates a PutGatewaysIDForbidden with default headers values
func (*PutGatewaysIDForbidden) Error ¶
func (o *PutGatewaysIDForbidden) Error() string
func (*PutGatewaysIDForbidden) GetPayload ¶
func (o *PutGatewaysIDForbidden) GetPayload() *models.Error
type PutGatewaysIDInternalServerError ¶
PutGatewaysIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPutGatewaysIDInternalServerError ¶
func NewPutGatewaysIDInternalServerError() *PutGatewaysIDInternalServerError
NewPutGatewaysIDInternalServerError creates a PutGatewaysIDInternalServerError with default headers values
func (*PutGatewaysIDInternalServerError) Error ¶
func (o *PutGatewaysIDInternalServerError) Error() string
func (*PutGatewaysIDInternalServerError) GetPayload ¶
func (o *PutGatewaysIDInternalServerError) GetPayload() *models.Error
type PutGatewaysIDNotFound ¶
PutGatewaysIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewPutGatewaysIDNotFound ¶
func NewPutGatewaysIDNotFound() *PutGatewaysIDNotFound
NewPutGatewaysIDNotFound creates a PutGatewaysIDNotFound with default headers values
func (*PutGatewaysIDNotFound) Error ¶
func (o *PutGatewaysIDNotFound) Error() string
func (*PutGatewaysIDNotFound) GetPayload ¶
func (o *PutGatewaysIDNotFound) GetPayload() *models.Error
type PutGatewaysIDOK ¶
PutGatewaysIDOK describes a response with status code 200, with default header values.
status of updated gateway with data
func NewPutGatewaysIDOK ¶
func NewPutGatewaysIDOK() *PutGatewaysIDOK
NewPutGatewaysIDOK creates a PutGatewaysIDOK with default headers values
func (*PutGatewaysIDOK) Error ¶
func (o *PutGatewaysIDOK) Error() string
func (*PutGatewaysIDOK) GetPayload ¶
func (o *PutGatewaysIDOK) GetPayload() *models.Model68
type PutGatewaysIDParams ¶
type PutGatewaysIDParams struct { // Body. Body *models.Model8 // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutGatewaysIDParams contains all the parameters to send to the API endpoint
for the put gateways Id operation. Typically these are written to a http.Request.
func NewPutGatewaysIDParams ¶
func NewPutGatewaysIDParams() *PutGatewaysIDParams
NewPutGatewaysIDParams creates a new PutGatewaysIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutGatewaysIDParamsWithContext ¶
func NewPutGatewaysIDParamsWithContext(ctx context.Context) *PutGatewaysIDParams
NewPutGatewaysIDParamsWithContext creates a new PutGatewaysIDParams object with the ability to set a context for a request.
func NewPutGatewaysIDParamsWithHTTPClient ¶
func NewPutGatewaysIDParamsWithHTTPClient(client *http.Client) *PutGatewaysIDParams
NewPutGatewaysIDParamsWithHTTPClient creates a new PutGatewaysIDParams object with the ability to set a custom HTTPClient for a request.
func NewPutGatewaysIDParamsWithTimeout ¶
func NewPutGatewaysIDParamsWithTimeout(timeout time.Duration) *PutGatewaysIDParams
NewPutGatewaysIDParamsWithTimeout creates a new PutGatewaysIDParams object with the ability to set a timeout on a request.
func (*PutGatewaysIDParams) SetBody ¶
func (o *PutGatewaysIDParams) SetBody(body *models.Model8)
SetBody adds the body to the put gateways Id params
func (*PutGatewaysIDParams) SetContext ¶
func (o *PutGatewaysIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put gateways Id params
func (*PutGatewaysIDParams) SetDefaults ¶
func (o *PutGatewaysIDParams) SetDefaults()
SetDefaults hydrates default values in the put gateways Id params (not the query body).
All values with no default are reset to their zero value.
func (*PutGatewaysIDParams) SetHTTPClient ¶
func (o *PutGatewaysIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put gateways Id params
func (*PutGatewaysIDParams) SetID ¶
func (o *PutGatewaysIDParams) SetID(id string)
SetID adds the id to the put gateways Id params
func (*PutGatewaysIDParams) SetTimeout ¶
func (o *PutGatewaysIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put gateways Id params
func (*PutGatewaysIDParams) WithBody ¶
func (o *PutGatewaysIDParams) WithBody(body *models.Model8) *PutGatewaysIDParams
WithBody adds the body to the put gateways Id params
func (*PutGatewaysIDParams) WithContext ¶
func (o *PutGatewaysIDParams) WithContext(ctx context.Context) *PutGatewaysIDParams
WithContext adds the context to the put gateways Id params
func (*PutGatewaysIDParams) WithDefaults ¶
func (o *PutGatewaysIDParams) WithDefaults() *PutGatewaysIDParams
WithDefaults hydrates default values in the put gateways Id params (not the query body).
All values with no default are reset to their zero value.
func (*PutGatewaysIDParams) WithHTTPClient ¶
func (o *PutGatewaysIDParams) WithHTTPClient(client *http.Client) *PutGatewaysIDParams
WithHTTPClient adds the HTTPClient to the put gateways Id params
func (*PutGatewaysIDParams) WithID ¶
func (o *PutGatewaysIDParams) WithID(id string) *PutGatewaysIDParams
WithID adds the id to the put gateways Id params
func (*PutGatewaysIDParams) WithTimeout ¶
func (o *PutGatewaysIDParams) WithTimeout(timeout time.Duration) *PutGatewaysIDParams
WithTimeout adds the timeout to the put gateways Id params
func (*PutGatewaysIDParams) WriteToRequest ¶
func (o *PutGatewaysIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutGatewaysIDReader ¶
type PutGatewaysIDReader struct {
// contains filtered or unexported fields
}
PutGatewaysIDReader is a Reader for the PutGatewaysID structure.
func (*PutGatewaysIDReader) ReadResponse ¶
func (o *PutGatewaysIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutGatewaysIDUnauthorized ¶
type PutGatewaysIDUnauthorized struct {
}PutGatewaysIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPutGatewaysIDUnauthorized ¶
func NewPutGatewaysIDUnauthorized() *PutGatewaysIDUnauthorized
NewPutGatewaysIDUnauthorized creates a PutGatewaysIDUnauthorized with default headers values
func (*PutGatewaysIDUnauthorized) Error ¶
func (o *PutGatewaysIDUnauthorized) Error() string
func (*PutGatewaysIDUnauthorized) GetPayload ¶
func (o *PutGatewaysIDUnauthorized) GetPayload() *models.Error
Source Files ¶
- delete_gateways_id_parameters.go
- delete_gateways_id_responses.go
- gateways_client.go
- get_gateways_id_parameters.go
- get_gateways_id_responses.go
- get_gateways_parameters.go
- get_gateways_responses.go
- post_gateways_parameters.go
- post_gateways_responses.go
- put_gateways_id_parameters.go
- put_gateways_id_responses.go