anexia

package
v2.21.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for anexia API

func (*Client) ListAnexiaTemplates

func (a *Client) ListAnexiaTemplates(params *ListAnexiaTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAnexiaTemplatesOK, error)

ListAnexiaTemplates Lists templates from anexia

func (*Client) ListAnexiaTemplatesNoCredentialsV2

func (a *Client) ListAnexiaTemplatesNoCredentialsV2(params *ListAnexiaTemplatesNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAnexiaTemplatesNoCredentialsV2OK, error)

ListAnexiaTemplatesNoCredentialsV2 Lists templates from Anexia

func (*Client) ListAnexiaVlans

func (a *Client) ListAnexiaVlans(params *ListAnexiaVlansParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAnexiaVlansOK, error)

ListAnexiaVlans Lists vlans from anexia

func (*Client) ListAnexiaVlansNoCredentialsV2

func (a *Client) ListAnexiaVlansNoCredentialsV2(params *ListAnexiaVlansNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAnexiaVlansNoCredentialsV2OK, error)

ListAnexiaVlansNoCredentialsV2 Lists vlans from Anexia

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v2.18.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ListAnexiaTemplates(params *ListAnexiaTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAnexiaTemplatesOK, error)

	ListAnexiaTemplatesNoCredentialsV2(params *ListAnexiaTemplatesNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAnexiaTemplatesNoCredentialsV2OK, error)

	ListAnexiaVlans(params *ListAnexiaVlansParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAnexiaVlansOK, error)

	ListAnexiaVlansNoCredentialsV2(params *ListAnexiaVlansNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAnexiaVlansNoCredentialsV2OK, 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 anexia API client.

type ListAnexiaTemplatesDefault

type ListAnexiaTemplatesDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListAnexiaTemplatesDefault describes a response with status code -1, with default header values.

errorResponse

func NewListAnexiaTemplatesDefault

func NewListAnexiaTemplatesDefault(code int) *ListAnexiaTemplatesDefault

NewListAnexiaTemplatesDefault creates a ListAnexiaTemplatesDefault with default headers values

func (*ListAnexiaTemplatesDefault) Code

func (o *ListAnexiaTemplatesDefault) Code() int

Code gets the status code for the list anexia templates default response

func (*ListAnexiaTemplatesDefault) Error

func (*ListAnexiaTemplatesDefault) GetPayload

type ListAnexiaTemplatesNoCredentialsV2Default

type ListAnexiaTemplatesNoCredentialsV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListAnexiaTemplatesNoCredentialsV2Default describes a response with status code -1, with default header values.

errorResponse

func NewListAnexiaTemplatesNoCredentialsV2Default

func NewListAnexiaTemplatesNoCredentialsV2Default(code int) *ListAnexiaTemplatesNoCredentialsV2Default

NewListAnexiaTemplatesNoCredentialsV2Default creates a ListAnexiaTemplatesNoCredentialsV2Default with default headers values

func (*ListAnexiaTemplatesNoCredentialsV2Default) Code

Code gets the status code for the list anexia templates no credentials v2 default response

func (*ListAnexiaTemplatesNoCredentialsV2Default) Error

func (*ListAnexiaTemplatesNoCredentialsV2Default) GetPayload

type ListAnexiaTemplatesNoCredentialsV2OK

type ListAnexiaTemplatesNoCredentialsV2OK struct {
	Payload models.AnexiaTemplateList
}
ListAnexiaTemplatesNoCredentialsV2OK describes a response with status code 200, with default header values.

AnexiaTemplateList

func NewListAnexiaTemplatesNoCredentialsV2OK

func NewListAnexiaTemplatesNoCredentialsV2OK() *ListAnexiaTemplatesNoCredentialsV2OK

NewListAnexiaTemplatesNoCredentialsV2OK creates a ListAnexiaTemplatesNoCredentialsV2OK with default headers values

func (*ListAnexiaTemplatesNoCredentialsV2OK) Error

func (*ListAnexiaTemplatesNoCredentialsV2OK) GetPayload

type ListAnexiaTemplatesNoCredentialsV2Params

type ListAnexiaTemplatesNoCredentialsV2Params struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

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

ListAnexiaTemplatesNoCredentialsV2Params contains all the parameters to send to the API endpoint

for the list anexia templates no credentials v2 operation.

Typically these are written to a http.Request.

func NewListAnexiaTemplatesNoCredentialsV2Params

func NewListAnexiaTemplatesNoCredentialsV2Params() *ListAnexiaTemplatesNoCredentialsV2Params

NewListAnexiaTemplatesNoCredentialsV2Params creates a new ListAnexiaTemplatesNoCredentialsV2Params 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 NewListAnexiaTemplatesNoCredentialsV2ParamsWithContext

func NewListAnexiaTemplatesNoCredentialsV2ParamsWithContext(ctx context.Context) *ListAnexiaTemplatesNoCredentialsV2Params

NewListAnexiaTemplatesNoCredentialsV2ParamsWithContext creates a new ListAnexiaTemplatesNoCredentialsV2Params object with the ability to set a context for a request.

func NewListAnexiaTemplatesNoCredentialsV2ParamsWithHTTPClient

func NewListAnexiaTemplatesNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListAnexiaTemplatesNoCredentialsV2Params

NewListAnexiaTemplatesNoCredentialsV2ParamsWithHTTPClient creates a new ListAnexiaTemplatesNoCredentialsV2Params object with the ability to set a custom HTTPClient for a request.

func NewListAnexiaTemplatesNoCredentialsV2ParamsWithTimeout

func NewListAnexiaTemplatesNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListAnexiaTemplatesNoCredentialsV2Params

NewListAnexiaTemplatesNoCredentialsV2ParamsWithTimeout creates a new ListAnexiaTemplatesNoCredentialsV2Params object with the ability to set a timeout on a request.

func (*ListAnexiaTemplatesNoCredentialsV2Params) SetClusterID

func (o *ListAnexiaTemplatesNoCredentialsV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list anexia templates no credentials v2 params

func (*ListAnexiaTemplatesNoCredentialsV2Params) SetContext

SetContext adds the context to the list anexia templates no credentials v2 params

func (*ListAnexiaTemplatesNoCredentialsV2Params) SetDefaults added in v2.18.0

SetDefaults hydrates default values in the list anexia templates no credentials v2 params (not the query body).

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

func (*ListAnexiaTemplatesNoCredentialsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list anexia templates no credentials v2 params

func (*ListAnexiaTemplatesNoCredentialsV2Params) SetProjectID

func (o *ListAnexiaTemplatesNoCredentialsV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the list anexia templates no credentials v2 params

func (*ListAnexiaTemplatesNoCredentialsV2Params) SetTimeout

SetTimeout adds the timeout to the list anexia templates no credentials v2 params

func (*ListAnexiaTemplatesNoCredentialsV2Params) WithClusterID

WithClusterID adds the clusterID to the list anexia templates no credentials v2 params

func (*ListAnexiaTemplatesNoCredentialsV2Params) WithContext

WithContext adds the context to the list anexia templates no credentials v2 params

func (*ListAnexiaTemplatesNoCredentialsV2Params) WithDefaults added in v2.18.0

WithDefaults hydrates default values in the list anexia templates no credentials v2 params (not the query body).

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

func (*ListAnexiaTemplatesNoCredentialsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list anexia templates no credentials v2 params

func (*ListAnexiaTemplatesNoCredentialsV2Params) WithProjectID

WithProjectID adds the projectID to the list anexia templates no credentials v2 params

func (*ListAnexiaTemplatesNoCredentialsV2Params) WithTimeout

WithTimeout adds the timeout to the list anexia templates no credentials v2 params

func (*ListAnexiaTemplatesNoCredentialsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAnexiaTemplatesNoCredentialsV2Reader

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

ListAnexiaTemplatesNoCredentialsV2Reader is a Reader for the ListAnexiaTemplatesNoCredentialsV2 structure.

func (*ListAnexiaTemplatesNoCredentialsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAnexiaTemplatesOK

type ListAnexiaTemplatesOK struct {
	Payload models.AnexiaTemplateList
}
ListAnexiaTemplatesOK describes a response with status code 200, with default header values.

AnexiaTemplateList

func NewListAnexiaTemplatesOK

func NewListAnexiaTemplatesOK() *ListAnexiaTemplatesOK

NewListAnexiaTemplatesOK creates a ListAnexiaTemplatesOK with default headers values

func (*ListAnexiaTemplatesOK) Error

func (o *ListAnexiaTemplatesOK) Error() string

func (*ListAnexiaTemplatesOK) GetPayload

type ListAnexiaTemplatesParams

type ListAnexiaTemplatesParams struct {

	// Credential.
	Credential *string

	// Location.
	Location *string

	// Token.
	Token *string

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

ListAnexiaTemplatesParams contains all the parameters to send to the API endpoint

for the list anexia templates operation.

Typically these are written to a http.Request.

func NewListAnexiaTemplatesParams

func NewListAnexiaTemplatesParams() *ListAnexiaTemplatesParams

NewListAnexiaTemplatesParams creates a new ListAnexiaTemplatesParams 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 NewListAnexiaTemplatesParamsWithContext

func NewListAnexiaTemplatesParamsWithContext(ctx context.Context) *ListAnexiaTemplatesParams

NewListAnexiaTemplatesParamsWithContext creates a new ListAnexiaTemplatesParams object with the ability to set a context for a request.

func NewListAnexiaTemplatesParamsWithHTTPClient

func NewListAnexiaTemplatesParamsWithHTTPClient(client *http.Client) *ListAnexiaTemplatesParams

NewListAnexiaTemplatesParamsWithHTTPClient creates a new ListAnexiaTemplatesParams object with the ability to set a custom HTTPClient for a request.

func NewListAnexiaTemplatesParamsWithTimeout

func NewListAnexiaTemplatesParamsWithTimeout(timeout time.Duration) *ListAnexiaTemplatesParams

NewListAnexiaTemplatesParamsWithTimeout creates a new ListAnexiaTemplatesParams object with the ability to set a timeout on a request.

func (*ListAnexiaTemplatesParams) SetContext

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

SetContext adds the context to the list anexia templates params

func (*ListAnexiaTemplatesParams) SetCredential

func (o *ListAnexiaTemplatesParams) SetCredential(credential *string)

SetCredential adds the credential to the list anexia templates params

func (*ListAnexiaTemplatesParams) SetDefaults added in v2.18.0

func (o *ListAnexiaTemplatesParams) SetDefaults()

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

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

func (*ListAnexiaTemplatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list anexia templates params

func (*ListAnexiaTemplatesParams) SetLocation

func (o *ListAnexiaTemplatesParams) SetLocation(location *string)

SetLocation adds the location to the list anexia templates params

func (*ListAnexiaTemplatesParams) SetTimeout

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

SetTimeout adds the timeout to the list anexia templates params

func (*ListAnexiaTemplatesParams) SetToken

func (o *ListAnexiaTemplatesParams) SetToken(token *string)

SetToken adds the token to the list anexia templates params

func (*ListAnexiaTemplatesParams) WithContext

WithContext adds the context to the list anexia templates params

func (*ListAnexiaTemplatesParams) WithCredential

func (o *ListAnexiaTemplatesParams) WithCredential(credential *string) *ListAnexiaTemplatesParams

WithCredential adds the credential to the list anexia templates params

func (*ListAnexiaTemplatesParams) WithDefaults added in v2.18.0

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

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

func (*ListAnexiaTemplatesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list anexia templates params

func (*ListAnexiaTemplatesParams) WithLocation

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

WithLocation adds the location to the list anexia templates params

func (*ListAnexiaTemplatesParams) WithTimeout

WithTimeout adds the timeout to the list anexia templates params

func (*ListAnexiaTemplatesParams) WithToken

WithToken adds the token to the list anexia templates params

func (*ListAnexiaTemplatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAnexiaTemplatesReader

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

ListAnexiaTemplatesReader is a Reader for the ListAnexiaTemplates structure.

func (*ListAnexiaTemplatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAnexiaVlansDefault

type ListAnexiaVlansDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListAnexiaVlansDefault describes a response with status code -1, with default header values.

errorResponse

func NewListAnexiaVlansDefault

func NewListAnexiaVlansDefault(code int) *ListAnexiaVlansDefault

NewListAnexiaVlansDefault creates a ListAnexiaVlansDefault with default headers values

func (*ListAnexiaVlansDefault) Code

func (o *ListAnexiaVlansDefault) Code() int

Code gets the status code for the list anexia vlans default response

func (*ListAnexiaVlansDefault) Error

func (o *ListAnexiaVlansDefault) Error() string

func (*ListAnexiaVlansDefault) GetPayload

func (o *ListAnexiaVlansDefault) GetPayload() *models.ErrorResponse

type ListAnexiaVlansNoCredentialsV2Default

type ListAnexiaVlansNoCredentialsV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListAnexiaVlansNoCredentialsV2Default describes a response with status code -1, with default header values.

errorResponse

func NewListAnexiaVlansNoCredentialsV2Default

func NewListAnexiaVlansNoCredentialsV2Default(code int) *ListAnexiaVlansNoCredentialsV2Default

NewListAnexiaVlansNoCredentialsV2Default creates a ListAnexiaVlansNoCredentialsV2Default with default headers values

func (*ListAnexiaVlansNoCredentialsV2Default) Code

Code gets the status code for the list anexia vlans no credentials v2 default response

func (*ListAnexiaVlansNoCredentialsV2Default) Error

func (*ListAnexiaVlansNoCredentialsV2Default) GetPayload

type ListAnexiaVlansNoCredentialsV2OK

type ListAnexiaVlansNoCredentialsV2OK struct {
	Payload models.AnexiaVlanList
}
ListAnexiaVlansNoCredentialsV2OK describes a response with status code 200, with default header values.

AnexiaVlanList

func NewListAnexiaVlansNoCredentialsV2OK

func NewListAnexiaVlansNoCredentialsV2OK() *ListAnexiaVlansNoCredentialsV2OK

NewListAnexiaVlansNoCredentialsV2OK creates a ListAnexiaVlansNoCredentialsV2OK with default headers values

func (*ListAnexiaVlansNoCredentialsV2OK) Error

func (*ListAnexiaVlansNoCredentialsV2OK) GetPayload

type ListAnexiaVlansNoCredentialsV2Params

type ListAnexiaVlansNoCredentialsV2Params struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

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

ListAnexiaVlansNoCredentialsV2Params contains all the parameters to send to the API endpoint

for the list anexia vlans no credentials v2 operation.

Typically these are written to a http.Request.

func NewListAnexiaVlansNoCredentialsV2Params

func NewListAnexiaVlansNoCredentialsV2Params() *ListAnexiaVlansNoCredentialsV2Params

NewListAnexiaVlansNoCredentialsV2Params creates a new ListAnexiaVlansNoCredentialsV2Params 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 NewListAnexiaVlansNoCredentialsV2ParamsWithContext

func NewListAnexiaVlansNoCredentialsV2ParamsWithContext(ctx context.Context) *ListAnexiaVlansNoCredentialsV2Params

NewListAnexiaVlansNoCredentialsV2ParamsWithContext creates a new ListAnexiaVlansNoCredentialsV2Params object with the ability to set a context for a request.

func NewListAnexiaVlansNoCredentialsV2ParamsWithHTTPClient

func NewListAnexiaVlansNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListAnexiaVlansNoCredentialsV2Params

NewListAnexiaVlansNoCredentialsV2ParamsWithHTTPClient creates a new ListAnexiaVlansNoCredentialsV2Params object with the ability to set a custom HTTPClient for a request.

func NewListAnexiaVlansNoCredentialsV2ParamsWithTimeout

func NewListAnexiaVlansNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListAnexiaVlansNoCredentialsV2Params

NewListAnexiaVlansNoCredentialsV2ParamsWithTimeout creates a new ListAnexiaVlansNoCredentialsV2Params object with the ability to set a timeout on a request.

func (*ListAnexiaVlansNoCredentialsV2Params) SetClusterID

func (o *ListAnexiaVlansNoCredentialsV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list anexia vlans no credentials v2 params

func (*ListAnexiaVlansNoCredentialsV2Params) SetContext

SetContext adds the context to the list anexia vlans no credentials v2 params

func (*ListAnexiaVlansNoCredentialsV2Params) SetDefaults added in v2.18.0

func (o *ListAnexiaVlansNoCredentialsV2Params) SetDefaults()

SetDefaults hydrates default values in the list anexia vlans no credentials v2 params (not the query body).

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

func (*ListAnexiaVlansNoCredentialsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list anexia vlans no credentials v2 params

func (*ListAnexiaVlansNoCredentialsV2Params) SetProjectID

func (o *ListAnexiaVlansNoCredentialsV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the list anexia vlans no credentials v2 params

func (*ListAnexiaVlansNoCredentialsV2Params) SetTimeout

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

SetTimeout adds the timeout to the list anexia vlans no credentials v2 params

func (*ListAnexiaVlansNoCredentialsV2Params) WithClusterID

WithClusterID adds the clusterID to the list anexia vlans no credentials v2 params

func (*ListAnexiaVlansNoCredentialsV2Params) WithContext

WithContext adds the context to the list anexia vlans no credentials v2 params

func (*ListAnexiaVlansNoCredentialsV2Params) WithDefaults added in v2.18.0

WithDefaults hydrates default values in the list anexia vlans no credentials v2 params (not the query body).

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

func (*ListAnexiaVlansNoCredentialsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list anexia vlans no credentials v2 params

func (*ListAnexiaVlansNoCredentialsV2Params) WithProjectID

WithProjectID adds the projectID to the list anexia vlans no credentials v2 params

func (*ListAnexiaVlansNoCredentialsV2Params) WithTimeout

WithTimeout adds the timeout to the list anexia vlans no credentials v2 params

func (*ListAnexiaVlansNoCredentialsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAnexiaVlansNoCredentialsV2Reader

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

ListAnexiaVlansNoCredentialsV2Reader is a Reader for the ListAnexiaVlansNoCredentialsV2 structure.

func (*ListAnexiaVlansNoCredentialsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAnexiaVlansOK

type ListAnexiaVlansOK struct {
	Payload models.AnexiaVlanList
}
ListAnexiaVlansOK describes a response with status code 200, with default header values.

AnexiaVlanList

func NewListAnexiaVlansOK

func NewListAnexiaVlansOK() *ListAnexiaVlansOK

NewListAnexiaVlansOK creates a ListAnexiaVlansOK with default headers values

func (*ListAnexiaVlansOK) Error

func (o *ListAnexiaVlansOK) Error() string

func (*ListAnexiaVlansOK) GetPayload

func (o *ListAnexiaVlansOK) GetPayload() models.AnexiaVlanList

type ListAnexiaVlansParams

type ListAnexiaVlansParams struct {

	// Credential.
	Credential *string

	// Token.
	Token *string

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

ListAnexiaVlansParams contains all the parameters to send to the API endpoint

for the list anexia vlans operation.

Typically these are written to a http.Request.

func NewListAnexiaVlansParams

func NewListAnexiaVlansParams() *ListAnexiaVlansParams

NewListAnexiaVlansParams creates a new ListAnexiaVlansParams 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 NewListAnexiaVlansParamsWithContext

func NewListAnexiaVlansParamsWithContext(ctx context.Context) *ListAnexiaVlansParams

NewListAnexiaVlansParamsWithContext creates a new ListAnexiaVlansParams object with the ability to set a context for a request.

func NewListAnexiaVlansParamsWithHTTPClient

func NewListAnexiaVlansParamsWithHTTPClient(client *http.Client) *ListAnexiaVlansParams

NewListAnexiaVlansParamsWithHTTPClient creates a new ListAnexiaVlansParams object with the ability to set a custom HTTPClient for a request.

func NewListAnexiaVlansParamsWithTimeout

func NewListAnexiaVlansParamsWithTimeout(timeout time.Duration) *ListAnexiaVlansParams

NewListAnexiaVlansParamsWithTimeout creates a new ListAnexiaVlansParams object with the ability to set a timeout on a request.

func (*ListAnexiaVlansParams) SetContext

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

SetContext adds the context to the list anexia vlans params

func (*ListAnexiaVlansParams) SetCredential

func (o *ListAnexiaVlansParams) SetCredential(credential *string)

SetCredential adds the credential to the list anexia vlans params

func (*ListAnexiaVlansParams) SetDefaults added in v2.18.0

func (o *ListAnexiaVlansParams) SetDefaults()

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

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

func (*ListAnexiaVlansParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list anexia vlans params

func (*ListAnexiaVlansParams) SetTimeout

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

SetTimeout adds the timeout to the list anexia vlans params

func (*ListAnexiaVlansParams) SetToken

func (o *ListAnexiaVlansParams) SetToken(token *string)

SetToken adds the token to the list anexia vlans params

func (*ListAnexiaVlansParams) WithContext

WithContext adds the context to the list anexia vlans params

func (*ListAnexiaVlansParams) WithCredential

func (o *ListAnexiaVlansParams) WithCredential(credential *string) *ListAnexiaVlansParams

WithCredential adds the credential to the list anexia vlans params

func (*ListAnexiaVlansParams) WithDefaults added in v2.18.0

func (o *ListAnexiaVlansParams) WithDefaults() *ListAnexiaVlansParams

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

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

func (*ListAnexiaVlansParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list anexia vlans params

func (*ListAnexiaVlansParams) WithTimeout

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

WithTimeout adds the timeout to the list anexia vlans params

func (*ListAnexiaVlansParams) WithToken

func (o *ListAnexiaVlansParams) WithToken(token *string) *ListAnexiaVlansParams

WithToken adds the token to the list anexia vlans params

func (*ListAnexiaVlansParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListAnexiaVlansReader

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

ListAnexiaVlansReader is a Reader for the ListAnexiaVlans structure.

func (*ListAnexiaVlansReader) ReadResponse

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