Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateVMVlan(params *CreateVMVlanParams, opts ...ClientOption) (*CreateVMVlanOK, error)
- func (a *Client) DeleteVlan(params *DeleteVlanParams, opts ...ClientOption) (*DeleteVlanOK, error)
- func (a *Client) GetVlans(params *GetVlansParams, opts ...ClientOption) (*GetVlansOK, error)
- func (a *Client) GetVlansConnection(params *GetVlansConnectionParams, opts ...ClientOption) (*GetVlansConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateManagementVlan(params *UpdateManagementVlanParams, opts ...ClientOption) (*UpdateManagementVlanOK, error)
- func (a *Client) UpdateMigrationVlan(params *UpdateMigrationVlanParams, opts ...ClientOption) (*UpdateMigrationVlanOK, error)
- func (a *Client) UpdateVlan(params *UpdateVlanParams, opts ...ClientOption) (*UpdateVlanOK, error)
- type ClientOption
- type ClientService
- type CreateVMVlanBadRequest
- type CreateVMVlanInternalServerError
- type CreateVMVlanNotFound
- type CreateVMVlanOK
- type CreateVMVlanParams
- func (o *CreateVMVlanParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateVMVlanParams) SetContext(ctx context.Context)
- func (o *CreateVMVlanParams) SetDefaults()
- func (o *CreateVMVlanParams) SetHTTPClient(client *http.Client)
- func (o *CreateVMVlanParams) SetRequestBody(requestBody []*models.VMVlanCreationParams)
- func (o *CreateVMVlanParams) SetTimeout(timeout time.Duration)
- func (o *CreateVMVlanParams) WithContentLanguage(contentLanguage *string) *CreateVMVlanParams
- func (o *CreateVMVlanParams) WithContext(ctx context.Context) *CreateVMVlanParams
- func (o *CreateVMVlanParams) WithDefaults() *CreateVMVlanParams
- func (o *CreateVMVlanParams) WithHTTPClient(client *http.Client) *CreateVMVlanParams
- func (o *CreateVMVlanParams) WithRequestBody(requestBody []*models.VMVlanCreationParams) *CreateVMVlanParams
- func (o *CreateVMVlanParams) WithTimeout(timeout time.Duration) *CreateVMVlanParams
- func (o *CreateVMVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVMVlanReader
- type DeleteVlanBadRequest
- type DeleteVlanInternalServerError
- type DeleteVlanNotFound
- type DeleteVlanOK
- type DeleteVlanParams
- func (o *DeleteVlanParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteVlanParams) SetContext(ctx context.Context)
- func (o *DeleteVlanParams) SetDefaults()
- func (o *DeleteVlanParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVlanParams) SetRequestBody(requestBody *models.VlanDeletionParams)
- func (o *DeleteVlanParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVlanParams) WithContentLanguage(contentLanguage *string) *DeleteVlanParams
- func (o *DeleteVlanParams) WithContext(ctx context.Context) *DeleteVlanParams
- func (o *DeleteVlanParams) WithDefaults() *DeleteVlanParams
- func (o *DeleteVlanParams) WithHTTPClient(client *http.Client) *DeleteVlanParams
- func (o *DeleteVlanParams) WithRequestBody(requestBody *models.VlanDeletionParams) *DeleteVlanParams
- func (o *DeleteVlanParams) WithTimeout(timeout time.Duration) *DeleteVlanParams
- func (o *DeleteVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVlanReader
- type GetVlansBadRequest
- type GetVlansConnectionBadRequest
- type GetVlansConnectionInternalServerError
- type GetVlansConnectionNotFound
- type GetVlansConnectionOK
- type GetVlansConnectionParams
- func NewGetVlansConnectionParams() *GetVlansConnectionParams
- func NewGetVlansConnectionParamsWithContext(ctx context.Context) *GetVlansConnectionParams
- func NewGetVlansConnectionParamsWithHTTPClient(client *http.Client) *GetVlansConnectionParams
- func NewGetVlansConnectionParamsWithTimeout(timeout time.Duration) *GetVlansConnectionParams
- func (o *GetVlansConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVlansConnectionParams) SetContext(ctx context.Context)
- func (o *GetVlansConnectionParams) SetDefaults()
- func (o *GetVlansConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVlansConnectionParams) SetRequestBody(requestBody *models.GetVlansConnectionRequestBody)
- func (o *GetVlansConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVlansConnectionParams) WithContentLanguage(contentLanguage *string) *GetVlansConnectionParams
- func (o *GetVlansConnectionParams) WithContext(ctx context.Context) *GetVlansConnectionParams
- func (o *GetVlansConnectionParams) WithDefaults() *GetVlansConnectionParams
- func (o *GetVlansConnectionParams) WithHTTPClient(client *http.Client) *GetVlansConnectionParams
- func (o *GetVlansConnectionParams) WithRequestBody(requestBody *models.GetVlansConnectionRequestBody) *GetVlansConnectionParams
- func (o *GetVlansConnectionParams) WithTimeout(timeout time.Duration) *GetVlansConnectionParams
- func (o *GetVlansConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVlansConnectionReader
- type GetVlansInternalServerError
- type GetVlansNotFound
- type GetVlansOK
- type GetVlansParams
- func (o *GetVlansParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVlansParams) SetContext(ctx context.Context)
- func (o *GetVlansParams) SetDefaults()
- func (o *GetVlansParams) SetHTTPClient(client *http.Client)
- func (o *GetVlansParams) SetRequestBody(requestBody *models.GetVlansRequestBody)
- func (o *GetVlansParams) SetTimeout(timeout time.Duration)
- func (o *GetVlansParams) WithContentLanguage(contentLanguage *string) *GetVlansParams
- func (o *GetVlansParams) WithContext(ctx context.Context) *GetVlansParams
- func (o *GetVlansParams) WithDefaults() *GetVlansParams
- func (o *GetVlansParams) WithHTTPClient(client *http.Client) *GetVlansParams
- func (o *GetVlansParams) WithRequestBody(requestBody *models.GetVlansRequestBody) *GetVlansParams
- func (o *GetVlansParams) WithTimeout(timeout time.Duration) *GetVlansParams
- func (o *GetVlansParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVlansReader
- type UpdateManagementVlanBadRequest
- type UpdateManagementVlanInternalServerError
- type UpdateManagementVlanNotFound
- type UpdateManagementVlanOK
- type UpdateManagementVlanParams
- func NewUpdateManagementVlanParams() *UpdateManagementVlanParams
- func NewUpdateManagementVlanParamsWithContext(ctx context.Context) *UpdateManagementVlanParams
- func NewUpdateManagementVlanParamsWithHTTPClient(client *http.Client) *UpdateManagementVlanParams
- func NewUpdateManagementVlanParamsWithTimeout(timeout time.Duration) *UpdateManagementVlanParams
- func (o *UpdateManagementVlanParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateManagementVlanParams) SetContext(ctx context.Context)
- func (o *UpdateManagementVlanParams) SetDefaults()
- func (o *UpdateManagementVlanParams) SetHTTPClient(client *http.Client)
- func (o *UpdateManagementVlanParams) SetRequestBody(requestBody *models.ManagementVlanUpdationParams)
- func (o *UpdateManagementVlanParams) SetTimeout(timeout time.Duration)
- func (o *UpdateManagementVlanParams) WithContentLanguage(contentLanguage *string) *UpdateManagementVlanParams
- func (o *UpdateManagementVlanParams) WithContext(ctx context.Context) *UpdateManagementVlanParams
- func (o *UpdateManagementVlanParams) WithDefaults() *UpdateManagementVlanParams
- func (o *UpdateManagementVlanParams) WithHTTPClient(client *http.Client) *UpdateManagementVlanParams
- func (o *UpdateManagementVlanParams) WithRequestBody(requestBody *models.ManagementVlanUpdationParams) *UpdateManagementVlanParams
- func (o *UpdateManagementVlanParams) WithTimeout(timeout time.Duration) *UpdateManagementVlanParams
- func (o *UpdateManagementVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateManagementVlanReader
- type UpdateMigrationVlanBadRequest
- type UpdateMigrationVlanInternalServerError
- type UpdateMigrationVlanNotFound
- type UpdateMigrationVlanOK
- type UpdateMigrationVlanParams
- func NewUpdateMigrationVlanParams() *UpdateMigrationVlanParams
- func NewUpdateMigrationVlanParamsWithContext(ctx context.Context) *UpdateMigrationVlanParams
- func NewUpdateMigrationVlanParamsWithHTTPClient(client *http.Client) *UpdateMigrationVlanParams
- func NewUpdateMigrationVlanParamsWithTimeout(timeout time.Duration) *UpdateMigrationVlanParams
- func (o *UpdateMigrationVlanParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateMigrationVlanParams) SetContext(ctx context.Context)
- func (o *UpdateMigrationVlanParams) SetDefaults()
- func (o *UpdateMigrationVlanParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMigrationVlanParams) SetRequestBody(requestBody *models.MigrationVlanUpdationParams)
- func (o *UpdateMigrationVlanParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMigrationVlanParams) WithContentLanguage(contentLanguage *string) *UpdateMigrationVlanParams
- func (o *UpdateMigrationVlanParams) WithContext(ctx context.Context) *UpdateMigrationVlanParams
- func (o *UpdateMigrationVlanParams) WithDefaults() *UpdateMigrationVlanParams
- func (o *UpdateMigrationVlanParams) WithHTTPClient(client *http.Client) *UpdateMigrationVlanParams
- func (o *UpdateMigrationVlanParams) WithRequestBody(requestBody *models.MigrationVlanUpdationParams) *UpdateMigrationVlanParams
- func (o *UpdateMigrationVlanParams) WithTimeout(timeout time.Duration) *UpdateMigrationVlanParams
- func (o *UpdateMigrationVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMigrationVlanReader
- type UpdateVlanBadRequest
- type UpdateVlanInternalServerError
- type UpdateVlanNotFound
- type UpdateVlanOK
- type UpdateVlanParams
- func (o *UpdateVlanParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVlanParams) SetContext(ctx context.Context)
- func (o *UpdateVlanParams) SetDefaults()
- func (o *UpdateVlanParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVlanParams) SetRequestBody(requestBody *models.VMVlanUpdationParams)
- func (o *UpdateVlanParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVlanParams) WithContentLanguage(contentLanguage *string) *UpdateVlanParams
- func (o *UpdateVlanParams) WithContext(ctx context.Context) *UpdateVlanParams
- func (o *UpdateVlanParams) WithDefaults() *UpdateVlanParams
- func (o *UpdateVlanParams) WithHTTPClient(client *http.Client) *UpdateVlanParams
- func (o *UpdateVlanParams) WithRequestBody(requestBody *models.VMVlanUpdationParams) *UpdateVlanParams
- func (o *UpdateVlanParams) WithTimeout(timeout time.Duration) *UpdateVlanParams
- func (o *UpdateVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVlanReader
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 ¶
CreateVMVlanBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type CreateVMVlanInternalServerError ¶
CreateVMVlanInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCreateVMVlanInternalServerError ¶
func NewCreateVMVlanInternalServerError() *CreateVMVlanInternalServerError
NewCreateVMVlanInternalServerError creates a CreateVMVlanInternalServerError with default headers values
func (*CreateVMVlanInternalServerError) Error ¶
func (o *CreateVMVlanInternalServerError) Error() string
func (*CreateVMVlanInternalServerError) GetPayload ¶
func (o *CreateVMVlanInternalServerError) GetPayload() *models.ErrorBody
type CreateVMVlanNotFound ¶
CreateVMVlanNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateVMVlanNotFound ¶
func NewCreateVMVlanNotFound() *CreateVMVlanNotFound
NewCreateVMVlanNotFound creates a CreateVMVlanNotFound with default headers values
func (*CreateVMVlanNotFound) Error ¶
func (o *CreateVMVlanNotFound) Error() string
func (*CreateVMVlanNotFound) GetPayload ¶
func (o *CreateVMVlanNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *CreateVMVlanParams) WithContext(ctx context.Context) *CreateVMVlanParams
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 ¶
DeleteVlanBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type DeleteVlanInternalServerError ¶
DeleteVlanInternalServerError describes a response with status code 500, with default header values.
Server error
func NewDeleteVlanInternalServerError ¶
func NewDeleteVlanInternalServerError() *DeleteVlanInternalServerError
NewDeleteVlanInternalServerError creates a DeleteVlanInternalServerError with default headers values
func (*DeleteVlanInternalServerError) Error ¶
func (o *DeleteVlanInternalServerError) Error() string
func (*DeleteVlanInternalServerError) GetPayload ¶
func (o *DeleteVlanInternalServerError) GetPayload() *models.ErrorBody
type DeleteVlanNotFound ¶
DeleteVlanNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteVlanNotFound ¶
func NewDeleteVlanNotFound() *DeleteVlanNotFound
NewDeleteVlanNotFound creates a DeleteVlanNotFound with default headers values
func (*DeleteVlanNotFound) Error ¶
func (o *DeleteVlanNotFound) Error() string
func (*DeleteVlanNotFound) GetPayload ¶
func (o *DeleteVlanNotFound) GetPayload() *models.ErrorBody
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 ¶
GetVlansBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type GetVlansConnectionBadRequest ¶
GetVlansConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetVlansConnectionBadRequest ¶
func NewGetVlansConnectionBadRequest() *GetVlansConnectionBadRequest
NewGetVlansConnectionBadRequest creates a GetVlansConnectionBadRequest with default headers values
func (*GetVlansConnectionBadRequest) Error ¶
func (o *GetVlansConnectionBadRequest) Error() string
func (*GetVlansConnectionBadRequest) GetPayload ¶
func (o *GetVlansConnectionBadRequest) GetPayload() *models.ErrorBody
type GetVlansConnectionInternalServerError ¶
GetVlansConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVlansConnectionInternalServerError ¶
func NewGetVlansConnectionInternalServerError() *GetVlansConnectionInternalServerError
NewGetVlansConnectionInternalServerError creates a GetVlansConnectionInternalServerError with default headers values
func (*GetVlansConnectionInternalServerError) Error ¶
func (o *GetVlansConnectionInternalServerError) Error() string
func (*GetVlansConnectionInternalServerError) GetPayload ¶
func (o *GetVlansConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetVlansConnectionNotFound ¶
GetVlansConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVlansConnectionNotFound ¶
func NewGetVlansConnectionNotFound() *GetVlansConnectionNotFound
NewGetVlansConnectionNotFound creates a GetVlansConnectionNotFound with default headers values
func (*GetVlansConnectionNotFound) Error ¶
func (o *GetVlansConnectionNotFound) Error() string
func (*GetVlansConnectionNotFound) GetPayload ¶
func (o *GetVlansConnectionNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *GetVlansConnectionParams) WithContext(ctx context.Context) *GetVlansConnectionParams
WithContext adds the context to the get vlans connection params
func (*GetVlansConnectionParams) WithDefaults ¶
func (o *GetVlansConnectionParams) WithDefaults() *GetVlansConnectionParams
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 ¶
func (o *GetVlansConnectionParams) WithRequestBody(requestBody *models.GetVlansConnectionRequestBody) *GetVlansConnectionParams
WithRequestBody adds the requestBody to the get vlans connection params
func (*GetVlansConnectionParams) WithTimeout ¶
func (o *GetVlansConnectionParams) WithTimeout(timeout time.Duration) *GetVlansConnectionParams
WithTimeout adds the timeout to the get vlans connection params
func (*GetVlansConnectionParams) WriteToRequest ¶
func (o *GetVlansConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 GetVlansInternalServerError ¶
GetVlansInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetVlansInternalServerError ¶
func NewGetVlansInternalServerError() *GetVlansInternalServerError
NewGetVlansInternalServerError creates a GetVlansInternalServerError with default headers values
func (*GetVlansInternalServerError) Error ¶
func (o *GetVlansInternalServerError) Error() string
func (*GetVlansInternalServerError) GetPayload ¶
func (o *GetVlansInternalServerError) GetPayload() *models.ErrorBody
type GetVlansNotFound ¶
GetVlansNotFound describes a response with status code 404, with default header values.
Not found
func NewGetVlansNotFound ¶
func NewGetVlansNotFound() *GetVlansNotFound
NewGetVlansNotFound creates a GetVlansNotFound with default headers values
func (*GetVlansNotFound) Error ¶
func (o *GetVlansNotFound) Error() string
func (*GetVlansNotFound) GetPayload ¶
func (o *GetVlansNotFound) GetPayload() *models.ErrorBody
type GetVlansOK ¶
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 ¶
UpdateManagementVlanBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateManagementVlanBadRequest ¶
func NewUpdateManagementVlanBadRequest() *UpdateManagementVlanBadRequest
NewUpdateManagementVlanBadRequest creates a UpdateManagementVlanBadRequest with default headers values
func (*UpdateManagementVlanBadRequest) Error ¶
func (o *UpdateManagementVlanBadRequest) Error() string
func (*UpdateManagementVlanBadRequest) GetPayload ¶
func (o *UpdateManagementVlanBadRequest) GetPayload() *models.ErrorBody
type UpdateManagementVlanInternalServerError ¶
UpdateManagementVlanInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateManagementVlanInternalServerError ¶
func NewUpdateManagementVlanInternalServerError() *UpdateManagementVlanInternalServerError
NewUpdateManagementVlanInternalServerError creates a UpdateManagementVlanInternalServerError with default headers values
func (*UpdateManagementVlanInternalServerError) Error ¶
func (o *UpdateManagementVlanInternalServerError) Error() string
func (*UpdateManagementVlanInternalServerError) GetPayload ¶
func (o *UpdateManagementVlanInternalServerError) GetPayload() *models.ErrorBody
type UpdateManagementVlanNotFound ¶
UpdateManagementVlanNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateManagementVlanNotFound ¶
func NewUpdateManagementVlanNotFound() *UpdateManagementVlanNotFound
NewUpdateManagementVlanNotFound creates a UpdateManagementVlanNotFound with default headers values
func (*UpdateManagementVlanNotFound) Error ¶
func (o *UpdateManagementVlanNotFound) Error() string
func (*UpdateManagementVlanNotFound) GetPayload ¶
func (o *UpdateManagementVlanNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *UpdateManagementVlanParams) WithContext(ctx context.Context) *UpdateManagementVlanParams
WithContext adds the context to the update management vlan params
func (*UpdateManagementVlanParams) WithDefaults ¶
func (o *UpdateManagementVlanParams) WithDefaults() *UpdateManagementVlanParams
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 ¶
func (o *UpdateManagementVlanParams) WithHTTPClient(client *http.Client) *UpdateManagementVlanParams
WithHTTPClient adds the HTTPClient to the update management vlan params
func (*UpdateManagementVlanParams) WithRequestBody ¶
func (o *UpdateManagementVlanParams) WithRequestBody(requestBody *models.ManagementVlanUpdationParams) *UpdateManagementVlanParams
WithRequestBody adds the requestBody to the update management vlan params
func (*UpdateManagementVlanParams) WithTimeout ¶
func (o *UpdateManagementVlanParams) WithTimeout(timeout time.Duration) *UpdateManagementVlanParams
WithTimeout adds the timeout to the update management vlan params
func (*UpdateManagementVlanParams) WriteToRequest ¶
func (o *UpdateManagementVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
UpdateMigrationVlanBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateMigrationVlanBadRequest ¶
func NewUpdateMigrationVlanBadRequest() *UpdateMigrationVlanBadRequest
NewUpdateMigrationVlanBadRequest creates a UpdateMigrationVlanBadRequest with default headers values
func (*UpdateMigrationVlanBadRequest) Error ¶
func (o *UpdateMigrationVlanBadRequest) Error() string
func (*UpdateMigrationVlanBadRequest) GetPayload ¶
func (o *UpdateMigrationVlanBadRequest) GetPayload() *models.ErrorBody
type UpdateMigrationVlanInternalServerError ¶
UpdateMigrationVlanInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateMigrationVlanInternalServerError ¶
func NewUpdateMigrationVlanInternalServerError() *UpdateMigrationVlanInternalServerError
NewUpdateMigrationVlanInternalServerError creates a UpdateMigrationVlanInternalServerError with default headers values
func (*UpdateMigrationVlanInternalServerError) Error ¶
func (o *UpdateMigrationVlanInternalServerError) Error() string
func (*UpdateMigrationVlanInternalServerError) GetPayload ¶
func (o *UpdateMigrationVlanInternalServerError) GetPayload() *models.ErrorBody
type UpdateMigrationVlanNotFound ¶
UpdateMigrationVlanNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateMigrationVlanNotFound ¶
func NewUpdateMigrationVlanNotFound() *UpdateMigrationVlanNotFound
NewUpdateMigrationVlanNotFound creates a UpdateMigrationVlanNotFound with default headers values
func (*UpdateMigrationVlanNotFound) Error ¶
func (o *UpdateMigrationVlanNotFound) Error() string
func (*UpdateMigrationVlanNotFound) GetPayload ¶
func (o *UpdateMigrationVlanNotFound) GetPayload() *models.ErrorBody
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 ¶
func (o *UpdateMigrationVlanParams) WithContext(ctx context.Context) *UpdateMigrationVlanParams
WithContext adds the context to the update migration vlan params
func (*UpdateMigrationVlanParams) WithDefaults ¶
func (o *UpdateMigrationVlanParams) WithDefaults() *UpdateMigrationVlanParams
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 ¶
func (o *UpdateMigrationVlanParams) WithRequestBody(requestBody *models.MigrationVlanUpdationParams) *UpdateMigrationVlanParams
WithRequestBody adds the requestBody to the update migration vlan params
func (*UpdateMigrationVlanParams) WithTimeout ¶
func (o *UpdateMigrationVlanParams) WithTimeout(timeout time.Duration) *UpdateMigrationVlanParams
WithTimeout adds the timeout to the update migration vlan params
func (*UpdateMigrationVlanParams) WriteToRequest ¶
func (o *UpdateMigrationVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
UpdateVlanBadRequest describes a response with status code 400, with default header values.
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() *models.ErrorBody
type UpdateVlanInternalServerError ¶
UpdateVlanInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateVlanInternalServerError ¶
func NewUpdateVlanInternalServerError() *UpdateVlanInternalServerError
NewUpdateVlanInternalServerError creates a UpdateVlanInternalServerError with default headers values
func (*UpdateVlanInternalServerError) Error ¶
func (o *UpdateVlanInternalServerError) Error() string
func (*UpdateVlanInternalServerError) GetPayload ¶
func (o *UpdateVlanInternalServerError) GetPayload() *models.ErrorBody
type UpdateVlanNotFound ¶
UpdateVlanNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateVlanNotFound ¶
func NewUpdateVlanNotFound() *UpdateVlanNotFound
NewUpdateVlanNotFound creates a UpdateVlanNotFound with default headers values
func (*UpdateVlanNotFound) Error ¶
func (o *UpdateVlanNotFound) Error() string
func (*UpdateVlanNotFound) GetPayload ¶
func (o *UpdateVlanNotFound) GetPayload() *models.ErrorBody
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.
Source Files ¶
- create_vm_vlan_parameters.go
- create_vm_vlan_responses.go
- delete_vlan_parameters.go
- delete_vlan_responses.go
- get_vlans_connection_parameters.go
- get_vlans_connection_responses.go
- get_vlans_parameters.go
- get_vlans_responses.go
- update_management_vlan_parameters.go
- update_management_vlan_responses.go
- update_migration_vlan_parameters.go
- update_migration_vlan_responses.go
- update_vlan_parameters.go
- update_vlan_responses.go
- vlan_client.go