gateways

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 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 BindGroupToServiceBadRequest

type BindGroupToServiceBadRequest struct {
	Payload *models.Error
}

BindGroupToServiceBadRequest describes a response with status code 400, with default header values.

Bad request

func NewBindGroupToServiceBadRequest

func NewBindGroupToServiceBadRequest() *BindGroupToServiceBadRequest

NewBindGroupToServiceBadRequest creates a BindGroupToServiceBadRequest with default headers values

func (*BindGroupToServiceBadRequest) Code

Code gets the status code for the bind group to service bad request response

func (*BindGroupToServiceBadRequest) Error

func (*BindGroupToServiceBadRequest) GetPayload

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

func (*BindGroupToServiceBadRequest) IsClientError

func (o *BindGroupToServiceBadRequest) IsClientError() bool

IsClientError returns true when this bind group to service bad request response has a 4xx status code

func (*BindGroupToServiceBadRequest) IsCode

func (o *BindGroupToServiceBadRequest) IsCode(code int) bool

IsCode returns true when this bind group to service bad request response a status code equal to that given

func (*BindGroupToServiceBadRequest) IsRedirect

func (o *BindGroupToServiceBadRequest) IsRedirect() bool

IsRedirect returns true when this bind group to service bad request response has a 3xx status code

func (*BindGroupToServiceBadRequest) IsServerError

func (o *BindGroupToServiceBadRequest) IsServerError() bool

IsServerError returns true when this bind group to service bad request response has a 5xx status code

func (*BindGroupToServiceBadRequest) IsSuccess

func (o *BindGroupToServiceBadRequest) IsSuccess() bool

IsSuccess returns true when this bind group to service bad request response has a 2xx status code

func (*BindGroupToServiceBadRequest) String

type BindGroupToServiceForbidden

type BindGroupToServiceForbidden struct {
	Payload *models.Error
}

BindGroupToServiceForbidden describes a response with status code 403, with default header values.

Forbidden

func NewBindGroupToServiceForbidden

func NewBindGroupToServiceForbidden() *BindGroupToServiceForbidden

NewBindGroupToServiceForbidden creates a BindGroupToServiceForbidden with default headers values

func (*BindGroupToServiceForbidden) Code

func (o *BindGroupToServiceForbidden) Code() int

Code gets the status code for the bind group to service forbidden response

func (*BindGroupToServiceForbidden) Error

func (*BindGroupToServiceForbidden) GetPayload

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

func (*BindGroupToServiceForbidden) IsClientError

func (o *BindGroupToServiceForbidden) IsClientError() bool

IsClientError returns true when this bind group to service forbidden response has a 4xx status code

func (*BindGroupToServiceForbidden) IsCode

func (o *BindGroupToServiceForbidden) IsCode(code int) bool

IsCode returns true when this bind group to service forbidden response a status code equal to that given

func (*BindGroupToServiceForbidden) IsRedirect

func (o *BindGroupToServiceForbidden) IsRedirect() bool

IsRedirect returns true when this bind group to service forbidden response has a 3xx status code

func (*BindGroupToServiceForbidden) IsServerError

func (o *BindGroupToServiceForbidden) IsServerError() bool

IsServerError returns true when this bind group to service forbidden response has a 5xx status code

func (*BindGroupToServiceForbidden) IsSuccess

func (o *BindGroupToServiceForbidden) IsSuccess() bool

IsSuccess returns true when this bind group to service forbidden response has a 2xx status code

func (*BindGroupToServiceForbidden) String

func (o *BindGroupToServiceForbidden) String() string

type BindGroupToServiceNotFound

type BindGroupToServiceNotFound struct {
	Payload *models.Error
}

BindGroupToServiceNotFound describes a response with status code 404, with default header values.

Not found

func NewBindGroupToServiceNotFound

func NewBindGroupToServiceNotFound() *BindGroupToServiceNotFound

NewBindGroupToServiceNotFound creates a BindGroupToServiceNotFound with default headers values

func (*BindGroupToServiceNotFound) Code

func (o *BindGroupToServiceNotFound) Code() int

Code gets the status code for the bind group to service not found response

func (*BindGroupToServiceNotFound) Error

func (*BindGroupToServiceNotFound) GetPayload

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

func (*BindGroupToServiceNotFound) IsClientError

func (o *BindGroupToServiceNotFound) IsClientError() bool

IsClientError returns true when this bind group to service not found response has a 4xx status code

func (*BindGroupToServiceNotFound) IsCode

func (o *BindGroupToServiceNotFound) IsCode(code int) bool

IsCode returns true when this bind group to service not found response a status code equal to that given

func (*BindGroupToServiceNotFound) IsRedirect

func (o *BindGroupToServiceNotFound) IsRedirect() bool

IsRedirect returns true when this bind group to service not found response has a 3xx status code

func (*BindGroupToServiceNotFound) IsServerError

func (o *BindGroupToServiceNotFound) IsServerError() bool

IsServerError returns true when this bind group to service not found response has a 5xx status code

func (*BindGroupToServiceNotFound) IsSuccess

func (o *BindGroupToServiceNotFound) IsSuccess() bool

IsSuccess returns true when this bind group to service not found response has a 2xx status code

func (*BindGroupToServiceNotFound) String

func (o *BindGroupToServiceNotFound) String() string

type BindGroupToServiceOK

type BindGroupToServiceOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.RemoveServiceConfigurationResult
}

BindGroupToServiceOK describes a response with status code 200, with default header values.

Bind group to service response

func NewBindGroupToServiceOK

func NewBindGroupToServiceOK() *BindGroupToServiceOK

NewBindGroupToServiceOK creates a BindGroupToServiceOK with default headers values

func (*BindGroupToServiceOK) Code

func (o *BindGroupToServiceOK) Code() int

Code gets the status code for the bind group to service o k response

func (*BindGroupToServiceOK) Error

func (o *BindGroupToServiceOK) Error() string

func (*BindGroupToServiceOK) GetPayload

func (*BindGroupToServiceOK) IsClientError

func (o *BindGroupToServiceOK) IsClientError() bool

IsClientError returns true when this bind group to service o k response has a 4xx status code

func (*BindGroupToServiceOK) IsCode

func (o *BindGroupToServiceOK) IsCode(code int) bool

IsCode returns true when this bind group to service o k response a status code equal to that given

func (*BindGroupToServiceOK) IsRedirect

func (o *BindGroupToServiceOK) IsRedirect() bool

IsRedirect returns true when this bind group to service o k response has a 3xx status code

func (*BindGroupToServiceOK) IsServerError

func (o *BindGroupToServiceOK) IsServerError() bool

IsServerError returns true when this bind group to service o k response has a 5xx status code

func (*BindGroupToServiceOK) IsSuccess

func (o *BindGroupToServiceOK) IsSuccess() bool

IsSuccess returns true when this bind group to service o k response has a 2xx status code

func (*BindGroupToServiceOK) String

func (o *BindGroupToServiceOK) String() string

type BindGroupToServiceParams

