Documentation
¶
Index ¶
- type Client
- func (a *Client) ListAnexiaTemplates(params *ListAnexiaTemplatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAnexiaTemplatesOK, error)
- func (a *Client) ListAnexiaTemplatesNoCredentialsV2(params *ListAnexiaTemplatesNoCredentialsV2Params, ...) (*ListAnexiaTemplatesNoCredentialsV2OK, error)
- func (a *Client) ListAnexiaVlans(params *ListAnexiaVlansParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAnexiaVlansOK, error)
- func (a *Client) ListAnexiaVlansNoCredentialsV2(params *ListAnexiaVlansNoCredentialsV2Params, ...) (*ListAnexiaVlansNoCredentialsV2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ListAnexiaTemplatesDefault
- type ListAnexiaTemplatesNoCredentialsV2Default
- type ListAnexiaTemplatesNoCredentialsV2OK
- type ListAnexiaTemplatesNoCredentialsV2Params
- func NewListAnexiaTemplatesNoCredentialsV2Params() *ListAnexiaTemplatesNoCredentialsV2Params
- func NewListAnexiaTemplatesNoCredentialsV2ParamsWithContext(ctx context.Context) *ListAnexiaTemplatesNoCredentialsV2Params
- func NewListAnexiaTemplatesNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListAnexiaTemplatesNoCredentialsV2Params
- func NewListAnexiaTemplatesNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListAnexiaTemplatesNoCredentialsV2Params
- func (o *ListAnexiaTemplatesNoCredentialsV2Params) SetClusterID(clusterID string)
- func (o *ListAnexiaTemplatesNoCredentialsV2Params) SetContext(ctx context.Context)
- func (o *ListAnexiaTemplatesNoCredentialsV2Params) SetDefaults()
- func (o *ListAnexiaTemplatesNoCredentialsV2Params) SetHTTPClient(client *http.Client)
- func (o *ListAnexiaTemplatesNoCredentialsV2Params) SetProjectID(projectID string)
- func (o *ListAnexiaTemplatesNoCredentialsV2Params) SetTimeout(timeout time.Duration)
- func (o *ListAnexiaTemplatesNoCredentialsV2Params) WithClusterID(clusterID string) *ListAnexiaTemplatesNoCredentialsV2Params
- func (o *ListAnexiaTemplatesNoCredentialsV2Params) WithContext(ctx context.Context) *ListAnexiaTemplatesNoCredentialsV2Params
- func (o *ListAnexiaTemplatesNoCredentialsV2Params) WithDefaults() *ListAnexiaTemplatesNoCredentialsV2Params
- func (o *ListAnexiaTemplatesNoCredentialsV2Params) WithHTTPClient(client *http.Client) *ListAnexiaTemplatesNoCredentialsV2Params
- func (o *ListAnexiaTemplatesNoCredentialsV2Params) WithProjectID(projectID string) *ListAnexiaTemplatesNoCredentialsV2Params
- func (o *ListAnexiaTemplatesNoCredentialsV2Params) WithTimeout(timeout time.Duration) *ListAnexiaTemplatesNoCredentialsV2Params
- func (o *ListAnexiaTemplatesNoCredentialsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAnexiaTemplatesNoCredentialsV2Reader
- type ListAnexiaTemplatesOK
- type ListAnexiaTemplatesParams
- func NewListAnexiaTemplatesParams() *ListAnexiaTemplatesParams
- func NewListAnexiaTemplatesParamsWithContext(ctx context.Context) *ListAnexiaTemplatesParams
- func NewListAnexiaTemplatesParamsWithHTTPClient(client *http.Client) *ListAnexiaTemplatesParams
- func NewListAnexiaTemplatesParamsWithTimeout(timeout time.Duration) *ListAnexiaTemplatesParams
- func (o *ListAnexiaTemplatesParams) SetContext(ctx context.Context)
- func (o *ListAnexiaTemplatesParams) SetCredential(credential *string)
- func (o *ListAnexiaTemplatesParams) SetDefaults()
- func (o *ListAnexiaTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *ListAnexiaTemplatesParams) SetLocation(location *string)
- func (o *ListAnexiaTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *ListAnexiaTemplatesParams) SetToken(token *string)
- func (o *ListAnexiaTemplatesParams) WithContext(ctx context.Context) *ListAnexiaTemplatesParams
- func (o *ListAnexiaTemplatesParams) WithCredential(credential *string) *ListAnexiaTemplatesParams
- func (o *ListAnexiaTemplatesParams) WithDefaults() *ListAnexiaTemplatesParams
- func (o *ListAnexiaTemplatesParams) WithHTTPClient(client *http.Client) *ListAnexiaTemplatesParams
- func (o *ListAnexiaTemplatesParams) WithLocation(location *string) *ListAnexiaTemplatesParams
- func (o *ListAnexiaTemplatesParams) WithTimeout(timeout time.Duration) *ListAnexiaTemplatesParams
- func (o *ListAnexiaTemplatesParams) WithToken(token *string) *ListAnexiaTemplatesParams
- func (o *ListAnexiaTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAnexiaTemplatesReader
- type ListAnexiaVlansDefault
- type ListAnexiaVlansNoCredentialsV2Default
- type ListAnexiaVlansNoCredentialsV2OK
- type ListAnexiaVlansNoCredentialsV2Params
- func NewListAnexiaVlansNoCredentialsV2Params() *ListAnexiaVlansNoCredentialsV2Params
- func NewListAnexiaVlansNoCredentialsV2ParamsWithContext(ctx context.Context) *ListAnexiaVlansNoCredentialsV2Params
- func NewListAnexiaVlansNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListAnexiaVlansNoCredentialsV2Params
- func NewListAnexiaVlansNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListAnexiaVlansNoCredentialsV2Params
- func (o *ListAnexiaVlansNoCredentialsV2Params) SetClusterID(clusterID string)
- func (o *ListAnexiaVlansNoCredentialsV2Params) SetContext(ctx context.Context)
- func (o *ListAnexiaVlansNoCredentialsV2Params) SetDefaults()
- func (o *ListAnexiaVlansNoCredentialsV2Params) SetHTTPClient(client *http.Client)
- func (o *ListAnexiaVlansNoCredentialsV2Params) SetProjectID(projectID string)
- func (o *ListAnexiaVlansNoCredentialsV2Params) SetTimeout(timeout time.Duration)
- func (o *ListAnexiaVlansNoCredentialsV2Params) WithClusterID(clusterID string) *ListAnexiaVlansNoCredentialsV2Params
- func (o *ListAnexiaVlansNoCredentialsV2Params) WithContext(ctx context.Context) *ListAnexiaVlansNoCredentialsV2Params
- func (o *ListAnexiaVlansNoCredentialsV2Params) WithDefaults() *ListAnexiaVlansNoCredentialsV2Params
- func (o *ListAnexiaVlansNoCredentialsV2Params) WithHTTPClient(client *http.Client) *ListAnexiaVlansNoCredentialsV2Params
- func (o *ListAnexiaVlansNoCredentialsV2Params) WithProjectID(projectID string) *ListAnexiaVlansNoCredentialsV2Params
- func (o *ListAnexiaVlansNoCredentialsV2Params) WithTimeout(timeout time.Duration) *ListAnexiaVlansNoCredentialsV2Params
- func (o *ListAnexiaVlansNoCredentialsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAnexiaVlansNoCredentialsV2Reader
- type ListAnexiaVlansOK
- type ListAnexiaVlansParams
- func NewListAnexiaVlansParams() *ListAnexiaVlansParams
- func NewListAnexiaVlansParamsWithContext(ctx context.Context) *ListAnexiaVlansParams
- func NewListAnexiaVlansParamsWithHTTPClient(client *http.Client) *ListAnexiaVlansParams
- func NewListAnexiaVlansParamsWithTimeout(timeout time.Duration) *ListAnexiaVlansParams
- func (o *ListAnexiaVlansParams) SetContext(ctx context.Context)
- func (o *ListAnexiaVlansParams) SetCredential(credential *string)
- func (o *ListAnexiaVlansParams) SetDefaults()
- func (o *ListAnexiaVlansParams) SetHTTPClient(client *http.Client)
- func (o *ListAnexiaVlansParams) SetTimeout(timeout time.Duration)
- func (o *ListAnexiaVlansParams) SetToken(token *string)
- func (o *ListAnexiaVlansParams) WithContext(ctx context.Context) *ListAnexiaVlansParams
- func (o *ListAnexiaVlansParams) WithCredential(credential *string) *ListAnexiaVlansParams
- func (o *ListAnexiaVlansParams) WithDefaults() *ListAnexiaVlansParams
- func (o *ListAnexiaVlansParams) WithHTTPClient(client *http.Client) *ListAnexiaVlansParams
- func (o *ListAnexiaVlansParams) WithTimeout(timeout time.Duration) *ListAnexiaVlansParams
- func (o *ListAnexiaVlansParams) WithToken(token *string) *ListAnexiaVlansParams
- func (o *ListAnexiaVlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAnexiaVlansReader
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 (o *ListAnexiaTemplatesDefault) Error() string
func (*ListAnexiaTemplatesDefault) GetPayload ¶
func (o *ListAnexiaTemplatesDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *ListAnexiaTemplatesNoCredentialsV2Default) Code() int
Code gets the status code for the list anexia templates no credentials v2 default response
func (*ListAnexiaTemplatesNoCredentialsV2Default) Error ¶
func (o *ListAnexiaTemplatesNoCredentialsV2Default) Error() string
func (*ListAnexiaTemplatesNoCredentialsV2Default) GetPayload ¶
func (o *ListAnexiaTemplatesNoCredentialsV2Default) GetPayload() *models.ErrorResponse
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 (o *ListAnexiaTemplatesNoCredentialsV2OK) Error() string
func (*ListAnexiaTemplatesNoCredentialsV2OK) GetPayload ¶
func (o *ListAnexiaTemplatesNoCredentialsV2OK) GetPayload() models.AnexiaTemplateList
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 ¶
func (o *ListAnexiaTemplatesNoCredentialsV2Params) SetContext(ctx context.Context)
SetContext adds the context to the list anexia templates no credentials v2 params
func (*ListAnexiaTemplatesNoCredentialsV2Params) SetDefaults ¶ added in v2.18.0
func (o *ListAnexiaTemplatesNoCredentialsV2Params) SetDefaults()
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 ¶
func (o *ListAnexiaTemplatesNoCredentialsV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list anexia templates no credentials v2 params
func (*ListAnexiaTemplatesNoCredentialsV2Params) WithClusterID ¶
func (o *ListAnexiaTemplatesNoCredentialsV2Params) WithClusterID(clusterID string) *ListAnexiaTemplatesNoCredentialsV2Params
WithClusterID adds the clusterID to the list anexia templates no credentials v2 params
func (*ListAnexiaTemplatesNoCredentialsV2Params) WithContext ¶
func (o *ListAnexiaTemplatesNoCredentialsV2Params) WithContext(ctx context.Context) *ListAnexiaTemplatesNoCredentialsV2Params
WithContext adds the context to the list anexia templates no credentials v2 params
func (*ListAnexiaTemplatesNoCredentialsV2Params) WithDefaults ¶ added in v2.18.0
func (o *ListAnexiaTemplatesNoCredentialsV2Params) WithDefaults() *ListAnexiaTemplatesNoCredentialsV2Params
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 ¶
func (o *ListAnexiaTemplatesNoCredentialsV2Params) WithHTTPClient(client *http.Client) *ListAnexiaTemplatesNoCredentialsV2Params
WithHTTPClient adds the HTTPClient to the list anexia templates no credentials v2 params
func (*ListAnexiaTemplatesNoCredentialsV2Params) WithProjectID ¶
func (o *ListAnexiaTemplatesNoCredentialsV2Params) WithProjectID(projectID string) *ListAnexiaTemplatesNoCredentialsV2Params
WithProjectID adds the projectID to the list anexia templates no credentials v2 params
func (*ListAnexiaTemplatesNoCredentialsV2Params) WithTimeout ¶
func (o *ListAnexiaTemplatesNoCredentialsV2Params) WithTimeout(timeout time.Duration) *ListAnexiaTemplatesNoCredentialsV2Params
WithTimeout adds the timeout to the list anexia templates no credentials v2 params
func (*ListAnexiaTemplatesNoCredentialsV2Params) WriteToRequest ¶
func (o *ListAnexiaTemplatesNoCredentialsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListAnexiaTemplatesOK) GetPayload() models.AnexiaTemplateList
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 ¶
func (o *ListAnexiaTemplatesParams) WithContext(ctx context.Context) *ListAnexiaTemplatesParams
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
func (o *ListAnexiaTemplatesParams) WithDefaults() *ListAnexiaTemplatesParams
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 ¶
func (o *ListAnexiaTemplatesParams) WithTimeout(timeout time.Duration) *ListAnexiaTemplatesParams
WithTimeout adds the timeout to the list anexia templates params
func (*ListAnexiaTemplatesParams) WithToken ¶
func (o *ListAnexiaTemplatesParams) WithToken(token *string) *ListAnexiaTemplatesParams
WithToken adds the token to the list anexia templates params
func (*ListAnexiaTemplatesParams) WriteToRequest ¶
func (o *ListAnexiaTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListAnexiaVlansNoCredentialsV2Default) Code() int
Code gets the status code for the list anexia vlans no credentials v2 default response
func (*ListAnexiaVlansNoCredentialsV2Default) Error ¶
func (o *ListAnexiaVlansNoCredentialsV2Default) Error() string
func (*ListAnexiaVlansNoCredentialsV2Default) GetPayload ¶
func (o *ListAnexiaVlansNoCredentialsV2Default) GetPayload() *models.ErrorResponse
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 (o *ListAnexiaVlansNoCredentialsV2OK) Error() string
func (*ListAnexiaVlansNoCredentialsV2OK) GetPayload ¶
func (o *ListAnexiaVlansNoCredentialsV2OK) GetPayload() models.AnexiaVlanList
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 ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) SetContext(ctx context.Context)
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 ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) WithClusterID(clusterID string) *ListAnexiaVlansNoCredentialsV2Params
WithClusterID adds the clusterID to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) WithContext ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) WithContext(ctx context.Context) *ListAnexiaVlansNoCredentialsV2Params
WithContext adds the context to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) WithDefaults ¶ added in v2.18.0
func (o *ListAnexiaVlansNoCredentialsV2Params) WithDefaults() *ListAnexiaVlansNoCredentialsV2Params
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 ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) WithHTTPClient(client *http.Client) *ListAnexiaVlansNoCredentialsV2Params
WithHTTPClient adds the HTTPClient to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) WithProjectID ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) WithProjectID(projectID string) *ListAnexiaVlansNoCredentialsV2Params
WithProjectID adds the projectID to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) WithTimeout ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) WithTimeout(timeout time.Duration) *ListAnexiaVlansNoCredentialsV2Params
WithTimeout adds the timeout to the list anexia vlans no credentials v2 params
func (*ListAnexiaVlansNoCredentialsV2Params) WriteToRequest ¶
func (o *ListAnexiaVlansNoCredentialsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListAnexiaVlansParams) WithContext(ctx context.Context) *ListAnexiaVlansParams
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.
Source Files
¶
- anexia_client.go
- list_anexia_templates_no_credentials_v2_parameters.go
- list_anexia_templates_no_credentials_v2_responses.go
- list_anexia_templates_parameters.go
- list_anexia_templates_responses.go
- list_anexia_vlans_no_credentials_v2_parameters.go
- list_anexia_vlans_no_credentials_v2_responses.go
- list_anexia_vlans_parameters.go
- list_anexia_vlans_responses.go