Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateVds(params *CreateVdsParams, opts ...ClientOption) (*CreateVdsOK, error)
- func (a *Client) CreateVdsWithAccessVlan(params *CreateVdsWithAccessVlanParams, opts ...ClientOption) (*CreateVdsWithAccessVlanOK, error)
- func (a *Client) CreateVdsWithMigrateVlan(params *CreateVdsWithMigrateVlanParams, opts ...ClientOption) (*CreateVdsWithMigrateVlanOK, error)
- func (a *Client) DeleteVds(params *DeleteVdsParams, opts ...ClientOption) (*DeleteVdsOK, error)
- func (a *Client) GetVdses(params *GetVdsesParams, opts ...ClientOption) (*GetVdsesOK, error)
- func (a *Client) GetVdsesConnection(params *GetVdsesConnectionParams, opts ...ClientOption) (*GetVdsesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateVds(params *UpdateVdsParams, opts ...ClientOption) (*UpdateVdsOK, error)
- type ClientOption
- type ClientService
- type CreateVdsBadRequest
- type CreateVdsOK
- type CreateVdsParams
- func (o *CreateVdsParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateVdsParams) SetContext(ctx context.Context)
- func (o *CreateVdsParams) SetDefaults()
- func (o *CreateVdsParams) SetHTTPClient(client *http.Client)
- func (o *CreateVdsParams) SetRequestBody(requestBody []*models.VdsCreationParams)
- func (o *CreateVdsParams) SetTimeout(timeout time.Duration)
- func (o *CreateVdsParams) WithContentLanguage(contentLanguage *string) *CreateVdsParams
- func (o *CreateVdsParams) WithContext(ctx context.Context) *CreateVdsParams
- func (o *CreateVdsParams) WithDefaults() *CreateVdsParams
- func (o *CreateVdsParams) WithHTTPClient(client *http.Client) *CreateVdsParams
- func (o *CreateVdsParams) WithRequestBody(requestBody []*models.VdsCreationParams) *CreateVdsParams
- func (o *CreateVdsParams) WithTimeout(timeout time.Duration) *CreateVdsParams
- func (o *CreateVdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVdsReader
- type CreateVdsWithAccessVlanBadRequest
- type CreateVdsWithAccessVlanOK
- type CreateVdsWithAccessVlanParams
- func NewCreateVdsWithAccessVlanParams() *CreateVdsWithAccessVlanParams
- func NewCreateVdsWithAccessVlanParamsWithContext(ctx context.Context) *CreateVdsWithAccessVlanParams
- func NewCreateVdsWithAccessVlanParamsWithHTTPClient(client *http.Client) *CreateVdsWithAccessVlanParams
- func NewCreateVdsWithAccessVlanParamsWithTimeout(timeout time.Duration) *CreateVdsWithAccessVlanParams
- func (o *CreateVdsWithAccessVlanParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateVdsWithAccessVlanParams) SetContext(ctx context.Context)
- func (o *CreateVdsWithAccessVlanParams) SetDefaults()
- func (o *CreateVdsWithAccessVlanParams) SetHTTPClient(client *http.Client)
- func (o *CreateVdsWithAccessVlanParams) SetRequestBody(requestBody []models.VdsCreationWithMAccessVlanParams)
- func (o *CreateVdsWithAccessVlanParams) SetTimeout(timeout time.Duration)
- func (o *CreateVdsWithAccessVlanParams) WithContentLanguage(contentLanguage *string) *CreateVdsWithAccessVlanParams
- func (o *CreateVdsWithAccessVlanParams) WithContext(ctx context.Context) *CreateVdsWithAccessVlanParams
- func (o *CreateVdsWithAccessVlanParams) WithDefaults() *CreateVdsWithAccessVlanParams
- func (o *CreateVdsWithAccessVlanParams) WithHTTPClient(client *http.Client) *CreateVdsWithAccessVlanParams
- func (o *CreateVdsWithAccessVlanParams) WithRequestBody(requestBody []models.VdsCreationWithMAccessVlanParams) *CreateVdsWithAccessVlanParams
- func (o *CreateVdsWithAccessVlanParams) WithTimeout(timeout time.Duration) *CreateVdsWithAccessVlanParams
- func (o *CreateVdsWithAccessVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVdsWithAccessVlanReader
- type CreateVdsWithMigrateVlanBadRequest
- type CreateVdsWithMigrateVlanOK
- type CreateVdsWithMigrateVlanParams
- func NewCreateVdsWithMigrateVlanParams() *CreateVdsWithMigrateVlanParams
- func NewCreateVdsWithMigrateVlanParamsWithContext(ctx context.Context) *CreateVdsWithMigrateVlanParams
- func NewCreateVdsWithMigrateVlanParamsWithHTTPClient(client *http.Client) *CreateVdsWithMigrateVlanParams
- func NewCreateVdsWithMigrateVlanParamsWithTimeout(timeout time.Duration) *CreateVdsWithMigrateVlanParams
- func (o *CreateVdsWithMigrateVlanParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateVdsWithMigrateVlanParams) SetContext(ctx context.Context)
- func (o *CreateVdsWithMigrateVlanParams) SetDefaults()
- func (o *CreateVdsWithMigrateVlanParams) SetHTTPClient(client *http.Client)
- func (o *CreateVdsWithMigrateVlanParams) SetRequestBody(requestBody []models.VdsCreationWithMigrateVlanParams)
- func (o *CreateVdsWithMigrateVlanParams) SetTimeout(timeout time.Duration)
- func (o *CreateVdsWithMigrateVlanParams) WithContentLanguage(contentLanguage *string) *CreateVdsWithMigrateVlanParams
- func (o *CreateVdsWithMigrateVlanParams) WithContext(ctx context.Context) *CreateVdsWithMigrateVlanParams
- func (o *CreateVdsWithMigrateVlanParams) WithDefaults() *CreateVdsWithMigrateVlanParams
- func (o *CreateVdsWithMigrateVlanParams) WithHTTPClient(client *http.Client) *CreateVdsWithMigrateVlanParams
- func (o *CreateVdsWithMigrateVlanParams) WithRequestBody(requestBody []models.VdsCreationWithMigrateVlanParams) *CreateVdsWithMigrateVlanParams
- func (o *CreateVdsWithMigrateVlanParams) WithTimeout(timeout time.Duration) *CreateVdsWithMigrateVlanParams
- func (o *CreateVdsWithMigrateVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVdsWithMigrateVlanReader
- type DeleteVdsBadRequest
- type DeleteVdsOK
- type DeleteVdsParams
- func (o *DeleteVdsParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteVdsParams) SetContext(ctx context.Context)
- func (o *DeleteVdsParams) SetDefaults()
- func (o *DeleteVdsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVdsParams) SetRequestBody(requestBody *models.VdsDeletionParams)
- func (o *DeleteVdsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVdsParams) WithContentLanguage(contentLanguage *string) *DeleteVdsParams
- func (o *DeleteVdsParams) WithContext(ctx context.Context) *DeleteVdsParams
- func (o *DeleteVdsParams) WithDefaults() *DeleteVdsParams
- func (o *DeleteVdsParams) WithHTTPClient(client *http.Client) *DeleteVdsParams
- func (o *DeleteVdsParams) WithRequestBody(requestBody *models.VdsDeletionParams) *DeleteVdsParams
- func (o *DeleteVdsParams) WithTimeout(timeout time.Duration) *DeleteVdsParams
- func (o *DeleteVdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVdsReader
- type GetVdsesBadRequest
- type GetVdsesConnectionBadRequest
- type GetVdsesConnectionOK
- type GetVdsesConnectionParams
- func NewGetVdsesConnectionParams() *GetVdsesConnectionParams
- func NewGetVdsesConnectionParamsWithContext(ctx context.Context) *GetVdsesConnectionParams
- func NewGetVdsesConnectionParamsWithHTTPClient(client *http.Client) *GetVdsesConnectionParams
- func NewGetVdsesConnectionParamsWithTimeout(timeout time.Duration) *GetVdsesConnectionParams
- func (o *GetVdsesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVdsesConnectionParams) SetContext(ctx context.Context)
- func (o *GetVdsesConnectionParams) SetDefaults()
- func (o *GetVdsesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetVdsesConnectionParams) SetRequestBody(requestBody *models.GetVdsesConnectionRequestBody)
- func (o *GetVdsesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetVdsesConnectionParams) WithContentLanguage(contentLanguage *string) *GetVdsesConnectionParams
- func (o *GetVdsesConnectionParams) WithContext(ctx context.Context) *GetVdsesConnectionParams
- func (o *GetVdsesConnectionParams) WithDefaults() *GetVdsesConnectionParams
- func (o *GetVdsesConnectionParams) WithHTTPClient(client *http.Client) *GetVdsesConnectionParams
- func (o *GetVdsesConnectionParams) WithRequestBody(requestBody *models.GetVdsesConnectionRequestBody) *GetVdsesConnectionParams
- func (o *GetVdsesConnectionParams) WithTimeout(timeout time.Duration) *GetVdsesConnectionParams
- func (o *GetVdsesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVdsesConnectionReader
- type GetVdsesOK
- type GetVdsesParams
- func (o *GetVdsesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetVdsesParams) SetContext(ctx context.Context)
- func (o *GetVdsesParams) SetDefaults()
- func (o *GetVdsesParams) SetHTTPClient(client *http.Client)
- func (o *GetVdsesParams) SetRequestBody(requestBody *models.GetVdsesRequestBody)
- func (o *GetVdsesParams) SetTimeout(timeout time.Duration)
- func (o *GetVdsesParams) WithContentLanguage(contentLanguage *string) *GetVdsesParams
- func (o *GetVdsesParams) WithContext(ctx context.Context) *GetVdsesParams
- func (o *GetVdsesParams) WithDefaults() *GetVdsesParams
- func (o *GetVdsesParams) WithHTTPClient(client *http.Client) *GetVdsesParams
- func (o *GetVdsesParams) WithRequestBody(requestBody *models.GetVdsesRequestBody) *GetVdsesParams
- func (o *GetVdsesParams) WithTimeout(timeout time.Duration) *GetVdsesParams
- func (o *GetVdsesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVdsesReader
- type UpdateVdsBadRequest
- type UpdateVdsOK
- type UpdateVdsParams
- func (o *UpdateVdsParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateVdsParams) SetContext(ctx context.Context)
- func (o *UpdateVdsParams) SetDefaults()
- func (o *UpdateVdsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVdsParams) SetRequestBody(requestBody *models.VdsUpdationParams)
- func (o *UpdateVdsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVdsParams) WithContentLanguage(contentLanguage *string) *UpdateVdsParams
- func (o *UpdateVdsParams) WithContext(ctx context.Context) *UpdateVdsParams
- func (o *UpdateVdsParams) WithDefaults() *UpdateVdsParams
- func (o *UpdateVdsParams) WithHTTPClient(client *http.Client) *UpdateVdsParams
- func (o *UpdateVdsParams) WithRequestBody(requestBody *models.VdsUpdationParams) *UpdateVdsParams
- func (o *UpdateVdsParams) WithTimeout(timeout time.Duration) *UpdateVdsParams
- func (o *UpdateVdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVdsReader
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 vds API
func (*Client) CreateVds ¶
func (a *Client) CreateVds(params *CreateVdsParams, opts ...ClientOption) (*CreateVdsOK, error)
CreateVds create vds API
func (*Client) CreateVdsWithAccessVlan ¶
func (a *Client) CreateVdsWithAccessVlan(params *CreateVdsWithAccessVlanParams, opts ...ClientOption) (*CreateVdsWithAccessVlanOK, error)
CreateVdsWithAccessVlan create vds with access vlan API
func (*Client) CreateVdsWithMigrateVlan ¶
func (a *Client) CreateVdsWithMigrateVlan(params *CreateVdsWithMigrateVlanParams, opts ...ClientOption) (*CreateVdsWithMigrateVlanOK, error)
CreateVdsWithMigrateVlan create vds with migrate vlan API
func (*Client) DeleteVds ¶
func (a *Client) DeleteVds(params *DeleteVdsParams, opts ...ClientOption) (*DeleteVdsOK, error)
DeleteVds delete vds API
func (*Client) GetVdses ¶
func (a *Client) GetVdses(params *GetVdsesParams, opts ...ClientOption) (*GetVdsesOK, error)
GetVdses get vdses API
func (*Client) GetVdsesConnection ¶
func (a *Client) GetVdsesConnection(params *GetVdsesConnectionParams, opts ...ClientOption) (*GetVdsesConnectionOK, error)
GetVdsesConnection get vdses connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateVds ¶
func (a *Client) UpdateVds(params *UpdateVdsParams, opts ...ClientOption) (*UpdateVdsOK, error)
UpdateVds update vds API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateVds(params *CreateVdsParams, opts ...ClientOption) (*CreateVdsOK, error) CreateVdsWithAccessVlan(params *CreateVdsWithAccessVlanParams, opts ...ClientOption) (*CreateVdsWithAccessVlanOK, error) CreateVdsWithMigrateVlan(params *CreateVdsWithMigrateVlanParams, opts ...ClientOption) (*CreateVdsWithMigrateVlanOK, error) DeleteVds(params *DeleteVdsParams, opts ...ClientOption) (*DeleteVdsOK, error) GetVdses(params *GetVdsesParams, opts ...ClientOption) (*GetVdsesOK, error) GetVdsesConnection(params *GetVdsesConnectionParams, opts ...ClientOption) (*GetVdsesConnectionOK, error) UpdateVds(params *UpdateVdsParams, opts ...ClientOption) (*UpdateVdsOK, 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 vds API client.
type CreateVdsBadRequest ¶
type CreateVdsBadRequest struct {
Payload string
}
CreateVdsBadRequest describes a response with status code 400, with default header values.
CreateVdsBadRequest create vds bad request
func NewCreateVdsBadRequest ¶
func NewCreateVdsBadRequest() *CreateVdsBadRequest
NewCreateVdsBadRequest creates a CreateVdsBadRequest with default headers values
func (*CreateVdsBadRequest) Error ¶
func (o *CreateVdsBadRequest) Error() string
func (*CreateVdsBadRequest) GetPayload ¶
func (o *CreateVdsBadRequest) GetPayload() string
type CreateVdsOK ¶
type CreateVdsOK struct {
Payload []*models.WithTaskVds
}
CreateVdsOK describes a response with status code 200, with default header values.
Ok
func NewCreateVdsOK ¶
func NewCreateVdsOK() *CreateVdsOK
NewCreateVdsOK creates a CreateVdsOK with default headers values
func (*CreateVdsOK) Error ¶
func (o *CreateVdsOK) Error() string
func (*CreateVdsOK) GetPayload ¶
func (o *CreateVdsOK) GetPayload() []*models.WithTaskVds
type CreateVdsParams ¶
type CreateVdsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []*models.VdsCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateVdsParams contains all the parameters to send to the API endpoint
for the create vds operation. Typically these are written to a http.Request.
func NewCreateVdsParams ¶
func NewCreateVdsParams() *CreateVdsParams
NewCreateVdsParams creates a new CreateVdsParams 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 NewCreateVdsParamsWithContext ¶
func NewCreateVdsParamsWithContext(ctx context.Context) *CreateVdsParams
NewCreateVdsParamsWithContext creates a new CreateVdsParams object with the ability to set a context for a request.
func NewCreateVdsParamsWithHTTPClient ¶
func NewCreateVdsParamsWithHTTPClient(client *http.Client) *CreateVdsParams
NewCreateVdsParamsWithHTTPClient creates a new CreateVdsParams object with the ability to set a custom HTTPClient for a request.
func NewCreateVdsParamsWithTimeout ¶
func NewCreateVdsParamsWithTimeout(timeout time.Duration) *CreateVdsParams
NewCreateVdsParamsWithTimeout creates a new CreateVdsParams object with the ability to set a timeout on a request.
func (*CreateVdsParams) SetContentLanguage ¶
func (o *CreateVdsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create vds params
func (*CreateVdsParams) SetContext ¶
func (o *CreateVdsParams) SetContext(ctx context.Context)
SetContext adds the context to the create vds params
func (*CreateVdsParams) SetDefaults ¶
func (o *CreateVdsParams) SetDefaults()
SetDefaults hydrates default values in the create vds params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVdsParams) SetHTTPClient ¶
func (o *CreateVdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create vds params
func (*CreateVdsParams) SetRequestBody ¶
func (o *CreateVdsParams) SetRequestBody(requestBody []*models.VdsCreationParams)
SetRequestBody adds the requestBody to the create vds params
func (*CreateVdsParams) SetTimeout ¶
func (o *CreateVdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create vds params
func (*CreateVdsParams) WithContentLanguage ¶
func (o *CreateVdsParams) WithContentLanguage(contentLanguage *string) *CreateVdsParams
WithContentLanguage adds the contentLanguage to the create vds params
func (*CreateVdsParams) WithContext ¶
func (o *CreateVdsParams) WithContext(ctx context.Context) *CreateVdsParams
WithContext adds the context to the create vds params
func (*CreateVdsParams) WithDefaults ¶
func (o *CreateVdsParams) WithDefaults() *CreateVdsParams
WithDefaults hydrates default values in the create vds params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVdsParams) WithHTTPClient ¶
func (o *CreateVdsParams) WithHTTPClient(client *http.Client) *CreateVdsParams
WithHTTPClient adds the HTTPClient to the create vds params
func (*CreateVdsParams) WithRequestBody ¶
func (o *CreateVdsParams) WithRequestBody(requestBody []*models.VdsCreationParams) *CreateVdsParams
WithRequestBody adds the requestBody to the create vds params
func (*CreateVdsParams) WithTimeout ¶
func (o *CreateVdsParams) WithTimeout(timeout time.Duration) *CreateVdsParams
WithTimeout adds the timeout to the create vds params
func (*CreateVdsParams) WriteToRequest ¶
func (o *CreateVdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVdsReader ¶
type CreateVdsReader struct {
// contains filtered or unexported fields
}
CreateVdsReader is a Reader for the CreateVds structure.
func (*CreateVdsReader) ReadResponse ¶
func (o *CreateVdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateVdsWithAccessVlanBadRequest ¶
type CreateVdsWithAccessVlanBadRequest struct {
Payload string
}
CreateVdsWithAccessVlanBadRequest describes a response with status code 400, with default header values.
CreateVdsWithAccessVlanBadRequest create vds with access vlan bad request
func NewCreateVdsWithAccessVlanBadRequest ¶
func NewCreateVdsWithAccessVlanBadRequest() *CreateVdsWithAccessVlanBadRequest
NewCreateVdsWithAccessVlanBadRequest creates a CreateVdsWithAccessVlanBadRequest with default headers values
func (*CreateVdsWithAccessVlanBadRequest) Error ¶
func (o *CreateVdsWithAccessVlanBadRequest) Error() string
func (*CreateVdsWithAccessVlanBadRequest) GetPayload ¶
func (o *CreateVdsWithAccessVlanBadRequest) GetPayload() string
type CreateVdsWithAccessVlanOK ¶
type CreateVdsWithAccessVlanOK struct {
Payload []*models.WithTaskVds
}
CreateVdsWithAccessVlanOK describes a response with status code 200, with default header values.
Ok
func NewCreateVdsWithAccessVlanOK ¶
func NewCreateVdsWithAccessVlanOK() *CreateVdsWithAccessVlanOK
NewCreateVdsWithAccessVlanOK creates a CreateVdsWithAccessVlanOK with default headers values
func (*CreateVdsWithAccessVlanOK) Error ¶
func (o *CreateVdsWithAccessVlanOK) Error() string
func (*CreateVdsWithAccessVlanOK) GetPayload ¶
func (o *CreateVdsWithAccessVlanOK) GetPayload() []*models.WithTaskVds
type CreateVdsWithAccessVlanParams ¶
type CreateVdsWithAccessVlanParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []models.VdsCreationWithMAccessVlanParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateVdsWithAccessVlanParams contains all the parameters to send to the API endpoint
for the create vds with access vlan operation. Typically these are written to a http.Request.
func NewCreateVdsWithAccessVlanParams ¶
func NewCreateVdsWithAccessVlanParams() *CreateVdsWithAccessVlanParams
NewCreateVdsWithAccessVlanParams creates a new CreateVdsWithAccessVlanParams 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 NewCreateVdsWithAccessVlanParamsWithContext ¶
func NewCreateVdsWithAccessVlanParamsWithContext(ctx context.Context) *CreateVdsWithAccessVlanParams
NewCreateVdsWithAccessVlanParamsWithContext creates a new CreateVdsWithAccessVlanParams object with the ability to set a context for a request.
func NewCreateVdsWithAccessVlanParamsWithHTTPClient ¶
func NewCreateVdsWithAccessVlanParamsWithHTTPClient(client *http.Client) *CreateVdsWithAccessVlanParams
NewCreateVdsWithAccessVlanParamsWithHTTPClient creates a new CreateVdsWithAccessVlanParams object with the ability to set a custom HTTPClient for a request.
func NewCreateVdsWithAccessVlanParamsWithTimeout ¶
func NewCreateVdsWithAccessVlanParamsWithTimeout(timeout time.Duration) *CreateVdsWithAccessVlanParams
NewCreateVdsWithAccessVlanParamsWithTimeout creates a new CreateVdsWithAccessVlanParams object with the ability to set a timeout on a request.
func (*CreateVdsWithAccessVlanParams) SetContentLanguage ¶
func (o *CreateVdsWithAccessVlanParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create vds with access vlan params
func (*CreateVdsWithAccessVlanParams) SetContext ¶
func (o *CreateVdsWithAccessVlanParams) SetContext(ctx context.Context)
SetContext adds the context to the create vds with access vlan params
func (*CreateVdsWithAccessVlanParams) SetDefaults ¶
func (o *CreateVdsWithAccessVlanParams) SetDefaults()
SetDefaults hydrates default values in the create vds with access vlan params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVdsWithAccessVlanParams) SetHTTPClient ¶
func (o *CreateVdsWithAccessVlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create vds with access vlan params
func (*CreateVdsWithAccessVlanParams) SetRequestBody ¶
func (o *CreateVdsWithAccessVlanParams) SetRequestBody(requestBody []models.VdsCreationWithMAccessVlanParams)
SetRequestBody adds the requestBody to the create vds with access vlan params
func (*CreateVdsWithAccessVlanParams) SetTimeout ¶
func (o *CreateVdsWithAccessVlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create vds with access vlan params
func (*CreateVdsWithAccessVlanParams) WithContentLanguage ¶
func (o *CreateVdsWithAccessVlanParams) WithContentLanguage(contentLanguage *string) *CreateVdsWithAccessVlanParams
WithContentLanguage adds the contentLanguage to the create vds with access vlan params
func (*CreateVdsWithAccessVlanParams) WithContext ¶
func (o *CreateVdsWithAccessVlanParams) WithContext(ctx context.Context) *CreateVdsWithAccessVlanParams
WithContext adds the context to the create vds with access vlan params
func (*CreateVdsWithAccessVlanParams) WithDefaults ¶
func (o *CreateVdsWithAccessVlanParams) WithDefaults() *CreateVdsWithAccessVlanParams
WithDefaults hydrates default values in the create vds with access vlan params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVdsWithAccessVlanParams) WithHTTPClient ¶
func (o *CreateVdsWithAccessVlanParams) WithHTTPClient(client *http.Client) *CreateVdsWithAccessVlanParams
WithHTTPClient adds the HTTPClient to the create vds with access vlan params
func (*CreateVdsWithAccessVlanParams) WithRequestBody ¶
func (o *CreateVdsWithAccessVlanParams) WithRequestBody(requestBody []models.VdsCreationWithMAccessVlanParams) *CreateVdsWithAccessVlanParams
WithRequestBody adds the requestBody to the create vds with access vlan params
func (*CreateVdsWithAccessVlanParams) WithTimeout ¶
func (o *CreateVdsWithAccessVlanParams) WithTimeout(timeout time.Duration) *CreateVdsWithAccessVlanParams
WithTimeout adds the timeout to the create vds with access vlan params
func (*CreateVdsWithAccessVlanParams) WriteToRequest ¶
func (o *CreateVdsWithAccessVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVdsWithAccessVlanReader ¶
type CreateVdsWithAccessVlanReader struct {
// contains filtered or unexported fields
}
CreateVdsWithAccessVlanReader is a Reader for the CreateVdsWithAccessVlan structure.
func (*CreateVdsWithAccessVlanReader) ReadResponse ¶
func (o *CreateVdsWithAccessVlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateVdsWithMigrateVlanBadRequest ¶
type CreateVdsWithMigrateVlanBadRequest struct {
Payload string
}
CreateVdsWithMigrateVlanBadRequest describes a response with status code 400, with default header values.
CreateVdsWithMigrateVlanBadRequest create vds with migrate vlan bad request
func NewCreateVdsWithMigrateVlanBadRequest ¶
func NewCreateVdsWithMigrateVlanBadRequest() *CreateVdsWithMigrateVlanBadRequest
NewCreateVdsWithMigrateVlanBadRequest creates a CreateVdsWithMigrateVlanBadRequest with default headers values
func (*CreateVdsWithMigrateVlanBadRequest) Error ¶
func (o *CreateVdsWithMigrateVlanBadRequest) Error() string
func (*CreateVdsWithMigrateVlanBadRequest) GetPayload ¶
func (o *CreateVdsWithMigrateVlanBadRequest) GetPayload() string
type CreateVdsWithMigrateVlanOK ¶
type CreateVdsWithMigrateVlanOK struct {
Payload []*models.WithTaskVds
}
CreateVdsWithMigrateVlanOK describes a response with status code 200, with default header values.
Ok
func NewCreateVdsWithMigrateVlanOK ¶
func NewCreateVdsWithMigrateVlanOK() *CreateVdsWithMigrateVlanOK
NewCreateVdsWithMigrateVlanOK creates a CreateVdsWithMigrateVlanOK with default headers values
func (*CreateVdsWithMigrateVlanOK) Error ¶
func (o *CreateVdsWithMigrateVlanOK) Error() string
func (*CreateVdsWithMigrateVlanOK) GetPayload ¶
func (o *CreateVdsWithMigrateVlanOK) GetPayload() []*models.WithTaskVds
type CreateVdsWithMigrateVlanParams ¶
type CreateVdsWithMigrateVlanParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []models.VdsCreationWithMigrateVlanParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateVdsWithMigrateVlanParams contains all the parameters to send to the API endpoint
for the create vds with migrate vlan operation. Typically these are written to a http.Request.
func NewCreateVdsWithMigrateVlanParams ¶
func NewCreateVdsWithMigrateVlanParams() *CreateVdsWithMigrateVlanParams
NewCreateVdsWithMigrateVlanParams creates a new CreateVdsWithMigrateVlanParams 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 NewCreateVdsWithMigrateVlanParamsWithContext ¶
func NewCreateVdsWithMigrateVlanParamsWithContext(ctx context.Context) *CreateVdsWithMigrateVlanParams
NewCreateVdsWithMigrateVlanParamsWithContext creates a new CreateVdsWithMigrateVlanParams object with the ability to set a context for a request.
func NewCreateVdsWithMigrateVlanParamsWithHTTPClient ¶
func NewCreateVdsWithMigrateVlanParamsWithHTTPClient(client *http.Client) *CreateVdsWithMigrateVlanParams
NewCreateVdsWithMigrateVlanParamsWithHTTPClient creates a new CreateVdsWithMigrateVlanParams object with the ability to set a custom HTTPClient for a request.
func NewCreateVdsWithMigrateVlanParamsWithTimeout ¶
func NewCreateVdsWithMigrateVlanParamsWithTimeout(timeout time.Duration) *CreateVdsWithMigrateVlanParams
NewCreateVdsWithMigrateVlanParamsWithTimeout creates a new CreateVdsWithMigrateVlanParams object with the ability to set a timeout on a request.
func (*CreateVdsWithMigrateVlanParams) SetContentLanguage ¶
func (o *CreateVdsWithMigrateVlanParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create vds with migrate vlan params
func (*CreateVdsWithMigrateVlanParams) SetContext ¶
func (o *CreateVdsWithMigrateVlanParams) SetContext(ctx context.Context)
SetContext adds the context to the create vds with migrate vlan params
func (*CreateVdsWithMigrateVlanParams) SetDefaults ¶
func (o *CreateVdsWithMigrateVlanParams) SetDefaults()
SetDefaults hydrates default values in the create vds with migrate vlan params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVdsWithMigrateVlanParams) SetHTTPClient ¶
func (o *CreateVdsWithMigrateVlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create vds with migrate vlan params
func (*CreateVdsWithMigrateVlanParams) SetRequestBody ¶
func (o *CreateVdsWithMigrateVlanParams) SetRequestBody(requestBody []models.VdsCreationWithMigrateVlanParams)
SetRequestBody adds the requestBody to the create vds with migrate vlan params
func (*CreateVdsWithMigrateVlanParams) SetTimeout ¶
func (o *CreateVdsWithMigrateVlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create vds with migrate vlan params
func (*CreateVdsWithMigrateVlanParams) WithContentLanguage ¶
func (o *CreateVdsWithMigrateVlanParams) WithContentLanguage(contentLanguage *string) *CreateVdsWithMigrateVlanParams
WithContentLanguage adds the contentLanguage to the create vds with migrate vlan params
func (*CreateVdsWithMigrateVlanParams) WithContext ¶
func (o *CreateVdsWithMigrateVlanParams) WithContext(ctx context.Context) *CreateVdsWithMigrateVlanParams
WithContext adds the context to the create vds with migrate vlan params
func (*CreateVdsWithMigrateVlanParams) WithDefaults ¶
func (o *CreateVdsWithMigrateVlanParams) WithDefaults() *CreateVdsWithMigrateVlanParams
WithDefaults hydrates default values in the create vds with migrate vlan params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVdsWithMigrateVlanParams) WithHTTPClient ¶
func (o *CreateVdsWithMigrateVlanParams) WithHTTPClient(client *http.Client) *CreateVdsWithMigrateVlanParams
WithHTTPClient adds the HTTPClient to the create vds with migrate vlan params
func (*CreateVdsWithMigrateVlanParams) WithRequestBody ¶
func (o *CreateVdsWithMigrateVlanParams) WithRequestBody(requestBody []models.VdsCreationWithMigrateVlanParams) *CreateVdsWithMigrateVlanParams
WithRequestBody adds the requestBody to the create vds with migrate vlan params
func (*CreateVdsWithMigrateVlanParams) WithTimeout ¶
func (o *CreateVdsWithMigrateVlanParams) WithTimeout(timeout time.Duration) *CreateVdsWithMigrateVlanParams
WithTimeout adds the timeout to the create vds with migrate vlan params
func (*CreateVdsWithMigrateVlanParams) WriteToRequest ¶
func (o *CreateVdsWithMigrateVlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVdsWithMigrateVlanReader ¶
type CreateVdsWithMigrateVlanReader struct {
// contains filtered or unexported fields
}
CreateVdsWithMigrateVlanReader is a Reader for the CreateVdsWithMigrateVlan structure.
func (*CreateVdsWithMigrateVlanReader) ReadResponse ¶
func (o *CreateVdsWithMigrateVlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteVdsBadRequest ¶
type DeleteVdsBadRequest struct {
Payload string
}
DeleteVdsBadRequest describes a response with status code 400, with default header values.
DeleteVdsBadRequest delete vds bad request
func NewDeleteVdsBadRequest ¶
func NewDeleteVdsBadRequest() *DeleteVdsBadRequest
NewDeleteVdsBadRequest creates a DeleteVdsBadRequest with default headers values
func (*DeleteVdsBadRequest) Error ¶
func (o *DeleteVdsBadRequest) Error() string
func (*DeleteVdsBadRequest) GetPayload ¶
func (o *DeleteVdsBadRequest) GetPayload() string
type DeleteVdsOK ¶
type DeleteVdsOK struct {
Payload []*models.WithTaskDeleteVds
}
DeleteVdsOK describes a response with status code 200, with default header values.
Ok
func NewDeleteVdsOK ¶
func NewDeleteVdsOK() *DeleteVdsOK
NewDeleteVdsOK creates a DeleteVdsOK with default headers values
func (*DeleteVdsOK) Error ¶
func (o *DeleteVdsOK) Error() string
func (*DeleteVdsOK) GetPayload ¶
func (o *DeleteVdsOK) GetPayload() []*models.WithTaskDeleteVds
type DeleteVdsParams ¶
type DeleteVdsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VdsDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteVdsParams contains all the parameters to send to the API endpoint
for the delete vds operation. Typically these are written to a http.Request.
func NewDeleteVdsParams ¶
func NewDeleteVdsParams() *DeleteVdsParams
NewDeleteVdsParams creates a new DeleteVdsParams 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 NewDeleteVdsParamsWithContext ¶
func NewDeleteVdsParamsWithContext(ctx context.Context) *DeleteVdsParams
NewDeleteVdsParamsWithContext creates a new DeleteVdsParams object with the ability to set a context for a request.
func NewDeleteVdsParamsWithHTTPClient ¶
func NewDeleteVdsParamsWithHTTPClient(client *http.Client) *DeleteVdsParams
NewDeleteVdsParamsWithHTTPClient creates a new DeleteVdsParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteVdsParamsWithTimeout ¶
func NewDeleteVdsParamsWithTimeout(timeout time.Duration) *DeleteVdsParams
NewDeleteVdsParamsWithTimeout creates a new DeleteVdsParams object with the ability to set a timeout on a request.
func (*DeleteVdsParams) SetContentLanguage ¶
func (o *DeleteVdsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete vds params
func (*DeleteVdsParams) SetContext ¶
func (o *DeleteVdsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete vds params
func (*DeleteVdsParams) SetDefaults ¶
func (o *DeleteVdsParams) SetDefaults()
SetDefaults hydrates default values in the delete vds params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVdsParams) SetHTTPClient ¶
func (o *DeleteVdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete vds params
func (*DeleteVdsParams) SetRequestBody ¶
func (o *DeleteVdsParams) SetRequestBody(requestBody *models.VdsDeletionParams)
SetRequestBody adds the requestBody to the delete vds params
func (*DeleteVdsParams) SetTimeout ¶
func (o *DeleteVdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete vds params
func (*DeleteVdsParams) WithContentLanguage ¶
func (o *DeleteVdsParams) WithContentLanguage(contentLanguage *string) *DeleteVdsParams
WithContentLanguage adds the contentLanguage to the delete vds params
func (*DeleteVdsParams) WithContext ¶
func (o *DeleteVdsParams) WithContext(ctx context.Context) *DeleteVdsParams
WithContext adds the context to the delete vds params
func (*DeleteVdsParams) WithDefaults ¶
func (o *DeleteVdsParams) WithDefaults() *DeleteVdsParams
WithDefaults hydrates default values in the delete vds params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVdsParams) WithHTTPClient ¶
func (o *DeleteVdsParams) WithHTTPClient(client *http.Client) *DeleteVdsParams
WithHTTPClient adds the HTTPClient to the delete vds params
func (*DeleteVdsParams) WithRequestBody ¶
func (o *DeleteVdsParams) WithRequestBody(requestBody *models.VdsDeletionParams) *DeleteVdsParams
WithRequestBody adds the requestBody to the delete vds params
func (*DeleteVdsParams) WithTimeout ¶
func (o *DeleteVdsParams) WithTimeout(timeout time.Duration) *DeleteVdsParams
WithTimeout adds the timeout to the delete vds params
func (*DeleteVdsParams) WriteToRequest ¶
func (o *DeleteVdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteVdsReader ¶
type DeleteVdsReader struct {
// contains filtered or unexported fields
}
DeleteVdsReader is a Reader for the DeleteVds structure.
func (*DeleteVdsReader) ReadResponse ¶
func (o *DeleteVdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVdsesBadRequest ¶
type GetVdsesBadRequest struct {
Payload string
}
GetVdsesBadRequest describes a response with status code 400, with default header values.
GetVdsesBadRequest get vdses bad request
func NewGetVdsesBadRequest ¶
func NewGetVdsesBadRequest() *GetVdsesBadRequest
NewGetVdsesBadRequest creates a GetVdsesBadRequest with default headers values
func (*GetVdsesBadRequest) Error ¶
func (o *GetVdsesBadRequest) Error() string
func (*GetVdsesBadRequest) GetPayload ¶
func (o *GetVdsesBadRequest) GetPayload() string
type GetVdsesConnectionBadRequest ¶
type GetVdsesConnectionBadRequest struct {
Payload string
}
GetVdsesConnectionBadRequest describes a response with status code 400, with default header values.
GetVdsesConnectionBadRequest get vdses connection bad request
func NewGetVdsesConnectionBadRequest ¶
func NewGetVdsesConnectionBadRequest() *GetVdsesConnectionBadRequest
NewGetVdsesConnectionBadRequest creates a GetVdsesConnectionBadRequest with default headers values
func (*GetVdsesConnectionBadRequest) Error ¶
func (o *GetVdsesConnectionBadRequest) Error() string
func (*GetVdsesConnectionBadRequest) GetPayload ¶
func (o *GetVdsesConnectionBadRequest) GetPayload() string
type GetVdsesConnectionOK ¶
type GetVdsesConnectionOK struct {
Payload *models.VdsConnection
}
GetVdsesConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetVdsesConnectionOK ¶
func NewGetVdsesConnectionOK() *GetVdsesConnectionOK
NewGetVdsesConnectionOK creates a GetVdsesConnectionOK with default headers values
func (*GetVdsesConnectionOK) Error ¶
func (o *GetVdsesConnectionOK) Error() string
func (*GetVdsesConnectionOK) GetPayload ¶
func (o *GetVdsesConnectionOK) GetPayload() *models.VdsConnection
type GetVdsesConnectionParams ¶
type GetVdsesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVdsesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVdsesConnectionParams contains all the parameters to send to the API endpoint
for the get vdses connection operation. Typically these are written to a http.Request.
func NewGetVdsesConnectionParams ¶
func NewGetVdsesConnectionParams() *GetVdsesConnectionParams
NewGetVdsesConnectionParams creates a new GetVdsesConnectionParams 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 NewGetVdsesConnectionParamsWithContext ¶
func NewGetVdsesConnectionParamsWithContext(ctx context.Context) *GetVdsesConnectionParams
NewGetVdsesConnectionParamsWithContext creates a new GetVdsesConnectionParams object with the ability to set a context for a request.
func NewGetVdsesConnectionParamsWithHTTPClient ¶
func NewGetVdsesConnectionParamsWithHTTPClient(client *http.Client) *GetVdsesConnectionParams
NewGetVdsesConnectionParamsWithHTTPClient creates a new GetVdsesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetVdsesConnectionParamsWithTimeout ¶
func NewGetVdsesConnectionParamsWithTimeout(timeout time.Duration) *GetVdsesConnectionParams
NewGetVdsesConnectionParamsWithTimeout creates a new GetVdsesConnectionParams object with the ability to set a timeout on a request.
func (*GetVdsesConnectionParams) SetContentLanguage ¶
func (o *GetVdsesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get vdses connection params
func (*GetVdsesConnectionParams) SetContext ¶
func (o *GetVdsesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get vdses connection params
func (*GetVdsesConnectionParams) SetDefaults ¶
func (o *GetVdsesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get vdses connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVdsesConnectionParams) SetHTTPClient ¶
func (o *GetVdsesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get vdses connection params
func (*GetVdsesConnectionParams) SetRequestBody ¶
func (o *GetVdsesConnectionParams) SetRequestBody(requestBody *models.GetVdsesConnectionRequestBody)
SetRequestBody adds the requestBody to the get vdses connection params
func (*GetVdsesConnectionParams) SetTimeout ¶
func (o *GetVdsesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get vdses connection params
func (*GetVdsesConnectionParams) WithContentLanguage ¶
func (o *GetVdsesConnectionParams) WithContentLanguage(contentLanguage *string) *GetVdsesConnectionParams
WithContentLanguage adds the contentLanguage to the get vdses connection params
func (*GetVdsesConnectionParams) WithContext ¶
func (o *GetVdsesConnectionParams) WithContext(ctx context.Context) *GetVdsesConnectionParams
WithContext adds the context to the get vdses connection params
func (*GetVdsesConnectionParams) WithDefaults ¶
func (o *GetVdsesConnectionParams) WithDefaults() *GetVdsesConnectionParams
WithDefaults hydrates default values in the get vdses connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetVdsesConnectionParams) WithHTTPClient ¶
func (o *GetVdsesConnectionParams) WithHTTPClient(client *http.Client) *GetVdsesConnectionParams
WithHTTPClient adds the HTTPClient to the get vdses connection params
func (*GetVdsesConnectionParams) WithRequestBody ¶
func (o *GetVdsesConnectionParams) WithRequestBody(requestBody *models.GetVdsesConnectionRequestBody) *GetVdsesConnectionParams
WithRequestBody adds the requestBody to the get vdses connection params
func (*GetVdsesConnectionParams) WithTimeout ¶
func (o *GetVdsesConnectionParams) WithTimeout(timeout time.Duration) *GetVdsesConnectionParams
WithTimeout adds the timeout to the get vdses connection params
func (*GetVdsesConnectionParams) WriteToRequest ¶
func (o *GetVdsesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVdsesConnectionReader ¶
type GetVdsesConnectionReader struct {
// contains filtered or unexported fields
}
GetVdsesConnectionReader is a Reader for the GetVdsesConnection structure.
func (*GetVdsesConnectionReader) ReadResponse ¶
func (o *GetVdsesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVdsesOK ¶
GetVdsesOK describes a response with status code 200, with default header values.
Ok
func NewGetVdsesOK ¶
func NewGetVdsesOK() *GetVdsesOK
NewGetVdsesOK creates a GetVdsesOK with default headers values
func (*GetVdsesOK) Error ¶
func (o *GetVdsesOK) Error() string
func (*GetVdsesOK) GetPayload ¶
func (o *GetVdsesOK) GetPayload() []*models.Vds
type GetVdsesParams ¶
type GetVdsesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetVdsesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVdsesParams contains all the parameters to send to the API endpoint
for the get vdses operation. Typically these are written to a http.Request.
func NewGetVdsesParams ¶
func NewGetVdsesParams() *GetVdsesParams
NewGetVdsesParams creates a new GetVdsesParams 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 NewGetVdsesParamsWithContext ¶
func NewGetVdsesParamsWithContext(ctx context.Context) *GetVdsesParams
NewGetVdsesParamsWithContext creates a new GetVdsesParams object with the ability to set a context for a request.
func NewGetVdsesParamsWithHTTPClient ¶
func NewGetVdsesParamsWithHTTPClient(client *http.Client) *GetVdsesParams
NewGetVdsesParamsWithHTTPClient creates a new GetVdsesParams object with the ability to set a custom HTTPClient for a request.
func NewGetVdsesParamsWithTimeout ¶
func NewGetVdsesParamsWithTimeout(timeout time.Duration) *GetVdsesParams
NewGetVdsesParamsWithTimeout creates a new GetVdsesParams object with the ability to set a timeout on a request.
func (*GetVdsesParams) SetContentLanguage ¶
func (o *GetVdsesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get vdses params
func (*GetVdsesParams) SetContext ¶
func (o *GetVdsesParams) SetContext(ctx context.Context)
SetContext adds the context to the get vdses params
func (*GetVdsesParams) SetDefaults ¶
func (o *GetVdsesParams) SetDefaults()
SetDefaults hydrates default values in the get vdses params (not the query body).
All values with no default are reset to their zero value.
func (*GetVdsesParams) SetHTTPClient ¶
func (o *GetVdsesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get vdses params
func (*GetVdsesParams) SetRequestBody ¶
func (o *GetVdsesParams) SetRequestBody(requestBody *models.GetVdsesRequestBody)
SetRequestBody adds the requestBody to the get vdses params
func (*GetVdsesParams) SetTimeout ¶
func (o *GetVdsesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get vdses params
func (*GetVdsesParams) WithContentLanguage ¶
func (o *GetVdsesParams) WithContentLanguage(contentLanguage *string) *GetVdsesParams
WithContentLanguage adds the contentLanguage to the get vdses params
func (*GetVdsesParams) WithContext ¶
func (o *GetVdsesParams) WithContext(ctx context.Context) *GetVdsesParams
WithContext adds the context to the get vdses params
func (*GetVdsesParams) WithDefaults ¶
func (o *GetVdsesParams) WithDefaults() *GetVdsesParams
WithDefaults hydrates default values in the get vdses params (not the query body).
All values with no default are reset to their zero value.
func (*GetVdsesParams) WithHTTPClient ¶
func (o *GetVdsesParams) WithHTTPClient(client *http.Client) *GetVdsesParams
WithHTTPClient adds the HTTPClient to the get vdses params
func (*GetVdsesParams) WithRequestBody ¶
func (o *GetVdsesParams) WithRequestBody(requestBody *models.GetVdsesRequestBody) *GetVdsesParams
WithRequestBody adds the requestBody to the get vdses params
func (*GetVdsesParams) WithTimeout ¶
func (o *GetVdsesParams) WithTimeout(timeout time.Duration) *GetVdsesParams
WithTimeout adds the timeout to the get vdses params
func (*GetVdsesParams) WriteToRequest ¶
func (o *GetVdsesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVdsesReader ¶
type GetVdsesReader struct {
// contains filtered or unexported fields
}
GetVdsesReader is a Reader for the GetVdses structure.
func (*GetVdsesReader) ReadResponse ¶
func (o *GetVdsesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVdsBadRequest ¶
type UpdateVdsBadRequest struct {
Payload string
}
UpdateVdsBadRequest describes a response with status code 400, with default header values.
UpdateVdsBadRequest update vds bad request
func NewUpdateVdsBadRequest ¶
func NewUpdateVdsBadRequest() *UpdateVdsBadRequest
NewUpdateVdsBadRequest creates a UpdateVdsBadRequest with default headers values
func (*UpdateVdsBadRequest) Error ¶
func (o *UpdateVdsBadRequest) Error() string
func (*UpdateVdsBadRequest) GetPayload ¶
func (o *UpdateVdsBadRequest) GetPayload() string
type UpdateVdsOK ¶
type UpdateVdsOK struct {
Payload []*models.WithTaskVds
}
UpdateVdsOK describes a response with status code 200, with default header values.
Ok
func NewUpdateVdsOK ¶
func NewUpdateVdsOK() *UpdateVdsOK
NewUpdateVdsOK creates a UpdateVdsOK with default headers values
func (*UpdateVdsOK) Error ¶
func (o *UpdateVdsOK) Error() string
func (*UpdateVdsOK) GetPayload ¶
func (o *UpdateVdsOK) GetPayload() []*models.WithTaskVds
type UpdateVdsParams ¶
type UpdateVdsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.VdsUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVdsParams contains all the parameters to send to the API endpoint
for the update vds operation. Typically these are written to a http.Request.
func NewUpdateVdsParams ¶
func NewUpdateVdsParams() *UpdateVdsParams
NewUpdateVdsParams creates a new UpdateVdsParams 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 NewUpdateVdsParamsWithContext ¶
func NewUpdateVdsParamsWithContext(ctx context.Context) *UpdateVdsParams
NewUpdateVdsParamsWithContext creates a new UpdateVdsParams object with the ability to set a context for a request.
func NewUpdateVdsParamsWithHTTPClient ¶
func NewUpdateVdsParamsWithHTTPClient(client *http.Client) *UpdateVdsParams
NewUpdateVdsParamsWithHTTPClient creates a new UpdateVdsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVdsParamsWithTimeout ¶
func NewUpdateVdsParamsWithTimeout(timeout time.Duration) *UpdateVdsParams
NewUpdateVdsParamsWithTimeout creates a new UpdateVdsParams object with the ability to set a timeout on a request.
func (*UpdateVdsParams) SetContentLanguage ¶
func (o *UpdateVdsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update vds params
func (*UpdateVdsParams) SetContext ¶
func (o *UpdateVdsParams) SetContext(ctx context.Context)
SetContext adds the context to the update vds params
func (*UpdateVdsParams) SetDefaults ¶
func (o *UpdateVdsParams) SetDefaults()
SetDefaults hydrates default values in the update vds params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVdsParams) SetHTTPClient ¶
func (o *UpdateVdsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update vds params
func (*UpdateVdsParams) SetRequestBody ¶
func (o *UpdateVdsParams) SetRequestBody(requestBody *models.VdsUpdationParams)
SetRequestBody adds the requestBody to the update vds params
func (*UpdateVdsParams) SetTimeout ¶
func (o *UpdateVdsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update vds params
func (*UpdateVdsParams) WithContentLanguage ¶
func (o *UpdateVdsParams) WithContentLanguage(contentLanguage *string) *UpdateVdsParams
WithContentLanguage adds the contentLanguage to the update vds params
func (*UpdateVdsParams) WithContext ¶
func (o *UpdateVdsParams) WithContext(ctx context.Context) *UpdateVdsParams
WithContext adds the context to the update vds params
func (*UpdateVdsParams) WithDefaults ¶
func (o *UpdateVdsParams) WithDefaults() *UpdateVdsParams
WithDefaults hydrates default values in the update vds params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVdsParams) WithHTTPClient ¶
func (o *UpdateVdsParams) WithHTTPClient(client *http.Client) *UpdateVdsParams
WithHTTPClient adds the HTTPClient to the update vds params
func (*UpdateVdsParams) WithRequestBody ¶
func (o *UpdateVdsParams) WithRequestBody(requestBody *models.VdsUpdationParams) *UpdateVdsParams
WithRequestBody adds the requestBody to the update vds params
func (*UpdateVdsParams) WithTimeout ¶
func (o *UpdateVdsParams) WithTimeout(timeout time.Duration) *UpdateVdsParams
WithTimeout adds the timeout to the update vds params
func (*UpdateVdsParams) WriteToRequest ¶
func (o *UpdateVdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVdsReader ¶
type UpdateVdsReader struct {
// contains filtered or unexported fields
}
UpdateVdsReader is a Reader for the UpdateVds structure.
func (*UpdateVdsReader) ReadResponse ¶
func (o *UpdateVdsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_vds_parameters.go
- create_vds_responses.go
- create_vds_with_access_vlan_parameters.go
- create_vds_with_access_vlan_responses.go
- create_vds_with_migrate_vlan_parameters.go
- create_vds_with_migrate_vlan_responses.go
- delete_vds_parameters.go
- delete_vds_responses.go
- get_vdses_connection_parameters.go
- get_vdses_connection_responses.go
- get_vdses_parameters.go
- get_vdses_responses.go
- update_vds_parameters.go
- update_vds_responses.go
- vds_client.go