type BindGroupToServiceParams struct {

	// BindGroupToServiceRequest.
	BindGroupToServiceRequest *models.BindGroupToServiceRequest

	// APIGroup.
	APIGroup string

	// Gw.
	Gw string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

BindGroupToServiceParams contains all the parameters to send to the API endpoint

for the bind group to service operation.

Typically these are written to a http.Request.

func NewBindGroupToServiceParams

func NewBindGroupToServiceParams() *BindGroupToServiceParams

NewBindGroupToServiceParams creates a new BindGroupToServiceParams 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 NewBindGroupToServiceParamsWithContext

func NewBindGroupToServiceParamsWithContext(ctx context.Context) *BindGroupToServiceParams

NewBindGroupToServiceParamsWithContext creates a new BindGroupToServiceParams object with the ability to set a context for a request.

func NewBindGroupToServiceParamsWithHTTPClient

func NewBindGroupToServiceParamsWithHTTPClient(client *http.Client) *BindGroupToServiceParams

NewBindGroupToServiceParamsWithHTTPClient creates a new BindGroupToServiceParams object with the ability to set a custom HTTPClient for a request.

func NewBindGroupToServiceParamsWithTimeout

func NewBindGroupToServiceParamsWithTimeout(timeout time.Duration) *BindGroupToServiceParams

NewBindGroupToServiceParamsWithTimeout creates a new BindGroupToServiceParams object with the ability to set a timeout on a request.

func (*BindGroupToServiceParams) SetAPIGroup

func (o *BindGroupToServiceParams) SetAPIGroup(aPIGroup string)

SetAPIGroup adds the apiGroup to the bind group to service params

func (*BindGroupToServiceParams) SetBindGroupToServiceRequest

func (o *BindGroupToServiceParams) SetBindGroupToServiceRequest(bindGroupToServiceRequest *models.BindGroupToServiceRequest)

SetBindGroupToServiceRequest adds the bindGroupToServiceRequest to the bind group to service params

func (*BindGroupToServiceParams) SetContext

func (o *BindGroupToServiceParams) SetContext(ctx context.Context)

SetContext adds the context to the bind group to service params

func (*BindGroupToServiceParams) SetDefaults

func (o *BindGroupToServiceParams) SetDefaults()

SetDefaults hydrates default values in the bind group to service params (not the query body).

All values with no default are reset to their zero value.

func (*BindGroupToServiceParams) SetGw

func (o *BindGroupToServiceParams) SetGw(gw string)

SetGw adds the gw to the bind group to service params

func (*BindGroupToServiceParams) SetHTTPClient

func (o *BindGroupToServiceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the bind group to service params

func (*BindGroupToServiceParams) SetIfMatch

func (o *BindGroupToServiceParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the bind group to service params

func (*BindGroupToServiceParams) SetTimeout

func (o *BindGroupToServiceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the bind group to service params

func (*BindGroupToServiceParams) WithAPIGroup

func (o *BindGroupToServiceParams) WithAPIGroup(aPIGroup string) *BindGroupToServiceParams

WithAPIGroup adds the aPIGroup to the bind group to service params

func (*BindGroupToServiceParams) WithBindGroupToServiceRequest

func (o *BindGroupToServiceParams) WithBindGroupToServiceRequest(bindGroupToServiceRequest *models.BindGroupToServiceRequest) *BindGroupToServiceParams

WithBindGroupToServiceRequest adds the bindGroupToServiceRequest to the bind group to service params

func (*BindGroupToServiceParams) WithContext

WithContext adds the context to the bind group to service params

func (*BindGroupToServiceParams) WithDefaults

WithDefaults hydrates default values in the bind group to service params (not the query body).

All values with no default are reset to their zero value.

func (*BindGroupToServiceParams) WithGw

WithGw adds the gw to the bind group to service params

func (*BindGroupToServiceParams) WithHTTPClient

func (o *BindGroupToServiceParams) WithHTTPClient(client *http.Client) *BindGroupToServiceParams

WithHTTPClient adds the HTTPClient to the bind group to service params

func (*BindGroupToServiceParams) WithIfMatch

func (o *BindGroupToServiceParams) WithIfMatch(ifMatch *string) *BindGroupToServiceParams

WithIfMatch adds the ifMatch to the bind group to service params

func (*BindGroupToServiceParams) WithTimeout

WithTimeout adds the timeout to the bind group to service params

func (*BindGroupToServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BindGroupToServiceReader

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

BindGroupToServiceReader is a Reader for the BindGroupToService structure.

func (*BindGroupToServiceReader) ReadResponse

func (o *BindGroupToServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type BindGroupToServiceTooManyRequests

type BindGroupToServiceTooManyRequests struct {
	Payload *models.Error
}

BindGroupToServiceTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewBindGroupToServiceTooManyRequests

func NewBindGroupToServiceTooManyRequests() *BindGroupToServiceTooManyRequests

NewBindGroupToServiceTooManyRequests creates a BindGroupToServiceTooManyRequests with default headers values

func (*BindGroupToServiceTooManyRequests) Code

Code gets the status code for the bind group to service too many requests response

func (*BindGroupToServiceTooManyRequests) Error

func (*BindGroupToServiceTooManyRequests) GetPayload

func (*BindGroupToServiceTooManyRequests) IsClientError

func (o *BindGroupToServiceTooManyRequests) IsClientError() bool

IsClientError returns true when this bind group to service too many requests response has a 4xx status code

func (*BindGroupToServiceTooManyRequests) IsCode

func (o *BindGroupToServiceTooManyRequests) IsCode(code int) bool

IsCode returns true when this bind group to service too many requests response a status code equal to that given

func (*BindGroupToServiceTooManyRequests) IsRedirect

func (o *BindGroupToServiceTooManyRequests) IsRedirect() bool

IsRedirect returns true when this bind group to service too many requests response has a 3xx status code

func (*BindGroupToServiceTooManyRequests) IsServerError

func (o *BindGroupToServiceTooManyRequests) IsServerError() bool

IsServerError returns true when this bind group to service too many requests response has a 5xx status code

func (*BindGroupToServiceTooManyRequests) IsSuccess

func (o *BindGroupToServiceTooManyRequests) IsSuccess() bool

IsSuccess returns true when this bind group to service too many requests response has a 2xx status code

func (*BindGroupToServiceTooManyRequests) String

type BindGroupToServiceUnauthorized

type BindGroupToServiceUnauthorized struct {
	Payload *models.Error
}

BindGroupToServiceUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewBindGroupToServiceUnauthorized

func NewBindGroupToServiceUnauthorized() *BindGroupToServiceUnauthorized

NewBindGroupToServiceUnauthorized creates a BindGroupToServiceUnauthorized with default headers values

func (*BindGroupToServiceUnauthorized) Code

Code gets the status code for the bind group to service unauthorized response

func (*BindGroupToServiceUnauthorized) Error

func (*BindGroupToServiceUnauthorized) GetPayload

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

func (*BindGroupToServiceUnauthorized) IsClientError

func (o *BindGroupToServiceUnauthorized) IsClientError() bool

IsClientError returns true when this bind group to service unauthorized response has a 4xx status code

func (*BindGroupToServiceUnauthorized) IsCode

func (o *BindGroupToServiceUnauthorized) IsCode(code int) bool

IsCode returns true when this bind group to service unauthorized response a status code equal to that given

func (*BindGroupToServiceUnauthorized) IsRedirect

func (o *BindGroupToServiceUnauthorized) IsRedirect() bool

IsRedirect returns true when this bind group to service unauthorized response has a 3xx status code

func (*BindGroupToServiceUnauthorized) IsServerError

func (o *BindGroupToServiceUnauthorized) IsServerError() bool

IsServerError returns true when this bind group to service unauthorized response has a 5xx status code

func (*BindGroupToServiceUnauthorized) IsSuccess

func (o *BindGroupToServiceUnauthorized) IsSuccess() bool

IsSuccess returns true when this bind group to service unauthorized response has a 2xx status code

func (*BindGroupToServiceUnauthorized) String

type BindGroupToServiceUnprocessableEntity

type BindGroupToServiceUnprocessableEntity struct {
	Payload *models.Error
}

BindGroupToServiceUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewBindGroupToServiceUnprocessableEntity

func NewBindGroupToServiceUnprocessableEntity() *BindGroupToServiceUnprocessableEntity

NewBindGroupToServiceUnprocessableEntity creates a BindGroupToServiceUnprocessableEntity with default headers values

func (*BindGroupToServiceUnprocessableEntity) Code

Code gets the status code for the bind group to service unprocessable entity response

func (*BindGroupToServiceUnprocessableEntity) Error

func (*BindGroupToServiceUnprocessableEntity) GetPayload

func (*BindGroupToServiceUnprocessableEntity) IsClientError

func (o *BindGroupToServiceUnprocessableEntity) IsClientError() bool

IsClientError returns true when this bind group to service unprocessable entity response has a 4xx status code

func (*BindGroupToServiceUnprocessableEntity) IsCode

IsCode returns true when this bind group to service unprocessable entity response a status code equal to that given

func (*BindGroupToServiceUnprocessableEntity) IsRedirect

IsRedirect returns true when this bind group to service unprocessable entity response has a 3xx status code

func (*BindGroupToServiceUnprocessableEntity) IsServerError

func (o *BindGroupToServiceUnprocessableEntity) IsServerError() bool

IsServerError returns true when this bind group to service unprocessable entity response has a 5xx status code

func (*BindGroupToServiceUnprocessableEntity) IsSuccess

IsSuccess returns true when this bind group to service unprocessable entity response has a 2xx status code

func (*BindGroupToServiceUnprocessableEntity) String

type Client

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

Client for gateways API

func (*Client) BindGroupToService

func (a *Client) BindGroupToService(params *BindGroupToServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BindGroupToServiceOK, error)
BindGroupToService binds a group to a service

It unbinds service first, if it is already connected to an api group.

It removes specification from a service, if it has specification imported already.

It removes any APIs added manually to a service, if it contains any.

func (*Client) CreateGateway

func (a *Client) CreateGateway(params *CreateGatewayParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGatewayCreated, error)

CreateGateway creates gateway

Create gateway.

func (*Client) DeleteGateway

func (a *Client) DeleteGateway(params *DeleteGatewayParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGatewayNoContent, error)

DeleteGateway deletes gateway

This removes configuration for all services connected to this gateway.

func (*Client) GetGateway

func (a *Client) GetGateway(params *GetGatewayParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGatewayOK, error)

GetGateway gets gateway

Get gateway.

func (*Client) GetGatewayPackage

func (a *Client) GetGatewayPackage(params *GetGatewayPackageParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer, opts ...ClientOption) (*GetGatewayPackageOK, error)

GetGatewayPackage gets package for a gateway

Get package for a gateway.

func (*Client) ListGatewayAPIGroups

func (a *Client) ListGatewayAPIGroups(params *ListGatewayAPIGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGatewayAPIGroupsOK, error)

ListGatewayAPIGroups lists gateway api groups

List gateway api groups.

func (*Client) ListGateways

func (a *Client) ListGateways(params *ListGatewaysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGatewaysOK, error)

ListGateways lists gateways

List gateways.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UnbindGroupFromService

func (a *Client) UnbindGroupFromService(params *UnbindGroupFromServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnbindGroupFromServiceOK, error)
UnbindGroupFromService unbinds a group from a service

Remove all apis and policies.

If policy is used by another service it will not be removed.

If service is connected to a gateway, it will be disconnected.

If a gateway api group is connected to this service, it will be disconnected.

func (*Client) UpdateGateway

func (a *Client) UpdateGateway(params *UpdateGatewayParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGatewayOK, error)

UpdateGateway updates gateway

Update gateway.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	BindGroupToService(params *BindGroupToServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BindGroupToServiceOK, error)

	CreateGateway(params *CreateGatewayParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateGatewayCreated, error)

	DeleteGateway(params *DeleteGatewayParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteGatewayNoContent, error)

	GetGateway(params *GetGatewayParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGatewayOK, error)

	GetGatewayPackage(params *GetGatewayPackageParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer, opts ...ClientOption) (*GetGatewayPackageOK, error)

	ListGatewayAPIGroups(params *ListGatewayAPIGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGatewayAPIGroupsOK, error)

	ListGateways(params *ListGatewaysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListGatewaysOK, error)

	UnbindGroupFromService(params *UnbindGroupFromServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UnbindGroupFromServiceOK, error)

	UpdateGateway(params *UpdateGatewayParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateGatewayOK, 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 CreateGatewayConflict

type CreateGatewayConflict struct {
	Payload *models.Error
}

CreateGatewayConflict describes a response with status code 409, with default header values.

Conflict

func NewCreateGatewayConflict

func NewCreateGatewayConflict() *CreateGatewayConflict

NewCreateGatewayConflict creates a CreateGatewayConflict with default headers values

func (*CreateGatewayConflict) Code

func (o *CreateGatewayConflict) Code() int

Code gets the status code for the create gateway conflict response

func (*CreateGatewayConflict) Error

func (o *CreateGatewayConflict) Error() string

func (*CreateGatewayConflict) GetPayload

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

func (*CreateGatewayConflict) IsClientError

func (o *CreateGatewayConflict) IsClientError() bool

IsClientError returns true when this create gateway conflict response has a 4xx status code

func (*CreateGatewayConflict) IsCode

func (o *CreateGatewayConflict) IsCode(code int) bool

IsCode returns true when this create gateway conflict response a status code equal to that given

func (*CreateGatewayConflict) IsRedirect

func (o *CreateGatewayConflict) IsRedirect() bool

IsRedirect returns true when this create gateway conflict response has a 3xx status code

func (*CreateGatewayConflict) IsServerError

func (o *CreateGatewayConflict) IsServerError() bool

IsServerError returns true when this create gateway conflict response has a 5xx status code

func (*CreateGatewayConflict) IsSuccess

func (o *CreateGatewayConflict) IsSuccess() bool

IsSuccess returns true when this create gateway conflict response has a 2xx status code

func (*CreateGatewayConflict) String

func (o *CreateGatewayConflict) String() string

type CreateGatewayCreated

type CreateGatewayCreated struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.GatewayWithClient
}

CreateGatewayCreated describes a response with status code 201, with default header values.

Gateway with client

func NewCreateGatewayCreated

func NewCreateGatewayCreated() *CreateGatewayCreated

NewCreateGatewayCreated creates a CreateGatewayCreated with default headers values

func (*CreateGatewayCreated) Code

func (o *CreateGatewayCreated) Code() int

Code gets the status code for the create gateway created response

func (*CreateGatewayCreated) Error

func (o *CreateGatewayCreated) Error() string

func (*CreateGatewayCreated) GetPayload

func (*CreateGatewayCreated) IsClientError

func (o *CreateGatewayCreated) IsClientError() bool

IsClientError returns true when this create gateway created response has a 4xx status code

func (*CreateGatewayCreated) IsCode

func (o *CreateGatewayCreated) IsCode(code int) bool

IsCode returns true when this create gateway created response a status code equal to that given

func (*CreateGatewayCreated) IsRedirect

func (o *CreateGatewayCreated) IsRedirect() bool

IsRedirect returns true when this create gateway created response has a 3xx status code

func (*CreateGatewayCreated) IsServerError

func (o *CreateGatewayCreated) IsServerError() bool

IsServerError returns true when this create gateway created response has a 5xx status code

func (*CreateGatewayCreated) IsSuccess

func (o *CreateGatewayCreated) IsSuccess() bool

IsSuccess returns true when this create gateway created response has a 2xx status code

func (*CreateGatewayCreated) String

func (o *CreateGatewayCreated) String() string

type CreateGatewayForbidden

type CreateGatewayForbidden struct {
	Payload *models.Error
}

CreateGatewayForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateGatewayForbidden

func NewCreateGatewayForbidden() *CreateGatewayForbidden

NewCreateGatewayForbidden creates a CreateGatewayForbidden with default headers values

func (*CreateGatewayForbidden) Code

func (o *CreateGatewayForbidden) Code() int

Code gets the status code for the create gateway forbidden response

func (*CreateGatewayForbidden) Error

func (o *CreateGatewayForbidden) Error() string

func (*CreateGatewayForbidden) GetPayload

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

func (*CreateGatewayForbidden) IsClientError

func (o *CreateGatewayForbidden) IsClientError() bool

IsClientError returns true when this create gateway forbidden response has a 4xx status code

func (*CreateGatewayForbidden) IsCode

func (o *CreateGatewayForbidden) IsCode(code int) bool

IsCode returns true when this create gateway forbidden response a status code equal to that given

func (*CreateGatewayForbidden) IsRedirect

func (o *CreateGatewayForbidden) IsRedirect() bool

IsRedirect returns true when this create gateway forbidden response has a 3xx status code

func (*CreateGatewayForbidden) IsServerError

func (o *CreateGatewayForbidden) IsServerError() bool

IsServerError returns true when this create gateway forbidden response has a 5xx status code

func (*CreateGatewayForbidden) IsSuccess

func (o *CreateGatewayForbidden) IsSuccess() bool

IsSuccess returns true when this create gateway forbidden response has a 2xx status code

func (*CreateGatewayForbidden) String

func (o *CreateGatewayForbidden) String() string

type CreateGatewayNotFound

type CreateGatewayNotFound struct {
	Payload *models.Error
}

CreateGatewayNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateGatewayNotFound

func NewCreateGatewayNotFound() *CreateGatewayNotFound

NewCreateGatewayNotFound creates a CreateGatewayNotFound with default headers values

func (*CreateGatewayNotFound) Code

func (o *CreateGatewayNotFound) Code() int

Code gets the status code for the create gateway not found response

func (*CreateGatewayNotFound) Error

func (o *CreateGatewayNotFound) Error() string

func (*CreateGatewayNotFound) GetPayload

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

func (*CreateGatewayNotFound) IsClientError

func (o *CreateGatewayNotFound) IsClientError() bool

IsClientError returns true when this create gateway not found response has a 4xx status code

func (*CreateGatewayNotFound) IsCode

func (o *CreateGatewayNotFound) IsCode(code int) bool

IsCode returns true when this create gateway not found response a status code equal to that given

func (*CreateGatewayNotFound) IsRedirect

func (o *CreateGatewayNotFound) IsRedirect() bool

IsRedirect returns true when this create gateway not found response has a 3xx status code

func (*CreateGatewayNotFound) IsServerError

func (o *CreateGatewayNotFound) IsServerError() bool

IsServerError returns true when this create gateway not found response has a 5xx status code

func (*CreateGatewayNotFound) IsSuccess

func (o *CreateGatewayNotFound) IsSuccess() bool

IsSuccess returns true when this create gateway not found response has a 2xx status code

func (*CreateGatewayNotFound) String

func (o *CreateGatewayNotFound) String() string

type CreateGatewayParams

type CreateGatewayParams struct {

	// Gateway.
	Gateway *models.CreateGatewayRequest

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateGatewayParams contains all the parameters to send to the API endpoint

for the create gateway operation.

Typically these are written to a http.Request.

func NewCreateGatewayParams

func NewCreateGatewayParams() *CreateGatewayParams

NewCreateGatewayParams creates a new CreateGatewayParams 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 NewCreateGatewayParamsWithContext

func NewCreateGatewayParamsWithContext(ctx context.Context) *CreateGatewayParams

NewCreateGatewayParamsWithContext creates a new CreateGatewayParams object with the ability to set a context for a request.

func NewCreateGatewayParamsWithHTTPClient

func NewCreateGatewayParamsWithHTTPClient(client *http.Client) *CreateGatewayParams

NewCreateGatewayParamsWithHTTPClient creates a new CreateGatewayParams object with the ability to set a custom HTTPClient for a request.

func NewCreateGatewayParamsWithTimeout

func NewCreateGatewayParamsWithTimeout(timeout time.Duration) *CreateGatewayParams

NewCreateGatewayParamsWithTimeout creates a new CreateGatewayParams object with the ability to set a timeout on a request.

func (*CreateGatewayParams) SetContext

func (o *CreateGatewayParams) SetContext(ctx context.Context)

SetContext adds the context to the create gateway params

func (*CreateGatewayParams) SetDefaults

func (o *CreateGatewayParams) SetDefaults()

SetDefaults hydrates default values in the create gateway params (not the query body).

All values with no default are reset to their zero value.

func (*CreateGatewayParams) SetGateway

func (o *CreateGatewayParams) SetGateway(gateway *models.CreateGatewayRequest)

SetGateway adds the gateway to the create gateway params

func (*CreateGatewayParams) SetHTTPClient

func (o *CreateGatewayParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create gateway params

func (*CreateGatewayParams) SetIfMatch

func (o *CreateGatewayParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the create gateway params

func (*CreateGatewayParams) SetTimeout

func (o *CreateGatewayParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create gateway params

func (*CreateGatewayParams) WithContext

WithContext adds the context to the create gateway params

func (*CreateGatewayParams) WithDefaults

func (o *CreateGatewayParams) WithDefaults() *CreateGatewayParams

WithDefaults hydrates default values in the create gateway params (not the query body).

All values with no default are reset to their zero value.

func (*CreateGatewayParams) WithGateway

WithGateway adds the gateway to the create gateway params

func (*CreateGatewayParams) WithHTTPClient

func (o *CreateGatewayParams) WithHTTPClient(client *http.Client) *CreateGatewayParams

WithHTTPClient adds the HTTPClient to the create gateway params

func (*CreateGatewayParams) WithIfMatch

func (o *CreateGatewayParams) WithIfMatch(ifMatch *string) *CreateGatewayParams

WithIfMatch adds the ifMatch to the create gateway params

func (*CreateGatewayParams) WithTimeout

func (o *CreateGatewayParams) WithTimeout(timeout time.Duration) *CreateGatewayParams

WithTimeout adds the timeout to the create gateway params

func (*CreateGatewayParams) WriteToRequest

func (o *CreateGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateGatewayReader

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

CreateGatewayReader is a Reader for the CreateGateway structure.

func (*CreateGatewayReader) ReadResponse

func (o *CreateGatewayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateGatewayTooManyRequests

type CreateGatewayTooManyRequests struct {
	Payload *models.Error
}

CreateGatewayTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewCreateGatewayTooManyRequests

func NewCreateGatewayTooManyRequests() *CreateGatewayTooManyRequests

NewCreateGatewayTooManyRequests creates a CreateGatewayTooManyRequests with default headers values

func (*CreateGatewayTooManyRequests) Code

Code gets the status code for the create gateway too many requests response

func (*CreateGatewayTooManyRequests) Error

func (*CreateGatewayTooManyRequests) GetPayload

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

func (*CreateGatewayTooManyRequests) IsClientError

func (o *CreateGatewayTooManyRequests) IsClientError() bool

IsClientError returns true when this create gateway too many requests response has a 4xx status code

func (*CreateGatewayTooManyRequests) IsCode

func (o *CreateGatewayTooManyRequests) IsCode(code int) bool

IsCode returns true when this create gateway too many requests response a status code equal to that given

func (*CreateGatewayTooManyRequests) IsRedirect

func (o *CreateGatewayTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create gateway too many requests response has a 3xx status code

func (*CreateGatewayTooManyRequests) IsServerError

func (o *CreateGatewayTooManyRequests) IsServerError() bool

IsServerError returns true when this create gateway too many requests response has a 5xx status code

func (*CreateGatewayTooManyRequests) IsSuccess

func (o *CreateGatewayTooManyRequests) IsSuccess() bool

IsSuccess returns true when this create gateway too many requests response has a 2xx status code

func (*CreateGatewayTooManyRequests) String

type CreateGatewayUnauthorized

type CreateGatewayUnauthorized struct {
	Payload *models.Error
}

CreateGatewayUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewCreateGatewayUnauthorized

func NewCreateGatewayUnauthorized() *CreateGatewayUnauthorized

NewCreateGatewayUnauthorized creates a CreateGatewayUnauthorized with default headers values

func (*CreateGatewayUnauthorized) Code

func (o *CreateGatewayUnauthorized) Code() int

Code gets the status code for the create gateway unauthorized response

func (*CreateGatewayUnauthorized) Error

func (o *CreateGatewayUnauthorized) Error() string

func (*CreateGatewayUnauthorized) GetPayload

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

func (*CreateGatewayUnauthorized) IsClientError

func (o *CreateGatewayUnauthorized) IsClientError() bool

IsClientError returns true when this create gateway unauthorized response has a 4xx status code

func (*CreateGatewayUnauthorized) IsCode

func (o *CreateGatewayUnauthorized) IsCode(code int) bool

IsCode returns true when this create gateway unauthorized response a status code equal to that given

func (*CreateGatewayUnauthorized) IsRedirect

func (o *CreateGatewayUnauthorized) IsRedirect() bool

IsRedirect returns true when this create gateway unauthorized response has a 3xx status code

func (*CreateGatewayUnauthorized) IsServerError

func (o *CreateGatewayUnauthorized) IsServerError() bool

IsServerError returns true when this create gateway unauthorized response has a 5xx status code

func (*CreateGatewayUnauthorized) IsSuccess

func (o *CreateGatewayUnauthorized) IsSuccess() bool

IsSuccess returns true when this create gateway unauthorized response has a 2xx status code

func (*CreateGatewayUnauthorized) String

func (o *CreateGatewayUnauthorized) String() string

type CreateGatewayUnprocessableEntity

type CreateGatewayUnprocessableEntity struct {
	Payload *models.Error
}

CreateGatewayUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewCreateGatewayUnprocessableEntity

func NewCreateGatewayUnprocessableEntity() *CreateGatewayUnprocessableEntity

NewCreateGatewayUnprocessableEntity creates a CreateGatewayUnprocessableEntity with default headers values

func (*CreateGatewayUnprocessableEntity) Code

Code gets the status code for the create gateway unprocessable entity response

func (*CreateGatewayUnprocessableEntity) Error

func (*CreateGatewayUnprocessableEntity) GetPayload

func (*CreateGatewayUnprocessableEntity) IsClientError

func (o *CreateGatewayUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create gateway unprocessable entity response has a 4xx status code

func (*CreateGatewayUnprocessableEntity) IsCode

func (o *CreateGatewayUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this create gateway unprocessable entity response a status code equal to that given

func (*CreateGatewayUnprocessableEntity) IsRedirect

func (o *CreateGatewayUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create gateway unprocessable entity response has a 3xx status code

func (*CreateGatewayUnprocessableEntity) IsServerError

func (o *CreateGatewayUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create gateway unprocessable entity response has a 5xx status code

func (*CreateGatewayUnprocessableEntity) IsSuccess

func (o *CreateGatewayUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this create gateway unprocessable entity response has a 2xx status code

func (*CreateGatewayUnprocessableEntity) String

type DeleteGatewayForbidden

type DeleteGatewayForbidden struct {
	Payload *models.Error
}

DeleteGatewayForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteGatewayForbidden

func NewDeleteGatewayForbidden() *DeleteGatewayForbidden

NewDeleteGatewayForbidden creates a DeleteGatewayForbidden with default headers values

func (*DeleteGatewayForbidden) Code

func (o *DeleteGatewayForbidden) Code() int

Code gets the status code for the delete gateway forbidden response

func (*DeleteGatewayForbidden) Error

func (o *DeleteGatewayForbidden) Error() string

func (*DeleteGatewayForbidden) GetPayload

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

func (*DeleteGatewayForbidden) IsClientError

func (o *DeleteGatewayForbidden) IsClientError() bool

IsClientError returns true when this delete gateway forbidden response has a 4xx status code

func (*DeleteGatewayForbidden) IsCode

func (o *DeleteGatewayForbidden) IsCode(code int) bool

IsCode returns true when this delete gateway forbidden response a status code equal to that given

func (*DeleteGatewayForbidden) IsRedirect

func (o *DeleteGatewayForbidden) IsRedirect() bool

IsRedirect returns true when this delete gateway forbidden response has a 3xx status code

func (*DeleteGatewayForbidden) IsServerError

func (o *DeleteGatewayForbidden) IsServerError() bool

IsServerError returns true when this delete gateway forbidden response has a 5xx status code

func (*DeleteGatewayForbidden) IsSuccess

func (o *DeleteGatewayForbidden) IsSuccess() bool

IsSuccess returns true when this delete gateway forbidden response has a 2xx status code

func (*DeleteGatewayForbidden) String

func (o *DeleteGatewayForbidden) String() string

type DeleteGatewayNoContent

type DeleteGatewayNoContent struct {
}

DeleteGatewayNoContent describes a response with status code 204, with default header values.

Gateway has been deleted

func NewDeleteGatewayNoContent

func NewDeleteGatewayNoContent() *DeleteGatewayNoContent

NewDeleteGatewayNoContent creates a DeleteGatewayNoContent with default headers values

func (*DeleteGatewayNoContent) Code

func (o *DeleteGatewayNoContent) Code() int

Code gets the status code for the delete gateway no content response

func (*DeleteGatewayNoContent) Error

func (o *DeleteGatewayNoContent) Error() string

func (*DeleteGatewayNoContent) IsClientError

func (o *DeleteGatewayNoContent) IsClientError() bool

IsClientError returns true when this delete gateway no content response has a 4xx status code

func (*DeleteGatewayNoContent) IsCode

func (o *DeleteGatewayNoContent) IsCode(code int) bool

IsCode returns true when this delete gateway no content response a status code equal to that given

func (*DeleteGatewayNoContent) IsRedirect

func (o *DeleteGatewayNoContent) IsRedirect() bool

IsRedirect returns true when this delete gateway no content response has a 3xx status code

func (*DeleteGatewayNoContent) IsServerError

func (o *DeleteGatewayNoContent) IsServerError() bool

IsServerError returns true when this delete gateway no content response has a 5xx status code

func (*DeleteGatewayNoContent) IsSuccess

func (o *DeleteGatewayNoContent) IsSuccess() bool

IsSuccess returns true when this delete gateway no content response has a 2xx status code

func (*DeleteGatewayNoContent) String

func (o *DeleteGatewayNoContent) String() string

type DeleteGatewayNotFound

type DeleteGatewayNotFound struct {
	Payload *models.Error
}

DeleteGatewayNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteGatewayNotFound

func NewDeleteGatewayNotFound() *DeleteGatewayNotFound

NewDeleteGatewayNotFound creates a DeleteGatewayNotFound with default headers values

func (*DeleteGatewayNotFound) Code

func (o *DeleteGatewayNotFound) Code() int

Code gets the status code for the delete gateway not found response

func (*DeleteGatewayNotFound) Error

func (o *DeleteGatewayNotFound) Error() string

func (*DeleteGatewayNotFound) GetPayload

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

func (*DeleteGatewayNotFound) IsClientError

func (o *DeleteGatewayNotFound) IsClientError() bool

IsClientError returns true when this delete gateway not found response has a 4xx status code

func (*DeleteGatewayNotFound) IsCode

func (o *DeleteGatewayNotFound) IsCode(code int) bool

IsCode returns true when this delete gateway not found response a status code equal to that given

func (*DeleteGatewayNotFound) IsRedirect

func (o *DeleteGatewayNotFound) IsRedirect() bool

IsRedirect returns true when this delete gateway not found response has a 3xx status code

func (*DeleteGatewayNotFound) IsServerError

func (o *DeleteGatewayNotFound) IsServerError() bool

IsServerError returns true when this delete gateway not found response has a 5xx status code

func (*DeleteGatewayNotFound) IsSuccess

func (o *DeleteGatewayNotFound) IsSuccess() bool

IsSuccess returns true when this delete gateway not found response has a 2xx status code

func (*DeleteGatewayNotFound) String

func (o *DeleteGatewayNotFound) String() string

type DeleteGatewayParams

type DeleteGatewayParams struct {

	// Gw.
	Gw string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteGatewayParams contains all the parameters to send to the API endpoint

for the delete gateway operation.

Typically these are written to a http.Request.

func NewDeleteGatewayParams

func NewDeleteGatewayParams() *DeleteGatewayParams

NewDeleteGatewayParams creates a new DeleteGatewayParams 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 NewDeleteGatewayParamsWithContext

func NewDeleteGatewayParamsWithContext(ctx context.Context) *DeleteGatewayParams

NewDeleteGatewayParamsWithContext creates a new DeleteGatewayParams object with the ability to set a context for a request.

func NewDeleteGatewayParamsWithHTTPClient

func NewDeleteGatewayParamsWithHTTPClient(client *http.Client) *DeleteGatewayParams

NewDeleteGatewayParamsWithHTTPClient creates a new DeleteGatewayParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteGatewayParamsWithTimeout

func NewDeleteGatewayParamsWithTimeout(timeout time.Duration) *DeleteGatewayParams

NewDeleteGatewayParamsWithTimeout creates a new DeleteGatewayParams object with the ability to set a timeout on a request.

func (*DeleteGatewayParams) SetContext

func (o *DeleteGatewayParams) SetContext(ctx context.Context)

SetContext adds the context to the delete gateway params

func (*DeleteGatewayParams) SetDefaults

func (o *DeleteGatewayParams) SetDefaults()

SetDefaults hydrates default values in the delete gateway params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteGatewayParams) SetGw

func (o *DeleteGatewayParams) SetGw(gw string)

SetGw adds the gw to the delete gateway params

func (*DeleteGatewayParams) SetHTTPClient

func (o *DeleteGatewayParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete gateway params

func (*DeleteGatewayParams) SetIfMatch

func (o *DeleteGatewayParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the delete gateway params

func (*DeleteGatewayParams) SetTimeout

func (o *DeleteGatewayParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete gateway params

func (*DeleteGatewayParams) WithContext

WithContext adds the context to the delete gateway params

func (*DeleteGatewayParams) WithDefaults

func (o *DeleteGatewayParams) WithDefaults() *DeleteGatewayParams

WithDefaults hydrates default values in the delete gateway params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteGatewayParams) WithGw

WithGw adds the gw to the delete gateway params

func (*DeleteGatewayParams) WithHTTPClient

func (o *DeleteGatewayParams) WithHTTPClient(client *http.Client) *DeleteGatewayParams

WithHTTPClient adds the HTTPClient to the delete gateway params

func (*DeleteGatewayParams) WithIfMatch

func (o *DeleteGatewayParams) WithIfMatch(ifMatch *string) *DeleteGatewayParams

WithIfMatch adds the ifMatch to the delete gateway params

func (*DeleteGatewayParams) WithTimeout

func (o *DeleteGatewayParams) WithTimeout(timeout time.Duration) *DeleteGatewayParams

WithTimeout adds the timeout to the delete gateway params

func (*DeleteGatewayParams) WriteToRequest

func (o *DeleteGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteGatewayReader

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

DeleteGatewayReader is a Reader for the DeleteGateway structure.

func (*DeleteGatewayReader) ReadResponse

func (o *DeleteGatewayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteGatewayTooManyRequests

type DeleteGatewayTooManyRequests struct {
	Payload *models.Error
}

DeleteGatewayTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewDeleteGatewayTooManyRequests

func NewDeleteGatewayTooManyRequests() *DeleteGatewayTooManyRequests

NewDeleteGatewayTooManyRequests creates a DeleteGatewayTooManyRequests with default headers values

func (*DeleteGatewayTooManyRequests) Code

Code gets the status code for the delete gateway too many requests response

func (*DeleteGatewayTooManyRequests) Error

func (*DeleteGatewayTooManyRequests) GetPayload

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

func (*DeleteGatewayTooManyRequests) IsClientError

func (o *DeleteGatewayTooManyRequests) IsClientError() bool

IsClientError returns true when this delete gateway too many requests response has a 4xx status code

func (*DeleteGatewayTooManyRequests) IsCode

func (o *DeleteGatewayTooManyRequests) IsCode(code int) bool

IsCode returns true when this delete gateway too many requests response a status code equal to that given

func (*DeleteGatewayTooManyRequests) IsRedirect

func (o *DeleteGatewayTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete gateway too many requests response has a 3xx status code

func (*DeleteGatewayTooManyRequests) IsServerError

func (o *DeleteGatewayTooManyRequests) IsServerError() bool

IsServerError returns true when this delete gateway too many requests response has a 5xx status code

func (*DeleteGatewayTooManyRequests) IsSuccess

func (o *DeleteGatewayTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete gateway too many requests response has a 2xx status code

func (*DeleteGatewayTooManyRequests) String

type DeleteGatewayUnauthorized

type DeleteGatewayUnauthorized struct {
	Payload *models.Error
}

DeleteGatewayUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDeleteGatewayUnauthorized

func NewDeleteGatewayUnauthorized() *DeleteGatewayUnauthorized

NewDeleteGatewayUnauthorized creates a DeleteGatewayUnauthorized with default headers values

func (*DeleteGatewayUnauthorized) Code

func (o *DeleteGatewayUnauthorized) Code() int

Code gets the status code for the delete gateway unauthorized response

func (*DeleteGatewayUnauthorized) Error

func (o *DeleteGatewayUnauthorized) Error() string

func (*DeleteGatewayUnauthorized) GetPayload

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

func (*DeleteGatewayUnauthorized) IsClientError

func (o *DeleteGatewayUnauthorized) IsClientError() bool

IsClientError returns true when this delete gateway unauthorized response has a 4xx status code

func (*DeleteGatewayUnauthorized) IsCode

func (o *DeleteGatewayUnauthorized) IsCode(code int) bool

IsCode returns true when this delete gateway unauthorized response a status code equal to that given

func (*DeleteGatewayUnauthorized) IsRedirect

func (o *DeleteGatewayUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete gateway unauthorized response has a 3xx status code

func (*DeleteGatewayUnauthorized) IsServerError

func (o *DeleteGatewayUnauthorized) IsServerError() bool

IsServerError returns true when this delete gateway unauthorized response has a 5xx status code

func (*DeleteGatewayUnauthorized) IsSuccess

func (o *DeleteGatewayUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete gateway unauthorized response has a 2xx status code

func (*DeleteGatewayUnauthorized) String

func (o *DeleteGatewayUnauthorized) String() string

type GetGatewayForbidden

type GetGatewayForbidden struct {
	Payload *models.Error
}

GetGatewayForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetGatewayForbidden

func NewGetGatewayForbidden() *GetGatewayForbidden

NewGetGatewayForbidden creates a GetGatewayForbidden with default headers values

func (*GetGatewayForbidden) Code

func (o *GetGatewayForbidden) Code() int

Code gets the status code for the get gateway forbidden response

func (*GetGatewayForbidden) Error

func (o *GetGatewayForbidden) Error() string

func (*GetGatewayForbidden) GetPayload

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

func (*GetGatewayForbidden) IsClientError

func (o *GetGatewayForbidden) IsClientError() bool

IsClientError returns true when this get gateway forbidden response has a 4xx status code

func (*GetGatewayForbidden) IsCode

func (o *GetGatewayForbidden) IsCode(code int) bool

IsCode returns true when this get gateway forbidden response a status code equal to that given

func (*GetGatewayForbidden) IsRedirect

func (o *GetGatewayForbidden) IsRedirect() bool

IsRedirect returns true when this get gateway forbidden response has a 3xx status code

func (*GetGatewayForbidden) IsServerError

func (o *GetGatewayForbidden) IsServerError() bool

IsServerError returns true when this get gateway forbidden response has a 5xx status code

func (*GetGatewayForbidden) IsSuccess

func (o *GetGatewayForbidden) IsSuccess() bool

IsSuccess returns true when this get gateway forbidden response has a 2xx status code

func (*GetGatewayForbidden) String

func (o *GetGatewayForbidden) String() string

type GetGatewayNotFound

type GetGatewayNotFound struct {
	Payload *models.Error
}

GetGatewayNotFound describes a response with status code 404, with default header values.

Not found

func NewGetGatewayNotFound

func NewGetGatewayNotFound() *GetGatewayNotFound

NewGetGatewayNotFound creates a GetGatewayNotFound with default headers values

func (*GetGatewayNotFound) Code

func (o *GetGatewayNotFound) Code() int

Code gets the status code for the get gateway not found response

func (*GetGatewayNotFound) Error

func (o *GetGatewayNotFound) Error() string

func (*GetGatewayNotFound) GetPayload

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

func (*GetGatewayNotFound) IsClientError

func (o *GetGatewayNotFound) IsClientError() bool

IsClientError returns true when this get gateway not found response has a 4xx status code

func (*GetGatewayNotFound) IsCode

func (o *GetGatewayNotFound) IsCode(code int) bool

IsCode returns true when this get gateway not found response a status code equal to that given

func (*GetGatewayNotFound) IsRedirect

func (o *GetGatewayNotFound) IsRedirect() bool

IsRedirect returns true when this get gateway not found response has a 3xx status code

func (*GetGatewayNotFound) IsServerError

func (o *GetGatewayNotFound) IsServerError() bool

IsServerError returns true when this get gateway not found response has a 5xx status code

func (*GetGatewayNotFound) IsSuccess

func (o *GetGatewayNotFound) IsSuccess() bool

IsSuccess returns true when this get gateway not found response has a 2xx status code

func (*GetGatewayNotFound) String

func (o *GetGatewayNotFound) String() string

type GetGatewayOK

type GetGatewayOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.GatewayWithClient
}

GetGatewayOK describes a response with status code 200, with default header values.

Gateway with client

func NewGetGatewayOK

func NewGetGatewayOK() *GetGatewayOK

NewGetGatewayOK creates a GetGatewayOK with default headers values

func (*GetGatewayOK) Code

func (o *GetGatewayOK) Code() int

Code gets the status code for the get gateway o k response

func (*GetGatewayOK) Error

func (o *GetGatewayOK) Error() string

func (*GetGatewayOK) GetPayload

func (o *GetGatewayOK) GetPayload() *models.GatewayWithClient

func (*GetGatewayOK) IsClientError

func (o *GetGatewayOK) IsClientError() bool

IsClientError returns true when this get gateway o k response has a 4xx status code

func (*GetGatewayOK) IsCode

func (o *GetGatewayOK) IsCode(code int) bool

IsCode returns true when this get gateway o k response a status code equal to that given

func (*GetGatewayOK) IsRedirect

func (o *GetGatewayOK) IsRedirect() bool

IsRedirect returns true when this get gateway o k response has a 3xx status code

func (*GetGatewayOK) IsServerError

func (o *GetGatewayOK) IsServerError() bool

IsServerError returns true when this get gateway o k response has a 5xx status code

func (*GetGatewayOK) IsSuccess

func (o *GetGatewayOK) IsSuccess() bool

IsSuccess returns true when this get gateway o k response has a 2xx status code

func (*GetGatewayOK) String

func (o *GetGatewayOK) String() string

type GetGatewayPackageBadRequest

type GetGatewayPackageBadRequest struct {
	Payload *models.Error
}

GetGatewayPackageBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetGatewayPackageBadRequest

func NewGetGatewayPackageBadRequest() *GetGatewayPackageBadRequest

NewGetGatewayPackageBadRequest creates a GetGatewayPackageBadRequest with default headers values

func (*GetGatewayPackageBadRequest) Code

func (o *GetGatewayPackageBadRequest) Code() int

Code gets the status code for the get gateway package bad request response

func (*GetGatewayPackageBadRequest) Error

func (*GetGatewayPackageBadRequest) GetPayload

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

func (*GetGatewayPackageBadRequest) IsClientError

func (o *GetGatewayPackageBadRequest) IsClientError() bool

IsClientError returns true when this get gateway package bad request response has a 4xx status code

func (*GetGatewayPackageBadRequest) IsCode

func (o *GetGatewayPackageBadRequest) IsCode(code int) bool

IsCode returns true when this get gateway package bad request response a status code equal to that given

func (*GetGatewayPackageBadRequest) IsRedirect

func (o *GetGatewayPackageBadRequest) IsRedirect() bool

IsRedirect returns true when this get gateway package bad request response has a 3xx status code

func (*GetGatewayPackageBadRequest) IsServerError

func (o *GetGatewayPackageBadRequest) IsServerError() bool

IsServerError returns true when this get gateway package bad request response has a 5xx status code

func (*GetGatewayPackageBadRequest) IsSuccess

func (o *GetGatewayPackageBadRequest) IsSuccess() bool

IsSuccess returns true when this get gateway package bad request response has a 2xx status code

func (*GetGatewayPackageBadRequest) String

func (o *GetGatewayPackageBadRequest) String() string

type GetGatewayPackageForbidden

type GetGatewayPackageForbidden struct {
	Payload *models.Error
}

GetGatewayPackageForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetGatewayPackageForbidden

func NewGetGatewayPackageForbidden() *GetGatewayPackageForbidden

NewGetGatewayPackageForbidden creates a GetGatewayPackageForbidden with default headers values

func (*GetGatewayPackageForbidden) Code

func (o *GetGatewayPackageForbidden) Code() int

Code gets the status code for the get gateway package forbidden response

func (*GetGatewayPackageForbidden) Error

func (*GetGatewayPackageForbidden) GetPayload

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

func (*GetGatewayPackageForbidden) IsClientError

func (o *GetGatewayPackageForbidden) IsClientError() bool

IsClientError returns true when this get gateway package forbidden response has a 4xx status code

func (*GetGatewayPackageForbidden) IsCode

func (o *GetGatewayPackageForbidden) IsCode(code int) bool

IsCode returns true when this get gateway package forbidden response a status code equal to that given

func (*GetGatewayPackageForbidden) IsRedirect

func (o *GetGatewayPackageForbidden) IsRedirect() bool

IsRedirect returns true when this get gateway package forbidden response has a 3xx status code

func (*GetGatewayPackageForbidden) IsServerError

func (o *GetGatewayPackageForbidden) IsServerError() bool

IsServerError returns true when this get gateway package forbidden response has a 5xx status code

func (*GetGatewayPackageForbidden) IsSuccess

func (o *GetGatewayPackageForbidden) IsSuccess() bool

IsSuccess returns true when this get gateway package forbidden response has a 2xx status code

func (*GetGatewayPackageForbidden) String

func (o *GetGatewayPackageForbidden) String() string

type GetGatewayPackageNotFound

type GetGatewayPackageNotFound struct {
	Payload *models.Error
}

GetGatewayPackageNotFound describes a response with status code 404, with default header values.

Not found

func NewGetGatewayPackageNotFound

func NewGetGatewayPackageNotFound() *GetGatewayPackageNotFound

NewGetGatewayPackageNotFound creates a GetGatewayPackageNotFound with default headers values

func (*GetGatewayPackageNotFound) Code

func (o *GetGatewayPackageNotFound) Code() int

Code gets the status code for the get gateway package not found response

func (*GetGatewayPackageNotFound) Error

func (o *GetGatewayPackageNotFound) Error() string

func (*GetGatewayPackageNotFound) GetPayload

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

func (*GetGatewayPackageNotFound) IsClientError

func (o *GetGatewayPackageNotFound) IsClientError() bool

IsClientError returns true when this get gateway package not found response has a 4xx status code

func (*GetGatewayPackageNotFound) IsCode

func (o *GetGatewayPackageNotFound) IsCode(code int) bool

IsCode returns true when this get gateway package not found response a status code equal to that given

func (*GetGatewayPackageNotFound) IsRedirect

func (o *GetGatewayPackageNotFound) IsRedirect() bool

IsRedirect returns true when this get gateway package not found response has a 3xx status code

func (*GetGatewayPackageNotFound) IsServerError

func (o *GetGatewayPackageNotFound) IsServerError() bool

IsServerError returns true when this get gateway package not found response has a 5xx status code

func (*GetGatewayPackageNotFound) IsSuccess

func (o *GetGatewayPackageNotFound) IsSuccess() bool

IsSuccess returns true when this get gateway package not found response has a 2xx status code

func (*GetGatewayPackageNotFound) String

func (o *GetGatewayPackageNotFound) String() string

type GetGatewayPackageOK

type GetGatewayPackageOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload io.Writer
}

GetGatewayPackageOK describes a response with status code 200, with default header values.

Gateway package

func NewGetGatewayPackageOK

func NewGetGatewayPackageOK(writer io.Writer) *GetGatewayPackageOK

NewGetGatewayPackageOK creates a GetGatewayPackageOK with default headers values

func (*GetGatewayPackageOK) Code

func (o *GetGatewayPackageOK) Code() int

Code gets the status code for the get gateway package o k response

func (*GetGatewayPackageOK) Error

func (o *GetGatewayPackageOK) Error() string

func (*GetGatewayPackageOK) GetPayload

func (o *GetGatewayPackageOK) GetPayload() io.Writer

func (*GetGatewayPackageOK) IsClientError

func (o *GetGatewayPackageOK) IsClientError() bool

IsClientError returns true when this get gateway package o k response has a 4xx status code

func (*GetGatewayPackageOK) IsCode

func (o *GetGatewayPackageOK) IsCode(code int) bool

IsCode returns true when this get gateway package o k response a status code equal to that given

func (*GetGatewayPackageOK) IsRedirect

func (o *GetGatewayPackageOK) IsRedirect() bool

IsRedirect returns true when this get gateway package o k response has a 3xx status code

func (*GetGatewayPackageOK) IsServerError

func (o *GetGatewayPackageOK) IsServerError() bool

IsServerError returns true when this get gateway package o k response has a 5xx status code

func (*GetGatewayPackageOK) IsSuccess

func (o *GetGatewayPackageOK) IsSuccess() bool

IsSuccess returns true when this get gateway package o k response has a 2xx status code

func (*GetGatewayPackageOK) String

func (o *GetGatewayPackageOK) String() string

type GetGatewayPackageParams

type GetGatewayPackageParams struct {

	/* Gw.

	   Gateway id

	   Default: "default"
	*/
	Gw string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGatewayPackageParams contains all the parameters to send to the API endpoint

for the get gateway package operation.

Typically these are written to a http.Request.

func NewGetGatewayPackageParams

func NewGetGatewayPackageParams() *GetGatewayPackageParams

NewGetGatewayPackageParams creates a new GetGatewayPackageParams 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 NewGetGatewayPackageParamsWithContext

func NewGetGatewayPackageParamsWithContext(ctx context.Context) *GetGatewayPackageParams

NewGetGatewayPackageParamsWithContext creates a new GetGatewayPackageParams object with the ability to set a context for a request.

func NewGetGatewayPackageParamsWithHTTPClient

func NewGetGatewayPackageParamsWithHTTPClient(client *http.Client) *GetGatewayPackageParams

NewGetGatewayPackageParamsWithHTTPClient creates a new GetGatewayPackageParams object with the ability to set a custom HTTPClient for a request.

func NewGetGatewayPackageParamsWithTimeout

func NewGetGatewayPackageParamsWithTimeout(timeout time.Duration) *GetGatewayPackageParams

NewGetGatewayPackageParamsWithTimeout creates a new GetGatewayPackageParams object with the ability to set a timeout on a request.

func (*GetGatewayPackageParams) SetContext

func (o *GetGatewayPackageParams) SetContext(ctx context.Context)

SetContext adds the context to the get gateway package params

func (*GetGatewayPackageParams) SetDefaults

func (o *GetGatewayPackageParams) SetDefaults()

SetDefaults hydrates default values in the get gateway package params (not the query body).

All values with no default are reset to their zero value.

func (*GetGatewayPackageParams) SetGw

func (o *GetGatewayPackageParams) SetGw(gw string)

SetGw adds the gw to the get gateway package params

func (*GetGatewayPackageParams) SetHTTPClient

func (o *GetGatewayPackageParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get gateway package params

func (*GetGatewayPackageParams) SetIfMatch

func (o *GetGatewayPackageParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the get gateway package params

func (*GetGatewayPackageParams) SetTimeout

func (o *GetGatewayPackageParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get gateway package params

func (*GetGatewayPackageParams) WithContext

WithContext adds the context to the get gateway package params

func (*GetGatewayPackageParams) WithDefaults

WithDefaults hydrates default values in the get gateway package params (not the query body).

All values with no default are reset to their zero value.

func (*GetGatewayPackageParams) WithGw

WithGw adds the gw to the get gateway package params

func (*GetGatewayPackageParams) WithHTTPClient

func (o *GetGatewayPackageParams) WithHTTPClient(client *http.Client) *GetGatewayPackageParams

WithHTTPClient adds the HTTPClient to the get gateway package params

func (*GetGatewayPackageParams) WithIfMatch

func (o *GetGatewayPackageParams) WithIfMatch(ifMatch *string) *GetGatewayPackageParams

WithIfMatch adds the ifMatch to the get gateway package params

func (*GetGatewayPackageParams) WithTimeout

WithTimeout adds the timeout to the get gateway package params

func (*GetGatewayPackageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetGatewayPackageReader

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

GetGatewayPackageReader is a Reader for the GetGatewayPackage structure.

func (*GetGatewayPackageReader) ReadResponse

func (o *GetGatewayPackageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetGatewayPackageTooManyRequests

type GetGatewayPackageTooManyRequests struct {
	Payload *models.Error
}

GetGatewayPackageTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewGetGatewayPackageTooManyRequests

func NewGetGatewayPackageTooManyRequests() *GetGatewayPackageTooManyRequests

NewGetGatewayPackageTooManyRequests creates a GetGatewayPackageTooManyRequests with default headers values

func (*GetGatewayPackageTooManyRequests) Code

Code gets the status code for the get gateway package too many requests response

func (*GetGatewayPackageTooManyRequests) Error

func (*GetGatewayPackageTooManyRequests) GetPayload

func (*GetGatewayPackageTooManyRequests) IsClientError

func (o *GetGatewayPackageTooManyRequests) IsClientError() bool

IsClientError returns true when this get gateway package too many requests response has a 4xx status code

func (*GetGatewayPackageTooManyRequests) IsCode

func (o *GetGatewayPackageTooManyRequests) IsCode(code int) bool

IsCode returns true when this get gateway package too many requests response a status code equal to that given

func (*GetGatewayPackageTooManyRequests) IsRedirect

func (o *GetGatewayPackageTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get gateway package too many requests response has a 3xx status code

func (*GetGatewayPackageTooManyRequests) IsServerError

func (o *GetGatewayPackageTooManyRequests) IsServerError() bool

IsServerError returns true when this get gateway package too many requests response has a 5xx status code

func (*GetGatewayPackageTooManyRequests) IsSuccess

func (o *GetGatewayPackageTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get gateway package too many requests response has a 2xx status code

func (*GetGatewayPackageTooManyRequests) String

type GetGatewayPackageUnauthorized

type GetGatewayPackageUnauthorized struct {
	Payload *models.Error
}

GetGatewayPackageUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetGatewayPackageUnauthorized

func NewGetGatewayPackageUnauthorized() *GetGatewayPackageUnauthorized

NewGetGatewayPackageUnauthorized creates a GetGatewayPackageUnauthorized with default headers values

func (*GetGatewayPackageUnauthorized) Code

Code gets the status code for the get gateway package unauthorized response

func (*GetGatewayPackageUnauthorized) Error

func (*GetGatewayPackageUnauthorized) GetPayload

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

func (*GetGatewayPackageUnauthorized) IsClientError

func (o *GetGatewayPackageUnauthorized) IsClientError() bool

IsClientError returns true when this get gateway package unauthorized response has a 4xx status code

func (*GetGatewayPackageUnauthorized) IsCode

func (o *GetGatewayPackageUnauthorized) IsCode(code int) bool

IsCode returns true when this get gateway package unauthorized response a status code equal to that given

func (*GetGatewayPackageUnauthorized) IsRedirect

func (o *GetGatewayPackageUnauthorized) IsRedirect() bool

IsRedirect returns true when this get gateway package unauthorized response has a 3xx status code

func (*GetGatewayPackageUnauthorized) IsServerError

func (o *GetGatewayPackageUnauthorized) IsServerError() bool

IsServerError returns true when this get gateway package unauthorized response has a 5xx status code

func (*GetGatewayPackageUnauthorized) IsSuccess

func (o *GetGatewayPackageUnauthorized) IsSuccess() bool

IsSuccess returns true when this get gateway package unauthorized response has a 2xx status code

func (*GetGatewayPackageUnauthorized) String

type GetGatewayParams

type GetGatewayParams struct {

	/* Gw.

	   Gateway id

	   Default: "default"
	*/
	Gw string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetGatewayParams contains all the parameters to send to the API endpoint

for the get gateway operation.

Typically these are written to a http.Request.

func NewGetGatewayParams

func NewGetGatewayParams() *GetGatewayParams

NewGetGatewayParams creates a new GetGatewayParams 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 NewGetGatewayParamsWithContext

func NewGetGatewayParamsWithContext(ctx context.Context) *GetGatewayParams

NewGetGatewayParamsWithContext creates a new GetGatewayParams object with the ability to set a context for a request.

func NewGetGatewayParamsWithHTTPClient

func NewGetGatewayParamsWithHTTPClient(client *http.Client) *GetGatewayParams

NewGetGatewayParamsWithHTTPClient creates a new GetGatewayParams object with the ability to set a custom HTTPClient for a request.

func NewGetGatewayParamsWithTimeout

func NewGetGatewayParamsWithTimeout(timeout time.Duration) *GetGatewayParams

NewGetGatewayParamsWithTimeout creates a new GetGatewayParams object with the ability to set a timeout on a request.

func (*GetGatewayParams) SetContext

func (o *GetGatewayParams) SetContext(ctx context.Context)

SetContext adds the context to the get gateway params

func (*GetGatewayParams) SetDefaults

func (o *GetGatewayParams) SetDefaults()

SetDefaults hydrates default values in the get gateway params (not the query body).

All values with no default are reset to their zero value.

func (*GetGatewayParams) SetGw

func (o *GetGatewayParams) SetGw(gw string)

SetGw adds the gw to the get gateway params

func (*GetGatewayParams) SetHTTPClient

func (o *GetGatewayParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get gateway params

func (*GetGatewayParams) SetIfMatch

func (o *GetGatewayParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the get gateway params

func (*GetGatewayParams) SetTimeout

func (o *GetGatewayParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get gateway params

func (*GetGatewayParams) WithContext

func (o *GetGatewayParams) WithContext(ctx context.Context) *GetGatewayParams

WithContext adds the context to the get gateway params

func (*GetGatewayParams) WithDefaults

func (o *GetGatewayParams) WithDefaults() *GetGatewayParams

WithDefaults hydrates default values in the get gateway params (not the query body).

All values with no default are reset to their zero value.

func (*GetGatewayParams) WithGw

func (o *GetGatewayParams) WithGw(gw string) *GetGatewayParams

WithGw adds the gw to the get gateway params

func (*GetGatewayParams) WithHTTPClient

func (o *GetGatewayParams) WithHTTPClient(client *http.Client) *GetGatewayParams

WithHTTPClient adds the HTTPClient to the get gateway params

func (*GetGatewayParams) WithIfMatch

func (o *GetGatewayParams) WithIfMatch(ifMatch *string) *GetGatewayParams

WithIfMatch adds the ifMatch to the get gateway params

func (*GetGatewayParams) WithTimeout

func (o *GetGatewayParams) WithTimeout(timeout time.Duration) *GetGatewayParams

WithTimeout adds the timeout to the get gateway params

func (*GetGatewayParams) WriteToRequest

func (o *GetGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetGatewayReader

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

GetGatewayReader is a Reader for the GetGateway structure.

func (*GetGatewayReader) ReadResponse

func (o *GetGatewayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetGatewayTooManyRequests

type GetGatewayTooManyRequests struct {
	Payload *models.Error
}

GetGatewayTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewGetGatewayTooManyRequests

func NewGetGatewayTooManyRequests() *GetGatewayTooManyRequests

NewGetGatewayTooManyRequests creates a GetGatewayTooManyRequests with default headers values

func (*GetGatewayTooManyRequests) Code

func (o *GetGatewayTooManyRequests) Code() int

Code gets the status code for the get gateway too many requests response

func (*GetGatewayTooManyRequests) Error

func (o *GetGatewayTooManyRequests) Error() string

func (*GetGatewayTooManyRequests) GetPayload

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

func (*GetGatewayTooManyRequests) IsClientError

func (o *GetGatewayTooManyRequests) IsClientError() bool

IsClientError returns true when this get gateway too many requests response has a 4xx status code

func (*GetGatewayTooManyRequests) IsCode

func (o *GetGatewayTooManyRequests) IsCode(code int) bool

IsCode returns true when this get gateway too many requests response a status code equal to that given

func (*GetGatewayTooManyRequests) IsRedirect

func (o *GetGatewayTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get gateway too many requests response has a 3xx status code

func (*GetGatewayTooManyRequests) IsServerError

func (o *GetGatewayTooManyRequests) IsServerError() bool

IsServerError returns true when this get gateway too many requests response has a 5xx status code

func (*GetGatewayTooManyRequests) IsSuccess

func (o *GetGatewayTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get gateway too many requests response has a 2xx status code

func (*GetGatewayTooManyRequests) String

func (o *GetGatewayTooManyRequests) String() string

type GetGatewayUnauthorized

type GetGatewayUnauthorized struct {
	Payload *models.Error
}

GetGatewayUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetGatewayUnauthorized

func NewGetGatewayUnauthorized() *GetGatewayUnauthorized

NewGetGatewayUnauthorized creates a GetGatewayUnauthorized with default headers values

func (*GetGatewayUnauthorized) Code

func (o *GetGatewayUnauthorized) Code() int

Code gets the status code for the get gateway unauthorized response

func (*GetGatewayUnauthorized) Error

func (o *GetGatewayUnauthorized) Error() string

func (*GetGatewayUnauthorized) GetPayload

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

func (*GetGatewayUnauthorized) IsClientError

func (o *GetGatewayUnauthorized) IsClientError() bool

IsClientError returns true when this get gateway unauthorized response has a 4xx status code

func (*GetGatewayUnauthorized) IsCode

func (o *GetGatewayUnauthorized) IsCode(code int) bool

IsCode returns true when this get gateway unauthorized response a status code equal to that given

func (*GetGatewayUnauthorized) IsRedirect

func (o *GetGatewayUnauthorized) IsRedirect() bool

IsRedirect returns true when this get gateway unauthorized response has a 3xx status code

func (*GetGatewayUnauthorized) IsServerError

func (o *GetGatewayUnauthorized) IsServerError() bool

IsServerError returns true when this get gateway unauthorized response has a 5xx status code

func (*GetGatewayUnauthorized) IsSuccess

func (o *GetGatewayUnauthorized) IsSuccess() bool

IsSuccess returns true when this get gateway unauthorized response has a 2xx status code

func (*GetGatewayUnauthorized) String

func (o *GetGatewayUnauthorized) String() string

type ListGatewayAPIGroupsForbidden

type ListGatewayAPIGroupsForbidden struct {
	Payload *models.Error
}

ListGatewayAPIGroupsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListGatewayAPIGroupsForbidden

func NewListGatewayAPIGroupsForbidden() *ListGatewayAPIGroupsForbidden

NewListGatewayAPIGroupsForbidden creates a ListGatewayAPIGroupsForbidden with default headers values

func (*ListGatewayAPIGroupsForbidden) Code

Code gets the status code for the list gateway Api groups forbidden response

func (*ListGatewayAPIGroupsForbidden) Error

func (*ListGatewayAPIGroupsForbidden) GetPayload

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

func (*ListGatewayAPIGroupsForbidden) IsClientError

func (o *ListGatewayAPIGroupsForbidden) IsClientError() bool

IsClientError returns true when this list gateway Api groups forbidden response has a 4xx status code

func (*ListGatewayAPIGroupsForbidden) IsCode

func (o *ListGatewayAPIGroupsForbidden) IsCode(code int) bool

IsCode returns true when this list gateway Api groups forbidden response a status code equal to that given

func (*ListGatewayAPIGroupsForbidden) IsRedirect

func (o *ListGatewayAPIGroupsForbidden) IsRedirect() bool

IsRedirect returns true when this list gateway Api groups forbidden response has a 3xx status code

func (*ListGatewayAPIGroupsForbidden) IsServerError

func (o *ListGatewayAPIGroupsForbidden) IsServerError() bool

IsServerError returns true when this list gateway Api groups forbidden response has a 5xx status code

func (*ListGatewayAPIGroupsForbidden) IsSuccess

func (o *ListGatewayAPIGroupsForbidden) IsSuccess() bool

IsSuccess returns true when this list gateway Api groups forbidden response has a 2xx status code

func (*ListGatewayAPIGroupsForbidden) String

type ListGatewayAPIGroupsOK

type ListGatewayAPIGroupsOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.GatewayAPIGroups
}

ListGatewayAPIGroupsOK describes a response with status code 200, with default header values.

Gateway API groups

func NewListGatewayAPIGroupsOK

func NewListGatewayAPIGroupsOK() *ListGatewayAPIGroupsOK

NewListGatewayAPIGroupsOK creates a ListGatewayAPIGroupsOK with default headers values

func (*ListGatewayAPIGroupsOK) Code

func (o *ListGatewayAPIGroupsOK) Code() int

Code gets the status code for the list gateway Api groups o k response

func (*ListGatewayAPIGroupsOK) Error

func (o *ListGatewayAPIGroupsOK) Error() string

func (*ListGatewayAPIGroupsOK) GetPayload

func (*ListGatewayAPIGroupsOK) IsClientError

func (o *ListGatewayAPIGroupsOK) IsClientError() bool

IsClientError returns true when this list gateway Api groups o k response has a 4xx status code

func (*ListGatewayAPIGroupsOK) IsCode

func (o *ListGatewayAPIGroupsOK) IsCode(code int) bool

IsCode returns true when this list gateway Api groups o k response a status code equal to that given

func (*ListGatewayAPIGroupsOK) IsRedirect

func (o *ListGatewayAPIGroupsOK) IsRedirect() bool

IsRedirect returns true when this list gateway Api groups o k response has a 3xx status code

func (*ListGatewayAPIGroupsOK) IsServerError

func (o *ListGatewayAPIGroupsOK) IsServerError() bool

IsServerError returns true when this list gateway Api groups o k response has a 5xx status code

func (*ListGatewayAPIGroupsOK) IsSuccess

func (o *ListGatewayAPIGroupsOK) IsSuccess() bool

IsSuccess returns true when this list gateway Api groups o k response has a 2xx status code

func (*ListGatewayAPIGroupsOK) String

func (o *ListGatewayAPIGroupsOK) String() string

type ListGatewayAPIGroupsParams

type ListGatewayAPIGroupsParams struct {

	/* Gw.

	   Gateway id
	*/
	Gw string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListGatewayAPIGroupsParams contains all the parameters to send to the API endpoint

for the list gateway API groups operation.

Typically these are written to a http.Request.

func NewListGatewayAPIGroupsParams

func NewListGatewayAPIGroupsParams() *ListGatewayAPIGroupsParams

NewListGatewayAPIGroupsParams creates a new ListGatewayAPIGroupsParams 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 NewListGatewayAPIGroupsParamsWithContext

func NewListGatewayAPIGroupsParamsWithContext(ctx context.Context) *ListGatewayAPIGroupsParams

NewListGatewayAPIGroupsParamsWithContext creates a new ListGatewayAPIGroupsParams object with the ability to set a context for a request.

func NewListGatewayAPIGroupsParamsWithHTTPClient

func NewListGatewayAPIGroupsParamsWithHTTPClient(client *http.Client) *ListGatewayAPIGroupsParams

NewListGatewayAPIGroupsParamsWithHTTPClient creates a new ListGatewayAPIGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewListGatewayAPIGroupsParamsWithTimeout

func NewListGatewayAPIGroupsParamsWithTimeout(timeout time.Duration) *ListGatewayAPIGroupsParams

NewListGatewayAPIGroupsParamsWithTimeout creates a new ListGatewayAPIGroupsParams object with the ability to set a timeout on a request.

func (*ListGatewayAPIGroupsParams) SetContext

func (o *ListGatewayAPIGroupsParams) SetContext(ctx context.Context)

SetContext adds the context to the list gateway API groups params

func (*ListGatewayAPIGroupsParams) SetDefaults

func (o *ListGatewayAPIGroupsParams) SetDefaults()

SetDefaults hydrates default values in the list gateway API groups params (not the query body).

All values with no default are reset to their zero value.

func (*ListGatewayAPIGroupsParams) SetGw

func (o *ListGatewayAPIGroupsParams) SetGw(gw string)

SetGw adds the gw to the list gateway API groups params

func (*ListGatewayAPIGroupsParams) SetHTTPClient

func (o *ListGatewayAPIGroupsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list gateway API groups params

func (*ListGatewayAPIGroupsParams) SetIfMatch

func (o *ListGatewayAPIGroupsParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list gateway API groups params

func (*ListGatewayAPIGroupsParams) SetTimeout

func (o *ListGatewayAPIGroupsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list gateway API groups params

func (*ListGatewayAPIGroupsParams) WithContext

WithContext adds the context to the list gateway API groups params

func (*ListGatewayAPIGroupsParams) WithDefaults

WithDefaults hydrates default values in the list gateway API groups params (not the query body).

All values with no default are reset to their zero value.

func (*ListGatewayAPIGroupsParams) WithGw

WithGw adds the gw to the list gateway API groups params

func (*ListGatewayAPIGroupsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list gateway API groups params

func (*ListGatewayAPIGroupsParams) WithIfMatch

WithIfMatch adds the ifMatch to the list gateway API groups params

func (*ListGatewayAPIGroupsParams) WithTimeout

WithTimeout adds the timeout to the list gateway API groups params

func (*ListGatewayAPIGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGatewayAPIGroupsReader

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

ListGatewayAPIGroupsReader is a Reader for the ListGatewayAPIGroups structure.

func (*ListGatewayAPIGroupsReader) ReadResponse

func (o *ListGatewayAPIGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListGatewayAPIGroupsTooManyRequests

type ListGatewayAPIGroupsTooManyRequests struct {
	Payload *models.Error
}

ListGatewayAPIGroupsTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewListGatewayAPIGroupsTooManyRequests

func NewListGatewayAPIGroupsTooManyRequests() *ListGatewayAPIGroupsTooManyRequests

NewListGatewayAPIGroupsTooManyRequests creates a ListGatewayAPIGroupsTooManyRequests with default headers values

func (*ListGatewayAPIGroupsTooManyRequests) Code

Code gets the status code for the list gateway Api groups too many requests response

func (*ListGatewayAPIGroupsTooManyRequests) Error

func (*ListGatewayAPIGroupsTooManyRequests) GetPayload

func (*ListGatewayAPIGroupsTooManyRequests) IsClientError

func (o *ListGatewayAPIGroupsTooManyRequests) IsClientError() bool

IsClientError returns true when this list gateway Api groups too many requests response has a 4xx status code

func (*ListGatewayAPIGroupsTooManyRequests) IsCode

IsCode returns true when this list gateway Api groups too many requests response a status code equal to that given

func (*ListGatewayAPIGroupsTooManyRequests) IsRedirect

func (o *ListGatewayAPIGroupsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list gateway Api groups too many requests response has a 3xx status code

func (*ListGatewayAPIGroupsTooManyRequests) IsServerError

func (o *ListGatewayAPIGroupsTooManyRequests) IsServerError() bool

IsServerError returns true when this list gateway Api groups too many requests response has a 5xx status code

func (*ListGatewayAPIGroupsTooManyRequests) IsSuccess

IsSuccess returns true when this list gateway Api groups too many requests response has a 2xx status code

func (*ListGatewayAPIGroupsTooManyRequests) String

type ListGatewayAPIGroupsUnauthorized

type ListGatewayAPIGroupsUnauthorized struct {
	Payload *models.Error
}

ListGatewayAPIGroupsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListGatewayAPIGroupsUnauthorized

func NewListGatewayAPIGroupsUnauthorized() *ListGatewayAPIGroupsUnauthorized

NewListGatewayAPIGroupsUnauthorized creates a ListGatewayAPIGroupsUnauthorized with default headers values

func (*ListGatewayAPIGroupsUnauthorized) Code

Code gets the status code for the list gateway Api groups unauthorized response

func (*ListGatewayAPIGroupsUnauthorized) Error

func (*ListGatewayAPIGroupsUnauthorized) GetPayload

func (*ListGatewayAPIGroupsUnauthorized) IsClientError

func (o *ListGatewayAPIGroupsUnauthorized) IsClientError() bool

IsClientError returns true when this list gateway Api groups unauthorized response has a 4xx status code

func (*ListGatewayAPIGroupsUnauthorized) IsCode

func (o *ListGatewayAPIGroupsUnauthorized) IsCode(code int) bool

IsCode returns true when this list gateway Api groups unauthorized response a status code equal to that given

func (*ListGatewayAPIGroupsUnauthorized) IsRedirect

func (o *ListGatewayAPIGroupsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list gateway Api groups unauthorized response has a 3xx status code

func (*ListGatewayAPIGroupsUnauthorized) IsServerError

func (o *ListGatewayAPIGroupsUnauthorized) IsServerError() bool

IsServerError returns true when this list gateway Api groups unauthorized response has a 5xx status code

func (*ListGatewayAPIGroupsUnauthorized) IsSuccess

func (o *ListGatewayAPIGroupsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list gateway Api groups unauthorized response has a 2xx status code

func (*ListGatewayAPIGroupsUnauthorized) String

type ListGatewaysForbidden

type ListGatewaysForbidden struct {
	Payload *models.Error
}

ListGatewaysForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListGatewaysForbidden

func NewListGatewaysForbidden() *ListGatewaysForbidden

NewListGatewaysForbidden creates a ListGatewaysForbidden with default headers values

func (*ListGatewaysForbidden) Code

func (o *ListGatewaysForbidden) Code() int

Code gets the status code for the list gateways forbidden response

func (*ListGatewaysForbidden) Error

func (o *ListGatewaysForbidden) Error() string

func (*ListGatewaysForbidden) GetPayload

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

func (*ListGatewaysForbidden) IsClientError

func (o *ListGatewaysForbidden) IsClientError() bool

IsClientError returns true when this list gateways forbidden response has a 4xx status code

func (*ListGatewaysForbidden) IsCode

func (o *ListGatewaysForbidden) IsCode(code int) bool

IsCode returns true when this list gateways forbidden response a status code equal to that given

func (*ListGatewaysForbidden) IsRedirect

func (o *ListGatewaysForbidden) IsRedirect() bool

IsRedirect returns true when this list gateways forbidden response has a 3xx status code

func (*ListGatewaysForbidden) IsServerError

func (o *ListGatewaysForbidden) IsServerError() bool

IsServerError returns true when this list gateways forbidden response has a 5xx status code

func (*ListGatewaysForbidden) IsSuccess

func (o *ListGatewaysForbidden) IsSuccess() bool

IsSuccess returns true when this list gateways forbidden response has a 2xx status code

func (*ListGatewaysForbidden) String

func (o *ListGatewaysForbidden) String() string

type ListGatewaysOK

type ListGatewaysOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.Gateways
}

ListGatewaysOK describes a response with status code 200, with default header values.

Gateways

func NewListGatewaysOK

func NewListGatewaysOK() *ListGatewaysOK

NewListGatewaysOK creates a ListGatewaysOK with default headers values

func (*ListGatewaysOK) Code

func (o *ListGatewaysOK) Code() int

Code gets the status code for the list gateways o k response

func (*ListGatewaysOK) Error

func (o *ListGatewaysOK) Error() string

func (*ListGatewaysOK) GetPayload

func (o *ListGatewaysOK) GetPayload() *models.Gateways

func (*ListGatewaysOK) IsClientError

func (o *ListGatewaysOK) IsClientError() bool

IsClientError returns true when this list gateways o k response has a 4xx status code

func (*ListGatewaysOK) IsCode

func (o *ListGatewaysOK) IsCode(code int) bool

IsCode returns true when this list gateways o k response a status code equal to that given

func (*ListGatewaysOK) IsRedirect

func (o *ListGatewaysOK) IsRedirect() bool

IsRedirect returns true when this list gateways o k response has a 3xx status code

func (*ListGatewaysOK) IsServerError

func (o *ListGatewaysOK) IsServerError() bool

IsServerError returns true when this list gateways o k response has a 5xx status code

func (*ListGatewaysOK) IsSuccess

func (o *ListGatewaysOK) IsSuccess() bool

IsSuccess returns true when this list gateways o k response has a 2xx status code

func (*ListGatewaysOK) String

func (o *ListGatewaysOK) String() string

type ListGatewaysParams

type ListGatewaysParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Wid.

	   Authorization server id

	   Default: "default"
	*/
	Wid string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListGatewaysParams contains all the parameters to send to the API endpoint

for the list gateways operation.

Typically these are written to a http.Request.

func NewListGatewaysParams

func NewListGatewaysParams() *ListGatewaysParams

NewListGatewaysParams creates a new ListGatewaysParams 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 NewListGatewaysParamsWithContext

func NewListGatewaysParamsWithContext(ctx context.Context) *ListGatewaysParams

NewListGatewaysParamsWithContext creates a new ListGatewaysParams object with the ability to set a context for a request.

func NewListGatewaysParamsWithHTTPClient

func NewListGatewaysParamsWithHTTPClient(client *http.Client) *ListGatewaysParams

NewListGatewaysParamsWithHTTPClient creates a new ListGatewaysParams object with the ability to set a custom HTTPClient for a request.

func NewListGatewaysParamsWithTimeout

func NewListGatewaysParamsWithTimeout(timeout time.Duration) *ListGatewaysParams

NewListGatewaysParamsWithTimeout creates a new ListGatewaysParams object with the ability to set a timeout on a request.

func (*ListGatewaysParams) SetContext

func (o *ListGatewaysParams) SetContext(ctx context.Context)

SetContext adds the context to the list gateways params

func (*ListGatewaysParams) SetDefaults

func (o *ListGatewaysParams) SetDefaults()

SetDefaults hydrates default values in the list gateways params (not the query body).

All values with no default are reset to their zero value.

func (*ListGatewaysParams) SetHTTPClient

func (o *ListGatewaysParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list gateways params

func (*ListGatewaysParams) SetIfMatch

func (o *ListGatewaysParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the list gateways params

func (*ListGatewaysParams) SetTimeout

func (o *ListGatewaysParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list gateways params

func (*ListGatewaysParams) SetWid

func (o *ListGatewaysParams) SetWid(wid string)

SetWid adds the wid to the list gateways params

func (*ListGatewaysParams) WithContext

WithContext adds the context to the list gateways params

func (*ListGatewaysParams) WithDefaults

func (o *ListGatewaysParams) WithDefaults() *ListGatewaysParams

WithDefaults hydrates default values in the list gateways params (not the query body).

All values with no default are reset to their zero value.

func (*ListGatewaysParams) WithHTTPClient

func (o *ListGatewaysParams) WithHTTPClient(client *http.Client) *ListGatewaysParams

WithHTTPClient adds the HTTPClient to the list gateways params

func (*ListGatewaysParams) WithIfMatch

func (o *ListGatewaysParams) WithIfMatch(ifMatch *string) *ListGatewaysParams

WithIfMatch adds the ifMatch to the list gateways params

func (*ListGatewaysParams) WithTimeout

func (o *ListGatewaysParams) WithTimeout(timeout time.Duration) *ListGatewaysParams

WithTimeout adds the timeout to the list gateways params

func (*ListGatewaysParams) WithWid

func (o *ListGatewaysParams) WithWid(wid string) *ListGatewaysParams

WithWid adds the wid to the list gateways params

func (*ListGatewaysParams) WriteToRequest

func (o *ListGatewaysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListGatewaysReader

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

ListGatewaysReader is a Reader for the ListGateways structure.

func (*ListGatewaysReader) ReadResponse

func (o *ListGatewaysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListGatewaysTooManyRequests

type ListGatewaysTooManyRequests struct {
	Payload *models.Error
}

ListGatewaysTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewListGatewaysTooManyRequests

func NewListGatewaysTooManyRequests() *ListGatewaysTooManyRequests

NewListGatewaysTooManyRequests creates a ListGatewaysTooManyRequests with default headers values

func (*ListGatewaysTooManyRequests) Code

func (o *ListGatewaysTooManyRequests) Code() int

Code gets the status code for the list gateways too many requests response

func (*ListGatewaysTooManyRequests) Error

func (*ListGatewaysTooManyRequests) GetPayload

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

func (*ListGatewaysTooManyRequests) IsClientError

func (o *ListGatewaysTooManyRequests) IsClientError() bool

IsClientError returns true when this list gateways too many requests response has a 4xx status code

func (*ListGatewaysTooManyRequests) IsCode

func (o *ListGatewaysTooManyRequests) IsCode(code int) bool

IsCode returns true when this list gateways too many requests response a status code equal to that given

func (*ListGatewaysTooManyRequests) IsRedirect

func (o *ListGatewaysTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list gateways too many requests response has a 3xx status code

func (*ListGatewaysTooManyRequests) IsServerError

func (o *ListGatewaysTooManyRequests) IsServerError() bool

IsServerError returns true when this list gateways too many requests response has a 5xx status code

func (*ListGatewaysTooManyRequests) IsSuccess

func (o *ListGatewaysTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list gateways too many requests response has a 2xx status code

func (*ListGatewaysTooManyRequests) String

func (o *ListGatewaysTooManyRequests) String() string

type ListGatewaysUnauthorized

type ListGatewaysUnauthorized struct {
	Payload *models.Error
}

ListGatewaysUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewListGatewaysUnauthorized

func NewListGatewaysUnauthorized() *ListGatewaysUnauthorized

NewListGatewaysUnauthorized creates a ListGatewaysUnauthorized with default headers values

func (*ListGatewaysUnauthorized) Code

func (o *ListGatewaysUnauthorized) Code() int

Code gets the status code for the list gateways unauthorized response

func (*ListGatewaysUnauthorized) Error

func (o *ListGatewaysUnauthorized) Error() string

func (*ListGatewaysUnauthorized) GetPayload

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

func (*ListGatewaysUnauthorized) IsClientError

func (o *ListGatewaysUnauthorized) IsClientError() bool

IsClientError returns true when this list gateways unauthorized response has a 4xx status code

func (*ListGatewaysUnauthorized) IsCode

func (o *ListGatewaysUnauthorized) IsCode(code int) bool

IsCode returns true when this list gateways unauthorized response a status code equal to that given

func (*ListGatewaysUnauthorized) IsRedirect

func (o *ListGatewaysUnauthorized) IsRedirect() bool

IsRedirect returns true when this list gateways unauthorized response has a 3xx status code

func (*ListGatewaysUnauthorized) IsServerError

func (o *ListGatewaysUnauthorized) IsServerError() bool

IsServerError returns true when this list gateways unauthorized response has a 5xx status code

func (*ListGatewaysUnauthorized) IsSuccess

func (o *ListGatewaysUnauthorized) IsSuccess() bool

IsSuccess returns true when this list gateways unauthorized response has a 2xx status code

func (*ListGatewaysUnauthorized) String

func (o *ListGatewaysUnauthorized) String() string

type UnbindGroupFromServiceBadRequest

type UnbindGroupFromServiceBadRequest struct {
	Payload *models.Error
}

UnbindGroupFromServiceBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUnbindGroupFromServiceBadRequest

func NewUnbindGroupFromServiceBadRequest() *UnbindGroupFromServiceBadRequest

NewUnbindGroupFromServiceBadRequest creates a UnbindGroupFromServiceBadRequest with default headers values

func (*UnbindGroupFromServiceBadRequest) Code

Code gets the status code for the unbind group from service bad request response

func (*UnbindGroupFromServiceBadRequest) Error

func (*UnbindGroupFromServiceBadRequest) GetPayload

func (*UnbindGroupFromServiceBadRequest) IsClientError

func (o *UnbindGroupFromServiceBadRequest) IsClientError() bool

IsClientError returns true when this unbind group from service bad request response has a 4xx status code

func (*UnbindGroupFromServiceBadRequest) IsCode

func (o *UnbindGroupFromServiceBadRequest) IsCode(code int) bool

IsCode returns true when this unbind group from service bad request response a status code equal to that given

func (*UnbindGroupFromServiceBadRequest) IsRedirect

func (o *UnbindGroupFromServiceBadRequest) IsRedirect() bool

IsRedirect returns true when this unbind group from service bad request response has a 3xx status code

func (*UnbindGroupFromServiceBadRequest) IsServerError

func (o *UnbindGroupFromServiceBadRequest) IsServerError() bool

IsServerError returns true when this unbind group from service bad request response has a 5xx status code

func (*UnbindGroupFromServiceBadRequest) IsSuccess

func (o *UnbindGroupFromServiceBadRequest) IsSuccess() bool

IsSuccess returns true when this unbind group from service bad request response has a 2xx status code

func (*UnbindGroupFromServiceBadRequest) String

type UnbindGroupFromServiceForbidden

type UnbindGroupFromServiceForbidden struct {
	Payload *models.Error
}

UnbindGroupFromServiceForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUnbindGroupFromServiceForbidden

func NewUnbindGroupFromServiceForbidden() *UnbindGroupFromServiceForbidden

NewUnbindGroupFromServiceForbidden creates a UnbindGroupFromServiceForbidden with default headers values

func (*UnbindGroupFromServiceForbidden) Code

Code gets the status code for the unbind group from service forbidden response

func (*UnbindGroupFromServiceForbidden) Error

func (*UnbindGroupFromServiceForbidden) GetPayload

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

func (*UnbindGroupFromServiceForbidden) IsClientError

func (o *UnbindGroupFromServiceForbidden) IsClientError() bool

IsClientError returns true when this unbind group from service forbidden response has a 4xx status code

func (*UnbindGroupFromServiceForbidden) IsCode

func (o *UnbindGroupFromServiceForbidden) IsCode(code int) bool

IsCode returns true when this unbind group from service forbidden response a status code equal to that given

func (*UnbindGroupFromServiceForbidden) IsRedirect

func (o *UnbindGroupFromServiceForbidden) IsRedirect() bool

IsRedirect returns true when this unbind group from service forbidden response has a 3xx status code

func (*UnbindGroupFromServiceForbidden) IsServerError

func (o *UnbindGroupFromServiceForbidden) IsServerError() bool

IsServerError returns true when this unbind group from service forbidden response has a 5xx status code

func (*UnbindGroupFromServiceForbidden) IsSuccess

func (o *UnbindGroupFromServiceForbidden) IsSuccess() bool

IsSuccess returns true when this unbind group from service forbidden response has a 2xx status code

func (*UnbindGroupFromServiceForbidden) String

type UnbindGroupFromServiceNotFound

type UnbindGroupFromServiceNotFound struct {
	Payload *models.Error
}

UnbindGroupFromServiceNotFound describes a response with status code 404, with default header values.

Not found

func NewUnbindGroupFromServiceNotFound

func NewUnbindGroupFromServiceNotFound() *UnbindGroupFromServiceNotFound

NewUnbindGroupFromServiceNotFound creates a UnbindGroupFromServiceNotFound with default headers values

func (*UnbindGroupFromServiceNotFound) Code

Code gets the status code for the unbind group from service not found response

func (*UnbindGroupFromServiceNotFound) Error

func (*UnbindGroupFromServiceNotFound) GetPayload

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

func (*UnbindGroupFromServiceNotFound) IsClientError

func (o *UnbindGroupFromServiceNotFound) IsClientError() bool

IsClientError returns true when this unbind group from service not found response has a 4xx status code

func (*UnbindGroupFromServiceNotFound) IsCode

func (o *UnbindGroupFromServiceNotFound) IsCode(code int) bool

IsCode returns true when this unbind group from service not found response a status code equal to that given

func (*UnbindGroupFromServiceNotFound) IsRedirect

func (o *UnbindGroupFromServiceNotFound) IsRedirect() bool

IsRedirect returns true when this unbind group from service not found response has a 3xx status code

func (*UnbindGroupFromServiceNotFound) IsServerError

func (o *UnbindGroupFromServiceNotFound) IsServerError() bool

IsServerError returns true when this unbind group from service not found response has a 5xx status code

func (*UnbindGroupFromServiceNotFound) IsSuccess

func (o *UnbindGroupFromServiceNotFound) IsSuccess() bool

IsSuccess returns true when this unbind group from service not found response has a 2xx status code

func (*UnbindGroupFromServiceNotFound) String

type UnbindGroupFromServiceOK

type UnbindGroupFromServiceOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.RemoveServiceConfigurationResult
}

UnbindGroupFromServiceOK describes a response with status code 200, with default header values.

Unbind group from service response

func NewUnbindGroupFromServiceOK

func NewUnbindGroupFromServiceOK() *UnbindGroupFromServiceOK

NewUnbindGroupFromServiceOK creates a UnbindGroupFromServiceOK with default headers values

func (*UnbindGroupFromServiceOK) Code

func (o *UnbindGroupFromServiceOK) Code() int

Code gets the status code for the unbind group from service o k response

func (*UnbindGroupFromServiceOK) Error

func (o *UnbindGroupFromServiceOK) Error() string

func (*UnbindGroupFromServiceOK) GetPayload

func (*UnbindGroupFromServiceOK) IsClientError

func (o *UnbindGroupFromServiceOK) IsClientError() bool

IsClientError returns true when this unbind group from service o k response has a 4xx status code

func (*UnbindGroupFromServiceOK) IsCode

func (o *UnbindGroupFromServiceOK) IsCode(code int) bool

IsCode returns true when this unbind group from service o k response a status code equal to that given

func (*UnbindGroupFromServiceOK) IsRedirect

func (o *UnbindGroupFromServiceOK) IsRedirect() bool

IsRedirect returns true when this unbind group from service o k response has a 3xx status code

func (*UnbindGroupFromServiceOK) IsServerError

func (o *UnbindGroupFromServiceOK) IsServerError() bool

IsServerError returns true when this unbind group from service o k response has a 5xx status code

func (*UnbindGroupFromServiceOK) IsSuccess

func (o *UnbindGroupFromServiceOK) IsSuccess() bool

IsSuccess returns true when this unbind group from service o k response has a 2xx status code

func (*UnbindGroupFromServiceOK) String

func (o *UnbindGroupFromServiceOK) String() string

type UnbindGroupFromServiceParams

type UnbindGroupFromServiceParams struct {

	// APIGroup.
	APIGroup string

	// Gw.
	Gw string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UnbindGroupFromServiceParams contains all the parameters to send to the API endpoint

for the unbind group from service operation.

Typically these are written to a http.Request.

func NewUnbindGroupFromServiceParams

func NewUnbindGroupFromServiceParams() *UnbindGroupFromServiceParams

NewUnbindGroupFromServiceParams creates a new UnbindGroupFromServiceParams 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 NewUnbindGroupFromServiceParamsWithContext

func NewUnbindGroupFromServiceParamsWithContext(ctx context.Context) *UnbindGroupFromServiceParams

NewUnbindGroupFromServiceParamsWithContext creates a new UnbindGroupFromServiceParams object with the ability to set a context for a request.

func NewUnbindGroupFromServiceParamsWithHTTPClient

func NewUnbindGroupFromServiceParamsWithHTTPClient(client *http.Client) *UnbindGroupFromServiceParams

NewUnbindGroupFromServiceParamsWithHTTPClient creates a new UnbindGroupFromServiceParams object with the ability to set a custom HTTPClient for a request.

func NewUnbindGroupFromServiceParamsWithTimeout

func NewUnbindGroupFromServiceParamsWithTimeout(timeout time.Duration) *UnbindGroupFromServiceParams

NewUnbindGroupFromServiceParamsWithTimeout creates a new UnbindGroupFromServiceParams object with the ability to set a timeout on a request.

func (*UnbindGroupFromServiceParams) SetAPIGroup

func (o *UnbindGroupFromServiceParams) SetAPIGroup(aPIGroup string)

SetAPIGroup adds the apiGroup to the unbind group from service params

func (*UnbindGroupFromServiceParams) SetContext

func (o *UnbindGroupFromServiceParams) SetContext(ctx context.Context)

SetContext adds the context to the unbind group from service params

func (*UnbindGroupFromServiceParams) SetDefaults

func (o *UnbindGroupFromServiceParams) SetDefaults()

SetDefaults hydrates default values in the unbind group from service params (not the query body).

All values with no default are reset to their zero value.

func (*UnbindGroupFromServiceParams) SetGw

func (o *UnbindGroupFromServiceParams) SetGw(gw string)

SetGw adds the gw to the unbind group from service params

func (*UnbindGroupFromServiceParams) SetHTTPClient

func (o *UnbindGroupFromServiceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the unbind group from service params

func (*UnbindGroupFromServiceParams) SetIfMatch

func (o *UnbindGroupFromServiceParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the unbind group from service params

func (*UnbindGroupFromServiceParams) SetTimeout

func (o *UnbindGroupFromServiceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the unbind group from service params

func (*UnbindGroupFromServiceParams) WithAPIGroup

WithAPIGroup adds the aPIGroup to the unbind group from service params

func (*UnbindGroupFromServiceParams) WithContext

WithContext adds the context to the unbind group from service params

func (*UnbindGroupFromServiceParams) WithDefaults

WithDefaults hydrates default values in the unbind group from service params (not the query body).

All values with no default are reset to their zero value.

func (*UnbindGroupFromServiceParams) WithGw

WithGw adds the gw to the unbind group from service params

func (*UnbindGroupFromServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the unbind group from service params

func (*UnbindGroupFromServiceParams) WithIfMatch

WithIfMatch adds the ifMatch to the unbind group from service params

func (*UnbindGroupFromServiceParams) WithTimeout

WithTimeout adds the timeout to the unbind group from service params

func (*UnbindGroupFromServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UnbindGroupFromServiceReader

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

UnbindGroupFromServiceReader is a Reader for the UnbindGroupFromService structure.

func (*UnbindGroupFromServiceReader) ReadResponse

func (o *UnbindGroupFromServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UnbindGroupFromServiceTooManyRequests

type UnbindGroupFromServiceTooManyRequests struct {
	Payload *models.Error
}

UnbindGroupFromServiceTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewUnbindGroupFromServiceTooManyRequests

func NewUnbindGroupFromServiceTooManyRequests() *UnbindGroupFromServiceTooManyRequests

NewUnbindGroupFromServiceTooManyRequests creates a UnbindGroupFromServiceTooManyRequests with default headers values

func (*UnbindGroupFromServiceTooManyRequests) Code

Code gets the status code for the unbind group from service too many requests response

func (*UnbindGroupFromServiceTooManyRequests) Error

func (*UnbindGroupFromServiceTooManyRequests) GetPayload

func (*UnbindGroupFromServiceTooManyRequests) IsClientError

func (o *UnbindGroupFromServiceTooManyRequests) IsClientError() bool

IsClientError returns true when this unbind group from service too many requests response has a 4xx status code

func (*UnbindGroupFromServiceTooManyRequests) IsCode

IsCode returns true when this unbind group from service too many requests response a status code equal to that given

func (*UnbindGroupFromServiceTooManyRequests) IsRedirect

IsRedirect returns true when this unbind group from service too many requests response has a 3xx status code

func (*UnbindGroupFromServiceTooManyRequests) IsServerError

func (o *UnbindGroupFromServiceTooManyRequests) IsServerError() bool

IsServerError returns true when this unbind group from service too many requests response has a 5xx status code

func (*UnbindGroupFromServiceTooManyRequests) IsSuccess

IsSuccess returns true when this unbind group from service too many requests response has a 2xx status code

func (*UnbindGroupFromServiceTooManyRequests) String

type UnbindGroupFromServiceUnauthorized

type UnbindGroupFromServiceUnauthorized struct {
	Payload *models.Error
}

UnbindGroupFromServiceUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUnbindGroupFromServiceUnauthorized

func NewUnbindGroupFromServiceUnauthorized() *UnbindGroupFromServiceUnauthorized

NewUnbindGroupFromServiceUnauthorized creates a UnbindGroupFromServiceUnauthorized with default headers values

func (*UnbindGroupFromServiceUnauthorized) Code

Code gets the status code for the unbind group from service unauthorized response

func (*UnbindGroupFromServiceUnauthorized) Error

func (*UnbindGroupFromServiceUnauthorized) GetPayload

func (*UnbindGroupFromServiceUnauthorized) IsClientError

func (o *UnbindGroupFromServiceUnauthorized) IsClientError() bool

IsClientError returns true when this unbind group from service unauthorized response has a 4xx status code

func (*UnbindGroupFromServiceUnauthorized) IsCode

IsCode returns true when this unbind group from service unauthorized response a status code equal to that given

func (*UnbindGroupFromServiceUnauthorized) IsRedirect

func (o *UnbindGroupFromServiceUnauthorized) IsRedirect() bool

IsRedirect returns true when this unbind group from service unauthorized response has a 3xx status code

func (*UnbindGroupFromServiceUnauthorized) IsServerError

func (o *UnbindGroupFromServiceUnauthorized) IsServerError() bool

IsServerError returns true when this unbind group from service unauthorized response has a 5xx status code

func (*UnbindGroupFromServiceUnauthorized) IsSuccess

IsSuccess returns true when this unbind group from service unauthorized response has a 2xx status code

func (*UnbindGroupFromServiceUnauthorized) String

type UnbindGroupFromServiceUnprocessableEntity

type UnbindGroupFromServiceUnprocessableEntity struct {
	Payload *models.Error
}

UnbindGroupFromServiceUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewUnbindGroupFromServiceUnprocessableEntity

func NewUnbindGroupFromServiceUnprocessableEntity() *UnbindGroupFromServiceUnprocessableEntity

NewUnbindGroupFromServiceUnprocessableEntity creates a UnbindGroupFromServiceUnprocessableEntity with default headers values

func (*UnbindGroupFromServiceUnprocessableEntity) Code

Code gets the status code for the unbind group from service unprocessable entity response

func (*UnbindGroupFromServiceUnprocessableEntity) Error

func (*UnbindGroupFromServiceUnprocessableEntity) GetPayload

func (*UnbindGroupFromServiceUnprocessableEntity) IsClientError

IsClientError returns true when this unbind group from service unprocessable entity response has a 4xx status code

func (*UnbindGroupFromServiceUnprocessableEntity) IsCode

IsCode returns true when this unbind group from service unprocessable entity response a status code equal to that given

func (*UnbindGroupFromServiceUnprocessableEntity) IsRedirect

IsRedirect returns true when this unbind group from service unprocessable entity response has a 3xx status code

func (*UnbindGroupFromServiceUnprocessableEntity) IsServerError

IsServerError returns true when this unbind group from service unprocessable entity response has a 5xx status code

func (*UnbindGroupFromServiceUnprocessableEntity) IsSuccess

IsSuccess returns true when this unbind group from service unprocessable entity response has a 2xx status code

func (*UnbindGroupFromServiceUnprocessableEntity) String

type UpdateGatewayBadRequest

type UpdateGatewayBadRequest struct {
	Payload *models.Error
}

UpdateGatewayBadRequest describes a response with status code 400, with default header values.

Bad request

func NewUpdateGatewayBadRequest

func NewUpdateGatewayBadRequest() *UpdateGatewayBadRequest

NewUpdateGatewayBadRequest creates a UpdateGatewayBadRequest with default headers values

func (*UpdateGatewayBadRequest) Code

func (o *UpdateGatewayBadRequest) Code() int

Code gets the status code for the update gateway bad request response

func (*UpdateGatewayBadRequest) Error

func (o *UpdateGatewayBadRequest) Error() string

func (*UpdateGatewayBadRequest) GetPayload

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

func (*UpdateGatewayBadRequest) IsClientError

func (o *UpdateGatewayBadRequest) IsClientError() bool

IsClientError returns true when this update gateway bad request response has a 4xx status code

func (*UpdateGatewayBadRequest) IsCode

func (o *UpdateGatewayBadRequest) IsCode(code int) bool

IsCode returns true when this update gateway bad request response a status code equal to that given

func (*UpdateGatewayBadRequest) IsRedirect

func (o *UpdateGatewayBadRequest) IsRedirect() bool

IsRedirect returns true when this update gateway bad request response has a 3xx status code

func (*UpdateGatewayBadRequest) IsServerError

func (o *UpdateGatewayBadRequest) IsServerError() bool

IsServerError returns true when this update gateway bad request response has a 5xx status code

func (*UpdateGatewayBadRequest) IsSuccess

func (o *UpdateGatewayBadRequest) IsSuccess() bool

IsSuccess returns true when this update gateway bad request response has a 2xx status code

func (*UpdateGatewayBadRequest) String

func (o *UpdateGatewayBadRequest) String() string

type UpdateGatewayForbidden

type UpdateGatewayForbidden struct {
	Payload *models.Error
}

UpdateGatewayForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateGatewayForbidden

func NewUpdateGatewayForbidden() *UpdateGatewayForbidden

NewUpdateGatewayForbidden creates a UpdateGatewayForbidden with default headers values

func (*UpdateGatewayForbidden) Code

func (o *UpdateGatewayForbidden) Code() int

Code gets the status code for the update gateway forbidden response

func (*UpdateGatewayForbidden) Error

func (o *UpdateGatewayForbidden) Error() string

func (*UpdateGatewayForbidden) GetPayload

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

func (*UpdateGatewayForbidden) IsClientError

func (o *UpdateGatewayForbidden) IsClientError() bool

IsClientError returns true when this update gateway forbidden response has a 4xx status code

func (*UpdateGatewayForbidden) IsCode

func (o *UpdateGatewayForbidden) IsCode(code int) bool

IsCode returns true when this update gateway forbidden response a status code equal to that given

func (*UpdateGatewayForbidden) IsRedirect

func (o *UpdateGatewayForbidden) IsRedirect() bool

IsRedirect returns true when this update gateway forbidden response has a 3xx status code

func (*UpdateGatewayForbidden) IsServerError

func (o *UpdateGatewayForbidden) IsServerError() bool

IsServerError returns true when this update gateway forbidden response has a 5xx status code

func (*UpdateGatewayForbidden) IsSuccess

func (o *UpdateGatewayForbidden) IsSuccess() bool

IsSuccess returns true when this update gateway forbidden response has a 2xx status code

func (*UpdateGatewayForbidden) String

func (o *UpdateGatewayForbidden) String() string

type UpdateGatewayNotFound

type UpdateGatewayNotFound struct {
	Payload *models.Error
}

UpdateGatewayNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateGatewayNotFound

func NewUpdateGatewayNotFound() *UpdateGatewayNotFound

NewUpdateGatewayNotFound creates a UpdateGatewayNotFound with default headers values

func (*UpdateGatewayNotFound) Code

func (o *UpdateGatewayNotFound) Code() int

Code gets the status code for the update gateway not found response

func (*UpdateGatewayNotFound) Error

func (o *UpdateGatewayNotFound) Error() string

func (*UpdateGatewayNotFound) GetPayload

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

func (*UpdateGatewayNotFound) IsClientError

func (o *UpdateGatewayNotFound) IsClientError() bool

IsClientError returns true when this update gateway not found response has a 4xx status code

func (*UpdateGatewayNotFound) IsCode

func (o *UpdateGatewayNotFound) IsCode(code int) bool

IsCode returns true when this update gateway not found response a status code equal to that given

func (*UpdateGatewayNotFound) IsRedirect

func (o *UpdateGatewayNotFound) IsRedirect() bool

IsRedirect returns true when this update gateway not found response has a 3xx status code

func (*UpdateGatewayNotFound) IsServerError

func (o *UpdateGatewayNotFound) IsServerError() bool

IsServerError returns true when this update gateway not found response has a 5xx status code

func (*UpdateGatewayNotFound) IsSuccess

func (o *UpdateGatewayNotFound) IsSuccess() bool

IsSuccess returns true when this update gateway not found response has a 2xx status code

func (*UpdateGatewayNotFound) String

func (o *UpdateGatewayNotFound) String() string

type UpdateGatewayOK

type UpdateGatewayOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload *models.Gateway
}

UpdateGatewayOK describes a response with status code 200, with default header values.

Gateway

func NewUpdateGatewayOK

func NewUpdateGatewayOK() *UpdateGatewayOK

NewUpdateGatewayOK creates a UpdateGatewayOK with default headers values

func (*UpdateGatewayOK) Code

func (o *UpdateGatewayOK) Code() int

Code gets the status code for the update gateway o k response

func (*UpdateGatewayOK) Error

func (o *UpdateGatewayOK) Error() string

func (*UpdateGatewayOK) GetPayload

func (o *UpdateGatewayOK) GetPayload() *models.Gateway

func (*UpdateGatewayOK) IsClientError

func (o *UpdateGatewayOK) IsClientError() bool

IsClientError returns true when this update gateway o k response has a 4xx status code

func (*UpdateGatewayOK) IsCode

func (o *UpdateGatewayOK) IsCode(code int) bool

IsCode returns true when this update gateway o k response a status code equal to that given

func (*UpdateGatewayOK) IsRedirect

func (o *UpdateGatewayOK) IsRedirect() bool

IsRedirect returns true when this update gateway o k response has a 3xx status code

func (*UpdateGatewayOK) IsServerError

func (o *UpdateGatewayOK) IsServerError() bool

IsServerError returns true when this update gateway o k response has a 5xx status code

func (*UpdateGatewayOK) IsSuccess

func (o *UpdateGatewayOK) IsSuccess() bool

IsSuccess returns true when this update gateway o k response has a 2xx status code

func (*UpdateGatewayOK) String

func (o *UpdateGatewayOK) String() string

type UpdateGatewayParams

type UpdateGatewayParams struct {

	// UpdateGatewayBody.
	UpdateGatewayBody *models.UpdateGatewayRequest

	// Gw.
	Gw string

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateGatewayParams contains all the parameters to send to the API endpoint

for the update gateway operation.

Typically these are written to a http.Request.

func NewUpdateGatewayParams

func NewUpdateGatewayParams() *UpdateGatewayParams

NewUpdateGatewayParams creates a new UpdateGatewayParams 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 NewUpdateGatewayParamsWithContext

func NewUpdateGatewayParamsWithContext(ctx context.Context) *UpdateGatewayParams

NewUpdateGatewayParamsWithContext creates a new UpdateGatewayParams object with the ability to set a context for a request.

func NewUpdateGatewayParamsWithHTTPClient

func NewUpdateGatewayParamsWithHTTPClient(client *http.Client) *UpdateGatewayParams

NewUpdateGatewayParamsWithHTTPClient creates a new UpdateGatewayParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateGatewayParamsWithTimeout

func NewUpdateGatewayParamsWithTimeout(timeout time.Duration) *UpdateGatewayParams

NewUpdateGatewayParamsWithTimeout creates a new UpdateGatewayParams object with the ability to set a timeout on a request.

func (*UpdateGatewayParams) SetContext

func (o *UpdateGatewayParams) SetContext(ctx context.Context)

SetContext adds the context to the update gateway params

func (*UpdateGatewayParams) SetDefaults

func (o *UpdateGatewayParams) SetDefaults()

SetDefaults hydrates default values in the update gateway params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateGatewayParams) SetGw

func (o *UpdateGatewayParams) SetGw(gw string)

SetGw adds the gw to the update gateway params

func (*UpdateGatewayParams) SetHTTPClient

func (o *UpdateGatewayParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update gateway params

func (*UpdateGatewayParams) SetIfMatch

func (o *UpdateGatewayParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the update gateway params

func (*UpdateGatewayParams) SetTimeout

func (o *UpdateGatewayParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update gateway params

func (*UpdateGatewayParams) SetUpdateGatewayBody

func (o *UpdateGatewayParams) SetUpdateGatewayBody(updateGatewayBody *models.UpdateGatewayRequest)

SetUpdateGatewayBody adds the updateGatewayBody to the update gateway params

func (*UpdateGatewayParams) WithContext

WithContext adds the context to the update gateway params

func (*UpdateGatewayParams) WithDefaults

func (o *UpdateGatewayParams) WithDefaults() *UpdateGatewayParams

WithDefaults hydrates default values in the update gateway params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateGatewayParams) WithGw

WithGw adds the gw to the update gateway params

func (*UpdateGatewayParams) WithHTTPClient

func (o *UpdateGatewayParams) WithHTTPClient(client *http.Client) *UpdateGatewayParams

WithHTTPClient adds the HTTPClient to the update gateway params

func (*UpdateGatewayParams) WithIfMatch

func (o *UpdateGatewayParams) WithIfMatch(ifMatch *string) *UpdateGatewayParams

WithIfMatch adds the ifMatch to the update gateway params

func (*UpdateGatewayParams) WithTimeout

func (o *UpdateGatewayParams) WithTimeout(timeout time.Duration) *UpdateGatewayParams

WithTimeout adds the timeout to the update gateway params

func (*UpdateGatewayParams) WithUpdateGatewayBody

func (o *UpdateGatewayParams) WithUpdateGatewayBody(updateGatewayBody *models.UpdateGatewayRequest) *UpdateGatewayParams

WithUpdateGatewayBody adds the updateGatewayBody to the update gateway params

func (*UpdateGatewayParams) WriteToRequest

func (o *UpdateGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateGatewayReader

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

UpdateGatewayReader is a Reader for the UpdateGateway structure.

func (*UpdateGatewayReader) ReadResponse

func (o *UpdateGatewayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateGatewayTooManyRequests

type UpdateGatewayTooManyRequests struct {
	Payload *models.Error
}

UpdateGatewayTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewUpdateGatewayTooManyRequests

func NewUpdateGatewayTooManyRequests() *UpdateGatewayTooManyRequests

NewUpdateGatewayTooManyRequests creates a UpdateGatewayTooManyRequests with default headers values

func (*UpdateGatewayTooManyRequests) Code

Code gets the status code for the update gateway too many requests response

func (*UpdateGatewayTooManyRequests) Error

func (*UpdateGatewayTooManyRequests) GetPayload

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

func (*UpdateGatewayTooManyRequests) IsClientError

func (o *UpdateGatewayTooManyRequests) IsClientError() bool

IsClientError returns true when this update gateway too many requests response has a 4xx status code

func (*UpdateGatewayTooManyRequests) IsCode

func (o *UpdateGatewayTooManyRequests) IsCode(code int) bool

IsCode returns true when this update gateway too many requests response a status code equal to that given

func (*UpdateGatewayTooManyRequests) IsRedirect

func (o *UpdateGatewayTooManyRequests) IsRedirect() bool

IsRedirect returns true when this update gateway too many requests response has a 3xx status code

func (*UpdateGatewayTooManyRequests) IsServerError

func (o *UpdateGatewayTooManyRequests) IsServerError() bool

IsServerError returns true when this update gateway too many requests response has a 5xx status code

func (*UpdateGatewayTooManyRequests) IsSuccess

func (o *UpdateGatewayTooManyRequests) IsSuccess() bool

IsSuccess returns true when this update gateway too many requests response has a 2xx status code

func (*UpdateGatewayTooManyRequests) String

type UpdateGatewayUnauthorized

type UpdateGatewayUnauthorized struct {
	Payload *models.Error
}

UpdateGatewayUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewUpdateGatewayUnauthorized

func NewUpdateGatewayUnauthorized() *UpdateGatewayUnauthorized

NewUpdateGatewayUnauthorized creates a UpdateGatewayUnauthorized with default headers values

func (*UpdateGatewayUnauthorized) Code

func (o *UpdateGatewayUnauthorized) Code() int

Code gets the status code for the update gateway unauthorized response

func (*UpdateGatewayUnauthorized) Error

func (o *UpdateGatewayUnauthorized) Error() string

func (*UpdateGatewayUnauthorized) GetPayload

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

func (*UpdateGatewayUnauthorized) IsClientError

func (o *UpdateGatewayUnauthorized) IsClientError() bool

IsClientError returns true when this update gateway unauthorized response has a 4xx status code

func (*UpdateGatewayUnauthorized) IsCode

func (o *UpdateGatewayUnauthorized) IsCode(code int) bool

IsCode returns true when this update gateway unauthorized response a status code equal to that given

func (*UpdateGatewayUnauthorized) IsRedirect

func (o *UpdateGatewayUnauthorized) IsRedirect() bool

IsRedirect returns true when this update gateway unauthorized response has a 3xx status code

func (*UpdateGatewayUnauthorized) IsServerError

func (o *UpdateGatewayUnauthorized) IsServerError() bool

IsServerError returns true when this update gateway unauthorized response has a 5xx status code

func (*UpdateGatewayUnauthorized) IsSuccess

func (o *UpdateGatewayUnauthorized) IsSuccess() bool

IsSuccess returns true when this update gateway unauthorized response has a 2xx status code

func (*UpdateGatewayUnauthorized) String

func (o *UpdateGatewayUnauthorized) String() string

type UpdateGatewayUnprocessableEntity

type UpdateGatewayUnprocessableEntity struct {
	Payload *models.Error
}

UpdateGatewayUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewUpdateGatewayUnprocessableEntity

func NewUpdateGatewayUnprocessableEntity() *UpdateGatewayUnprocessableEntity

NewUpdateGatewayUnprocessableEntity creates a UpdateGatewayUnprocessableEntity with default headers values

func (*UpdateGatewayUnprocessableEntity) Code

Code gets the status code for the update gateway unprocessable entity response

func (*UpdateGatewayUnprocessableEntity) Error

func (*UpdateGatewayUnprocessableEntity) GetPayload

func (*UpdateGatewayUnprocessableEntity) IsClientError

func (o *UpdateGatewayUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update gateway unprocessable entity response has a 4xx status code

func (*UpdateGatewayUnprocessableEntity) IsCode

func (o *UpdateGatewayUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this update gateway unprocessable entity response a status code equal to that given

func (*UpdateGatewayUnprocessableEntity) IsRedirect

func (o *UpdateGatewayUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update gateway unprocessable entity response has a 3xx status code

func (*UpdateGatewayUnprocessableEntity) IsServerError

func (o *UpdateGatewayUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update gateway unprocessable entity response has a 5xx status code

func (*UpdateGatewayUnprocessableEntity) IsSuccess

func (o *UpdateGatewayUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this update gateway unprocessable entity response has a 2xx status code

func (*UpdateGatewayUnprocessableEntity) String

Jump to

Keyboard shortcuts

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