compute

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 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 Client

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

Client for compute API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new compute API client.

func (*Client) CreateMachine

func (a *Client) CreateMachine(params *CreateMachineParams) (*CreateMachineAccepted, error)

CreateMachine creates machine

Create machine

func (*Client) CreateMachineSnapshot

func (a *Client) CreateMachineSnapshot(params *CreateMachineSnapshotParams) (*CreateMachineSnapshotAccepted, error)

CreateMachineSnapshot creates snapshot operation for machine

Second day create snapshot operation for machine

func (*Client) DeleteMachine

func (a *Client) DeleteMachine(params *DeleteMachineParams) (*DeleteMachineAccepted, error)

DeleteMachine deletes machine

Delete Machine with a given id

func (*Client) DeleteMachineSnapshot

func (a *Client) DeleteMachineSnapshot(params *DeleteMachineSnapshotParams) (*DeleteMachineSnapshotAccepted, error)

DeleteMachineSnapshot deletes snapshot operation for machine

Second day delete snapshot operation for machine

func (*Client) GetMachine

func (a *Client) GetMachine(params *GetMachineParams) (*GetMachineOK, error)

GetMachine gets machine

Get machine with a given id

func (*Client) GetMachineSnapshot added in v0.2.8

func (a *Client) GetMachineSnapshot(params *GetMachineSnapshotParams) (*GetMachineSnapshotOK, error)

GetMachineSnapshot gets machine snapshot

Get snapshot with a given id for specific machine

func (*Client) GetMachineSnapshots

func (a *Client) GetMachineSnapshots(params *GetMachineSnapshotsParams) (*GetMachineSnapshotsOK, error)

GetMachineSnapshots gets machine snapshots information

Get machine snapshots information

func (*Client) GetMachines

func (a *Client) GetMachines(params *GetMachinesParams) (*GetMachinesOK, error)

GetMachines gets machines

Get all machines

func (*Client) PowerOffMachine

func (a *Client) PowerOffMachine(params *PowerOffMachineParams) (*PowerOffMachineAccepted, error)

PowerOffMachine powers off operation for machine

Second day power-off operation for machine

func (*Client) PowerOnMachine

func (a *Client) PowerOnMachine(params *PowerOnMachineParams) (*PowerOnMachineAccepted, error)

PowerOnMachine powers on operation for machine

Second day power-on operation for machine

func (*Client) RebootMachine

func (a *Client) RebootMachine(params *RebootMachineParams) (*RebootMachineAccepted, error)

RebootMachine reboots operation for machine

Second day reboot operation for machine

func (*Client) ResetMachine

func (a *Client) ResetMachine(params *ResetMachineParams) (*ResetMachineAccepted, error)

ResetMachine resets operation for machine

Second day reset operation for machine

func (*Client) ResizeMachine

func (a *Client) ResizeMachine(params *ResizeMachineParams) (*ResizeMachineAccepted, error)

ResizeMachine resizes operation for machine

Second day resize operation for machine

func (*Client) RestartMachine

func (a *Client) RestartMachine(params *RestartMachineParams) (*RestartMachineAccepted, error)

RestartMachine restarts operation for machine

Second day restart operation for machine

func (*Client) RevertMachineSnapshot

func (a *Client) RevertMachineSnapshot(params *RevertMachineSnapshotParams) (*RevertMachineSnapshotAccepted, error)

RevertMachineSnapshot reverts snapshot operation for machine

Second day revert snapshot operation for machine

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) ShutdownMachine

func (a *Client) ShutdownMachine(params *ShutdownMachineParams) (*ShutdownMachineAccepted, error)

ShutdownMachine shuts down operation for machine

Second day shut down operation machine

func (*Client) SuspendMachine

func (a *Client) SuspendMachine(params *SuspendMachineParams) (*SuspendMachineAccepted, error)

SuspendMachine suspends operation for machine

Second day suspend operation for machine

func (*Client) UpdateMachine

func (a *Client) UpdateMachine(params *UpdateMachineParams) (*UpdateMachineOK, error)

UpdateMachine updates machine

Update machine. Only tag updates are supported. All other properties in the MachineSpecification body are ignored.

type CreateMachineAccepted

type CreateMachineAccepted struct {
	Payload *models.RequestTracker
}

CreateMachineAccepted handles this case with default header values.

successful operation

func NewCreateMachineAccepted

func NewCreateMachineAccepted() *CreateMachineAccepted

NewCreateMachineAccepted creates a CreateMachineAccepted with default headers values

func (*CreateMachineAccepted) Error

func (o *CreateMachineAccepted) Error() string

func (*CreateMachineAccepted) GetPayload

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

type CreateMachineBadRequest

type CreateMachineBadRequest struct {
	Payload *models.Error
}

CreateMachineBadRequest handles this case with default header values.

Invalid Request - bad data

func NewCreateMachineBadRequest

func NewCreateMachineBadRequest() *CreateMachineBadRequest

NewCreateMachineBadRequest creates a CreateMachineBadRequest with default headers values

func (*CreateMachineBadRequest) Error

func (o *CreateMachineBadRequest) Error() string

func (*CreateMachineBadRequest) GetPayload added in v0.2.9

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

type CreateMachineForbidden

type CreateMachineForbidden struct {
}

CreateMachineForbidden handles this case with default header values.

Forbidden

func NewCreateMachineForbidden

func NewCreateMachineForbidden() *CreateMachineForbidden

NewCreateMachineForbidden creates a CreateMachineForbidden with default headers values

func (*CreateMachineForbidden) Error

func (o *CreateMachineForbidden) Error() string

type CreateMachineParams

