provisioning

package
v0.0.0-...-989cebf Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAcceptApplicationJSON

func WithAcceptApplicationJSON(r *runtime.ClientOperation)

WithAcceptApplicationJSON sets the Accept header to "application/json".

func WithAcceptTextPlain

func WithAcceptTextPlain(r *runtime.ClientOperation)

WithAcceptTextPlain sets the Accept header to "text/plain".

Types

type Client

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

Client for provisioning API

func (*Client) Get5BridgeLocation

func (a *Client) Get5BridgeLocation(params *Get5BridgeLocationParams, opts ...ClientOption) (*Get5BridgeLocationOK, error)

Get5BridgeLocation gets bridges

fetch bridges by location

func (*Client) Get5Bridges

func (a *Client) Get5Bridges(params *Get5BridgesParams, opts ...ClientOption) (*Get5BridgesOK, error)

Get5Bridges gets all bridges

Fetch all bridges. This is an optional API endpoint for compatibility with vpnweb, but do not count on all the providers to have it enabled since it makes it easier to enumerate resources. On the other hand, if the service has "open" VPN endpoints, they can enumerate them here freely. Bridges, however, should be more restricted as a general rule.

func (*Client) Get5GatewayLocation

func (a *Client) Get5GatewayLocation(params *Get5GatewayLocationParams, opts ...ClientOption) (*Get5GatewayLocationOK, error)

Get5GatewayLocation gets gateways by location

fetch random gateways for a given location

func (*Client) Get5Gateways

func (a *Client) Get5Gateways(params *Get5GatewaysParams, opts ...ClientOption) (*Get5GatewaysOK, error)

Get5Gateways gets all gateways

Fetch all gateways. This is an optional API endpoint for compatibility with vpnweb, but do not count on all the providers to have it enabled since it makes it easier to enumerate resources. On the other hand, if the service has "open" VPN endpoints, they can enumerate them here freely. Bridges, however, should be more restricted as a general rule.

func (*Client) Get5OpenvpnCert

func (a *Client) Get5OpenvpnCert(params *Get5OpenvpnCertParams, opts ...ClientOption) (*Get5OpenvpnCertOK, error)

Get5OpenvpnCert gets openvpn cert

Fetch a new key and cert.

func (*Client) Get5OpenvpnConfig

func (a *Client) Get5OpenvpnConfig(params *Get5OpenvpnConfigParams, opts ...ClientOption) (*Get5OpenvpnConfigOK, error)

Get5OpenvpnConfig fetches open v p n config file

fetch a working config file for OpenVPN service.

func (*Client) Get5Service

func (a *Client) Get5Service(params *Get5ServiceParams, opts ...ClientOption) (*Get5ServiceOK, error)

Get5Service gets service info

fetch service information, including location and common tunnel config

func (*Client) GetAutoconf

func (a *Client) GetAutoconf(params *GetAutoconfParams, opts ...ClientOption) (*GetAutoconfOK, error)

GetAutoconf fetches open v p n config file

fetch a working config file for OpenVPN service.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

func WithAccept

func WithAccept(mime string) ClientOption

WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.

You may use this option to set arbitrary extensions to your MIME media type.

type ClientService

