disk

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachMachineDiskBadRequest

type AttachMachineDiskBadRequest struct {
	Payload *models.Error
}

AttachMachineDiskBadRequest describes a response with status code 400, with default header values.

Invalid Request - bad data

func NewAttachMachineDiskBadRequest

func NewAttachMachineDiskBadRequest() *AttachMachineDiskBadRequest

NewAttachMachineDiskBadRequest creates a AttachMachineDiskBadRequest with default headers values

func (*AttachMachineDiskBadRequest) Error

func (*AttachMachineDiskBadRequest) GetPayload added in v0.2.9

func (o *AttachMachineDiskBadRequest) GetPayload() *models.Error

func (*AttachMachineDiskBadRequest) IsClientError added in v0.5.0

func (o *AttachMachineDiskBadRequest) IsClientError() bool

IsClientError returns true when this attach machine disk bad request response has a 4xx status code

func (*AttachMachineDiskBadRequest) IsCode added in v0.5.0

func (o *AttachMachineDiskBadRequest) IsCode(code int) bool

IsCode returns true when this attach machine disk bad request response a status code equal to that given

func (*AttachMachineDiskBadRequest) IsRedirect added in v0.5.0

func (o *AttachMachineDiskBadRequest) IsRedirect() bool

IsRedirect returns true when this attach machine disk bad request response has a 3xx status code

func (*AttachMachineDiskBadRequest) IsServerError added in v0.5.0

func (o *AttachMachineDiskBadRequest) IsServerError() bool

IsServerError returns true when this attach machine disk bad request response has a 5xx status code

func (*AttachMachineDiskBadRequest) IsSuccess added in v0.5.0

func (o *AttachMachineDiskBadRequest) IsSuccess() bool

IsSuccess returns true when this attach machine disk bad request response has a 2xx status code

func (*AttachMachineDiskBadRequest) String added in v0.5.0

func (o *AttachMachineDiskBadRequest) String() string

type AttachMachineDiskForbidden

type AttachMachineDiskForbidden struct {
	Payload *models.ServiceErrorResponse
}

AttachMachineDiskForbidden describes a response with status code 403, with default header values.

Forbidden

func NewAttachMachineDiskForbidden

func NewAttachMachineDiskForbidden() *AttachMachineDiskForbidden

NewAttachMachineDiskForbidden creates a AttachMachineDiskForbidden with default headers values

func (*AttachMachineDiskForbidden) Error

func (*AttachMachineDiskForbidden) GetPayload added in v0.2.20

func (*AttachMachineDiskForbidden) IsClientError added in v0.5.0

func (o *AttachMachineDiskForbidden) IsClientError() bool

IsClientError returns true when this attach machine disk forbidden response has a 4xx status code

func (*AttachMachineDiskForbidden) IsCode added in v0.5.0

func (o *AttachMachineDiskForbidden) IsCode(code int) bool

IsCode returns true when this attach machine disk forbidden response a status code equal to that given

func (*AttachMachineDiskForbidden) IsRedirect added in v0.5.0

func (o *AttachMachineDiskForbidden) IsRedirect() bool

IsRedirect returns true when this attach machine disk forbidden response has a 3xx status code

func (*AttachMachineDiskForbidden) IsServerError added in v0.5.0

func (o *AttachMachineDiskForbidden) IsServerError() bool

IsServerError returns true when this attach machine disk forbidden response has a 5xx status code

func (*AttachMachineDiskForbidden) IsSuccess added in v0.5.0

func (o *AttachMachineDiskForbidden) IsSuccess() bool

IsSuccess returns true when this attach machine disk forbidden response has a 2xx status code

func (*AttachMachineDiskForbidden) String added in v0.5.0

func (o *AttachMachineDiskForbidden) String() string

type AttachMachineDiskNotFound

type AttachMachineDiskNotFound struct {
	Payload *models.Error
}

AttachMachineDiskNotFound describes a response with status code 404, with default header values.

Not Found

func NewAttachMachineDiskNotFound

func NewAttachMachineDiskNotFound() *AttachMachineDiskNotFound

NewAttachMachineDiskNotFound creates a AttachMachineDiskNotFound with default headers values

func (*AttachMachineDiskNotFound) Error

func (o *AttachMachineDiskNotFound) Error() string

func (*AttachMachineDiskNotFound) GetPayload added in v0.2.9

func (o *AttachMachineDiskNotFound) GetPayload() *models.Error

func (*AttachMachineDiskNotFound) IsClientError added in v0.5.0

func (o *AttachMachineDiskNotFound) IsClientError() bool

IsClientError returns true when this attach machine disk not found response has a 4xx status code

func (*AttachMachineDiskNotFound) IsCode added in v0.5.0

func (o *AttachMachineDiskNotFound) IsCode(code int) bool

IsCode returns true when this attach machine disk not found response a status code equal to that given

func (*AttachMachineDiskNotFound) IsRedirect added in v0.5.0

func (o *AttachMachineDiskNotFound) IsRedirect() bool

IsRedirect returns true when this attach machine disk not found response has a 3xx status code

func (*AttachMachineDiskNotFound) IsServerError added in v0.5.0

func (o *AttachMachineDiskNotFound) IsServerError() bool

IsServerError returns true when this attach machine disk not found response has a 5xx status code

func (*AttachMachineDiskNotFound) IsSuccess added in v0.5.0

func (o *AttachMachineDiskNotFound) IsSuccess() bool

IsSuccess returns true when this attach machine disk not found response has a 2xx status code

func (*AttachMachineDiskNotFound) String added in v0.5.0

func (o *AttachMachineDiskNotFound) String() string

type AttachMachineDiskOK

type AttachMachineDiskOK struct {
	Payload *models.RequestTracker
}

AttachMachineDiskOK describes a response with status code 200, with default header values.

successful operation

func NewAttachMachineDiskOK

func NewAttachMachineDiskOK() *AttachMachineDiskOK

NewAttachMachineDiskOK creates a AttachMachineDiskOK with default headers values

func (*AttachMachineDiskOK) Error

func (o *AttachMachineDiskOK) Error() string

func (*AttachMachineDiskOK) GetPayload

func (o *AttachMachineDiskOK) GetPayload() *models.RequestTracker

func (*AttachMachineDiskOK) IsClientError added in v0.5.0

func (o *AttachMachineDiskOK) IsClientError() bool

IsClientError returns true when this attach machine disk o k response has a 4xx status code

func (*AttachMachineDiskOK) IsCode added in v0.5.0

func (o *AttachMachineDiskOK) IsCode(code int) bool

IsCode returns true when this attach machine disk o k response a status code equal to that given

func (*AttachMachineDiskOK) IsRedirect added in v0.5.0

func (o *AttachMachineDiskOK) IsRedirect() bool

IsRedirect returns true when this attach machine disk o k response has a 3xx status code

func (*AttachMachineDiskOK) IsServerError added in v0.5.0

func (o *AttachMachineDiskOK) IsServerError() bool

IsServerError returns true when this attach machine disk o k response has a 5xx status code

func (*AttachMachineDiskOK) IsSuccess added in v0.5.0

func (o *AttachMachineDiskOK) IsSuccess() bool

IsSuccess returns true when this attach machine disk o k response has a 2xx status code

func (*AttachMachineDiskOK) String added in v0.5.0

func (o *AttachMachineDiskOK) String() string

type AttachMachineDiskParams

type AttachMachineDiskParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   Disk Specification instance
	*/
	Body *models.DiskAttachmentSpecification

	/* ID.

	   The ID of the machine.
	*/
	ID string

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

AttachMachineDiskParams contains all the parameters to send to the API endpoint

for the attach machine disk operation.

Typically these are written to a http.Request.

func NewAttachMachineDiskParams

func NewAttachMachineDiskParams() *AttachMachineDiskParams

NewAttachMachineDiskParams creates a new AttachMachineDiskParams 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 NewAttachMachineDiskParamsWithContext

func NewAttachMachineDiskParamsWithContext(ctx context.Context) *AttachMachineDiskParams

NewAttachMachineDiskParamsWithContext creates a new AttachMachineDiskParams object with the ability to set a context for a request.

func NewAttachMachineDiskParamsWithHTTPClient

func NewAttachMachineDiskParamsWithHTTPClient(client *http.Client) *AttachMachineDiskParams

NewAttachMachineDiskParamsWithHTTPClient creates a new AttachMachineDiskParams object with the ability to set a custom HTTPClient for a request.

func NewAttachMachineDiskParamsWithTimeout

func NewAttachMachineDiskParamsWithTimeout(timeout time.Duration) *AttachMachineDiskParams

NewAttachMachineDiskParamsWithTimeout creates a new AttachMachineDiskParams object with the ability to set a timeout on a request.

func (*AttachMachineDiskParams) SetAPIVersion