type CreateMachineParams struct {

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

	*/
	APIVersion *string
	/*Body
	  Machine Specification instance

	*/
	Body *models.MachineSpecification

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

CreateMachineParams contains all the parameters to send to the API endpoint for the create machine operation typically these are written to a http.Request

func NewCreateMachineParams

func NewCreateMachineParams() *CreateMachineParams

NewCreateMachineParams creates a new CreateMachineParams object with the default values initialized.

func NewCreateMachineParamsWithContext

func NewCreateMachineParamsWithContext(ctx context.Context) *CreateMachineParams

NewCreateMachineParamsWithContext creates a new CreateMachineParams object with the default values initialized, and the ability to set a context for a request

func NewCreateMachineParamsWithHTTPClient

func NewCreateMachineParamsWithHTTPClient(client *http.Client) *CreateMachineParams

NewCreateMachineParamsWithHTTPClient creates a new CreateMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateMachineParamsWithTimeout

func NewCreateMachineParamsWithTimeout(timeout time.Duration) *CreateMachineParams

NewCreateMachineParamsWithTimeout creates a new CreateMachineParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateMachineParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the create machine params

func (*CreateMachineParams) SetBody

SetBody adds the body to the create machine params

func (*CreateMachineParams) SetContext

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

SetContext adds the context to the create machine params

func (*CreateMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create machine params

func (*CreateMachineParams) SetTimeout

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

SetTimeout adds the timeout to the create machine params

func (*CreateMachineParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the create machine params

func (*CreateMachineParams) WithBody

WithBody adds the body to the create machine params

func (*CreateMachineParams) WithContext

WithContext adds the context to the create machine params

func (*CreateMachineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create machine params

func (*CreateMachineParams) WithTimeout

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

WithTimeout adds the timeout to the create machine params

func (*CreateMachineParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateMachineReader

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

CreateMachineReader is a Reader for the CreateMachine structure.

func (*CreateMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateMachineSnapshotAccepted

type CreateMachineSnapshotAccepted struct {
	Payload *models.RequestTracker
}

CreateMachineSnapshotAccepted handles this case with default header values.

successful operation

func NewCreateMachineSnapshotAccepted

func NewCreateMachineSnapshotAccepted() *CreateMachineSnapshotAccepted

NewCreateMachineSnapshotAccepted creates a CreateMachineSnapshotAccepted with default headers values

func (*CreateMachineSnapshotAccepted) Error

func (*CreateMachineSnapshotAccepted) GetPayload

type CreateMachineSnapshotForbidden

type CreateMachineSnapshotForbidden struct {
}

CreateMachineSnapshotForbidden handles this case with default header values.

Forbidden

func NewCreateMachineSnapshotForbidden

func NewCreateMachineSnapshotForbidden() *CreateMachineSnapshotForbidden

NewCreateMachineSnapshotForbidden creates a CreateMachineSnapshotForbidden with default headers values

func (*CreateMachineSnapshotForbidden) Error

type CreateMachineSnapshotNotFound

type CreateMachineSnapshotNotFound struct {
	Payload *models.Error
}

CreateMachineSnapshotNotFound handles this case with default header values.

Not Found

func NewCreateMachineSnapshotNotFound

func NewCreateMachineSnapshotNotFound() *CreateMachineSnapshotNotFound

NewCreateMachineSnapshotNotFound creates a CreateMachineSnapshotNotFound with default headers values

func (*CreateMachineSnapshotNotFound) Error

func (*CreateMachineSnapshotNotFound) GetPayload added in v0.2.9

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

type CreateMachineSnapshotParams

type CreateMachineSnapshotParams struct {

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

	*/
	APIVersion *string
	/*Body
	  Snapshot Specification details

	*/
	Body *models.SnapshotSpecification
	/*ID
	  The id of the Machine.

	*/
	ID string

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

CreateMachineSnapshotParams contains all the parameters to send to the API endpoint for the create machine snapshot operation typically these are written to a http.Request

func NewCreateMachineSnapshotParams

func NewCreateMachineSnapshotParams() *CreateMachineSnapshotParams

NewCreateMachineSnapshotParams creates a new CreateMachineSnapshotParams object with the default values initialized.

func NewCreateMachineSnapshotParamsWithContext

func NewCreateMachineSnapshotParamsWithContext(ctx context.Context) *CreateMachineSnapshotParams

NewCreateMachineSnapshotParamsWithContext creates a new CreateMachineSnapshotParams object with the default values initialized, and the ability to set a context for a request

func NewCreateMachineSnapshotParamsWithHTTPClient

func NewCreateMachineSnapshotParamsWithHTTPClient(client *http.Client) *CreateMachineSnapshotParams

NewCreateMachineSnapshotParamsWithHTTPClient creates a new CreateMachineSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateMachineSnapshotParamsWithTimeout

func NewCreateMachineSnapshotParamsWithTimeout(timeout time.Duration) *CreateMachineSnapshotParams

NewCreateMachineSnapshotParamsWithTimeout creates a new CreateMachineSnapshotParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateMachineSnapshotParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the create machine snapshot params

func (*CreateMachineSnapshotParams) SetBody

SetBody adds the body to the create machine snapshot params

func (*CreateMachineSnapshotParams) SetContext

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

SetContext adds the context to the create machine snapshot params

func (*CreateMachineSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create machine snapshot params

func (*CreateMachineSnapshotParams) SetID

func (o *CreateMachineSnapshotParams) SetID(id string)

SetID adds the id to the create machine snapshot params

func (*CreateMachineSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the create machine snapshot params

func (*CreateMachineSnapshotParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the create machine snapshot params

func (*CreateMachineSnapshotParams) WithBody

WithBody adds the body to the create machine snapshot params

func (*CreateMachineSnapshotParams) WithContext

WithContext adds the context to the create machine snapshot params

func (*CreateMachineSnapshotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create machine snapshot params

func (*CreateMachineSnapshotParams) WithID

WithID adds the id to the create machine snapshot params

func (*CreateMachineSnapshotParams) WithTimeout

WithTimeout adds the timeout to the create machine snapshot params

func (*CreateMachineSnapshotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateMachineSnapshotReader

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

CreateMachineSnapshotReader is a Reader for the CreateMachineSnapshot structure.

func (*CreateMachineSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteMachineAccepted

type DeleteMachineAccepted struct {
	Payload *models.RequestTracker
}

DeleteMachineAccepted handles this case with default header values.

successful operation

func NewDeleteMachineAccepted

func NewDeleteMachineAccepted() *DeleteMachineAccepted

NewDeleteMachineAccepted creates a DeleteMachineAccepted with default headers values

func (*DeleteMachineAccepted) Error

func (o *DeleteMachineAccepted) Error() string

func (*DeleteMachineAccepted) GetPayload

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

type DeleteMachineForbidden

type DeleteMachineForbidden struct {
}

DeleteMachineForbidden handles this case with default header values.

Forbidden

func NewDeleteMachineForbidden

func NewDeleteMachineForbidden() *DeleteMachineForbidden

NewDeleteMachineForbidden creates a DeleteMachineForbidden with default headers values

func (*DeleteMachineForbidden) Error

func (o *DeleteMachineForbidden) Error() string

type DeleteMachineParams

type DeleteMachineParams 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 machine. Use with caution as force deleting may cause inconsistencies between the cloud provider and vRA.

	*/
	ForceDelete *bool
	/*ID
	  The ID of the machine.

	*/
	ID string

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

DeleteMachineParams contains all the parameters to send to the API endpoint for the delete machine operation typically these are written to a http.Request

func NewDeleteMachineParams

func NewDeleteMachineParams() *DeleteMachineParams

NewDeleteMachineParams creates a new DeleteMachineParams object with the default values initialized.

func NewDeleteMachineParamsWithContext

func NewDeleteMachineParamsWithContext(ctx context.Context) *DeleteMachineParams

NewDeleteMachineParamsWithContext creates a new DeleteMachineParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteMachineParamsWithHTTPClient

func NewDeleteMachineParamsWithHTTPClient(client *http.Client) *DeleteMachineParams

NewDeleteMachineParamsWithHTTPClient creates a new DeleteMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteMachineParamsWithTimeout

func NewDeleteMachineParamsWithTimeout(timeout time.Duration) *DeleteMachineParams

NewDeleteMachineParamsWithTimeout creates a new DeleteMachineParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteMachineParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the delete machine params

func (*DeleteMachineParams) SetContext

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

SetContext adds the context to the delete machine params

func (*DeleteMachineParams) SetForceDelete added in v0.2.8

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

SetForceDelete adds the forceDelete to the delete machine params

func (*DeleteMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete machine params

func (*DeleteMachineParams) SetID

func (o *DeleteMachineParams) SetID(id string)

SetID adds the id to the delete machine params

func (*DeleteMachineParams) SetTimeout

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

SetTimeout adds the timeout to the delete machine params

func (*DeleteMachineParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the delete machine params

func (*DeleteMachineParams) WithContext

WithContext adds the context to the delete machine params

func (*DeleteMachineParams) WithForceDelete added in v0.2.8

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

WithForceDelete adds the forceDelete to the delete machine params

func (*DeleteMachineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete machine params

func (*DeleteMachineParams) WithID

WithID adds the id to the delete machine params

func (*DeleteMachineParams) WithTimeout

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

WithTimeout adds the timeout to the delete machine params

func (*DeleteMachineParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteMachineReader

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

DeleteMachineReader is a Reader for the DeleteMachine structure.

func (*DeleteMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteMachineSnapshotAccepted

type DeleteMachineSnapshotAccepted struct {
	Payload *models.RequestTracker
}

DeleteMachineSnapshotAccepted handles this case with default header values.

successful operation

func NewDeleteMachineSnapshotAccepted

func NewDeleteMachineSnapshotAccepted() *DeleteMachineSnapshotAccepted

NewDeleteMachineSnapshotAccepted creates a DeleteMachineSnapshotAccepted with default headers values

func (*DeleteMachineSnapshotAccepted) Error

func (*DeleteMachineSnapshotAccepted) GetPayload

type DeleteMachineSnapshotForbidden

type DeleteMachineSnapshotForbidden struct {
}

DeleteMachineSnapshotForbidden handles this case with default header values.

Forbidden

func NewDeleteMachineSnapshotForbidden

func NewDeleteMachineSnapshotForbidden() *DeleteMachineSnapshotForbidden

NewDeleteMachineSnapshotForbidden creates a DeleteMachineSnapshotForbidden with default headers values

func (*DeleteMachineSnapshotForbidden) Error

type DeleteMachineSnapshotParams

type DeleteMachineSnapshotParams 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
	/*Id1
	  Snapshot id to delete.

	*/
	Id1 string

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

DeleteMachineSnapshotParams contains all the parameters to send to the API endpoint for the delete machine snapshot operation typically these are written to a http.Request

func NewDeleteMachineSnapshotParams

func NewDeleteMachineSnapshotParams() *DeleteMachineSnapshotParams

NewDeleteMachineSnapshotParams creates a new DeleteMachineSnapshotParams object with the default values initialized.

func NewDeleteMachineSnapshotParamsWithContext

func NewDeleteMachineSnapshotParamsWithContext(ctx context.Context) *DeleteMachineSnapshotParams

NewDeleteMachineSnapshotParamsWithContext creates a new DeleteMachineSnapshotParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteMachineSnapshotParamsWithHTTPClient

func NewDeleteMachineSnapshotParamsWithHTTPClient(client *http.Client) *DeleteMachineSnapshotParams

NewDeleteMachineSnapshotParamsWithHTTPClient creates a new DeleteMachineSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteMachineSnapshotParamsWithTimeout

func NewDeleteMachineSnapshotParamsWithTimeout(timeout time.Duration) *DeleteMachineSnapshotParams

NewDeleteMachineSnapshotParamsWithTimeout creates a new DeleteMachineSnapshotParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteMachineSnapshotParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the delete machine snapshot params

func (*DeleteMachineSnapshotParams) SetContext

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

SetContext adds the context to the delete machine snapshot params

func (*DeleteMachineSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete machine snapshot params

func (*DeleteMachineSnapshotParams) SetID

func (o *DeleteMachineSnapshotParams) SetID(id string)

SetID adds the id to the delete machine snapshot params

func (*DeleteMachineSnapshotParams) SetId1

func (o *DeleteMachineSnapshotParams) SetId1(id1 string)

SetId1 adds the id1 to the delete machine snapshot params

func (*DeleteMachineSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the delete machine snapshot params

func (*DeleteMachineSnapshotParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the delete machine snapshot params

func (*DeleteMachineSnapshotParams) WithContext

WithContext adds the context to the delete machine snapshot params

func (*DeleteMachineSnapshotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete machine snapshot params

func (*DeleteMachineSnapshotParams) WithID

WithID adds the id to the delete machine snapshot params

func (*DeleteMachineSnapshotParams) WithId1

WithId1 adds the id1 to the delete machine snapshot params

func (*DeleteMachineSnapshotParams) WithTimeout

WithTimeout adds the timeout to the delete machine snapshot params

func (*DeleteMachineSnapshotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteMachineSnapshotReader

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

DeleteMachineSnapshotReader is a Reader for the DeleteMachineSnapshot structure.

func (*DeleteMachineSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMachineForbidden

type GetMachineForbidden struct {
}

GetMachineForbidden handles this case with default header values.

Forbidden

func NewGetMachineForbidden

func NewGetMachineForbidden() *GetMachineForbidden

NewGetMachineForbidden creates a GetMachineForbidden with default headers values

func (*GetMachineForbidden) Error

func (o *GetMachineForbidden) Error() string

type GetMachineNotFound

type GetMachineNotFound struct {
	Payload *models.Error
}

GetMachineNotFound handles this case with default header values.

Not Found

func NewGetMachineNotFound

func NewGetMachineNotFound() *GetMachineNotFound

NewGetMachineNotFound creates a GetMachineNotFound with default headers values

func (*GetMachineNotFound) Error

func (o *GetMachineNotFound) Error() string

func (*GetMachineNotFound) GetPayload added in v0.2.9

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

type GetMachineOK

type GetMachineOK struct {
	Payload *models.Machine
}

GetMachineOK handles this case with default header values.

successful operation

func NewGetMachineOK

func NewGetMachineOK() *GetMachineOK

NewGetMachineOK creates a GetMachineOK with default headers values

func (*GetMachineOK) Error

func (o *GetMachineOK) Error() string

func (*GetMachineOK) GetPayload

func (o *GetMachineOK) GetPayload() *models.Machine

type GetMachineParams

type GetMachineParams 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
}

GetMachineParams contains all the parameters to send to the API endpoint for the get machine operation typically these are written to a http.Request

func NewGetMachineParams

func NewGetMachineParams() *GetMachineParams

NewGetMachineParams creates a new GetMachineParams object with the default values initialized.

func NewGetMachineParamsWithContext

func NewGetMachineParamsWithContext(ctx context.Context) *GetMachineParams

NewGetMachineParamsWithContext creates a new GetMachineParams object with the default values initialized, and the ability to set a context for a request

func NewGetMachineParamsWithHTTPClient

func NewGetMachineParamsWithHTTPClient(client *http.Client) *GetMachineParams

NewGetMachineParamsWithHTTPClient creates a new GetMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetMachineParamsWithTimeout

func NewGetMachineParamsWithTimeout(timeout time.Duration) *GetMachineParams

NewGetMachineParamsWithTimeout creates a new GetMachineParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetMachineParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get machine params

func (*GetMachineParams) SetContext

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

SetContext adds the context to the get machine params

func (*GetMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get machine params

func (*GetMachineParams) SetID

func (o *GetMachineParams) SetID(id string)

SetID adds the id to the get machine params

func (*GetMachineParams) SetTimeout

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

SetTimeout adds the timeout to the get machine params

func (*GetMachineParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the get machine params

func (*GetMachineParams) WithContext

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

WithContext adds the context to the get machine params

func (*GetMachineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get machine params

func (*GetMachineParams) WithID

func (o *GetMachineParams) WithID(id string) *GetMachineParams

WithID adds the id to the get machine params

func (*GetMachineParams) WithTimeout

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

WithTimeout adds the timeout to the get machine params

func (*GetMachineParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetMachineReader

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

GetMachineReader is a Reader for the GetMachine structure.

func (*GetMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMachineSnapshotForbidden added in v0.2.8

type GetMachineSnapshotForbidden struct {
}

GetMachineSnapshotForbidden handles this case with default header values.

Forbidden

func NewGetMachineSnapshotForbidden added in v0.2.8

func NewGetMachineSnapshotForbidden() *GetMachineSnapshotForbidden

NewGetMachineSnapshotForbidden creates a GetMachineSnapshotForbidden with default headers values

func (*GetMachineSnapshotForbidden) Error added in v0.2.8

type GetMachineSnapshotNotFound added in v0.2.8

type GetMachineSnapshotNotFound struct {
	Payload *models.Error
}

GetMachineSnapshotNotFound handles this case with default header values.

Not Found

func NewGetMachineSnapshotNotFound added in v0.2.8

func NewGetMachineSnapshotNotFound() *GetMachineSnapshotNotFound

NewGetMachineSnapshotNotFound creates a GetMachineSnapshotNotFound with default headers values

func (*GetMachineSnapshotNotFound) Error added in v0.2.8

func (*GetMachineSnapshotNotFound) GetPayload added in v0.2.9

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

type GetMachineSnapshotOK added in v0.2.8

type GetMachineSnapshotOK struct {
	Payload *models.BlockDevice
}

GetMachineSnapshotOK handles this case with default header values.

successful operation

func NewGetMachineSnapshotOK added in v0.2.8

func NewGetMachineSnapshotOK() *GetMachineSnapshotOK

NewGetMachineSnapshotOK creates a GetMachineSnapshotOK with default headers values

func (*GetMachineSnapshotOK) Error added in v0.2.8

func (o *GetMachineSnapshotOK) Error() string

func (*GetMachineSnapshotOK) GetPayload added in v0.2.8

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

type GetMachineSnapshotParams added in v0.2.8

type GetMachineSnapshotParams 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
	/*Id1
	  The ID of the snapshot.

	*/
	Id1 string

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

GetMachineSnapshotParams contains all the parameters to send to the API endpoint for the get machine snapshot operation typically these are written to a http.Request

func NewGetMachineSnapshotParams added in v0.2.8

func NewGetMachineSnapshotParams() *GetMachineSnapshotParams

NewGetMachineSnapshotParams creates a new GetMachineSnapshotParams object with the default values initialized.

func NewGetMachineSnapshotParamsWithContext added in v0.2.8

func NewGetMachineSnapshotParamsWithContext(ctx context.Context) *GetMachineSnapshotParams

NewGetMachineSnapshotParamsWithContext creates a new GetMachineSnapshotParams object with the default values initialized, and the ability to set a context for a request

func NewGetMachineSnapshotParamsWithHTTPClient added in v0.2.8

func NewGetMachineSnapshotParamsWithHTTPClient(client *http.Client) *GetMachineSnapshotParams

NewGetMachineSnapshotParamsWithHTTPClient creates a new GetMachineSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetMachineSnapshotParamsWithTimeout added in v0.2.8

func NewGetMachineSnapshotParamsWithTimeout(timeout time.Duration) *GetMachineSnapshotParams

NewGetMachineSnapshotParamsWithTimeout creates a new GetMachineSnapshotParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetMachineSnapshotParams) SetAPIVersion added in v0.2.8

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

SetAPIVersion adds the apiVersion to the get machine snapshot params

func (*GetMachineSnapshotParams) SetContext added in v0.2.8

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

SetContext adds the context to the get machine snapshot params

func (*GetMachineSnapshotParams) SetHTTPClient added in v0.2.8

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

SetHTTPClient adds the HTTPClient to the get machine snapshot params

func (*GetMachineSnapshotParams) SetID added in v0.2.8

func (o *GetMachineSnapshotParams) SetID(id string)

SetID adds the id to the get machine snapshot params

func (*GetMachineSnapshotParams) SetId1 added in v0.2.8

func (o *GetMachineSnapshotParams) SetId1(id1 string)

SetId1 adds the id1 to the get machine snapshot params

func (*GetMachineSnapshotParams) SetTimeout added in v0.2.8

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

SetTimeout adds the timeout to the get machine snapshot params

func (*GetMachineSnapshotParams) WithAPIVersion added in v0.2.8

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

WithAPIVersion adds the aPIVersion to the get machine snapshot params

func (*GetMachineSnapshotParams) WithContext added in v0.2.8

WithContext adds the context to the get machine snapshot params

func (*GetMachineSnapshotParams) WithHTTPClient added in v0.2.8

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

WithHTTPClient adds the HTTPClient to the get machine snapshot params

func (*GetMachineSnapshotParams) WithID added in v0.2.8

WithID adds the id to the get machine snapshot params

func (*GetMachineSnapshotParams) WithId1 added in v0.2.8

WithId1 adds the id1 to the get machine snapshot params

func (*GetMachineSnapshotParams) WithTimeout added in v0.2.8

WithTimeout adds the timeout to the get machine snapshot params

func (*GetMachineSnapshotParams) WriteToRequest added in v0.2.8

WriteToRequest writes these params to a swagger request

type GetMachineSnapshotReader added in v0.2.8

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

GetMachineSnapshotReader is a Reader for the GetMachineSnapshot structure.

func (*GetMachineSnapshotReader) ReadResponse added in v0.2.8

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

ReadResponse reads a server response into the received o.

type GetMachineSnapshotsForbidden

type GetMachineSnapshotsForbidden struct {
}

GetMachineSnapshotsForbidden handles this case with default header values.

Forbidden

func NewGetMachineSnapshotsForbidden

func NewGetMachineSnapshotsForbidden() *GetMachineSnapshotsForbidden

NewGetMachineSnapshotsForbidden creates a GetMachineSnapshotsForbidden with default headers values

func (*GetMachineSnapshotsForbidden) Error

type GetMachineSnapshotsNotFound

type GetMachineSnapshotsNotFound struct {
	Payload *models.Error
}

GetMachineSnapshotsNotFound handles this case with default header values.

Not Found

func NewGetMachineSnapshotsNotFound

func NewGetMachineSnapshotsNotFound() *GetMachineSnapshotsNotFound

NewGetMachineSnapshotsNotFound creates a GetMachineSnapshotsNotFound with default headers values

func (*GetMachineSnapshotsNotFound) Error

func (*GetMachineSnapshotsNotFound) GetPayload added in v0.2.9

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

type GetMachineSnapshotsOK

type GetMachineSnapshotsOK struct {
	Payload []*models.Snapshot
}

GetMachineSnapshotsOK handles this case with default header values.

successful operation

func NewGetMachineSnapshotsOK

func NewGetMachineSnapshotsOK() *GetMachineSnapshotsOK

NewGetMachineSnapshotsOK creates a GetMachineSnapshotsOK with default headers values

func (*GetMachineSnapshotsOK) Error

func (o *GetMachineSnapshotsOK) Error() string

func (*GetMachineSnapshotsOK) GetPayload

func (o *GetMachineSnapshotsOK) GetPayload() []*models.Snapshot

type GetMachineSnapshotsParams

type GetMachineSnapshotsParams 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
}

GetMachineSnapshotsParams contains all the parameters to send to the API endpoint for the get machine snapshots operation typically these are written to a http.Request

func NewGetMachineSnapshotsParams

func NewGetMachineSnapshotsParams() *GetMachineSnapshotsParams

NewGetMachineSnapshotsParams creates a new GetMachineSnapshotsParams object with the default values initialized.

func NewGetMachineSnapshotsParamsWithContext

func NewGetMachineSnapshotsParamsWithContext(ctx context.Context) *GetMachineSnapshotsParams

NewGetMachineSnapshotsParamsWithContext creates a new GetMachineSnapshotsParams object with the default values initialized, and the ability to set a context for a request

func NewGetMachineSnapshotsParamsWithHTTPClient

func NewGetMachineSnapshotsParamsWithHTTPClient(client *http.Client) *GetMachineSnapshotsParams

NewGetMachineSnapshotsParamsWithHTTPClient creates a new GetMachineSnapshotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetMachineSnapshotsParamsWithTimeout

func NewGetMachineSnapshotsParamsWithTimeout(timeout time.Duration) *GetMachineSnapshotsParams

NewGetMachineSnapshotsParamsWithTimeout creates a new GetMachineSnapshotsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetMachineSnapshotsParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get machine snapshots params

func (*GetMachineSnapshotsParams) SetContext

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

SetContext adds the context to the get machine snapshots params

func (*GetMachineSnapshotsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get machine snapshots params

func (*GetMachineSnapshotsParams) SetID

func (o *GetMachineSnapshotsParams) SetID(id string)

SetID adds the id to the get machine snapshots params

func (*GetMachineSnapshotsParams) SetTimeout

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

SetTimeout adds the timeout to the get machine snapshots params

func (*GetMachineSnapshotsParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the get machine snapshots params

func (*GetMachineSnapshotsParams) WithContext

WithContext adds the context to the get machine snapshots params

func (*GetMachineSnapshotsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get machine snapshots params

func (*GetMachineSnapshotsParams) WithID

WithID adds the id to the get machine snapshots params

func (*GetMachineSnapshotsParams) WithTimeout

WithTimeout adds the timeout to the get machine snapshots params

func (*GetMachineSnapshotsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMachineSnapshotsReader

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

GetMachineSnapshotsReader is a Reader for the GetMachineSnapshots structure.

func (*GetMachineSnapshotsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMachinesForbidden

type GetMachinesForbidden struct {
}

GetMachinesForbidden handles this case with default header values.

Forbidden

func NewGetMachinesForbidden

func NewGetMachinesForbidden() *GetMachinesForbidden

NewGetMachinesForbidden creates a GetMachinesForbidden with default headers values

func (*GetMachinesForbidden) Error

func (o *GetMachinesForbidden) Error() string

type GetMachinesOK

type GetMachinesOK struct {
	Payload *models.MachineResult
}

GetMachinesOK handles this case with default header values.

successful operation

func NewGetMachinesOK

func NewGetMachinesOK() *GetMachinesOK

NewGetMachinesOK creates a GetMachinesOK with default headers values

func (*GetMachinesOK) Error

func (o *GetMachinesOK) Error() string

func (*GetMachinesOK) GetPayload

func (o *GetMachinesOK) GetPayload() *models.MachineResult

type GetMachinesParams

type GetMachinesParams struct {

	/*DollarFilter
	  Add a filter to return limited results

	*/
	DollarFilter *string
	/*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
}

GetMachinesParams contains all the parameters to send to the API endpoint for the get machines operation typically these are written to a http.Request

func NewGetMachinesParams

func NewGetMachinesParams() *GetMachinesParams

NewGetMachinesParams creates a new GetMachinesParams object with the default values initialized.

func NewGetMachinesParamsWithContext

func NewGetMachinesParamsWithContext(ctx context.Context) *GetMachinesParams

NewGetMachinesParamsWithContext creates a new GetMachinesParams object with the default values initialized, and the ability to set a context for a request

func NewGetMachinesParamsWithHTTPClient

func NewGetMachinesParamsWithHTTPClient(client *http.Client) *GetMachinesParams

NewGetMachinesParamsWithHTTPClient creates a new GetMachinesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetMachinesParamsWithTimeout

func NewGetMachinesParamsWithTimeout(timeout time.Duration) *GetMachinesParams

NewGetMachinesParamsWithTimeout creates a new GetMachinesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetMachinesParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get machines params

func (*GetMachinesParams) SetContext

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

SetContext adds the context to the get machines params

func (*GetMachinesParams) SetDollarFilter added in v0.2.5

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

SetDollarFilter adds the dollarFilter to the get machines params

func (*GetMachinesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get machines params

func (*GetMachinesParams) SetTimeout

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

SetTimeout adds the timeout to the get machines params

func (*GetMachinesParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the get machines params

func (*GetMachinesParams) WithContext

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

WithContext adds the context to the get machines params

func (*GetMachinesParams) WithDollarFilter added in v0.2.5

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

WithDollarFilter adds the dollarFilter to the get machines params

func (*GetMachinesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get machines params

func (*GetMachinesParams) WithTimeout

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

WithTimeout adds the timeout to the get machines params

func (*GetMachinesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetMachinesReader

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

GetMachinesReader is a Reader for the GetMachines structure.

func (*GetMachinesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PowerOffMachineAccepted

type PowerOffMachineAccepted struct {
	Payload *models.RequestTracker
}

PowerOffMachineAccepted handles this case with default header values.

successful operation

func NewPowerOffMachineAccepted

func NewPowerOffMachineAccepted() *PowerOffMachineAccepted

NewPowerOffMachineAccepted creates a PowerOffMachineAccepted with default headers values

func (*PowerOffMachineAccepted) Error

func (o *PowerOffMachineAccepted) Error() string

func (*PowerOffMachineAccepted) GetPayload

type PowerOffMachineForbidden

type PowerOffMachineForbidden struct {
}

PowerOffMachineForbidden handles this case with default header values.

Forbidden

func NewPowerOffMachineForbidden

func NewPowerOffMachineForbidden() *PowerOffMachineForbidden

NewPowerOffMachineForbidden creates a PowerOffMachineForbidden with default headers values

func (*PowerOffMachineForbidden) Error

func (o *PowerOffMachineForbidden) Error() string

type PowerOffMachineNotFound

type PowerOffMachineNotFound struct {
	Payload *models.Error
}

PowerOffMachineNotFound handles this case with default header values.

Not Found

func NewPowerOffMachineNotFound

func NewPowerOffMachineNotFound() *PowerOffMachineNotFound

NewPowerOffMachineNotFound creates a PowerOffMachineNotFound with default headers values

func (*PowerOffMachineNotFound) Error

func (o *PowerOffMachineNotFound) Error() string

func (*PowerOffMachineNotFound) GetPayload added in v0.2.9

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

type PowerOffMachineParams

type PowerOffMachineParams 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
}

PowerOffMachineParams contains all the parameters to send to the API endpoint for the power off machine operation typically these are written to a http.Request

func NewPowerOffMachineParams

func NewPowerOffMachineParams() *PowerOffMachineParams

NewPowerOffMachineParams creates a new PowerOffMachineParams object with the default values initialized.

func NewPowerOffMachineParamsWithContext

func NewPowerOffMachineParamsWithContext(ctx context.Context) *PowerOffMachineParams

NewPowerOffMachineParamsWithContext creates a new PowerOffMachineParams object with the default values initialized, and the ability to set a context for a request

func NewPowerOffMachineParamsWithHTTPClient

func NewPowerOffMachineParamsWithHTTPClient(client *http.Client) *PowerOffMachineParams

NewPowerOffMachineParamsWithHTTPClient creates a new PowerOffMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPowerOffMachineParamsWithTimeout

func NewPowerOffMachineParamsWithTimeout(timeout time.Duration) *PowerOffMachineParams

NewPowerOffMachineParamsWithTimeout creates a new PowerOffMachineParams object with the default values initialized, and the ability to set a timeout on a request

func (*PowerOffMachineParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the power off machine params

func (*PowerOffMachineParams) SetContext

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

SetContext adds the context to the power off machine params

func (*PowerOffMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the power off machine params

func (*PowerOffMachineParams) SetID

func (o *PowerOffMachineParams) SetID(id string)

SetID adds the id to the power off machine params

func (*PowerOffMachineParams) SetTimeout

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

SetTimeout adds the timeout to the power off machine params

func (*PowerOffMachineParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the power off machine params

func (*PowerOffMachineParams) WithContext

WithContext adds the context to the power off machine params

func (*PowerOffMachineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the power off machine params

func (*PowerOffMachineParams) WithID

WithID adds the id to the power off machine params

func (*PowerOffMachineParams) WithTimeout

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

WithTimeout adds the timeout to the power off machine params

func (*PowerOffMachineParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PowerOffMachineReader

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

PowerOffMachineReader is a Reader for the PowerOffMachine structure.

func (*PowerOffMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PowerOnMachineAccepted

type PowerOnMachineAccepted struct {
	Payload *models.RequestTracker
}

PowerOnMachineAccepted handles this case with default header values.

successful operation

func NewPowerOnMachineAccepted

func NewPowerOnMachineAccepted() *PowerOnMachineAccepted

NewPowerOnMachineAccepted creates a PowerOnMachineAccepted with default headers values

func (*PowerOnMachineAccepted) Error

func (o *PowerOnMachineAccepted) Error() string

func (*PowerOnMachineAccepted) GetPayload

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

type PowerOnMachineForbidden

type PowerOnMachineForbidden struct {
}

PowerOnMachineForbidden handles this case with default header values.

Forbidden

func NewPowerOnMachineForbidden

func NewPowerOnMachineForbidden() *PowerOnMachineForbidden

NewPowerOnMachineForbidden creates a PowerOnMachineForbidden with default headers values

func (*PowerOnMachineForbidden) Error

func (o *PowerOnMachineForbidden) Error() string

type PowerOnMachineNotFound

type PowerOnMachineNotFound struct {
	Payload *models.Error
}

PowerOnMachineNotFound handles this case with default header values.

Not Found

func NewPowerOnMachineNotFound

func NewPowerOnMachineNotFound() *PowerOnMachineNotFound

NewPowerOnMachineNotFound creates a PowerOnMachineNotFound with default headers values

func (*PowerOnMachineNotFound) Error

func (o *PowerOnMachineNotFound) Error() string

func (*PowerOnMachineNotFound) GetPayload added in v0.2.9

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

type PowerOnMachineParams

type PowerOnMachineParams 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
}

PowerOnMachineParams contains all the parameters to send to the API endpoint for the power on machine operation typically these are written to a http.Request

func NewPowerOnMachineParams

func NewPowerOnMachineParams() *PowerOnMachineParams

NewPowerOnMachineParams creates a new PowerOnMachineParams object with the default values initialized.

func NewPowerOnMachineParamsWithContext

func NewPowerOnMachineParamsWithContext(ctx context.Context) *PowerOnMachineParams

NewPowerOnMachineParamsWithContext creates a new PowerOnMachineParams object with the default values initialized, and the ability to set a context for a request

func NewPowerOnMachineParamsWithHTTPClient

func NewPowerOnMachineParamsWithHTTPClient(client *http.Client) *PowerOnMachineParams

NewPowerOnMachineParamsWithHTTPClient creates a new PowerOnMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPowerOnMachineParamsWithTimeout

func NewPowerOnMachineParamsWithTimeout(timeout time.Duration) *PowerOnMachineParams

NewPowerOnMachineParamsWithTimeout creates a new PowerOnMachineParams object with the default values initialized, and the ability to set a timeout on a request

func (*PowerOnMachineParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the power on machine params

func (*PowerOnMachineParams) SetContext

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

SetContext adds the context to the power on machine params

func (*PowerOnMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the power on machine params

func (*PowerOnMachineParams) SetID

func (o *PowerOnMachineParams) SetID(id string)

SetID adds the id to the power on machine params

func (*PowerOnMachineParams) SetTimeout

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

SetTimeout adds the timeout to the power on machine params

func (*PowerOnMachineParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the power on machine params

func (*PowerOnMachineParams) WithContext

WithContext adds the context to the power on machine params

func (*PowerOnMachineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the power on machine params

func (*PowerOnMachineParams) WithID

WithID adds the id to the power on machine params

func (*PowerOnMachineParams) WithTimeout

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

WithTimeout adds the timeout to the power on machine params

func (*PowerOnMachineParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PowerOnMachineReader

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

PowerOnMachineReader is a Reader for the PowerOnMachine structure.

func (*PowerOnMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RebootMachineAccepted

type RebootMachineAccepted struct {
	Payload *models.RequestTracker
}

RebootMachineAccepted handles this case with default header values.

successful operation

func NewRebootMachineAccepted

func NewRebootMachineAccepted() *RebootMachineAccepted

NewRebootMachineAccepted creates a RebootMachineAccepted with default headers values

func (*RebootMachineAccepted) Error

func (o *RebootMachineAccepted) Error() string

func (*RebootMachineAccepted) GetPayload

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

type RebootMachineForbidden

type RebootMachineForbidden struct {
}

RebootMachineForbidden handles this case with default header values.

Forbidden

func NewRebootMachineForbidden

func NewRebootMachineForbidden() *RebootMachineForbidden

NewRebootMachineForbidden creates a RebootMachineForbidden with default headers values

func (*RebootMachineForbidden) Error

func (o *RebootMachineForbidden) Error() string

type RebootMachineNotFound

type RebootMachineNotFound struct {
	Payload *models.Error
}

RebootMachineNotFound handles this case with default header values.

Not Found

func NewRebootMachineNotFound

func NewRebootMachineNotFound() *RebootMachineNotFound

NewRebootMachineNotFound creates a RebootMachineNotFound with default headers values

func (*RebootMachineNotFound) Error

func (o *RebootMachineNotFound) Error() string

func (*RebootMachineNotFound) GetPayload added in v0.2.9

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

type RebootMachineParams

type RebootMachineParams 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
}

RebootMachineParams contains all the parameters to send to the API endpoint for the reboot machine operation typically these are written to a http.Request

func NewRebootMachineParams

func NewRebootMachineParams() *RebootMachineParams

NewRebootMachineParams creates a new RebootMachineParams object with the default values initialized.

func NewRebootMachineParamsWithContext

func NewRebootMachineParamsWithContext(ctx context.Context) *RebootMachineParams

NewRebootMachineParamsWithContext creates a new RebootMachineParams object with the default values initialized, and the ability to set a context for a request

func NewRebootMachineParamsWithHTTPClient

func NewRebootMachineParamsWithHTTPClient(client *http.Client) *RebootMachineParams

NewRebootMachineParamsWithHTTPClient creates a new RebootMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRebootMachineParamsWithTimeout

func NewRebootMachineParamsWithTimeout(timeout time.Duration) *RebootMachineParams

NewRebootMachineParamsWithTimeout creates a new RebootMachineParams object with the default values initialized, and the ability to set a timeout on a request

func (*RebootMachineParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the reboot machine params

func (*RebootMachineParams) SetContext

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

SetContext adds the context to the reboot machine params

func (*RebootMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reboot machine params

func (*RebootMachineParams) SetID

func (o *RebootMachineParams) SetID(id string)

SetID adds the id to the reboot machine params

func (*RebootMachineParams) SetTimeout

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

SetTimeout adds the timeout to the reboot machine params

func (*RebootMachineParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the reboot machine params

func (*RebootMachineParams) WithContext

WithContext adds the context to the reboot machine params

func (*RebootMachineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the reboot machine params

func (*RebootMachineParams) WithID

WithID adds the id to the reboot machine params

func (*RebootMachineParams) WithTimeout

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

WithTimeout adds the timeout to the reboot machine params

func (*RebootMachineParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RebootMachineReader

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

RebootMachineReader is a Reader for the RebootMachine structure.

func (*RebootMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResetMachineAccepted

type ResetMachineAccepted struct {
	Payload *models.RequestTracker
}

ResetMachineAccepted handles this case with default header values.

successful operation

func NewResetMachineAccepted

func NewResetMachineAccepted() *ResetMachineAccepted

NewResetMachineAccepted creates a ResetMachineAccepted with default headers values

func (*ResetMachineAccepted) Error

func (o *ResetMachineAccepted) Error() string

func (*ResetMachineAccepted) GetPayload

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

type ResetMachineForbidden

type ResetMachineForbidden struct {
}

ResetMachineForbidden handles this case with default header values.

Forbidden

func NewResetMachineForbidden

func NewResetMachineForbidden() *ResetMachineForbidden

NewResetMachineForbidden creates a ResetMachineForbidden with default headers values

func (*ResetMachineForbidden) Error

func (o *ResetMachineForbidden) Error() string

type ResetMachineNotFound

type ResetMachineNotFound struct {
	Payload *models.Error
}

ResetMachineNotFound handles this case with default header values.

Not Found

func NewResetMachineNotFound

func NewResetMachineNotFound() *ResetMachineNotFound

NewResetMachineNotFound creates a ResetMachineNotFound with default headers values

func (*ResetMachineNotFound) Error

func (o *ResetMachineNotFound) Error() string

func (*ResetMachineNotFound) GetPayload added in v0.2.9

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

type ResetMachineParams

type ResetMachineParams 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
}

ResetMachineParams contains all the parameters to send to the API endpoint for the reset machine operation typically these are written to a http.Request

func NewResetMachineParams

func NewResetMachineParams() *ResetMachineParams

NewResetMachineParams creates a new ResetMachineParams object with the default values initialized.

func NewResetMachineParamsWithContext

func NewResetMachineParamsWithContext(ctx context.Context) *ResetMachineParams

NewResetMachineParamsWithContext creates a new ResetMachineParams object with the default values initialized, and the ability to set a context for a request

func NewResetMachineParamsWithHTTPClient

func NewResetMachineParamsWithHTTPClient(client *http.Client) *ResetMachineParams

NewResetMachineParamsWithHTTPClient creates a new ResetMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewResetMachineParamsWithTimeout

func NewResetMachineParamsWithTimeout(timeout time.Duration) *ResetMachineParams

NewResetMachineParamsWithTimeout creates a new ResetMachineParams object with the default values initialized, and the ability to set a timeout on a request

func (*ResetMachineParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the reset machine params

func (*ResetMachineParams) SetContext

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

SetContext adds the context to the reset machine params

func (*ResetMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reset machine params

func (*ResetMachineParams) SetID

func (o *ResetMachineParams) SetID(id string)

SetID adds the id to the reset machine params

func (*ResetMachineParams) SetTimeout

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

SetTimeout adds the timeout to the reset machine params

func (*ResetMachineParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the reset machine params

func (*ResetMachineParams) WithContext

WithContext adds the context to the reset machine params

func (*ResetMachineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the reset machine params

func (*ResetMachineParams) WithID

WithID adds the id to the reset machine params

func (*ResetMachineParams) WithTimeout

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

WithTimeout adds the timeout to the reset machine params

func (*ResetMachineParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ResetMachineReader

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

ResetMachineReader is a Reader for the ResetMachine structure.

func (*ResetMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResizeMachineAccepted

type ResizeMachineAccepted struct {
	Payload *models.RequestTracker
}

ResizeMachineAccepted handles this case with default header values.

successful operation

func NewResizeMachineAccepted

func NewResizeMachineAccepted() *ResizeMachineAccepted

NewResizeMachineAccepted creates a ResizeMachineAccepted with default headers values

func (*ResizeMachineAccepted) Error

func (o *ResizeMachineAccepted) Error() string

func (*ResizeMachineAccepted) GetPayload

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

type ResizeMachineForbidden

type ResizeMachineForbidden struct {
}

ResizeMachineForbidden handles this case with default header values.

Forbidden

func NewResizeMachineForbidden

func NewResizeMachineForbidden() *ResizeMachineForbidden

NewResizeMachineForbidden creates a ResizeMachineForbidden with default headers values

func (*ResizeMachineForbidden) Error

func (o *ResizeMachineForbidden) Error() string

type ResizeMachineNotFound

type ResizeMachineNotFound struct {
	Payload *models.Error
}

ResizeMachineNotFound handles this case with default header values.

Not Found

func NewResizeMachineNotFound

func NewResizeMachineNotFound() *ResizeMachineNotFound

NewResizeMachineNotFound creates a ResizeMachineNotFound with default headers values

func (*ResizeMachineNotFound) Error

func (o *ResizeMachineNotFound) Error() string

func (*ResizeMachineNotFound) GetPayload added in v0.2.9

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

type ResizeMachineParams

type ResizeMachineParams struct {

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

	*/
	APIVersion *string
	/*CPUCount
	  The desired number of CPUs to resize the Machine

	*/
	CPUCount *string
	/*ID
	  The id of the Machine.

	*/
	ID string
	/*MemoryInMB
	  The desired memory in MBs to resize the Machine

	*/
	MemoryInMB *string
	/*Name
	  The desired flavor to resize the Machine.

	*/
	Name *string

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

ResizeMachineParams contains all the parameters to send to the API endpoint for the resize machine operation typically these are written to a http.Request

func NewResizeMachineParams

func NewResizeMachineParams() *ResizeMachineParams

NewResizeMachineParams creates a new ResizeMachineParams object with the default values initialized.

func NewResizeMachineParamsWithContext

func NewResizeMachineParamsWithContext(ctx context.Context) *ResizeMachineParams

NewResizeMachineParamsWithContext creates a new ResizeMachineParams object with the default values initialized, and the ability to set a context for a request

func NewResizeMachineParamsWithHTTPClient

func NewResizeMachineParamsWithHTTPClient(client *http.Client) *ResizeMachineParams

NewResizeMachineParamsWithHTTPClient creates a new ResizeMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewResizeMachineParamsWithTimeout

func NewResizeMachineParamsWithTimeout(timeout time.Duration) *ResizeMachineParams

NewResizeMachineParamsWithTimeout creates a new ResizeMachineParams object with the default values initialized, and the ability to set a timeout on a request

func (*ResizeMachineParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the resize machine params

func (*ResizeMachineParams) SetCPUCount

func (o *ResizeMachineParams) SetCPUCount(cPUCount *string)

SetCPUCount adds the cpuCount to the resize machine params

func (*ResizeMachineParams) SetContext

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

SetContext adds the context to the resize machine params

func (*ResizeMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resize machine params

func (*ResizeMachineParams) SetID

func (o *ResizeMachineParams) SetID(id string)

SetID adds the id to the resize machine params

func (*ResizeMachineParams) SetMemoryInMB

func (o *ResizeMachineParams) SetMemoryInMB(memoryInMB *string)

SetMemoryInMB adds the memoryInMB to the resize machine params

func (*ResizeMachineParams) SetName

func (o *ResizeMachineParams) SetName(name *string)

SetName adds the name to the resize machine params

func (*ResizeMachineParams) SetTimeout

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

SetTimeout adds the timeout to the resize machine params

func (*ResizeMachineParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the resize machine params

func (*ResizeMachineParams) WithCPUCount

func (o *ResizeMachineParams) WithCPUCount(cPUCount *string) *ResizeMachineParams

WithCPUCount adds the cPUCount to the resize machine params

func (*ResizeMachineParams) WithContext

WithContext adds the context to the resize machine params

func (*ResizeMachineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the resize machine params

func (*ResizeMachineParams) WithID

WithID adds the id to the resize machine params

func (*ResizeMachineParams) WithMemoryInMB

func (o *ResizeMachineParams) WithMemoryInMB(memoryInMB *string) *ResizeMachineParams

WithMemoryInMB adds the memoryInMB to the resize machine params

func (*ResizeMachineParams) WithName

func (o *ResizeMachineParams) WithName(name *string) *ResizeMachineParams

WithName adds the name to the resize machine params

func (*ResizeMachineParams) WithTimeout

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

WithTimeout adds the timeout to the resize machine params

func (*ResizeMachineParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ResizeMachineReader

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

ResizeMachineReader is a Reader for the ResizeMachine structure.

func (*ResizeMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestartMachineAccepted

type RestartMachineAccepted struct {
	Payload *models.RequestTracker
}

RestartMachineAccepted handles this case with default header values.

successful operation

func NewRestartMachineAccepted

func NewRestartMachineAccepted() *RestartMachineAccepted

NewRestartMachineAccepted creates a RestartMachineAccepted with default headers values

func (*RestartMachineAccepted) Error

func (o *RestartMachineAccepted) Error() string

func (*RestartMachineAccepted) GetPayload

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

type RestartMachineForbidden

type RestartMachineForbidden struct {
}

RestartMachineForbidden handles this case with default header values.

Forbidden

func NewRestartMachineForbidden

func NewRestartMachineForbidden() *RestartMachineForbidden

NewRestartMachineForbidden creates a RestartMachineForbidden with default headers values

func (*RestartMachineForbidden) Error

func (o *RestartMachineForbidden) Error() string

type RestartMachineNotFound

type RestartMachineNotFound struct {
	Payload *models.Error
}

RestartMachineNotFound handles this case with default header values.

Not Found

func NewRestartMachineNotFound

func NewRestartMachineNotFound() *RestartMachineNotFound

NewRestartMachineNotFound creates a RestartMachineNotFound with default headers values

func (*RestartMachineNotFound) Error

func (o *RestartMachineNotFound) Error() string

func (*RestartMachineNotFound) GetPayload added in v0.2.9

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

type RestartMachineParams

type RestartMachineParams 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
}

RestartMachineParams contains all the parameters to send to the API endpoint for the restart machine operation typically these are written to a http.Request

func NewRestartMachineParams

func NewRestartMachineParams() *RestartMachineParams

NewRestartMachineParams creates a new RestartMachineParams object with the default values initialized.

func NewRestartMachineParamsWithContext

func NewRestartMachineParamsWithContext(ctx context.Context) *RestartMachineParams

NewRestartMachineParamsWithContext creates a new RestartMachineParams object with the default values initialized, and the ability to set a context for a request

func NewRestartMachineParamsWithHTTPClient

func NewRestartMachineParamsWithHTTPClient(client *http.Client) *RestartMachineParams

NewRestartMachineParamsWithHTTPClient creates a new RestartMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRestartMachineParamsWithTimeout

func NewRestartMachineParamsWithTimeout(timeout time.Duration) *RestartMachineParams

NewRestartMachineParamsWithTimeout creates a new RestartMachineParams object with the default values initialized, and the ability to set a timeout on a request

func (*RestartMachineParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the restart machine params

func (*RestartMachineParams) SetContext

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

SetContext adds the context to the restart machine params

func (*RestartMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the restart machine params

func (*RestartMachineParams) SetID

func (o *RestartMachineParams) SetID(id string)

SetID adds the id to the restart machine params

func (*RestartMachineParams) SetTimeout

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

SetTimeout adds the timeout to the restart machine params

func (*RestartMachineParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the restart machine params

func (*RestartMachineParams) WithContext

WithContext adds the context to the restart machine params

func (*RestartMachineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the restart machine params

func (*RestartMachineParams) WithID

WithID adds the id to the restart machine params

func (*RestartMachineParams) WithTimeout

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

WithTimeout adds the timeout to the restart machine params

func (*RestartMachineParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RestartMachineReader

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

RestartMachineReader is a Reader for the RestartMachine structure.

func (*RestartMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RevertMachineSnapshotAccepted

type RevertMachineSnapshotAccepted struct {
	Payload *models.RequestTracker
}

RevertMachineSnapshotAccepted handles this case with default header values.

successful operation

func NewRevertMachineSnapshotAccepted

func NewRevertMachineSnapshotAccepted() *RevertMachineSnapshotAccepted

NewRevertMachineSnapshotAccepted creates a RevertMachineSnapshotAccepted with default headers values

func (*RevertMachineSnapshotAccepted) Error

func (*RevertMachineSnapshotAccepted) GetPayload

type RevertMachineSnapshotForbidden

type RevertMachineSnapshotForbidden struct {
}

RevertMachineSnapshotForbidden handles this case with default header values.

Forbidden

func NewRevertMachineSnapshotForbidden

func NewRevertMachineSnapshotForbidden() *RevertMachineSnapshotForbidden

NewRevertMachineSnapshotForbidden creates a RevertMachineSnapshotForbidden with default headers values

func (*RevertMachineSnapshotForbidden) Error

type RevertMachineSnapshotNotFound

type RevertMachineSnapshotNotFound struct {
	Payload *models.Error
}

RevertMachineSnapshotNotFound handles this case with default header values.

Not Found

func NewRevertMachineSnapshotNotFound

func NewRevertMachineSnapshotNotFound() *RevertMachineSnapshotNotFound

NewRevertMachineSnapshotNotFound creates a RevertMachineSnapshotNotFound with default headers values

func (*RevertMachineSnapshotNotFound) Error

func (*RevertMachineSnapshotNotFound) GetPayload added in v0.2.9

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

type RevertMachineSnapshotParams

type RevertMachineSnapshotParams 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
	/*ID
	  Snapshot id to revert.

	*/
	QueryID string

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

RevertMachineSnapshotParams contains all the parameters to send to the API endpoint for the revert machine snapshot operation typically these are written to a http.Request

func NewRevertMachineSnapshotParams

func NewRevertMachineSnapshotParams() *RevertMachineSnapshotParams

NewRevertMachineSnapshotParams creates a new RevertMachineSnapshotParams object with the default values initialized.

func NewRevertMachineSnapshotParamsWithContext

func NewRevertMachineSnapshotParamsWithContext(ctx context.Context) *RevertMachineSnapshotParams

NewRevertMachineSnapshotParamsWithContext creates a new RevertMachineSnapshotParams object with the default values initialized, and the ability to set a context for a request

func NewRevertMachineSnapshotParamsWithHTTPClient

func NewRevertMachineSnapshotParamsWithHTTPClient(client *http.Client) *RevertMachineSnapshotParams

NewRevertMachineSnapshotParamsWithHTTPClient creates a new RevertMachineSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRevertMachineSnapshotParamsWithTimeout

func NewRevertMachineSnapshotParamsWithTimeout(timeout time.Duration) *RevertMachineSnapshotParams

NewRevertMachineSnapshotParamsWithTimeout creates a new RevertMachineSnapshotParams object with the default values initialized, and the ability to set a timeout on a request

func (*RevertMachineSnapshotParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the revert machine snapshot params

func (*RevertMachineSnapshotParams) SetContext

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

SetContext adds the context to the revert machine snapshot params

func (*RevertMachineSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the revert machine snapshot params

func (*RevertMachineSnapshotParams) SetID

func (o *RevertMachineSnapshotParams) SetID(id string)

SetID adds the id to the revert machine snapshot params

func (*RevertMachineSnapshotParams) SetQueryID

func (o *RevertMachineSnapshotParams) SetQueryID(id string)

SetQueryID adds the id to the revert machine snapshot params

func (*RevertMachineSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the revert machine snapshot params

func (*RevertMachineSnapshotParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the revert machine snapshot params

func (*RevertMachineSnapshotParams) WithContext

WithContext adds the context to the revert machine snapshot params

func (*RevertMachineSnapshotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the revert machine snapshot params

func (*RevertMachineSnapshotParams) WithID

WithID adds the id to the revert machine snapshot params

func (*RevertMachineSnapshotParams) WithQueryID

WithQueryID adds the id to the revert machine snapshot params

func (*RevertMachineSnapshotParams) WithTimeout

WithTimeout adds the timeout to the revert machine snapshot params

func (*RevertMachineSnapshotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RevertMachineSnapshotReader

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

RevertMachineSnapshotReader is a Reader for the RevertMachineSnapshot structure.

func (*RevertMachineSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ShutdownMachineAccepted

type ShutdownMachineAccepted struct {
	Payload *models.RequestTracker
}

ShutdownMachineAccepted handles this case with default header values.

successful operation

func NewShutdownMachineAccepted

func NewShutdownMachineAccepted() *ShutdownMachineAccepted

NewShutdownMachineAccepted creates a ShutdownMachineAccepted with default headers values

func (*ShutdownMachineAccepted) Error

func (o *ShutdownMachineAccepted) Error() string

func (*ShutdownMachineAccepted) GetPayload

type ShutdownMachineForbidden

type ShutdownMachineForbidden struct {
}

ShutdownMachineForbidden handles this case with default header values.

Forbidden

func NewShutdownMachineForbidden

func NewShutdownMachineForbidden() *ShutdownMachineForbidden

NewShutdownMachineForbidden creates a ShutdownMachineForbidden with default headers values

func (*ShutdownMachineForbidden) Error

func (o *ShutdownMachineForbidden) Error() string

type ShutdownMachineNotFound

type ShutdownMachineNotFound struct {
	Payload *models.Error
}

ShutdownMachineNotFound handles this case with default header values.

Not Found

func NewShutdownMachineNotFound

func NewShutdownMachineNotFound() *ShutdownMachineNotFound

NewShutdownMachineNotFound creates a ShutdownMachineNotFound with default headers values

func (*ShutdownMachineNotFound) Error

func (o *ShutdownMachineNotFound) Error() string

func (*ShutdownMachineNotFound) GetPayload added in v0.2.9

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

type ShutdownMachineParams

type ShutdownMachineParams 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
}

ShutdownMachineParams contains all the parameters to send to the API endpoint for the shutdown machine operation typically these are written to a http.Request

func NewShutdownMachineParams

func NewShutdownMachineParams() *ShutdownMachineParams

NewShutdownMachineParams creates a new ShutdownMachineParams object with the default values initialized.

func NewShutdownMachineParamsWithContext

func NewShutdownMachineParamsWithContext(ctx context.Context) *ShutdownMachineParams

NewShutdownMachineParamsWithContext creates a new ShutdownMachineParams object with the default values initialized, and the ability to set a context for a request

func NewShutdownMachineParamsWithHTTPClient

func NewShutdownMachineParamsWithHTTPClient(client *http.Client) *ShutdownMachineParams

NewShutdownMachineParamsWithHTTPClient creates a new ShutdownMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewShutdownMachineParamsWithTimeout

func NewShutdownMachineParamsWithTimeout(timeout time.Duration) *ShutdownMachineParams

NewShutdownMachineParamsWithTimeout creates a new ShutdownMachineParams object with the default values initialized, and the ability to set a timeout on a request

func (*ShutdownMachineParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the shutdown machine params

func (*ShutdownMachineParams) SetContext

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

SetContext adds the context to the shutdown machine params

func (*ShutdownMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the shutdown machine params

func (*ShutdownMachineParams) SetID

func (o *ShutdownMachineParams) SetID(id string)

SetID adds the id to the shutdown machine params

func (*ShutdownMachineParams) SetTimeout

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

SetTimeout adds the timeout to the shutdown machine params

func (*ShutdownMachineParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the shutdown machine params

func (*ShutdownMachineParams) WithContext

WithContext adds the context to the shutdown machine params

func (*ShutdownMachineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the shutdown machine params

func (*ShutdownMachineParams) WithID

WithID adds the id to the shutdown machine params

func (*ShutdownMachineParams) WithTimeout

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

WithTimeout adds the timeout to the shutdown machine params

func (*ShutdownMachineParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ShutdownMachineReader

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

ShutdownMachineReader is a Reader for the ShutdownMachine structure.

func (*ShutdownMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SuspendMachineAccepted

type SuspendMachineAccepted struct {
	Payload *models.RequestTracker
}

SuspendMachineAccepted handles this case with default header values.

successful operation

func NewSuspendMachineAccepted

func NewSuspendMachineAccepted() *SuspendMachineAccepted

NewSuspendMachineAccepted creates a SuspendMachineAccepted with default headers values

func (*SuspendMachineAccepted) Error

func (o *SuspendMachineAccepted) Error() string

func (*SuspendMachineAccepted) GetPayload

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

type SuspendMachineForbidden

type SuspendMachineForbidden struct {
}

SuspendMachineForbidden handles this case with default header values.

Forbidden

func NewSuspendMachineForbidden

func NewSuspendMachineForbidden() *SuspendMachineForbidden

NewSuspendMachineForbidden creates a SuspendMachineForbidden with default headers values

func (*SuspendMachineForbidden) Error

func (o *SuspendMachineForbidden) Error() string

type SuspendMachineNotFound

type SuspendMachineNotFound struct {
	Payload *models.Error
}

SuspendMachineNotFound handles this case with default header values.

Not Found

func NewSuspendMachineNotFound

func NewSuspendMachineNotFound() *SuspendMachineNotFound

NewSuspendMachineNotFound creates a SuspendMachineNotFound with default headers values

func (*SuspendMachineNotFound) Error

func (o *SuspendMachineNotFound) Error() string

func (*SuspendMachineNotFound) GetPayload added in v0.2.9

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

type SuspendMachineParams

type SuspendMachineParams 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
}

SuspendMachineParams contains all the parameters to send to the API endpoint for the suspend machine operation typically these are written to a http.Request

func NewSuspendMachineParams

func NewSuspendMachineParams() *SuspendMachineParams

NewSuspendMachineParams creates a new SuspendMachineParams object with the default values initialized.

func NewSuspendMachineParamsWithContext

func NewSuspendMachineParamsWithContext(ctx context.Context) *SuspendMachineParams

NewSuspendMachineParamsWithContext creates a new SuspendMachineParams object with the default values initialized, and the ability to set a context for a request

func NewSuspendMachineParamsWithHTTPClient

func NewSuspendMachineParamsWithHTTPClient(client *http.Client) *SuspendMachineParams

NewSuspendMachineParamsWithHTTPClient creates a new SuspendMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSuspendMachineParamsWithTimeout

func NewSuspendMachineParamsWithTimeout(timeout time.Duration) *SuspendMachineParams

NewSuspendMachineParamsWithTimeout creates a new SuspendMachineParams object with the default values initialized, and the ability to set a timeout on a request

func (*SuspendMachineParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the suspend machine params

func (*SuspendMachineParams) SetContext

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

SetContext adds the context to the suspend machine params

func (*SuspendMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the suspend machine params

func (*SuspendMachineParams) SetID

func (o *SuspendMachineParams) SetID(id string)

SetID adds the id to the suspend machine params

func (*SuspendMachineParams) SetTimeout

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

SetTimeout adds the timeout to the suspend machine params

func (*SuspendMachineParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the suspend machine params

func (*SuspendMachineParams) WithContext

WithContext adds the context to the suspend machine params

func (*SuspendMachineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the suspend machine params

func (*SuspendMachineParams) WithID

WithID adds the id to the suspend machine params

func (*SuspendMachineParams) WithTimeout

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

WithTimeout adds the timeout to the suspend machine params

func (*SuspendMachineParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SuspendMachineReader

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

SuspendMachineReader is a Reader for the SuspendMachine structure.

func (*SuspendMachineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateMachineForbidden

type UpdateMachineForbidden struct {
}

UpdateMachineForbidden handles this case with default header values.

Forbidden

func NewUpdateMachineForbidden

func NewUpdateMachineForbidden() *UpdateMachineForbidden

NewUpdateMachineForbidden creates a UpdateMachineForbidden with default headers values

func (*UpdateMachineForbidden) Error

func (o *UpdateMachineForbidden) Error() string

type UpdateMachineNotFound

type UpdateMachineNotFound struct {
	Payload *models.Error
}

UpdateMachineNotFound handles this case with default header values.

Not Found

func NewUpdateMachineNotFound

func NewUpdateMachineNotFound() *UpdateMachineNotFound

NewUpdateMachineNotFound creates a UpdateMachineNotFound with default headers values

func (*UpdateMachineNotFound) Error

func (o *UpdateMachineNotFound) Error() string

func (*UpdateMachineNotFound) GetPayload added in v0.2.9

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

type UpdateMachineOK

type UpdateMachineOK struct {
	Payload *models.Machine
}

UpdateMachineOK handles this case with default header values.

successful operation

func NewUpdateMachineOK

func NewUpdateMachineOK() *UpdateMachineOK

NewUpdateMachineOK creates a UpdateMachineOK with default headers values

func (*UpdateMachineOK) Error

func (o *UpdateMachineOK) Error() string

func (*UpdateMachineOK) GetPayload

func (o *UpdateMachineOK) GetPayload() *models.Machine

type UpdateMachineParams

type UpdateMachineParams struct {

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

	*/
	APIVersion *string
	/*Body
	  Machine Specification

	*/
	Body *models.UpdateMachineSpecification
	/*ID
	  The ID of the Machine.

	*/
	ID string

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

UpdateMachineParams contains all the parameters to send to the API endpoint for the update machine operation typically these are written to a http.Request

func NewUpdateMachineParams

func NewUpdateMachineParams() *UpdateMachineParams

NewUpdateMachineParams creates a new UpdateMachineParams object with the default values initialized.

func NewUpdateMachineParamsWithContext

func NewUpdateMachineParamsWithContext(ctx context.Context) *UpdateMachineParams

NewUpdateMachineParamsWithContext creates a new UpdateMachineParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateMachineParamsWithHTTPClient

func NewUpdateMachineParamsWithHTTPClient(client *http.Client) *UpdateMachineParams

NewUpdateMachineParamsWithHTTPClient creates a new UpdateMachineParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateMachineParamsWithTimeout

func NewUpdateMachineParamsWithTimeout(timeout time.Duration) *UpdateMachineParams

NewUpdateMachineParamsWithTimeout creates a new UpdateMachineParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateMachineParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the update machine params

func (*UpdateMachineParams) SetBody

SetBody adds the body to the update machine params

func (*UpdateMachineParams) SetContext

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

SetContext adds the context to the update machine params

func (*UpdateMachineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update machine params

func (*UpdateMachineParams) SetID

func (o *UpdateMachineParams) SetID(id string)

SetID adds the id to the update machine params

func (*UpdateMachineParams) SetTimeout

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

SetTimeout adds the timeout to the update machine params

func (*UpdateMachineParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the update machine params

func (*UpdateMachineParams) WithBody

WithBody adds the body to the update machine params

func (*UpdateMachineParams) WithContext

WithContext adds the context to the update machine params

func (*UpdateMachineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update machine params

func (*UpdateMachineParams) WithID

WithID adds the id to the update machine params

func (*UpdateMachineParams) WithTimeout

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

WithTimeout adds the timeout to the update machine params

func (*UpdateMachineParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateMachineReader

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

UpdateMachineReader is a Reader for the UpdateMachine structure.

func (*UpdateMachineReader) ReadResponse

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