anexia

package
v2.17.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 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) ListAnexiaVlans

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

ListAnexiaVlans Lists vlans from anexia

func (*Client) ListAnexiaVlansNoCredentialsV2

func (a *Client) ListAnexiaVlansNoCredentialsV2(params *ListAnexiaVlansNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter) (*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 ClientService

type ClientService interface {
	ListAnexiaVlans(params *ListAnexiaVlansParams, authInfo runtime.ClientAuthInfoWriter) (*ListAnexiaVlansOK, error)

	ListAnexiaVlansNoCredentialsV2(params *ListAnexiaVlansNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter) (*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 ListAnexiaVlansDefault

type ListAnexiaVlansDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListAnexiaVlansDefault handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewListAnexiaVlansNoCredentialsV2ParamsWithContext

func NewListAnexiaVlansNoCredentialsV2ParamsWithContext(ctx context.Context) *ListAnexiaVlansNoCredentialsV2Params

NewListAnexiaVlansNoCredentialsV2ParamsWithContext creates a new ListAnexiaVlansNoCredentialsV2Params object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 values initialized.

func NewListAnexiaVlansParamsWithContext

func NewListAnexiaVlansParamsWithContext(ctx context.Context) *ListAnexiaVlansParams

NewListAnexiaVlansParamsWithContext creates a new ListAnexiaVlansParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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