manage_i_q_server_configuration

package
v0.0.0-...-f4869d1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for manage i q server configuration API

func (*Client) DisableIq

func (a *Client) DisableIq(params *DisableIqParams, opts ...ClientOption) (*DisableIqNoContent, error)

DisableIq disables i q server

func (*Client) EnableIq

func (a *Client) EnableIq(params *EnableIqParams, opts ...ClientOption) (*EnableIqNoContent, error)

EnableIq enables i q server

func (*Client) GetConfiguration

func (a *Client) GetConfiguration(params *GetConfigurationParams, opts ...ClientOption) (*GetConfigurationOK, error)

GetConfiguration gets i q server configuration

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateConfiguration

func (a *Client) UpdateConfiguration(params *UpdateConfigurationParams, opts ...ClientOption) (*UpdateConfigurationNoContent, error)

UpdateConfiguration updates i q server configuration

func (*Client) VerifyConnection

func (a *Client) VerifyConnection(params *VerifyConnectionParams, opts ...ClientOption) (*VerifyConnectionOK, error)

VerifyConnection verifies i q server connection

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DisableIq(params *DisableIqParams, opts ...ClientOption) (*DisableIqNoContent, error)

	EnableIq(params *EnableIqParams, opts ...ClientOption) (*EnableIqNoContent, error)

	GetConfiguration(params *GetConfigurationParams, opts ...ClientOption) (*GetConfigurationOK, error)

	UpdateConfiguration(params *UpdateConfigurationParams, opts ...ClientOption) (*UpdateConfigurationNoContent, error)

	VerifyConnection(params *VerifyConnectionParams, opts ...ClientOption) (*VerifyConnectionOK, 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 manage i q server configuration API client.

type DisableIqBadRequest

type DisableIqBadRequest struct {
}

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

IQ server connection not configured

func NewDisableIqBadRequest

func NewDisableIqBadRequest() *DisableIqBadRequest

NewDisableIqBadRequest creates a DisableIqBadRequest with default headers values

func (*DisableIqBadRequest) Code

func (o *DisableIqBadRequest) Code() int

Code gets the status code for the disable iq bad request response

func (*DisableIqBadRequest) Error

func (o *DisableIqBadRequest) Error() string

func (*DisableIqBadRequest) IsClientError

func (o *DisableIqBadRequest) IsClientError() bool

IsClientError returns true when this disable iq bad request response has a 4xx status code

func (*DisableIqBadRequest) IsCode

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

IsCode returns true when this disable iq bad request response a status code equal to that given

func (*DisableIqBadRequest) IsRedirect

func (o *DisableIqBadRequest) IsRedirect() bool

IsRedirect returns true when this disable iq bad request response has a 3xx status code

func (*DisableIqBadRequest) IsServerError

func (o *DisableIqBadRequest) IsServerError() bool

IsServerError returns true when this disable iq bad request response has a 5xx status code

func (*DisableIqBadRequest) IsSuccess

func (o *DisableIqBadRequest) IsSuccess() bool

IsSuccess returns true when this disable iq bad request response has a 2xx status code

func (*DisableIqBadRequest) String

func (o *DisableIqBadRequest) String() string

type DisableIqNoContent

type DisableIqNoContent struct {
}

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

IQ server has been disabled

func NewDisableIqNoContent

func NewDisableIqNoContent() *DisableIqNoContent

NewDisableIqNoContent creates a DisableIqNoContent with default headers values

func (*DisableIqNoContent) Code

func (o *DisableIqNoContent) Code() int

Code gets the status code for the disable iq no content response

func (*DisableIqNoContent) Error

func (o *DisableIqNoContent) Error() string

func (*DisableIqNoContent) IsClientError

func (o *DisableIqNoContent) IsClientError() bool

IsClientError returns true when this disable iq no content response has a 4xx status code

func (*DisableIqNoContent) IsCode

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

IsCode returns true when this disable iq no content response a status code equal to that given

func (*DisableIqNoContent) IsRedirect

func (o *DisableIqNoContent) IsRedirect() bool

IsRedirect returns true when this disable iq no content response has a 3xx status code

func (*DisableIqNoContent) IsServerError

func (o *DisableIqNoContent) IsServerError() bool

IsServerError returns true when this disable iq no content response has a 5xx status code

func (*DisableIqNoContent) IsSuccess

func (o *DisableIqNoContent) IsSuccess() bool

IsSuccess returns true when this disable iq no content response has a 2xx status code

func (*DisableIqNoContent) String

func (o *DisableIqNoContent) String() string

type DisableIqParams

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

DisableIqParams contains all the parameters to send to the API endpoint

for the disable iq operation.

Typically these are written to a http.Request.

func NewDisableIqParams

func NewDisableIqParams() *DisableIqParams

NewDisableIqParams creates a new DisableIqParams 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 NewDisableIqParamsWithContext

func NewDisableIqParamsWithContext(ctx context.Context) *DisableIqParams

NewDisableIqParamsWithContext creates a new DisableIqParams object with the ability to set a context for a request.

func NewDisableIqParamsWithHTTPClient

func NewDisableIqParamsWithHTTPClient(client *http.Client) *DisableIqParams

NewDisableIqParamsWithHTTPClient creates a new DisableIqParams object with the ability to set a custom HTTPClient for a request.

func NewDisableIqParamsWithTimeout

func NewDisableIqParamsWithTimeout(timeout time.Duration) *DisableIqParams

NewDisableIqParamsWithTimeout creates a new DisableIqParams object with the ability to set a timeout on a request.

func (*DisableIqParams) SetContext

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

SetContext adds the context to the disable iq params

func (*DisableIqParams) SetDefaults

func (o *DisableIqParams) SetDefaults()

SetDefaults hydrates default values in the disable iq params (not the query body).

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

func (*DisableIqParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable iq params

func (*DisableIqParams) SetTimeout

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

SetTimeout adds the timeout to the disable iq params

func (*DisableIqParams) WithContext

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

WithContext adds the context to the disable iq params

func (*DisableIqParams) WithDefaults

func (o *DisableIqParams) WithDefaults() *DisableIqParams

WithDefaults hydrates default values in the disable iq params (not the query body).

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

func (*DisableIqParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the disable iq params

func (*DisableIqParams) WithTimeout

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

WithTimeout adds the timeout to the disable iq params

func (*DisableIqParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DisableIqReader

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

DisableIqReader is a Reader for the DisableIq structure.

func (*DisableIqReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnableIqBadRequest

type EnableIqBadRequest struct {
}

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

IQ server connection not configured

func NewEnableIqBadRequest

func NewEnableIqBadRequest() *EnableIqBadRequest

NewEnableIqBadRequest creates a EnableIqBadRequest with default headers values

func (*EnableIqBadRequest) Code

func (o *EnableIqBadRequest) Code() int

Code gets the status code for the enable iq bad request response

func (*EnableIqBadRequest) Error

func (o *EnableIqBadRequest) Error() string

func (*EnableIqBadRequest) IsClientError

func (o *EnableIqBadRequest) IsClientError() bool

IsClientError returns true when this enable iq bad request response has a 4xx status code

func (*EnableIqBadRequest) IsCode

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

IsCode returns true when this enable iq bad request response a status code equal to that given

func (*EnableIqBadRequest) IsRedirect

func (o *EnableIqBadRequest) IsRedirect() bool

IsRedirect returns true when this enable iq bad request response has a 3xx status code

func (*EnableIqBadRequest) IsServerError

func (o *EnableIqBadRequest) IsServerError() bool

IsServerError returns true when this enable iq bad request response has a 5xx status code

func (*EnableIqBadRequest) IsSuccess

func (o *EnableIqBadRequest) IsSuccess() bool

IsSuccess returns true when this enable iq bad request response has a 2xx status code

func (*EnableIqBadRequest) String

func (o *EnableIqBadRequest) String() string

type EnableIqNoContent

type EnableIqNoContent struct {
}

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

IQ server has been enabled

func NewEnableIqNoContent

func NewEnableIqNoContent() *EnableIqNoContent

NewEnableIqNoContent creates a EnableIqNoContent with default headers values

func (*EnableIqNoContent) Code

func (o *EnableIqNoContent) Code() int

Code gets the status code for the enable iq no content response

func (*EnableIqNoContent) Error

func (o *EnableIqNoContent) Error() string

func (*EnableIqNoContent) IsClientError

func (o *EnableIqNoContent) IsClientError() bool

IsClientError returns true when this enable iq no content response has a 4xx status code

func (*EnableIqNoContent) IsCode

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

IsCode returns true when this enable iq no content response a status code equal to that given

func (*EnableIqNoContent) IsRedirect

func (o *EnableIqNoContent) IsRedirect() bool

IsRedirect returns true when this enable iq no content response has a 3xx status code

func (*EnableIqNoContent) IsServerError

func (o *EnableIqNoContent) IsServerError() bool

IsServerError returns true when this enable iq no content response has a 5xx status code

func (*EnableIqNoContent) IsSuccess

func (o *EnableIqNoContent) IsSuccess() bool

IsSuccess returns true when this enable iq no content response has a 2xx status code

func (*EnableIqNoContent) String

func (o *EnableIqNoContent) String() string

type EnableIqParams

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

EnableIqParams contains all the parameters to send to the API endpoint

for the enable iq operation.

Typically these are written to a http.Request.

func NewEnableIqParams

func NewEnableIqParams() *EnableIqParams

NewEnableIqParams creates a new EnableIqParams 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 NewEnableIqParamsWithContext

func NewEnableIqParamsWithContext(ctx context.Context) *EnableIqParams

NewEnableIqParamsWithContext creates a new EnableIqParams object with the ability to set a context for a request.

func NewEnableIqParamsWithHTTPClient

func NewEnableIqParamsWithHTTPClient(client *http.Client) *EnableIqParams

NewEnableIqParamsWithHTTPClient creates a new EnableIqParams object with the ability to set a custom HTTPClient for a request.

func NewEnableIqParamsWithTimeout

func NewEnableIqParamsWithTimeout(timeout time.Duration) *EnableIqParams

NewEnableIqParamsWithTimeout creates a new EnableIqParams object with the ability to set a timeout on a request.

func (*EnableIqParams) SetContext

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

SetContext adds the context to the enable iq params

func (*EnableIqParams) SetDefaults

func (o *EnableIqParams) SetDefaults()

SetDefaults hydrates default values in the enable iq params (not the query body).

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

func (*EnableIqParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable iq params

func (*EnableIqParams) SetTimeout

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

SetTimeout adds the timeout to the enable iq params

func (*EnableIqParams) WithContext

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

WithContext adds the context to the enable iq params

func (*EnableIqParams) WithDefaults

func (o *EnableIqParams) WithDefaults() *EnableIqParams

WithDefaults hydrates default values in the enable iq params (not the query body).

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

func (*EnableIqParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the enable iq params

func (*EnableIqParams) WithTimeout

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

WithTimeout adds the timeout to the enable iq params

func (*EnableIqParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EnableIqReader

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

EnableIqReader is a Reader for the EnableIq structure.

func (*EnableIqReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetConfigurationOK

type GetConfigurationOK struct {
}

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

IQ server configuration returned

func NewGetConfigurationOK

func NewGetConfigurationOK() *GetConfigurationOK

NewGetConfigurationOK creates a GetConfigurationOK with default headers values

func (*GetConfigurationOK) Code

func (o *GetConfigurationOK) Code() int

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

func (*GetConfigurationOK) Error

func (o *GetConfigurationOK) Error() string

func (*GetConfigurationOK) IsClientError

func (o *GetConfigurationOK) IsClientError() bool

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

func (*GetConfigurationOK) IsCode

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

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

func (*GetConfigurationOK) IsRedirect

func (o *GetConfigurationOK) IsRedirect() bool

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

func (*GetConfigurationOK) IsServerError

func (o *GetConfigurationOK) IsServerError() bool

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

func (*GetConfigurationOK) IsSuccess

func (o *GetConfigurationOK) IsSuccess() bool

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

func (*GetConfigurationOK) String

func (o *GetConfigurationOK) String() string

type GetConfigurationParams

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

GetConfigurationParams contains all the parameters to send to the API endpoint

for the get configuration operation.

Typically these are written to a http.Request.

func NewGetConfigurationParams

func NewGetConfigurationParams() *GetConfigurationParams

NewGetConfigurationParams creates a new GetConfigurationParams 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 NewGetConfigurationParamsWithContext

func NewGetConfigurationParamsWithContext(ctx context.Context) *GetConfigurationParams

NewGetConfigurationParamsWithContext creates a new GetConfigurationParams object with the ability to set a context for a request.

func NewGetConfigurationParamsWithHTTPClient

func NewGetConfigurationParamsWithHTTPClient(client *http.Client) *GetConfigurationParams

NewGetConfigurationParamsWithHTTPClient creates a new GetConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewGetConfigurationParamsWithTimeout

func NewGetConfigurationParamsWithTimeout(timeout time.Duration) *GetConfigurationParams

NewGetConfigurationParamsWithTimeout creates a new GetConfigurationParams object with the ability to set a timeout on a request.

func (*GetConfigurationParams) SetContext

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

SetContext adds the context to the get configuration params

func (*GetConfigurationParams) SetDefaults

func (o *GetConfigurationParams) SetDefaults()

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

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

func (*GetConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get configuration params

func (*GetConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the get configuration params

func (*GetConfigurationParams) WithContext

WithContext adds the context to the get configuration params

func (*GetConfigurationParams) WithDefaults

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

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

func (*GetConfigurationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get configuration params

func (*GetConfigurationParams) WithTimeout

WithTimeout adds the timeout to the get configuration params

func (*GetConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetConfigurationReader

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

GetConfigurationReader is a Reader for the GetConfiguration structure.

func (*GetConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateConfigurationNoContent

type UpdateConfigurationNoContent struct {
}

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

IQ server configuration has been updated

func NewUpdateConfigurationNoContent

func NewUpdateConfigurationNoContent() *UpdateConfigurationNoContent

NewUpdateConfigurationNoContent creates a UpdateConfigurationNoContent with default headers values

func (*UpdateConfigurationNoContent) Code

Code gets the status code for the update configuration no content response

func (*UpdateConfigurationNoContent) Error

func (*UpdateConfigurationNoContent) IsClientError

func (o *UpdateConfigurationNoContent) IsClientError() bool

IsClientError returns true when this update configuration no content response has a 4xx status code

func (*UpdateConfigurationNoContent) IsCode

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

IsCode returns true when this update configuration no content response a status code equal to that given

func (*UpdateConfigurationNoContent) IsRedirect

func (o *UpdateConfigurationNoContent) IsRedirect() bool

IsRedirect returns true when this update configuration no content response has a 3xx status code

func (*UpdateConfigurationNoContent) IsServerError

func (o *UpdateConfigurationNoContent) IsServerError() bool

IsServerError returns true when this update configuration no content response has a 5xx status code

func (*UpdateConfigurationNoContent) IsSuccess

func (o *UpdateConfigurationNoContent) IsSuccess() bool

IsSuccess returns true when this update configuration no content response has a 2xx status code

func (*UpdateConfigurationNoContent) String

type UpdateConfigurationParams

type UpdateConfigurationParams struct {

	// Body.
	Body *models.IqConnectionXo

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

UpdateConfigurationParams contains all the parameters to send to the API endpoint

for the update configuration operation.

Typically these are written to a http.Request.

func NewUpdateConfigurationParams

func NewUpdateConfigurationParams() *UpdateConfigurationParams

NewUpdateConfigurationParams creates a new UpdateConfigurationParams 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 NewUpdateConfigurationParamsWithContext

func NewUpdateConfigurationParamsWithContext(ctx context.Context) *UpdateConfigurationParams

NewUpdateConfigurationParamsWithContext creates a new UpdateConfigurationParams object with the ability to set a context for a request.

func NewUpdateConfigurationParamsWithHTTPClient

func NewUpdateConfigurationParamsWithHTTPClient(client *http.Client) *UpdateConfigurationParams

NewUpdateConfigurationParamsWithHTTPClient creates a new UpdateConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateConfigurationParamsWithTimeout

func NewUpdateConfigurationParamsWithTimeout(timeout time.Duration) *UpdateConfigurationParams

NewUpdateConfigurationParamsWithTimeout creates a new UpdateConfigurationParams object with the ability to set a timeout on a request.

func (*UpdateConfigurationParams) SetBody

SetBody adds the body to the update configuration params

func (*UpdateConfigurationParams) SetContext

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

SetContext adds the context to the update configuration params

func (*UpdateConfigurationParams) SetDefaults

func (o *UpdateConfigurationParams) SetDefaults()

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

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

func (*UpdateConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update configuration params

func (*UpdateConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the update configuration params

func (*UpdateConfigurationParams) WithBody

WithBody adds the body to the update configuration params

func (*UpdateConfigurationParams) WithContext

WithContext adds the context to the update configuration params

func (*UpdateConfigurationParams) WithDefaults

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

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

func (*UpdateConfigurationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update configuration params

func (*UpdateConfigurationParams) WithTimeout

WithTimeout adds the timeout to the update configuration params

func (*UpdateConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateConfigurationReader

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

UpdateConfigurationReader is a Reader for the UpdateConfiguration structure.

func (*UpdateConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VerifyConnectionOK

type VerifyConnectionOK struct {
}

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

Connection verification complete, check response body for result

func NewVerifyConnectionOK

func NewVerifyConnectionOK() *VerifyConnectionOK

NewVerifyConnectionOK creates a VerifyConnectionOK with default headers values

func (*VerifyConnectionOK) Code

func (o *VerifyConnectionOK) Code() int

Code gets the status code for the verify connection o k response

func (*VerifyConnectionOK) Error

func (o *VerifyConnectionOK) Error() string

func (*VerifyConnectionOK) IsClientError

func (o *VerifyConnectionOK) IsClientError() bool

IsClientError returns true when this verify connection o k response has a 4xx status code

func (*VerifyConnectionOK) IsCode

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

IsCode returns true when this verify connection o k response a status code equal to that given

func (*VerifyConnectionOK) IsRedirect

func (o *VerifyConnectionOK) IsRedirect() bool

IsRedirect returns true when this verify connection o k response has a 3xx status code

func (*VerifyConnectionOK) IsServerError

func (o *VerifyConnectionOK) IsServerError() bool

IsServerError returns true when this verify connection o k response has a 5xx status code

func (*VerifyConnectionOK) IsSuccess

func (o *VerifyConnectionOK) IsSuccess() bool

IsSuccess returns true when this verify connection o k response has a 2xx status code

func (*VerifyConnectionOK) String

func (o *VerifyConnectionOK) String() string

type VerifyConnectionParams

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

VerifyConnectionParams contains all the parameters to send to the API endpoint

for the verify connection operation.

Typically these are written to a http.Request.

func NewVerifyConnectionParams

func NewVerifyConnectionParams() *VerifyConnectionParams

NewVerifyConnectionParams creates a new VerifyConnectionParams 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 NewVerifyConnectionParamsWithContext

func NewVerifyConnectionParamsWithContext(ctx context.Context) *VerifyConnectionParams

NewVerifyConnectionParamsWithContext creates a new VerifyConnectionParams object with the ability to set a context for a request.

func NewVerifyConnectionParamsWithHTTPClient

func NewVerifyConnectionParamsWithHTTPClient(client *http.Client) *VerifyConnectionParams

NewVerifyConnectionParamsWithHTTPClient creates a new VerifyConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewVerifyConnectionParamsWithTimeout

func NewVerifyConnectionParamsWithTimeout(timeout time.Duration) *VerifyConnectionParams

NewVerifyConnectionParamsWithTimeout creates a new VerifyConnectionParams object with the ability to set a timeout on a request.

func (*VerifyConnectionParams) SetContext

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

SetContext adds the context to the verify connection params

func (*VerifyConnectionParams) SetDefaults

func (o *VerifyConnectionParams) SetDefaults()

SetDefaults hydrates default values in the verify connection params (not the query body).

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

func (*VerifyConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the verify connection params

func (*VerifyConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the verify connection params

func (*VerifyConnectionParams) WithContext

WithContext adds the context to the verify connection params

func (*VerifyConnectionParams) WithDefaults

WithDefaults hydrates default values in the verify connection params (not the query body).

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

func (*VerifyConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the verify connection params

func (*VerifyConnectionParams) WithTimeout

WithTimeout adds the timeout to the verify connection params

func (*VerifyConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VerifyConnectionReader

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

VerifyConnectionReader is a Reader for the VerifyConnection structure.

func (*VerifyConnectionReader) ReadResponse

func (o *VerifyConnectionReader) 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