func (o *AttachMachineDiskParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the attach machine disk params

func (*AttachMachineDiskParams) SetBody

SetBody adds the body to the attach machine disk params

func (*AttachMachineDiskParams) SetContext

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

SetContext adds the context to the attach machine disk params

func (*AttachMachineDiskParams) SetDefaults added in v0.2.20

func (o *AttachMachineDiskParams) SetDefaults()

SetDefaults hydrates default values in the attach machine disk params (not the query body).

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

func (*AttachMachineDiskParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the attach machine disk params

func (*AttachMachineDiskParams) SetID

func (o *AttachMachineDiskParams) SetID(id string)

SetID adds the id to the attach machine disk params

func (*AttachMachineDiskParams) SetTimeout

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

SetTimeout adds the timeout to the attach machine disk params

func (*AttachMachineDiskParams) WithAPIVersion

func (o *AttachMachineDiskParams) WithAPIVersion(aPIVersion *string) *AttachMachineDiskParams

WithAPIVersion adds the aPIVersion to the attach machine disk params

func (*AttachMachineDiskParams) WithBody

WithBody adds the body to the attach machine disk params

func (*AttachMachineDiskParams) WithContext

WithContext adds the context to the attach machine disk params

func (*AttachMachineDiskParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the attach machine disk params (not the query body).

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

func (*AttachMachineDiskParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the attach machine disk params

func (*AttachMachineDiskParams) WithID

WithID adds the id to the attach machine disk params

func (*AttachMachineDiskParams) WithTimeout

WithTimeout adds the timeout to the attach machine disk params

func (*AttachMachineDiskParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AttachMachineDiskReader

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

AttachMachineDiskReader is a Reader for the AttachMachineDisk structure.

func (*AttachMachineDiskReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for disk API

func (*Client) AttachMachineDisk

func (a *Client) AttachMachineDisk(params *AttachMachineDiskParams, opts ...ClientOption) (*AttachMachineDiskOK, error)

AttachMachineDisk attaches machine disk

Attach a disk to a machine.

func (*Client) CreateBlockDevice

func (a *Client) CreateBlockDevice(params *CreateBlockDeviceParams, opts ...ClientOption) (*CreateBlockDeviceAccepted, error)

CreateBlockDevice creates block device

Following disk custom properties can be passed while creating a block device:

  1. dataStore: Defines name of the datastore in which the disk has to be provisioned.
  2. storagePolicy: Defines name of the storage policy in which the disk has to be provisioned. If name of the datastore is specified in the custom properties then, datastore takes precedence.
  3. provisioningType: Defines the type of provisioning. For eg. thick/thin.
  4. resourceGroupName: Defines the Azure resource group name where the disk needs to be provisioned.

func (*Client) CreateBlockDeviceSnapshot added in v0.2.20

CreateBlockDeviceSnapshot creates snapshot operation for block device

Second day create snapshot operation for Block device

func (*Client) DeleteBlockDevice

DeleteBlockDevice deletes a block device

Delete a BlockDevice

1. A block device cannot be deleted when attached to a machine. 2. A block device with persistent property set to 'false' is deleted. 3. A block device with persistent property set to 'true' needs an additional parameter 'purge' to be set to true, for deletion.

func (*Client) DeleteBlockDeviceSnapshot added in v0.2.20

DeleteBlockDeviceSnapshot deletes snapshot operation for block device

Second day delete snapshot operation for Block device

func (*Client) DeleteMachineDisk

DeleteMachineDisk deletes machine disk

Remove a disk from a given machine.

func (*Client) GetBlockDevice

func (a *Client) GetBlockDevice(params *GetBlockDeviceParams, opts ...ClientOption) (*GetBlockDeviceOK, error)

GetBlockDevice gets block device

Get a single BlockDevice

func (*Client) GetBlockDevices

func (a *Client) GetBlockDevices(params *GetBlockDevicesParams, opts ...ClientOption) (*GetBlockDevicesOK, error)

GetBlockDevices gets block devices

Get all BlockDevices

func (*Client) GetDiskSnapshot added in v0.2.14

func (a *Client) GetDiskSnapshot(params *GetDiskSnapshotParams, opts ...ClientOption) (*GetDiskSnapshotOK, error)

GetDiskSnapshot gets disk snapshot

Get snapshot with a given id for specific disk

func (*Client) GetDiskSnapshots added in v0.2.14

func (a *Client) GetDiskSnapshots(params *GetDiskSnapshotsParams, opts ...ClientOption) (*GetDiskSnapshotsOK, error)

GetDiskSnapshots gets disk snapshots information

Get disk snapshots information

func (*Client) GetMachineDisk

func (a *Client) GetMachineDisk(params *GetMachineDiskParams, opts ...ClientOption) (*GetMachineDiskOK, error)

GetMachineDisk gets machine disk

Get disk with a given id for specific machine

func (*Client) GetMachineDisks

func (a *Client) GetMachineDisks(params *GetMachineDisksParams, opts ...ClientOption) (*GetMachineDisksOK, error)

GetMachineDisks gets machine disks

Get all machine disks

func (*Client) PromoteDisk added in v0.2.14

func (a *Client) PromoteDisk(params *PromoteDiskParams, opts ...ClientOption) (*PromoteDiskAccepted, error)

PromoteDisk promotes operation on disk

Second day promote operation on disk. Applicable for vSphere Block Devices only

func (*Client) ResizeBlockDevice added in v0.2.6

ResizeBlockDevice resizes block device

Resize operation on block device.

func (*Client) RevertDiskSnapshot added in v0.2.14

func (a *Client) RevertDiskSnapshot(params *RevertDiskSnapshotParams, opts ...ClientOption) (*RevertDiskSnapshotAccepted, error)

RevertDiskSnapshot reverts snapshot operation for block device

Second day revert snapshot operation for Block device

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v0.2.20

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.2.18

type ClientService interface {
	PromoteDisk(params *PromoteDiskParams, opts ...ClientOption) (*PromoteDiskAccepted, error)

	AttachMachineDisk(params *AttachMachineDiskParams, opts ...ClientOption) (*AttachMachineDiskOK, error)

	CreateBlockDevice(params *CreateBlockDeviceParams, opts ...ClientOption) (*CreateBlockDeviceAccepted, error)

	CreateBlockDeviceSnapshot(params *CreateBlockDeviceSnapshotParams, opts ...ClientOption) (*CreateBlockDeviceSnapshotAccepted, *CreateBlockDeviceSnapshotNoContent, error)

	DeleteBlockDevice(params *DeleteBlockDeviceParams, opts ...ClientOption) (*DeleteBlockDeviceAccepted, *DeleteBlockDeviceNoContent, error)

	DeleteBlockDeviceSnapshot(params *DeleteBlockDeviceSnapshotParams, opts ...ClientOption) (*DeleteBlockDeviceSnapshotAccepted, *DeleteBlockDeviceSnapshotNoContent, error)

	DeleteMachineDisk(params *DeleteMachineDiskParams, opts ...ClientOption) (*DeleteMachineDiskAccepted, *DeleteMachineDiskNoContent, error)

	GetBlockDevice(params *GetBlockDeviceParams, opts ...ClientOption) (*GetBlockDeviceOK, error)

	GetBlockDevices(params *GetBlockDevicesParams, opts ...ClientOption) (*GetBlockDevicesOK, error)

	GetDiskSnapshot(params *GetDiskSnapshotParams, opts ...ClientOption) (*GetDiskSnapshotOK, error)

	GetDiskSnapshots(params *GetDiskSnapshotsParams, opts ...ClientOption) (*GetDiskSnapshotsOK, error)

	GetMachineDisk(params *GetMachineDiskParams, opts ...ClientOption) (*GetMachineDiskOK, error)

	GetMachineDisks(params *GetMachineDisksParams, opts ...ClientOption) (*GetMachineDisksOK, error)

	ResizeBlockDevice(params *ResizeBlockDeviceParams, opts ...ClientOption) (*ResizeBlockDeviceAccepted, *ResizeBlockDeviceNoContent, error)

	RevertDiskSnapshot(params *RevertDiskSnapshotParams, opts ...ClientOption) (*RevertDiskSnapshotAccepted, 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 disk API client.

type CreateBlockDeviceAccepted

type CreateBlockDeviceAccepted struct {
	Payload *models.RequestTracker
}

CreateBlockDeviceAccepted describes a response with status code 202, with default header values.

successful operation

func NewCreateBlockDeviceAccepted

func NewCreateBlockDeviceAccepted() *CreateBlockDeviceAccepted

NewCreateBlockDeviceAccepted creates a CreateBlockDeviceAccepted with default headers values

func (*CreateBlockDeviceAccepted) Error

func (o *CreateBlockDeviceAccepted) Error() string

func (*CreateBlockDeviceAccepted) GetPayload

func (*CreateBlockDeviceAccepted) IsClientError added in v0.5.0

func (o *CreateBlockDeviceAccepted) IsClientError() bool

IsClientError returns true when this create block device accepted response has a 4xx status code

func (*CreateBlockDeviceAccepted) IsCode added in v0.5.0

func (o *CreateBlockDeviceAccepted) IsCode(code int) bool

IsCode returns true when this create block device accepted response a status code equal to that given

func (*CreateBlockDeviceAccepted) IsRedirect added in v0.5.0

func (o *CreateBlockDeviceAccepted) IsRedirect() bool

IsRedirect returns true when this create block device accepted response has a 3xx status code

func (*CreateBlockDeviceAccepted) IsServerError added in v0.5.0

func (o *CreateBlockDeviceAccepted) IsServerError() bool

IsServerError returns true when this create block device accepted response has a 5xx status code

func (*CreateBlockDeviceAccepted) IsSuccess added in v0.5.0

func (o *CreateBlockDeviceAccepted) IsSuccess() bool

IsSuccess returns true when this create block device accepted response has a 2xx status code

func (*CreateBlockDeviceAccepted) String added in v0.5.0

func (o *CreateBlockDeviceAccepted) String() string

type CreateBlockDeviceBadRequest

type CreateBlockDeviceBadRequest struct {
	Payload *models.Error
}

CreateBlockDeviceBadRequest describes a response with status code 400, with default header values.

Invalid Request - bad data

func NewCreateBlockDeviceBadRequest

func NewCreateBlockDeviceBadRequest() *CreateBlockDeviceBadRequest

NewCreateBlockDeviceBadRequest creates a CreateBlockDeviceBadRequest with default headers values

func (*CreateBlockDeviceBadRequest) Error

func (*CreateBlockDeviceBadRequest) GetPayload added in v0.2.9

func (o *CreateBlockDeviceBadRequest) GetPayload() *models.Error

func (*CreateBlockDeviceBadRequest) IsClientError added in v0.5.0

func (o *CreateBlockDeviceBadRequest) IsClientError() bool

IsClientError returns true when this create block device bad request response has a 4xx status code

func (*CreateBlockDeviceBadRequest) IsCode added in v0.5.0

func (o *CreateBlockDeviceBadRequest) IsCode(code int) bool

IsCode returns true when this create block device bad request response a status code equal to that given

func (*CreateBlockDeviceBadRequest) IsRedirect added in v0.5.0

func (o *CreateBlockDeviceBadRequest) IsRedirect() bool

IsRedirect returns true when this create block device bad request response has a 3xx status code

func (*CreateBlockDeviceBadRequest) IsServerError added in v0.5.0

func (o *CreateBlockDeviceBadRequest) IsServerError() bool

IsServerError returns true when this create block device bad request response has a 5xx status code

func (*CreateBlockDeviceBadRequest) IsSuccess added in v0.5.0

func (o *CreateBlockDeviceBadRequest) IsSuccess() bool

IsSuccess returns true when this create block device bad request response has a 2xx status code

func (*CreateBlockDeviceBadRequest) String added in v0.5.0

func (o *CreateBlockDeviceBadRequest) String() string

type CreateBlockDeviceForbidden

type CreateBlockDeviceForbidden struct {
	Payload *models.ServiceErrorResponse
}

CreateBlockDeviceForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateBlockDeviceForbidden

func NewCreateBlockDeviceForbidden() *CreateBlockDeviceForbidden

NewCreateBlockDeviceForbidden creates a CreateBlockDeviceForbidden with default headers values

func (*CreateBlockDeviceForbidden) Error

func (*CreateBlockDeviceForbidden) GetPayload added in v0.2.20

func (*CreateBlockDeviceForbidden) IsClientError added in v0.5.0

func (o *CreateBlockDeviceForbidden) IsClientError() bool

IsClientError returns true when this create block device forbidden response has a 4xx status code

func (*CreateBlockDeviceForbidden) IsCode added in v0.5.0

func (o *CreateBlockDeviceForbidden) IsCode(code int) bool

IsCode returns true when this create block device forbidden response a status code equal to that given

func (*CreateBlockDeviceForbidden) IsRedirect added in v0.5.0

func (o *CreateBlockDeviceForbidden) IsRedirect() bool

IsRedirect returns true when this create block device forbidden response has a 3xx status code

func (*CreateBlockDeviceForbidden) IsServerError added in v0.5.0

func (o *CreateBlockDeviceForbidden) IsServerError() bool

IsServerError returns true when this create block device forbidden response has a 5xx status code

func (*CreateBlockDeviceForbidden) IsSuccess added in v0.5.0

func (o *CreateBlockDeviceForbidden) IsSuccess() bool

IsSuccess returns true when this create block device forbidden response has a 2xx status code

func (*CreateBlockDeviceForbidden) String added in v0.5.0

func (o *CreateBlockDeviceForbidden) String() string

type CreateBlockDeviceParams

type CreateBlockDeviceParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   Disk Specification instance
	*/
	Body *models.BlockDeviceSpecification

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

CreateBlockDeviceParams contains all the parameters to send to the API endpoint

for the create block device operation.

Typically these are written to a http.Request.

func NewCreateBlockDeviceParams

func NewCreateBlockDeviceParams() *CreateBlockDeviceParams

NewCreateBlockDeviceParams creates a new CreateBlockDeviceParams 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 NewCreateBlockDeviceParamsWithContext

func NewCreateBlockDeviceParamsWithContext(ctx context.Context) *CreateBlockDeviceParams

NewCreateBlockDeviceParamsWithContext creates a new CreateBlockDeviceParams object with the ability to set a context for a request.

func NewCreateBlockDeviceParamsWithHTTPClient

func NewCreateBlockDeviceParamsWithHTTPClient(client *http.Client) *CreateBlockDeviceParams

NewCreateBlockDeviceParamsWithHTTPClient creates a new CreateBlockDeviceParams object with the ability to set a custom HTTPClient for a request.

func NewCreateBlockDeviceParamsWithTimeout

func NewCreateBlockDeviceParamsWithTimeout(timeout time.Duration) *CreateBlockDeviceParams

NewCreateBlockDeviceParamsWithTimeout creates a new CreateBlockDeviceParams object with the ability to set a timeout on a request.

func (*CreateBlockDeviceParams) SetAPIVersion

func (o *CreateBlockDeviceParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the create block device params

func (*CreateBlockDeviceParams) SetBody

SetBody adds the body to the create block device params

func (*CreateBlockDeviceParams) SetContext

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

SetContext adds the context to the create block device params

func (*CreateBlockDeviceParams) SetDefaults added in v0.2.20

func (o *CreateBlockDeviceParams) SetDefaults()

SetDefaults hydrates default values in the create block device params (not the query body).

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

func (*CreateBlockDeviceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create block device params

func (*CreateBlockDeviceParams) SetTimeout

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

SetTimeout adds the timeout to the create block device params

func (*CreateBlockDeviceParams) WithAPIVersion

func (o *CreateBlockDeviceParams) WithAPIVersion(aPIVersion *string) *CreateBlockDeviceParams

WithAPIVersion adds the aPIVersion to the create block device params

func (*CreateBlockDeviceParams) WithBody

WithBody adds the body to the create block device params

func (*CreateBlockDeviceParams) WithContext

WithContext adds the context to the create block device params

func (*CreateBlockDeviceParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the create block device params (not the query body).

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

func (*CreateBlockDeviceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create block device params

func (*CreateBlockDeviceParams) WithTimeout

WithTimeout adds the timeout to the create block device params

func (*CreateBlockDeviceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateBlockDeviceReader

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

CreateBlockDeviceReader is a Reader for the CreateBlockDevice structure.

func (*CreateBlockDeviceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateBlockDeviceSnapshotAccepted added in v0.2.20

type CreateBlockDeviceSnapshotAccepted struct {
	Payload *models.RequestTracker
}

CreateBlockDeviceSnapshotAccepted describes a response with status code 202, with default header values.

successful operation

func NewCreateBlockDeviceSnapshotAccepted added in v0.2.20

func NewCreateBlockDeviceSnapshotAccepted() *CreateBlockDeviceSnapshotAccepted

NewCreateBlockDeviceSnapshotAccepted creates a CreateBlockDeviceSnapshotAccepted with default headers values

func (*CreateBlockDeviceSnapshotAccepted) Error added in v0.2.20

func (*CreateBlockDeviceSnapshotAccepted) GetPayload added in v0.2.20

func (*CreateBlockDeviceSnapshotAccepted) IsClientError added in v0.5.0

func (o *CreateBlockDeviceSnapshotAccepted) IsClientError() bool

IsClientError returns true when this create block device snapshot accepted response has a 4xx status code

func (*CreateBlockDeviceSnapshotAccepted) IsCode added in v0.5.0

func (o *CreateBlockDeviceSnapshotAccepted) IsCode(code int) bool

IsCode returns true when this create block device snapshot accepted response a status code equal to that given

func (*CreateBlockDeviceSnapshotAccepted) IsRedirect added in v0.5.0

func (o *CreateBlockDeviceSnapshotAccepted) IsRedirect() bool

IsRedirect returns true when this create block device snapshot accepted response has a 3xx status code

func (*CreateBlockDeviceSnapshotAccepted) IsServerError added in v0.5.0

func (o *CreateBlockDeviceSnapshotAccepted) IsServerError() bool

IsServerError returns true when this create block device snapshot accepted response has a 5xx status code

func (*CreateBlockDeviceSnapshotAccepted) IsSuccess added in v0.5.0

func (o *CreateBlockDeviceSnapshotAccepted) IsSuccess() bool

IsSuccess returns true when this create block device snapshot accepted response has a 2xx status code

func (*CreateBlockDeviceSnapshotAccepted) String added in v0.5.0

type CreateBlockDeviceSnapshotForbidden added in v0.2.20

type CreateBlockDeviceSnapshotForbidden struct {
	Payload *models.ServiceErrorResponse
}

CreateBlockDeviceSnapshotForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateBlockDeviceSnapshotForbidden added in v0.2.20

func NewCreateBlockDeviceSnapshotForbidden() *CreateBlockDeviceSnapshotForbidden

NewCreateBlockDeviceSnapshotForbidden creates a CreateBlockDeviceSnapshotForbidden with default headers values

func (*CreateBlockDeviceSnapshotForbidden) Error added in v0.2.20

func (*CreateBlockDeviceSnapshotForbidden) GetPayload added in v0.2.20

func (*CreateBlockDeviceSnapshotForbidden) IsClientError added in v0.5.0

func (o *CreateBlockDeviceSnapshotForbidden) IsClientError() bool

IsClientError returns true when this create block device snapshot forbidden response has a 4xx status code

func (*CreateBlockDeviceSnapshotForbidden) IsCode added in v0.5.0

IsCode returns true when this create block device snapshot forbidden response a status code equal to that given

func (*CreateBlockDeviceSnapshotForbidden) IsRedirect added in v0.5.0

func (o *CreateBlockDeviceSnapshotForbidden) IsRedirect() bool

IsRedirect returns true when this create block device snapshot forbidden response has a 3xx status code

func (*CreateBlockDeviceSnapshotForbidden) IsServerError added in v0.5.0

func (o *CreateBlockDeviceSnapshotForbidden) IsServerError() bool

IsServerError returns true when this create block device snapshot forbidden response has a 5xx status code

func (*CreateBlockDeviceSnapshotForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this create block device snapshot forbidden response has a 2xx status code

func (*CreateBlockDeviceSnapshotForbidden) String added in v0.5.0

type CreateBlockDeviceSnapshotNoContent added in v0.2.20

type CreateBlockDeviceSnapshotNoContent struct {
}

CreateBlockDeviceSnapshotNoContent describes a response with status code 204, with default header values.

No Content

func NewCreateBlockDeviceSnapshotNoContent added in v0.2.20

func NewCreateBlockDeviceSnapshotNoContent() *CreateBlockDeviceSnapshotNoContent

NewCreateBlockDeviceSnapshotNoContent creates a CreateBlockDeviceSnapshotNoContent with default headers values

func (*CreateBlockDeviceSnapshotNoContent) Error added in v0.2.20

func (*CreateBlockDeviceSnapshotNoContent) IsClientError added in v0.5.0

func (o *CreateBlockDeviceSnapshotNoContent) IsClientError() bool

IsClientError returns true when this create block device snapshot no content response has a 4xx status code

func (*CreateBlockDeviceSnapshotNoContent) IsCode added in v0.5.0

IsCode returns true when this create block device snapshot no content response a status code equal to that given

func (*CreateBlockDeviceSnapshotNoContent) IsRedirect added in v0.5.0

func (o *CreateBlockDeviceSnapshotNoContent) IsRedirect() bool

IsRedirect returns true when this create block device snapshot no content response has a 3xx status code

func (*CreateBlockDeviceSnapshotNoContent) IsServerError added in v0.5.0

func (o *CreateBlockDeviceSnapshotNoContent) IsServerError() bool

IsServerError returns true when this create block device snapshot no content response has a 5xx status code

func (*CreateBlockDeviceSnapshotNoContent) IsSuccess added in v0.5.0

IsSuccess returns true when this create block device snapshot no content response has a 2xx status code

func (*CreateBlockDeviceSnapshotNoContent) String added in v0.5.0

type CreateBlockDeviceSnapshotParams added in v0.2.20

type CreateBlockDeviceSnapshotParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   Disk Snapshot Specification details
	*/
	Body *models.DiskSnapshotSpecification

	/* ID.

	   The ID of the block device.
	*/
	ID string

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

CreateBlockDeviceSnapshotParams contains all the parameters to send to the API endpoint

for the create block device snapshot operation.

Typically these are written to a http.Request.

func NewCreateBlockDeviceSnapshotParams added in v0.2.20

func NewCreateBlockDeviceSnapshotParams() *CreateBlockDeviceSnapshotParams

NewCreateBlockDeviceSnapshotParams creates a new CreateBlockDeviceSnapshotParams 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 NewCreateBlockDeviceSnapshotParamsWithContext added in v0.2.20

func NewCreateBlockDeviceSnapshotParamsWithContext(ctx context.Context) *CreateBlockDeviceSnapshotParams

NewCreateBlockDeviceSnapshotParamsWithContext creates a new CreateBlockDeviceSnapshotParams object with the ability to set a context for a request.

func NewCreateBlockDeviceSnapshotParamsWithHTTPClient added in v0.2.20

func NewCreateBlockDeviceSnapshotParamsWithHTTPClient(client *http.Client) *CreateBlockDeviceSnapshotParams

NewCreateBlockDeviceSnapshotParamsWithHTTPClient creates a new CreateBlockDeviceSnapshotParams object with the ability to set a custom HTTPClient for a request.

func NewCreateBlockDeviceSnapshotParamsWithTimeout added in v0.2.20

func NewCreateBlockDeviceSnapshotParamsWithTimeout(timeout time.Duration) *CreateBlockDeviceSnapshotParams

NewCreateBlockDeviceSnapshotParamsWithTimeout creates a new CreateBlockDeviceSnapshotParams object with the ability to set a timeout on a request.

func (*CreateBlockDeviceSnapshotParams) SetAPIVersion added in v0.2.20

func (o *CreateBlockDeviceSnapshotParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the create block device snapshot params

func (*CreateBlockDeviceSnapshotParams) SetBody added in v0.2.20

SetBody adds the body to the create block device snapshot params

func (*CreateBlockDeviceSnapshotParams) SetContext added in v0.2.20

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

SetContext adds the context to the create block device snapshot params

func (*CreateBlockDeviceSnapshotParams) SetDefaults added in v0.2.20

func (o *CreateBlockDeviceSnapshotParams) SetDefaults()

SetDefaults hydrates default values in the create block device snapshot params (not the query body).

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

func (*CreateBlockDeviceSnapshotParams) SetHTTPClient added in v0.2.20

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

SetHTTPClient adds the HTTPClient to the create block device snapshot params

func (*CreateBlockDeviceSnapshotParams) SetID added in v0.2.20

SetID adds the id to the create block device snapshot params

func (*CreateBlockDeviceSnapshotParams) SetTimeout added in v0.2.20

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

SetTimeout adds the timeout to the create block device snapshot params

func (*CreateBlockDeviceSnapshotParams) WithAPIVersion added in v0.2.20

WithAPIVersion adds the aPIVersion to the create block device snapshot params

func (*CreateBlockDeviceSnapshotParams) WithBody added in v0.2.20

WithBody adds the body to the create block device snapshot params

func (*CreateBlockDeviceSnapshotParams) WithContext added in v0.2.20

WithContext adds the context to the create block device snapshot params

func (*CreateBlockDeviceSnapshotParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the create block device snapshot params (not the query body).

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

func (*CreateBlockDeviceSnapshotParams) WithHTTPClient added in v0.2.20

WithHTTPClient adds the HTTPClient to the create block device snapshot params

func (*CreateBlockDeviceSnapshotParams) WithID added in v0.2.20

WithID adds the id to the create block device snapshot params

func (*CreateBlockDeviceSnapshotParams) WithTimeout added in v0.2.20

WithTimeout adds the timeout to the create block device snapshot params

func (*CreateBlockDeviceSnapshotParams) WriteToRequest added in v0.2.20

WriteToRequest writes these params to a swagger request

type CreateBlockDeviceSnapshotReader added in v0.2.20

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

CreateBlockDeviceSnapshotReader is a Reader for the CreateBlockDeviceSnapshot structure.

func (*CreateBlockDeviceSnapshotReader) ReadResponse added in v0.2.20

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

ReadResponse reads a server response into the received o.

type DeleteBlockDeviceAccepted

type DeleteBlockDeviceAccepted struct {
	Payload *models.RequestTracker
}

DeleteBlockDeviceAccepted describes a response with status code 202, with default header values.

successful operation

func NewDeleteBlockDeviceAccepted

func NewDeleteBlockDeviceAccepted() *DeleteBlockDeviceAccepted

NewDeleteBlockDeviceAccepted creates a DeleteBlockDeviceAccepted with default headers values

func (*DeleteBlockDeviceAccepted) Error

func (o *DeleteBlockDeviceAccepted) Error() string

func (*DeleteBlockDeviceAccepted) GetPayload

func (*DeleteBlockDeviceAccepted) IsClientError added in v0.5.0

func (o *DeleteBlockDeviceAccepted) IsClientError() bool

IsClientError returns true when this delete block device accepted response has a 4xx status code

func (*DeleteBlockDeviceAccepted) IsCode added in v0.5.0

func (o *DeleteBlockDeviceAccepted) IsCode(code int) bool

IsCode returns true when this delete block device accepted response a status code equal to that given

func (*DeleteBlockDeviceAccepted) IsRedirect added in v0.5.0

func (o *DeleteBlockDeviceAccepted) IsRedirect() bool

IsRedirect returns true when this delete block device accepted response has a 3xx status code

func (*DeleteBlockDeviceAccepted) IsServerError added in v0.5.0

func (o *DeleteBlockDeviceAccepted) IsServerError() bool

IsServerError returns true when this delete block device accepted response has a 5xx status code

func (*DeleteBlockDeviceAccepted) IsSuccess added in v0.5.0

func (o *DeleteBlockDeviceAccepted) IsSuccess() bool

IsSuccess returns true when this delete block device accepted response has a 2xx status code

func (*DeleteBlockDeviceAccepted) String added in v0.5.0

func (o *DeleteBlockDeviceAccepted) String() string

type DeleteBlockDeviceForbidden

type DeleteBlockDeviceForbidden struct {
	Payload *models.ServiceErrorResponse
}

DeleteBlockDeviceForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteBlockDeviceForbidden

func NewDeleteBlockDeviceForbidden() *DeleteBlockDeviceForbidden

NewDeleteBlockDeviceForbidden creates a DeleteBlockDeviceForbidden with default headers values

func (*DeleteBlockDeviceForbidden) Error

func (*DeleteBlockDeviceForbidden) GetPayload added in v0.2.20

func (*DeleteBlockDeviceForbidden) IsClientError added in v0.5.0

func (o *DeleteBlockDeviceForbidden) IsClientError() bool

IsClientError returns true when this delete block device forbidden response has a 4xx status code

func (*DeleteBlockDeviceForbidden) IsCode added in v0.5.0

func (o *DeleteBlockDeviceForbidden) IsCode(code int) bool

IsCode returns true when this delete block device forbidden response a status code equal to that given

func (*DeleteBlockDeviceForbidden) IsRedirect added in v0.5.0

func (o *DeleteBlockDeviceForbidden) IsRedirect() bool

IsRedirect returns true when this delete block device forbidden response has a 3xx status code

func (*DeleteBlockDeviceForbidden) IsServerError added in v0.5.0

func (o *DeleteBlockDeviceForbidden) IsServerError() bool

IsServerError returns true when this delete block device forbidden response has a 5xx status code

func (*DeleteBlockDeviceForbidden) IsSuccess added in v0.5.0

func (o *DeleteBlockDeviceForbidden) IsSuccess() bool

IsSuccess returns true when this delete block device forbidden response has a 2xx status code

func (*DeleteBlockDeviceForbidden) String added in v0.5.0

func (o *DeleteBlockDeviceForbidden) String() string

type DeleteBlockDeviceNoContent added in v0.2.1

type DeleteBlockDeviceNoContent struct {
}

DeleteBlockDeviceNoContent describes a response with status code 204, with default header values.

No Content

func NewDeleteBlockDeviceNoContent added in v0.2.1

func NewDeleteBlockDeviceNoContent() *DeleteBlockDeviceNoContent

NewDeleteBlockDeviceNoContent creates a DeleteBlockDeviceNoContent with default headers values

func (*DeleteBlockDeviceNoContent) Error added in v0.2.1

func (*DeleteBlockDeviceNoContent) IsClientError added in v0.5.0

func (o *DeleteBlockDeviceNoContent) IsClientError() bool

IsClientError returns true when this delete block device no content response has a 4xx status code

func (*DeleteBlockDeviceNoContent) IsCode added in v0.5.0

func (o *DeleteBlockDeviceNoContent) IsCode(code int) bool

IsCode returns true when this delete block device no content response a status code equal to that given

func (*DeleteBlockDeviceNoContent) IsRedirect added in v0.5.0

func (o *DeleteBlockDeviceNoContent) IsRedirect() bool

IsRedirect returns true when this delete block device no content response has a 3xx status code

func (*DeleteBlockDeviceNoContent) IsServerError added in v0.5.0

func (o *DeleteBlockDeviceNoContent) IsServerError() bool

IsServerError returns true when this delete block device no content response has a 5xx status code

func (*DeleteBlockDeviceNoContent) IsSuccess added in v0.5.0

func (o *DeleteBlockDeviceNoContent) IsSuccess() bool

IsSuccess returns true when this delete block device no content response has a 2xx status code

func (*DeleteBlockDeviceNoContent) String added in v0.5.0

func (o *DeleteBlockDeviceNoContent) String() string

type DeleteBlockDeviceParams

type DeleteBlockDeviceParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ForceDelete.

	   Controls whether this is a force delete operation. If true, best effort is made for deleting this block device. Use with caution as force deleting may cause inconsistencies between the cloud provider and vRA.
	*/
	ForceDelete *bool

	/* ID.

	   The ID of the block device.
	*/
	ID string

	/* Purge.

	   Indicates if the disk has to be completely destroyed or should be kept in the system. Valid only for block devices with 'persistent' set to true.
	*/
	Purge *bool

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

DeleteBlockDeviceParams contains all the parameters to send to the API endpoint

for the delete block device operation.

Typically these are written to a http.Request.

func NewDeleteBlockDeviceParams

func NewDeleteBlockDeviceParams() *DeleteBlockDeviceParams

NewDeleteBlockDeviceParams creates a new DeleteBlockDeviceParams 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 NewDeleteBlockDeviceParamsWithContext

func NewDeleteBlockDeviceParamsWithContext(ctx context.Context) *DeleteBlockDeviceParams

NewDeleteBlockDeviceParamsWithContext creates a new DeleteBlockDeviceParams object with the ability to set a context for a request.

func NewDeleteBlockDeviceParamsWithHTTPClient

func NewDeleteBlockDeviceParamsWithHTTPClient(client *http.Client) *DeleteBlockDeviceParams

NewDeleteBlockDeviceParamsWithHTTPClient creates a new DeleteBlockDeviceParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteBlockDeviceParamsWithTimeout

func NewDeleteBlockDeviceParamsWithTimeout(timeout time.Duration) *DeleteBlockDeviceParams

NewDeleteBlockDeviceParamsWithTimeout creates a new DeleteBlockDeviceParams object with the ability to set a timeout on a request.

func (*DeleteBlockDeviceParams) SetAPIVersion

func (o *DeleteBlockDeviceParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the delete block device params

func (*DeleteBlockDeviceParams) SetContext

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

SetContext adds the context to the delete block device params

func (*DeleteBlockDeviceParams) SetDefaults added in v0.2.20

func (o *DeleteBlockDeviceParams) SetDefaults()

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

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

func (*DeleteBlockDeviceParams) SetForceDelete added in v0.2.8

func (o *DeleteBlockDeviceParams) SetForceDelete(forceDelete *bool)

SetForceDelete adds the forceDelete to the delete block device params

func (*DeleteBlockDeviceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete block device params

func (*DeleteBlockDeviceParams) SetID

func (o *DeleteBlockDeviceParams) SetID(id string)

SetID adds the id to the delete block device params

func (*DeleteBlockDeviceParams) SetPurge added in v0.2.6

func (o *DeleteBlockDeviceParams) SetPurge(purge *bool)

SetPurge adds the purge to the delete block device params

func (*DeleteBlockDeviceParams) SetTimeout

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

SetTimeout adds the timeout to the delete block device params

func (*DeleteBlockDeviceParams) WithAPIVersion

func (o *DeleteBlockDeviceParams) WithAPIVersion(aPIVersion *string) *DeleteBlockDeviceParams

WithAPIVersion adds the aPIVersion to the delete block device params

func (*DeleteBlockDeviceParams) WithContext

WithContext adds the context to the delete block device params

func (*DeleteBlockDeviceParams) WithDefaults added in v0.2.20

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

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

func (*DeleteBlockDeviceParams) WithForceDelete added in v0.2.8

func (o *DeleteBlockDeviceParams) WithForceDelete(forceDelete *bool) *DeleteBlockDeviceParams

WithForceDelete adds the forceDelete to the delete block device params

func (*DeleteBlockDeviceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete block device params

func (*DeleteBlockDeviceParams) WithID

WithID adds the id to the delete block device params

func (*DeleteBlockDeviceParams) WithPurge added in v0.2.6

WithPurge adds the purge to the delete block device params

func (*DeleteBlockDeviceParams) WithTimeout

WithTimeout adds the timeout to the delete block device params

func (*DeleteBlockDeviceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteBlockDeviceReader

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

DeleteBlockDeviceReader is a Reader for the DeleteBlockDevice structure.

func (*DeleteBlockDeviceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteBlockDeviceSnapshotAccepted added in v0.2.20

type DeleteBlockDeviceSnapshotAccepted struct {
	Payload *models.RequestTracker
}

DeleteBlockDeviceSnapshotAccepted describes a response with status code 202, with default header values.

successful operation

func NewDeleteBlockDeviceSnapshotAccepted added in v0.2.20

func NewDeleteBlockDeviceSnapshotAccepted() *DeleteBlockDeviceSnapshotAccepted

NewDeleteBlockDeviceSnapshotAccepted creates a DeleteBlockDeviceSnapshotAccepted with default headers values

func (*DeleteBlockDeviceSnapshotAccepted) Error added in v0.2.20

func (*DeleteBlockDeviceSnapshotAccepted) GetPayload added in v0.2.20

func (*DeleteBlockDeviceSnapshotAccepted) IsClientError added in v0.5.0

func (o *DeleteBlockDeviceSnapshotAccepted) IsClientError() bool

IsClientError returns true when this delete block device snapshot accepted response has a 4xx status code

func (*DeleteBlockDeviceSnapshotAccepted) IsCode added in v0.5.0

func (o *DeleteBlockDeviceSnapshotAccepted) IsCode(code int) bool

IsCode returns true when this delete block device snapshot accepted response a status code equal to that given

func (*DeleteBlockDeviceSnapshotAccepted) IsRedirect added in v0.5.0

func (o *DeleteBlockDeviceSnapshotAccepted) IsRedirect() bool

IsRedirect returns true when this delete block device snapshot accepted response has a 3xx status code

func (*DeleteBlockDeviceSnapshotAccepted) IsServerError added in v0.5.0

func (o *DeleteBlockDeviceSnapshotAccepted) IsServerError() bool

IsServerError returns true when this delete block device snapshot accepted response has a 5xx status code

func (*DeleteBlockDeviceSnapshotAccepted) IsSuccess added in v0.5.0

func (o *DeleteBlockDeviceSnapshotAccepted) IsSuccess() bool

IsSuccess returns true when this delete block device snapshot accepted response has a 2xx status code

func (*DeleteBlockDeviceSnapshotAccepted) String added in v0.5.0

type DeleteBlockDeviceSnapshotForbidden added in v0.2.20

type DeleteBlockDeviceSnapshotForbidden struct {
	Payload *models.ServiceErrorResponse
}

DeleteBlockDeviceSnapshotForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteBlockDeviceSnapshotForbidden added in v0.2.20

func NewDeleteBlockDeviceSnapshotForbidden() *DeleteBlockDeviceSnapshotForbidden

NewDeleteBlockDeviceSnapshotForbidden creates a DeleteBlockDeviceSnapshotForbidden with default headers values

func (*DeleteBlockDeviceSnapshotForbidden) Error added in v0.2.20

func (*DeleteBlockDeviceSnapshotForbidden) GetPayload added in v0.2.20

func (*DeleteBlockDeviceSnapshotForbidden) IsClientError added in v0.5.0

func (o *DeleteBlockDeviceSnapshotForbidden) IsClientError() bool

IsClientError returns true when this delete block device snapshot forbidden response has a 4xx status code

func (*DeleteBlockDeviceSnapshotForbidden) IsCode added in v0.5.0

IsCode returns true when this delete block device snapshot forbidden response a status code equal to that given

func (*DeleteBlockDeviceSnapshotForbidden) IsRedirect added in v0.5.0

func (o *DeleteBlockDeviceSnapshotForbidden) IsRedirect() bool

IsRedirect returns true when this delete block device snapshot forbidden response has a 3xx status code

func (*DeleteBlockDeviceSnapshotForbidden) IsServerError added in v0.5.0

func (o *DeleteBlockDeviceSnapshotForbidden) IsServerError() bool

IsServerError returns true when this delete block device snapshot forbidden response has a 5xx status code

func (*DeleteBlockDeviceSnapshotForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this delete block device snapshot forbidden response has a 2xx status code

func (*DeleteBlockDeviceSnapshotForbidden) String added in v0.5.0

type DeleteBlockDeviceSnapshotNoContent added in v0.2.20

type DeleteBlockDeviceSnapshotNoContent struct {
}

DeleteBlockDeviceSnapshotNoContent describes a response with status code 204, with default header values.

No Content

func NewDeleteBlockDeviceSnapshotNoContent added in v0.2.20

func NewDeleteBlockDeviceSnapshotNoContent() *DeleteBlockDeviceSnapshotNoContent

NewDeleteBlockDeviceSnapshotNoContent creates a DeleteBlockDeviceSnapshotNoContent with default headers values

func (*DeleteBlockDeviceSnapshotNoContent) Error added in v0.2.20

func (*DeleteBlockDeviceSnapshotNoContent) IsClientError added in v0.5.0

func (o *DeleteBlockDeviceSnapshotNoContent) IsClientError() bool

IsClientError returns true when this delete block device snapshot no content response has a 4xx status code

func (*DeleteBlockDeviceSnapshotNoContent) IsCode added in v0.5.0

IsCode returns true when this delete block device snapshot no content response a status code equal to that given

func (*DeleteBlockDeviceSnapshotNoContent) IsRedirect added in v0.5.0

func (o *DeleteBlockDeviceSnapshotNoContent) IsRedirect() bool

IsRedirect returns true when this delete block device snapshot no content response has a 3xx status code

func (*DeleteBlockDeviceSnapshotNoContent) IsServerError added in v0.5.0

func (o *DeleteBlockDeviceSnapshotNoContent) IsServerError() bool

IsServerError returns true when this delete block device snapshot no content response has a 5xx status code

func (*DeleteBlockDeviceSnapshotNoContent) IsSuccess added in v0.5.0

IsSuccess returns true when this delete block device snapshot no content response has a 2xx status code

func (*DeleteBlockDeviceSnapshotNoContent) String added in v0.5.0

type DeleteBlockDeviceSnapshotParams added in v0.2.20

type DeleteBlockDeviceSnapshotParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ID.

	   The ID of the block device.
	*/
	ID string

	/* Id1.

	   Snapshot id to delete.
	*/
	Id1 string

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

DeleteBlockDeviceSnapshotParams contains all the parameters to send to the API endpoint

for the delete block device snapshot operation.

Typically these are written to a http.Request.

func NewDeleteBlockDeviceSnapshotParams added in v0.2.20

func NewDeleteBlockDeviceSnapshotParams() *DeleteBlockDeviceSnapshotParams

NewDeleteBlockDeviceSnapshotParams creates a new DeleteBlockDeviceSnapshotParams 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 NewDeleteBlockDeviceSnapshotParamsWithContext added in v0.2.20

func NewDeleteBlockDeviceSnapshotParamsWithContext(ctx context.Context) *DeleteBlockDeviceSnapshotParams

NewDeleteBlockDeviceSnapshotParamsWithContext creates a new DeleteBlockDeviceSnapshotParams object with the ability to set a context for a request.

func NewDeleteBlockDeviceSnapshotParamsWithHTTPClient added in v0.2.20

func NewDeleteBlockDeviceSnapshotParamsWithHTTPClient(client *http.Client) *DeleteBlockDeviceSnapshotParams

NewDeleteBlockDeviceSnapshotParamsWithHTTPClient creates a new DeleteBlockDeviceSnapshotParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteBlockDeviceSnapshotParamsWithTimeout added in v0.2.20

func NewDeleteBlockDeviceSnapshotParamsWithTimeout(timeout time.Duration) *DeleteBlockDeviceSnapshotParams

NewDeleteBlockDeviceSnapshotParamsWithTimeout creates a new DeleteBlockDeviceSnapshotParams object with the ability to set a timeout on a request.

func (*DeleteBlockDeviceSnapshotParams) SetAPIVersion added in v0.2.20

func (o *DeleteBlockDeviceSnapshotParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the delete block device snapshot params

func (*DeleteBlockDeviceSnapshotParams) SetContext added in v0.2.20

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

SetContext adds the context to the delete block device snapshot params

func (*DeleteBlockDeviceSnapshotParams) SetDefaults added in v0.2.20

func (o *DeleteBlockDeviceSnapshotParams) SetDefaults()

SetDefaults hydrates default values in the delete block device snapshot params (not the query body).

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

func (*DeleteBlockDeviceSnapshotParams) SetHTTPClient added in v0.2.20

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

SetHTTPClient adds the HTTPClient to the delete block device snapshot params

func (*DeleteBlockDeviceSnapshotParams) SetID added in v0.2.20

SetID adds the id to the delete block device snapshot params

func (*DeleteBlockDeviceSnapshotParams) SetId1 added in v0.2.20

func (o *DeleteBlockDeviceSnapshotParams) SetId1(id1 string)

SetId1 adds the id1 to the delete block device snapshot params

func (*DeleteBlockDeviceSnapshotParams) SetTimeout added in v0.2.20

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

SetTimeout adds the timeout to the delete block device snapshot params

func (*DeleteBlockDeviceSnapshotParams) WithAPIVersion added in v0.2.20

WithAPIVersion adds the aPIVersion to the delete block device snapshot params

func (*DeleteBlockDeviceSnapshotParams) WithContext added in v0.2.20

WithContext adds the context to the delete block device snapshot params

func (*DeleteBlockDeviceSnapshotParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the delete block device snapshot params (not the query body).

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

func (*DeleteBlockDeviceSnapshotParams) WithHTTPClient added in v0.2.20

WithHTTPClient adds the HTTPClient to the delete block device snapshot params

func (*DeleteBlockDeviceSnapshotParams) WithID added in v0.2.20

WithID adds the id to the delete block device snapshot params

func (*DeleteBlockDeviceSnapshotParams) WithId1 added in v0.2.20

WithId1 adds the id1 to the delete block device snapshot params

func (*DeleteBlockDeviceSnapshotParams) WithTimeout added in v0.2.20

WithTimeout adds the timeout to the delete block device snapshot params

func (*DeleteBlockDeviceSnapshotParams) WriteToRequest added in v0.2.20

WriteToRequest writes these params to a swagger request

type DeleteBlockDeviceSnapshotReader added in v0.2.20

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

DeleteBlockDeviceSnapshotReader is a Reader for the DeleteBlockDeviceSnapshot structure.

func (*DeleteBlockDeviceSnapshotReader) ReadResponse added in v0.2.20

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

ReadResponse reads a server response into the received o.

type DeleteMachineDiskAccepted

type DeleteMachineDiskAccepted struct {
	Payload *models.RequestTracker
}

DeleteMachineDiskAccepted describes a response with status code 202, with default header values.

successful operation

func NewDeleteMachineDiskAccepted

func NewDeleteMachineDiskAccepted() *DeleteMachineDiskAccepted

NewDeleteMachineDiskAccepted creates a DeleteMachineDiskAccepted with default headers values

func (*DeleteMachineDiskAccepted) Error

func (o *DeleteMachineDiskAccepted) Error() string

func (*DeleteMachineDiskAccepted) GetPayload

func (*DeleteMachineDiskAccepted) IsClientError added in v0.5.0

func (o *DeleteMachineDiskAccepted) IsClientError() bool

IsClientError returns true when this delete machine disk accepted response has a 4xx status code

func (*DeleteMachineDiskAccepted) IsCode added in v0.5.0

func (o *DeleteMachineDiskAccepted) IsCode(code int) bool

IsCode returns true when this delete machine disk accepted response a status code equal to that given

func (*DeleteMachineDiskAccepted) IsRedirect added in v0.5.0

func (o *DeleteMachineDiskAccepted) IsRedirect() bool

IsRedirect returns true when this delete machine disk accepted response has a 3xx status code

func (*DeleteMachineDiskAccepted) IsServerError added in v0.5.0

func (o *DeleteMachineDiskAccepted) IsServerError() bool

IsServerError returns true when this delete machine disk accepted response has a 5xx status code

func (*DeleteMachineDiskAccepted) IsSuccess added in v0.5.0

func (o *DeleteMachineDiskAccepted) IsSuccess() bool

IsSuccess returns true when this delete machine disk accepted response has a 2xx status code

func (*DeleteMachineDiskAccepted) String added in v0.5.0

func (o *DeleteMachineDiskAccepted) String() string

type DeleteMachineDiskForbidden

type DeleteMachineDiskForbidden struct {
	Payload *models.ServiceErrorResponse
}

DeleteMachineDiskForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteMachineDiskForbidden

func NewDeleteMachineDiskForbidden() *DeleteMachineDiskForbidden

NewDeleteMachineDiskForbidden creates a DeleteMachineDiskForbidden with default headers values

func (*DeleteMachineDiskForbidden) Error

func (*DeleteMachineDiskForbidden) GetPayload added in v0.2.20

func (*DeleteMachineDiskForbidden) IsClientError added in v0.5.0

func (o *DeleteMachineDiskForbidden) IsClientError() bool

IsClientError returns true when this delete machine disk forbidden response has a 4xx status code

func (*DeleteMachineDiskForbidden) IsCode added in v0.5.0

func (o *DeleteMachineDiskForbidden) IsCode(code int) bool

IsCode returns true when this delete machine disk forbidden response a status code equal to that given

func (*DeleteMachineDiskForbidden) IsRedirect added in v0.5.0

func (o *DeleteMachineDiskForbidden) IsRedirect() bool

IsRedirect returns true when this delete machine disk forbidden response has a 3xx status code

func (*DeleteMachineDiskForbidden) IsServerError added in v0.5.0

func (o *DeleteMachineDiskForbidden) IsServerError() bool

IsServerError returns true when this delete machine disk forbidden response has a 5xx status code

func (*DeleteMachineDiskForbidden) IsSuccess added in v0.5.0

func (o *DeleteMachineDiskForbidden) IsSuccess() bool

IsSuccess returns true when this delete machine disk forbidden response has a 2xx status code

func (*DeleteMachineDiskForbidden) String added in v0.5.0

func (o *DeleteMachineDiskForbidden) String() string

type DeleteMachineDiskNoContent added in v0.2.2

type DeleteMachineDiskNoContent struct {
}

DeleteMachineDiskNoContent describes a response with status code 204, with default header values.

No Content

func NewDeleteMachineDiskNoContent added in v0.2.2

func NewDeleteMachineDiskNoContent() *DeleteMachineDiskNoContent

NewDeleteMachineDiskNoContent creates a DeleteMachineDiskNoContent with default headers values

func (*DeleteMachineDiskNoContent) Error added in v0.2.2

func (*DeleteMachineDiskNoContent) IsClientError added in v0.5.0

func (o *DeleteMachineDiskNoContent) IsClientError() bool

IsClientError returns true when this delete machine disk no content response has a 4xx status code

func (*DeleteMachineDiskNoContent) IsCode added in v0.5.0

func (o *DeleteMachineDiskNoContent) IsCode(code int) bool

IsCode returns true when this delete machine disk no content response a status code equal to that given

func (*DeleteMachineDiskNoContent) IsRedirect added in v0.5.0

func (o *DeleteMachineDiskNoContent) IsRedirect() bool

IsRedirect returns true when this delete machine disk no content response has a 3xx status code

func (*DeleteMachineDiskNoContent) IsServerError added in v0.5.0

func (o *DeleteMachineDiskNoContent) IsServerError() bool

IsServerError returns true when this delete machine disk no content response has a 5xx status code

func (*DeleteMachineDiskNoContent) IsSuccess added in v0.5.0

func (o *DeleteMachineDiskNoContent) IsSuccess() bool

IsSuccess returns true when this delete machine disk no content response has a 2xx status code

func (*DeleteMachineDiskNoContent) String added in v0.5.0

func (o *DeleteMachineDiskNoContent) String() string

type DeleteMachineDiskParams

type DeleteMachineDiskParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* DiskID.

	   The ID of the disk.
	*/
	DiskID string

	/* ID.

	   The ID of the machine.
	*/
	ID string

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

DeleteMachineDiskParams contains all the parameters to send to the API endpoint

for the delete machine disk operation.

Typically these are written to a http.Request.

func NewDeleteMachineDiskParams

func NewDeleteMachineDiskParams() *DeleteMachineDiskParams

NewDeleteMachineDiskParams creates a new DeleteMachineDiskParams 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 NewDeleteMachineDiskParamsWithContext

func NewDeleteMachineDiskParamsWithContext(ctx context.Context) *DeleteMachineDiskParams

NewDeleteMachineDiskParamsWithContext creates a new DeleteMachineDiskParams object with the ability to set a context for a request.

func NewDeleteMachineDiskParamsWithHTTPClient

func NewDeleteMachineDiskParamsWithHTTPClient(client *http.Client) *DeleteMachineDiskParams

NewDeleteMachineDiskParamsWithHTTPClient creates a new DeleteMachineDiskParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteMachineDiskParamsWithTimeout

func NewDeleteMachineDiskParamsWithTimeout(timeout time.Duration) *DeleteMachineDiskParams

NewDeleteMachineDiskParamsWithTimeout creates a new DeleteMachineDiskParams object with the ability to set a timeout on a request.

func (*DeleteMachineDiskParams) SetAPIVersion

func (o *DeleteMachineDiskParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the delete machine disk params

func (*DeleteMachineDiskParams) SetContext

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

SetContext adds the context to the delete machine disk params

func (*DeleteMachineDiskParams) SetDefaults added in v0.2.20

func (o *DeleteMachineDiskParams) SetDefaults()

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

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

func (*DeleteMachineDiskParams) SetDiskID added in v0.4.0

func (o *DeleteMachineDiskParams) SetDiskID(diskID string)

SetDiskID adds the diskId to the delete machine disk params

func (*DeleteMachineDiskParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete machine disk params

func (*DeleteMachineDiskParams) SetID

func (o *DeleteMachineDiskParams) SetID(id string)

SetID adds the id to the delete machine disk params

func (*DeleteMachineDiskParams) SetTimeout

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

SetTimeout adds the timeout to the delete machine disk params

func (*DeleteMachineDiskParams) WithAPIVersion

func (o *DeleteMachineDiskParams) WithAPIVersion(aPIVersion *string) *DeleteMachineDiskParams

WithAPIVersion adds the aPIVersion to the delete machine disk params

func (*DeleteMachineDiskParams) WithContext

WithContext adds the context to the delete machine disk params

func (*DeleteMachineDiskParams) WithDefaults added in v0.2.20

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

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

func (*DeleteMachineDiskParams) WithDiskID added in v0.4.0

WithDiskID adds the diskID to the delete machine disk params

func (*DeleteMachineDiskParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete machine disk params

func (*DeleteMachineDiskParams) WithID

WithID adds the id to the delete machine disk params

func (*DeleteMachineDiskParams) WithTimeout

WithTimeout adds the timeout to the delete machine disk params

func (*DeleteMachineDiskParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteMachineDiskReader

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

DeleteMachineDiskReader is a Reader for the DeleteMachineDisk structure.

func (*DeleteMachineDiskReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBlockDeviceForbidden

type GetBlockDeviceForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetBlockDeviceForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetBlockDeviceForbidden

func NewGetBlockDeviceForbidden() *GetBlockDeviceForbidden

NewGetBlockDeviceForbidden creates a GetBlockDeviceForbidden with default headers values

func (*GetBlockDeviceForbidden) Error

func (o *GetBlockDeviceForbidden) Error() string

func (*GetBlockDeviceForbidden) GetPayload added in v0.2.20

func (*GetBlockDeviceForbidden) IsClientError added in v0.5.0

func (o *GetBlockDeviceForbidden) IsClientError() bool

IsClientError returns true when this get block device forbidden response has a 4xx status code

func (*GetBlockDeviceForbidden) IsCode added in v0.5.0

func (o *GetBlockDeviceForbidden) IsCode(code int) bool

IsCode returns true when this get block device forbidden response a status code equal to that given

func (*GetBlockDeviceForbidden) IsRedirect added in v0.5.0

func (o *GetBlockDeviceForbidden) IsRedirect() bool

IsRedirect returns true when this get block device forbidden response has a 3xx status code

func (*GetBlockDeviceForbidden) IsServerError added in v0.5.0

func (o *GetBlockDeviceForbidden) IsServerError() bool

IsServerError returns true when this get block device forbidden response has a 5xx status code

func (*GetBlockDeviceForbidden) IsSuccess added in v0.5.0

func (o *GetBlockDeviceForbidden) IsSuccess() bool

IsSuccess returns true when this get block device forbidden response has a 2xx status code

func (*GetBlockDeviceForbidden) String added in v0.5.0

func (o *GetBlockDeviceForbidden) String() string

type GetBlockDeviceNotFound added in v0.2.6

type GetBlockDeviceNotFound struct {
	Payload *models.Error
}

GetBlockDeviceNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetBlockDeviceNotFound added in v0.2.6

func NewGetBlockDeviceNotFound() *GetBlockDeviceNotFound

NewGetBlockDeviceNotFound creates a GetBlockDeviceNotFound with default headers values

func (*GetBlockDeviceNotFound) Error added in v0.2.6

func (o *GetBlockDeviceNotFound) Error() string

func (*GetBlockDeviceNotFound) GetPayload added in v0.2.9

func (o *GetBlockDeviceNotFound) GetPayload() *models.Error

func (*GetBlockDeviceNotFound) IsClientError added in v0.5.0

func (o *GetBlockDeviceNotFound) IsClientError() bool

IsClientError returns true when this get block device not found response has a 4xx status code

func (*GetBlockDeviceNotFound) IsCode added in v0.5.0

func (o *GetBlockDeviceNotFound) IsCode(code int) bool

IsCode returns true when this get block device not found response a status code equal to that given

func (*GetBlockDeviceNotFound) IsRedirect added in v0.5.0

func (o *GetBlockDeviceNotFound) IsRedirect() bool

IsRedirect returns true when this get block device not found response has a 3xx status code

func (*GetBlockDeviceNotFound) IsServerError added in v0.5.0

func (o *GetBlockDeviceNotFound) IsServerError() bool

IsServerError returns true when this get block device not found response has a 5xx status code

func (*GetBlockDeviceNotFound) IsSuccess added in v0.5.0

func (o *GetBlockDeviceNotFound) IsSuccess() bool

IsSuccess returns true when this get block device not found response has a 2xx status code

func (*GetBlockDeviceNotFound) String added in v0.5.0

func (o *GetBlockDeviceNotFound) String() string

type GetBlockDeviceOK

type GetBlockDeviceOK struct {
	Payload *models.BlockDevice
}

GetBlockDeviceOK describes a response with status code 200, with default header values.

successful operation

func NewGetBlockDeviceOK

func NewGetBlockDeviceOK() *GetBlockDeviceOK

NewGetBlockDeviceOK creates a GetBlockDeviceOK with default headers values

func (*GetBlockDeviceOK) Error

func (o *GetBlockDeviceOK) Error() string

func (*GetBlockDeviceOK) GetPayload

func (o *GetBlockDeviceOK) GetPayload() *models.BlockDevice

func (*GetBlockDeviceOK) IsClientError added in v0.5.0

func (o *GetBlockDeviceOK) IsClientError() bool

IsClientError returns true when this get block device o k response has a 4xx status code

func (*GetBlockDeviceOK) IsCode added in v0.5.0

func (o *GetBlockDeviceOK) IsCode(code int) bool

IsCode returns true when this get block device o k response a status code equal to that given

func (*GetBlockDeviceOK) IsRedirect added in v0.5.0

func (o *GetBlockDeviceOK) IsRedirect() bool

IsRedirect returns true when this get block device o k response has a 3xx status code

func (*GetBlockDeviceOK) IsServerError added in v0.5.0

func (o *GetBlockDeviceOK) IsServerError() bool

IsServerError returns true when this get block device o k response has a 5xx status code

func (*GetBlockDeviceOK) IsSuccess added in v0.5.0

func (o *GetBlockDeviceOK) IsSuccess() bool

IsSuccess returns true when this get block device o k response has a 2xx status code

func (*GetBlockDeviceOK) String added in v0.5.0

func (o *GetBlockDeviceOK) String() string

type GetBlockDeviceParams

type GetBlockDeviceParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ID.

	   The ID of the block device.
	*/
	ID string

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

GetBlockDeviceParams contains all the parameters to send to the API endpoint

for the get block device operation.

Typically these are written to a http.Request.

func NewGetBlockDeviceParams

func NewGetBlockDeviceParams() *GetBlockDeviceParams

NewGetBlockDeviceParams creates a new GetBlockDeviceParams 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 NewGetBlockDeviceParamsWithContext

func NewGetBlockDeviceParamsWithContext(ctx context.Context) *GetBlockDeviceParams

NewGetBlockDeviceParamsWithContext creates a new GetBlockDeviceParams object with the ability to set a context for a request.

func NewGetBlockDeviceParamsWithHTTPClient

func NewGetBlockDeviceParamsWithHTTPClient(client *http.Client) *GetBlockDeviceParams

NewGetBlockDeviceParamsWithHTTPClient creates a new GetBlockDeviceParams object with the ability to set a custom HTTPClient for a request.

func NewGetBlockDeviceParamsWithTimeout

func NewGetBlockDeviceParamsWithTimeout(timeout time.Duration) *GetBlockDeviceParams

NewGetBlockDeviceParamsWithTimeout creates a new GetBlockDeviceParams object with the ability to set a timeout on a request.

func (*GetBlockDeviceParams) SetAPIVersion

func (o *GetBlockDeviceParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get block device params

func (*GetBlockDeviceParams) SetContext

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

SetContext adds the context to the get block device params

func (*GetBlockDeviceParams) SetDefaults added in v0.2.20

func (o *GetBlockDeviceParams) SetDefaults()

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

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

func (*GetBlockDeviceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get block device params

func (*GetBlockDeviceParams) SetID

func (o *GetBlockDeviceParams) SetID(id string)

SetID adds the id to the get block device params

func (*GetBlockDeviceParams) SetTimeout

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

SetTimeout adds the timeout to the get block device params

func (*GetBlockDeviceParams) WithAPIVersion

func (o *GetBlockDeviceParams) WithAPIVersion(aPIVersion *string) *GetBlockDeviceParams

WithAPIVersion adds the aPIVersion to the get block device params

func (*GetBlockDeviceParams) WithContext

WithContext adds the context to the get block device params

func (*GetBlockDeviceParams) WithDefaults added in v0.2.20

func (o *GetBlockDeviceParams) WithDefaults() *GetBlockDeviceParams

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

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

func (*GetBlockDeviceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get block device params

func (*GetBlockDeviceParams) WithID

WithID adds the id to the get block device params

func (*GetBlockDeviceParams) WithTimeout

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

WithTimeout adds the timeout to the get block device params

func (*GetBlockDeviceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBlockDeviceReader

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

GetBlockDeviceReader is a Reader for the GetBlockDevice structure.

func (*GetBlockDeviceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBlockDevicesForbidden

type GetBlockDevicesForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetBlockDevicesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetBlockDevicesForbidden

func NewGetBlockDevicesForbidden() *GetBlockDevicesForbidden

NewGetBlockDevicesForbidden creates a GetBlockDevicesForbidden with default headers values

func (*GetBlockDevicesForbidden) Error

func (o *GetBlockDevicesForbidden) Error() string

func (*GetBlockDevicesForbidden) GetPayload added in v0.2.20

func (*GetBlockDevicesForbidden) IsClientError added in v0.5.0

func (o *GetBlockDevicesForbidden) IsClientError() bool

IsClientError returns true when this get block devices forbidden response has a 4xx status code

func (*GetBlockDevicesForbidden) IsCode added in v0.5.0

func (o *GetBlockDevicesForbidden) IsCode(code int) bool

IsCode returns true when this get block devices forbidden response a status code equal to that given

func (*GetBlockDevicesForbidden) IsRedirect added in v0.5.0

func (o *GetBlockDevicesForbidden) IsRedirect() bool

IsRedirect returns true when this get block devices forbidden response has a 3xx status code

func (*GetBlockDevicesForbidden) IsServerError added in v0.5.0

func (o *GetBlockDevicesForbidden) IsServerError() bool

IsServerError returns true when this get block devices forbidden response has a 5xx status code

func (*GetBlockDevicesForbidden) IsSuccess added in v0.5.0

func (o *GetBlockDevicesForbidden) IsSuccess() bool

IsSuccess returns true when this get block devices forbidden response has a 2xx status code

func (*GetBlockDevicesForbidden) String added in v0.5.0

func (o *GetBlockDevicesForbidden) String() string

type GetBlockDevicesOK

type GetBlockDevicesOK struct {
	Payload *models.BlockDeviceResult
}

GetBlockDevicesOK describes a response with status code 200, with default header values.

successful operation

func NewGetBlockDevicesOK

func NewGetBlockDevicesOK() *GetBlockDevicesOK

NewGetBlockDevicesOK creates a GetBlockDevicesOK with default headers values

func (*GetBlockDevicesOK) Error

func (o *GetBlockDevicesOK) Error() string

func (*GetBlockDevicesOK) GetPayload

func (o *GetBlockDevicesOK) GetPayload() *models.BlockDeviceResult

func (*GetBlockDevicesOK) IsClientError added in v0.5.0

func (o *GetBlockDevicesOK) IsClientError() bool

IsClientError returns true when this get block devices o k response has a 4xx status code

func (*GetBlockDevicesOK) IsCode added in v0.5.0

func (o *GetBlockDevicesOK) IsCode(code int) bool

IsCode returns true when this get block devices o k response a status code equal to that given

func (*GetBlockDevicesOK) IsRedirect added in v0.5.0

func (o *GetBlockDevicesOK) IsRedirect() bool

IsRedirect returns true when this get block devices o k response has a 3xx status code

func (*GetBlockDevicesOK) IsServerError added in v0.5.0

func (o *GetBlockDevicesOK) IsServerError() bool

IsServerError returns true when this get block devices o k response has a 5xx status code

func (*GetBlockDevicesOK) IsSuccess added in v0.5.0

func (o *GetBlockDevicesOK) IsSuccess() bool

IsSuccess returns true when this get block devices o k response has a 2xx status code

func (*GetBlockDevicesOK) String added in v0.5.0

func (o *GetBlockDevicesOK) String() string

type GetBlockDevicesParams

type GetBlockDevicesParams struct {

	/* DollarCount.

	   Flag which when specified, regardless of the assigned value, shows the total number of records. If the collection has a filter it shows the number of records matching the filter.
	*/
	DollarCount *bool

	/* DollarFilter.

	   Filter the results by a specified predicate expression. Operators: eq, ne, and, or.
	*/
	DollarFilter *string

	/* DollarSkip.

	   Number of records you want to skip.
	*/
	DollarSkip *int64

	/* DollarTop.

	   Number of records you want to get.
	*/
	DollarTop *int64

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

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

GetBlockDevicesParams contains all the parameters to send to the API endpoint

for the get block devices operation.

Typically these are written to a http.Request.

func NewGetBlockDevicesParams

func NewGetBlockDevicesParams() *GetBlockDevicesParams

NewGetBlockDevicesParams creates a new GetBlockDevicesParams 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 NewGetBlockDevicesParamsWithContext

func NewGetBlockDevicesParamsWithContext(ctx context.Context) *GetBlockDevicesParams

NewGetBlockDevicesParamsWithContext creates a new GetBlockDevicesParams object with the ability to set a context for a request.

func NewGetBlockDevicesParamsWithHTTPClient

func NewGetBlockDevicesParamsWithHTTPClient(client *http.Client) *GetBlockDevicesParams

NewGetBlockDevicesParamsWithHTTPClient creates a new GetBlockDevicesParams object with the ability to set a custom HTTPClient for a request.

func NewGetBlockDevicesParamsWithTimeout

func NewGetBlockDevicesParamsWithTimeout(timeout time.Duration) *GetBlockDevicesParams

NewGetBlockDevicesParamsWithTimeout creates a new GetBlockDevicesParams object with the ability to set a timeout on a request.

func (*GetBlockDevicesParams) SetAPIVersion

func (o *GetBlockDevicesParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get block devices params

func (*GetBlockDevicesParams) SetContext

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

SetContext adds the context to the get block devices params

func (*GetBlockDevicesParams) SetDefaults added in v0.2.20

func (o *GetBlockDevicesParams) SetDefaults()

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

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

func (*GetBlockDevicesParams) SetDollarCount added in v0.2.20

func (o *GetBlockDevicesParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the get block devices params

func (*GetBlockDevicesParams) SetDollarFilter added in v0.2.4

func (o *GetBlockDevicesParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the get block devices params

func (*GetBlockDevicesParams) SetDollarSkip added in v0.2.20

func (o *GetBlockDevicesParams) SetDollarSkip(dollarSkip *int64)

SetDollarSkip adds the dollarSkip to the get block devices params

func (*GetBlockDevicesParams) SetDollarTop added in v0.2.20

func (o *GetBlockDevicesParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the get block devices params

func (*GetBlockDevicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get block devices params

func (*GetBlockDevicesParams) SetTimeout

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

SetTimeout adds the timeout to the get block devices params

func (*GetBlockDevicesParams) WithAPIVersion

func (o *GetBlockDevicesParams) WithAPIVersion(aPIVersion *string) *GetBlockDevicesParams

WithAPIVersion adds the aPIVersion to the get block devices params

func (*GetBlockDevicesParams) WithContext

WithContext adds the context to the get block devices params

func (*GetBlockDevicesParams) WithDefaults added in v0.2.20

func (o *GetBlockDevicesParams) WithDefaults() *GetBlockDevicesParams

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

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

func (*GetBlockDevicesParams) WithDollarCount added in v0.2.20

func (o *GetBlockDevicesParams) WithDollarCount(dollarCount *bool) *GetBlockDevicesParams

WithDollarCount adds the dollarCount to the get block devices params

func (*GetBlockDevicesParams) WithDollarFilter added in v0.2.4

func (o *GetBlockDevicesParams) WithDollarFilter(dollarFilter *string) *GetBlockDevicesParams

WithDollarFilter adds the dollarFilter to the get block devices params

func (*GetBlockDevicesParams) WithDollarSkip added in v0.2.20

func (o *GetBlockDevicesParams) WithDollarSkip(dollarSkip *int64) *GetBlockDevicesParams

WithDollarSkip adds the dollarSkip to the get block devices params

func (*GetBlockDevicesParams) WithDollarTop added in v0.2.20

func (o *GetBlockDevicesParams) WithDollarTop(dollarTop *int64) *GetBlockDevicesParams

WithDollarTop adds the dollarTop to the get block devices params

func (*GetBlockDevicesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get block devices params

func (*GetBlockDevicesParams) WithTimeout

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

WithTimeout adds the timeout to the get block devices params

func (*GetBlockDevicesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBlockDevicesReader

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

GetBlockDevicesReader is a Reader for the GetBlockDevices structure.

func (*GetBlockDevicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDiskSnapshotForbidden added in v0.2.14

type GetDiskSnapshotForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetDiskSnapshotForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDiskSnapshotForbidden added in v0.2.14

func NewGetDiskSnapshotForbidden() *GetDiskSnapshotForbidden

NewGetDiskSnapshotForbidden creates a GetDiskSnapshotForbidden with default headers values

func (*GetDiskSnapshotForbidden) Error added in v0.2.14

func (o *GetDiskSnapshotForbidden) Error() string

func (*GetDiskSnapshotForbidden) GetPayload added in v0.2.20

func (*GetDiskSnapshotForbidden) IsClientError added in v0.5.0

func (o *GetDiskSnapshotForbidden) IsClientError() bool

IsClientError returns true when this get disk snapshot forbidden response has a 4xx status code

func (*GetDiskSnapshotForbidden) IsCode added in v0.5.0

func (o *GetDiskSnapshotForbidden) IsCode(code int) bool

IsCode returns true when this get disk snapshot forbidden response a status code equal to that given

func (*GetDiskSnapshotForbidden) IsRedirect added in v0.5.0

func (o *GetDiskSnapshotForbidden) IsRedirect() bool

IsRedirect returns true when this get disk snapshot forbidden response has a 3xx status code

func (*GetDiskSnapshotForbidden) IsServerError added in v0.5.0

func (o *GetDiskSnapshotForbidden) IsServerError() bool

IsServerError returns true when this get disk snapshot forbidden response has a 5xx status code

func (*GetDiskSnapshotForbidden) IsSuccess added in v0.5.0

func (o *GetDiskSnapshotForbidden) IsSuccess() bool

IsSuccess returns true when this get disk snapshot forbidden response has a 2xx status code

func (*GetDiskSnapshotForbidden) String added in v0.5.0

func (o *GetDiskSnapshotForbidden) String() string

type GetDiskSnapshotNotFound added in v0.2.14

type GetDiskSnapshotNotFound struct {
	Payload *models.Error
}

GetDiskSnapshotNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetDiskSnapshotNotFound added in v0.2.14

func NewGetDiskSnapshotNotFound() *GetDiskSnapshotNotFound

NewGetDiskSnapshotNotFound creates a GetDiskSnapshotNotFound with default headers values

func (*GetDiskSnapshotNotFound) Error added in v0.2.14

func (o *GetDiskSnapshotNotFound) Error() string

func (*GetDiskSnapshotNotFound) GetPayload added in v0.2.14

func (o *GetDiskSnapshotNotFound) GetPayload() *models.Error

func (*GetDiskSnapshotNotFound) IsClientError added in v0.5.0

func (o *GetDiskSnapshotNotFound) IsClientError() bool

IsClientError returns true when this get disk snapshot not found response has a 4xx status code

func (*GetDiskSnapshotNotFound) IsCode added in v0.5.0

func (o *GetDiskSnapshotNotFound) IsCode(code int) bool

IsCode returns true when this get disk snapshot not found response a status code equal to that given

func (*GetDiskSnapshotNotFound) IsRedirect added in v0.5.0

func (o *GetDiskSnapshotNotFound) IsRedirect() bool

IsRedirect returns true when this get disk snapshot not found response has a 3xx status code

func (*GetDiskSnapshotNotFound) IsServerError added in v0.5.0

func (o *GetDiskSnapshotNotFound) IsServerError() bool

IsServerError returns true when this get disk snapshot not found response has a 5xx status code

func (*GetDiskSnapshotNotFound) IsSuccess added in v0.5.0

func (o *GetDiskSnapshotNotFound) IsSuccess() bool

IsSuccess returns true when this get disk snapshot not found response has a 2xx status code

func (*GetDiskSnapshotNotFound) String added in v0.5.0

func (o *GetDiskSnapshotNotFound) String() string

type GetDiskSnapshotOK added in v0.2.14

type GetDiskSnapshotOK struct {
	Payload *models.DiskSnapshot
}

GetDiskSnapshotOK describes a response with status code 200, with default header values.

successful operation

func NewGetDiskSnapshotOK added in v0.2.14

func NewGetDiskSnapshotOK() *GetDiskSnapshotOK

NewGetDiskSnapshotOK creates a GetDiskSnapshotOK with default headers values

func (*GetDiskSnapshotOK) Error added in v0.2.14

func (o *GetDiskSnapshotOK) Error() string

func (*GetDiskSnapshotOK) GetPayload added in v0.2.14

func (o *GetDiskSnapshotOK) GetPayload() *models.DiskSnapshot

func (*GetDiskSnapshotOK) IsClientError added in v0.5.0

func (o *GetDiskSnapshotOK) IsClientError() bool

IsClientError returns true when this get disk snapshot o k response has a 4xx status code

func (*GetDiskSnapshotOK) IsCode added in v0.5.0

func (o *GetDiskSnapshotOK) IsCode(code int) bool

IsCode returns true when this get disk snapshot o k response a status code equal to that given

func (*GetDiskSnapshotOK) IsRedirect added in v0.5.0

func (o *GetDiskSnapshotOK) IsRedirect() bool

IsRedirect returns true when this get disk snapshot o k response has a 3xx status code

func (*GetDiskSnapshotOK) IsServerError added in v0.5.0

func (o *GetDiskSnapshotOK) IsServerError() bool

IsServerError returns true when this get disk snapshot o k response has a 5xx status code

func (*GetDiskSnapshotOK) IsSuccess added in v0.5.0

func (o *GetDiskSnapshotOK) IsSuccess() bool

IsSuccess returns true when this get disk snapshot o k response has a 2xx status code

func (*GetDiskSnapshotOK) String added in v0.5.0

func (o *GetDiskSnapshotOK) String() string

type GetDiskSnapshotParams added in v0.2.14

type GetDiskSnapshotParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ID.

	   The ID of the disk.
	*/
	ID string

	/* Id1.

	   The ID of the snapshot.
	*/
	Id1 string

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

GetDiskSnapshotParams contains all the parameters to send to the API endpoint

for the get disk snapshot operation.

Typically these are written to a http.Request.

func NewGetDiskSnapshotParams added in v0.2.14

func NewGetDiskSnapshotParams() *GetDiskSnapshotParams

NewGetDiskSnapshotParams creates a new GetDiskSnapshotParams 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 NewGetDiskSnapshotParamsWithContext added in v0.2.14

func NewGetDiskSnapshotParamsWithContext(ctx context.Context) *GetDiskSnapshotParams

NewGetDiskSnapshotParamsWithContext creates a new GetDiskSnapshotParams object with the ability to set a context for a request.

func NewGetDiskSnapshotParamsWithHTTPClient added in v0.2.14

func NewGetDiskSnapshotParamsWithHTTPClient(client *http.Client) *GetDiskSnapshotParams

NewGetDiskSnapshotParamsWithHTTPClient creates a new GetDiskSnapshotParams object with the ability to set a custom HTTPClient for a request.

func NewGetDiskSnapshotParamsWithTimeout added in v0.2.14

func NewGetDiskSnapshotParamsWithTimeout(timeout time.Duration) *GetDiskSnapshotParams

NewGetDiskSnapshotParamsWithTimeout creates a new GetDiskSnapshotParams object with the ability to set a timeout on a request.

func (*GetDiskSnapshotParams) SetAPIVersion added in v0.2.14

func (o *GetDiskSnapshotParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get disk snapshot params

func (*GetDiskSnapshotParams) SetContext added in v0.2.14

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

SetContext adds the context to the get disk snapshot params

func (*GetDiskSnapshotParams) SetDefaults added in v0.2.20

func (o *GetDiskSnapshotParams) SetDefaults()

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

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

func (*GetDiskSnapshotParams) SetHTTPClient added in v0.2.14

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

SetHTTPClient adds the HTTPClient to the get disk snapshot params

func (*GetDiskSnapshotParams) SetID added in v0.2.14

func (o *GetDiskSnapshotParams) SetID(id string)

SetID adds the id to the get disk snapshot params

func (*GetDiskSnapshotParams) SetId1 added in v0.2.14

func (o *GetDiskSnapshotParams) SetId1(id1 string)

SetId1 adds the id1 to the get disk snapshot params

func (*GetDiskSnapshotParams) SetTimeout added in v0.2.14

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

SetTimeout adds the timeout to the get disk snapshot params

func (*GetDiskSnapshotParams) WithAPIVersion added in v0.2.14

func (o *GetDiskSnapshotParams) WithAPIVersion(aPIVersion *string) *GetDiskSnapshotParams

WithAPIVersion adds the aPIVersion to the get disk snapshot params

func (*GetDiskSnapshotParams) WithContext added in v0.2.14

WithContext adds the context to the get disk snapshot params

func (*GetDiskSnapshotParams) WithDefaults added in v0.2.20

func (o *GetDiskSnapshotParams) WithDefaults() *GetDiskSnapshotParams

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

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

func (*GetDiskSnapshotParams) WithHTTPClient added in v0.2.14

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

WithHTTPClient adds the HTTPClient to the get disk snapshot params

func (*GetDiskSnapshotParams) WithID added in v0.2.14

WithID adds the id to the get disk snapshot params

func (*GetDiskSnapshotParams) WithId1 added in v0.2.14

WithId1 adds the id1 to the get disk snapshot params

func (*GetDiskSnapshotParams) WithTimeout added in v0.2.14

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

WithTimeout adds the timeout to the get disk snapshot params

func (*GetDiskSnapshotParams) WriteToRequest added in v0.2.14

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

WriteToRequest writes these params to a swagger request

type GetDiskSnapshotReader added in v0.2.14

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

GetDiskSnapshotReader is a Reader for the GetDiskSnapshot structure.

func (*GetDiskSnapshotReader) ReadResponse added in v0.2.14

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

ReadResponse reads a server response into the received o.

type GetDiskSnapshotsForbidden added in v0.2.14

type GetDiskSnapshotsForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetDiskSnapshotsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetDiskSnapshotsForbidden added in v0.2.14

func NewGetDiskSnapshotsForbidden() *GetDiskSnapshotsForbidden

NewGetDiskSnapshotsForbidden creates a GetDiskSnapshotsForbidden with default headers values

func (*GetDiskSnapshotsForbidden) Error added in v0.2.14

func (o *GetDiskSnapshotsForbidden) Error() string

func (*GetDiskSnapshotsForbidden) GetPayload added in v0.2.20

func (*GetDiskSnapshotsForbidden) IsClientError added in v0.5.0

func (o *GetDiskSnapshotsForbidden) IsClientError() bool

IsClientError returns true when this get disk snapshots forbidden response has a 4xx status code

func (*GetDiskSnapshotsForbidden) IsCode added in v0.5.0

func (o *GetDiskSnapshotsForbidden) IsCode(code int) bool

IsCode returns true when this get disk snapshots forbidden response a status code equal to that given

func (*GetDiskSnapshotsForbidden) IsRedirect added in v0.5.0

func (o *GetDiskSnapshotsForbidden) IsRedirect() bool

IsRedirect returns true when this get disk snapshots forbidden response has a 3xx status code

func (*GetDiskSnapshotsForbidden) IsServerError added in v0.5.0

func (o *GetDiskSnapshotsForbidden) IsServerError() bool

IsServerError returns true when this get disk snapshots forbidden response has a 5xx status code

func (*GetDiskSnapshotsForbidden) IsSuccess added in v0.5.0

func (o *GetDiskSnapshotsForbidden) IsSuccess() bool

IsSuccess returns true when this get disk snapshots forbidden response has a 2xx status code

func (*GetDiskSnapshotsForbidden) String added in v0.5.0

func (o *GetDiskSnapshotsForbidden) String() string

type GetDiskSnapshotsNotFound added in v0.2.14

type GetDiskSnapshotsNotFound struct {
	Payload *models.Error
}

GetDiskSnapshotsNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetDiskSnapshotsNotFound added in v0.2.14

func NewGetDiskSnapshotsNotFound() *GetDiskSnapshotsNotFound

NewGetDiskSnapshotsNotFound creates a GetDiskSnapshotsNotFound with default headers values

func (*GetDiskSnapshotsNotFound) Error added in v0.2.14

func (o *GetDiskSnapshotsNotFound) Error() string

func (*GetDiskSnapshotsNotFound) GetPayload added in v0.2.14

func (o *GetDiskSnapshotsNotFound) GetPayload() *models.Error

func (*GetDiskSnapshotsNotFound) IsClientError added in v0.5.0

func (o *GetDiskSnapshotsNotFound) IsClientError() bool

IsClientError returns true when this get disk snapshots not found response has a 4xx status code

func (*GetDiskSnapshotsNotFound) IsCode added in v0.5.0

func (o *GetDiskSnapshotsNotFound) IsCode(code int) bool

IsCode returns true when this get disk snapshots not found response a status code equal to that given

func (*GetDiskSnapshotsNotFound) IsRedirect added in v0.5.0

func (o *GetDiskSnapshotsNotFound) IsRedirect() bool

IsRedirect returns true when this get disk snapshots not found response has a 3xx status code

func (*GetDiskSnapshotsNotFound) IsServerError added in v0.5.0

func (o *GetDiskSnapshotsNotFound) IsServerError() bool

IsServerError returns true when this get disk snapshots not found response has a 5xx status code

func (*GetDiskSnapshotsNotFound) IsSuccess added in v0.5.0

func (o *GetDiskSnapshotsNotFound) IsSuccess() bool

IsSuccess returns true when this get disk snapshots not found response has a 2xx status code

func (*GetDiskSnapshotsNotFound) String added in v0.5.0

func (o *GetDiskSnapshotsNotFound) String() string

type GetDiskSnapshotsOK added in v0.2.14

type GetDiskSnapshotsOK struct {
	Payload []*models.DiskSnapshot
}

GetDiskSnapshotsOK describes a response with status code 200, with default header values.

successful operation

func NewGetDiskSnapshotsOK added in v0.2.14

func NewGetDiskSnapshotsOK() *GetDiskSnapshotsOK

NewGetDiskSnapshotsOK creates a GetDiskSnapshotsOK with default headers values

func (*GetDiskSnapshotsOK) Error added in v0.2.14

func (o *GetDiskSnapshotsOK) Error() string

func (*GetDiskSnapshotsOK) GetPayload added in v0.2.14

func (o *GetDiskSnapshotsOK) GetPayload() []*models.DiskSnapshot

func (*GetDiskSnapshotsOK) IsClientError added in v0.5.0

func (o *GetDiskSnapshotsOK) IsClientError() bool

IsClientError returns true when this get disk snapshots o k response has a 4xx status code

func (*GetDiskSnapshotsOK) IsCode added in v0.5.0

func (o *GetDiskSnapshotsOK) IsCode(code int) bool

IsCode returns true when this get disk snapshots o k response a status code equal to that given

func (*GetDiskSnapshotsOK) IsRedirect added in v0.5.0

func (o *GetDiskSnapshotsOK) IsRedirect() bool

IsRedirect returns true when this get disk snapshots o k response has a 3xx status code

func (*GetDiskSnapshotsOK) IsServerError added in v0.5.0

func (o *GetDiskSnapshotsOK) IsServerError() bool

IsServerError returns true when this get disk snapshots o k response has a 5xx status code

func (*GetDiskSnapshotsOK) IsSuccess added in v0.5.0

func (o *GetDiskSnapshotsOK) IsSuccess() bool

IsSuccess returns true when this get disk snapshots o k response has a 2xx status code

func (*GetDiskSnapshotsOK) String added in v0.5.0

func (o *GetDiskSnapshotsOK) String() string

type GetDiskSnapshotsParams added in v0.2.14

type GetDiskSnapshotsParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ID.

	   The ID of the disk.
	*/
	ID string

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

GetDiskSnapshotsParams contains all the parameters to send to the API endpoint

for the get disk snapshots operation.

Typically these are written to a http.Request.

func NewGetDiskSnapshotsParams added in v0.2.14

func NewGetDiskSnapshotsParams() *GetDiskSnapshotsParams

NewGetDiskSnapshotsParams creates a new GetDiskSnapshotsParams 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 NewGetDiskSnapshotsParamsWithContext added in v0.2.14

func NewGetDiskSnapshotsParamsWithContext(ctx context.Context) *GetDiskSnapshotsParams

NewGetDiskSnapshotsParamsWithContext creates a new GetDiskSnapshotsParams object with the ability to set a context for a request.

func NewGetDiskSnapshotsParamsWithHTTPClient added in v0.2.14

func NewGetDiskSnapshotsParamsWithHTTPClient(client *http.Client) *GetDiskSnapshotsParams

NewGetDiskSnapshotsParamsWithHTTPClient creates a new GetDiskSnapshotsParams object with the ability to set a custom HTTPClient for a request.

func NewGetDiskSnapshotsParamsWithTimeout added in v0.2.14

func NewGetDiskSnapshotsParamsWithTimeout(timeout time.Duration) *GetDiskSnapshotsParams

NewGetDiskSnapshotsParamsWithTimeout creates a new GetDiskSnapshotsParams object with the ability to set a timeout on a request.

func (*GetDiskSnapshotsParams) SetAPIVersion added in v0.2.14

func (o *GetDiskSnapshotsParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get disk snapshots params

func (*GetDiskSnapshotsParams) SetContext added in v0.2.14

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

SetContext adds the context to the get disk snapshots params

func (*GetDiskSnapshotsParams) SetDefaults added in v0.2.20

func (o *GetDiskSnapshotsParams) SetDefaults()

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

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

func (*GetDiskSnapshotsParams) SetHTTPClient added in v0.2.14

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

SetHTTPClient adds the HTTPClient to the get disk snapshots params

func (*GetDiskSnapshotsParams) SetID added in v0.2.14

func (o *GetDiskSnapshotsParams) SetID(id string)

SetID adds the id to the get disk snapshots params

func (*GetDiskSnapshotsParams) SetTimeout added in v0.2.14

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

SetTimeout adds the timeout to the get disk snapshots params

func (*GetDiskSnapshotsParams) WithAPIVersion added in v0.2.14

func (o *GetDiskSnapshotsParams) WithAPIVersion(aPIVersion *string) *GetDiskSnapshotsParams

WithAPIVersion adds the aPIVersion to the get disk snapshots params

func (*GetDiskSnapshotsParams) WithContext added in v0.2.14

WithContext adds the context to the get disk snapshots params

func (*GetDiskSnapshotsParams) WithDefaults added in v0.2.20

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

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

func (*GetDiskSnapshotsParams) WithHTTPClient added in v0.2.14

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

WithHTTPClient adds the HTTPClient to the get disk snapshots params

func (*GetDiskSnapshotsParams) WithID added in v0.2.14

WithID adds the id to the get disk snapshots params

func (*GetDiskSnapshotsParams) WithTimeout added in v0.2.14

WithTimeout adds the timeout to the get disk snapshots params

func (*GetDiskSnapshotsParams) WriteToRequest added in v0.2.14

WriteToRequest writes these params to a swagger request

type GetDiskSnapshotsReader added in v0.2.14

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

GetDiskSnapshotsReader is a Reader for the GetDiskSnapshots structure.

func (*GetDiskSnapshotsReader) ReadResponse added in v0.2.14

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

ReadResponse reads a server response into the received o.

type GetMachineDiskForbidden

type GetMachineDiskForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetMachineDiskForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetMachineDiskForbidden

func NewGetMachineDiskForbidden() *GetMachineDiskForbidden

NewGetMachineDiskForbidden creates a GetMachineDiskForbidden with default headers values

func (*GetMachineDiskForbidden) Error

func (o *GetMachineDiskForbidden) Error() string

func (*GetMachineDiskForbidden) GetPayload added in v0.2.20

func (*GetMachineDiskForbidden) IsClientError added in v0.5.0

func (o *GetMachineDiskForbidden) IsClientError() bool

IsClientError returns true when this get machine disk forbidden response has a 4xx status code

func (*GetMachineDiskForbidden) IsCode added in v0.5.0

func (o *GetMachineDiskForbidden) IsCode(code int) bool

IsCode returns true when this get machine disk forbidden response a status code equal to that given

func (*GetMachineDiskForbidden) IsRedirect added in v0.5.0

func (o *GetMachineDiskForbidden) IsRedirect() bool

IsRedirect returns true when this get machine disk forbidden response has a 3xx status code

func (*GetMachineDiskForbidden) IsServerError added in v0.5.0

func (o *GetMachineDiskForbidden) IsServerError() bool

IsServerError returns true when this get machine disk forbidden response has a 5xx status code

func (*GetMachineDiskForbidden) IsSuccess added in v0.5.0

func (o *GetMachineDiskForbidden) IsSuccess() bool

IsSuccess returns true when this get machine disk forbidden response has a 2xx status code

func (*GetMachineDiskForbidden) String added in v0.5.0

func (o *GetMachineDiskForbidden) String() string

type GetMachineDiskNotFound

type GetMachineDiskNotFound struct {
	Payload *models.Error
}

GetMachineDiskNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetMachineDiskNotFound

func NewGetMachineDiskNotFound() *GetMachineDiskNotFound

NewGetMachineDiskNotFound creates a GetMachineDiskNotFound with default headers values

func (*GetMachineDiskNotFound) Error

func (o *GetMachineDiskNotFound) Error() string

func (*GetMachineDiskNotFound) GetPayload added in v0.2.9

func (o *GetMachineDiskNotFound) GetPayload() *models.Error

func (*GetMachineDiskNotFound) IsClientError added in v0.5.0

func (o *GetMachineDiskNotFound) IsClientError() bool

IsClientError returns true when this get machine disk not found response has a 4xx status code

func (*GetMachineDiskNotFound) IsCode added in v0.5.0

func (o *GetMachineDiskNotFound) IsCode(code int) bool

IsCode returns true when this get machine disk not found response a status code equal to that given

func (*GetMachineDiskNotFound) IsRedirect added in v0.5.0

func (o *GetMachineDiskNotFound) IsRedirect() bool

IsRedirect returns true when this get machine disk not found response has a 3xx status code

func (*GetMachineDiskNotFound) IsServerError added in v0.5.0

func (o *GetMachineDiskNotFound) IsServerError() bool

IsServerError returns true when this get machine disk not found response has a 5xx status code

func (*GetMachineDiskNotFound) IsSuccess added in v0.5.0

func (o *GetMachineDiskNotFound) IsSuccess() bool

IsSuccess returns true when this get machine disk not found response has a 2xx status code

func (*GetMachineDiskNotFound) String added in v0.5.0

func (o *GetMachineDiskNotFound) String() string

type GetMachineDiskOK

type GetMachineDiskOK struct {
	Payload *models.BlockDevice
}

GetMachineDiskOK describes a response with status code 200, with default header values.

successful operation

func NewGetMachineDiskOK

func NewGetMachineDiskOK() *GetMachineDiskOK

NewGetMachineDiskOK creates a GetMachineDiskOK with default headers values

func (*GetMachineDiskOK) Error

func (o *GetMachineDiskOK) Error() string

func (*GetMachineDiskOK) GetPayload

func (o *GetMachineDiskOK) GetPayload() *models.BlockDevice

func (*GetMachineDiskOK) IsClientError added in v0.5.0

func (o *GetMachineDiskOK) IsClientError() bool

IsClientError returns true when this get machine disk o k response has a 4xx status code

func (*GetMachineDiskOK) IsCode added in v0.5.0

func (o *GetMachineDiskOK) IsCode(code int) bool

IsCode returns true when this get machine disk o k response a status code equal to that given

func (*GetMachineDiskOK) IsRedirect added in v0.5.0

func (o *GetMachineDiskOK) IsRedirect() bool

IsRedirect returns true when this get machine disk o k response has a 3xx status code

func (*GetMachineDiskOK) IsServerError added in v0.5.0

func (o *GetMachineDiskOK) IsServerError() bool

IsServerError returns true when this get machine disk o k response has a 5xx status code

func (*GetMachineDiskOK) IsSuccess added in v0.5.0

func (o *GetMachineDiskOK) IsSuccess() bool

IsSuccess returns true when this get machine disk o k response has a 2xx status code

func (*GetMachineDiskOK) String added in v0.5.0

func (o *GetMachineDiskOK) String() string

type GetMachineDiskParams

type GetMachineDiskParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* DiskID.

	   The ID of the disk.
	*/
	DiskID string

	/* ID.

	   The ID of the machine.
	*/
	ID string

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

GetMachineDiskParams contains all the parameters to send to the API endpoint

for the get machine disk operation.

Typically these are written to a http.Request.

func NewGetMachineDiskParams

func NewGetMachineDiskParams() *GetMachineDiskParams

NewGetMachineDiskParams creates a new GetMachineDiskParams 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 NewGetMachineDiskParamsWithContext

func NewGetMachineDiskParamsWithContext(ctx context.Context) *GetMachineDiskParams

NewGetMachineDiskParamsWithContext creates a new GetMachineDiskParams object with the ability to set a context for a request.

func NewGetMachineDiskParamsWithHTTPClient

func NewGetMachineDiskParamsWithHTTPClient(client *http.Client) *GetMachineDiskParams

NewGetMachineDiskParamsWithHTTPClient creates a new GetMachineDiskParams object with the ability to set a custom HTTPClient for a request.

func NewGetMachineDiskParamsWithTimeout

func NewGetMachineDiskParamsWithTimeout(timeout time.Duration) *GetMachineDiskParams

NewGetMachineDiskParamsWithTimeout creates a new GetMachineDiskParams object with the ability to set a timeout on a request.

func (*GetMachineDiskParams) SetAPIVersion

func (o *GetMachineDiskParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get machine disk params

func (*GetMachineDiskParams) SetContext

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

SetContext adds the context to the get machine disk params

func (*GetMachineDiskParams) SetDefaults added in v0.2.20

func (o *GetMachineDiskParams) SetDefaults()

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

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

func (*GetMachineDiskParams) SetDiskID added in v0.4.0

func (o *GetMachineDiskParams) SetDiskID(diskID string)

SetDiskID adds the diskId to the get machine disk params

func (*GetMachineDiskParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get machine disk params

func (*GetMachineDiskParams) SetID

func (o *GetMachineDiskParams) SetID(id string)

SetID adds the id to the get machine disk params

func (*GetMachineDiskParams) SetTimeout

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

SetTimeout adds the timeout to the get machine disk params

func (*GetMachineDiskParams) WithAPIVersion

func (o *GetMachineDiskParams) WithAPIVersion(aPIVersion *string) *GetMachineDiskParams

WithAPIVersion adds the aPIVersion to the get machine disk params

func (*GetMachineDiskParams) WithContext

WithContext adds the context to the get machine disk params

func (*GetMachineDiskParams) WithDefaults added in v0.2.20

func (o *GetMachineDiskParams) WithDefaults() *GetMachineDiskParams

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

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

func (*GetMachineDiskParams) WithDiskID added in v0.4.0

func (o *GetMachineDiskParams) WithDiskID(diskID string) *GetMachineDiskParams

WithDiskID adds the diskID to the get machine disk params

func (*GetMachineDiskParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get machine disk params

func (*GetMachineDiskParams) WithID

WithID adds the id to the get machine disk params

func (*GetMachineDiskParams) WithTimeout

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

WithTimeout adds the timeout to the get machine disk params

func (*GetMachineDiskParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetMachineDiskReader

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

GetMachineDiskReader is a Reader for the GetMachineDisk structure.

func (*GetMachineDiskReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMachineDisksForbidden

type GetMachineDisksForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetMachineDisksForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetMachineDisksForbidden

func NewGetMachineDisksForbidden() *GetMachineDisksForbidden

NewGetMachineDisksForbidden creates a GetMachineDisksForbidden with default headers values

func (*GetMachineDisksForbidden) Error

func (o *GetMachineDisksForbidden) Error() string

func (*GetMachineDisksForbidden) GetPayload added in v0.2.20

func (*GetMachineDisksForbidden) IsClientError added in v0.5.0

func (o *GetMachineDisksForbidden) IsClientError() bool

IsClientError returns true when this get machine disks forbidden response has a 4xx status code

func (*GetMachineDisksForbidden) IsCode added in v0.5.0

func (o *GetMachineDisksForbidden) IsCode(code int) bool

IsCode returns true when this get machine disks forbidden response a status code equal to that given

func (*GetMachineDisksForbidden) IsRedirect added in v0.5.0

func (o *GetMachineDisksForbidden) IsRedirect() bool

IsRedirect returns true when this get machine disks forbidden response has a 3xx status code

func (*GetMachineDisksForbidden) IsServerError added in v0.5.0

func (o *GetMachineDisksForbidden) IsServerError() bool

IsServerError returns true when this get machine disks forbidden response has a 5xx status code

func (*GetMachineDisksForbidden) IsSuccess added in v0.5.0

func (o *GetMachineDisksForbidden) IsSuccess() bool

IsSuccess returns true when this get machine disks forbidden response has a 2xx status code

func (*GetMachineDisksForbidden) String added in v0.5.0

func (o *GetMachineDisksForbidden) String() string

type GetMachineDisksNotFound

type GetMachineDisksNotFound struct {
	Payload *models.Error
}

GetMachineDisksNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetMachineDisksNotFound

func NewGetMachineDisksNotFound() *GetMachineDisksNotFound

NewGetMachineDisksNotFound creates a GetMachineDisksNotFound with default headers values

func (*GetMachineDisksNotFound) Error

func (o *GetMachineDisksNotFound) Error() string

func (*GetMachineDisksNotFound) GetPayload added in v0.2.9

func (o *GetMachineDisksNotFound) GetPayload() *models.Error

func (*GetMachineDisksNotFound) IsClientError added in v0.5.0

func (o *GetMachineDisksNotFound) IsClientError() bool

IsClientError returns true when this get machine disks not found response has a 4xx status code

func (*GetMachineDisksNotFound) IsCode added in v0.5.0

func (o *GetMachineDisksNotFound) IsCode(code int) bool

IsCode returns true when this get machine disks not found response a status code equal to that given

func (*GetMachineDisksNotFound) IsRedirect added in v0.5.0

func (o *GetMachineDisksNotFound) IsRedirect() bool

IsRedirect returns true when this get machine disks not found response has a 3xx status code

func (*GetMachineDisksNotFound) IsServerError added in v0.5.0

func (o *GetMachineDisksNotFound) IsServerError() bool

IsServerError returns true when this get machine disks not found response has a 5xx status code

func (*GetMachineDisksNotFound) IsSuccess added in v0.5.0

func (o *GetMachineDisksNotFound) IsSuccess() bool

IsSuccess returns true when this get machine disks not found response has a 2xx status code

func (*GetMachineDisksNotFound) String added in v0.5.0

func (o *GetMachineDisksNotFound) String() string

type GetMachineDisksOK

type GetMachineDisksOK struct {
	Payload *models.BlockDeviceResult
}

GetMachineDisksOK describes a response with status code 200, with default header values.

successful operation

func NewGetMachineDisksOK

func NewGetMachineDisksOK() *GetMachineDisksOK

NewGetMachineDisksOK creates a GetMachineDisksOK with default headers values

func (*GetMachineDisksOK) Error

func (o *GetMachineDisksOK) Error() string

func (*GetMachineDisksOK) GetPayload

func (o *GetMachineDisksOK) GetPayload() *models.BlockDeviceResult

func (*GetMachineDisksOK) IsClientError added in v0.5.0

func (o *GetMachineDisksOK) IsClientError() bool

IsClientError returns true when this get machine disks o k response has a 4xx status code

func (*GetMachineDisksOK) IsCode added in v0.5.0

func (o *GetMachineDisksOK) IsCode(code int) bool

IsCode returns true when this get machine disks o k response a status code equal to that given

func (*GetMachineDisksOK) IsRedirect added in v0.5.0

func (o *GetMachineDisksOK) IsRedirect() bool

IsRedirect returns true when this get machine disks o k response has a 3xx status code

func (*GetMachineDisksOK) IsServerError added in v0.5.0

func (o *GetMachineDisksOK) IsServerError() bool

IsServerError returns true when this get machine disks o k response has a 5xx status code

func (*GetMachineDisksOK) IsSuccess added in v0.5.0

func (o *GetMachineDisksOK) IsSuccess() bool

IsSuccess returns true when this get machine disks o k response has a 2xx status code

func (*GetMachineDisksOK) String added in v0.5.0

func (o *GetMachineDisksOK) String() string

type GetMachineDisksParams

type GetMachineDisksParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ID.

	   The ID of the machine.
	*/
	ID string

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

GetMachineDisksParams contains all the parameters to send to the API endpoint

for the get machine disks operation.

Typically these are written to a http.Request.

func NewGetMachineDisksParams

func NewGetMachineDisksParams() *GetMachineDisksParams

NewGetMachineDisksParams creates a new GetMachineDisksParams 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 NewGetMachineDisksParamsWithContext

func NewGetMachineDisksParamsWithContext(ctx context.Context) *GetMachineDisksParams

NewGetMachineDisksParamsWithContext creates a new GetMachineDisksParams object with the ability to set a context for a request.

func NewGetMachineDisksParamsWithHTTPClient

func NewGetMachineDisksParamsWithHTTPClient(client *http.Client) *GetMachineDisksParams

NewGetMachineDisksParamsWithHTTPClient creates a new GetMachineDisksParams object with the ability to set a custom HTTPClient for a request.

func NewGetMachineDisksParamsWithTimeout

func NewGetMachineDisksParamsWithTimeout(timeout time.Duration) *GetMachineDisksParams

NewGetMachineDisksParamsWithTimeout creates a new GetMachineDisksParams object with the ability to set a timeout on a request.

func (*GetMachineDisksParams) SetAPIVersion

func (o *GetMachineDisksParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get machine disks params

func (*GetMachineDisksParams) SetContext

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

SetContext adds the context to the get machine disks params

func (*GetMachineDisksParams) SetDefaults added in v0.2.20

func (o *GetMachineDisksParams) SetDefaults()

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

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

func (*GetMachineDisksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get machine disks params

func (*GetMachineDisksParams) SetID

func (o *GetMachineDisksParams) SetID(id string)

SetID adds the id to the get machine disks params

func (*GetMachineDisksParams) SetTimeout

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

SetTimeout adds the timeout to the get machine disks params

func (*GetMachineDisksParams) WithAPIVersion

func (o *GetMachineDisksParams) WithAPIVersion(aPIVersion *string) *GetMachineDisksParams

WithAPIVersion adds the aPIVersion to the get machine disks params

func (*GetMachineDisksParams) WithContext

WithContext adds the context to the get machine disks params

func (*GetMachineDisksParams) WithDefaults added in v0.2.20

func (o *GetMachineDisksParams) WithDefaults() *GetMachineDisksParams

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

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

func (*GetMachineDisksParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get machine disks params

func (*GetMachineDisksParams) WithID

WithID adds the id to the get machine disks params

func (*GetMachineDisksParams) WithTimeout

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

WithTimeout adds the timeout to the get machine disks params

func (*GetMachineDisksParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetMachineDisksReader

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

GetMachineDisksReader is a Reader for the GetMachineDisks structure.

func (*GetMachineDisksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PromoteDiskAccepted added in v0.2.18

type PromoteDiskAccepted struct {
	Payload *models.RequestTracker
}

PromoteDiskAccepted describes a response with status code 202, with default header values.

successful operation

func NewPromoteDiskAccepted added in v0.2.18

func NewPromoteDiskAccepted() *PromoteDiskAccepted

NewPromoteDiskAccepted creates a PromoteDiskAccepted with default headers values

func (*PromoteDiskAccepted) Error added in v0.2.18

func (o *PromoteDiskAccepted) Error() string

func (*PromoteDiskAccepted) GetPayload added in v0.2.18

func (o *PromoteDiskAccepted) GetPayload() *models.RequestTracker

func (*PromoteDiskAccepted) IsClientError added in v0.5.0

func (o *PromoteDiskAccepted) IsClientError() bool

IsClientError returns true when this promote disk accepted response has a 4xx status code

func (*PromoteDiskAccepted) IsCode added in v0.5.0

func (o *PromoteDiskAccepted) IsCode(code int) bool

IsCode returns true when this promote disk accepted response a status code equal to that given

func (*PromoteDiskAccepted) IsRedirect added in v0.5.0

func (o *PromoteDiskAccepted) IsRedirect() bool

IsRedirect returns true when this promote disk accepted response has a 3xx status code

func (*PromoteDiskAccepted) IsServerError added in v0.5.0

func (o *PromoteDiskAccepted) IsServerError() bool

IsServerError returns true when this promote disk accepted response has a 5xx status code

func (*PromoteDiskAccepted) IsSuccess added in v0.5.0

func (o *PromoteDiskAccepted) IsSuccess() bool

IsSuccess returns true when this promote disk accepted response has a 2xx status code

func (*PromoteDiskAccepted) String added in v0.5.0

func (o *PromoteDiskAccepted) String() string

type PromoteDiskForbidden added in v0.2.14

type PromoteDiskForbidden struct {
	Payload *models.ServiceErrorResponse
}

PromoteDiskForbidden describes a response with status code 403, with default header values.

Forbidden

func NewPromoteDiskForbidden added in v0.2.14

func NewPromoteDiskForbidden() *PromoteDiskForbidden

NewPromoteDiskForbidden creates a PromoteDiskForbidden with default headers values

func (*PromoteDiskForbidden) Error added in v0.2.14

func (o *PromoteDiskForbidden) Error() string

func (*PromoteDiskForbidden) GetPayload added in v0.2.20

func (*PromoteDiskForbidden) IsClientError added in v0.5.0

func (o *PromoteDiskForbidden) IsClientError() bool

IsClientError returns true when this promote disk forbidden response has a 4xx status code

func (*PromoteDiskForbidden) IsCode added in v0.5.0

func (o *PromoteDiskForbidden) IsCode(code int) bool

IsCode returns true when this promote disk forbidden response a status code equal to that given

func (*PromoteDiskForbidden) IsRedirect added in v0.5.0

func (o *PromoteDiskForbidden) IsRedirect() bool

IsRedirect returns true when this promote disk forbidden response has a 3xx status code

func (*PromoteDiskForbidden) IsServerError added in v0.5.0

func (o *PromoteDiskForbidden) IsServerError() bool

IsServerError returns true when this promote disk forbidden response has a 5xx status code

func (*PromoteDiskForbidden) IsSuccess added in v0.5.0

func (o *PromoteDiskForbidden) IsSuccess() bool

IsSuccess returns true when this promote disk forbidden response has a 2xx status code

func (*PromoteDiskForbidden) String added in v0.5.0

func (o *PromoteDiskForbidden) String() string

type PromoteDiskNotFound added in v0.2.14

type PromoteDiskNotFound struct {
	Payload *models.Error
}

PromoteDiskNotFound describes a response with status code 404, with default header values.

Not Found

func NewPromoteDiskNotFound added in v0.2.14

func NewPromoteDiskNotFound() *PromoteDiskNotFound

NewPromoteDiskNotFound creates a PromoteDiskNotFound with default headers values

func (*PromoteDiskNotFound) Error added in v0.2.14

func (o *PromoteDiskNotFound) Error() string

func (*PromoteDiskNotFound) GetPayload added in v0.2.14

func (o *PromoteDiskNotFound) GetPayload() *models.Error

func (*PromoteDiskNotFound) IsClientError added in v0.5.0

func (o *PromoteDiskNotFound) IsClientError() bool

IsClientError returns true when this promote disk not found response has a 4xx status code

func (*PromoteDiskNotFound) IsCode added in v0.5.0

func (o *PromoteDiskNotFound) IsCode(code int) bool

IsCode returns true when this promote disk not found response a status code equal to that given

func (*PromoteDiskNotFound) IsRedirect added in v0.5.0

func (o *PromoteDiskNotFound) IsRedirect() bool

IsRedirect returns true when this promote disk not found response has a 3xx status code

func (*PromoteDiskNotFound) IsServerError added in v0.5.0

func (o *PromoteDiskNotFound) IsServerError() bool

IsServerError returns true when this promote disk not found response has a 5xx status code

func (*PromoteDiskNotFound) IsSuccess added in v0.5.0

func (o *PromoteDiskNotFound) IsSuccess() bool

IsSuccess returns true when this promote disk not found response has a 2xx status code

func (*PromoteDiskNotFound) String added in v0.5.0

func (o *PromoteDiskNotFound) String() string

type PromoteDiskParams added in v0.2.14

type PromoteDiskParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ID.

	   The id of the Disk.
	*/
	ID string

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

PromoteDiskParams contains all the parameters to send to the API endpoint

for the promote disk operation.

Typically these are written to a http.Request.

func NewPromoteDiskParams added in v0.2.14

func NewPromoteDiskParams() *PromoteDiskParams

NewPromoteDiskParams creates a new PromoteDiskParams 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 NewPromoteDiskParamsWithContext added in v0.2.14

func NewPromoteDiskParamsWithContext(ctx context.Context) *PromoteDiskParams

NewPromoteDiskParamsWithContext creates a new PromoteDiskParams object with the ability to set a context for a request.

func NewPromoteDiskParamsWithHTTPClient added in v0.2.14

func NewPromoteDiskParamsWithHTTPClient(client *http.Client) *PromoteDiskParams

NewPromoteDiskParamsWithHTTPClient creates a new PromoteDiskParams object with the ability to set a custom HTTPClient for a request.

func NewPromoteDiskParamsWithTimeout added in v0.2.14

func NewPromoteDiskParamsWithTimeout(timeout time.Duration) *PromoteDiskParams

NewPromoteDiskParamsWithTimeout creates a new PromoteDiskParams object with the ability to set a timeout on a request.

func (*PromoteDiskParams) SetAPIVersion added in v0.2.14

func (o *PromoteDiskParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the promote disk params

func (*PromoteDiskParams) SetContext added in v0.2.14

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

SetContext adds the context to the promote disk params

func (*PromoteDiskParams) SetDefaults added in v0.2.20

func (o *PromoteDiskParams) SetDefaults()

SetDefaults hydrates default values in the promote disk params (not the query body).

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

func (*PromoteDiskParams) SetHTTPClient added in v0.2.14

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

SetHTTPClient adds the HTTPClient to the promote disk params

func (*PromoteDiskParams) SetID added in v0.2.14

func (o *PromoteDiskParams) SetID(id string)

SetID adds the id to the promote disk params

func (*PromoteDiskParams) SetTimeout added in v0.2.14

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

SetTimeout adds the timeout to the promote disk params

func (*PromoteDiskParams) WithAPIVersion added in v0.2.14

func (o *PromoteDiskParams) WithAPIVersion(aPIVersion *string) *PromoteDiskParams

WithAPIVersion adds the aPIVersion to the promote disk params

func (*PromoteDiskParams) WithContext added in v0.2.14

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

WithContext adds the context to the promote disk params

func (*PromoteDiskParams) WithDefaults added in v0.2.20

func (o *PromoteDiskParams) WithDefaults() *PromoteDiskParams

WithDefaults hydrates default values in the promote disk params (not the query body).

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

func (*PromoteDiskParams) WithHTTPClient added in v0.2.14

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

WithHTTPClient adds the HTTPClient to the promote disk params

func (*PromoteDiskParams) WithID added in v0.2.14

WithID adds the id to the promote disk params

func (*PromoteDiskParams) WithTimeout added in v0.2.14

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

WithTimeout adds the timeout to the promote disk params

func (*PromoteDiskParams) WriteToRequest added in v0.2.14

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

WriteToRequest writes these params to a swagger request

type PromoteDiskReader added in v0.2.14

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

PromoteDiskReader is a Reader for the PromoteDisk structure.

func (*PromoteDiskReader) ReadResponse added in v0.2.14

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

ReadResponse reads a server response into the received o.

type ResizeBlockDeviceAccepted added in v0.2.6

type ResizeBlockDeviceAccepted struct {
	Payload *models.RequestTracker
}

ResizeBlockDeviceAccepted describes a response with status code 202, with default header values.

successful operation

func NewResizeBlockDeviceAccepted added in v0.2.6

func NewResizeBlockDeviceAccepted() *ResizeBlockDeviceAccepted

NewResizeBlockDeviceAccepted creates a ResizeBlockDeviceAccepted with default headers values

func (*ResizeBlockDeviceAccepted) Error added in v0.2.6

func (o *ResizeBlockDeviceAccepted) Error() string

func (*ResizeBlockDeviceAccepted) GetPayload added in v0.2.6

func (*ResizeBlockDeviceAccepted) IsClientError added in v0.5.0

func (o *ResizeBlockDeviceAccepted) IsClientError() bool

IsClientError returns true when this resize block device accepted response has a 4xx status code

func (*ResizeBlockDeviceAccepted) IsCode added in v0.5.0

func (o *ResizeBlockDeviceAccepted) IsCode(code int) bool

IsCode returns true when this resize block device accepted response a status code equal to that given

func (*ResizeBlockDeviceAccepted) IsRedirect added in v0.5.0

func (o *ResizeBlockDeviceAccepted) IsRedirect() bool

IsRedirect returns true when this resize block device accepted response has a 3xx status code

func (*ResizeBlockDeviceAccepted) IsServerError added in v0.5.0

func (o *ResizeBlockDeviceAccepted) IsServerError() bool

IsServerError returns true when this resize block device accepted response has a 5xx status code

func (*ResizeBlockDeviceAccepted) IsSuccess added in v0.5.0

func (o *ResizeBlockDeviceAccepted) IsSuccess() bool

IsSuccess returns true when this resize block device accepted response has a 2xx status code

func (*ResizeBlockDeviceAccepted) String added in v0.5.0

func (o *ResizeBlockDeviceAccepted) String() string

type ResizeBlockDeviceForbidden added in v0.2.6

type ResizeBlockDeviceForbidden struct {
	Payload *models.ServiceErrorResponse
}

ResizeBlockDeviceForbidden describes a response with status code 403, with default header values.

Forbidden

func NewResizeBlockDeviceForbidden added in v0.2.6

func NewResizeBlockDeviceForbidden() *ResizeBlockDeviceForbidden

NewResizeBlockDeviceForbidden creates a ResizeBlockDeviceForbidden with default headers values

func (*ResizeBlockDeviceForbidden) Error added in v0.2.6

func (*ResizeBlockDeviceForbidden) GetPayload added in v0.2.20

func (*ResizeBlockDeviceForbidden) IsClientError added in v0.5.0

func (o *ResizeBlockDeviceForbidden) IsClientError() bool

IsClientError returns true when this resize block device forbidden response has a 4xx status code

func (*ResizeBlockDeviceForbidden) IsCode added in v0.5.0

func (o *ResizeBlockDeviceForbidden) IsCode(code int) bool

IsCode returns true when this resize block device forbidden response a status code equal to that given

func (*ResizeBlockDeviceForbidden) IsRedirect added in v0.5.0

func (o *ResizeBlockDeviceForbidden) IsRedirect() bool

IsRedirect returns true when this resize block device forbidden response has a 3xx status code

func (*ResizeBlockDeviceForbidden) IsServerError added in v0.5.0

func (o *ResizeBlockDeviceForbidden) IsServerError() bool

IsServerError returns true when this resize block device forbidden response has a 5xx status code

func (*ResizeBlockDeviceForbidden) IsSuccess added in v0.5.0

func (o *ResizeBlockDeviceForbidden) IsSuccess() bool

IsSuccess returns true when this resize block device forbidden response has a 2xx status code

func (*ResizeBlockDeviceForbidden) String added in v0.5.0

func (o *ResizeBlockDeviceForbidden) String() string

type ResizeBlockDeviceNoContent added in v0.2.6

type ResizeBlockDeviceNoContent struct {
}

ResizeBlockDeviceNoContent describes a response with status code 204, with default header values.

No Content

func NewResizeBlockDeviceNoContent added in v0.2.6

func NewResizeBlockDeviceNoContent() *ResizeBlockDeviceNoContent

NewResizeBlockDeviceNoContent creates a ResizeBlockDeviceNoContent with default headers values

func (*ResizeBlockDeviceNoContent) Error added in v0.2.6

func (*ResizeBlockDeviceNoContent) IsClientError added in v0.5.0

func (o *ResizeBlockDeviceNoContent) IsClientError() bool

IsClientError returns true when this resize block device no content response has a 4xx status code

func (*ResizeBlockDeviceNoContent) IsCode added in v0.5.0

func (o *ResizeBlockDeviceNoContent) IsCode(code int) bool

IsCode returns true when this resize block device no content response a status code equal to that given

func (*ResizeBlockDeviceNoContent) IsRedirect added in v0.5.0

func (o *ResizeBlockDeviceNoContent) IsRedirect() bool

IsRedirect returns true when this resize block device no content response has a 3xx status code

func (*ResizeBlockDeviceNoContent) IsServerError added in v0.5.0

func (o *ResizeBlockDeviceNoContent) IsServerError() bool

IsServerError returns true when this resize block device no content response has a 5xx status code

func (*ResizeBlockDeviceNoContent) IsSuccess added in v0.5.0

func (o *ResizeBlockDeviceNoContent) IsSuccess() bool

IsSuccess returns true when this resize block device no content response has a 2xx status code

func (*ResizeBlockDeviceNoContent) String added in v0.5.0

func (o *ResizeBlockDeviceNoContent) String() string

type ResizeBlockDeviceParams added in v0.2.6

type ResizeBlockDeviceParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* CapacityInGB.

	   Resize Capacity in GB

	   Format: int32
	*/
	CapacityInGB int32

	/* ID.

	   The ID of the block device.
	*/
	ID string

	/* UseSdrs.

	   Only applicable for vSphere block-devices deployed on SDRS cluster. If set to true, SDRS Recommendation will be used for resize operation.
	*/
	UseSdrs *bool

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

ResizeBlockDeviceParams contains all the parameters to send to the API endpoint

for the resize block device operation.

Typically these are written to a http.Request.

func NewResizeBlockDeviceParams added in v0.2.6

func NewResizeBlockDeviceParams() *ResizeBlockDeviceParams

NewResizeBlockDeviceParams creates a new ResizeBlockDeviceParams 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 NewResizeBlockDeviceParamsWithContext added in v0.2.6

func NewResizeBlockDeviceParamsWithContext(ctx context.Context) *ResizeBlockDeviceParams

NewResizeBlockDeviceParamsWithContext creates a new ResizeBlockDeviceParams object with the ability to set a context for a request.

func NewResizeBlockDeviceParamsWithHTTPClient added in v0.2.6

func NewResizeBlockDeviceParamsWithHTTPClient(client *http.Client) *ResizeBlockDeviceParams

NewResizeBlockDeviceParamsWithHTTPClient creates a new ResizeBlockDeviceParams object with the ability to set a custom HTTPClient for a request.

func NewResizeBlockDeviceParamsWithTimeout added in v0.2.6

func NewResizeBlockDeviceParamsWithTimeout(timeout time.Duration) *ResizeBlockDeviceParams

NewResizeBlockDeviceParamsWithTimeout creates a new ResizeBlockDeviceParams object with the ability to set a timeout on a request.

func (*ResizeBlockDeviceParams) SetAPIVersion added in v0.2.6

func (o *ResizeBlockDeviceParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the resize block device params

func (*ResizeBlockDeviceParams) SetCapacityInGB added in v0.2.6

func (o *ResizeBlockDeviceParams) SetCapacityInGB(capacityInGB int32)

SetCapacityInGB adds the capacityInGB to the resize block device params

func (*ResizeBlockDeviceParams) SetContext added in v0.2.6

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

SetContext adds the context to the resize block device params

func (*ResizeBlockDeviceParams) SetDefaults added in v0.2.20

func (o *ResizeBlockDeviceParams) SetDefaults()

SetDefaults hydrates default values in the resize block device params (not the query body).

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

func (*ResizeBlockDeviceParams) SetHTTPClient added in v0.2.6

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

SetHTTPClient adds the HTTPClient to the resize block device params

func (*ResizeBlockDeviceParams) SetID added in v0.2.6

func (o *ResizeBlockDeviceParams) SetID(id string)

SetID adds the id to the resize block device params

func (*ResizeBlockDeviceParams) SetTimeout added in v0.2.6

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

SetTimeout adds the timeout to the resize block device params

func (*ResizeBlockDeviceParams) SetUseSdrs added in v0.5.0

func (o *ResizeBlockDeviceParams) SetUseSdrs(useSdrs *bool)

SetUseSdrs adds the useSdrs to the resize block device params

func (*ResizeBlockDeviceParams) WithAPIVersion added in v0.2.6

func (o *ResizeBlockDeviceParams) WithAPIVersion(aPIVersion *string) *ResizeBlockDeviceParams

WithAPIVersion adds the aPIVersion to the resize block device params

func (*ResizeBlockDeviceParams) WithCapacityInGB added in v0.2.6

func (o *ResizeBlockDeviceParams) WithCapacityInGB(capacityInGB int32) *ResizeBlockDeviceParams

WithCapacityInGB adds the capacityInGB to the resize block device params

func (*ResizeBlockDeviceParams) WithContext added in v0.2.6

WithContext adds the context to the resize block device params

func (*ResizeBlockDeviceParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the resize block device params (not the query body).

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

func (*ResizeBlockDeviceParams) WithHTTPClient added in v0.2.6

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

WithHTTPClient adds the HTTPClient to the resize block device params

func (*ResizeBlockDeviceParams) WithID added in v0.2.6

WithID adds the id to the resize block device params

func (*ResizeBlockDeviceParams) WithTimeout added in v0.2.6

WithTimeout adds the timeout to the resize block device params

func (*ResizeBlockDeviceParams) WithUseSdrs added in v0.5.0

func (o *ResizeBlockDeviceParams) WithUseSdrs(useSdrs *bool) *ResizeBlockDeviceParams

WithUseSdrs adds the useSdrs to the resize block device params

func (*ResizeBlockDeviceParams) WriteToRequest added in v0.2.6

WriteToRequest writes these params to a swagger request

type ResizeBlockDeviceReader added in v0.2.6

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

ResizeBlockDeviceReader is a Reader for the ResizeBlockDevice structure.

func (*ResizeBlockDeviceReader) ReadResponse added in v0.2.6

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

ReadResponse reads a server response into the received o.

type RevertDiskSnapshotAccepted added in v0.2.18

type RevertDiskSnapshotAccepted struct {
	Payload *models.RequestTracker
}

RevertDiskSnapshotAccepted describes a response with status code 202, with default header values.

successful operation

func NewRevertDiskSnapshotAccepted added in v0.2.18

func NewRevertDiskSnapshotAccepted() *RevertDiskSnapshotAccepted

NewRevertDiskSnapshotAccepted creates a RevertDiskSnapshotAccepted with default headers values

func (*RevertDiskSnapshotAccepted) Error added in v0.2.18

func (*RevertDiskSnapshotAccepted) GetPayload added in v0.2.18

func (*RevertDiskSnapshotAccepted) IsClientError added in v0.5.0

func (o *RevertDiskSnapshotAccepted) IsClientError() bool

IsClientError returns true when this revert disk snapshot accepted response has a 4xx status code

func (*RevertDiskSnapshotAccepted) IsCode added in v0.5.0

func (o *RevertDiskSnapshotAccepted) IsCode(code int) bool

IsCode returns true when this revert disk snapshot accepted response a status code equal to that given

func (*RevertDiskSnapshotAccepted) IsRedirect added in v0.5.0

func (o *RevertDiskSnapshotAccepted) IsRedirect() bool

IsRedirect returns true when this revert disk snapshot accepted response has a 3xx status code

func (*RevertDiskSnapshotAccepted) IsServerError added in v0.5.0

func (o *RevertDiskSnapshotAccepted) IsServerError() bool

IsServerError returns true when this revert disk snapshot accepted response has a 5xx status code

func (*RevertDiskSnapshotAccepted) IsSuccess added in v0.5.0

func (o *RevertDiskSnapshotAccepted) IsSuccess() bool

IsSuccess returns true when this revert disk snapshot accepted response has a 2xx status code

func (*RevertDiskSnapshotAccepted) String added in v0.5.0

func (o *RevertDiskSnapshotAccepted) String() string

type RevertDiskSnapshotForbidden added in v0.2.14

type RevertDiskSnapshotForbidden struct {
	Payload *models.ServiceErrorResponse
}

RevertDiskSnapshotForbidden describes a response with status code 403, with default header values.

Forbidden

func NewRevertDiskSnapshotForbidden added in v0.2.14

func NewRevertDiskSnapshotForbidden() *RevertDiskSnapshotForbidden

NewRevertDiskSnapshotForbidden creates a RevertDiskSnapshotForbidden with default headers values

func (*RevertDiskSnapshotForbidden) Error added in v0.2.14

func (*RevertDiskSnapshotForbidden) GetPayload added in v0.2.20

func (*RevertDiskSnapshotForbidden) IsClientError added in v0.5.0

func (o *RevertDiskSnapshotForbidden) IsClientError() bool

IsClientError returns true when this revert disk snapshot forbidden response has a 4xx status code

func (*RevertDiskSnapshotForbidden) IsCode added in v0.5.0

func (o *RevertDiskSnapshotForbidden) IsCode(code int) bool

IsCode returns true when this revert disk snapshot forbidden response a status code equal to that given

func (*RevertDiskSnapshotForbidden) IsRedirect added in v0.5.0

func (o *RevertDiskSnapshotForbidden) IsRedirect() bool

IsRedirect returns true when this revert disk snapshot forbidden response has a 3xx status code

func (*RevertDiskSnapshotForbidden) IsServerError added in v0.5.0

func (o *RevertDiskSnapshotForbidden) IsServerError() bool

IsServerError returns true when this revert disk snapshot forbidden response has a 5xx status code

func (*RevertDiskSnapshotForbidden) IsSuccess added in v0.5.0

func (o *RevertDiskSnapshotForbidden) IsSuccess() bool

IsSuccess returns true when this revert disk snapshot forbidden response has a 2xx status code

func (*RevertDiskSnapshotForbidden) String added in v0.5.0

func (o *RevertDiskSnapshotForbidden) String() string

type RevertDiskSnapshotNotFound added in v0.2.14

type RevertDiskSnapshotNotFound struct {
	Payload *models.Error
}

RevertDiskSnapshotNotFound describes a response with status code 404, with default header values.

Not Found

func NewRevertDiskSnapshotNotFound added in v0.2.14

func NewRevertDiskSnapshotNotFound() *RevertDiskSnapshotNotFound

NewRevertDiskSnapshotNotFound creates a RevertDiskSnapshotNotFound with default headers values

func (*RevertDiskSnapshotNotFound) Error added in v0.2.14

func (*RevertDiskSnapshotNotFound) GetPayload added in v0.2.14

func (o *RevertDiskSnapshotNotFound) GetPayload() *models.Error

func (*RevertDiskSnapshotNotFound) IsClientError added in v0.5.0

func (o *RevertDiskSnapshotNotFound) IsClientError() bool

IsClientError returns true when this revert disk snapshot not found response has a 4xx status code

func (*RevertDiskSnapshotNotFound) IsCode added in v0.5.0

func (o *RevertDiskSnapshotNotFound) IsCode(code int) bool

IsCode returns true when this revert disk snapshot not found response a status code equal to that given

func (*RevertDiskSnapshotNotFound) IsRedirect added in v0.5.0

func (o *RevertDiskSnapshotNotFound) IsRedirect() bool

IsRedirect returns true when this revert disk snapshot not found response has a 3xx status code

func (*RevertDiskSnapshotNotFound) IsServerError added in v0.5.0

func (o *RevertDiskSnapshotNotFound) IsServerError() bool

IsServerError returns true when this revert disk snapshot not found response has a 5xx status code

func (*RevertDiskSnapshotNotFound) IsSuccess added in v0.5.0

func (o *RevertDiskSnapshotNotFound) IsSuccess() bool

IsSuccess returns true when this revert disk snapshot not found response has a 2xx status code

func (*RevertDiskSnapshotNotFound) String added in v0.5.0

func (o *RevertDiskSnapshotNotFound) String() string

type RevertDiskSnapshotParams added in v0.2.14

type RevertDiskSnapshotParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* DiskID.

	   The id of the Disk.
	*/
	DiskID string

	/* ID.

	   Snapshot id to revert.
	*/
	ID string

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

RevertDiskSnapshotParams contains all the parameters to send to the API endpoint

for the revert disk snapshot operation.

Typically these are written to a http.Request.

func NewRevertDiskSnapshotParams added in v0.2.14

func NewRevertDiskSnapshotParams() *RevertDiskSnapshotParams

NewRevertDiskSnapshotParams creates a new RevertDiskSnapshotParams 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 NewRevertDiskSnapshotParamsWithContext added in v0.2.14

func NewRevertDiskSnapshotParamsWithContext(ctx context.Context) *RevertDiskSnapshotParams

NewRevertDiskSnapshotParamsWithContext creates a new RevertDiskSnapshotParams object with the ability to set a context for a request.

func NewRevertDiskSnapshotParamsWithHTTPClient added in v0.2.14

func NewRevertDiskSnapshotParamsWithHTTPClient(client *http.Client) *RevertDiskSnapshotParams

NewRevertDiskSnapshotParamsWithHTTPClient creates a new RevertDiskSnapshotParams object with the ability to set a custom HTTPClient for a request.

func NewRevertDiskSnapshotParamsWithTimeout added in v0.2.14

func NewRevertDiskSnapshotParamsWithTimeout(timeout time.Duration) *RevertDiskSnapshotParams

NewRevertDiskSnapshotParamsWithTimeout creates a new RevertDiskSnapshotParams object with the ability to set a timeout on a request.

func (*RevertDiskSnapshotParams) SetAPIVersion added in v0.2.14

func (o *RevertDiskSnapshotParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the revert disk snapshot params

func (*RevertDiskSnapshotParams) SetContext added in v0.2.14

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

SetContext adds the context to the revert disk snapshot params

func (*RevertDiskSnapshotParams) SetDefaults added in v0.2.20

func (o *RevertDiskSnapshotParams) SetDefaults()

SetDefaults hydrates default values in the revert disk snapshot params (not the query body).

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

func (*RevertDiskSnapshotParams) SetDiskID added in v0.6.0

func (o *RevertDiskSnapshotParams) SetDiskID(diskID string)

SetDiskID adds the diskId to the revert disk snapshot params

func (*RevertDiskSnapshotParams) SetHTTPClient added in v0.2.14

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

SetHTTPClient adds the HTTPClient to the revert disk snapshot params

func (*RevertDiskSnapshotParams) SetID added in v0.2.14

func (o *RevertDiskSnapshotParams) SetID(id string)

SetID adds the id to the revert disk snapshot params

func (*RevertDiskSnapshotParams) SetTimeout added in v0.2.14

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

SetTimeout adds the timeout to the revert disk snapshot params

func (*RevertDiskSnapshotParams) WithAPIVersion added in v0.2.14

func (o *RevertDiskSnapshotParams) WithAPIVersion(aPIVersion *string) *RevertDiskSnapshotParams

WithAPIVersion adds the aPIVersion to the revert disk snapshot params

func (*RevertDiskSnapshotParams) WithContext added in v0.2.14

WithContext adds the context to the revert disk snapshot params

func (*RevertDiskSnapshotParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the revert disk snapshot params (not the query body).

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

func (*RevertDiskSnapshotParams) WithDiskID added in v0.6.0

WithDiskID adds the diskID to the revert disk snapshot params

func (*RevertDiskSnapshotParams) WithHTTPClient added in v0.2.14

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

WithHTTPClient adds the HTTPClient to the revert disk snapshot params

func (*RevertDiskSnapshotParams) WithID added in v0.2.14

WithID adds the id to the revert disk snapshot params

func (*RevertDiskSnapshotParams) WithTimeout added in v0.2.14

WithTimeout adds the timeout to the revert disk snapshot params

func (*RevertDiskSnapshotParams) WriteToRequest added in v0.2.14

WriteToRequest writes these params to a swagger request

type RevertDiskSnapshotReader added in v0.2.14

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

RevertDiskSnapshotReader is a Reader for the RevertDiskSnapshot structure.

func (*RevertDiskSnapshotReader) ReadResponse added in v0.2.14

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL