gateways

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

type DeleteGatewaysIDForbidden struct {
	Payload *models.Error
}
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

type DeleteGatewaysIDInternalServerError struct {
	Payload *models.Error
}
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 (*DeleteGatewaysIDInternalServerError) GetPayload

type DeleteGatewaysIDNotFound

type DeleteGatewaysIDNotFound struct {
	Payload *models.Error
}
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

type DeleteGatewaysIDOK struct {
	Payload *models.Status
}
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

WithContext adds the context to the delete gateways Id params

func (*DeleteGatewaysIDParams) WithDefaults

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

WithID adds the id to the delete gateways Id params

func (*DeleteGatewaysIDParams) WithTimeout

WithTimeout adds the timeout to the delete gateways Id params

func (*DeleteGatewaysIDParams) WriteToRequest

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 {
	Payload *models.Error
}
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 (*DeleteGatewaysIDUnauthorized) GetPayload

func (o *DeleteGatewaysIDUnauthorized) GetPayload() *models.Error

type GetGatewaysForbidden

type GetGatewaysForbidden struct {
	Payload *models.Error
}
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

type GetGatewaysIDForbidden struct {
	Payload *models.Error
}
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

type GetGatewaysIDInternalServerError struct {
	Payload *models.Error
}
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 (*GetGatewaysIDInternalServerError) GetPayload

type GetGatewaysIDNotFound

type GetGatewaysIDNotFound struct {
	Payload *models.Error
}
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

type GetGatewaysIDOK struct {
	Payload *models.Model8
}
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

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

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 {
	Payload *models.Error
}
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

type GetGatewaysInternalServerError struct {
	Payload *models.Error
}
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 (*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 {
	Payload *models.Error
}
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

type PostGatewaysBadRequest struct {
	Payload *models.Error
}
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

type PostGatewaysForbidden struct {
	Payload *models.Error
}
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

type PostGatewaysInternalServerError struct {
	Payload *models.Error
}
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 (*PostGatewaysInternalServerError) GetPayload

func (o *PostGatewaysInternalServerError) GetPayload() *models.Error

type PostGatewaysOK

type PostGatewaysOK struct {
	Payload *models.Model68
}
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

WithBody adds the body to the post gateways params

func (*PostGatewaysParams) WithContext

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 {
	Payload *models.Error
}
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

type PutGatewaysIDBadRequest struct {
	Payload *models.Error
}
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

type PutGatewaysIDForbidden struct {
	Payload *models.Error
}
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

type PutGatewaysIDInternalServerError struct {
	Payload *models.Error
}
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 (*PutGatewaysIDInternalServerError) GetPayload

type PutGatewaysIDNotFound

type PutGatewaysIDNotFound struct {
	Payload *models.Error
}
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

type PutGatewaysIDOK struct {
	Payload *models.Model68
}
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

WithBody adds the body to the put gateways Id params

func (*PutGatewaysIDParams) WithContext

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

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 {
	Payload *models.Error
}
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

Jump to

Keyboard shortcuts

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