vlan

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT 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 vlan API

func (*Client) CreateVMVlan

func (a *Client) CreateVMVlan(params *CreateVMVlanParams, opts ...ClientOption) (*CreateVMVlanOK, error)

CreateVMVlan create Vm vlan API

func (*Client) DeleteVlan

func (a *Client) DeleteVlan(params *DeleteVlanParams, opts ...ClientOption) (*DeleteVlanOK, error)

DeleteVlan delete vlan API

func (*Client) GetVlans

func (a *Client) GetVlans(params *GetVlansParams, opts ...ClientOption) (*GetVlansOK, error)

GetVlans get vlans API

func (*Client) GetVlansConnection

func (a *Client) GetVlansConnection(params *GetVlansConnectionParams, opts ...ClientOption) (*GetVlansConnectionOK, error)

GetVlansConnection get vlans connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateManagementVlan

func (a *Client) UpdateManagementVlan(params *UpdateManagementVlanParams, opts ...ClientOption) (*UpdateManagementVlanOK, error)

UpdateManagementVlan update management vlan API

func (*Client) UpdateMigrationVlan

func (a *Client) UpdateMigrationVlan(params *UpdateMigrationVlanParams, opts ...ClientOption) (*UpdateMigrationVlanOK, error)

UpdateMigrationVlan update migration vlan API

func (*Client) UpdateVlan

func (a *Client) UpdateVlan(params *UpdateVlanParams, opts ...ClientOption) (*UpdateVlanOK, error)