type ClientService interface {
	Get5BridgeLocation(params *Get5BridgeLocationParams, opts ...ClientOption) (*Get5BridgeLocationOK, error)

	Get5Bridges(params *Get5BridgesParams, opts ...ClientOption) (*Get5BridgesOK, error)

	Get5GatewayLocation(params *Get5GatewayLocationParams, opts ...ClientOption) (*Get5GatewayLocationOK, error)

	Get5Gateways(params *Get5GatewaysParams, opts ...ClientOption) (*Get5GatewaysOK, error)

	Get5OpenvpnCert(params *Get5OpenvpnCertParams, opts ...ClientOption) (*Get5OpenvpnCertOK, error)

	Get5OpenvpnConfig(params *Get5OpenvpnConfigParams, opts ...ClientOption) (*Get5OpenvpnConfigOK, error)

	Get5Service(params *Get5ServiceParams, opts ...ClientOption) (*Get5ServiceOK, error)

	GetAutoconf(params *GetAutoconfParams, opts ...ClientOption) (*GetAutoconfOK, 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 provisioning API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new provisioning API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new provisioning API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type Get5BridgeLocationBadRequest

type Get5BridgeLocationBadRequest struct {
	Payload interface{}
}

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

Bad Request

func NewGet5BridgeLocationBadRequest

func NewGet5BridgeLocationBadRequest() *Get5BridgeLocationBadRequest

NewGet5BridgeLocationBadRequest creates a Get5BridgeLocationBadRequest with default headers values

func (*Get5BridgeLocationBadRequest) Code

Code gets the status code for the get5 bridge location bad request response

func (*Get5BridgeLocationBadRequest) Error

func (*Get5BridgeLocationBadRequest) GetPayload

func (o *Get5BridgeLocationBadRequest) GetPayload() interface{}

func (*Get5BridgeLocationBadRequest) IsClientError

func (o *Get5BridgeLocationBadRequest) IsClientError() bool

IsClientError returns true when this get5 bridge location bad request response has a 4xx status code

func (*Get5BridgeLocationBadRequest) IsCode

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

IsCode returns true when this get5 bridge location bad request response a status code equal to that given

func (*Get5BridgeLocationBadRequest) IsRedirect

func (o *Get5BridgeLocationBadRequest) IsRedirect() bool

IsRedirect returns true when this get5 bridge location bad request response has a 3xx status code

func (*Get5BridgeLocationBadRequest) IsServerError

func (o *Get5BridgeLocationBadRequest) IsServerError() bool

IsServerError returns true when this get5 bridge location bad request response has a 5xx status code

func (*Get5BridgeLocationBadRequest) IsSuccess

func (o *Get5BridgeLocationBadRequest) IsSuccess() bool

IsSuccess returns true when this get5 bridge location bad request response has a 2xx status code

func (*Get5BridgeLocationBadRequest) String

type Get5BridgeLocationInternalServerError

type Get5BridgeLocationInternalServerError struct {
	Payload interface{}
}

Get5BridgeLocationInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGet5BridgeLocationInternalServerError

func NewGet5BridgeLocationInternalServerError() *Get5BridgeLocationInternalServerError

NewGet5BridgeLocationInternalServerError creates a Get5BridgeLocationInternalServerError with default headers values

func (*Get5BridgeLocationInternalServerError) Code

Code gets the status code for the get5 bridge location internal server error response

func (*Get5BridgeLocationInternalServerError) Error

func (*Get5BridgeLocationInternalServerError) GetPayload

func (o *Get5BridgeLocationInternalServerError) GetPayload() interface{}

func (*Get5BridgeLocationInternalServerError) IsClientError

func (o *Get5BridgeLocationInternalServerError) IsClientError() bool

IsClientError returns true when this get5 bridge location internal server error response has a 4xx status code

func (*Get5BridgeLocationInternalServerError) IsCode

IsCode returns true when this get5 bridge location internal server error response a status code equal to that given

func (*Get5BridgeLocationInternalServerError) IsRedirect

IsRedirect returns true when this get5 bridge location internal server error response has a 3xx status code

func (*Get5BridgeLocationInternalServerError) IsServerError

func (o *Get5BridgeLocationInternalServerError) IsServerError() bool

IsServerError returns true when this get5 bridge location internal server error response has a 5xx status code

func (*Get5BridgeLocationInternalServerError) IsSuccess

IsSuccess returns true when this get5 bridge location internal server error response has a 2xx status code

func (*Get5BridgeLocationInternalServerError) String

type Get5BridgeLocationNotFound

type Get5BridgeLocationNotFound struct {
	Payload interface{}
}

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

Not Found

func NewGet5BridgeLocationNotFound

func NewGet5BridgeLocationNotFound() *Get5BridgeLocationNotFound

NewGet5BridgeLocationNotFound creates a Get5BridgeLocationNotFound with default headers values

func (*Get5BridgeLocationNotFound) Code

func (o *Get5BridgeLocationNotFound) Code() int

Code gets the status code for the get5 bridge location not found response

func (*Get5BridgeLocationNotFound) Error

func (*Get5BridgeLocationNotFound) GetPayload

func (o *Get5BridgeLocationNotFound) GetPayload() interface{}

func (*Get5BridgeLocationNotFound) IsClientError

func (o *Get5BridgeLocationNotFound) IsClientError() bool

IsClientError returns true when this get5 bridge location not found response has a 4xx status code

func (*Get5BridgeLocationNotFound) IsCode

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

IsCode returns true when this get5 bridge location not found response a status code equal to that given

func (*Get5BridgeLocationNotFound) IsRedirect

func (o *Get5BridgeLocationNotFound) IsRedirect() bool

IsRedirect returns true when this get5 bridge location not found response has a 3xx status code

func (*Get5BridgeLocationNotFound) IsServerError

func (o *Get5BridgeLocationNotFound) IsServerError() bool

IsServerError returns true when this get5 bridge location not found response has a 5xx status code

func (*Get5BridgeLocationNotFound) IsSuccess

func (o *Get5BridgeLocationNotFound) IsSuccess() bool

IsSuccess returns true when this get5 bridge location not found response has a 2xx status code

func (*Get5BridgeLocationNotFound) String

func (o *Get5BridgeLocationNotFound) String() string

type Get5BridgeLocationOK

type Get5BridgeLocationOK struct {
	Payload []*models.ModelsBridge
}

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

OK

func NewGet5BridgeLocationOK

func NewGet5BridgeLocationOK() *Get5BridgeLocationOK

NewGet5BridgeLocationOK creates a Get5BridgeLocationOK with default headers values

func (*Get5BridgeLocationOK) Code

func (o *Get5BridgeLocationOK) Code() int

Code gets the status code for the get5 bridge location o k response

func (*Get5BridgeLocationOK) Error

func (o *Get5BridgeLocationOK) Error() string

func (*Get5BridgeLocationOK) GetPayload

func (o *Get5BridgeLocationOK) GetPayload() []*models.ModelsBridge

func (*Get5BridgeLocationOK) IsClientError

func (o *Get5BridgeLocationOK) IsClientError() bool

IsClientError returns true when this get5 bridge location o k response has a 4xx status code

func (*Get5BridgeLocationOK) IsCode

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

IsCode returns true when this get5 bridge location o k response a status code equal to that given

func (*Get5BridgeLocationOK) IsRedirect

func (o *Get5BridgeLocationOK) IsRedirect() bool

IsRedirect returns true when this get5 bridge location o k response has a 3xx status code

func (*Get5BridgeLocationOK) IsServerError

func (o *Get5BridgeLocationOK) IsServerError() bool

IsServerError returns true when this get5 bridge location o k response has a 5xx status code

func (*Get5BridgeLocationOK) IsSuccess

func (o *Get5BridgeLocationOK) IsSuccess() bool

IsSuccess returns true when this get5 bridge location o k response has a 2xx status code

func (*Get5BridgeLocationOK) String

func (o *Get5BridgeLocationOK) String() string

type Get5BridgeLocationParams

type Get5BridgeLocationParams struct {

	/* Location.

	   Location ID
	*/
	Location string

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

Get5BridgeLocationParams contains all the parameters to send to the API endpoint

for the get5 bridge location operation.

Typically these are written to a http.Request.

func NewGet5BridgeLocationParams

func NewGet5BridgeLocationParams() *Get5BridgeLocationParams

NewGet5BridgeLocationParams creates a new Get5BridgeLocationParams 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 NewGet5BridgeLocationParamsWithContext

func NewGet5BridgeLocationParamsWithContext(ctx context.Context) *Get5BridgeLocationParams

NewGet5BridgeLocationParamsWithContext creates a new Get5BridgeLocationParams object with the ability to set a context for a request.

func NewGet5BridgeLocationParamsWithHTTPClient

func NewGet5BridgeLocationParamsWithHTTPClient(client *http.Client) *Get5BridgeLocationParams

NewGet5BridgeLocationParamsWithHTTPClient creates a new Get5BridgeLocationParams object with the ability to set a custom HTTPClient for a request.

func NewGet5BridgeLocationParamsWithTimeout

func NewGet5BridgeLocationParamsWithTimeout(timeout time.Duration) *Get5BridgeLocationParams

NewGet5BridgeLocationParamsWithTimeout creates a new Get5BridgeLocationParams object with the ability to set a timeout on a request.

func (*Get5BridgeLocationParams) SetContext

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

SetContext adds the context to the get5 bridge location params

func (*Get5BridgeLocationParams) SetDefaults

func (o *Get5BridgeLocationParams) SetDefaults()

SetDefaults hydrates default values in the get5 bridge location params (not the query body).

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

func (*Get5BridgeLocationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get5 bridge location params

func (*Get5BridgeLocationParams) SetLocation

func (o *Get5BridgeLocationParams) SetLocation(location string)

SetLocation adds the location to the get5 bridge location params

func (*Get5BridgeLocationParams) SetTimeout

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

SetTimeout adds the timeout to the get5 bridge location params

func (*Get5BridgeLocationParams) WithContext

WithContext adds the context to the get5 bridge location params

func (*Get5BridgeLocationParams) WithDefaults

WithDefaults hydrates default values in the get5 bridge location params (not the query body).

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

func (*Get5BridgeLocationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get5 bridge location params

func (*Get5BridgeLocationParams) WithLocation

func (o *Get5BridgeLocationParams) WithLocation(location string) *Get5BridgeLocationParams

WithLocation adds the location to the get5 bridge location params

func (*Get5BridgeLocationParams) WithTimeout

WithTimeout adds the timeout to the get5 bridge location params

func (*Get5BridgeLocationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type Get5BridgeLocationReader

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

Get5BridgeLocationReader is a Reader for the Get5BridgeLocation structure.

func (*Get5BridgeLocationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Get5BridgesBadRequest

type Get5BridgesBadRequest struct {
	Payload interface{}
}

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

Bad Request

func NewGet5BridgesBadRequest

func NewGet5BridgesBadRequest() *Get5BridgesBadRequest

NewGet5BridgesBadRequest creates a Get5BridgesBadRequest with default headers values

func (*Get5BridgesBadRequest) Code

func (o *Get5BridgesBadRequest) Code() int

Code gets the status code for the get5 bridges bad request response

func (*Get5BridgesBadRequest) Error

func (o *Get5BridgesBadRequest) Error() string

func (*Get5BridgesBadRequest) GetPayload

func (o *Get5BridgesBadRequest) GetPayload() interface{}

func (*Get5BridgesBadRequest) IsClientError

func (o *Get5BridgesBadRequest) IsClientError() bool

IsClientError returns true when this get5 bridges bad request response has a 4xx status code

func (*Get5BridgesBadRequest) IsCode

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

IsCode returns true when this get5 bridges bad request response a status code equal to that given

func (*Get5BridgesBadRequest) IsRedirect

func (o *Get5BridgesBadRequest) IsRedirect() bool

IsRedirect returns true when this get5 bridges bad request response has a 3xx status code

func (*Get5BridgesBadRequest) IsServerError

func (o *Get5BridgesBadRequest) IsServerError() bool

IsServerError returns true when this get5 bridges bad request response has a 5xx status code

func (*Get5BridgesBadRequest) IsSuccess

func (o *Get5BridgesBadRequest) IsSuccess() bool

IsSuccess returns true when this get5 bridges bad request response has a 2xx status code

func (*Get5BridgesBadRequest) String

func (o *Get5BridgesBadRequest) String() string

type Get5BridgesInternalServerError

type Get5BridgesInternalServerError struct {
	Payload interface{}
}

Get5BridgesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGet5BridgesInternalServerError

func NewGet5BridgesInternalServerError() *Get5BridgesInternalServerError

NewGet5BridgesInternalServerError creates a Get5BridgesInternalServerError with default headers values

func (*Get5BridgesInternalServerError) Code

Code gets the status code for the get5 bridges internal server error response

func (*Get5BridgesInternalServerError) Error

func (*Get5BridgesInternalServerError) GetPayload

func (o *Get5BridgesInternalServerError) GetPayload() interface{}

func (*Get5BridgesInternalServerError) IsClientError

func (o *Get5BridgesInternalServerError) IsClientError() bool

IsClientError returns true when this get5 bridges internal server error response has a 4xx status code

func (*Get5BridgesInternalServerError) IsCode

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

IsCode returns true when this get5 bridges internal server error response a status code equal to that given

func (*Get5BridgesInternalServerError) IsRedirect

func (o *Get5BridgesInternalServerError) IsRedirect() bool

IsRedirect returns true when this get5 bridges internal server error response has a 3xx status code

func (*Get5BridgesInternalServerError) IsServerError

func (o *Get5BridgesInternalServerError) IsServerError() bool

IsServerError returns true when this get5 bridges internal server error response has a 5xx status code

func (*Get5BridgesInternalServerError) IsSuccess

func (o *Get5BridgesInternalServerError) IsSuccess() bool

IsSuccess returns true when this get5 bridges internal server error response has a 2xx status code

func (*Get5BridgesInternalServerError) String

type Get5BridgesNotFound

type Get5BridgesNotFound struct {
	Payload interface{}
}

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

Not Found

func NewGet5BridgesNotFound

func NewGet5BridgesNotFound() *Get5BridgesNotFound

NewGet5BridgesNotFound creates a Get5BridgesNotFound with default headers values

func (*Get5BridgesNotFound) Code

func (o *Get5BridgesNotFound) Code() int

Code gets the status code for the get5 bridges not found response

func (*Get5BridgesNotFound) Error

func (o *Get5BridgesNotFound) Error() string

func (*Get5BridgesNotFound) GetPayload

func (o *Get5BridgesNotFound) GetPayload() interface{}

func (*Get5BridgesNotFound) IsClientError

func (o *Get5BridgesNotFound) IsClientError() bool

IsClientError returns true when this get5 bridges not found response has a 4xx status code

func (*Get5BridgesNotFound) IsCode

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

IsCode returns true when this get5 bridges not found response a status code equal to that given

func (*Get5BridgesNotFound) IsRedirect

func (o *Get5BridgesNotFound) IsRedirect() bool

IsRedirect returns true when this get5 bridges not found response has a 3xx status code

func (*Get5BridgesNotFound) IsServerError

func (o *Get5BridgesNotFound) IsServerError() bool

IsServerError returns true when this get5 bridges not found response has a 5xx status code

func (*Get5BridgesNotFound) IsSuccess

func (o *Get5BridgesNotFound) IsSuccess() bool

IsSuccess returns true when this get5 bridges not found response has a 2xx status code

func (*Get5BridgesNotFound) String

func (o *Get5BridgesNotFound) String() string

type Get5BridgesOK

type Get5BridgesOK struct {
	Payload []*models.ModelsBridge
}

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

OK

func NewGet5BridgesOK

func NewGet5BridgesOK() *Get5BridgesOK

NewGet5BridgesOK creates a Get5BridgesOK with default headers values

func (*Get5BridgesOK) Code

func (o *Get5BridgesOK) Code() int

Code gets the status code for the get5 bridges o k response

func (*Get5BridgesOK) Error

func (o *Get5BridgesOK) Error() string

func (*Get5BridgesOK) GetPayload

func (o *Get5BridgesOK) GetPayload() []*models.ModelsBridge

func (*Get5BridgesOK) IsClientError

func (o *Get5BridgesOK) IsClientError() bool

IsClientError returns true when this get5 bridges o k response has a 4xx status code

func (*Get5BridgesOK) IsCode

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

IsCode returns true when this get5 bridges o k response a status code equal to that given

func (*Get5BridgesOK) IsRedirect

func (o *Get5BridgesOK) IsRedirect() bool

IsRedirect returns true when this get5 bridges o k response has a 3xx status code

func (*Get5BridgesOK) IsServerError

func (o *Get5BridgesOK) IsServerError() bool

IsServerError returns true when this get5 bridges o k response has a 5xx status code

func (*Get5BridgesOK) IsSuccess

func (o *Get5BridgesOK) IsSuccess() bool

IsSuccess returns true when this get5 bridges o k response has a 2xx status code

func (*Get5BridgesOK) String

func (o *Get5BridgesOK) String() string

type Get5BridgesParams

type Get5BridgesParams struct {

	/* Loc.

	   location
	*/
	Loc *string

	/* Port.

	   port
	*/
	Port *string

	/* Tr.

	   transport (tcp|udp)
	*/
	Tr *string

	/* Type.

	   type
	*/
	Type *string

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

Get5BridgesParams contains all the parameters to send to the API endpoint

for the get5 bridges operation.

Typically these are written to a http.Request.

func NewGet5BridgesParams

func NewGet5BridgesParams() *Get5BridgesParams

NewGet5BridgesParams creates a new Get5BridgesParams 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 NewGet5BridgesParamsWithContext

func NewGet5BridgesParamsWithContext(ctx context.Context) *Get5BridgesParams

NewGet5BridgesParamsWithContext creates a new Get5BridgesParams object with the ability to set a context for a request.

func NewGet5BridgesParamsWithHTTPClient

func NewGet5BridgesParamsWithHTTPClient(client *http.Client) *Get5BridgesParams

NewGet5BridgesParamsWithHTTPClient creates a new Get5BridgesParams object with the ability to set a custom HTTPClient for a request.

func NewGet5BridgesParamsWithTimeout

func NewGet5BridgesParamsWithTimeout(timeout time.Duration) *Get5BridgesParams

NewGet5BridgesParamsWithTimeout creates a new Get5BridgesParams object with the ability to set a timeout on a request.

func (*Get5BridgesParams) SetContext

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

SetContext adds the context to the get5 bridges params

func (*Get5BridgesParams) SetDefaults

func (o *Get5BridgesParams) SetDefaults()

SetDefaults hydrates default values in the get5 bridges params (not the query body).

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

func (*Get5BridgesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get5 bridges params

func (*Get5BridgesParams) SetLoc

func (o *Get5BridgesParams) SetLoc(loc *string)

SetLoc adds the loc to the get5 bridges params

func (*Get5BridgesParams) SetPort

func (o *Get5BridgesParams) SetPort(port *string)

SetPort adds the port to the get5 bridges params

func (*Get5BridgesParams) SetTimeout

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

SetTimeout adds the timeout to the get5 bridges params

func (*Get5BridgesParams) SetTr

func (o *Get5BridgesParams) SetTr(tr *string)

SetTr adds the tr to the get5 bridges params

func (*Get5BridgesParams) SetType

func (o *Get5BridgesParams) SetType(typeVar *string)

SetType adds the type to the get5 bridges params

func (*Get5BridgesParams) WithContext

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

WithContext adds the context to the get5 bridges params

func (*Get5BridgesParams) WithDefaults

func (o *Get5BridgesParams) WithDefaults() *Get5BridgesParams

WithDefaults hydrates default values in the get5 bridges params (not the query body).

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

func (*Get5BridgesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get5 bridges params

func (*Get5BridgesParams) WithLoc

func (o *Get5BridgesParams) WithLoc(loc *string) *Get5BridgesParams

WithLoc adds the loc to the get5 bridges params

func (*Get5BridgesParams) WithPort

func (o *Get5BridgesParams) WithPort(port *string) *Get5BridgesParams

WithPort adds the port to the get5 bridges params

func (*Get5BridgesParams) WithTimeout

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

WithTimeout adds the timeout to the get5 bridges params

func (*Get5BridgesParams) WithTr

func (o *Get5BridgesParams) WithTr(tr *string) *Get5BridgesParams

WithTr adds the tr to the get5 bridges params

func (*Get5BridgesParams) WithType

func (o *Get5BridgesParams) WithType(typeVar *string) *Get5BridgesParams

WithType adds the typeVar to the get5 bridges params

func (*Get5BridgesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Get5BridgesReader

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

Get5BridgesReader is a Reader for the Get5Bridges structure.

func (*Get5BridgesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Get5GatewayLocationBadRequest

type Get5GatewayLocationBadRequest struct {
	Payload interface{}
}

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

Bad Request

func NewGet5GatewayLocationBadRequest

func NewGet5GatewayLocationBadRequest() *Get5GatewayLocationBadRequest

NewGet5GatewayLocationBadRequest creates a Get5GatewayLocationBadRequest with default headers values

func (*Get5GatewayLocationBadRequest) Code

Code gets the status code for the get5 gateway location bad request response

func (*Get5GatewayLocationBadRequest) Error

func (*Get5GatewayLocationBadRequest) GetPayload

func (o *Get5GatewayLocationBadRequest) GetPayload() interface{}

func (*Get5GatewayLocationBadRequest) IsClientError

func (o *Get5GatewayLocationBadRequest) IsClientError() bool

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

func (*Get5GatewayLocationBadRequest) IsCode

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

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

func (*Get5GatewayLocationBadRequest) IsRedirect

func (o *Get5GatewayLocationBadRequest) IsRedirect() bool

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

func (*Get5GatewayLocationBadRequest) IsServerError

func (o *Get5GatewayLocationBadRequest) IsServerError() bool

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

func (*Get5GatewayLocationBadRequest) IsSuccess

func (o *Get5GatewayLocationBadRequest) IsSuccess() bool

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

func (*Get5GatewayLocationBadRequest) String

type Get5GatewayLocationInternalServerError

type Get5GatewayLocationInternalServerError struct {
	Payload interface{}
}

Get5GatewayLocationInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGet5GatewayLocationInternalServerError

func NewGet5GatewayLocationInternalServerError() *Get5GatewayLocationInternalServerError

NewGet5GatewayLocationInternalServerError creates a Get5GatewayLocationInternalServerError with default headers values

func (*Get5GatewayLocationInternalServerError) Code

Code gets the status code for the get5 gateway location internal server error response

func (*Get5GatewayLocationInternalServerError) Error

func (*Get5GatewayLocationInternalServerError) GetPayload

func (o *Get5GatewayLocationInternalServerError) GetPayload() interface{}

func (*Get5GatewayLocationInternalServerError) IsClientError

func (o *Get5GatewayLocationInternalServerError) IsClientError() bool

IsClientError returns true when this get5 gateway location internal server error response has a 4xx status code

func (*Get5GatewayLocationInternalServerError) IsCode

IsCode returns true when this get5 gateway location internal server error response a status code equal to that given

func (*Get5GatewayLocationInternalServerError) IsRedirect

IsRedirect returns true when this get5 gateway location internal server error response has a 3xx status code

func (*Get5GatewayLocationInternalServerError) IsServerError

func (o *Get5GatewayLocationInternalServerError) IsServerError() bool

IsServerError returns true when this get5 gateway location internal server error response has a 5xx status code

func (*Get5GatewayLocationInternalServerError) IsSuccess

IsSuccess returns true when this get5 gateway location internal server error response has a 2xx status code

func (*Get5GatewayLocationInternalServerError) String

type Get5GatewayLocationNotFound

type Get5GatewayLocationNotFound struct {
	Payload interface{}
}

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

Not Found

func NewGet5GatewayLocationNotFound

func NewGet5GatewayLocationNotFound() *Get5GatewayLocationNotFound

NewGet5GatewayLocationNotFound creates a Get5GatewayLocationNotFound with default headers values

func (*Get5GatewayLocationNotFound) Code

func (o *Get5GatewayLocationNotFound) Code() int

Code gets the status code for the get5 gateway location not found response

func (*Get5GatewayLocationNotFound) Error

func (*Get5GatewayLocationNotFound) GetPayload

func (o *Get5GatewayLocationNotFound) GetPayload() interface{}

func (*Get5GatewayLocationNotFound) IsClientError

func (o *Get5GatewayLocationNotFound) IsClientError() bool

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

func (*Get5GatewayLocationNotFound) IsCode

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

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

func (*Get5GatewayLocationNotFound) IsRedirect

func (o *Get5GatewayLocationNotFound) IsRedirect() bool

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

func (*Get5GatewayLocationNotFound) IsServerError

func (o *Get5GatewayLocationNotFound) IsServerError() bool

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

func (*Get5GatewayLocationNotFound) IsSuccess

func (o *Get5GatewayLocationNotFound) IsSuccess() bool

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

func (*Get5GatewayLocationNotFound) String

func (o *Get5GatewayLocationNotFound) String() string

type Get5GatewayLocationOK

type Get5GatewayLocationOK struct {
	Payload []*models.ModelsGateway
}

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

OK

func NewGet5GatewayLocationOK

func NewGet5GatewayLocationOK() *Get5GatewayLocationOK

NewGet5GatewayLocationOK creates a Get5GatewayLocationOK with default headers values

func (*Get5GatewayLocationOK) Code

func (o *Get5GatewayLocationOK) Code() int

Code gets the status code for the get5 gateway location o k response

func (*Get5GatewayLocationOK) Error

func (o *Get5GatewayLocationOK) Error() string

func (*Get5GatewayLocationOK) GetPayload

func (o *Get5GatewayLocationOK) GetPayload() []*models.ModelsGateway

func (*Get5GatewayLocationOK) IsClientError

func (o *Get5GatewayLocationOK) IsClientError() bool

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

func (*Get5GatewayLocationOK) IsCode

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

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

func (*Get5GatewayLocationOK) IsRedirect

func (o *Get5GatewayLocationOK) IsRedirect() bool

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

func (*Get5GatewayLocationOK) IsServerError

func (o *Get5GatewayLocationOK) IsServerError() bool

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

func (*Get5GatewayLocationOK) IsSuccess

func (o *Get5GatewayLocationOK) IsSuccess() bool

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

func (*Get5GatewayLocationOK) String

func (o *Get5GatewayLocationOK) String() string

type Get5GatewayLocationParams

type Get5GatewayLocationParams struct {

	/* Location.

	   Location ID
	*/
	Location string

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

Get5GatewayLocationParams contains all the parameters to send to the API endpoint

for the get5 gateway location operation.

Typically these are written to a http.Request.

func NewGet5GatewayLocationParams

func NewGet5GatewayLocationParams() *Get5GatewayLocationParams

NewGet5GatewayLocationParams creates a new Get5GatewayLocationParams 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 NewGet5GatewayLocationParamsWithContext

func NewGet5GatewayLocationParamsWithContext(ctx context.Context) *Get5GatewayLocationParams

NewGet5GatewayLocationParamsWithContext creates a new Get5GatewayLocationParams object with the ability to set a context for a request.

func NewGet5GatewayLocationParamsWithHTTPClient

func NewGet5GatewayLocationParamsWithHTTPClient(client *http.Client) *Get5GatewayLocationParams

NewGet5GatewayLocationParamsWithHTTPClient creates a new Get5GatewayLocationParams object with the ability to set a custom HTTPClient for a request.

func NewGet5GatewayLocationParamsWithTimeout

func NewGet5GatewayLocationParamsWithTimeout(timeout time.Duration) *Get5GatewayLocationParams

NewGet5GatewayLocationParamsWithTimeout creates a new Get5GatewayLocationParams object with the ability to set a timeout on a request.

func (*Get5GatewayLocationParams) SetContext

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

SetContext adds the context to the get5 gateway location params

func (*Get5GatewayLocationParams) SetDefaults

func (o *Get5GatewayLocationParams) SetDefaults()

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

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

func (*Get5GatewayLocationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get5 gateway location params

func (*Get5GatewayLocationParams) SetLocation

func (o *Get5GatewayLocationParams) SetLocation(location string)

SetLocation adds the location to the get5 gateway location params

func (*Get5GatewayLocationParams) SetTimeout

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

SetTimeout adds the timeout to the get5 gateway location params

func (*Get5GatewayLocationParams) WithContext

WithContext adds the context to the get5 gateway location params

func (*Get5GatewayLocationParams) WithDefaults

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

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

func (*Get5GatewayLocationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get5 gateway location params

func (*Get5GatewayLocationParams) WithLocation

func (o *Get5GatewayLocationParams) WithLocation(location string) *Get5GatewayLocationParams

WithLocation adds the location to the get5 gateway location params

func (*Get5GatewayLocationParams) WithTimeout

WithTimeout adds the timeout to the get5 gateway location params

func (*Get5GatewayLocationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type Get5GatewayLocationReader

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

Get5GatewayLocationReader is a Reader for the Get5GatewayLocation structure.

func (*Get5GatewayLocationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Get5GatewaysBadRequest

type Get5GatewaysBadRequest struct {
	Payload interface{}
}

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

Bad Request

func NewGet5GatewaysBadRequest

func NewGet5GatewaysBadRequest() *Get5GatewaysBadRequest

NewGet5GatewaysBadRequest creates a Get5GatewaysBadRequest with default headers values

func (*Get5GatewaysBadRequest) Code

func (o *Get5GatewaysBadRequest) Code() int

Code gets the status code for the get5 gateways bad request response

func (*Get5GatewaysBadRequest) Error

func (o *Get5GatewaysBadRequest) Error() string

func (*Get5GatewaysBadRequest) GetPayload

func (o *Get5GatewaysBadRequest) GetPayload() interface{}

func (*Get5GatewaysBadRequest) IsClientError

func (o *Get5GatewaysBadRequest) IsClientError() bool

IsClientError returns true when this get5 gateways bad request response has a 4xx status code

func (*Get5GatewaysBadRequest) IsCode

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

IsCode returns true when this get5 gateways bad request response a status code equal to that given

func (*Get5GatewaysBadRequest) IsRedirect

func (o *Get5GatewaysBadRequest) IsRedirect() bool

IsRedirect returns true when this get5 gateways bad request response has a 3xx status code

func (*Get5GatewaysBadRequest) IsServerError

func (o *Get5GatewaysBadRequest) IsServerError() bool

IsServerError returns true when this get5 gateways bad request response has a 5xx status code

func (*Get5GatewaysBadRequest) IsSuccess

func (o *Get5GatewaysBadRequest) IsSuccess() bool

IsSuccess returns true when this get5 gateways bad request response has a 2xx status code

func (*Get5GatewaysBadRequest) String

func (o *Get5GatewaysBadRequest) String() string

type Get5GatewaysInternalServerError

type Get5GatewaysInternalServerError struct {
	Payload interface{}
}

Get5GatewaysInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGet5GatewaysInternalServerError

func NewGet5GatewaysInternalServerError() *Get5GatewaysInternalServerError

NewGet5GatewaysInternalServerError creates a Get5GatewaysInternalServerError with default headers values

func (*Get5GatewaysInternalServerError) Code

Code gets the status code for the get5 gateways internal server error response

func (*Get5GatewaysInternalServerError) Error

func (*Get5GatewaysInternalServerError) GetPayload

func (o *Get5GatewaysInternalServerError) GetPayload() interface{}

func (*Get5GatewaysInternalServerError) IsClientError

func (o *Get5GatewaysInternalServerError) IsClientError() bool

IsClientError returns true when this get5 gateways internal server error response has a 4xx status code

func (*Get5GatewaysInternalServerError) IsCode

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

IsCode returns true when this get5 gateways internal server error response a status code equal to that given

func (*Get5GatewaysInternalServerError) IsRedirect

func (o *Get5GatewaysInternalServerError) IsRedirect() bool

IsRedirect returns true when this get5 gateways internal server error response has a 3xx status code

func (*Get5GatewaysInternalServerError) IsServerError

func (o *Get5GatewaysInternalServerError) IsServerError() bool

IsServerError returns true when this get5 gateways internal server error response has a 5xx status code

func (*Get5GatewaysInternalServerError) IsSuccess

func (o *Get5GatewaysInternalServerError) IsSuccess() bool

IsSuccess returns true when this get5 gateways internal server error response has a 2xx status code

func (*Get5GatewaysInternalServerError) String

type Get5GatewaysNotFound

type Get5GatewaysNotFound struct {
	Payload interface{}
}

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

Not Found

func NewGet5GatewaysNotFound

func NewGet5GatewaysNotFound() *Get5GatewaysNotFound

NewGet5GatewaysNotFound creates a Get5GatewaysNotFound with default headers values

func (*Get5GatewaysNotFound) Code

func (o *Get5GatewaysNotFound) Code() int

Code gets the status code for the get5 gateways not found response

func (*Get5GatewaysNotFound) Error

func (o *Get5GatewaysNotFound) Error() string

func (*Get5GatewaysNotFound) GetPayload

func (o *Get5GatewaysNotFound) GetPayload() interface{}

func (*Get5GatewaysNotFound) IsClientError

func (o *Get5GatewaysNotFound) IsClientError() bool

IsClientError returns true when this get5 gateways not found response has a 4xx status code

func (*Get5GatewaysNotFound) IsCode

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

IsCode returns true when this get5 gateways not found response a status code equal to that given

func (*Get5GatewaysNotFound) IsRedirect

func (o *Get5GatewaysNotFound) IsRedirect() bool

IsRedirect returns true when this get5 gateways not found response has a 3xx status code

func (*Get5GatewaysNotFound) IsServerError

func (o *Get5GatewaysNotFound) IsServerError() bool

IsServerError returns true when this get5 gateways not found response has a 5xx status code

func (*Get5GatewaysNotFound) IsSuccess

func (o *Get5GatewaysNotFound) IsSuccess() bool

IsSuccess returns true when this get5 gateways not found response has a 2xx status code

func (*Get5GatewaysNotFound) String

func (o *Get5GatewaysNotFound) String() string

type Get5GatewaysOK

type Get5GatewaysOK struct {
	Payload []*models.ModelsGateway
}

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

OK

func NewGet5GatewaysOK

func NewGet5GatewaysOK() *Get5GatewaysOK

NewGet5GatewaysOK creates a Get5GatewaysOK with default headers values

func (*Get5GatewaysOK) Code

func (o *Get5GatewaysOK) Code() int

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

func (*Get5GatewaysOK) Error

func (o *Get5GatewaysOK) Error() string

func (*Get5GatewaysOK) GetPayload

func (o *Get5GatewaysOK) GetPayload() []*models.ModelsGateway

func (*Get5GatewaysOK) IsClientError

func (o *Get5GatewaysOK) IsClientError() bool

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

func (*Get5GatewaysOK) IsCode

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

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

func (*Get5GatewaysOK) IsRedirect

func (o *Get5GatewaysOK) IsRedirect() bool

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

func (*Get5GatewaysOK) IsServerError

func (o *Get5GatewaysOK) IsServerError() bool

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

func (*Get5GatewaysOK) IsSuccess

func (o *Get5GatewaysOK) IsSuccess() bool

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

func (*Get5GatewaysOK) String

func (o *Get5GatewaysOK) String() string

type Get5GatewaysParams

type Get5GatewaysParams struct {

	/* Byload.

	   Sort by load (experimental)
	*/
	Byload *bool

	/* Cc.

	   base country code (ISO-2)
	*/
	Cc *string

	/* Loc.

	   location override
	*/
	Loc *string

	/* Port.

	   port
	*/
	Port *string

	/* Tr.

	   transport (tcp|udp)
	*/
	Tr *string

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

Get5GatewaysParams contains all the parameters to send to the API endpoint

for the get5 gateways operation.

Typically these are written to a http.Request.

func NewGet5GatewaysParams

func NewGet5GatewaysParams() *Get5GatewaysParams

NewGet5GatewaysParams creates a new Get5GatewaysParams 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 NewGet5GatewaysParamsWithContext

func NewGet5GatewaysParamsWithContext(ctx context.Context) *Get5GatewaysParams

NewGet5GatewaysParamsWithContext creates a new Get5GatewaysParams object with the ability to set a context for a request.

func NewGet5GatewaysParamsWithHTTPClient

func NewGet5GatewaysParamsWithHTTPClient(client *http.Client) *Get5GatewaysParams

NewGet5GatewaysParamsWithHTTPClient creates a new Get5GatewaysParams object with the ability to set a custom HTTPClient for a request.

func NewGet5GatewaysParamsWithTimeout

func NewGet5GatewaysParamsWithTimeout(timeout time.Duration) *Get5GatewaysParams

NewGet5GatewaysParamsWithTimeout creates a new Get5GatewaysParams object with the ability to set a timeout on a request.

func (*Get5GatewaysParams) SetByload

func (o *Get5GatewaysParams) SetByload(byload *bool)

SetByload adds the byload to the get5 gateways params

func (*Get5GatewaysParams) SetCc

func (o *Get5GatewaysParams) SetCc(cc *string)

SetCc adds the cc to the get5 gateways params

func (*Get5GatewaysParams) SetContext

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

SetContext adds the context to the get5 gateways params

func (*Get5GatewaysParams) SetDefaults

func (o *Get5GatewaysParams) SetDefaults()

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

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

func (*Get5GatewaysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get5 gateways params

func (*Get5GatewaysParams) SetLoc

func (o *Get5GatewaysParams) SetLoc(loc *string)

SetLoc adds the loc to the get5 gateways params

func (*Get5GatewaysParams) SetPort

func (o *Get5GatewaysParams) SetPort(port *string)

SetPort adds the port to the get5 gateways params

func (*Get5GatewaysParams) SetTimeout

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

SetTimeout adds the timeout to the get5 gateways params

func (*Get5GatewaysParams) SetTr

func (o *Get5GatewaysParams) SetTr(tr *string)

SetTr adds the tr to the get5 gateways params

func (*Get5GatewaysParams) WithByload

func (o *Get5GatewaysParams) WithByload(byload *bool) *Get5GatewaysParams

WithByload adds the byload to the get5 gateways params

func (*Get5GatewaysParams) WithCc

WithCc adds the cc to the get5 gateways params

func (*Get5GatewaysParams) WithContext

WithContext adds the context to the get5 gateways params

func (*Get5GatewaysParams) WithDefaults

func (o *Get5GatewaysParams) WithDefaults() *Get5GatewaysParams

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

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

func (*Get5GatewaysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get5 gateways params

func (*Get5GatewaysParams) WithLoc

func (o *Get5GatewaysParams) WithLoc(loc *string) *Get5GatewaysParams

WithLoc adds the loc to the get5 gateways params

func (*Get5GatewaysParams) WithPort

func (o *Get5GatewaysParams) WithPort(port *string) *Get5GatewaysParams

WithPort adds the port to the get5 gateways params

func (*Get5GatewaysParams) WithTimeout

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

WithTimeout adds the timeout to the get5 gateways params

func (*Get5GatewaysParams) WithTr

WithTr adds the tr to the get5 gateways params

func (*Get5GatewaysParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Get5GatewaysReader

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

Get5GatewaysReader is a Reader for the Get5Gateways structure.

func (*Get5GatewaysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Get5OpenvpnCertBadRequest

type Get5OpenvpnCertBadRequest struct {
	Payload interface{}
}

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

Bad Request

func NewGet5OpenvpnCertBadRequest

func NewGet5OpenvpnCertBadRequest() *Get5OpenvpnCertBadRequest

NewGet5OpenvpnCertBadRequest creates a Get5OpenvpnCertBadRequest with default headers values

func (*Get5OpenvpnCertBadRequest) Code

func (o *Get5OpenvpnCertBadRequest) Code() int

Code gets the status code for the get5 openvpn cert bad request response

func (*Get5OpenvpnCertBadRequest) Error

func (o *Get5OpenvpnCertBadRequest) Error() string

func (*Get5OpenvpnCertBadRequest) GetPayload

func (o *Get5OpenvpnCertBadRequest) GetPayload() interface{}

func (*Get5OpenvpnCertBadRequest) IsClientError

func (o *Get5OpenvpnCertBadRequest) IsClientError() bool

IsClientError returns true when this get5 openvpn cert bad request response has a 4xx status code

func (*Get5OpenvpnCertBadRequest) IsCode

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

IsCode returns true when this get5 openvpn cert bad request response a status code equal to that given

func (*Get5OpenvpnCertBadRequest) IsRedirect

func (o *Get5OpenvpnCertBadRequest) IsRedirect() bool

IsRedirect returns true when this get5 openvpn cert bad request response has a 3xx status code

func (*Get5OpenvpnCertBadRequest) IsServerError

func (o *Get5OpenvpnCertBadRequest) IsServerError() bool

IsServerError returns true when this get5 openvpn cert bad request response has a 5xx status code

func (*Get5OpenvpnCertBadRequest) IsSuccess

func (o *Get5OpenvpnCertBadRequest) IsSuccess() bool

IsSuccess returns true when this get5 openvpn cert bad request response has a 2xx status code

func (*Get5OpenvpnCertBadRequest) String

func (o *Get5OpenvpnCertBadRequest) String() string

type Get5OpenvpnCertInternalServerError

type Get5OpenvpnCertInternalServerError struct {
	Payload interface{}
}

Get5OpenvpnCertInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGet5OpenvpnCertInternalServerError

func NewGet5OpenvpnCertInternalServerError() *Get5OpenvpnCertInternalServerError

NewGet5OpenvpnCertInternalServerError creates a Get5OpenvpnCertInternalServerError with default headers values

func (*Get5OpenvpnCertInternalServerError) Code

Code gets the status code for the get5 openvpn cert internal server error response

func (*Get5OpenvpnCertInternalServerError) Error

func (*Get5OpenvpnCertInternalServerError) GetPayload

func (o *Get5OpenvpnCertInternalServerError) GetPayload() interface{}

func (*Get5OpenvpnCertInternalServerError) IsClientError

func (o *Get5OpenvpnCertInternalServerError) IsClientError() bool

IsClientError returns true when this get5 openvpn cert internal server error response has a 4xx status code

func (*Get5OpenvpnCertInternalServerError) IsCode

IsCode returns true when this get5 openvpn cert internal server error response a status code equal to that given

func (*Get5OpenvpnCertInternalServerError) IsRedirect

func (o *Get5OpenvpnCertInternalServerError) IsRedirect() bool

IsRedirect returns true when this get5 openvpn cert internal server error response has a 3xx status code

func (*Get5OpenvpnCertInternalServerError) IsServerError

func (o *Get5OpenvpnCertInternalServerError) IsServerError() bool

IsServerError returns true when this get5 openvpn cert internal server error response has a 5xx status code

func (*Get5OpenvpnCertInternalServerError) IsSuccess

IsSuccess returns true when this get5 openvpn cert internal server error response has a 2xx status code

func (*Get5OpenvpnCertInternalServerError) String

type Get5OpenvpnCertNotFound

type Get5OpenvpnCertNotFound struct {
	Payload interface{}
}

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

Not Found

func NewGet5OpenvpnCertNotFound

func NewGet5OpenvpnCertNotFound() *Get5OpenvpnCertNotFound

NewGet5OpenvpnCertNotFound creates a Get5OpenvpnCertNotFound with default headers values

func (*Get5OpenvpnCertNotFound) Code

func (o *Get5OpenvpnCertNotFound) Code() int

Code gets the status code for the get5 openvpn cert not found response

func (*Get5OpenvpnCertNotFound) Error

func (o *Get5OpenvpnCertNotFound) Error() string

func (*Get5OpenvpnCertNotFound) GetPayload

func (o *Get5OpenvpnCertNotFound) GetPayload() interface{}

func (*Get5OpenvpnCertNotFound) IsClientError

func (o *Get5OpenvpnCertNotFound) IsClientError() bool

IsClientError returns true when this get5 openvpn cert not found response has a 4xx status code

func (*Get5OpenvpnCertNotFound) IsCode

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

IsCode returns true when this get5 openvpn cert not found response a status code equal to that given

func (*Get5OpenvpnCertNotFound) IsRedirect

func (o *Get5OpenvpnCertNotFound) IsRedirect() bool

IsRedirect returns true when this get5 openvpn cert not found response has a 3xx status code

func (*Get5OpenvpnCertNotFound) IsServerError

func (o *Get5OpenvpnCertNotFound) IsServerError() bool

IsServerError returns true when this get5 openvpn cert not found response has a 5xx status code

func (*Get5OpenvpnCertNotFound) IsSuccess

func (o *Get5OpenvpnCertNotFound) IsSuccess() bool

IsSuccess returns true when this get5 openvpn cert not found response has a 2xx status code

func (*Get5OpenvpnCertNotFound) String

func (o *Get5OpenvpnCertNotFound) String() string

type Get5OpenvpnCertOK

type Get5OpenvpnCertOK struct {
	Payload []*models.ModelsGateway
}

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

OK

func NewGet5OpenvpnCertOK

func NewGet5OpenvpnCertOK() *Get5OpenvpnCertOK

NewGet5OpenvpnCertOK creates a Get5OpenvpnCertOK with default headers values

func (*Get5OpenvpnCertOK) Code

func (o *Get5OpenvpnCertOK) Code() int

Code gets the status code for the get5 openvpn cert o k response

func (*Get5OpenvpnCertOK) Error

func (o *Get5OpenvpnCertOK) Error() string

func (*Get5OpenvpnCertOK) GetPayload

func (o *Get5OpenvpnCertOK) GetPayload() []*models.ModelsGateway

func (*Get5OpenvpnCertOK) IsClientError

func (o *Get5OpenvpnCertOK) IsClientError() bool

IsClientError returns true when this get5 openvpn cert o k response has a 4xx status code

func (*Get5OpenvpnCertOK) IsCode

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

IsCode returns true when this get5 openvpn cert o k response a status code equal to that given

func (*Get5OpenvpnCertOK) IsRedirect

func (o *Get5OpenvpnCertOK) IsRedirect() bool

IsRedirect returns true when this get5 openvpn cert o k response has a 3xx status code

func (*Get5OpenvpnCertOK) IsServerError

func (o *Get5OpenvpnCertOK) IsServerError() bool

IsServerError returns true when this get5 openvpn cert o k response has a 5xx status code

func (*Get5OpenvpnCertOK) IsSuccess

func (o *Get5OpenvpnCertOK) IsSuccess() bool

IsSuccess returns true when this get5 openvpn cert o k response has a 2xx status code

func (*Get5OpenvpnCertOK) String

func (o *Get5OpenvpnCertOK) String() string

type Get5OpenvpnCertParams

type Get5OpenvpnCertParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

Get5OpenvpnCertParams contains all the parameters to send to the API endpoint

for the get5 openvpn cert operation.

Typically these are written to a http.Request.

func NewGet5OpenvpnCertParams

func NewGet5OpenvpnCertParams() *Get5OpenvpnCertParams

NewGet5OpenvpnCertParams creates a new Get5OpenvpnCertParams 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 NewGet5OpenvpnCertParamsWithContext

func NewGet5OpenvpnCertParamsWithContext(ctx context.Context) *Get5OpenvpnCertParams

NewGet5OpenvpnCertParamsWithContext creates a new Get5OpenvpnCertParams object with the ability to set a context for a request.

func NewGet5OpenvpnCertParamsWithHTTPClient

func NewGet5OpenvpnCertParamsWithHTTPClient(client *http.Client) *Get5OpenvpnCertParams

NewGet5OpenvpnCertParamsWithHTTPClient creates a new Get5OpenvpnCertParams object with the ability to set a custom HTTPClient for a request.

func NewGet5OpenvpnCertParamsWithTimeout

func NewGet5OpenvpnCertParamsWithTimeout(timeout time.Duration) *Get5OpenvpnCertParams

NewGet5OpenvpnCertParamsWithTimeout creates a new Get5OpenvpnCertParams object with the ability to set a timeout on a request.

func (*Get5OpenvpnCertParams) SetContext

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

SetContext adds the context to the get5 openvpn cert params

func (*Get5OpenvpnCertParams) SetDefaults

func (o *Get5OpenvpnCertParams) SetDefaults()

SetDefaults hydrates default values in the get5 openvpn cert params (not the query body).

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

func (*Get5OpenvpnCertParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get5 openvpn cert params

func (*Get5OpenvpnCertParams) SetTimeout

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

SetTimeout adds the timeout to the get5 openvpn cert params

func (*Get5OpenvpnCertParams) WithContext

WithContext adds the context to the get5 openvpn cert params

func (*Get5OpenvpnCertParams) WithDefaults

func (o *Get5OpenvpnCertParams) WithDefaults() *Get5OpenvpnCertParams

WithDefaults hydrates default values in the get5 openvpn cert params (not the query body).

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

func (*Get5OpenvpnCertParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get5 openvpn cert params

func (*Get5OpenvpnCertParams) WithTimeout

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

WithTimeout adds the timeout to the get5 openvpn cert params

func (*Get5OpenvpnCertParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Get5OpenvpnCertReader

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

Get5OpenvpnCertReader is a Reader for the Get5OpenvpnCert structure.

func (*Get5OpenvpnCertReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Get5OpenvpnConfigBadRequest

type Get5OpenvpnConfigBadRequest struct {
	Payload interface{}
}

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

Bad Request

func NewGet5OpenvpnConfigBadRequest

func NewGet5OpenvpnConfigBadRequest() *Get5OpenvpnConfigBadRequest

NewGet5OpenvpnConfigBadRequest creates a Get5OpenvpnConfigBadRequest with default headers values

func (*Get5OpenvpnConfigBadRequest) Code

func (o *Get5OpenvpnConfigBadRequest) Code() int

Code gets the status code for the get5 openvpn config bad request response

func (*Get5OpenvpnConfigBadRequest) Error

func (*Get5OpenvpnConfigBadRequest) GetPayload

func (o *Get5OpenvpnConfigBadRequest) GetPayload() interface{}

func (*Get5OpenvpnConfigBadRequest) IsClientError

func (o *Get5OpenvpnConfigBadRequest) IsClientError() bool

IsClientError returns true when this get5 openvpn config bad request response has a 4xx status code

func (*Get5OpenvpnConfigBadRequest) IsCode

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

IsCode returns true when this get5 openvpn config bad request response a status code equal to that given

func (*Get5OpenvpnConfigBadRequest) IsRedirect

func (o *Get5OpenvpnConfigBadRequest) IsRedirect() bool

IsRedirect returns true when this get5 openvpn config bad request response has a 3xx status code

func (*Get5OpenvpnConfigBadRequest) IsServerError

func (o *Get5OpenvpnConfigBadRequest) IsServerError() bool

IsServerError returns true when this get5 openvpn config bad request response has a 5xx status code

func (*Get5OpenvpnConfigBadRequest) IsSuccess

func (o *Get5OpenvpnConfigBadRequest) IsSuccess() bool

IsSuccess returns true when this get5 openvpn config bad request response has a 2xx status code

func (*Get5OpenvpnConfigBadRequest) String

func (o *Get5OpenvpnConfigBadRequest) String() string

type Get5OpenvpnConfigInternalServerError

type Get5OpenvpnConfigInternalServerError struct {
	Payload interface{}
}

Get5OpenvpnConfigInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGet5OpenvpnConfigInternalServerError

func NewGet5OpenvpnConfigInternalServerError() *Get5OpenvpnConfigInternalServerError

NewGet5OpenvpnConfigInternalServerError creates a Get5OpenvpnConfigInternalServerError with default headers values

func (*Get5OpenvpnConfigInternalServerError) Code

Code gets the status code for the get5 openvpn config internal server error response

func (*Get5OpenvpnConfigInternalServerError) Error

func (*Get5OpenvpnConfigInternalServerError) GetPayload

func (o *Get5OpenvpnConfigInternalServerError) GetPayload() interface{}

func (*Get5OpenvpnConfigInternalServerError) IsClientError

func (o *Get5OpenvpnConfigInternalServerError) IsClientError() bool

IsClientError returns true when this get5 openvpn config internal server error response has a 4xx status code

func (*Get5OpenvpnConfigInternalServerError) IsCode

IsCode returns true when this get5 openvpn config internal server error response a status code equal to that given

func (*Get5OpenvpnConfigInternalServerError) IsRedirect

IsRedirect returns true when this get5 openvpn config internal server error response has a 3xx status code

func (*Get5OpenvpnConfigInternalServerError) IsServerError

func (o *Get5OpenvpnConfigInternalServerError) IsServerError() bool

IsServerError returns true when this get5 openvpn config internal server error response has a 5xx status code

func (*Get5OpenvpnConfigInternalServerError) IsSuccess

IsSuccess returns true when this get5 openvpn config internal server error response has a 2xx status code

func (*Get5OpenvpnConfigInternalServerError) String

type Get5OpenvpnConfigNotFound

type Get5OpenvpnConfigNotFound struct {
	Payload interface{}
}

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

Not Found

func NewGet5OpenvpnConfigNotFound

func NewGet5OpenvpnConfigNotFound() *Get5OpenvpnConfigNotFound

NewGet5OpenvpnConfigNotFound creates a Get5OpenvpnConfigNotFound with default headers values

func (*Get5OpenvpnConfigNotFound) Code

func (o *Get5OpenvpnConfigNotFound) Code() int

Code gets the status code for the get5 openvpn config not found response

func (*Get5OpenvpnConfigNotFound) Error

func (o *Get5OpenvpnConfigNotFound) Error() string

func (*Get5OpenvpnConfigNotFound) GetPayload

func (o *Get5OpenvpnConfigNotFound) GetPayload() interface{}

func (*Get5OpenvpnConfigNotFound) IsClientError

func (o *Get5OpenvpnConfigNotFound) IsClientError() bool

IsClientError returns true when this get5 openvpn config not found response has a 4xx status code

func (*Get5OpenvpnConfigNotFound) IsCode

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

IsCode returns true when this get5 openvpn config not found response a status code equal to that given

func (*Get5OpenvpnConfigNotFound) IsRedirect

func (o *Get5OpenvpnConfigNotFound) IsRedirect() bool

IsRedirect returns true when this get5 openvpn config not found response has a 3xx status code

func (*Get5OpenvpnConfigNotFound) IsServerError

func (o *Get5OpenvpnConfigNotFound) IsServerError() bool

IsServerError returns true when this get5 openvpn config not found response has a 5xx status code

func (*Get5OpenvpnConfigNotFound) IsSuccess

func (o *Get5OpenvpnConfigNotFound) IsSuccess() bool

IsSuccess returns true when this get5 openvpn config not found response has a 2xx status code

func (*Get5OpenvpnConfigNotFound) String

func (o *Get5OpenvpnConfigNotFound) String() string

type Get5OpenvpnConfigOK

type Get5OpenvpnConfigOK struct {
	Payload string
}

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

OK

func NewGet5OpenvpnConfigOK

func NewGet5OpenvpnConfigOK() *Get5OpenvpnConfigOK

NewGet5OpenvpnConfigOK creates a Get5OpenvpnConfigOK with default headers values

func (*Get5OpenvpnConfigOK) Code

func (o *Get5OpenvpnConfigOK) Code() int

Code gets the status code for the get5 openvpn config o k response

func (*Get5OpenvpnConfigOK) Error

func (o *Get5OpenvpnConfigOK) Error() string

func (*Get5OpenvpnConfigOK) GetPayload

func (o *Get5OpenvpnConfigOK) GetPayload() string

func (*Get5OpenvpnConfigOK) IsClientError

func (o *Get5OpenvpnConfigOK) IsClientError() bool

IsClientError returns true when this get5 openvpn config o k response has a 4xx status code

func (*Get5OpenvpnConfigOK) IsCode

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

IsCode returns true when this get5 openvpn config o k response a status code equal to that given

func (*Get5OpenvpnConfigOK) IsRedirect

func (o *Get5OpenvpnConfigOK) IsRedirect() bool

IsRedirect returns true when this get5 openvpn config o k response has a 3xx status code

func (*Get5OpenvpnConfigOK) IsServerError

func (o *Get5OpenvpnConfigOK) IsServerError() bool

IsServerError returns true when this get5 openvpn config o k response has a 5xx status code

func (*Get5OpenvpnConfigOK) IsSuccess

func (o *Get5OpenvpnConfigOK) IsSuccess() bool

IsSuccess returns true when this get5 openvpn config o k response has a 2xx status code

func (*Get5OpenvpnConfigOK) String

func (o *Get5OpenvpnConfigOK) String() string

type Get5OpenvpnConfigParams

type Get5OpenvpnConfigParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

Get5OpenvpnConfigParams contains all the parameters to send to the API endpoint

for the get5 openvpn config operation.

Typically these are written to a http.Request.

func NewGet5OpenvpnConfigParams

func NewGet5OpenvpnConfigParams() *Get5OpenvpnConfigParams

NewGet5OpenvpnConfigParams creates a new Get5OpenvpnConfigParams 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 NewGet5OpenvpnConfigParamsWithContext

func NewGet5OpenvpnConfigParamsWithContext(ctx context.Context) *Get5OpenvpnConfigParams

NewGet5OpenvpnConfigParamsWithContext creates a new Get5OpenvpnConfigParams object with the ability to set a context for a request.

func NewGet5OpenvpnConfigParamsWithHTTPClient

func NewGet5OpenvpnConfigParamsWithHTTPClient(client *http.Client) *Get5OpenvpnConfigParams

NewGet5OpenvpnConfigParamsWithHTTPClient creates a new Get5OpenvpnConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGet5OpenvpnConfigParamsWithTimeout

func NewGet5OpenvpnConfigParamsWithTimeout(timeout time.Duration) *Get5OpenvpnConfigParams

NewGet5OpenvpnConfigParamsWithTimeout creates a new Get5OpenvpnConfigParams object with the ability to set a timeout on a request.

func (*Get5OpenvpnConfigParams) SetContext

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

SetContext adds the context to the get5 openvpn config params

func (*Get5OpenvpnConfigParams) SetDefaults

func (o *Get5OpenvpnConfigParams) SetDefaults()

SetDefaults hydrates default values in the get5 openvpn config params (not the query body).

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

func (*Get5OpenvpnConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get5 openvpn config params

func (*Get5OpenvpnConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get5 openvpn config params

func (*Get5OpenvpnConfigParams) WithContext

WithContext adds the context to the get5 openvpn config params

func (*Get5OpenvpnConfigParams) WithDefaults

WithDefaults hydrates default values in the get5 openvpn config params (not the query body).

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

func (*Get5OpenvpnConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get5 openvpn config params

func (*Get5OpenvpnConfigParams) WithTimeout

WithTimeout adds the timeout to the get5 openvpn config params

func (*Get5OpenvpnConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type Get5OpenvpnConfigReader

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

Get5OpenvpnConfigReader is a Reader for the Get5OpenvpnConfig structure.

func (*Get5OpenvpnConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Get5ServiceBadRequest

type Get5ServiceBadRequest struct {
	Payload interface{}
}

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

Bad Request

func NewGet5ServiceBadRequest

func NewGet5ServiceBadRequest() *Get5ServiceBadRequest

NewGet5ServiceBadRequest creates a Get5ServiceBadRequest with default headers values

func (*Get5ServiceBadRequest) Code

func (o *Get5ServiceBadRequest) Code() int

Code gets the status code for the get5 service bad request response

func (*Get5ServiceBadRequest) Error

func (o *Get5ServiceBadRequest) Error() string

func (*Get5ServiceBadRequest) GetPayload

func (o *Get5ServiceBadRequest) GetPayload() interface{}

func (*Get5ServiceBadRequest) IsClientError

func (o *Get5ServiceBadRequest) IsClientError() bool

IsClientError returns true when this get5 service bad request response has a 4xx status code

func (*Get5ServiceBadRequest) IsCode

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

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

func (*Get5ServiceBadRequest) IsRedirect

func (o *Get5ServiceBadRequest) IsRedirect() bool

IsRedirect returns true when this get5 service bad request response has a 3xx status code

func (*Get5ServiceBadRequest) IsServerError

func (o *Get5ServiceBadRequest) IsServerError() bool

IsServerError returns true when this get5 service bad request response has a 5xx status code

func (*Get5ServiceBadRequest) IsSuccess

func (o *Get5ServiceBadRequest) IsSuccess() bool

IsSuccess returns true when this get5 service bad request response has a 2xx status code

func (*Get5ServiceBadRequest) String

func (o *Get5ServiceBadRequest) String() string

type Get5ServiceInternalServerError

type Get5ServiceInternalServerError struct {
	Payload interface{}
}

Get5ServiceInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGet5ServiceInternalServerError

func NewGet5ServiceInternalServerError() *Get5ServiceInternalServerError

NewGet5ServiceInternalServerError creates a Get5ServiceInternalServerError with default headers values

func (*Get5ServiceInternalServerError) Code

Code gets the status code for the get5 service internal server error response

func (*Get5ServiceInternalServerError) Error

func (*Get5ServiceInternalServerError) GetPayload

func (o *Get5ServiceInternalServerError) GetPayload() interface{}

func (*Get5ServiceInternalServerError) IsClientError

func (o *Get5ServiceInternalServerError) IsClientError() bool

IsClientError returns true when this get5 service internal server error response has a 4xx status code

func (*Get5ServiceInternalServerError) IsCode

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

IsCode returns true when this get5 service internal server error response a status code equal to that given

func (*Get5ServiceInternalServerError) IsRedirect

func (o *Get5ServiceInternalServerError) IsRedirect() bool

IsRedirect returns true when this get5 service internal server error response has a 3xx status code

func (*Get5ServiceInternalServerError) IsServerError

func (o *Get5ServiceInternalServerError) IsServerError() bool

IsServerError returns true when this get5 service internal server error response has a 5xx status code

func (*Get5ServiceInternalServerError) IsSuccess

func (o *Get5ServiceInternalServerError) IsSuccess() bool

IsSuccess returns true when this get5 service internal server error response has a 2xx status code

func (*Get5ServiceInternalServerError) String

type Get5ServiceNotFound

type Get5ServiceNotFound struct {
	Payload interface{}
}

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

Not Found

func NewGet5ServiceNotFound

func NewGet5ServiceNotFound() *Get5ServiceNotFound

NewGet5ServiceNotFound creates a Get5ServiceNotFound with default headers values

func (*Get5ServiceNotFound) Code

func (o *Get5ServiceNotFound) Code() int

Code gets the status code for the get5 service not found response

func (*Get5ServiceNotFound) Error

func (o *Get5ServiceNotFound) Error() string

func (*Get5ServiceNotFound) GetPayload

func (o *Get5ServiceNotFound) GetPayload() interface{}

func (*Get5ServiceNotFound) IsClientError

func (o *Get5ServiceNotFound) IsClientError() bool

IsClientError returns true when this get5 service not found response has a 4xx status code

func (*Get5ServiceNotFound) IsCode

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

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

func (*Get5ServiceNotFound) IsRedirect

func (o *Get5ServiceNotFound) IsRedirect() bool

IsRedirect returns true when this get5 service not found response has a 3xx status code

func (*Get5ServiceNotFound) IsServerError

func (o *Get5ServiceNotFound) IsServerError() bool

IsServerError returns true when this get5 service not found response has a 5xx status code

func (*Get5ServiceNotFound) IsSuccess

func (o *Get5ServiceNotFound) IsSuccess() bool

IsSuccess returns true when this get5 service not found response has a 2xx status code

func (*Get5ServiceNotFound) String

func (o *Get5ServiceNotFound) String() string

type Get5ServiceOK

type Get5ServiceOK struct {
	Payload *models.ModelsEIPService
}

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

OK

func NewGet5ServiceOK

func NewGet5ServiceOK() *Get5ServiceOK

NewGet5ServiceOK creates a Get5ServiceOK with default headers values

func (*Get5ServiceOK) Code

func (o *Get5ServiceOK) Code() int

Code gets the status code for the get5 service o k response

func (*Get5ServiceOK) Error

func (o *Get5ServiceOK) Error() string

func (*Get5ServiceOK) GetPayload

func (o *Get5ServiceOK) GetPayload() *models.ModelsEIPService

func (*Get5ServiceOK) IsClientError

func (o *Get5ServiceOK) IsClientError() bool

IsClientError returns true when this get5 service o k response has a 4xx status code

func (*Get5ServiceOK) IsCode

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

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

func (*Get5ServiceOK) IsRedirect

func (o *Get5ServiceOK) IsRedirect() bool

IsRedirect returns true when this get5 service o k response has a 3xx status code

func (*Get5ServiceOK) IsServerError

func (o *Get5ServiceOK) IsServerError() bool

IsServerError returns true when this get5 service o k response has a 5xx status code

func (*Get5ServiceOK) IsSuccess

func (o *Get5ServiceOK) IsSuccess() bool

IsSuccess returns true when this get5 service o k response has a 2xx status code

func (*Get5ServiceOK) String

func (o *Get5ServiceOK) String() string

type Get5ServiceParams

type Get5ServiceParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

Get5ServiceParams contains all the parameters to send to the API endpoint

for the get5 service operation.

Typically these are written to a http.Request.

func NewGet5ServiceParams

func NewGet5ServiceParams() *Get5ServiceParams

NewGet5ServiceParams creates a new Get5ServiceParams 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 NewGet5ServiceParamsWithContext

func NewGet5ServiceParamsWithContext(ctx context.Context) *Get5ServiceParams

NewGet5ServiceParamsWithContext creates a new Get5ServiceParams object with the ability to set a context for a request.

func NewGet5ServiceParamsWithHTTPClient

func NewGet5ServiceParamsWithHTTPClient(client *http.Client) *Get5ServiceParams

NewGet5ServiceParamsWithHTTPClient creates a new Get5ServiceParams object with the ability to set a custom HTTPClient for a request.

func NewGet5ServiceParamsWithTimeout

func NewGet5ServiceParamsWithTimeout(timeout time.Duration) *Get5ServiceParams

NewGet5ServiceParamsWithTimeout creates a new Get5ServiceParams object with the ability to set a timeout on a request.

func (*Get5ServiceParams) SetContext

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

SetContext adds the context to the get5 service params

func (*Get5ServiceParams) SetDefaults

func (o *Get5ServiceParams) SetDefaults()

SetDefaults hydrates default values in the get5 service params (not the query body).

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

func (*Get5ServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get5 service params

func (*Get5ServiceParams) SetTimeout

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

SetTimeout adds the timeout to the get5 service params

func (*Get5ServiceParams) WithContext

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

WithContext adds the context to the get5 service params

func (*Get5ServiceParams) WithDefaults

func (o *Get5ServiceParams) WithDefaults() *Get5ServiceParams

WithDefaults hydrates default values in the get5 service params (not the query body).

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

func (*Get5ServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get5 service params

func (*Get5ServiceParams) WithTimeout

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

WithTimeout adds the timeout to the get5 service params

func (*Get5ServiceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Get5ServiceReader

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

Get5ServiceReader is a Reader for the Get5Service structure.

func (*Get5ServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAutoconfBadRequest

type GetAutoconfBadRequest struct {
	Payload interface{}
}

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

Bad Request

func NewGetAutoconfBadRequest

func NewGetAutoconfBadRequest() *GetAutoconfBadRequest

NewGetAutoconfBadRequest creates a GetAutoconfBadRequest with default headers values

func (*GetAutoconfBadRequest) Code

func (o *GetAutoconfBadRequest) Code() int

Code gets the status code for the get autoconf bad request response

func (*GetAutoconfBadRequest) Error

func (o *GetAutoconfBadRequest) Error() string

func (*GetAutoconfBadRequest) GetPayload

func (o *GetAutoconfBadRequest) GetPayload() interface{}

func (*GetAutoconfBadRequest) IsClientError

func (o *GetAutoconfBadRequest) IsClientError() bool

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

func (*GetAutoconfBadRequest) IsCode

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

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

func (*GetAutoconfBadRequest) IsRedirect

func (o *GetAutoconfBadRequest) IsRedirect() bool

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

func (*GetAutoconfBadRequest) IsServerError

func (o *GetAutoconfBadRequest) IsServerError() bool

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

func (*GetAutoconfBadRequest) IsSuccess

func (o *GetAutoconfBadRequest) IsSuccess() bool

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

func (*GetAutoconfBadRequest) String

func (o *GetAutoconfBadRequest) String() string

type GetAutoconfInternalServerError

type GetAutoconfInternalServerError struct {
	Payload interface{}
}

GetAutoconfInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAutoconfInternalServerError

func NewGetAutoconfInternalServerError() *GetAutoconfInternalServerError

NewGetAutoconfInternalServerError creates a GetAutoconfInternalServerError with default headers values

func (*GetAutoconfInternalServerError) Code

Code gets the status code for the get autoconf internal server error response

func (*GetAutoconfInternalServerError) Error

func (*GetAutoconfInternalServerError) GetPayload

func (o *GetAutoconfInternalServerError) GetPayload() interface{}

func (*GetAutoconfInternalServerError) IsClientError

func (o *GetAutoconfInternalServerError) IsClientError() bool

IsClientError returns true when this get autoconf internal server error response has a 4xx status code

func (*GetAutoconfInternalServerError) IsCode

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

IsCode returns true when this get autoconf internal server error response a status code equal to that given

func (*GetAutoconfInternalServerError) IsRedirect

func (o *GetAutoconfInternalServerError) IsRedirect() bool

IsRedirect returns true when this get autoconf internal server error response has a 3xx status code

func (*GetAutoconfInternalServerError) IsServerError

func (o *GetAutoconfInternalServerError) IsServerError() bool

IsServerError returns true when this get autoconf internal server error response has a 5xx status code

func (*GetAutoconfInternalServerError) IsSuccess

func (o *GetAutoconfInternalServerError) IsSuccess() bool

IsSuccess returns true when this get autoconf internal server error response has a 2xx status code

func (*GetAutoconfInternalServerError) String

type GetAutoconfNotFound

type GetAutoconfNotFound struct {
	Payload interface{}
}

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

Not Found

func NewGetAutoconfNotFound

func NewGetAutoconfNotFound() *GetAutoconfNotFound

NewGetAutoconfNotFound creates a GetAutoconfNotFound with default headers values

func (*GetAutoconfNotFound) Code

func (o *GetAutoconfNotFound) Code() int

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

func (*GetAutoconfNotFound) Error

func (o *GetAutoconfNotFound) Error() string

func (*GetAutoconfNotFound) GetPayload

func (o *GetAutoconfNotFound) GetPayload() interface{}

func (*GetAutoconfNotFound) IsClientError

func (o *GetAutoconfNotFound) IsClientError() bool

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

func (*GetAutoconfNotFound) IsCode

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

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

func (*GetAutoconfNotFound) IsRedirect

func (o *GetAutoconfNotFound) IsRedirect() bool

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

func (*GetAutoconfNotFound) IsServerError

func (o *GetAutoconfNotFound) IsServerError() bool

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

func (*GetAutoconfNotFound) IsSuccess

func (o *GetAutoconfNotFound) IsSuccess() bool

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

func (*GetAutoconfNotFound) String

func (o *GetAutoconfNotFound) String() string

type GetAutoconfOK

type GetAutoconfOK struct {
	Payload string
}

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

OK

func NewGetAutoconfOK

func NewGetAutoconfOK() *GetAutoconfOK

NewGetAutoconfOK creates a GetAutoconfOK with default headers values

func (*GetAutoconfOK) Code

func (o *GetAutoconfOK) Code() int

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

func (*GetAutoconfOK) Error

func (o *GetAutoconfOK) Error() string

func (*GetAutoconfOK) GetPayload

func (o *GetAutoconfOK) GetPayload() string

func (*GetAutoconfOK) IsClientError

func (o *GetAutoconfOK) IsClientError() bool

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

func (*GetAutoconfOK) IsCode

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

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

func (*GetAutoconfOK) IsRedirect

func (o *GetAutoconfOK) IsRedirect() bool

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

func (*GetAutoconfOK) IsServerError

func (o *GetAutoconfOK) IsServerError() bool

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

func (*GetAutoconfOK) IsSuccess

func (o *GetAutoconfOK) IsSuccess() bool

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

func (*GetAutoconfOK) String

func (o *GetAutoconfOK) String() string

type GetAutoconfParams

type GetAutoconfParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAutoconfParams contains all the parameters to send to the API endpoint

for the get autoconf operation.

Typically these are written to a http.Request.

func NewGetAutoconfParams

func NewGetAutoconfParams() *GetAutoconfParams

NewGetAutoconfParams creates a new GetAutoconfParams 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 NewGetAutoconfParamsWithContext

func NewGetAutoconfParamsWithContext(ctx context.Context) *GetAutoconfParams

NewGetAutoconfParamsWithContext creates a new GetAutoconfParams object with the ability to set a context for a request.

func NewGetAutoconfParamsWithHTTPClient

func NewGetAutoconfParamsWithHTTPClient(client *http.Client) *GetAutoconfParams

NewGetAutoconfParamsWithHTTPClient creates a new GetAutoconfParams object with the ability to set a custom HTTPClient for a request.

func NewGetAutoconfParamsWithTimeout

func NewGetAutoconfParamsWithTimeout(timeout time.Duration) *GetAutoconfParams

NewGetAutoconfParamsWithTimeout creates a new GetAutoconfParams object with the ability to set a timeout on a request.

func (*GetAutoconfParams) SetContext

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

SetContext adds the context to the get autoconf params

func (*GetAutoconfParams) SetDefaults

func (o *GetAutoconfParams) SetDefaults()

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

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

func (*GetAutoconfParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get autoconf params

func (*GetAutoconfParams) SetTimeout

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

SetTimeout adds the timeout to the get autoconf params

func (*GetAutoconfParams) WithContext

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

WithContext adds the context to the get autoconf params

func (*GetAutoconfParams) WithDefaults

func (o *GetAutoconfParams) WithDefaults() *GetAutoconfParams

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

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

func (*GetAutoconfParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get autoconf params

func (*GetAutoconfParams) WithTimeout

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

WithTimeout adds the timeout to the get autoconf params

func (*GetAutoconfParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAutoconfReader

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

GetAutoconfReader is a Reader for the GetAutoconf structure.

func (*GetAutoconfReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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