UpdateVlan update vlan API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateVMVlan(params *CreateVMVlanParams, opts ...ClientOption) (*CreateVMVlanOK, error)

	DeleteVlan(params *DeleteVlanParams, opts ...ClientOption) (*DeleteVlanOK, error)

	GetVlans(params *GetVlansParams, opts ...ClientOption) (*GetVlansOK, error)

	GetVlansConnection(params *GetVlansConnectionParams, opts ...ClientOption) (*GetVlansConnectionOK, error)

	UpdateManagementVlan(params *UpdateManagementVlanParams, opts ...ClientOption) (*UpdateManagementVlanOK, error)

	UpdateMigrationVlan(params *UpdateMigrationVlanParams, opts ...ClientOption) (*UpdateMigrationVlanOK, error)

	UpdateVlan(params *UpdateVlanParams, opts ...ClientOption) (*UpdateVlanOK, 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 vlan API client.

type CreateVMVlanBadRequest

type CreateVMVlanBadRequest struct {
	Payload string
}
CreateVMVlanBadRequest describes a response with status code 400, with default header values.

CreateVMVlanBadRequest create Vm vlan bad request

func NewCreateVMVlanBadRequest

func NewCreateVMVlanBadRequest() *CreateVMVlanBadRequest

NewCreateVMVlanBadRequest creates a CreateVMVlanBadRequest with default headers values

func (*CreateVMVlanBadRequest) Error

func (o *CreateVMVlanBadRequest) Error() string

func (*CreateVMVlanBadRequest) GetPayload

func (o *CreateVMVlanBadRequest) GetPayload() string

type CreateVMVlanOK

type CreateVMVlanOK struct {
	Payload []*models.WithTaskVlan
}
CreateVMVlanOK describes a response with status code 200, with default header values.

Ok

func NewCreateVMVlanOK

func NewCreateVMVlanOK() *CreateVMVlanOK

NewCreateVMVlanOK creates a CreateVMVlanOK with default headers values

func (*CreateVMVlanOK) Error

func (o *CreateVMVlanOK) Error() string

func (*CreateVMVlanOK) GetPayload

func (o *CreateVMVlanOK) GetPayload() []*models.WithTaskVlan

type CreateVMVlanParams

type CreateVMVlanParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.VMVlanCreationParams

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

CreateVMVlanParams contains all the parameters to send to the API endpoint

for the create Vm vlan operation.

Typically these are written to a http.Request.

func NewCreateVMVlanParams

func NewCreateVMVlanParams() *CreateVMVlanParams

NewCreateVMVlanParams creates a new CreateVMVlanParams 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 NewCreateVMVlanParamsWithContext

func NewCreateVMVlanParamsWithContext(ctx context.Context) *CreateVMVlanParams

NewCreateVMVlanParamsWithContext creates a new CreateVMVlanParams object with the ability to set a context for a request.

func NewCreateVMVlanParamsWithHTTPClient

func NewCreateVMVlanParamsWithHTTPClient(client *http.Client) *CreateVMVlanParams

NewCreateVMVlanParamsWithHTTPClient creates a new CreateVMVlanParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVMVlanParamsWithTimeout

func NewCreateVMVlanParamsWithTimeout(timeout time.Duration) *CreateVMVlanParams

NewCreateVMVlanParamsWithTimeout creates a new CreateVMVlanParams object with the ability to set a timeout on a request.

func (*CreateVMVlanParams) SetContentLanguage

func (o *CreateVMVlanParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create Vm vlan params

func (*CreateVMVlanParams) SetContext

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

SetContext adds the context to the create Vm vlan params

func (*CreateVMVlanParams) SetDefaults

func (o *CreateVMVlanParams) SetDefaults()

SetDefaults hydrates default values in the create Vm vlan params (not the query body).

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

func (*CreateVMVlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create Vm vlan params

func (*CreateVMVlanParams) SetRequestBody

func (o *CreateVMVlanParams) SetRequestBody(requestBody []*models.VMVlanCreationParams)

SetRequestBody adds the requestBody to the create Vm vlan params

func (*CreateVMVlanParams) SetTimeout

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

SetTimeout adds the timeout to the create Vm vlan params

func (*CreateVMVlanParams) WithContentLanguage

func (o *CreateVMVlanParams) WithContentLanguage(contentLanguage *string) *CreateVMVlanParams

WithContentLanguage adds the contentLanguage to the create Vm vlan params

func (*CreateVMVlanParams) WithContext

WithContext adds the context to the create Vm vlan params

func (*CreateVMVlanParams) WithDefaults

func (o *CreateVMVlanParams) WithDefaults() *CreateVMVlanParams

WithDefaults hydrates default values in the create Vm vlan params (not the query body).

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

func (*CreateVMVlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create Vm vlan params

func (*CreateVMVlanParams) WithRequestBody

func (o *CreateVMVlanParams) WithRequestBody(requestBody []*models.VMVlanCreationParams) *CreateVMVlanParams

WithRequestBody adds the requestBody to the create Vm vlan params

func (*CreateVMVlanParams) WithTimeout

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

WithTimeout adds the timeout to the create Vm vlan params

func (*CreateVMVlanParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateVMVlanReader

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

CreateVMVlanReader is a Reader for the CreateVMVlan structure.

func (*CreateVMVlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteVlanBadRequest

type DeleteVlanBadRequest struct {
	Payload string
}
DeleteVlanBadRequest describes a response with status code 400, with default header values.

DeleteVlanBadRequest delete vlan bad request

func NewDeleteVlanBadRequest

func NewDeleteVlanBadRequest() *DeleteVlanBadRequest

NewDeleteVlanBadRequest creates a DeleteVlanBadRequest with default headers values

func (*DeleteVlanBadRequest) Error

func (o *DeleteVlanBadRequest) Error() string

func (*DeleteVlanBadRequest) GetPayload

func (o *DeleteVlanBadRequest) GetPayload() string

type DeleteVlanOK

type DeleteVlanOK struct {
	Payload []*models.WithTaskDeleteVlan
}
DeleteVlanOK describes a response with status code 200, with default header values.

Ok

func NewDeleteVlanOK

func NewDeleteVlanOK() *DeleteVlanOK

NewDeleteVlanOK creates a DeleteVlanOK with default headers values

func (*DeleteVlanOK) Error

func (o *DeleteVlanOK) Error() string

func (*DeleteVlanOK) GetPayload

func (o *DeleteVlanOK) GetPayload() []*models.WithTaskDeleteVlan

type DeleteVlanParams

type DeleteVlanParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VlanDeletionParams

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

DeleteVlanParams contains all the parameters to send to the API endpoint

for the delete vlan operation.

Typically these are written to a http.Request.

func NewDeleteVlanParams

func NewDeleteVlanParams() *DeleteVlanParams

NewDeleteVlanParams creates a new DeleteVlanParams 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 NewDeleteVlanParamsWithContext

func NewDeleteVlanParamsWithContext(ctx context.Context) *DeleteVlanParams

NewDeleteVlanParamsWithContext creates a new DeleteVlanParams object with the ability to set a context for a request.

func NewDeleteVlanParamsWithHTTPClient

func NewDeleteVlanParamsWithHTTPClient(client *http.Client) *DeleteVlanParams

NewDeleteVlanParamsWithHTTPClient creates a new DeleteVlanParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVlanParamsWithTimeout

func NewDeleteVlanParamsWithTimeout(timeout time.Duration) *DeleteVlanParams

NewDeleteVlanParamsWithTimeout creates a new DeleteVlanParams object with the ability to set a timeout on a request.

func (*DeleteVlanParams) SetContentLanguage

func (o *DeleteVlanParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete vlan params

func (*DeleteVlanParams) SetContext

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

SetContext adds the context to the delete vlan params

func (*DeleteVlanParams) SetDefaults

func (o *DeleteVlanParams) SetDefaults()

SetDefaults hydrates default values in the delete vlan params (not the query body).

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

func (*DeleteVlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete vlan params

func (*DeleteVlanParams) SetRequestBody

func (o *DeleteVlanParams) SetRequestBody(requestBody *models.VlanDeletionParams)

SetRequestBody adds the requestBody to the delete vlan params

func (*DeleteVlanParams) SetTimeout

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

SetTimeout adds the timeout to the delete vlan params

func (*DeleteVlanParams) WithContentLanguage

func (o *DeleteVlanParams) WithContentLanguage(contentLanguage *string) *DeleteVlanParams

WithContentLanguage adds the contentLanguage to the delete vlan params

func (*DeleteVlanParams) WithContext

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

WithContext adds the context to the delete vlan params

func (*DeleteVlanParams) WithDefaults

func (o *DeleteVlanParams) WithDefaults() *DeleteVlanParams

WithDefaults hydrates default values in the delete vlan params (not the query body).

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

func (*DeleteVlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete vlan params

func (*DeleteVlanParams) WithRequestBody

func (o *DeleteVlanParams) WithRequestBody(requestBody *models.VlanDeletionParams) *DeleteVlanParams

WithRequestBody adds the requestBody to the delete vlan params

func (*DeleteVlanParams) WithTimeout

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

WithTimeout adds the timeout to the delete vlan params

func (*DeleteVlanParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteVlanReader

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

DeleteVlanReader is a Reader for the DeleteVlan structure.

func (*DeleteVlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVlansBadRequest

type GetVlansBadRequest struct {
	Payload string
}
GetVlansBadRequest describes a response with status code 400, with default header values.

GetVlansBadRequest get vlans bad request

func NewGetVlansBadRequest

func NewGetVlansBadRequest() *GetVlansBadRequest

NewGetVlansBadRequest creates a GetVlansBadRequest with default headers values

func (*GetVlansBadRequest) Error

func (o *GetVlansBadRequest) Error() string

func (*GetVlansBadRequest) GetPayload

func (o *GetVlansBadRequest) GetPayload() string

type GetVlansConnectionBadRequest

type GetVlansConnectionBadRequest struct {
	Payload string
}
GetVlansConnectionBadRequest describes a response with status code 400, with default header values.

GetVlansConnectionBadRequest get vlans connection bad request

func NewGetVlansConnectionBadRequest

func NewGetVlansConnectionBadRequest() *GetVlansConnectionBadRequest

NewGetVlansConnectionBadRequest creates a GetVlansConnectionBadRequest with default headers values

func (*GetVlansConnectionBadRequest) Error

func (*GetVlansConnectionBadRequest) GetPayload

func (o *GetVlansConnectionBadRequest) GetPayload() string

type GetVlansConnectionOK

type GetVlansConnectionOK struct {
	Payload *models.VlanConnection
}
GetVlansConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetVlansConnectionOK

func NewGetVlansConnectionOK() *GetVlansConnectionOK

NewGetVlansConnectionOK creates a GetVlansConnectionOK with default headers values

func (*GetVlansConnectionOK) Error

func (o *GetVlansConnectionOK) Error() string

func (*GetVlansConnectionOK) GetPayload

func (o *GetVlansConnectionOK) GetPayload() *models.VlanConnection

type GetVlansConnectionParams

type GetVlansConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetVlansConnectionRequestBody

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

GetVlansConnectionParams contains all the parameters to send to the API endpoint

for the get vlans connection operation.

Typically these are written to a http.Request.

func NewGetVlansConnectionParams

func NewGetVlansConnectionParams() *GetVlansConnectionParams

NewGetVlansConnectionParams creates a new GetVlansConnectionParams 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 NewGetVlansConnectionParamsWithContext

func NewGetVlansConnectionParamsWithContext(ctx context.Context) *GetVlansConnectionParams

NewGetVlansConnectionParamsWithContext creates a new GetVlansConnectionParams object with the ability to set a context for a request.

func NewGetVlansConnectionParamsWithHTTPClient

func NewGetVlansConnectionParamsWithHTTPClient(client *http.Client) *GetVlansConnectionParams

NewGetVlansConnectionParamsWithHTTPClient creates a new GetVlansConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetVlansConnectionParamsWithTimeout

func NewGetVlansConnectionParamsWithTimeout(timeout time.Duration) *GetVlansConnectionParams

NewGetVlansConnectionParamsWithTimeout creates a new GetVlansConnectionParams object with the ability to set a timeout on a request.

func (*GetVlansConnectionParams) SetContentLanguage

func (o *GetVlansConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get vlans connection params

func (*GetVlansConnectionParams) SetContext

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

SetContext adds the context to the get vlans connection params

func (*GetVlansConnectionParams) SetDefaults

func (o *GetVlansConnectionParams) SetDefaults()

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

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

func (*GetVlansConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get vlans connection params

func (*GetVlansConnectionParams) SetRequestBody

func (o *GetVlansConnectionParams) SetRequestBody(requestBody *models.GetVlansConnectionRequestBody)

SetRequestBody adds the requestBody to the get vlans connection params

func (*GetVlansConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get vlans connection params

func (*GetVlansConnectionParams) WithContentLanguage

func (o *GetVlansConnectionParams) WithContentLanguage(contentLanguage *string) *GetVlansConnectionParams

WithContentLanguage adds the contentLanguage to the get vlans connection params

func (*GetVlansConnectionParams) WithContext

WithContext adds the context to the get vlans connection params

func (*GetVlansConnectionParams) WithDefaults

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

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

func (*GetVlansConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get vlans connection params

func (*GetVlansConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get vlans connection params

func (*GetVlansConnectionParams) WithTimeout

WithTimeout adds the timeout to the get vlans connection params

func (*GetVlansConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVlansConnectionReader

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

GetVlansConnectionReader is a Reader for the GetVlansConnection structure.

func (*GetVlansConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVlansOK

type GetVlansOK struct {
	Payload []*models.Vlan
}
GetVlansOK describes a response with status code 200, with default header values.

Ok

func NewGetVlansOK

func NewGetVlansOK() *GetVlansOK

NewGetVlansOK creates a GetVlansOK with default headers values

func (*GetVlansOK) Error

func (o *GetVlansOK) Error() string

func (*GetVlansOK) GetPayload

func (o *GetVlansOK) GetPayload() []*models.Vlan

type GetVlansParams

type GetVlansParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetVlansRequestBody

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

GetVlansParams contains all the parameters to send to the API endpoint

for the get vlans operation.

Typically these are written to a http.Request.

func NewGetVlansParams

func NewGetVlansParams() *GetVlansParams

NewGetVlansParams creates a new GetVlansParams 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 NewGetVlansParamsWithContext

func NewGetVlansParamsWithContext(ctx context.Context) *GetVlansParams

NewGetVlansParamsWithContext creates a new GetVlansParams object with the ability to set a context for a request.

func NewGetVlansParamsWithHTTPClient

func NewGetVlansParamsWithHTTPClient(client *http.Client) *GetVlansParams

NewGetVlansParamsWithHTTPClient creates a new GetVlansParams object with the ability to set a custom HTTPClient for a request.

func NewGetVlansParamsWithTimeout

func NewGetVlansParamsWithTimeout(timeout time.Duration) *GetVlansParams

NewGetVlansParamsWithTimeout creates a new GetVlansParams object with the ability to set a timeout on a request.

func (*GetVlansParams) SetContentLanguage

func (o *GetVlansParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get vlans params

func (*GetVlansParams) SetContext

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

SetContext adds the context to the get vlans params

func (*GetVlansParams) SetDefaults

func (o *GetVlansParams) SetDefaults()

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

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

func (*GetVlansParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get vlans params

func (*GetVlansParams) SetRequestBody

func (o *GetVlansParams) SetRequestBody(requestBody *models.GetVlansRequestBody)

SetRequestBody adds the requestBody to the get vlans params

func (*GetVlansParams) SetTimeout

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

SetTimeout adds the timeout to the get vlans params

func (*GetVlansParams) WithContentLanguage

func (o *GetVlansParams) WithContentLanguage(contentLanguage *string) *GetVlansParams

WithContentLanguage adds the contentLanguage to the get vlans params

func (*GetVlansParams) WithContext

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

WithContext adds the context to the get vlans params

func (*GetVlansParams) WithDefaults

func (o *GetVlansParams) WithDefaults() *GetVlansParams

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

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

func (*GetVlansParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get vlans params

func (*GetVlansParams) WithRequestBody

func (o *GetVlansParams) WithRequestBody(requestBody *models.GetVlansRequestBody) *GetVlansParams

WithRequestBody adds the requestBody to the get vlans params

func (*GetVlansParams) WithTimeout

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

WithTimeout adds the timeout to the get vlans params

func (*GetVlansParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetVlansReader

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

GetVlansReader is a Reader for the GetVlans structure.

func (*GetVlansReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateManagementVlanBadRequest

type UpdateManagementVlanBadRequest struct {
	Payload string
}
UpdateManagementVlanBadRequest describes a response with status code 400, with default header values.

UpdateManagementVlanBadRequest update management vlan bad request

func NewUpdateManagementVlanBadRequest

func NewUpdateManagementVlanBadRequest() *UpdateManagementVlanBadRequest

NewUpdateManagementVlanBadRequest creates a UpdateManagementVlanBadRequest with default headers values

func (*UpdateManagementVlanBadRequest) Error

func (*UpdateManagementVlanBadRequest) GetPayload

func (o *UpdateManagementVlanBadRequest) GetPayload() string

type UpdateManagementVlanOK

type UpdateManagementVlanOK struct {
	Payload []*models.WithTaskVlan
}
UpdateManagementVlanOK describes a response with status code 200, with default header values.

Ok

func NewUpdateManagementVlanOK

func NewUpdateManagementVlanOK() *UpdateManagementVlanOK

NewUpdateManagementVlanOK creates a UpdateManagementVlanOK with default headers values

func (*UpdateManagementVlanOK) Error

func (o *UpdateManagementVlanOK) Error() string

func (*UpdateManagementVlanOK) GetPayload

func (o *UpdateManagementVlanOK) GetPayload() []*models.WithTaskVlan

type UpdateManagementVlanParams

type UpdateManagementVlanParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.ManagementVlanUpdationParams

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

UpdateManagementVlanParams contains all the parameters to send to the API endpoint

for the update management vlan operation.

Typically these are written to a http.Request.

func NewUpdateManagementVlanParams

func NewUpdateManagementVlanParams() *UpdateManagementVlanParams

NewUpdateManagementVlanParams creates a new UpdateManagementVlanParams 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 NewUpdateManagementVlanParamsWithContext

func NewUpdateManagementVlanParamsWithContext(ctx context.Context) *UpdateManagementVlanParams

NewUpdateManagementVlanParamsWithContext creates a new UpdateManagementVlanParams object with the ability to set a context for a request.

func NewUpdateManagementVlanParamsWithHTTPClient

func NewUpdateManagementVlanParamsWithHTTPClient(client *http.Client) *UpdateManagementVlanParams

NewUpdateManagementVlanParamsWithHTTPClient creates a new UpdateManagementVlanParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateManagementVlanParamsWithTimeout

func NewUpdateManagementVlanParamsWithTimeout(timeout time.Duration) *UpdateManagementVlanParams

NewUpdateManagementVlanParamsWithTimeout creates a new UpdateManagementVlanParams object with the ability to set a timeout on a request.

func (*UpdateManagementVlanParams) SetContentLanguage

func (o *UpdateManagementVlanParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update management vlan params

func (*UpdateManagementVlanParams) SetContext

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

SetContext adds the context to the update management vlan params

func (*UpdateManagementVlanParams) SetDefaults

func (o *UpdateManagementVlanParams) SetDefaults()

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

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

func (*UpdateManagementVlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update management vlan params

func (*UpdateManagementVlanParams) SetRequestBody

func (o *UpdateManagementVlanParams) SetRequestBody(requestBody *models.ManagementVlanUpdationParams)

SetRequestBody adds the requestBody to the update management vlan params

func (*UpdateManagementVlanParams) SetTimeout

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

SetTimeout adds the timeout to the update management vlan params

func (*UpdateManagementVlanParams) WithContentLanguage

func (o *UpdateManagementVlanParams) WithContentLanguage(contentLanguage *string) *UpdateManagementVlanParams

WithContentLanguage adds the contentLanguage to the update management vlan params

func (*UpdateManagementVlanParams) WithContext

WithContext adds the context to the update management vlan params

func (*UpdateManagementVlanParams) WithDefaults

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

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

func (*UpdateManagementVlanParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update management vlan params

func (*UpdateManagementVlanParams) WithRequestBody

WithRequestBody adds the requestBody to the update management vlan params

func (*UpdateManagementVlanParams) WithTimeout

WithTimeout adds the timeout to the update management vlan params

func (*UpdateManagementVlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateManagementVlanReader

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

UpdateManagementVlanReader is a Reader for the UpdateManagementVlan structure.

func (*UpdateManagementVlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateMigrationVlanBadRequest

type UpdateMigrationVlanBadRequest struct {
	Payload string
}
UpdateMigrationVlanBadRequest describes a response with status code 400, with default header values.

UpdateMigrationVlanBadRequest update migration vlan bad request

func NewUpdateMigrationVlanBadRequest

func NewUpdateMigrationVlanBadRequest() *UpdateMigrationVlanBadRequest

NewUpdateMigrationVlanBadRequest creates a UpdateMigrationVlanBadRequest with default headers values

func (*UpdateMigrationVlanBadRequest) Error

func (*UpdateMigrationVlanBadRequest) GetPayload

func (o *UpdateMigrationVlanBadRequest) GetPayload() string

type UpdateMigrationVlanOK

type UpdateMigrationVlanOK struct {
	Payload []*models.WithTaskVlan
}
UpdateMigrationVlanOK describes a response with status code 200, with default header values.

Ok

func NewUpdateMigrationVlanOK

func NewUpdateMigrationVlanOK() *UpdateMigrationVlanOK

NewUpdateMigrationVlanOK creates a UpdateMigrationVlanOK with default headers values

func (*UpdateMigrationVlanOK) Error

func (o *UpdateMigrationVlanOK) Error() string

func (*UpdateMigrationVlanOK) GetPayload

func (o *UpdateMigrationVlanOK) GetPayload() []*models.WithTaskVlan

type UpdateMigrationVlanParams

type UpdateMigrationVlanParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.MigrationVlanUpdationParams

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

UpdateMigrationVlanParams contains all the parameters to send to the API endpoint

for the update migration vlan operation.

Typically these are written to a http.Request.

func NewUpdateMigrationVlanParams

func NewUpdateMigrationVlanParams() *UpdateMigrationVlanParams

NewUpdateMigrationVlanParams creates a new UpdateMigrationVlanParams 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 NewUpdateMigrationVlanParamsWithContext

func NewUpdateMigrationVlanParamsWithContext(ctx context.Context) *UpdateMigrationVlanParams

NewUpdateMigrationVlanParamsWithContext creates a new UpdateMigrationVlanParams object with the ability to set a context for a request.

func NewUpdateMigrationVlanParamsWithHTTPClient

func NewUpdateMigrationVlanParamsWithHTTPClient(client *http.Client) *UpdateMigrationVlanParams

NewUpdateMigrationVlanParamsWithHTTPClient creates a new UpdateMigrationVlanParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateMigrationVlanParamsWithTimeout

func NewUpdateMigrationVlanParamsWithTimeout(timeout time.Duration) *UpdateMigrationVlanParams

NewUpdateMigrationVlanParamsWithTimeout creates a new UpdateMigrationVlanParams object with the ability to set a timeout on a request.

func (*UpdateMigrationVlanParams) SetContentLanguage

func (o *UpdateMigrationVlanParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update migration vlan params

func (*UpdateMigrationVlanParams) SetContext

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

SetContext adds the context to the update migration vlan params

func (*UpdateMigrationVlanParams) SetDefaults

func (o *UpdateMigrationVlanParams) SetDefaults()

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

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

func (*UpdateMigrationVlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update migration vlan params

func (*UpdateMigrationVlanParams) SetRequestBody

func (o *UpdateMigrationVlanParams) SetRequestBody(requestBody *models.MigrationVlanUpdationParams)

SetRequestBody adds the requestBody to the update migration vlan params

func (*UpdateMigrationVlanParams) SetTimeout

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

SetTimeout adds the timeout to the update migration vlan params

func (*UpdateMigrationVlanParams) WithContentLanguage

func (o *UpdateMigrationVlanParams) WithContentLanguage(contentLanguage *string) *UpdateMigrationVlanParams

WithContentLanguage adds the contentLanguage to the update migration vlan params

func (*UpdateMigrationVlanParams) WithContext

WithContext adds the context to the update migration vlan params

func (*UpdateMigrationVlanParams) WithDefaults

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

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

func (*UpdateMigrationVlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update migration vlan params

func (*UpdateMigrationVlanParams) WithRequestBody

WithRequestBody adds the requestBody to the update migration vlan params

func (*UpdateMigrationVlanParams) WithTimeout

WithTimeout adds the timeout to the update migration vlan params

func (*UpdateMigrationVlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateMigrationVlanReader

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

UpdateMigrationVlanReader is a Reader for the UpdateMigrationVlan structure.

func (*UpdateMigrationVlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateVlanBadRequest

type UpdateVlanBadRequest struct {
	Payload string
}
UpdateVlanBadRequest describes a response with status code 400, with default header values.

UpdateVlanBadRequest update vlan bad request

func NewUpdateVlanBadRequest

func NewUpdateVlanBadRequest() *UpdateVlanBadRequest

NewUpdateVlanBadRequest creates a UpdateVlanBadRequest with default headers values

func (*UpdateVlanBadRequest) Error

func (o *UpdateVlanBadRequest) Error() string

func (*UpdateVlanBadRequest) GetPayload

func (o *UpdateVlanBadRequest) GetPayload() string

type UpdateVlanOK

type UpdateVlanOK struct {
	Payload []*models.WithTaskVlan
}
UpdateVlanOK describes a response with status code 200, with default header values.

Ok

func NewUpdateVlanOK

func NewUpdateVlanOK() *UpdateVlanOK

NewUpdateVlanOK creates a UpdateVlanOK with default headers values

func (*UpdateVlanOK) Error

func (o *UpdateVlanOK) Error() string

func (*UpdateVlanOK) GetPayload

func (o *UpdateVlanOK) GetPayload() []*models.WithTaskVlan

type UpdateVlanParams

type UpdateVlanParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VMVlanUpdationParams

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

UpdateVlanParams contains all the parameters to send to the API endpoint

for the update vlan operation.

Typically these are written to a http.Request.

func NewUpdateVlanParams

func NewUpdateVlanParams() *UpdateVlanParams

NewUpdateVlanParams creates a new UpdateVlanParams 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 NewUpdateVlanParamsWithContext

func NewUpdateVlanParamsWithContext(ctx context.Context) *UpdateVlanParams

NewUpdateVlanParamsWithContext creates a new UpdateVlanParams object with the ability to set a context for a request.

func NewUpdateVlanParamsWithHTTPClient

func NewUpdateVlanParamsWithHTTPClient(client *http.Client) *UpdateVlanParams

NewUpdateVlanParamsWithHTTPClient creates a new UpdateVlanParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVlanParamsWithTimeout

func NewUpdateVlanParamsWithTimeout(timeout time.Duration) *UpdateVlanParams

NewUpdateVlanParamsWithTimeout creates a new UpdateVlanParams object with the ability to set a timeout on a request.

func (*UpdateVlanParams) SetContentLanguage

func (o *UpdateVlanParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update vlan params

func (*UpdateVlanParams) SetContext

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

SetContext adds the context to the update vlan params

func (*UpdateVlanParams) SetDefaults

func (o *UpdateVlanParams) SetDefaults()

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

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

func (*UpdateVlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update vlan params

func (*UpdateVlanParams) SetRequestBody

func (o *UpdateVlanParams) SetRequestBody(requestBody *models.VMVlanUpdationParams)

SetRequestBody adds the requestBody to the update vlan params

func (*UpdateVlanParams) SetTimeout

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

SetTimeout adds the timeout to the update vlan params

func (*UpdateVlanParams) WithContentLanguage

func (o *UpdateVlanParams) WithContentLanguage(contentLanguage *string) *UpdateVlanParams

WithContentLanguage adds the contentLanguage to the update vlan params

func (*UpdateVlanParams) WithContext

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

WithContext adds the context to the update vlan params

func (*UpdateVlanParams) WithDefaults

func (o *UpdateVlanParams) WithDefaults() *UpdateVlanParams

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

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

func (*UpdateVlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update vlan params

func (*UpdateVlanParams) WithRequestBody

func (o *UpdateVlanParams) WithRequestBody(requestBody *models.VMVlanUpdationParams) *UpdateVlanParams

WithRequestBody adds the requestBody to the update vlan params

func (*UpdateVlanParams) WithTimeout

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

WithTimeout adds the timeout to the update vlan params

func (*UpdateVlanParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateVlanReader

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

UpdateVlanReader is a Reader for the UpdateVlan structure.

func (*UpdateVlanReader) ReadResponse

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