operations

package
v0.0.0-...-e5e0983 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for operations API

func (*Client) CreateSnapshot

func (a *Client) CreateSnapshot(params *CreateSnapshotParams, opts ...ClientOption) (*CreateSnapshotNoContent, error)

CreateSnapshot creates a full or diff snapshot post boot only

Creates a snapshot of the microVM state. The microVM should be in the `Paused` state.

func (*Client) CreateSyncAction

func (a *Client) CreateSyncAction(params *CreateSyncActionParams, opts ...ClientOption) (*CreateSyncActionNoContent, error)

CreateSyncAction creates a synchronous action

func (*Client) DescribeBalloonConfig

func (a *Client) DescribeBalloonConfig(params *DescribeBalloonConfigParams, opts ...ClientOption) (*DescribeBalloonConfigOK, error)

DescribeBalloonConfig returns the current balloon device configuration

func (*Client) DescribeBalloonStats

func (a *Client) DescribeBalloonStats(params *DescribeBalloonStatsParams, opts ...ClientOption) (*DescribeBalloonStatsOK, error)

DescribeBalloonStats returns the latest balloon device statistics only if enabled pre boot

func (*Client) DescribeInstance

func (a *Client) DescribeInstance(params *DescribeInstanceParams, opts ...ClientOption) (*DescribeInstanceOK, error)

DescribeInstance returns general information about an instance

func (*Client) GetExportVMConfig

func (a *Client) GetExportVMConfig(params *GetExportVMConfigParams, opts ...ClientOption) (*GetExportVMConfigOK, error)

GetExportVMConfig gets the full VM configuration

Gets configuration for all VM resources. If the VM is restored from a snapshot, the boot-source, machine-config.smt and machine-config.cpu_template will be empty.

func (*Client) GetFirecrackerVersion

func (a *Client) GetFirecrackerVersion(params *GetFirecrackerVersionParams, opts ...ClientOption) (*GetFirecrackerVersionOK, error)

GetFirecrackerVersion gets the firecracker version

func (*Client) GetMachineConfiguration

func (a *Client) GetMachineConfiguration(params *GetMachineConfigurationParams, opts ...ClientOption) (*GetMachineConfigurationOK, error)

GetMachineConfiguration gets the machine configuration of the VM

Gets the machine configuration of the VM. When called before the PUT operation, it will return the default values for the vCPU count (=1), memory size (=128 MiB). By default SMT is disabled and there is no CPU Template.

func (*Client) GetMmds

func (a *Client) GetMmds(params *GetMmdsParams, opts ...ClientOption) (*GetMmdsOK, error)

GetMmds gets the m m d s data store

func (*Client) LoadSnapshot

func (a *Client) LoadSnapshot(params *LoadSnapshotParams, opts ...ClientOption) (*LoadSnapshotNoContent, error)

LoadSnapshot loads a snapshot pre boot only

Loads the microVM state from a snapshot. Only accepted on a fresh Firecracker process (before configuring any resource other than the Logger and Metrics).

func (*Client) PatchBalloon

func (a *Client) PatchBalloon(params *PatchBalloonParams, opts ...ClientOption) (*PatchBalloonNoContent, error)

PatchBalloon updates a balloon device

Updates an existing balloon device, before or after machine startup. Will fail if update is not possible.

func (*Client) PatchBalloonStatsInterval

func (a *Client) PatchBalloonStatsInterval(params *PatchBalloonStatsIntervalParams, opts ...ClientOption) (*PatchBalloonStatsIntervalNoContent, error)

PatchBalloonStatsInterval updates a balloon device statistics polling interval

Updates an existing balloon device statistics interval, before or after machine startup. Will fail if update is not possible.

func (*Client) PatchGuestDriveByID

func (a *Client) PatchGuestDriveByID(params *PatchGuestDriveByIDParams, opts ...ClientOption) (*PatchGuestDriveByIDNoContent, error)

PatchGuestDriveByID updates the properties of a drive post boot only

Updates the properties of the drive with the ID specified by drive_id path parameter. Will fail if update is not possible.

func (*Client) PatchGuestNetworkInterfaceByID

func (a *Client) PatchGuestNetworkInterfaceByID(params *PatchGuestNetworkInterfaceByIDParams, opts ...ClientOption) (*PatchGuestNetworkInterfaceByIDNoContent, error)

PatchGuestNetworkInterfaceByID updates the rate limiters applied to a network interface post boot only

Updates the rate limiters applied to a network interface.

func (*Client) PatchMachineConfiguration

func (a *Client) PatchMachineConfiguration(params *PatchMachineConfigurationParams, opts ...ClientOption) (*PatchMachineConfigurationNoContent, error)

PatchMachineConfiguration partiallies updates the machine configuration of the VM pre boot only

Partially updates the Virtual Machine Configuration with the specified input. If any of the parameters has an incorrect value, the whole update fails.

func (*Client) PatchMmds

func (a *Client) PatchMmds(params *PatchMmdsParams, opts ...ClientOption) (*PatchMmdsNoContent, error)

PatchMmds updates the m m d s data store

func (*Client) PatchVM

func (a *Client) PatchVM(params *PatchVMParams, opts ...ClientOption) (*PatchVMNoContent, error)

PatchVM updates the micro VM state

Sets the desired state (Paused or Resumed) for the microVM.

func (*Client) PutBalloon

func (a *Client) PutBalloon(params *PutBalloonParams, opts ...ClientOption) (*PutBalloonNoContent, error)

PutBalloon creates or updates a balloon device

Creates a new balloon device if one does not already exist, otherwise updates it, before machine startup. This will fail after machine startup. Will fail if update is not possible.

func (*Client) PutCPUConfiguration

func (a *Client) PutCPUConfiguration(params *PutCPUConfigurationParams, opts ...ClientOption) (*PutCPUConfigurationNoContent, error)

PutCPUConfiguration configures CPU features flags for the v c p us of the guest VM pre boot only

Provides configuration to the Firecracker process to specify vCPU resource configuration prior to launching the guest machine.

func (*Client) PutEntropyDevice

func (a *Client) PutEntropyDevice(params *PutEntropyDeviceParams, opts ...ClientOption) (*PutEntropyDeviceNoContent, error)

PutEntropyDevice creates an entropy device pre boot only

Enables an entropy device that provides high-quality random data to the guest.

func (*Client) PutGuestBootSource

func (a *Client) PutGuestBootSource(params *PutGuestBootSourceParams, opts ...ClientOption) (*PutGuestBootSourceNoContent, error)

PutGuestBootSource creates or updates the boot source pre boot only

Creates new boot source if one does not already exist, otherwise updates it. Will fail if update is not possible.

func (*Client) PutGuestDriveByID

func (a *Client) PutGuestDriveByID(params *PutGuestDriveByIDParams, opts ...ClientOption) (*PutGuestDriveByIDNoContent, error)

PutGuestDriveByID creates or updates a drive pre boot only

Creates new drive with ID specified by drive_id path parameter. If a drive with the specified ID already exists, updates its state based on new input. Will fail if update is not possible.

func (*Client) PutGuestNetworkInterfaceByID

func (a *Client) PutGuestNetworkInterfaceByID(params *PutGuestNetworkInterfaceByIDParams, opts ...ClientOption) (*PutGuestNetworkInterfaceByIDNoContent, error)

PutGuestNetworkInterfaceByID creates a network interface pre boot only

Creates new network interface with ID specified by iface_id path parameter.

func (*Client) PutGuestVsock

func (a *Client) PutGuestVsock(params *PutGuestVsockParams, opts ...ClientOption) (*PutGuestVsockNoContent, error)

PutGuestVsock creates updates a vsock device pre boot only

The first call creates the device with the configuration specified in body. Subsequent calls will update the device configuration. May fail if update is not possible.

func (*Client) PutLogger

func (a *Client) PutLogger(params *PutLoggerParams, opts ...ClientOption) (*PutLoggerNoContent, error)

PutLogger initializes the logger by specifying a named pipe or a file for the logs output

func (*Client) PutMachineConfiguration

func (a *Client) PutMachineConfiguration(params *PutMachineConfigurationParams, opts ...ClientOption) (*PutMachineConfigurationNoContent, error)

PutMachineConfiguration updates the machine configuration of the VM pre boot only

Updates the Virtual Machine Configuration with the specified input. Firecracker starts with default values for vCPU count (=1) and memory size (=128 MiB). The vCPU count is restricted to the [1, 32] range. With SMT enabled, the vCPU count is required to be either 1 or an even number in the range. otherwise there are no restrictions regarding the vCPU count. If any of the parameters has an incorrect value, the whole update fails. All parameters that are optional and are not specified are set to their default values (smt = false, track_dirty_pages = false, cpu_template = None).

func (*Client) PutMetrics

func (a *Client) PutMetrics(params *PutMetricsParams, opts ...ClientOption) (*PutMetricsNoContent, error)

PutMetrics initializes the metrics system by specifying a named pipe or a file for the metrics output

func (*Client) PutMmds

func (a *Client) PutMmds(params *PutMmdsParams, opts ...ClientOption) (*PutMmdsNoContent, error)

PutMmds creates a m m d s microvm metadata service data store

func (*Client) PutMmdsConfig

func (a *Client) PutMmdsConfig(params *PutMmdsConfigParams, opts ...ClientOption) (*PutMmdsConfigNoContent, error)

PutMmdsConfig sets m m d s configuration pre boot only

Configures MMDS version, IPv4 address used by the MMDS network stack and interfaces that allow MMDS requests.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateSnapshot(params *CreateSnapshotParams, opts ...ClientOption) (*CreateSnapshotNoContent, error)

	CreateSyncAction(params *CreateSyncActionParams, opts ...ClientOption) (*CreateSyncActionNoContent, error)

	DescribeBalloonConfig(params *DescribeBalloonConfigParams, opts ...ClientOption) (*DescribeBalloonConfigOK, error)

	DescribeBalloonStats(params *DescribeBalloonStatsParams, opts ...ClientOption) (*DescribeBalloonStatsOK, error)

	DescribeInstance(params *DescribeInstanceParams, opts ...ClientOption) (*DescribeInstanceOK, error)

	GetExportVMConfig(params *GetExportVMConfigParams, opts ...ClientOption) (*GetExportVMConfigOK, error)

	GetFirecrackerVersion(params *GetFirecrackerVersionParams, opts ...ClientOption) (*GetFirecrackerVersionOK, error)

	GetMachineConfiguration(params *GetMachineConfigurationParams, opts ...ClientOption) (*GetMachineConfigurationOK, error)

	GetMmds(params *GetMmdsParams, opts ...ClientOption) (*GetMmdsOK, error)

	LoadSnapshot(params *LoadSnapshotParams, opts ...ClientOption) (*LoadSnapshotNoContent, error)

	PatchBalloon(params *PatchBalloonParams, opts ...ClientOption) (*PatchBalloonNoContent, error)

	PatchBalloonStatsInterval(params *PatchBalloonStatsIntervalParams, opts ...ClientOption) (*PatchBalloonStatsIntervalNoContent, error)

	PatchGuestDriveByID(params *PatchGuestDriveByIDParams, opts ...ClientOption) (*PatchGuestDriveByIDNoContent, error)

	PatchGuestNetworkInterfaceByID(params *PatchGuestNetworkInterfaceByIDParams, opts ...ClientOption) (*PatchGuestNetworkInterfaceByIDNoContent, error)

	PatchMachineConfiguration(params *PatchMachineConfigurationParams, opts ...ClientOption) (*PatchMachineConfigurationNoContent, error)

	PatchMmds(params *PatchMmdsParams, opts ...ClientOption) (*PatchMmdsNoContent, error)

	PatchVM(params *PatchVMParams, opts ...ClientOption) (*PatchVMNoContent, error)

	PutBalloon(params *PutBalloonParams, opts ...ClientOption) (*PutBalloonNoContent, error)

	PutCPUConfiguration(params *PutCPUConfigurationParams, opts ...ClientOption) (*PutCPUConfigurationNoContent, error)

	PutEntropyDevice(params *PutEntropyDeviceParams, opts ...ClientOption) (*PutEntropyDeviceNoContent, error)

	PutGuestBootSource(params *PutGuestBootSourceParams, opts ...ClientOption) (*PutGuestBootSourceNoContent, error)

	PutGuestDriveByID(params *PutGuestDriveByIDParams, opts ...ClientOption) (*PutGuestDriveByIDNoContent, error)

	PutGuestNetworkInterfaceByID(params *PutGuestNetworkInterfaceByIDParams, opts ...ClientOption) (*PutGuestNetworkInterfaceByIDNoContent, error)

	PutGuestVsock(params *PutGuestVsockParams, opts ...ClientOption) (*PutGuestVsockNoContent, error)

	PutLogger(params *PutLoggerParams, opts ...ClientOption) (*PutLoggerNoContent, error)

	PutMachineConfiguration(params *PutMachineConfigurationParams, opts ...ClientOption) (*PutMachineConfigurationNoContent, error)

	PutMetrics(params *PutMetricsParams, opts ...ClientOption) (*PutMetricsNoContent, error)

	PutMmds(params *PutMmdsParams, opts ...ClientOption) (*PutMmdsNoContent, error)

	PutMmdsConfig(params *PutMmdsConfigParams, opts ...ClientOption) (*PutMmdsConfigNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new operations API client.

type CreateSnapshotBadRequest

type CreateSnapshotBadRequest struct {
	Payload *models.Error
}

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

Snapshot cannot be created due to bad input

func NewCreateSnapshotBadRequest

func NewCreateSnapshotBadRequest() *CreateSnapshotBadRequest

NewCreateSnapshotBadRequest creates a CreateSnapshotBadRequest with default headers values

func (*CreateSnapshotBadRequest) Error

func (o *CreateSnapshotBadRequest) Error() string

func (*CreateSnapshotBadRequest) GetPayload

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

func (*CreateSnapshotBadRequest) IsClientError

func (o *CreateSnapshotBadRequest) IsClientError() bool

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

func (*CreateSnapshotBadRequest) IsCode

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

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

func (*CreateSnapshotBadRequest) IsRedirect

func (o *CreateSnapshotBadRequest) IsRedirect() bool

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

func (*CreateSnapshotBadRequest) IsServerError

func (o *CreateSnapshotBadRequest) IsServerError() bool

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

func (*CreateSnapshotBadRequest) IsSuccess

func (o *CreateSnapshotBadRequest) IsSuccess() bool

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

func (*CreateSnapshotBadRequest) String

func (o *CreateSnapshotBadRequest) String() string

type CreateSnapshotDefault

type CreateSnapshotDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

CreateSnapshotDefault describes a response with status code -1, with default header values.

Internal server error

func NewCreateSnapshotDefault

func NewCreateSnapshotDefault(code int) *CreateSnapshotDefault

NewCreateSnapshotDefault creates a CreateSnapshotDefault with default headers values

func (*CreateSnapshotDefault) Code

func (o *CreateSnapshotDefault) Code() int

Code gets the status code for the create snapshot default response

func (*CreateSnapshotDefault) Error

func (o *CreateSnapshotDefault) Error() string

func (*CreateSnapshotDefault) GetPayload

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

func (*CreateSnapshotDefault) IsClientError

func (o *CreateSnapshotDefault) IsClientError() bool

IsClientError returns true when this create snapshot default response has a 4xx status code

func (*CreateSnapshotDefault) IsCode

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

IsCode returns true when this create snapshot default response a status code equal to that given

func (*CreateSnapshotDefault) IsRedirect

func (o *CreateSnapshotDefault) IsRedirect() bool

IsRedirect returns true when this create snapshot default response has a 3xx status code

func (*CreateSnapshotDefault) IsServerError

func (o *CreateSnapshotDefault) IsServerError() bool

IsServerError returns true when this create snapshot default response has a 5xx status code

func (*CreateSnapshotDefault) IsSuccess

func (o *CreateSnapshotDefault) IsSuccess() bool

IsSuccess returns true when this create snapshot default response has a 2xx status code

func (*CreateSnapshotDefault) String

func (o *CreateSnapshotDefault) String() string

type CreateSnapshotNoContent

type CreateSnapshotNoContent struct {
}

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

Snapshot created

func NewCreateSnapshotNoContent

func NewCreateSnapshotNoContent() *CreateSnapshotNoContent

NewCreateSnapshotNoContent creates a CreateSnapshotNoContent with default headers values

func (*CreateSnapshotNoContent) Error

func (o *CreateSnapshotNoContent) Error() string

func (*CreateSnapshotNoContent) IsClientError

func (o *CreateSnapshotNoContent) IsClientError() bool

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

func (*CreateSnapshotNoContent) IsCode

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

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

func (*CreateSnapshotNoContent) IsRedirect

func (o *CreateSnapshotNoContent) IsRedirect() bool

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

func (*CreateSnapshotNoContent) IsServerError

func (o *CreateSnapshotNoContent) IsServerError() bool

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

func (*CreateSnapshotNoContent) IsSuccess

func (o *CreateSnapshotNoContent) IsSuccess() bool

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

func (*CreateSnapshotNoContent) String

func (o *CreateSnapshotNoContent) String() string

type CreateSnapshotParams

type CreateSnapshotParams struct {

	/* Body.

	   The configuration used for creating a snaphot.
	*/
	Body *models.SnapshotCreateParams

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

CreateSnapshotParams contains all the parameters to send to the API endpoint

for the create snapshot operation.

Typically these are written to a http.Request.

func NewCreateSnapshotParams

func NewCreateSnapshotParams() *CreateSnapshotParams

NewCreateSnapshotParams creates a new CreateSnapshotParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateSnapshotParamsWithContext

func NewCreateSnapshotParamsWithContext(ctx context.Context) *CreateSnapshotParams

NewCreateSnapshotParamsWithContext creates a new CreateSnapshotParams object with the ability to set a context for a request.

func NewCreateSnapshotParamsWithHTTPClient

func NewCreateSnapshotParamsWithHTTPClient(client *http.Client) *CreateSnapshotParams

NewCreateSnapshotParamsWithHTTPClient creates a new CreateSnapshotParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSnapshotParamsWithTimeout

func NewCreateSnapshotParamsWithTimeout(timeout time.Duration) *CreateSnapshotParams

NewCreateSnapshotParamsWithTimeout creates a new CreateSnapshotParams object with the ability to set a timeout on a request.

func (*CreateSnapshotParams) SetBody

SetBody adds the body to the create snapshot params

func (*CreateSnapshotParams) SetContext

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

SetContext adds the context to the create snapshot params

func (*CreateSnapshotParams) SetDefaults

func (o *CreateSnapshotParams) SetDefaults()

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

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

func (*CreateSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create snapshot params

func (*CreateSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the create snapshot params

func (*CreateSnapshotParams) WithBody

WithBody adds the body to the create snapshot params

func (*CreateSnapshotParams) WithContext

WithContext adds the context to the create snapshot params

func (*CreateSnapshotParams) WithDefaults

func (o *CreateSnapshotParams) WithDefaults() *CreateSnapshotParams

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

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

func (*CreateSnapshotParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create snapshot params

func (*CreateSnapshotParams) WithTimeout

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

WithTimeout adds the timeout to the create snapshot params

func (*CreateSnapshotParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateSnapshotReader

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

CreateSnapshotReader is a Reader for the CreateSnapshot structure.

func (*CreateSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSyncActionBadRequest

type CreateSyncActionBadRequest struct {
	Payload *models.Error
}

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

The action cannot be executed due to bad input

func NewCreateSyncActionBadRequest

func NewCreateSyncActionBadRequest() *CreateSyncActionBadRequest

NewCreateSyncActionBadRequest creates a CreateSyncActionBadRequest with default headers values

func (*CreateSyncActionBadRequest) Error

func (*CreateSyncActionBadRequest) GetPayload

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

func (*CreateSyncActionBadRequest) IsClientError

func (o *CreateSyncActionBadRequest) IsClientError() bool

IsClientError returns true when this create sync action bad request response has a 4xx status code

func (*CreateSyncActionBadRequest) IsCode

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

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

func (*CreateSyncActionBadRequest) IsRedirect

func (o *CreateSyncActionBadRequest) IsRedirect() bool

IsRedirect returns true when this create sync action bad request response has a 3xx status code

func (*CreateSyncActionBadRequest) IsServerError

func (o *CreateSyncActionBadRequest) IsServerError() bool

IsServerError returns true when this create sync action bad request response has a 5xx status code

func (*CreateSyncActionBadRequest) IsSuccess

func (o *CreateSyncActionBadRequest) IsSuccess() bool

IsSuccess returns true when this create sync action bad request response has a 2xx status code

func (*CreateSyncActionBadRequest) String

func (o *CreateSyncActionBadRequest) String() string

type CreateSyncActionDefault

type CreateSyncActionDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

CreateSyncActionDefault describes a response with status code -1, with default header values.

Internal Server Error

func NewCreateSyncActionDefault

func NewCreateSyncActionDefault(code int) *CreateSyncActionDefault

NewCreateSyncActionDefault creates a CreateSyncActionDefault with default headers values

func (*CreateSyncActionDefault) Code

func (o *CreateSyncActionDefault) Code() int

Code gets the status code for the create sync action default response

func (*CreateSyncActionDefault) Error

func (o *CreateSyncActionDefault) Error() string

func (*CreateSyncActionDefault) GetPayload

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

func (*CreateSyncActionDefault) IsClientError

func (o *CreateSyncActionDefault) IsClientError() bool

IsClientError returns true when this create sync action default response has a 4xx status code

func (*CreateSyncActionDefault) IsCode

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

IsCode returns true when this create sync action default response a status code equal to that given

func (*CreateSyncActionDefault) IsRedirect

func (o *CreateSyncActionDefault) IsRedirect() bool

IsRedirect returns true when this create sync action default response has a 3xx status code

func (*CreateSyncActionDefault) IsServerError

func (o *CreateSyncActionDefault) IsServerError() bool

IsServerError returns true when this create sync action default response has a 5xx status code

func (*CreateSyncActionDefault) IsSuccess

func (o *CreateSyncActionDefault) IsSuccess() bool

IsSuccess returns true when this create sync action default response has a 2xx status code

func (*CreateSyncActionDefault) String

func (o *CreateSyncActionDefault) String() string

type CreateSyncActionNoContent

type CreateSyncActionNoContent struct {
}

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

The update was successful

func NewCreateSyncActionNoContent

func NewCreateSyncActionNoContent() *CreateSyncActionNoContent

NewCreateSyncActionNoContent creates a CreateSyncActionNoContent with default headers values

func (*CreateSyncActionNoContent) Error

func (o *CreateSyncActionNoContent) Error() string

func (*CreateSyncActionNoContent) IsClientError

func (o *CreateSyncActionNoContent) IsClientError() bool

IsClientError returns true when this create sync action no content response has a 4xx status code

func (*CreateSyncActionNoContent) IsCode

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

IsCode returns true when this create sync action no content response a status code equal to that given

func (*CreateSyncActionNoContent) IsRedirect

func (o *CreateSyncActionNoContent) IsRedirect() bool

IsRedirect returns true when this create sync action no content response has a 3xx status code

func (*CreateSyncActionNoContent) IsServerError

func (o *CreateSyncActionNoContent) IsServerError() bool

IsServerError returns true when this create sync action no content response has a 5xx status code

func (*CreateSyncActionNoContent) IsSuccess

func (o *CreateSyncActionNoContent) IsSuccess() bool

IsSuccess returns true when this create sync action no content response has a 2xx status code

func (*CreateSyncActionNoContent) String

func (o *CreateSyncActionNoContent) String() string

type CreateSyncActionParams

type CreateSyncActionParams struct {

	// Info.
	Info *models.InstanceActionInfo

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

CreateSyncActionParams contains all the parameters to send to the API endpoint

for the create sync action operation.

Typically these are written to a http.Request.

func NewCreateSyncActionParams

func NewCreateSyncActionParams() *CreateSyncActionParams

NewCreateSyncActionParams creates a new CreateSyncActionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateSyncActionParamsWithContext

func NewCreateSyncActionParamsWithContext(ctx context.Context) *CreateSyncActionParams

NewCreateSyncActionParamsWithContext creates a new CreateSyncActionParams object with the ability to set a context for a request.

func NewCreateSyncActionParamsWithHTTPClient

func NewCreateSyncActionParamsWithHTTPClient(client *http.Client) *CreateSyncActionParams

NewCreateSyncActionParamsWithHTTPClient creates a new CreateSyncActionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSyncActionParamsWithTimeout

func NewCreateSyncActionParamsWithTimeout(timeout time.Duration) *CreateSyncActionParams

NewCreateSyncActionParamsWithTimeout creates a new CreateSyncActionParams object with the ability to set a timeout on a request.

func (*CreateSyncActionParams) SetContext

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

SetContext adds the context to the create sync action params

func (*CreateSyncActionParams) SetDefaults

func (o *CreateSyncActionParams) SetDefaults()

SetDefaults hydrates default values in the create sync action params (not the query body).

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

func (*CreateSyncActionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create sync action params

func (*CreateSyncActionParams) SetInfo

SetInfo adds the info to the create sync action params

func (*CreateSyncActionParams) SetTimeout

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

SetTimeout adds the timeout to the create sync action params

func (*CreateSyncActionParams) WithContext

WithContext adds the context to the create sync action params

func (*CreateSyncActionParams) WithDefaults

WithDefaults hydrates default values in the create sync action params (not the query body).

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

func (*CreateSyncActionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create sync action params

func (*CreateSyncActionParams) WithInfo

WithInfo adds the info to the create sync action params

func (*CreateSyncActionParams) WithTimeout

WithTimeout adds the timeout to the create sync action params

func (*CreateSyncActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSyncActionReader

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

CreateSyncActionReader is a Reader for the CreateSyncAction structure.

func (*CreateSyncActionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DescribeBalloonConfigBadRequest

type DescribeBalloonConfigBadRequest struct {
	Payload *models.Error
}

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

Balloon device not configured.

func NewDescribeBalloonConfigBadRequest

func NewDescribeBalloonConfigBadRequest() *DescribeBalloonConfigBadRequest

NewDescribeBalloonConfigBadRequest creates a DescribeBalloonConfigBadRequest with default headers values

func (*DescribeBalloonConfigBadRequest) Error

func (*DescribeBalloonConfigBadRequest) GetPayload

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

func (*DescribeBalloonConfigBadRequest) IsClientError

func (o *DescribeBalloonConfigBadRequest) IsClientError() bool

IsClientError returns true when this describe balloon config bad request response has a 4xx status code

func (*DescribeBalloonConfigBadRequest) IsCode

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

IsCode returns true when this describe balloon config bad request response a status code equal to that given

func (*DescribeBalloonConfigBadRequest) IsRedirect

func (o *DescribeBalloonConfigBadRequest) IsRedirect() bool

IsRedirect returns true when this describe balloon config bad request response has a 3xx status code

func (*DescribeBalloonConfigBadRequest) IsServerError

func (o *DescribeBalloonConfigBadRequest) IsServerError() bool

IsServerError returns true when this describe balloon config bad request response has a 5xx status code

func (*DescribeBalloonConfigBadRequest) IsSuccess

func (o *DescribeBalloonConfigBadRequest) IsSuccess() bool

IsSuccess returns true when this describe balloon config bad request response has a 2xx status code

func (*DescribeBalloonConfigBadRequest) String

type DescribeBalloonConfigDefault

type DescribeBalloonConfigDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DescribeBalloonConfigDefault describes a response with status code -1, with default header values.

Internal Server Error

func NewDescribeBalloonConfigDefault

func NewDescribeBalloonConfigDefault(code int) *DescribeBalloonConfigDefault

NewDescribeBalloonConfigDefault creates a DescribeBalloonConfigDefault with default headers values

func (*DescribeBalloonConfigDefault) Code

Code gets the status code for the describe balloon config default response

func (*DescribeBalloonConfigDefault) Error

func (*DescribeBalloonConfigDefault) GetPayload

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

func (*DescribeBalloonConfigDefault) IsClientError

func (o *DescribeBalloonConfigDefault) IsClientError() bool

IsClientError returns true when this describe balloon config default response has a 4xx status code

func (*DescribeBalloonConfigDefault) IsCode

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

IsCode returns true when this describe balloon config default response a status code equal to that given

func (*DescribeBalloonConfigDefault) IsRedirect

func (o *DescribeBalloonConfigDefault) IsRedirect() bool

IsRedirect returns true when this describe balloon config default response has a 3xx status code

func (*DescribeBalloonConfigDefault) IsServerError

func (o *DescribeBalloonConfigDefault) IsServerError() bool

IsServerError returns true when this describe balloon config default response has a 5xx status code

func (*DescribeBalloonConfigDefault) IsSuccess

func (o *DescribeBalloonConfigDefault) IsSuccess() bool

IsSuccess returns true when this describe balloon config default response has a 2xx status code

func (*DescribeBalloonConfigDefault) String

type DescribeBalloonConfigOK

type DescribeBalloonConfigOK struct {
	Payload *models.Balloon
}

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

The balloon device configuration

func NewDescribeBalloonConfigOK

func NewDescribeBalloonConfigOK() *DescribeBalloonConfigOK

NewDescribeBalloonConfigOK creates a DescribeBalloonConfigOK with default headers values

func (*DescribeBalloonConfigOK) Error

func (o *DescribeBalloonConfigOK) Error() string

func (*DescribeBalloonConfigOK) GetPayload

func (o *DescribeBalloonConfigOK) GetPayload() *models.Balloon

func (*DescribeBalloonConfigOK) IsClientError

func (o *DescribeBalloonConfigOK) IsClientError() bool

IsClientError returns true when this describe balloon config o k response has a 4xx status code

func (*DescribeBalloonConfigOK) IsCode

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

IsCode returns true when this describe balloon config o k response a status code equal to that given

func (*DescribeBalloonConfigOK) IsRedirect

func (o *DescribeBalloonConfigOK) IsRedirect() bool

IsRedirect returns true when this describe balloon config o k response has a 3xx status code

func (*DescribeBalloonConfigOK) IsServerError

func (o *DescribeBalloonConfigOK) IsServerError() bool

IsServerError returns true when this describe balloon config o k response has a 5xx status code

func (*DescribeBalloonConfigOK) IsSuccess

func (o *DescribeBalloonConfigOK) IsSuccess() bool

IsSuccess returns true when this describe balloon config o k response has a 2xx status code

func (*DescribeBalloonConfigOK) String

func (o *DescribeBalloonConfigOK) String() string

type DescribeBalloonConfigParams

type DescribeBalloonConfigParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DescribeBalloonConfigParams contains all the parameters to send to the API endpoint

for the describe balloon config operation.

Typically these are written to a http.Request.

func NewDescribeBalloonConfigParams

func NewDescribeBalloonConfigParams() *DescribeBalloonConfigParams

NewDescribeBalloonConfigParams creates a new DescribeBalloonConfigParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDescribeBalloonConfigParamsWithContext

func NewDescribeBalloonConfigParamsWithContext(ctx context.Context) *DescribeBalloonConfigParams

NewDescribeBalloonConfigParamsWithContext creates a new DescribeBalloonConfigParams object with the ability to set a context for a request.

func NewDescribeBalloonConfigParamsWithHTTPClient

func NewDescribeBalloonConfigParamsWithHTTPClient(client *http.Client) *DescribeBalloonConfigParams

NewDescribeBalloonConfigParamsWithHTTPClient creates a new DescribeBalloonConfigParams object with the ability to set a custom HTTPClient for a request.

func NewDescribeBalloonConfigParamsWithTimeout

func NewDescribeBalloonConfigParamsWithTimeout(timeout time.Duration) *DescribeBalloonConfigParams

NewDescribeBalloonConfigParamsWithTimeout creates a new DescribeBalloonConfigParams object with the ability to set a timeout on a request.

func (*DescribeBalloonConfigParams) SetContext

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

SetContext adds the context to the describe balloon config params

func (*DescribeBalloonConfigParams) SetDefaults

func (o *DescribeBalloonConfigParams) SetDefaults()

SetDefaults hydrates default values in the describe balloon config params (not the query body).

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

func (*DescribeBalloonConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe balloon config params

func (*DescribeBalloonConfigParams) SetTimeout

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

SetTimeout adds the timeout to the describe balloon config params

func (*DescribeBalloonConfigParams) WithContext

WithContext adds the context to the describe balloon config params

func (*DescribeBalloonConfigParams) WithDefaults

WithDefaults hydrates default values in the describe balloon config params (not the query body).

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

func (*DescribeBalloonConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the describe balloon config params

func (*DescribeBalloonConfigParams) WithTimeout

WithTimeout adds the timeout to the describe balloon config params

func (*DescribeBalloonConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DescribeBalloonConfigReader

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

DescribeBalloonConfigReader is a Reader for the DescribeBalloonConfig structure.

func (*DescribeBalloonConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DescribeBalloonStatsBadRequest

type DescribeBalloonStatsBadRequest struct {
	Payload *models.Error
}

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

The balloon device statistics were not enabled when the device was configured.

func NewDescribeBalloonStatsBadRequest

func NewDescribeBalloonStatsBadRequest() *DescribeBalloonStatsBadRequest

NewDescribeBalloonStatsBadRequest creates a DescribeBalloonStatsBadRequest with default headers values

func (*DescribeBalloonStatsBadRequest) Error

func (*DescribeBalloonStatsBadRequest) GetPayload

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

func (*DescribeBalloonStatsBadRequest) IsClientError

func (o *DescribeBalloonStatsBadRequest) IsClientError() bool

IsClientError returns true when this describe balloon stats bad request response has a 4xx status code

func (*DescribeBalloonStatsBadRequest) IsCode

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

IsCode returns true when this describe balloon stats bad request response a status code equal to that given

func (*DescribeBalloonStatsBadRequest) IsRedirect

func (o *DescribeBalloonStatsBadRequest) IsRedirect() bool

IsRedirect returns true when this describe balloon stats bad request response has a 3xx status code

func (*DescribeBalloonStatsBadRequest) IsServerError

func (o *DescribeBalloonStatsBadRequest) IsServerError() bool

IsServerError returns true when this describe balloon stats bad request response has a 5xx status code

func (*DescribeBalloonStatsBadRequest) IsSuccess

func (o *DescribeBalloonStatsBadRequest) IsSuccess() bool

IsSuccess returns true when this describe balloon stats bad request response has a 2xx status code

func (*DescribeBalloonStatsBadRequest) String

type DescribeBalloonStatsDefault

type DescribeBalloonStatsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DescribeBalloonStatsDefault describes a response with status code -1, with default header values.

Internal Server Error

func NewDescribeBalloonStatsDefault

func NewDescribeBalloonStatsDefault(code int) *DescribeBalloonStatsDefault

NewDescribeBalloonStatsDefault creates a DescribeBalloonStatsDefault with default headers values

func (*DescribeBalloonStatsDefault) Code

func (o *DescribeBalloonStatsDefault) Code() int

Code gets the status code for the describe balloon stats default response

func (*DescribeBalloonStatsDefault) Error

func (*DescribeBalloonStatsDefault) GetPayload

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

func (*DescribeBalloonStatsDefault) IsClientError

func (o *DescribeBalloonStatsDefault) IsClientError() bool

IsClientError returns true when this describe balloon stats default response has a 4xx status code

func (*DescribeBalloonStatsDefault) IsCode

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

IsCode returns true when this describe balloon stats default response a status code equal to that given

func (*DescribeBalloonStatsDefault) IsRedirect

func (o *DescribeBalloonStatsDefault) IsRedirect() bool

IsRedirect returns true when this describe balloon stats default response has a 3xx status code

func (*DescribeBalloonStatsDefault) IsServerError

func (o *DescribeBalloonStatsDefault) IsServerError() bool

IsServerError returns true when this describe balloon stats default response has a 5xx status code

func (*DescribeBalloonStatsDefault) IsSuccess

func (o *DescribeBalloonStatsDefault) IsSuccess() bool

IsSuccess returns true when this describe balloon stats default response has a 2xx status code

func (*DescribeBalloonStatsDefault) String

func (o *DescribeBalloonStatsDefault) String() string

type DescribeBalloonStatsOK

type DescribeBalloonStatsOK struct {
	Payload *models.BalloonStats
}

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

The balloon device statistics

func NewDescribeBalloonStatsOK

func NewDescribeBalloonStatsOK() *DescribeBalloonStatsOK

NewDescribeBalloonStatsOK creates a DescribeBalloonStatsOK with default headers values

func (*DescribeBalloonStatsOK) Error

func (o *DescribeBalloonStatsOK) Error() string

func (*DescribeBalloonStatsOK) GetPayload

func (o *DescribeBalloonStatsOK) GetPayload() *models.BalloonStats

func (*DescribeBalloonStatsOK) IsClientError

func (o *DescribeBalloonStatsOK) IsClientError() bool

IsClientError returns true when this describe balloon stats o k response has a 4xx status code

func (*DescribeBalloonStatsOK) IsCode

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

IsCode returns true when this describe balloon stats o k response a status code equal to that given

func (*DescribeBalloonStatsOK) IsRedirect

func (o *DescribeBalloonStatsOK) IsRedirect() bool

IsRedirect returns true when this describe balloon stats o k response has a 3xx status code

func (*DescribeBalloonStatsOK) IsServerError

func (o *DescribeBalloonStatsOK) IsServerError() bool

IsServerError returns true when this describe balloon stats o k response has a 5xx status code

func (*DescribeBalloonStatsOK) IsSuccess

func (o *DescribeBalloonStatsOK) IsSuccess() bool

IsSuccess returns true when this describe balloon stats o k response has a 2xx status code

func (*DescribeBalloonStatsOK) String

func (o *DescribeBalloonStatsOK) String() string

type DescribeBalloonStatsParams

type DescribeBalloonStatsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DescribeBalloonStatsParams contains all the parameters to send to the API endpoint

for the describe balloon stats operation.

Typically these are written to a http.Request.

func NewDescribeBalloonStatsParams

func NewDescribeBalloonStatsParams() *DescribeBalloonStatsParams

NewDescribeBalloonStatsParams creates a new DescribeBalloonStatsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDescribeBalloonStatsParamsWithContext

func NewDescribeBalloonStatsParamsWithContext(ctx context.Context) *DescribeBalloonStatsParams

NewDescribeBalloonStatsParamsWithContext creates a new DescribeBalloonStatsParams object with the ability to set a context for a request.

func NewDescribeBalloonStatsParamsWithHTTPClient

func NewDescribeBalloonStatsParamsWithHTTPClient(client *http.Client) *DescribeBalloonStatsParams

NewDescribeBalloonStatsParamsWithHTTPClient creates a new DescribeBalloonStatsParams object with the ability to set a custom HTTPClient for a request.

func NewDescribeBalloonStatsParamsWithTimeout

func NewDescribeBalloonStatsParamsWithTimeout(timeout time.Duration) *DescribeBalloonStatsParams

NewDescribeBalloonStatsParamsWithTimeout creates a new DescribeBalloonStatsParams object with the ability to set a timeout on a request.

func (*DescribeBalloonStatsParams) SetContext

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

SetContext adds the context to the describe balloon stats params

func (*DescribeBalloonStatsParams) SetDefaults

func (o *DescribeBalloonStatsParams) SetDefaults()

SetDefaults hydrates default values in the describe balloon stats params (not the query body).

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

func (*DescribeBalloonStatsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe balloon stats params

func (*DescribeBalloonStatsParams) SetTimeout

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

SetTimeout adds the timeout to the describe balloon stats params

func (*DescribeBalloonStatsParams) WithContext

WithContext adds the context to the describe balloon stats params

func (*DescribeBalloonStatsParams) WithDefaults

WithDefaults hydrates default values in the describe balloon stats params (not the query body).

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

func (*DescribeBalloonStatsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the describe balloon stats params

func (*DescribeBalloonStatsParams) WithTimeout

WithTimeout adds the timeout to the describe balloon stats params

func (*DescribeBalloonStatsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DescribeBalloonStatsReader

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

DescribeBalloonStatsReader is a Reader for the DescribeBalloonStats structure.

func (*DescribeBalloonStatsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DescribeInstanceDefault

type DescribeInstanceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DescribeInstanceDefault describes a response with status code -1, with default header values.

Internal Server Error

func NewDescribeInstanceDefault

func NewDescribeInstanceDefault(code int) *DescribeInstanceDefault

NewDescribeInstanceDefault creates a DescribeInstanceDefault with default headers values

func (*DescribeInstanceDefault) Code

func (o *DescribeInstanceDefault) Code() int

Code gets the status code for the describe instance default response

func (*DescribeInstanceDefault) Error

func (o *DescribeInstanceDefault) Error() string

func (*DescribeInstanceDefault) GetPayload

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

func (*DescribeInstanceDefault) IsClientError

func (o *DescribeInstanceDefault) IsClientError() bool

IsClientError returns true when this describe instance default response has a 4xx status code

func (*DescribeInstanceDefault) IsCode

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

IsCode returns true when this describe instance default response a status code equal to that given

func (*DescribeInstanceDefault) IsRedirect

func (o *DescribeInstanceDefault) IsRedirect() bool

IsRedirect returns true when this describe instance default response has a 3xx status code

func (*DescribeInstanceDefault) IsServerError

func (o *DescribeInstanceDefault) IsServerError() bool

IsServerError returns true when this describe instance default response has a 5xx status code

func (*DescribeInstanceDefault) IsSuccess

func (o *DescribeInstanceDefault) IsSuccess() bool

IsSuccess returns true when this describe instance default response has a 2xx status code

func (*DescribeInstanceDefault) String

func (o *DescribeInstanceDefault) String() string

type DescribeInstanceOK

type DescribeInstanceOK struct {
	Payload *models.InstanceInfo
}

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

The instance information

func NewDescribeInstanceOK

func NewDescribeInstanceOK() *DescribeInstanceOK

NewDescribeInstanceOK creates a DescribeInstanceOK with default headers values

func (*DescribeInstanceOK) Error

func (o *DescribeInstanceOK) Error() string

func (*DescribeInstanceOK) GetPayload

func (o *DescribeInstanceOK) GetPayload() *models.InstanceInfo

func (*DescribeInstanceOK) IsClientError

func (o *DescribeInstanceOK) IsClientError() bool

IsClientError returns true when this describe instance o k response has a 4xx status code

func (*DescribeInstanceOK) IsCode

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

IsCode returns true when this describe instance o k response a status code equal to that given

func (*DescribeInstanceOK) IsRedirect

func (o *DescribeInstanceOK) IsRedirect() bool

IsRedirect returns true when this describe instance o k response has a 3xx status code

func (*DescribeInstanceOK) IsServerError

func (o *DescribeInstanceOK) IsServerError() bool

IsServerError returns true when this describe instance o k response has a 5xx status code

func (*DescribeInstanceOK) IsSuccess

func (o *DescribeInstanceOK) IsSuccess() bool

IsSuccess returns true when this describe instance o k response has a 2xx status code

func (*DescribeInstanceOK) String

func (o *DescribeInstanceOK) String() string

type DescribeInstanceParams

type DescribeInstanceParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DescribeInstanceParams contains all the parameters to send to the API endpoint

for the describe instance operation.

Typically these are written to a http.Request.

func NewDescribeInstanceParams

func NewDescribeInstanceParams() *DescribeInstanceParams

NewDescribeInstanceParams creates a new DescribeInstanceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDescribeInstanceParamsWithContext

func NewDescribeInstanceParamsWithContext(ctx context.Context) *DescribeInstanceParams

NewDescribeInstanceParamsWithContext creates a new DescribeInstanceParams object with the ability to set a context for a request.

func NewDescribeInstanceParamsWithHTTPClient

func NewDescribeInstanceParamsWithHTTPClient(client *http.Client) *DescribeInstanceParams

NewDescribeInstanceParamsWithHTTPClient creates a new DescribeInstanceParams object with the ability to set a custom HTTPClient for a request.

func NewDescribeInstanceParamsWithTimeout

func NewDescribeInstanceParamsWithTimeout(timeout time.Duration) *DescribeInstanceParams

NewDescribeInstanceParamsWithTimeout creates a new DescribeInstanceParams object with the ability to set a timeout on a request.

func (*DescribeInstanceParams) SetContext

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

SetContext adds the context to the describe instance params

func (*DescribeInstanceParams) SetDefaults

func (o *DescribeInstanceParams) SetDefaults()

SetDefaults hydrates default values in the describe instance params (not the query body).

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

func (*DescribeInstanceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the describe instance params

func (*DescribeInstanceParams) SetTimeout

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

SetTimeout adds the timeout to the describe instance params

func (*DescribeInstanceParams) WithContext

WithContext adds the context to the describe instance params

func (*DescribeInstanceParams) WithDefaults

WithDefaults hydrates default values in the describe instance params (not the query body).

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

func (*DescribeInstanceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the describe instance params

func (*DescribeInstanceParams) WithTimeout

WithTimeout adds the timeout to the describe instance params

func (*DescribeInstanceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DescribeInstanceReader

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

DescribeInstanceReader is a Reader for the DescribeInstance structure.

func (*DescribeInstanceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetExportVMConfigDefault

type GetExportVMConfigDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetExportVMConfigDefault describes a response with status code -1, with default header values.

Internal server error

func NewGetExportVMConfigDefault

func NewGetExportVMConfigDefault(code int) *GetExportVMConfigDefault

NewGetExportVMConfigDefault creates a GetExportVMConfigDefault with default headers values

func (*GetExportVMConfigDefault) Code

func (o *GetExportVMConfigDefault) Code() int

Code gets the status code for the get export Vm config default response

func (*GetExportVMConfigDefault) Error

func (o *GetExportVMConfigDefault) Error() string

func (*GetExportVMConfigDefault) GetPayload

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

func (*GetExportVMConfigDefault) IsClientError

func (o *GetExportVMConfigDefault) IsClientError() bool

IsClientError returns true when this get export Vm config default response has a 4xx status code

func (*GetExportVMConfigDefault) IsCode

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

IsCode returns true when this get export Vm config default response a status code equal to that given

func (*GetExportVMConfigDefault) IsRedirect

func (o *GetExportVMConfigDefault) IsRedirect() bool

IsRedirect returns true when this get export Vm config default response has a 3xx status code

func (*GetExportVMConfigDefault) IsServerError

func (o *GetExportVMConfigDefault) IsServerError() bool

IsServerError returns true when this get export Vm config default response has a 5xx status code

func (*GetExportVMConfigDefault) IsSuccess

func (o *GetExportVMConfigDefault) IsSuccess() bool

IsSuccess returns true when this get export Vm config default response has a 2xx status code

func (*GetExportVMConfigDefault) String

func (o *GetExportVMConfigDefault) String() string

type GetExportVMConfigOK

type GetExportVMConfigOK struct {
	Payload *models.FullVMConfiguration
}

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

OK

func NewGetExportVMConfigOK

func NewGetExportVMConfigOK() *GetExportVMConfigOK

NewGetExportVMConfigOK creates a GetExportVMConfigOK with default headers values

func (*GetExportVMConfigOK) Error

func (o *GetExportVMConfigOK) Error() string

func (*GetExportVMConfigOK) GetPayload

func (*GetExportVMConfigOK) IsClientError

func (o *GetExportVMConfigOK) IsClientError() bool

IsClientError returns true when this get export Vm config o k response has a 4xx status code

func (*GetExportVMConfigOK) IsCode

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

IsCode returns true when this get export Vm config o k response a status code equal to that given

func (*GetExportVMConfigOK) IsRedirect

func (o *GetExportVMConfigOK) IsRedirect() bool

IsRedirect returns true when this get export Vm config o k response has a 3xx status code

func (*GetExportVMConfigOK) IsServerError

func (o *GetExportVMConfigOK) IsServerError() bool

IsServerError returns true when this get export Vm config o k response has a 5xx status code

func (*GetExportVMConfigOK) IsSuccess

func (o *GetExportVMConfigOK) IsSuccess() bool

IsSuccess returns true when this get export Vm config o k response has a 2xx status code

func (*GetExportVMConfigOK) String

func (o *GetExportVMConfigOK) String() string

type GetExportVMConfigParams

type GetExportVMConfigParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetExportVMConfigParams contains all the parameters to send to the API endpoint

for the get export Vm config operation.

Typically these are written to a http.Request.

func NewGetExportVMConfigParams

func NewGetExportVMConfigParams() *GetExportVMConfigParams

NewGetExportVMConfigParams creates a new GetExportVMConfigParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetExportVMConfigParamsWithContext

func NewGetExportVMConfigParamsWithContext(ctx context.Context) *GetExportVMConfigParams

NewGetExportVMConfigParamsWithContext creates a new GetExportVMConfigParams object with the ability to set a context for a request.

func NewGetExportVMConfigParamsWithHTTPClient

func NewGetExportVMConfigParamsWithHTTPClient(client *http.Client) *GetExportVMConfigParams

NewGetExportVMConfigParamsWithHTTPClient creates a new GetExportVMConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetExportVMConfigParamsWithTimeout

func NewGetExportVMConfigParamsWithTimeout(timeout time.Duration) *GetExportVMConfigParams

NewGetExportVMConfigParamsWithTimeout creates a new GetExportVMConfigParams object with the ability to set a timeout on a request.

func (*GetExportVMConfigParams) SetContext

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

SetContext adds the context to the get export Vm config params

func (*GetExportVMConfigParams) SetDefaults

func (o *GetExportVMConfigParams) SetDefaults()

SetDefaults hydrates default values in the get export Vm config params (not the query body).

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

func (*GetExportVMConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get export Vm config params

func (*GetExportVMConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get export Vm config params

func (*GetExportVMConfigParams) WithContext

WithContext adds the context to the get export Vm config params

func (*GetExportVMConfigParams) WithDefaults

WithDefaults hydrates default values in the get export Vm config params (not the query body).

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

func (*GetExportVMConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get export Vm config params

func (*GetExportVMConfigParams) WithTimeout

WithTimeout adds the timeout to the get export Vm config params

func (*GetExportVMConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetExportVMConfigReader

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

GetExportVMConfigReader is a Reader for the GetExportVMConfig structure.

func (*GetExportVMConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFirecrackerVersionDefault

type GetFirecrackerVersionDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetFirecrackerVersionDefault describes a response with status code -1, with default header values.

Internal server error

func NewGetFirecrackerVersionDefault

func NewGetFirecrackerVersionDefault(code int) *GetFirecrackerVersionDefault

NewGetFirecrackerVersionDefault creates a GetFirecrackerVersionDefault with default headers values

func (*GetFirecrackerVersionDefault) Code

Code gets the status code for the get firecracker version default response

func (*GetFirecrackerVersionDefault) Error

func (*GetFirecrackerVersionDefault) GetPayload

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

func (*GetFirecrackerVersionDefault) IsClientError

func (o *GetFirecrackerVersionDefault) IsClientError() bool

IsClientError returns true when this get firecracker version default response has a 4xx status code

func (*GetFirecrackerVersionDefault) IsCode

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

IsCode returns true when this get firecracker version default response a status code equal to that given

func (*GetFirecrackerVersionDefault) IsRedirect

func (o *GetFirecrackerVersionDefault) IsRedirect() bool

IsRedirect returns true when this get firecracker version default response has a 3xx status code

func (*GetFirecrackerVersionDefault) IsServerError

func (o *GetFirecrackerVersionDefault) IsServerError() bool

IsServerError returns true when this get firecracker version default response has a 5xx status code

func (*GetFirecrackerVersionDefault) IsSuccess

func (o *GetFirecrackerVersionDefault) IsSuccess() bool

IsSuccess returns true when this get firecracker version default response has a 2xx status code

func (*GetFirecrackerVersionDefault) String

type GetFirecrackerVersionOK

type GetFirecrackerVersionOK struct {
	Payload *models.FirecrackerVersion
}

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

OK

func NewGetFirecrackerVersionOK

func NewGetFirecrackerVersionOK() *GetFirecrackerVersionOK

NewGetFirecrackerVersionOK creates a GetFirecrackerVersionOK with default headers values

func (*GetFirecrackerVersionOK) Error

func (o *GetFirecrackerVersionOK) Error() string

func (*GetFirecrackerVersionOK) GetPayload

func (*GetFirecrackerVersionOK) IsClientError

func (o *GetFirecrackerVersionOK) IsClientError() bool

IsClientError returns true when this get firecracker version o k response has a 4xx status code

func (*GetFirecrackerVersionOK) IsCode

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

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

func (*GetFirecrackerVersionOK) IsRedirect

func (o *GetFirecrackerVersionOK) IsRedirect() bool

IsRedirect returns true when this get firecracker version o k response has a 3xx status code

func (*GetFirecrackerVersionOK) IsServerError

func (o *GetFirecrackerVersionOK) IsServerError() bool

IsServerError returns true when this get firecracker version o k response has a 5xx status code

func (*GetFirecrackerVersionOK) IsSuccess

func (o *GetFirecrackerVersionOK) IsSuccess() bool

IsSuccess returns true when this get firecracker version o k response has a 2xx status code

func (*GetFirecrackerVersionOK) String

func (o *GetFirecrackerVersionOK) String() string

type GetFirecrackerVersionParams

type GetFirecrackerVersionParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetFirecrackerVersionParams contains all the parameters to send to the API endpoint

for the get firecracker version operation.

Typically these are written to a http.Request.

func NewGetFirecrackerVersionParams

func NewGetFirecrackerVersionParams() *GetFirecrackerVersionParams

NewGetFirecrackerVersionParams creates a new GetFirecrackerVersionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetFirecrackerVersionParamsWithContext

func NewGetFirecrackerVersionParamsWithContext(ctx context.Context) *GetFirecrackerVersionParams

NewGetFirecrackerVersionParamsWithContext creates a new GetFirecrackerVersionParams object with the ability to set a context for a request.

func NewGetFirecrackerVersionParamsWithHTTPClient

func NewGetFirecrackerVersionParamsWithHTTPClient(client *http.Client) *GetFirecrackerVersionParams

NewGetFirecrackerVersionParamsWithHTTPClient creates a new GetFirecrackerVersionParams object with the ability to set a custom HTTPClient for a request.

func NewGetFirecrackerVersionParamsWithTimeout

func NewGetFirecrackerVersionParamsWithTimeout(timeout time.Duration) *GetFirecrackerVersionParams

NewGetFirecrackerVersionParamsWithTimeout creates a new GetFirecrackerVersionParams object with the ability to set a timeout on a request.

func (*GetFirecrackerVersionParams) SetContext

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

SetContext adds the context to the get firecracker version params

func (*GetFirecrackerVersionParams) SetDefaults

func (o *GetFirecrackerVersionParams) SetDefaults()

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

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

func (*GetFirecrackerVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get firecracker version params

func (*GetFirecrackerVersionParams) SetTimeout

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

SetTimeout adds the timeout to the get firecracker version params

func (*GetFirecrackerVersionParams) WithContext

WithContext adds the context to the get firecracker version params

func (*GetFirecrackerVersionParams) WithDefaults

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

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

func (*GetFirecrackerVersionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get firecracker version params

func (*GetFirecrackerVersionParams) WithTimeout

WithTimeout adds the timeout to the get firecracker version params

func (*GetFirecrackerVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFirecrackerVersionReader

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

GetFirecrackerVersionReader is a Reader for the GetFirecrackerVersion structure.

func (*GetFirecrackerVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMachineConfigurationDefault

type GetMachineConfigurationDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetMachineConfigurationDefault describes a response with status code -1, with default header values.

Internal server error

func NewGetMachineConfigurationDefault

func NewGetMachineConfigurationDefault(code int) *GetMachineConfigurationDefault

NewGetMachineConfigurationDefault creates a GetMachineConfigurationDefault with default headers values

func (*GetMachineConfigurationDefault) Code

Code gets the status code for the get machine configuration default response

func (*GetMachineConfigurationDefault) Error

func (*GetMachineConfigurationDefault) GetPayload

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

func (*GetMachineConfigurationDefault) IsClientError

func (o *GetMachineConfigurationDefault) IsClientError() bool

IsClientError returns true when this get machine configuration default response has a 4xx status code

func (*GetMachineConfigurationDefault) IsCode

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

IsCode returns true when this get machine configuration default response a status code equal to that given

func (*GetMachineConfigurationDefault) IsRedirect

func (o *GetMachineConfigurationDefault) IsRedirect() bool

IsRedirect returns true when this get machine configuration default response has a 3xx status code

func (*GetMachineConfigurationDefault) IsServerError

func (o *GetMachineConfigurationDefault) IsServerError() bool

IsServerError returns true when this get machine configuration default response has a 5xx status code

func (*GetMachineConfigurationDefault) IsSuccess

func (o *GetMachineConfigurationDefault) IsSuccess() bool

IsSuccess returns true when this get machine configuration default response has a 2xx status code

func (*GetMachineConfigurationDefault) String

type GetMachineConfigurationOK

type GetMachineConfigurationOK struct {
	Payload *models.MachineConfiguration
}

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

OK

func NewGetMachineConfigurationOK

func NewGetMachineConfigurationOK() *GetMachineConfigurationOK

NewGetMachineConfigurationOK creates a GetMachineConfigurationOK with default headers values

func (*GetMachineConfigurationOK) Error

func (o *GetMachineConfigurationOK) Error() string

func (*GetMachineConfigurationOK) GetPayload

func (*GetMachineConfigurationOK) IsClientError

func (o *GetMachineConfigurationOK) IsClientError() bool

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

func (*GetMachineConfigurationOK) IsCode

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

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

func (*GetMachineConfigurationOK) IsRedirect

func (o *GetMachineConfigurationOK) IsRedirect() bool

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

func (*GetMachineConfigurationOK) IsServerError

func (o *GetMachineConfigurationOK) IsServerError() bool

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

func (*GetMachineConfigurationOK) IsSuccess

func (o *GetMachineConfigurationOK) IsSuccess() bool

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

func (*GetMachineConfigurationOK) String

func (o *GetMachineConfigurationOK) String() string

type GetMachineConfigurationParams

type GetMachineConfigurationParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMachineConfigurationParams contains all the parameters to send to the API endpoint

for the get machine configuration operation.

Typically these are written to a http.Request.

func NewGetMachineConfigurationParams

func NewGetMachineConfigurationParams() *GetMachineConfigurationParams

NewGetMachineConfigurationParams creates a new GetMachineConfigurationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetMachineConfigurationParamsWithContext

func NewGetMachineConfigurationParamsWithContext(ctx context.Context) *GetMachineConfigurationParams

NewGetMachineConfigurationParamsWithContext creates a new GetMachineConfigurationParams object with the ability to set a context for a request.

func NewGetMachineConfigurationParamsWithHTTPClient

func NewGetMachineConfigurationParamsWithHTTPClient(client *http.Client) *GetMachineConfigurationParams

NewGetMachineConfigurationParamsWithHTTPClient creates a new GetMachineConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewGetMachineConfigurationParamsWithTimeout

func NewGetMachineConfigurationParamsWithTimeout(timeout time.Duration) *GetMachineConfigurationParams

NewGetMachineConfigurationParamsWithTimeout creates a new GetMachineConfigurationParams object with the ability to set a timeout on a request.

func (*GetMachineConfigurationParams) SetContext

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

SetContext adds the context to the get machine configuration params

func (*GetMachineConfigurationParams) SetDefaults

func (o *GetMachineConfigurationParams) SetDefaults()

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

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

func (*GetMachineConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get machine configuration params

func (*GetMachineConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the get machine configuration params

func (*GetMachineConfigurationParams) WithContext

WithContext adds the context to the get machine configuration params

func (*GetMachineConfigurationParams) WithDefaults

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

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

func (*GetMachineConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get machine configuration params

func (*GetMachineConfigurationParams) WithTimeout

WithTimeout adds the timeout to the get machine configuration params

func (*GetMachineConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMachineConfigurationReader

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

GetMachineConfigurationReader is a Reader for the GetMachineConfiguration structure.

func (*GetMachineConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMmdsDefault

type GetMmdsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetMmdsDefault describes a response with status code -1, with default header values.

Internal server error

func NewGetMmdsDefault

func NewGetMmdsDefault(code int) *GetMmdsDefault

NewGetMmdsDefault creates a GetMmdsDefault with default headers values

func (*GetMmdsDefault) Code

func (o *GetMmdsDefault) Code() int

Code gets the status code for the get mmds default response

func (*GetMmdsDefault) Error

func (o *GetMmdsDefault) Error() string

func (*GetMmdsDefault) GetPayload

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

func (*GetMmdsDefault) IsClientError

func (o *GetMmdsDefault) IsClientError() bool

IsClientError returns true when this get mmds default response has a 4xx status code

func (*GetMmdsDefault) IsCode

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

IsCode returns true when this get mmds default response a status code equal to that given

func (*GetMmdsDefault) IsRedirect

func (o *GetMmdsDefault) IsRedirect() bool

IsRedirect returns true when this get mmds default response has a 3xx status code

func (*GetMmdsDefault) IsServerError

func (o *GetMmdsDefault) IsServerError() bool

IsServerError returns true when this get mmds default response has a 5xx status code

func (*GetMmdsDefault) IsSuccess

func (o *GetMmdsDefault) IsSuccess() bool

IsSuccess returns true when this get mmds default response has a 2xx status code

func (*GetMmdsDefault) String

func (o *GetMmdsDefault) String() string

type GetMmdsNotFound

type GetMmdsNotFound struct {
	Payload *models.Error
}

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

The MMDS data store content can not be found.

func NewGetMmdsNotFound

func NewGetMmdsNotFound() *GetMmdsNotFound

NewGetMmdsNotFound creates a GetMmdsNotFound with default headers values

func (*GetMmdsNotFound) Error

func (o *GetMmdsNotFound) Error() string

func (*GetMmdsNotFound) GetPayload

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

func (*GetMmdsNotFound) IsClientError

func (o *GetMmdsNotFound) IsClientError() bool

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

func (*GetMmdsNotFound) IsCode

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

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

func (*GetMmdsNotFound) IsRedirect

func (o *GetMmdsNotFound) IsRedirect() bool

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

func (*GetMmdsNotFound) IsServerError

func (o *GetMmdsNotFound) IsServerError() bool

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

func (*GetMmdsNotFound) IsSuccess

func (o *GetMmdsNotFound) IsSuccess() bool

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

func (*GetMmdsNotFound) String

func (o *GetMmdsNotFound) String() string

type GetMmdsOK

type GetMmdsOK struct {
	Payload interface{}
}

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

The MMDS data store JSON.

func NewGetMmdsOK

func NewGetMmdsOK() *GetMmdsOK

NewGetMmdsOK creates a GetMmdsOK with default headers values

func (*GetMmdsOK) Error

func (o *GetMmdsOK) Error() string

func (*GetMmdsOK) GetPayload

func (o *GetMmdsOK) GetPayload() interface{}

func (*GetMmdsOK) IsClientError

func (o *GetMmdsOK) IsClientError() bool

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

func (*GetMmdsOK) IsCode

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

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

func (*GetMmdsOK) IsRedirect

func (o *GetMmdsOK) IsRedirect() bool

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

func (*GetMmdsOK) IsServerError

func (o *GetMmdsOK) IsServerError() bool

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

func (*GetMmdsOK) IsSuccess

func (o *GetMmdsOK) IsSuccess() bool

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

func (*GetMmdsOK) String

func (o *GetMmdsOK) String() string

type GetMmdsParams

type GetMmdsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetMmdsParams contains all the parameters to send to the API endpoint

for the get mmds operation.

Typically these are written to a http.Request.

func NewGetMmdsParams

func NewGetMmdsParams() *GetMmdsParams

NewGetMmdsParams creates a new GetMmdsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetMmdsParamsWithContext

func NewGetMmdsParamsWithContext(ctx context.Context) *GetMmdsParams

NewGetMmdsParamsWithContext creates a new GetMmdsParams object with the ability to set a context for a request.

func NewGetMmdsParamsWithHTTPClient

func NewGetMmdsParamsWithHTTPClient(client *http.Client) *GetMmdsParams

NewGetMmdsParamsWithHTTPClient creates a new GetMmdsParams object with the ability to set a custom HTTPClient for a request.

func NewGetMmdsParamsWithTimeout

func NewGetMmdsParamsWithTimeout(timeout time.Duration) *GetMmdsParams

NewGetMmdsParamsWithTimeout creates a new GetMmdsParams object with the ability to set a timeout on a request.

func (*GetMmdsParams) SetContext

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

SetContext adds the context to the get mmds params

func (*GetMmdsParams) SetDefaults

func (o *GetMmdsParams) SetDefaults()

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

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

func (*GetMmdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get mmds params

func (*GetMmdsParams) SetTimeout

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

SetTimeout adds the timeout to the get mmds params

func (*GetMmdsParams) WithContext

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

WithContext adds the context to the get mmds params

func (*GetMmdsParams) WithDefaults

func (o *GetMmdsParams) WithDefaults() *GetMmdsParams

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

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

func (*GetMmdsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get mmds params

func (*GetMmdsParams) WithTimeout

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

WithTimeout adds the timeout to the get mmds params

func (*GetMmdsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetMmdsReader

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

GetMmdsReader is a Reader for the GetMmds structure.

func (*GetMmdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LoadSnapshotBadRequest

type LoadSnapshotBadRequest struct {
	Payload *models.Error
}

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

Snapshot cannot be loaded due to bad input

func NewLoadSnapshotBadRequest

func NewLoadSnapshotBadRequest() *LoadSnapshotBadRequest

NewLoadSnapshotBadRequest creates a LoadSnapshotBadRequest with default headers values

func (*LoadSnapshotBadRequest) Error

func (o *LoadSnapshotBadRequest) Error() string

func (*LoadSnapshotBadRequest) GetPayload

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

func (*LoadSnapshotBadRequest) IsClientError

func (o *LoadSnapshotBadRequest) IsClientError() bool

IsClientError returns true when this load snapshot bad request response has a 4xx status code

func (*LoadSnapshotBadRequest) IsCode

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

IsCode returns true when this load snapshot bad request response a status code equal to that given

func (*LoadSnapshotBadRequest) IsRedirect

func (o *LoadSnapshotBadRequest) IsRedirect() bool

IsRedirect returns true when this load snapshot bad request response has a 3xx status code

func (*LoadSnapshotBadRequest) IsServerError

func (o *LoadSnapshotBadRequest) IsServerError() bool

IsServerError returns true when this load snapshot bad request response has a 5xx status code

func (*LoadSnapshotBadRequest) IsSuccess

func (o *LoadSnapshotBadRequest) IsSuccess() bool

IsSuccess returns true when this load snapshot bad request response has a 2xx status code

func (*LoadSnapshotBadRequest) String

func (o *LoadSnapshotBadRequest) String() string

type LoadSnapshotDefault

type LoadSnapshotDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

LoadSnapshotDefault describes a response with status code -1, with default header values.

Internal server error

func NewLoadSnapshotDefault

func NewLoadSnapshotDefault(code int) *LoadSnapshotDefault

NewLoadSnapshotDefault creates a LoadSnapshotDefault with default headers values

func (*LoadSnapshotDefault) Code

func (o *LoadSnapshotDefault) Code() int

Code gets the status code for the load snapshot default response

func (*LoadSnapshotDefault) Error

func (o *LoadSnapshotDefault) Error() string

func (*LoadSnapshotDefault) GetPayload

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

func (*LoadSnapshotDefault) IsClientError

func (o *LoadSnapshotDefault) IsClientError() bool

IsClientError returns true when this load snapshot default response has a 4xx status code

func (*LoadSnapshotDefault) IsCode

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

IsCode returns true when this load snapshot default response a status code equal to that given

func (*LoadSnapshotDefault) IsRedirect

func (o *LoadSnapshotDefault) IsRedirect() bool

IsRedirect returns true when this load snapshot default response has a 3xx status code

func (*LoadSnapshotDefault) IsServerError

func (o *LoadSnapshotDefault) IsServerError() bool

IsServerError returns true when this load snapshot default response has a 5xx status code

func (*LoadSnapshotDefault) IsSuccess

func (o *LoadSnapshotDefault) IsSuccess() bool

IsSuccess returns true when this load snapshot default response has a 2xx status code

func (*LoadSnapshotDefault) String

func (o *LoadSnapshotDefault) String() string

type LoadSnapshotNoContent

type LoadSnapshotNoContent struct {
}

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

Snapshot loaded

func NewLoadSnapshotNoContent

func NewLoadSnapshotNoContent() *LoadSnapshotNoContent

NewLoadSnapshotNoContent creates a LoadSnapshotNoContent with default headers values

func (*LoadSnapshotNoContent) Error

func (o *LoadSnapshotNoContent) Error() string

func (*LoadSnapshotNoContent) IsClientError

func (o *LoadSnapshotNoContent) IsClientError() bool

IsClientError returns true when this load snapshot no content response has a 4xx status code

func (*LoadSnapshotNoContent) IsCode

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

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

func (*LoadSnapshotNoContent) IsRedirect

func (o *LoadSnapshotNoContent) IsRedirect() bool

IsRedirect returns true when this load snapshot no content response has a 3xx status code

func (*LoadSnapshotNoContent) IsServerError

func (o *LoadSnapshotNoContent) IsServerError() bool

IsServerError returns true when this load snapshot no content response has a 5xx status code

func (*LoadSnapshotNoContent) IsSuccess

func (o *LoadSnapshotNoContent) IsSuccess() bool

IsSuccess returns true when this load snapshot no content response has a 2xx status code

func (*LoadSnapshotNoContent) String

func (o *LoadSnapshotNoContent) String() string

type LoadSnapshotParams

type LoadSnapshotParams struct {

	/* Body.

	   The configuration used for loading a snaphot.
	*/
	Body *models.SnapshotLoadParams

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

LoadSnapshotParams contains all the parameters to send to the API endpoint

for the load snapshot operation.

Typically these are written to a http.Request.

func NewLoadSnapshotParams

func NewLoadSnapshotParams() *LoadSnapshotParams

NewLoadSnapshotParams creates a new LoadSnapshotParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewLoadSnapshotParamsWithContext

func NewLoadSnapshotParamsWithContext(ctx context.Context) *LoadSnapshotParams

NewLoadSnapshotParamsWithContext creates a new LoadSnapshotParams object with the ability to set a context for a request.

func NewLoadSnapshotParamsWithHTTPClient

func NewLoadSnapshotParamsWithHTTPClient(client *http.Client) *LoadSnapshotParams

NewLoadSnapshotParamsWithHTTPClient creates a new LoadSnapshotParams object with the ability to set a custom HTTPClient for a request.

func NewLoadSnapshotParamsWithTimeout

func NewLoadSnapshotParamsWithTimeout(timeout time.Duration) *LoadSnapshotParams

NewLoadSnapshotParamsWithTimeout creates a new LoadSnapshotParams object with the ability to set a timeout on a request.

func (*LoadSnapshotParams) SetBody

func (o *LoadSnapshotParams) SetBody(body *models.SnapshotLoadParams)

SetBody adds the body to the load snapshot params

func (*LoadSnapshotParams) SetContext

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

SetContext adds the context to the load snapshot params

func (*LoadSnapshotParams) SetDefaults

func (o *LoadSnapshotParams) SetDefaults()

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

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

func (*LoadSnapshotParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the load snapshot params

func (*LoadSnapshotParams) SetTimeout

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

SetTimeout adds the timeout to the load snapshot params

func (*LoadSnapshotParams) WithBody

WithBody adds the body to the load snapshot params

func (*LoadSnapshotParams) WithContext

WithContext adds the context to the load snapshot params

func (*LoadSnapshotParams) WithDefaults

func (o *LoadSnapshotParams) WithDefaults() *LoadSnapshotParams

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

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

func (*LoadSnapshotParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the load snapshot params

func (*LoadSnapshotParams) WithTimeout

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

WithTimeout adds the timeout to the load snapshot params

func (*LoadSnapshotParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type LoadSnapshotReader

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

LoadSnapshotReader is a Reader for the LoadSnapshot structure.

func (*LoadSnapshotReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchBalloonBadRequest

type PatchBalloonBadRequest struct {
	Payload *models.Error
}

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

Balloon device cannot be updated due to bad input

func NewPatchBalloonBadRequest

func NewPatchBalloonBadRequest() *PatchBalloonBadRequest

NewPatchBalloonBadRequest creates a PatchBalloonBadRequest with default headers values

func (*PatchBalloonBadRequest) Error

func (o *PatchBalloonBadRequest) Error() string

func (*PatchBalloonBadRequest) GetPayload

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

func (*PatchBalloonBadRequest) IsClientError

func (o *PatchBalloonBadRequest) IsClientError() bool

IsClientError returns true when this patch balloon bad request response has a 4xx status code

func (*PatchBalloonBadRequest) IsCode

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

IsCode returns true when this patch balloon bad request response a status code equal to that given

func (*PatchBalloonBadRequest) IsRedirect

func (o *PatchBalloonBadRequest) IsRedirect() bool

IsRedirect returns true when this patch balloon bad request response has a 3xx status code

func (*PatchBalloonBadRequest) IsServerError

func (o *PatchBalloonBadRequest) IsServerError() bool

IsServerError returns true when this patch balloon bad request response has a 5xx status code

func (*PatchBalloonBadRequest) IsSuccess

func (o *PatchBalloonBadRequest) IsSuccess() bool

IsSuccess returns true when this patch balloon bad request response has a 2xx status code

func (*PatchBalloonBadRequest) String

func (o *PatchBalloonBadRequest) String() string

type PatchBalloonDefault

type PatchBalloonDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchBalloonDefault describes a response with status code -1, with default header values.

Internal server error

func NewPatchBalloonDefault

func NewPatchBalloonDefault(code int) *PatchBalloonDefault

NewPatchBalloonDefault creates a PatchBalloonDefault with default headers values

func (*PatchBalloonDefault) Code

func (o *PatchBalloonDefault) Code() int

Code gets the status code for the patch balloon default response

func (*PatchBalloonDefault) Error

func (o *PatchBalloonDefault) Error() string

func (*PatchBalloonDefault) GetPayload

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

func (*PatchBalloonDefault) IsClientError

func (o *PatchBalloonDefault) IsClientError() bool

IsClientError returns true when this patch balloon default response has a 4xx status code

func (*PatchBalloonDefault) IsCode

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

IsCode returns true when this patch balloon default response a status code equal to that given

func (*PatchBalloonDefault) IsRedirect

func (o *PatchBalloonDefault) IsRedirect() bool

IsRedirect returns true when this patch balloon default response has a 3xx status code

func (*PatchBalloonDefault) IsServerError

func (o *PatchBalloonDefault) IsServerError() bool

IsServerError returns true when this patch balloon default response has a 5xx status code

func (*PatchBalloonDefault) IsSuccess

func (o *PatchBalloonDefault) IsSuccess() bool

IsSuccess returns true when this patch balloon default response has a 2xx status code

func (*PatchBalloonDefault) String

func (o *PatchBalloonDefault) String() string

type PatchBalloonNoContent

type PatchBalloonNoContent struct {
}

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

Balloon device updated

func NewPatchBalloonNoContent

func NewPatchBalloonNoContent() *PatchBalloonNoContent

NewPatchBalloonNoContent creates a PatchBalloonNoContent with default headers values

func (*PatchBalloonNoContent) Error

func (o *PatchBalloonNoContent) Error() string

func (*PatchBalloonNoContent) IsClientError

func (o *PatchBalloonNoContent) IsClientError() bool

IsClientError returns true when this patch balloon no content response has a 4xx status code

func (*PatchBalloonNoContent) IsCode

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

IsCode returns true when this patch balloon no content response a status code equal to that given

func (*PatchBalloonNoContent) IsRedirect

func (o *PatchBalloonNoContent) IsRedirect() bool

IsRedirect returns true when this patch balloon no content response has a 3xx status code

func (*PatchBalloonNoContent) IsServerError

func (o *PatchBalloonNoContent) IsServerError() bool

IsServerError returns true when this patch balloon no content response has a 5xx status code

func (*PatchBalloonNoContent) IsSuccess

func (o *PatchBalloonNoContent) IsSuccess() bool

IsSuccess returns true when this patch balloon no content response has a 2xx status code

func (*PatchBalloonNoContent) String

func (o *PatchBalloonNoContent) String() string

type PatchBalloonParams

type PatchBalloonParams struct {

	/* Body.

	   Balloon properties
	*/
	Body *models.BalloonUpdate

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

PatchBalloonParams contains all the parameters to send to the API endpoint

for the patch balloon operation.

Typically these are written to a http.Request.

func NewPatchBalloonParams

func NewPatchBalloonParams() *PatchBalloonParams

NewPatchBalloonParams creates a new PatchBalloonParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchBalloonParamsWithContext

func NewPatchBalloonParamsWithContext(ctx context.Context) *PatchBalloonParams

NewPatchBalloonParamsWithContext creates a new PatchBalloonParams object with the ability to set a context for a request.

func NewPatchBalloonParamsWithHTTPClient

func NewPatchBalloonParamsWithHTTPClient(client *http.Client) *PatchBalloonParams

NewPatchBalloonParamsWithHTTPClient creates a new PatchBalloonParams object with the ability to set a custom HTTPClient for a request.

func NewPatchBalloonParamsWithTimeout

func NewPatchBalloonParamsWithTimeout(timeout time.Duration) *PatchBalloonParams

NewPatchBalloonParamsWithTimeout creates a new PatchBalloonParams object with the ability to set a timeout on a request.

func (*PatchBalloonParams) SetBody

func (o *PatchBalloonParams) SetBody(body *models.BalloonUpdate)

SetBody adds the body to the patch balloon params

func (*PatchBalloonParams) SetContext

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

SetContext adds the context to the patch balloon params

func (*PatchBalloonParams) SetDefaults

func (o *PatchBalloonParams) SetDefaults()

SetDefaults hydrates default values in the patch balloon params (not the query body).

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

func (*PatchBalloonParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch balloon params

func (*PatchBalloonParams) SetTimeout

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

SetTimeout adds the timeout to the patch balloon params

func (*PatchBalloonParams) WithBody

WithBody adds the body to the patch balloon params

func (*PatchBalloonParams) WithContext

WithContext adds the context to the patch balloon params

func (*PatchBalloonParams) WithDefaults

func (o *PatchBalloonParams) WithDefaults() *PatchBalloonParams

WithDefaults hydrates default values in the patch balloon params (not the query body).

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

func (*PatchBalloonParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch balloon params

func (*PatchBalloonParams) WithTimeout

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

WithTimeout adds the timeout to the patch balloon params

func (*PatchBalloonParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchBalloonReader

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

PatchBalloonReader is a Reader for the PatchBalloon structure.

func (*PatchBalloonReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchBalloonStatsIntervalBadRequest

type PatchBalloonStatsIntervalBadRequest struct {
	Payload *models.Error
}

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

Balloon statistics interval cannot be updated due to bad input

func NewPatchBalloonStatsIntervalBadRequest

func NewPatchBalloonStatsIntervalBadRequest() *PatchBalloonStatsIntervalBadRequest

NewPatchBalloonStatsIntervalBadRequest creates a PatchBalloonStatsIntervalBadRequest with default headers values

func (*PatchBalloonStatsIntervalBadRequest) Error

func (*PatchBalloonStatsIntervalBadRequest) GetPayload

func (*PatchBalloonStatsIntervalBadRequest) IsClientError

func (o *PatchBalloonStatsIntervalBadRequest) IsClientError() bool

IsClientError returns true when this patch balloon stats interval bad request response has a 4xx status code

func (*PatchBalloonStatsIntervalBadRequest) IsCode

IsCode returns true when this patch balloon stats interval bad request response a status code equal to that given

func (*PatchBalloonStatsIntervalBadRequest) IsRedirect

func (o *PatchBalloonStatsIntervalBadRequest) IsRedirect() bool

IsRedirect returns true when this patch balloon stats interval bad request response has a 3xx status code

func (*PatchBalloonStatsIntervalBadRequest) IsServerError

func (o *PatchBalloonStatsIntervalBadRequest) IsServerError() bool

IsServerError returns true when this patch balloon stats interval bad request response has a 5xx status code

func (*PatchBalloonStatsIntervalBadRequest) IsSuccess

IsSuccess returns true when this patch balloon stats interval bad request response has a 2xx status code

func (*PatchBalloonStatsIntervalBadRequest) String

type PatchBalloonStatsIntervalDefault

type PatchBalloonStatsIntervalDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchBalloonStatsIntervalDefault describes a response with status code -1, with default header values.

Internal server error

func NewPatchBalloonStatsIntervalDefault

func NewPatchBalloonStatsIntervalDefault(code int) *PatchBalloonStatsIntervalDefault

NewPatchBalloonStatsIntervalDefault creates a PatchBalloonStatsIntervalDefault with default headers values

func (*PatchBalloonStatsIntervalDefault) Code

Code gets the status code for the patch balloon stats interval default response

func (*PatchBalloonStatsIntervalDefault) Error

func (*PatchBalloonStatsIntervalDefault) GetPayload

func (*PatchBalloonStatsIntervalDefault) IsClientError

func (o *PatchBalloonStatsIntervalDefault) IsClientError() bool

IsClientError returns true when this patch balloon stats interval default response has a 4xx status code

func (*PatchBalloonStatsIntervalDefault) IsCode

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

IsCode returns true when this patch balloon stats interval default response a status code equal to that given

func (*PatchBalloonStatsIntervalDefault) IsRedirect

func (o *PatchBalloonStatsIntervalDefault) IsRedirect() bool

IsRedirect returns true when this patch balloon stats interval default response has a 3xx status code

func (*PatchBalloonStatsIntervalDefault) IsServerError

func (o *PatchBalloonStatsIntervalDefault) IsServerError() bool

IsServerError returns true when this patch balloon stats interval default response has a 5xx status code

func (*PatchBalloonStatsIntervalDefault) IsSuccess

func (o *PatchBalloonStatsIntervalDefault) IsSuccess() bool

IsSuccess returns true when this patch balloon stats interval default response has a 2xx status code

func (*PatchBalloonStatsIntervalDefault) String

type PatchBalloonStatsIntervalNoContent

type PatchBalloonStatsIntervalNoContent struct {
}

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

Balloon statistics interval updated

func NewPatchBalloonStatsIntervalNoContent

func NewPatchBalloonStatsIntervalNoContent() *PatchBalloonStatsIntervalNoContent

NewPatchBalloonStatsIntervalNoContent creates a PatchBalloonStatsIntervalNoContent with default headers values

func (*PatchBalloonStatsIntervalNoContent) Error

func (*PatchBalloonStatsIntervalNoContent) IsClientError

func (o *PatchBalloonStatsIntervalNoContent) IsClientError() bool

IsClientError returns true when this patch balloon stats interval no content response has a 4xx status code

func (*PatchBalloonStatsIntervalNoContent) IsCode

IsCode returns true when this patch balloon stats interval no content response a status code equal to that given

func (*PatchBalloonStatsIntervalNoContent) IsRedirect

func (o *PatchBalloonStatsIntervalNoContent) IsRedirect() bool

IsRedirect returns true when this patch balloon stats interval no content response has a 3xx status code

func (*PatchBalloonStatsIntervalNoContent) IsServerError

func (o *PatchBalloonStatsIntervalNoContent) IsServerError() bool

IsServerError returns true when this patch balloon stats interval no content response has a 5xx status code

func (*PatchBalloonStatsIntervalNoContent) IsSuccess

IsSuccess returns true when this patch balloon stats interval no content response has a 2xx status code

func (*PatchBalloonStatsIntervalNoContent) String

type PatchBalloonStatsIntervalParams

type PatchBalloonStatsIntervalParams struct {

	/* Body.

	   Balloon properties
	*/
	Body *models.BalloonStatsUpdate

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

PatchBalloonStatsIntervalParams contains all the parameters to send to the API endpoint

for the patch balloon stats interval operation.

Typically these are written to a http.Request.

func NewPatchBalloonStatsIntervalParams

func NewPatchBalloonStatsIntervalParams() *PatchBalloonStatsIntervalParams

NewPatchBalloonStatsIntervalParams creates a new PatchBalloonStatsIntervalParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchBalloonStatsIntervalParamsWithContext

func NewPatchBalloonStatsIntervalParamsWithContext(ctx context.Context) *PatchBalloonStatsIntervalParams

NewPatchBalloonStatsIntervalParamsWithContext creates a new PatchBalloonStatsIntervalParams object with the ability to set a context for a request.

func NewPatchBalloonStatsIntervalParamsWithHTTPClient

func NewPatchBalloonStatsIntervalParamsWithHTTPClient(client *http.Client) *PatchBalloonStatsIntervalParams

NewPatchBalloonStatsIntervalParamsWithHTTPClient creates a new PatchBalloonStatsIntervalParams object with the ability to set a custom HTTPClient for a request.

func NewPatchBalloonStatsIntervalParamsWithTimeout

func NewPatchBalloonStatsIntervalParamsWithTimeout(timeout time.Duration) *PatchBalloonStatsIntervalParams

NewPatchBalloonStatsIntervalParamsWithTimeout creates a new PatchBalloonStatsIntervalParams object with the ability to set a timeout on a request.

func (*PatchBalloonStatsIntervalParams) SetBody

SetBody adds the body to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) SetContext

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

SetContext adds the context to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) SetDefaults

func (o *PatchBalloonStatsIntervalParams) SetDefaults()

SetDefaults hydrates default values in the patch balloon stats interval params (not the query body).

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

func (*PatchBalloonStatsIntervalParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) SetTimeout

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

SetTimeout adds the timeout to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) WithBody

WithBody adds the body to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) WithContext

WithContext adds the context to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) WithDefaults

WithDefaults hydrates default values in the patch balloon stats interval params (not the query body).

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

func (*PatchBalloonStatsIntervalParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) WithTimeout

WithTimeout adds the timeout to the patch balloon stats interval params

func (*PatchBalloonStatsIntervalParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchBalloonStatsIntervalReader

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

PatchBalloonStatsIntervalReader is a Reader for the PatchBalloonStatsInterval structure.

func (*PatchBalloonStatsIntervalReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchGuestDriveByIDBadRequest

type PatchGuestDriveByIDBadRequest struct {
	Payload *models.Error
}

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

Drive cannot be updated due to bad input

func NewPatchGuestDriveByIDBadRequest

func NewPatchGuestDriveByIDBadRequest() *PatchGuestDriveByIDBadRequest

NewPatchGuestDriveByIDBadRequest creates a PatchGuestDriveByIDBadRequest with default headers values

func (*PatchGuestDriveByIDBadRequest) Error

func (*PatchGuestDriveByIDBadRequest) GetPayload

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

func (*PatchGuestDriveByIDBadRequest) IsClientError

func (o *PatchGuestDriveByIDBadRequest) IsClientError() bool

IsClientError returns true when this patch guest drive by Id bad request response has a 4xx status code

func (*PatchGuestDriveByIDBadRequest) IsCode

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

IsCode returns true when this patch guest drive by Id bad request response a status code equal to that given

func (*PatchGuestDriveByIDBadRequest) IsRedirect

func (o *PatchGuestDriveByIDBadRequest) IsRedirect() bool

IsRedirect returns true when this patch guest drive by Id bad request response has a 3xx status code

func (*PatchGuestDriveByIDBadRequest) IsServerError

func (o *PatchGuestDriveByIDBadRequest) IsServerError() bool

IsServerError returns true when this patch guest drive by Id bad request response has a 5xx status code

func (*PatchGuestDriveByIDBadRequest) IsSuccess

func (o *PatchGuestDriveByIDBadRequest) IsSuccess() bool

IsSuccess returns true when this patch guest drive by Id bad request response has a 2xx status code

func (*PatchGuestDriveByIDBadRequest) String

type PatchGuestDriveByIDDefault

type PatchGuestDriveByIDDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchGuestDriveByIDDefault describes a response with status code -1, with default header values.

Internal server error.

func NewPatchGuestDriveByIDDefault

func NewPatchGuestDriveByIDDefault(code int) *PatchGuestDriveByIDDefault

NewPatchGuestDriveByIDDefault creates a PatchGuestDriveByIDDefault with default headers values

func (*PatchGuestDriveByIDDefault) Code

func (o *PatchGuestDriveByIDDefault) Code() int

Code gets the status code for the patch guest drive by ID default response

func (*PatchGuestDriveByIDDefault) Error

func (*PatchGuestDriveByIDDefault) GetPayload

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

func (*PatchGuestDriveByIDDefault) IsClientError

func (o *PatchGuestDriveByIDDefault) IsClientError() bool

IsClientError returns true when this patch guest drive by ID default response has a 4xx status code

func (*PatchGuestDriveByIDDefault) IsCode

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

IsCode returns true when this patch guest drive by ID default response a status code equal to that given

func (*PatchGuestDriveByIDDefault) IsRedirect

func (o *PatchGuestDriveByIDDefault) IsRedirect() bool

IsRedirect returns true when this patch guest drive by ID default response has a 3xx status code

func (*PatchGuestDriveByIDDefault) IsServerError

func (o *PatchGuestDriveByIDDefault) IsServerError() bool

IsServerError returns true when this patch guest drive by ID default response has a 5xx status code

func (*PatchGuestDriveByIDDefault) IsSuccess

func (o *PatchGuestDriveByIDDefault) IsSuccess() bool

IsSuccess returns true when this patch guest drive by ID default response has a 2xx status code

func (*PatchGuestDriveByIDDefault) String

func (o *PatchGuestDriveByIDDefault) String() string

type PatchGuestDriveByIDNoContent

type PatchGuestDriveByIDNoContent struct {
}

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

Drive updated

func NewPatchGuestDriveByIDNoContent

func NewPatchGuestDriveByIDNoContent() *PatchGuestDriveByIDNoContent

NewPatchGuestDriveByIDNoContent creates a PatchGuestDriveByIDNoContent with default headers values

func (*PatchGuestDriveByIDNoContent) Error

func (*PatchGuestDriveByIDNoContent) IsClientError

func (o *PatchGuestDriveByIDNoContent) IsClientError() bool

IsClientError returns true when this patch guest drive by Id no content response has a 4xx status code

func (*PatchGuestDriveByIDNoContent) IsCode

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

IsCode returns true when this patch guest drive by Id no content response a status code equal to that given

func (*PatchGuestDriveByIDNoContent) IsRedirect

func (o *PatchGuestDriveByIDNoContent) IsRedirect() bool

IsRedirect returns true when this patch guest drive by Id no content response has a 3xx status code

func (*PatchGuestDriveByIDNoContent) IsServerError

func (o *PatchGuestDriveByIDNoContent) IsServerError() bool

IsServerError returns true when this patch guest drive by Id no content response has a 5xx status code

func (*PatchGuestDriveByIDNoContent) IsSuccess

func (o *PatchGuestDriveByIDNoContent) IsSuccess() bool

IsSuccess returns true when this patch guest drive by Id no content response has a 2xx status code

func (*PatchGuestDriveByIDNoContent) String

type PatchGuestDriveByIDParams

type PatchGuestDriveByIDParams struct {

	/* Body.

	   Guest drive properties
	*/
	Body *models.PartialDrive

	/* DriveID.

	   The id of the guest drive
	*/
	DriveID string

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

PatchGuestDriveByIDParams contains all the parameters to send to the API endpoint

for the patch guest drive by ID operation.

Typically these are written to a http.Request.

func NewPatchGuestDriveByIDParams

func NewPatchGuestDriveByIDParams() *PatchGuestDriveByIDParams

NewPatchGuestDriveByIDParams creates a new PatchGuestDriveByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchGuestDriveByIDParamsWithContext

func NewPatchGuestDriveByIDParamsWithContext(ctx context.Context) *PatchGuestDriveByIDParams

NewPatchGuestDriveByIDParamsWithContext creates a new PatchGuestDriveByIDParams object with the ability to set a context for a request.

func NewPatchGuestDriveByIDParamsWithHTTPClient

func NewPatchGuestDriveByIDParamsWithHTTPClient(client *http.Client) *PatchGuestDriveByIDParams

NewPatchGuestDriveByIDParamsWithHTTPClient creates a new PatchGuestDriveByIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchGuestDriveByIDParamsWithTimeout

func NewPatchGuestDriveByIDParamsWithTimeout(timeout time.Duration) *PatchGuestDriveByIDParams

NewPatchGuestDriveByIDParamsWithTimeout creates a new PatchGuestDriveByIDParams object with the ability to set a timeout on a request.

func (*PatchGuestDriveByIDParams) SetBody

func (o *PatchGuestDriveByIDParams) SetBody(body *models.PartialDrive)

SetBody adds the body to the patch guest drive by ID params

func (*PatchGuestDriveByIDParams) SetContext

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

SetContext adds the context to the patch guest drive by ID params

func (*PatchGuestDriveByIDParams) SetDefaults

func (o *PatchGuestDriveByIDParams) SetDefaults()

SetDefaults hydrates default values in the patch guest drive by ID params (not the query body).

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

func (*PatchGuestDriveByIDParams) SetDriveID

func (o *PatchGuestDriveByIDParams) SetDriveID(driveID string)

SetDriveID adds the driveId to the patch guest drive by ID params

func (*PatchGuestDriveByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch guest drive by ID params

func (*PatchGuestDriveByIDParams) SetTimeout

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

SetTimeout adds the timeout to the patch guest drive by ID params

func (*PatchGuestDriveByIDParams) WithBody

WithBody adds the body to the patch guest drive by ID params

func (*PatchGuestDriveByIDParams) WithContext

WithContext adds the context to the patch guest drive by ID params

func (*PatchGuestDriveByIDParams) WithDefaults

WithDefaults hydrates default values in the patch guest drive by ID params (not the query body).

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

func (*PatchGuestDriveByIDParams) WithDriveID

WithDriveID adds the driveID to the patch guest drive by ID params

func (*PatchGuestDriveByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch guest drive by ID params

func (*PatchGuestDriveByIDParams) WithTimeout

WithTimeout adds the timeout to the patch guest drive by ID params

func (*PatchGuestDriveByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchGuestDriveByIDReader

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

PatchGuestDriveByIDReader is a Reader for the PatchGuestDriveByID structure.

func (*PatchGuestDriveByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchGuestNetworkInterfaceByIDBadRequest

type PatchGuestNetworkInterfaceByIDBadRequest struct {
	Payload *models.Error
}

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

Network interface cannot be updated due to bad input

func NewPatchGuestNetworkInterfaceByIDBadRequest

func NewPatchGuestNetworkInterfaceByIDBadRequest() *PatchGuestNetworkInterfaceByIDBadRequest

NewPatchGuestNetworkInterfaceByIDBadRequest creates a PatchGuestNetworkInterfaceByIDBadRequest with default headers values

func (*PatchGuestNetworkInterfaceByIDBadRequest) Error

func (*PatchGuestNetworkInterfaceByIDBadRequest) GetPayload

func (*PatchGuestNetworkInterfaceByIDBadRequest) IsClientError

IsClientError returns true when this patch guest network interface by Id bad request response has a 4xx status code

func (*PatchGuestNetworkInterfaceByIDBadRequest) IsCode

IsCode returns true when this patch guest network interface by Id bad request response a status code equal to that given

func (*PatchGuestNetworkInterfaceByIDBadRequest) IsRedirect

IsRedirect returns true when this patch guest network interface by Id bad request response has a 3xx status code

func (*PatchGuestNetworkInterfaceByIDBadRequest) IsServerError

IsServerError returns true when this patch guest network interface by Id bad request response has a 5xx status code

func (*PatchGuestNetworkInterfaceByIDBadRequest) IsSuccess

IsSuccess returns true when this patch guest network interface by Id bad request response has a 2xx status code

func (*PatchGuestNetworkInterfaceByIDBadRequest) String

type PatchGuestNetworkInterfaceByIDDefault

type PatchGuestNetworkInterfaceByIDDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchGuestNetworkInterfaceByIDDefault describes a response with status code -1, with default header values.

Internal server error

func NewPatchGuestNetworkInterfaceByIDDefault

func NewPatchGuestNetworkInterfaceByIDDefault(code int) *PatchGuestNetworkInterfaceByIDDefault

NewPatchGuestNetworkInterfaceByIDDefault creates a PatchGuestNetworkInterfaceByIDDefault with default headers values

func (*PatchGuestNetworkInterfaceByIDDefault) Code

Code gets the status code for the patch guest network interface by ID default response

func (*PatchGuestNetworkInterfaceByIDDefault) Error

func (*PatchGuestNetworkInterfaceByIDDefault) GetPayload

func (*PatchGuestNetworkInterfaceByIDDefault) IsClientError

func (o *PatchGuestNetworkInterfaceByIDDefault) IsClientError() bool

IsClientError returns true when this patch guest network interface by ID default response has a 4xx status code

func (*PatchGuestNetworkInterfaceByIDDefault) IsCode

IsCode returns true when this patch guest network interface by ID default response a status code equal to that given

func (*PatchGuestNetworkInterfaceByIDDefault) IsRedirect

IsRedirect returns true when this patch guest network interface by ID default response has a 3xx status code

func (*PatchGuestNetworkInterfaceByIDDefault) IsServerError

func (o *PatchGuestNetworkInterfaceByIDDefault) IsServerError() bool

IsServerError returns true when this patch guest network interface by ID default response has a 5xx status code

func (*PatchGuestNetworkInterfaceByIDDefault) IsSuccess

IsSuccess returns true when this patch guest network interface by ID default response has a 2xx status code

func (*PatchGuestNetworkInterfaceByIDDefault) String

type PatchGuestNetworkInterfaceByIDNoContent

type PatchGuestNetworkInterfaceByIDNoContent struct {
}

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

Network interface updated

func NewPatchGuestNetworkInterfaceByIDNoContent

func NewPatchGuestNetworkInterfaceByIDNoContent() *PatchGuestNetworkInterfaceByIDNoContent

NewPatchGuestNetworkInterfaceByIDNoContent creates a PatchGuestNetworkInterfaceByIDNoContent with default headers values

func (*PatchGuestNetworkInterfaceByIDNoContent) Error

func (*PatchGuestNetworkInterfaceByIDNoContent) IsClientError

func (o *PatchGuestNetworkInterfaceByIDNoContent) IsClientError() bool

IsClientError returns true when this patch guest network interface by Id no content response has a 4xx status code

func (*PatchGuestNetworkInterfaceByIDNoContent) IsCode

IsCode returns true when this patch guest network interface by Id no content response a status code equal to that given

func (*PatchGuestNetworkInterfaceByIDNoContent) IsRedirect

IsRedirect returns true when this patch guest network interface by Id no content response has a 3xx status code

func (*PatchGuestNetworkInterfaceByIDNoContent) IsServerError

func (o *PatchGuestNetworkInterfaceByIDNoContent) IsServerError() bool

IsServerError returns true when this patch guest network interface by Id no content response has a 5xx status code

func (*PatchGuestNetworkInterfaceByIDNoContent) IsSuccess

IsSuccess returns true when this patch guest network interface by Id no content response has a 2xx status code

func (*PatchGuestNetworkInterfaceByIDNoContent) String

type PatchGuestNetworkInterfaceByIDParams

type PatchGuestNetworkInterfaceByIDParams struct {

	/* Body.

	   A subset of the guest network interface properties
	*/
	Body *models.PartialNetworkInterface

	/* IfaceID.

	   The id of the guest network interface
	*/
	IfaceID string

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

PatchGuestNetworkInterfaceByIDParams contains all the parameters to send to the API endpoint

for the patch guest network interface by ID operation.

Typically these are written to a http.Request.

func NewPatchGuestNetworkInterfaceByIDParams

func NewPatchGuestNetworkInterfaceByIDParams() *PatchGuestNetworkInterfaceByIDParams

NewPatchGuestNetworkInterfaceByIDParams creates a new PatchGuestNetworkInterfaceByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchGuestNetworkInterfaceByIDParamsWithContext

func NewPatchGuestNetworkInterfaceByIDParamsWithContext(ctx context.Context) *PatchGuestNetworkInterfaceByIDParams

NewPatchGuestNetworkInterfaceByIDParamsWithContext creates a new PatchGuestNetworkInterfaceByIDParams object with the ability to set a context for a request.

func NewPatchGuestNetworkInterfaceByIDParamsWithHTTPClient

func NewPatchGuestNetworkInterfaceByIDParamsWithHTTPClient(client *http.Client) *PatchGuestNetworkInterfaceByIDParams

NewPatchGuestNetworkInterfaceByIDParamsWithHTTPClient creates a new PatchGuestNetworkInterfaceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchGuestNetworkInterfaceByIDParamsWithTimeout

func NewPatchGuestNetworkInterfaceByIDParamsWithTimeout(timeout time.Duration) *PatchGuestNetworkInterfaceByIDParams

NewPatchGuestNetworkInterfaceByIDParamsWithTimeout creates a new PatchGuestNetworkInterfaceByIDParams object with the ability to set a timeout on a request.

func (*PatchGuestNetworkInterfaceByIDParams) SetBody

SetBody adds the body to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) SetContext

SetContext adds the context to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) SetDefaults

func (o *PatchGuestNetworkInterfaceByIDParams) SetDefaults()

SetDefaults hydrates default values in the patch guest network interface by ID params (not the query body).

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

func (*PatchGuestNetworkInterfaceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) SetIfaceID

func (o *PatchGuestNetworkInterfaceByIDParams) SetIfaceID(ifaceID string)

SetIfaceID adds the ifaceId to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) WithBody

WithBody adds the body to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) WithContext

WithContext adds the context to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) WithDefaults

WithDefaults hydrates default values in the patch guest network interface by ID params (not the query body).

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

func (*PatchGuestNetworkInterfaceByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) WithIfaceID

WithIfaceID adds the ifaceID to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) WithTimeout

WithTimeout adds the timeout to the patch guest network interface by ID params

func (*PatchGuestNetworkInterfaceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchGuestNetworkInterfaceByIDReader

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

PatchGuestNetworkInterfaceByIDReader is a Reader for the PatchGuestNetworkInterfaceByID structure.

func (*PatchGuestNetworkInterfaceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchMachineConfigurationBadRequest

type PatchMachineConfigurationBadRequest struct {
	Payload *models.Error
}

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

Machine Configuration cannot be updated due to bad input

func NewPatchMachineConfigurationBadRequest

func NewPatchMachineConfigurationBadRequest() *PatchMachineConfigurationBadRequest

NewPatchMachineConfigurationBadRequest creates a PatchMachineConfigurationBadRequest with default headers values

func (*PatchMachineConfigurationBadRequest) Error

func (*PatchMachineConfigurationBadRequest) GetPayload

func (*PatchMachineConfigurationBadRequest) IsClientError

func (o *PatchMachineConfigurationBadRequest) IsClientError() bool

IsClientError returns true when this patch machine configuration bad request response has a 4xx status code

func (*PatchMachineConfigurationBadRequest) IsCode

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

func (*PatchMachineConfigurationBadRequest) IsRedirect

func (o *PatchMachineConfigurationBadRequest) IsRedirect() bool

IsRedirect returns true when this patch machine configuration bad request response has a 3xx status code

func (*PatchMachineConfigurationBadRequest) IsServerError

func (o *PatchMachineConfigurationBadRequest) IsServerError() bool

IsServerError returns true when this patch machine configuration bad request response has a 5xx status code

func (*PatchMachineConfigurationBadRequest) IsSuccess

IsSuccess returns true when this patch machine configuration bad request response has a 2xx status code

func (*PatchMachineConfigurationBadRequest) String

type PatchMachineConfigurationDefault

type PatchMachineConfigurationDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchMachineConfigurationDefault describes a response with status code -1, with default header values.

Internal server error

func NewPatchMachineConfigurationDefault

func NewPatchMachineConfigurationDefault(code int) *PatchMachineConfigurationDefault

NewPatchMachineConfigurationDefault creates a PatchMachineConfigurationDefault with default headers values

func (*PatchMachineConfigurationDefault) Code

Code gets the status code for the patch machine configuration default response

func (*PatchMachineConfigurationDefault) Error

func (*PatchMachineConfigurationDefault) GetPayload

func (*PatchMachineConfigurationDefault) IsClientError

func (o *PatchMachineConfigurationDefault) IsClientError() bool

IsClientError returns true when this patch machine configuration default response has a 4xx status code

func (*PatchMachineConfigurationDefault) IsCode

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

IsCode returns true when this patch machine configuration default response a status code equal to that given

func (*PatchMachineConfigurationDefault) IsRedirect

func (o *PatchMachineConfigurationDefault) IsRedirect() bool

IsRedirect returns true when this patch machine configuration default response has a 3xx status code

func (*PatchMachineConfigurationDefault) IsServerError

func (o *PatchMachineConfigurationDefault) IsServerError() bool

IsServerError returns true when this patch machine configuration default response has a 5xx status code

func (*PatchMachineConfigurationDefault) IsSuccess

func (o *PatchMachineConfigurationDefault) IsSuccess() bool

IsSuccess returns true when this patch machine configuration default response has a 2xx status code

func (*PatchMachineConfigurationDefault) String

type PatchMachineConfigurationNoContent

type PatchMachineConfigurationNoContent struct {
}

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

Machine Configuration created/updated

func NewPatchMachineConfigurationNoContent

func NewPatchMachineConfigurationNoContent() *PatchMachineConfigurationNoContent

NewPatchMachineConfigurationNoContent creates a PatchMachineConfigurationNoContent with default headers values

func (*PatchMachineConfigurationNoContent) Error

func (*PatchMachineConfigurationNoContent) IsClientError

func (o *PatchMachineConfigurationNoContent) IsClientError() bool

IsClientError returns true when this patch machine configuration no content response has a 4xx status code

func (*PatchMachineConfigurationNoContent) IsCode

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

func (*PatchMachineConfigurationNoContent) IsRedirect

func (o *PatchMachineConfigurationNoContent) IsRedirect() bool

IsRedirect returns true when this patch machine configuration no content response has a 3xx status code

func (*PatchMachineConfigurationNoContent) IsServerError

func (o *PatchMachineConfigurationNoContent) IsServerError() bool

IsServerError returns true when this patch machine configuration no content response has a 5xx status code

func (*PatchMachineConfigurationNoContent) IsSuccess

IsSuccess returns true when this patch machine configuration no content response has a 2xx status code

func (*PatchMachineConfigurationNoContent) String

type PatchMachineConfigurationParams

type PatchMachineConfigurationParams struct {

	/* Body.

	   A subset of Machine Configuration Parameters
	*/
	Body *models.MachineConfiguration

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

PatchMachineConfigurationParams contains all the parameters to send to the API endpoint

for the patch machine configuration operation.

Typically these are written to a http.Request.

func NewPatchMachineConfigurationParams

func NewPatchMachineConfigurationParams() *PatchMachineConfigurationParams

NewPatchMachineConfigurationParams creates a new PatchMachineConfigurationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchMachineConfigurationParamsWithContext

func NewPatchMachineConfigurationParamsWithContext(ctx context.Context) *PatchMachineConfigurationParams

NewPatchMachineConfigurationParamsWithContext creates a new PatchMachineConfigurationParams object with the ability to set a context for a request.

func NewPatchMachineConfigurationParamsWithHTTPClient

func NewPatchMachineConfigurationParamsWithHTTPClient(client *http.Client) *PatchMachineConfigurationParams

NewPatchMachineConfigurationParamsWithHTTPClient creates a new PatchMachineConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewPatchMachineConfigurationParamsWithTimeout

func NewPatchMachineConfigurationParamsWithTimeout(timeout time.Duration) *PatchMachineConfigurationParams

NewPatchMachineConfigurationParamsWithTimeout creates a new PatchMachineConfigurationParams object with the ability to set a timeout on a request.

func (*PatchMachineConfigurationParams) SetBody

SetBody adds the body to the patch machine configuration params

func (*PatchMachineConfigurationParams) SetContext

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

SetContext adds the context to the patch machine configuration params

func (*PatchMachineConfigurationParams) SetDefaults

func (o *PatchMachineConfigurationParams) SetDefaults()

SetDefaults hydrates default values in the patch machine configuration params (not the query body).

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

func (*PatchMachineConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch machine configuration params

func (*PatchMachineConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the patch machine configuration params

func (*PatchMachineConfigurationParams) WithBody

WithBody adds the body to the patch machine configuration params

func (*PatchMachineConfigurationParams) WithContext

WithContext adds the context to the patch machine configuration params

func (*PatchMachineConfigurationParams) WithDefaults

WithDefaults hydrates default values in the patch machine configuration params (not the query body).

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

func (*PatchMachineConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch machine configuration params

func (*PatchMachineConfigurationParams) WithTimeout

WithTimeout adds the timeout to the patch machine configuration params

func (*PatchMachineConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchMachineConfigurationReader

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

PatchMachineConfigurationReader is a Reader for the PatchMachineConfiguration structure.

func (*PatchMachineConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchMmdsBadRequest

type PatchMmdsBadRequest struct {
	Payload *models.Error
}

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

MMDS data store cannot be updated due to bad input.

func NewPatchMmdsBadRequest

func NewPatchMmdsBadRequest() *PatchMmdsBadRequest

NewPatchMmdsBadRequest creates a PatchMmdsBadRequest with default headers values

func (*PatchMmdsBadRequest) Error

func (o *PatchMmdsBadRequest) Error() string

func (*PatchMmdsBadRequest) GetPayload

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

func (*PatchMmdsBadRequest) IsClientError

func (o *PatchMmdsBadRequest) IsClientError() bool

IsClientError returns true when this patch mmds bad request response has a 4xx status code

func (*PatchMmdsBadRequest) IsCode

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

IsCode returns true when this patch mmds bad request response a status code equal to that given

func (*PatchMmdsBadRequest) IsRedirect

func (o *PatchMmdsBadRequest) IsRedirect() bool

IsRedirect returns true when this patch mmds bad request response has a 3xx status code

func (*PatchMmdsBadRequest) IsServerError

func (o *PatchMmdsBadRequest) IsServerError() bool

IsServerError returns true when this patch mmds bad request response has a 5xx status code

func (*PatchMmdsBadRequest) IsSuccess

func (o *PatchMmdsBadRequest) IsSuccess() bool

IsSuccess returns true when this patch mmds bad request response has a 2xx status code

func (*PatchMmdsBadRequest) String

func (o *PatchMmdsBadRequest) String() string

type PatchMmdsDefault

type PatchMmdsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchMmdsDefault describes a response with status code -1, with default header values.

Internal server error

func NewPatchMmdsDefault

func NewPatchMmdsDefault(code int) *PatchMmdsDefault

NewPatchMmdsDefault creates a PatchMmdsDefault with default headers values

func (*PatchMmdsDefault) Code

func (o *PatchMmdsDefault) Code() int

Code gets the status code for the patch mmds default response

func (*PatchMmdsDefault) Error

func (o *PatchMmdsDefault) Error() string

func (*PatchMmdsDefault) GetPayload

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

func (*PatchMmdsDefault) IsClientError

func (o *PatchMmdsDefault) IsClientError() bool

IsClientError returns true when this patch mmds default response has a 4xx status code

func (*PatchMmdsDefault) IsCode

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

IsCode returns true when this patch mmds default response a status code equal to that given

func (*PatchMmdsDefault) IsRedirect

func (o *PatchMmdsDefault) IsRedirect() bool

IsRedirect returns true when this patch mmds default response has a 3xx status code

func (*PatchMmdsDefault) IsServerError

func (o *PatchMmdsDefault) IsServerError() bool

IsServerError returns true when this patch mmds default response has a 5xx status code

func (*PatchMmdsDefault) IsSuccess

func (o *PatchMmdsDefault) IsSuccess() bool

IsSuccess returns true when this patch mmds default response has a 2xx status code

func (*PatchMmdsDefault) String

func (o *PatchMmdsDefault) String() string

type PatchMmdsNoContent

type PatchMmdsNoContent struct {
}

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

MMDS data store updated.

func NewPatchMmdsNoContent

func NewPatchMmdsNoContent() *PatchMmdsNoContent

NewPatchMmdsNoContent creates a PatchMmdsNoContent with default headers values

func (*PatchMmdsNoContent) Error

func (o *PatchMmdsNoContent) Error() string

func (*PatchMmdsNoContent) IsClientError

func (o *PatchMmdsNoContent) IsClientError() bool

IsClientError returns true when this patch mmds no content response has a 4xx status code

func (*PatchMmdsNoContent) IsCode

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

IsCode returns true when this patch mmds no content response a status code equal to that given

func (*PatchMmdsNoContent) IsRedirect

func (o *PatchMmdsNoContent) IsRedirect() bool

IsRedirect returns true when this patch mmds no content response has a 3xx status code

func (*PatchMmdsNoContent) IsServerError

func (o *PatchMmdsNoContent) IsServerError() bool

IsServerError returns true when this patch mmds no content response has a 5xx status code

func (*PatchMmdsNoContent) IsSuccess

func (o *PatchMmdsNoContent) IsSuccess() bool

IsSuccess returns true when this patch mmds no content response has a 2xx status code

func (*PatchMmdsNoContent) String

func (o *PatchMmdsNoContent) String() string

type PatchMmdsParams

type PatchMmdsParams struct {

	/* Body.

	   The MMDS data store patch JSON.
	*/
	Body models.MmdsContentsObject

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

PatchMmdsParams contains all the parameters to send to the API endpoint

for the patch mmds operation.

Typically these are written to a http.Request.

func NewPatchMmdsParams

func NewPatchMmdsParams() *PatchMmdsParams

NewPatchMmdsParams creates a new PatchMmdsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchMmdsParamsWithContext

func NewPatchMmdsParamsWithContext(ctx context.Context) *PatchMmdsParams

NewPatchMmdsParamsWithContext creates a new PatchMmdsParams object with the ability to set a context for a request.

func NewPatchMmdsParamsWithHTTPClient

func NewPatchMmdsParamsWithHTTPClient(client *http.Client) *PatchMmdsParams

NewPatchMmdsParamsWithHTTPClient creates a new PatchMmdsParams object with the ability to set a custom HTTPClient for a request.

func NewPatchMmdsParamsWithTimeout

func NewPatchMmdsParamsWithTimeout(timeout time.Duration) *PatchMmdsParams

NewPatchMmdsParamsWithTimeout creates a new PatchMmdsParams object with the ability to set a timeout on a request.

func (*PatchMmdsParams) SetBody

func (o *PatchMmdsParams) SetBody(body models.MmdsContentsObject)

SetBody adds the body to the patch mmds params

func (*PatchMmdsParams) SetContext

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

SetContext adds the context to the patch mmds params

func (*PatchMmdsParams) SetDefaults

func (o *PatchMmdsParams) SetDefaults()

SetDefaults hydrates default values in the patch mmds params (not the query body).

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

func (*PatchMmdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch mmds params

func (*PatchMmdsParams) SetTimeout

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

SetTimeout adds the timeout to the patch mmds params

func (*PatchMmdsParams) WithBody

WithBody adds the body to the patch mmds params

func (*PatchMmdsParams) WithContext

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

WithContext adds the context to the patch mmds params

func (*PatchMmdsParams) WithDefaults

func (o *PatchMmdsParams) WithDefaults() *PatchMmdsParams

WithDefaults hydrates default values in the patch mmds params (not the query body).

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

func (*PatchMmdsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch mmds params

func (*PatchMmdsParams) WithTimeout

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

WithTimeout adds the timeout to the patch mmds params

func (*PatchMmdsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchMmdsReader

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

PatchMmdsReader is a Reader for the PatchMmds structure.

func (*PatchMmdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchVMBadRequest

type PatchVMBadRequest struct {
	Payload *models.Error
}

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

Vm state cannot be updated due to bad input

func NewPatchVMBadRequest

func NewPatchVMBadRequest() *PatchVMBadRequest

NewPatchVMBadRequest creates a PatchVMBadRequest with default headers values

func (*PatchVMBadRequest) Error

func (o *PatchVMBadRequest) Error() string

func (*PatchVMBadRequest) GetPayload

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

func (*PatchVMBadRequest) IsClientError

func (o *PatchVMBadRequest) IsClientError() bool

IsClientError returns true when this patch Vm bad request response has a 4xx status code

func (*PatchVMBadRequest) IsCode

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

IsCode returns true when this patch Vm bad request response a status code equal to that given

func (*PatchVMBadRequest) IsRedirect

func (o *PatchVMBadRequest) IsRedirect() bool

IsRedirect returns true when this patch Vm bad request response has a 3xx status code

func (*PatchVMBadRequest) IsServerError

func (o *PatchVMBadRequest) IsServerError() bool

IsServerError returns true when this patch Vm bad request response has a 5xx status code

func (*PatchVMBadRequest) IsSuccess

func (o *PatchVMBadRequest) IsSuccess() bool

IsSuccess returns true when this patch Vm bad request response has a 2xx status code

func (*PatchVMBadRequest) String

func (o *PatchVMBadRequest) String() string

type PatchVMDefault

type PatchVMDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PatchVMDefault describes a response with status code -1, with default header values.

Internal server error

func NewPatchVMDefault

func NewPatchVMDefault(code int) *PatchVMDefault

NewPatchVMDefault creates a PatchVMDefault with default headers values

func (*PatchVMDefault) Code

func (o *PatchVMDefault) Code() int

Code gets the status code for the patch Vm default response

func (*PatchVMDefault) Error

func (o *PatchVMDefault) Error() string

func (*PatchVMDefault) GetPayload

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

func (*PatchVMDefault) IsClientError

func (o *PatchVMDefault) IsClientError() bool

IsClientError returns true when this patch Vm default response has a 4xx status code

func (*PatchVMDefault) IsCode

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

IsCode returns true when this patch Vm default response a status code equal to that given

func (*PatchVMDefault) IsRedirect

func (o *PatchVMDefault) IsRedirect() bool

IsRedirect returns true when this patch Vm default response has a 3xx status code

func (*PatchVMDefault) IsServerError

func (o *PatchVMDefault) IsServerError() bool

IsServerError returns true when this patch Vm default response has a 5xx status code

func (*PatchVMDefault) IsSuccess

func (o *PatchVMDefault) IsSuccess() bool

IsSuccess returns true when this patch Vm default response has a 2xx status code

func (*PatchVMDefault) String

func (o *PatchVMDefault) String() string

type PatchVMNoContent

type PatchVMNoContent struct {
}

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

Vm state updated

func NewPatchVMNoContent

func NewPatchVMNoContent() *PatchVMNoContent

NewPatchVMNoContent creates a PatchVMNoContent with default headers values

func (*PatchVMNoContent) Error

func (o *PatchVMNoContent) Error() string

func (*PatchVMNoContent) IsClientError

func (o *PatchVMNoContent) IsClientError() bool

IsClientError returns true when this patch Vm no content response has a 4xx status code

func (*PatchVMNoContent) IsCode

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

IsCode returns true when this patch Vm no content response a status code equal to that given

func (*PatchVMNoContent) IsRedirect

func (o *PatchVMNoContent) IsRedirect() bool

IsRedirect returns true when this patch Vm no content response has a 3xx status code

func (*PatchVMNoContent) IsServerError

func (o *PatchVMNoContent) IsServerError() bool

IsServerError returns true when this patch Vm no content response has a 5xx status code

func (*PatchVMNoContent) IsSuccess

func (o *PatchVMNoContent) IsSuccess() bool

IsSuccess returns true when this patch Vm no content response has a 2xx status code

func (*PatchVMNoContent) String

func (o *PatchVMNoContent) String() string

type PatchVMParams

type PatchVMParams struct {

	/* Body.

	   The microVM state
	*/
	Body *models.VM

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

PatchVMParams contains all the parameters to send to the API endpoint

for the patch Vm operation.

Typically these are written to a http.Request.

func NewPatchVMParams

func NewPatchVMParams() *PatchVMParams

NewPatchVMParams creates a new PatchVMParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchVMParamsWithContext

func NewPatchVMParamsWithContext(ctx context.Context) *PatchVMParams

NewPatchVMParamsWithContext creates a new PatchVMParams object with the ability to set a context for a request.

func NewPatchVMParamsWithHTTPClient

func NewPatchVMParamsWithHTTPClient(client *http.Client) *PatchVMParams

NewPatchVMParamsWithHTTPClient creates a new PatchVMParams object with the ability to set a custom HTTPClient for a request.

func NewPatchVMParamsWithTimeout

func NewPatchVMParamsWithTimeout(timeout time.Duration) *PatchVMParams

NewPatchVMParamsWithTimeout creates a new PatchVMParams object with the ability to set a timeout on a request.

func (*PatchVMParams) SetBody

func (o *PatchVMParams) SetBody(body *models.VM)

SetBody adds the body to the patch Vm params

func (*PatchVMParams) SetContext

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

SetContext adds the context to the patch Vm params

func (*PatchVMParams) SetDefaults

func (o *PatchVMParams) SetDefaults()

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

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

func (*PatchVMParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch Vm params

func (*PatchVMParams) SetTimeout

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

SetTimeout adds the timeout to the patch Vm params

func (*PatchVMParams) WithBody

func (o *PatchVMParams) WithBody(body *models.VM) *PatchVMParams

WithBody adds the body to the patch Vm params

func (*PatchVMParams) WithContext

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

WithContext adds the context to the patch Vm params

func (*PatchVMParams) WithDefaults

func (o *PatchVMParams) WithDefaults() *PatchVMParams

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

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

func (*PatchVMParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch Vm params

func (*PatchVMParams) WithTimeout

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

WithTimeout adds the timeout to the patch Vm params

func (*PatchVMParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PatchVMReader

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

PatchVMReader is a Reader for the PatchVM structure.

func (*PatchVMReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutBalloonBadRequest

type PutBalloonBadRequest struct {
	Payload *models.Error
}

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

Balloon device cannot be created/updated due to bad input

func NewPutBalloonBadRequest

func NewPutBalloonBadRequest() *PutBalloonBadRequest

NewPutBalloonBadRequest creates a PutBalloonBadRequest with default headers values

func (*PutBalloonBadRequest) Error

func (o *PutBalloonBadRequest) Error() string

func (*PutBalloonBadRequest) GetPayload

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

func (*PutBalloonBadRequest) IsClientError

func (o *PutBalloonBadRequest) IsClientError() bool

IsClientError returns true when this put balloon bad request response has a 4xx status code

func (*PutBalloonBadRequest) IsCode

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

IsCode returns true when this put balloon bad request response a status code equal to that given

func (*PutBalloonBadRequest) IsRedirect

func (o *PutBalloonBadRequest) IsRedirect() bool

IsRedirect returns true when this put balloon bad request response has a 3xx status code

func (*PutBalloonBadRequest) IsServerError

func (o *PutBalloonBadRequest) IsServerError() bool

IsServerError returns true when this put balloon bad request response has a 5xx status code

func (*PutBalloonBadRequest) IsSuccess

func (o *PutBalloonBadRequest) IsSuccess() bool

IsSuccess returns true when this put balloon bad request response has a 2xx status code

func (*PutBalloonBadRequest) String

func (o *PutBalloonBadRequest) String() string

type PutBalloonDefault

type PutBalloonDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutBalloonDefault describes a response with status code -1, with default header values.

Internal server error

func NewPutBalloonDefault

func NewPutBalloonDefault(code int) *PutBalloonDefault

NewPutBalloonDefault creates a PutBalloonDefault with default headers values

func (*PutBalloonDefault) Code

func (o *PutBalloonDefault) Code() int

Code gets the status code for the put balloon default response

func (*PutBalloonDefault) Error

func (o *PutBalloonDefault) Error() string

func (*PutBalloonDefault) GetPayload

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

func (*PutBalloonDefault) IsClientError

func (o *PutBalloonDefault) IsClientError() bool

IsClientError returns true when this put balloon default response has a 4xx status code

func (*PutBalloonDefault) IsCode

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

IsCode returns true when this put balloon default response a status code equal to that given

func (*PutBalloonDefault) IsRedirect

func (o *PutBalloonDefault) IsRedirect() bool

IsRedirect returns true when this put balloon default response has a 3xx status code

func (*PutBalloonDefault) IsServerError

func (o *PutBalloonDefault) IsServerError() bool

IsServerError returns true when this put balloon default response has a 5xx status code

func (*PutBalloonDefault) IsSuccess

func (o *PutBalloonDefault) IsSuccess() bool

IsSuccess returns true when this put balloon default response has a 2xx status code

func (*PutBalloonDefault) String

func (o *PutBalloonDefault) String() string

type PutBalloonNoContent

type PutBalloonNoContent struct {
}

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

Balloon device created/updated

func NewPutBalloonNoContent

func NewPutBalloonNoContent() *PutBalloonNoContent

NewPutBalloonNoContent creates a PutBalloonNoContent with default headers values

func (*PutBalloonNoContent) Error

func (o *PutBalloonNoContent) Error() string

func (*PutBalloonNoContent) IsClientError

func (o *PutBalloonNoContent) IsClientError() bool

IsClientError returns true when this put balloon no content response has a 4xx status code

func (*PutBalloonNoContent) IsCode

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

IsCode returns true when this put balloon no content response a status code equal to that given

func (*PutBalloonNoContent) IsRedirect

func (o *PutBalloonNoContent) IsRedirect() bool

IsRedirect returns true when this put balloon no content response has a 3xx status code

func (*PutBalloonNoContent) IsServerError

func (o *PutBalloonNoContent) IsServerError() bool

IsServerError returns true when this put balloon no content response has a 5xx status code

func (*PutBalloonNoContent) IsSuccess

func (o *PutBalloonNoContent) IsSuccess() bool

IsSuccess returns true when this put balloon no content response has a 2xx status code

func (*PutBalloonNoContent) String

func (o *PutBalloonNoContent) String() string

type PutBalloonParams

type PutBalloonParams struct {

	/* Body.

	   Balloon properties
	*/
	Body *models.Balloon

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

PutBalloonParams contains all the parameters to send to the API endpoint

for the put balloon operation.

Typically these are written to a http.Request.

func NewPutBalloonParams

func NewPutBalloonParams() *PutBalloonParams

NewPutBalloonParams creates a new PutBalloonParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutBalloonParamsWithContext

func NewPutBalloonParamsWithContext(ctx context.Context) *PutBalloonParams

NewPutBalloonParamsWithContext creates a new PutBalloonParams object with the ability to set a context for a request.

func NewPutBalloonParamsWithHTTPClient

func NewPutBalloonParamsWithHTTPClient(client *http.Client) *PutBalloonParams

NewPutBalloonParamsWithHTTPClient creates a new PutBalloonParams object with the ability to set a custom HTTPClient for a request.

func NewPutBalloonParamsWithTimeout

func NewPutBalloonParamsWithTimeout(timeout time.Duration) *PutBalloonParams

NewPutBalloonParamsWithTimeout creates a new PutBalloonParams object with the ability to set a timeout on a request.

func (*PutBalloonParams) SetBody

func (o *PutBalloonParams) SetBody(body *models.Balloon)

SetBody adds the body to the put balloon params

func (*PutBalloonParams) SetContext

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

SetContext adds the context to the put balloon params

func (*PutBalloonParams) SetDefaults

func (o *PutBalloonParams) SetDefaults()

SetDefaults hydrates default values in the put balloon params (not the query body).

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

func (*PutBalloonParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put balloon params

func (*PutBalloonParams) SetTimeout

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

SetTimeout adds the timeout to the put balloon params

func (*PutBalloonParams) WithBody

func (o *PutBalloonParams) WithBody(body *models.Balloon) *PutBalloonParams

WithBody adds the body to the put balloon params

func (*PutBalloonParams) WithContext

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

WithContext adds the context to the put balloon params

func (*PutBalloonParams) WithDefaults

func (o *PutBalloonParams) WithDefaults() *PutBalloonParams

WithDefaults hydrates default values in the put balloon params (not the query body).

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

func (*PutBalloonParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put balloon params

func (*PutBalloonParams) WithTimeout

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

WithTimeout adds the timeout to the put balloon params

func (*PutBalloonParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutBalloonReader

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

PutBalloonReader is a Reader for the PutBalloon structure.

func (*PutBalloonReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutCPUConfigurationBadRequest

type PutCPUConfigurationBadRequest struct {
	Payload *models.Error
}

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

CPU configuration cannot be updated due to invalid input format

func NewPutCPUConfigurationBadRequest

func NewPutCPUConfigurationBadRequest() *PutCPUConfigurationBadRequest

NewPutCPUConfigurationBadRequest creates a PutCPUConfigurationBadRequest with default headers values

func (*PutCPUConfigurationBadRequest) Error

func (*PutCPUConfigurationBadRequest) GetPayload

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

func (*PutCPUConfigurationBadRequest) IsClientError

func (o *PutCPUConfigurationBadRequest) IsClientError() bool

IsClientError returns true when this put Cpu configuration bad request response has a 4xx status code

func (*PutCPUConfigurationBadRequest) IsCode

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

IsCode returns true when this put Cpu configuration bad request response a status code equal to that given

func (*PutCPUConfigurationBadRequest) IsRedirect

func (o *PutCPUConfigurationBadRequest) IsRedirect() bool

IsRedirect returns true when this put Cpu configuration bad request response has a 3xx status code

func (*PutCPUConfigurationBadRequest) IsServerError

func (o *PutCPUConfigurationBadRequest) IsServerError() bool

IsServerError returns true when this put Cpu configuration bad request response has a 5xx status code

func (*PutCPUConfigurationBadRequest) IsSuccess

func (o *PutCPUConfigurationBadRequest) IsSuccess() bool

IsSuccess returns true when this put Cpu configuration bad request response has a 2xx status code

func (*PutCPUConfigurationBadRequest) String

type PutCPUConfigurationDefault

type PutCPUConfigurationDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutCPUConfigurationDefault describes a response with status code -1, with default header values.

Internal server error

func NewPutCPUConfigurationDefault

func NewPutCPUConfigurationDefault(code int) *PutCPUConfigurationDefault

NewPutCPUConfigurationDefault creates a PutCPUConfigurationDefault with default headers values

func (*PutCPUConfigurationDefault) Code

func (o *PutCPUConfigurationDefault) Code() int

Code gets the status code for the put Cpu configuration default response

func (*PutCPUConfigurationDefault) Error

func (*PutCPUConfigurationDefault) GetPayload

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

func (*PutCPUConfigurationDefault) IsClientError

func (o *PutCPUConfigurationDefault) IsClientError() bool

IsClientError returns true when this put Cpu configuration default response has a 4xx status code

func (*PutCPUConfigurationDefault) IsCode

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

IsCode returns true when this put Cpu configuration default response a status code equal to that given

func (*PutCPUConfigurationDefault) IsRedirect

func (o *PutCPUConfigurationDefault) IsRedirect() bool

IsRedirect returns true when this put Cpu configuration default response has a 3xx status code

func (*PutCPUConfigurationDefault) IsServerError

func (o *PutCPUConfigurationDefault) IsServerError() bool

IsServerError returns true when this put Cpu configuration default response has a 5xx status code

func (*PutCPUConfigurationDefault) IsSuccess

func (o *PutCPUConfigurationDefault) IsSuccess() bool

IsSuccess returns true when this put Cpu configuration default response has a 2xx status code

func (*PutCPUConfigurationDefault) String

func (o *PutCPUConfigurationDefault) String() string

type PutCPUConfigurationNoContent

type PutCPUConfigurationNoContent struct {
}

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

CPU configuration set successfully

func NewPutCPUConfigurationNoContent

func NewPutCPUConfigurationNoContent() *PutCPUConfigurationNoContent

NewPutCPUConfigurationNoContent creates a PutCPUConfigurationNoContent with default headers values

func (*PutCPUConfigurationNoContent) Error

func (*PutCPUConfigurationNoContent) IsClientError

func (o *PutCPUConfigurationNoContent) IsClientError() bool

IsClientError returns true when this put Cpu configuration no content response has a 4xx status code

func (*PutCPUConfigurationNoContent) IsCode

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

IsCode returns true when this put Cpu configuration no content response a status code equal to that given

func (*PutCPUConfigurationNoContent) IsRedirect

func (o *PutCPUConfigurationNoContent) IsRedirect() bool

IsRedirect returns true when this put Cpu configuration no content response has a 3xx status code

func (*PutCPUConfigurationNoContent) IsServerError

func (o *PutCPUConfigurationNoContent) IsServerError() bool

IsServerError returns true when this put Cpu configuration no content response has a 5xx status code

func (*PutCPUConfigurationNoContent) IsSuccess

func (o *PutCPUConfigurationNoContent) IsSuccess() bool

IsSuccess returns true when this put Cpu configuration no content response has a 2xx status code

func (*PutCPUConfigurationNoContent) String

type PutCPUConfigurationParams

type PutCPUConfigurationParams struct {

	/* Body.

	   CPU configuration request
	*/
	Body *models.CPUConfig

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

PutCPUConfigurationParams contains all the parameters to send to the API endpoint

for the put Cpu configuration operation.

Typically these are written to a http.Request.

func NewPutCPUConfigurationParams

func NewPutCPUConfigurationParams() *PutCPUConfigurationParams

NewPutCPUConfigurationParams creates a new PutCPUConfigurationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutCPUConfigurationParamsWithContext

func NewPutCPUConfigurationParamsWithContext(ctx context.Context) *PutCPUConfigurationParams

NewPutCPUConfigurationParamsWithContext creates a new PutCPUConfigurationParams object with the ability to set a context for a request.

func NewPutCPUConfigurationParamsWithHTTPClient

func NewPutCPUConfigurationParamsWithHTTPClient(client *http.Client) *PutCPUConfigurationParams

NewPutCPUConfigurationParamsWithHTTPClient creates a new PutCPUConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewPutCPUConfigurationParamsWithTimeout

func NewPutCPUConfigurationParamsWithTimeout(timeout time.Duration) *PutCPUConfigurationParams

NewPutCPUConfigurationParamsWithTimeout creates a new PutCPUConfigurationParams object with the ability to set a timeout on a request.

func (*PutCPUConfigurationParams) SetBody

func (o *PutCPUConfigurationParams) SetBody(body *models.CPUConfig)

SetBody adds the body to the put Cpu configuration params

func (*PutCPUConfigurationParams) SetContext

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

SetContext adds the context to the put Cpu configuration params

func (*PutCPUConfigurationParams) SetDefaults

func (o *PutCPUConfigurationParams) SetDefaults()

SetDefaults hydrates default values in the put Cpu configuration params (not the query body).

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

func (*PutCPUConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put Cpu configuration params

func (*PutCPUConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the put Cpu configuration params

func (*PutCPUConfigurationParams) WithBody

WithBody adds the body to the put Cpu configuration params

func (*PutCPUConfigurationParams) WithContext

WithContext adds the context to the put Cpu configuration params

func (*PutCPUConfigurationParams) WithDefaults

WithDefaults hydrates default values in the put Cpu configuration params (not the query body).

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

func (*PutCPUConfigurationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put Cpu configuration params

func (*PutCPUConfigurationParams) WithTimeout

WithTimeout adds the timeout to the put Cpu configuration params

func (*PutCPUConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutCPUConfigurationReader

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

PutCPUConfigurationReader is a Reader for the PutCPUConfiguration structure.

func (*PutCPUConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutEntropyDeviceDefault

type PutEntropyDeviceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutEntropyDeviceDefault describes a response with status code -1, with default header values.

Internal server error

func NewPutEntropyDeviceDefault

func NewPutEntropyDeviceDefault(code int) *PutEntropyDeviceDefault

NewPutEntropyDeviceDefault creates a PutEntropyDeviceDefault with default headers values

func (*PutEntropyDeviceDefault) Code

func (o *PutEntropyDeviceDefault) Code() int

Code gets the status code for the put entropy device default response

func (*PutEntropyDeviceDefault) Error

func (o *PutEntropyDeviceDefault) Error() string

func (*PutEntropyDeviceDefault) GetPayload

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

func (*PutEntropyDeviceDefault) IsClientError

func (o *PutEntropyDeviceDefault) IsClientError() bool

IsClientError returns true when this put entropy device default response has a 4xx status code

func (*PutEntropyDeviceDefault) IsCode

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

IsCode returns true when this put entropy device default response a status code equal to that given

func (*PutEntropyDeviceDefault) IsRedirect

func (o *PutEntropyDeviceDefault) IsRedirect() bool

IsRedirect returns true when this put entropy device default response has a 3xx status code

func (*PutEntropyDeviceDefault) IsServerError

func (o *PutEntropyDeviceDefault) IsServerError() bool

IsServerError returns true when this put entropy device default response has a 5xx status code

func (*PutEntropyDeviceDefault) IsSuccess

func (o *PutEntropyDeviceDefault) IsSuccess() bool

IsSuccess returns true when this put entropy device default response has a 2xx status code

func (*PutEntropyDeviceDefault) String

func (o *PutEntropyDeviceDefault) String() string

type PutEntropyDeviceNoContent

type PutEntropyDeviceNoContent struct {
}

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

Entropy device created

func NewPutEntropyDeviceNoContent

func NewPutEntropyDeviceNoContent() *PutEntropyDeviceNoContent

NewPutEntropyDeviceNoContent creates a PutEntropyDeviceNoContent with default headers values

func (*PutEntropyDeviceNoContent) Error

func (o *PutEntropyDeviceNoContent) Error() string

func (*PutEntropyDeviceNoContent) IsClientError

func (o *PutEntropyDeviceNoContent) IsClientError() bool

IsClientError returns true when this put entropy device no content response has a 4xx status code

func (*PutEntropyDeviceNoContent) IsCode

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

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

func (*PutEntropyDeviceNoContent) IsRedirect

func (o *PutEntropyDeviceNoContent) IsRedirect() bool

IsRedirect returns true when this put entropy device no content response has a 3xx status code

func (*PutEntropyDeviceNoContent) IsServerError

func (o *PutEntropyDeviceNoContent) IsServerError() bool

IsServerError returns true when this put entropy device no content response has a 5xx status code

func (*PutEntropyDeviceNoContent) IsSuccess

func (o *PutEntropyDeviceNoContent) IsSuccess() bool

IsSuccess returns true when this put entropy device no content response has a 2xx status code

func (*PutEntropyDeviceNoContent) String

func (o *PutEntropyDeviceNoContent) String() string

type PutEntropyDeviceParams

type PutEntropyDeviceParams struct {

	/* Body.

	   Guest entropy device properties
	*/
	Body *models.EntropyDevice

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

PutEntropyDeviceParams contains all the parameters to send to the API endpoint

for the put entropy device operation.

Typically these are written to a http.Request.

func NewPutEntropyDeviceParams

func NewPutEntropyDeviceParams() *PutEntropyDeviceParams

NewPutEntropyDeviceParams creates a new PutEntropyDeviceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutEntropyDeviceParamsWithContext

func NewPutEntropyDeviceParamsWithContext(ctx context.Context) *PutEntropyDeviceParams

NewPutEntropyDeviceParamsWithContext creates a new PutEntropyDeviceParams object with the ability to set a context for a request.

func NewPutEntropyDeviceParamsWithHTTPClient

func NewPutEntropyDeviceParamsWithHTTPClient(client *http.Client) *PutEntropyDeviceParams

NewPutEntropyDeviceParamsWithHTTPClient creates a new PutEntropyDeviceParams object with the ability to set a custom HTTPClient for a request.

func NewPutEntropyDeviceParamsWithTimeout

func NewPutEntropyDeviceParamsWithTimeout(timeout time.Duration) *PutEntropyDeviceParams

NewPutEntropyDeviceParamsWithTimeout creates a new PutEntropyDeviceParams object with the ability to set a timeout on a request.

func (*PutEntropyDeviceParams) SetBody

func (o *PutEntropyDeviceParams) SetBody(body *models.EntropyDevice)

SetBody adds the body to the put entropy device params

func (*PutEntropyDeviceParams) SetContext

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

SetContext adds the context to the put entropy device params

func (*PutEntropyDeviceParams) SetDefaults

func (o *PutEntropyDeviceParams) SetDefaults()

SetDefaults hydrates default values in the put entropy device params (not the query body).

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

func (*PutEntropyDeviceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put entropy device params

func (*PutEntropyDeviceParams) SetTimeout

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

SetTimeout adds the timeout to the put entropy device params

func (*PutEntropyDeviceParams) WithBody

WithBody adds the body to the put entropy device params

func (*PutEntropyDeviceParams) WithContext

WithContext adds the context to the put entropy device params

func (*PutEntropyDeviceParams) WithDefaults

WithDefaults hydrates default values in the put entropy device params (not the query body).

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

func (*PutEntropyDeviceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put entropy device params

func (*PutEntropyDeviceParams) WithTimeout

WithTimeout adds the timeout to the put entropy device params

func (*PutEntropyDeviceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutEntropyDeviceReader

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

PutEntropyDeviceReader is a Reader for the PutEntropyDevice structure.

func (*PutEntropyDeviceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutGuestBootSourceBadRequest

type PutGuestBootSourceBadRequest struct {
	Payload *models.Error
}

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

Boot source cannot be created due to bad input

func NewPutGuestBootSourceBadRequest

func NewPutGuestBootSourceBadRequest() *PutGuestBootSourceBadRequest

NewPutGuestBootSourceBadRequest creates a PutGuestBootSourceBadRequest with default headers values

func (*PutGuestBootSourceBadRequest) Error

func (*PutGuestBootSourceBadRequest) GetPayload

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

func (*PutGuestBootSourceBadRequest) IsClientError

func (o *PutGuestBootSourceBadRequest) IsClientError() bool

IsClientError returns true when this put guest boot source bad request response has a 4xx status code

func (*PutGuestBootSourceBadRequest) IsCode

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

IsCode returns true when this put guest boot source bad request response a status code equal to that given

func (*PutGuestBootSourceBadRequest) IsRedirect

func (o *PutGuestBootSourceBadRequest) IsRedirect() bool

IsRedirect returns true when this put guest boot source bad request response has a 3xx status code

func (*PutGuestBootSourceBadRequest) IsServerError

func (o *PutGuestBootSourceBadRequest) IsServerError() bool

IsServerError returns true when this put guest boot source bad request response has a 5xx status code

func (*PutGuestBootSourceBadRequest) IsSuccess

func (o *PutGuestBootSourceBadRequest) IsSuccess() bool

IsSuccess returns true when this put guest boot source bad request response has a 2xx status code

func (*PutGuestBootSourceBadRequest) String

type PutGuestBootSourceDefault

type PutGuestBootSourceDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutGuestBootSourceDefault describes a response with status code -1, with default header values.

Internal server error

func NewPutGuestBootSourceDefault

func NewPutGuestBootSourceDefault(code int) *PutGuestBootSourceDefault

NewPutGuestBootSourceDefault creates a PutGuestBootSourceDefault with default headers values

func (*PutGuestBootSourceDefault) Code

func (o *PutGuestBootSourceDefault) Code() int

Code gets the status code for the put guest boot source default response

func (*PutGuestBootSourceDefault) Error

func (o *PutGuestBootSourceDefault) Error() string

func (*PutGuestBootSourceDefault) GetPayload

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

func (*PutGuestBootSourceDefault) IsClientError

func (o *PutGuestBootSourceDefault) IsClientError() bool

IsClientError returns true when this put guest boot source default response has a 4xx status code

func (*PutGuestBootSourceDefault) IsCode

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

IsCode returns true when this put guest boot source default response a status code equal to that given

func (*PutGuestBootSourceDefault) IsRedirect

func (o *PutGuestBootSourceDefault) IsRedirect() bool

IsRedirect returns true when this put guest boot source default response has a 3xx status code

func (*PutGuestBootSourceDefault) IsServerError

func (o *PutGuestBootSourceDefault) IsServerError() bool

IsServerError returns true when this put guest boot source default response has a 5xx status code

func (*PutGuestBootSourceDefault) IsSuccess

func (o *PutGuestBootSourceDefault) IsSuccess() bool

IsSuccess returns true when this put guest boot source default response has a 2xx status code

func (*PutGuestBootSourceDefault) String

func (o *PutGuestBootSourceDefault) String() string

type PutGuestBootSourceNoContent

type PutGuestBootSourceNoContent struct {
}

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

Boot source created/updated

func NewPutGuestBootSourceNoContent

func NewPutGuestBootSourceNoContent() *PutGuestBootSourceNoContent

NewPutGuestBootSourceNoContent creates a PutGuestBootSourceNoContent with default headers values

func (*PutGuestBootSourceNoContent) Error

func (*PutGuestBootSourceNoContent) IsClientError

func (o *PutGuestBootSourceNoContent) IsClientError() bool

IsClientError returns true when this put guest boot source no content response has a 4xx status code

func (*PutGuestBootSourceNoContent) IsCode

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

IsCode returns true when this put guest boot source no content response a status code equal to that given

func (*PutGuestBootSourceNoContent) IsRedirect

func (o *PutGuestBootSourceNoContent) IsRedirect() bool

IsRedirect returns true when this put guest boot source no content response has a 3xx status code

func (*PutGuestBootSourceNoContent) IsServerError

func (o *PutGuestBootSourceNoContent) IsServerError() bool

IsServerError returns true when this put guest boot source no content response has a 5xx status code

func (*PutGuestBootSourceNoContent) IsSuccess

func (o *PutGuestBootSourceNoContent) IsSuccess() bool

IsSuccess returns true when this put guest boot source no content response has a 2xx status code

func (*PutGuestBootSourceNoContent) String

func (o *PutGuestBootSourceNoContent) String() string

type PutGuestBootSourceParams

type PutGuestBootSourceParams struct {

	/* Body.

	   Guest boot source properties
	*/
	Body *models.BootSource

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

PutGuestBootSourceParams contains all the parameters to send to the API endpoint

for the put guest boot source operation.

Typically these are written to a http.Request.

func NewPutGuestBootSourceParams

func NewPutGuestBootSourceParams() *PutGuestBootSourceParams

NewPutGuestBootSourceParams creates a new PutGuestBootSourceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutGuestBootSourceParamsWithContext

func NewPutGuestBootSourceParamsWithContext(ctx context.Context) *PutGuestBootSourceParams

NewPutGuestBootSourceParamsWithContext creates a new PutGuestBootSourceParams object with the ability to set a context for a request.

func NewPutGuestBootSourceParamsWithHTTPClient

func NewPutGuestBootSourceParamsWithHTTPClient(client *http.Client) *PutGuestBootSourceParams

NewPutGuestBootSourceParamsWithHTTPClient creates a new PutGuestBootSourceParams object with the ability to set a custom HTTPClient for a request.

func NewPutGuestBootSourceParamsWithTimeout

func NewPutGuestBootSourceParamsWithTimeout(timeout time.Duration) *PutGuestBootSourceParams

NewPutGuestBootSourceParamsWithTimeout creates a new PutGuestBootSourceParams object with the ability to set a timeout on a request.

func (*PutGuestBootSourceParams) SetBody

func (o *PutGuestBootSourceParams) SetBody(body *models.BootSource)

SetBody adds the body to the put guest boot source params

func (*PutGuestBootSourceParams) SetContext

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

SetContext adds the context to the put guest boot source params

func (*PutGuestBootSourceParams) SetDefaults

func (o *PutGuestBootSourceParams) SetDefaults()

SetDefaults hydrates default values in the put guest boot source params (not the query body).

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

func (*PutGuestBootSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put guest boot source params

func (*PutGuestBootSourceParams) SetTimeout

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

SetTimeout adds the timeout to the put guest boot source params

func (*PutGuestBootSourceParams) WithBody

WithBody adds the body to the put guest boot source params

func (*PutGuestBootSourceParams) WithContext

WithContext adds the context to the put guest boot source params

func (*PutGuestBootSourceParams) WithDefaults

WithDefaults hydrates default values in the put guest boot source params (not the query body).

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

func (*PutGuestBootSourceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put guest boot source params

func (*PutGuestBootSourceParams) WithTimeout

WithTimeout adds the timeout to the put guest boot source params

func (*PutGuestBootSourceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutGuestBootSourceReader

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

PutGuestBootSourceReader is a Reader for the PutGuestBootSource structure.

func (*PutGuestBootSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutGuestDriveByIDBadRequest

type PutGuestDriveByIDBadRequest struct {
	Payload *models.Error
}

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

Drive cannot be created/updated due to bad input

func NewPutGuestDriveByIDBadRequest

func NewPutGuestDriveByIDBadRequest() *PutGuestDriveByIDBadRequest

NewPutGuestDriveByIDBadRequest creates a PutGuestDriveByIDBadRequest with default headers values

func (*PutGuestDriveByIDBadRequest) Error

func (*PutGuestDriveByIDBadRequest) GetPayload

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

func (*PutGuestDriveByIDBadRequest) IsClientError

func (o *PutGuestDriveByIDBadRequest) IsClientError() bool

IsClientError returns true when this put guest drive by Id bad request response has a 4xx status code

func (*PutGuestDriveByIDBadRequest) IsCode

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

IsCode returns true when this put guest drive by Id bad request response a status code equal to that given

func (*PutGuestDriveByIDBadRequest) IsRedirect

func (o *PutGuestDriveByIDBadRequest) IsRedirect() bool

IsRedirect returns true when this put guest drive by Id bad request response has a 3xx status code

func (*PutGuestDriveByIDBadRequest) IsServerError

func (o *PutGuestDriveByIDBadRequest) IsServerError() bool

IsServerError returns true when this put guest drive by Id bad request response has a 5xx status code

func (*PutGuestDriveByIDBadRequest) IsSuccess

func (o *PutGuestDriveByIDBadRequest) IsSuccess() bool

IsSuccess returns true when this put guest drive by Id bad request response has a 2xx status code

func (*PutGuestDriveByIDBadRequest) String

func (o *PutGuestDriveByIDBadRequest) String() string

type PutGuestDriveByIDDefault

type PutGuestDriveByIDDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutGuestDriveByIDDefault describes a response with status code -1, with default header values.

Internal server error.

func NewPutGuestDriveByIDDefault

func NewPutGuestDriveByIDDefault(code int) *PutGuestDriveByIDDefault

NewPutGuestDriveByIDDefault creates a PutGuestDriveByIDDefault with default headers values

func (*PutGuestDriveByIDDefault) Code

func (o *PutGuestDriveByIDDefault) Code() int

Code gets the status code for the put guest drive by ID default response

func (*PutGuestDriveByIDDefault) Error

func (o *PutGuestDriveByIDDefault) Error() string

func (*PutGuestDriveByIDDefault) GetPayload

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

func (*PutGuestDriveByIDDefault) IsClientError

func (o *PutGuestDriveByIDDefault) IsClientError() bool

IsClientError returns true when this put guest drive by ID default response has a 4xx status code

func (*PutGuestDriveByIDDefault) IsCode

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

IsCode returns true when this put guest drive by ID default response a status code equal to that given

func (*PutGuestDriveByIDDefault) IsRedirect

func (o *PutGuestDriveByIDDefault) IsRedirect() bool

IsRedirect returns true when this put guest drive by ID default response has a 3xx status code

func (*PutGuestDriveByIDDefault) IsServerError

func (o *PutGuestDriveByIDDefault) IsServerError() bool

IsServerError returns true when this put guest drive by ID default response has a 5xx status code

func (*PutGuestDriveByIDDefault) IsSuccess

func (o *PutGuestDriveByIDDefault) IsSuccess() bool

IsSuccess returns true when this put guest drive by ID default response has a 2xx status code

func (*PutGuestDriveByIDDefault) String

func (o *PutGuestDriveByIDDefault) String() string

type PutGuestDriveByIDNoContent

type PutGuestDriveByIDNoContent struct {
}

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

Drive created/updated

func NewPutGuestDriveByIDNoContent

func NewPutGuestDriveByIDNoContent() *PutGuestDriveByIDNoContent

NewPutGuestDriveByIDNoContent creates a PutGuestDriveByIDNoContent with default headers values

func (*PutGuestDriveByIDNoContent) Error

func (*PutGuestDriveByIDNoContent) IsClientError

func (o *PutGuestDriveByIDNoContent) IsClientError() bool

IsClientError returns true when this put guest drive by Id no content response has a 4xx status code

func (*PutGuestDriveByIDNoContent) IsCode

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

IsCode returns true when this put guest drive by Id no content response a status code equal to that given

func (*PutGuestDriveByIDNoContent) IsRedirect

func (o *PutGuestDriveByIDNoContent) IsRedirect() bool

IsRedirect returns true when this put guest drive by Id no content response has a 3xx status code

func (*PutGuestDriveByIDNoContent) IsServerError

func (o *PutGuestDriveByIDNoContent) IsServerError() bool

IsServerError returns true when this put guest drive by Id no content response has a 5xx status code

func (*PutGuestDriveByIDNoContent) IsSuccess

func (o *PutGuestDriveByIDNoContent) IsSuccess() bool

IsSuccess returns true when this put guest drive by Id no content response has a 2xx status code

func (*PutGuestDriveByIDNoContent) String

func (o *PutGuestDriveByIDNoContent) String() string

type PutGuestDriveByIDParams

type PutGuestDriveByIDParams struct {

	/* Body.

	   Guest drive properties
	*/
	Body *models.Drive

	/* DriveID.

	   The id of the guest drive
	*/
	DriveID string

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

PutGuestDriveByIDParams contains all the parameters to send to the API endpoint

for the put guest drive by ID operation.

Typically these are written to a http.Request.

func NewPutGuestDriveByIDParams

func NewPutGuestDriveByIDParams() *PutGuestDriveByIDParams

NewPutGuestDriveByIDParams creates a new PutGuestDriveByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutGuestDriveByIDParamsWithContext

func NewPutGuestDriveByIDParamsWithContext(ctx context.Context) *PutGuestDriveByIDParams

NewPutGuestDriveByIDParamsWithContext creates a new PutGuestDriveByIDParams object with the ability to set a context for a request.

func NewPutGuestDriveByIDParamsWithHTTPClient

func NewPutGuestDriveByIDParamsWithHTTPClient(client *http.Client) *PutGuestDriveByIDParams

NewPutGuestDriveByIDParamsWithHTTPClient creates a new PutGuestDriveByIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutGuestDriveByIDParamsWithTimeout

func NewPutGuestDriveByIDParamsWithTimeout(timeout time.Duration) *PutGuestDriveByIDParams

NewPutGuestDriveByIDParamsWithTimeout creates a new PutGuestDriveByIDParams object with the ability to set a timeout on a request.

func (*PutGuestDriveByIDParams) SetBody

func (o *PutGuestDriveByIDParams) SetBody(body *models.Drive)

SetBody adds the body to the put guest drive by ID params

func (*PutGuestDriveByIDParams) SetContext

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

SetContext adds the context to the put guest drive by ID params

func (*PutGuestDriveByIDParams) SetDefaults

func (o *PutGuestDriveByIDParams) SetDefaults()

SetDefaults hydrates default values in the put guest drive by ID params (not the query body).

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

func (*PutGuestDriveByIDParams) SetDriveID

func (o *PutGuestDriveByIDParams) SetDriveID(driveID string)

SetDriveID adds the driveId to the put guest drive by ID params

func (*PutGuestDriveByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put guest drive by ID params

func (*PutGuestDriveByIDParams) SetTimeout

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

SetTimeout adds the timeout to the put guest drive by ID params

func (*PutGuestDriveByIDParams) WithBody

WithBody adds the body to the put guest drive by ID params

func (*PutGuestDriveByIDParams) WithContext

WithContext adds the context to the put guest drive by ID params

func (*PutGuestDriveByIDParams) WithDefaults

WithDefaults hydrates default values in the put guest drive by ID params (not the query body).

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

func (*PutGuestDriveByIDParams) WithDriveID

func (o *PutGuestDriveByIDParams) WithDriveID(driveID string) *PutGuestDriveByIDParams

WithDriveID adds the driveID to the put guest drive by ID params

func (*PutGuestDriveByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put guest drive by ID params

func (*PutGuestDriveByIDParams) WithTimeout

WithTimeout adds the timeout to the put guest drive by ID params

func (*PutGuestDriveByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutGuestDriveByIDReader

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

PutGuestDriveByIDReader is a Reader for the PutGuestDriveByID structure.

func (*PutGuestDriveByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutGuestNetworkInterfaceByIDBadRequest

type PutGuestNetworkInterfaceByIDBadRequest struct {
	Payload *models.Error
}

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

Network interface cannot be created due to bad input

func NewPutGuestNetworkInterfaceByIDBadRequest

func NewPutGuestNetworkInterfaceByIDBadRequest() *PutGuestNetworkInterfaceByIDBadRequest

NewPutGuestNetworkInterfaceByIDBadRequest creates a PutGuestNetworkInterfaceByIDBadRequest with default headers values

func (*PutGuestNetworkInterfaceByIDBadRequest) Error

func (*PutGuestNetworkInterfaceByIDBadRequest) GetPayload

func (*PutGuestNetworkInterfaceByIDBadRequest) IsClientError

func (o *PutGuestNetworkInterfaceByIDBadRequest) IsClientError() bool

IsClientError returns true when this put guest network interface by Id bad request response has a 4xx status code

func (*PutGuestNetworkInterfaceByIDBadRequest) IsCode

IsCode returns true when this put guest network interface by Id bad request response a status code equal to that given

func (*PutGuestNetworkInterfaceByIDBadRequest) IsRedirect

IsRedirect returns true when this put guest network interface by Id bad request response has a 3xx status code

func (*PutGuestNetworkInterfaceByIDBadRequest) IsServerError

func (o *PutGuestNetworkInterfaceByIDBadRequest) IsServerError() bool

IsServerError returns true when this put guest network interface by Id bad request response has a 5xx status code

func (*PutGuestNetworkInterfaceByIDBadRequest) IsSuccess

IsSuccess returns true when this put guest network interface by Id bad request response has a 2xx status code

func (*PutGuestNetworkInterfaceByIDBadRequest) String

type PutGuestNetworkInterfaceByIDDefault

type PutGuestNetworkInterfaceByIDDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutGuestNetworkInterfaceByIDDefault describes a response with status code -1, with default header values.

Internal server error

func NewPutGuestNetworkInterfaceByIDDefault

func NewPutGuestNetworkInterfaceByIDDefault(code int) *PutGuestNetworkInterfaceByIDDefault

NewPutGuestNetworkInterfaceByIDDefault creates a PutGuestNetworkInterfaceByIDDefault with default headers values

func (*PutGuestNetworkInterfaceByIDDefault) Code

Code gets the status code for the put guest network interface by ID default response

func (*PutGuestNetworkInterfaceByIDDefault) Error

func (*PutGuestNetworkInterfaceByIDDefault) GetPayload

func (*PutGuestNetworkInterfaceByIDDefault) IsClientError

func (o *PutGuestNetworkInterfaceByIDDefault) IsClientError() bool

IsClientError returns true when this put guest network interface by ID default response has a 4xx status code

func (*PutGuestNetworkInterfaceByIDDefault) IsCode

IsCode returns true when this put guest network interface by ID default response a status code equal to that given

func (*PutGuestNetworkInterfaceByIDDefault) IsRedirect

func (o *PutGuestNetworkInterfaceByIDDefault) IsRedirect() bool

IsRedirect returns true when this put guest network interface by ID default response has a 3xx status code

func (*PutGuestNetworkInterfaceByIDDefault) IsServerError

func (o *PutGuestNetworkInterfaceByIDDefault) IsServerError() bool

IsServerError returns true when this put guest network interface by ID default response has a 5xx status code

func (*PutGuestNetworkInterfaceByIDDefault) IsSuccess

IsSuccess returns true when this put guest network interface by ID default response has a 2xx status code

func (*PutGuestNetworkInterfaceByIDDefault) String

type PutGuestNetworkInterfaceByIDNoContent

type PutGuestNetworkInterfaceByIDNoContent struct {
}

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

Network interface created/updated

func NewPutGuestNetworkInterfaceByIDNoContent

func NewPutGuestNetworkInterfaceByIDNoContent() *PutGuestNetworkInterfaceByIDNoContent

NewPutGuestNetworkInterfaceByIDNoContent creates a PutGuestNetworkInterfaceByIDNoContent with default headers values

func (*PutGuestNetworkInterfaceByIDNoContent) Error

func (*PutGuestNetworkInterfaceByIDNoContent) IsClientError

func (o *PutGuestNetworkInterfaceByIDNoContent) IsClientError() bool

IsClientError returns true when this put guest network interface by Id no content response has a 4xx status code

func (*PutGuestNetworkInterfaceByIDNoContent) IsCode

IsCode returns true when this put guest network interface by Id no content response a status code equal to that given

func (*PutGuestNetworkInterfaceByIDNoContent) IsRedirect

IsRedirect returns true when this put guest network interface by Id no content response has a 3xx status code

func (*PutGuestNetworkInterfaceByIDNoContent) IsServerError

func (o *PutGuestNetworkInterfaceByIDNoContent) IsServerError() bool

IsServerError returns true when this put guest network interface by Id no content response has a 5xx status code

func (*PutGuestNetworkInterfaceByIDNoContent) IsSuccess

IsSuccess returns true when this put guest network interface by Id no content response has a 2xx status code

func (*PutGuestNetworkInterfaceByIDNoContent) String

type PutGuestNetworkInterfaceByIDParams

type PutGuestNetworkInterfaceByIDParams struct {

	/* Body.

	   Guest network interface properties
	*/
	Body *models.NetworkInterface

	/* IfaceID.

	   The id of the guest network interface
	*/
	IfaceID string

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

PutGuestNetworkInterfaceByIDParams contains all the parameters to send to the API endpoint

for the put guest network interface by ID operation.

Typically these are written to a http.Request.

func NewPutGuestNetworkInterfaceByIDParams

func NewPutGuestNetworkInterfaceByIDParams() *PutGuestNetworkInterfaceByIDParams

NewPutGuestNetworkInterfaceByIDParams creates a new PutGuestNetworkInterfaceByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutGuestNetworkInterfaceByIDParamsWithContext

func NewPutGuestNetworkInterfaceByIDParamsWithContext(ctx context.Context) *PutGuestNetworkInterfaceByIDParams

NewPutGuestNetworkInterfaceByIDParamsWithContext creates a new PutGuestNetworkInterfaceByIDParams object with the ability to set a context for a request.

func NewPutGuestNetworkInterfaceByIDParamsWithHTTPClient

func NewPutGuestNetworkInterfaceByIDParamsWithHTTPClient(client *http.Client) *PutGuestNetworkInterfaceByIDParams

NewPutGuestNetworkInterfaceByIDParamsWithHTTPClient creates a new PutGuestNetworkInterfaceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutGuestNetworkInterfaceByIDParamsWithTimeout

func NewPutGuestNetworkInterfaceByIDParamsWithTimeout(timeout time.Duration) *PutGuestNetworkInterfaceByIDParams

NewPutGuestNetworkInterfaceByIDParamsWithTimeout creates a new PutGuestNetworkInterfaceByIDParams object with the ability to set a timeout on a request.

func (*PutGuestNetworkInterfaceByIDParams) SetBody

SetBody adds the body to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) SetContext

SetContext adds the context to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) SetDefaults

func (o *PutGuestNetworkInterfaceByIDParams) SetDefaults()

SetDefaults hydrates default values in the put guest network interface by ID params (not the query body).

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

func (*PutGuestNetworkInterfaceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) SetIfaceID

func (o *PutGuestNetworkInterfaceByIDParams) SetIfaceID(ifaceID string)

SetIfaceID adds the ifaceId to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) WithBody

WithBody adds the body to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) WithContext

WithContext adds the context to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) WithDefaults

WithDefaults hydrates default values in the put guest network interface by ID params (not the query body).

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

func (*PutGuestNetworkInterfaceByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) WithIfaceID

WithIfaceID adds the ifaceID to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) WithTimeout

WithTimeout adds the timeout to the put guest network interface by ID params

func (*PutGuestNetworkInterfaceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutGuestNetworkInterfaceByIDReader

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

PutGuestNetworkInterfaceByIDReader is a Reader for the PutGuestNetworkInterfaceByID structure.

func (*PutGuestNetworkInterfaceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutGuestVsockBadRequest

type PutGuestVsockBadRequest struct {
	Payload *models.Error
}

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

Vsock cannot be created due to bad input

func NewPutGuestVsockBadRequest

func NewPutGuestVsockBadRequest() *PutGuestVsockBadRequest

NewPutGuestVsockBadRequest creates a PutGuestVsockBadRequest with default headers values

func (*PutGuestVsockBadRequest) Error

func (o *PutGuestVsockBadRequest) Error() string

func (*PutGuestVsockBadRequest) GetPayload

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

func (*PutGuestVsockBadRequest) IsClientError

func (o *PutGuestVsockBadRequest) IsClientError() bool

IsClientError returns true when this put guest vsock bad request response has a 4xx status code

func (*PutGuestVsockBadRequest) IsCode

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

IsCode returns true when this put guest vsock bad request response a status code equal to that given

func (*PutGuestVsockBadRequest) IsRedirect

func (o *PutGuestVsockBadRequest) IsRedirect() bool

IsRedirect returns true when this put guest vsock bad request response has a 3xx status code

func (*PutGuestVsockBadRequest) IsServerError

func (o *PutGuestVsockBadRequest) IsServerError() bool

IsServerError returns true when this put guest vsock bad request response has a 5xx status code

func (*PutGuestVsockBadRequest) IsSuccess

func (o *PutGuestVsockBadRequest) IsSuccess() bool

IsSuccess returns true when this put guest vsock bad request response has a 2xx status code

func (*PutGuestVsockBadRequest) String

func (o *PutGuestVsockBadRequest) String() string

type PutGuestVsockDefault

type PutGuestVsockDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutGuestVsockDefault describes a response with status code -1, with default header values.

Internal server error

func NewPutGuestVsockDefault

func NewPutGuestVsockDefault(code int) *PutGuestVsockDefault

NewPutGuestVsockDefault creates a PutGuestVsockDefault with default headers values

func (*PutGuestVsockDefault) Code

func (o *PutGuestVsockDefault) Code() int

Code gets the status code for the put guest vsock default response

func (*PutGuestVsockDefault) Error

func (o *PutGuestVsockDefault) Error() string

func (*PutGuestVsockDefault) GetPayload

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

func (*PutGuestVsockDefault) IsClientError

func (o *PutGuestVsockDefault) IsClientError() bool

IsClientError returns true when this put guest vsock default response has a 4xx status code

func (*PutGuestVsockDefault) IsCode

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

IsCode returns true when this put guest vsock default response a status code equal to that given

func (*PutGuestVsockDefault) IsRedirect

func (o *PutGuestVsockDefault) IsRedirect() bool

IsRedirect returns true when this put guest vsock default response has a 3xx status code

func (*PutGuestVsockDefault) IsServerError

func (o *PutGuestVsockDefault) IsServerError() bool

IsServerError returns true when this put guest vsock default response has a 5xx status code

func (*PutGuestVsockDefault) IsSuccess

func (o *PutGuestVsockDefault) IsSuccess() bool

IsSuccess returns true when this put guest vsock default response has a 2xx status code

func (*PutGuestVsockDefault) String

func (o *PutGuestVsockDefault) String() string

type PutGuestVsockNoContent

type PutGuestVsockNoContent struct {
}

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

Vsock created/updated

func NewPutGuestVsockNoContent

func NewPutGuestVsockNoContent() *PutGuestVsockNoContent

NewPutGuestVsockNoContent creates a PutGuestVsockNoContent with default headers values

func (*PutGuestVsockNoContent) Error

func (o *PutGuestVsockNoContent) Error() string

func (*PutGuestVsockNoContent) IsClientError

func (o *PutGuestVsockNoContent) IsClientError() bool

IsClientError returns true when this put guest vsock no content response has a 4xx status code

func (*PutGuestVsockNoContent) IsCode

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

IsCode returns true when this put guest vsock no content response a status code equal to that given

func (*PutGuestVsockNoContent) IsRedirect

func (o *PutGuestVsockNoContent) IsRedirect() bool

IsRedirect returns true when this put guest vsock no content response has a 3xx status code

func (*PutGuestVsockNoContent) IsServerError

func (o *PutGuestVsockNoContent) IsServerError() bool

IsServerError returns true when this put guest vsock no content response has a 5xx status code

func (*PutGuestVsockNoContent) IsSuccess

func (o *PutGuestVsockNoContent) IsSuccess() bool

IsSuccess returns true when this put guest vsock no content response has a 2xx status code

func (*PutGuestVsockNoContent) String

func (o *PutGuestVsockNoContent) String() string

type PutGuestVsockParams

type PutGuestVsockParams struct {

	/* Body.

	   Guest vsock properties
	*/
	Body *models.Vsock

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

PutGuestVsockParams contains all the parameters to send to the API endpoint

for the put guest vsock operation.

Typically these are written to a http.Request.

func NewPutGuestVsockParams

func NewPutGuestVsockParams() *PutGuestVsockParams

NewPutGuestVsockParams creates a new PutGuestVsockParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutGuestVsockParamsWithContext

func NewPutGuestVsockParamsWithContext(ctx context.Context) *PutGuestVsockParams

NewPutGuestVsockParamsWithContext creates a new PutGuestVsockParams object with the ability to set a context for a request.

func NewPutGuestVsockParamsWithHTTPClient

func NewPutGuestVsockParamsWithHTTPClient(client *http.Client) *PutGuestVsockParams

NewPutGuestVsockParamsWithHTTPClient creates a new PutGuestVsockParams object with the ability to set a custom HTTPClient for a request.

func NewPutGuestVsockParamsWithTimeout

func NewPutGuestVsockParamsWithTimeout(timeout time.Duration) *PutGuestVsockParams

NewPutGuestVsockParamsWithTimeout creates a new PutGuestVsockParams object with the ability to set a timeout on a request.

func (*PutGuestVsockParams) SetBody

func (o *PutGuestVsockParams) SetBody(body *models.Vsock)

SetBody adds the body to the put guest vsock params

func (*PutGuestVsockParams) SetContext

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

SetContext adds the context to the put guest vsock params

func (*PutGuestVsockParams) SetDefaults

func (o *PutGuestVsockParams) SetDefaults()

SetDefaults hydrates default values in the put guest vsock params (not the query body).

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

func (*PutGuestVsockParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put guest vsock params

func (*PutGuestVsockParams) SetTimeout

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

SetTimeout adds the timeout to the put guest vsock params

func (*PutGuestVsockParams) WithBody

WithBody adds the body to the put guest vsock params

func (*PutGuestVsockParams) WithContext

WithContext adds the context to the put guest vsock params

func (*PutGuestVsockParams) WithDefaults

func (o *PutGuestVsockParams) WithDefaults() *PutGuestVsockParams

WithDefaults hydrates default values in the put guest vsock params (not the query body).

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

func (*PutGuestVsockParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put guest vsock params

func (*PutGuestVsockParams) WithTimeout

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

WithTimeout adds the timeout to the put guest vsock params

func (*PutGuestVsockParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutGuestVsockReader

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

PutGuestVsockReader is a Reader for the PutGuestVsock structure.

func (*PutGuestVsockReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutLoggerBadRequest

type PutLoggerBadRequest struct {
	Payload *models.Error
}

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

Logger cannot be initialized due to bad input.

func NewPutLoggerBadRequest

func NewPutLoggerBadRequest() *PutLoggerBadRequest

NewPutLoggerBadRequest creates a PutLoggerBadRequest with default headers values

func (*PutLoggerBadRequest) Error

func (o *PutLoggerBadRequest) Error() string

func (*PutLoggerBadRequest) GetPayload

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

func (*PutLoggerBadRequest) IsClientError

func (o *PutLoggerBadRequest) IsClientError() bool

IsClientError returns true when this put logger bad request response has a 4xx status code

func (*PutLoggerBadRequest) IsCode

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

IsCode returns true when this put logger bad request response a status code equal to that given

func (*PutLoggerBadRequest) IsRedirect

func (o *PutLoggerBadRequest) IsRedirect() bool

IsRedirect returns true when this put logger bad request response has a 3xx status code

func (*PutLoggerBadRequest) IsServerError

func (o *PutLoggerBadRequest) IsServerError() bool

IsServerError returns true when this put logger bad request response has a 5xx status code

func (*PutLoggerBadRequest) IsSuccess

func (o *PutLoggerBadRequest) IsSuccess() bool

IsSuccess returns true when this put logger bad request response has a 2xx status code

func (*PutLoggerBadRequest) String

func (o *PutLoggerBadRequest) String() string

type PutLoggerDefault

type PutLoggerDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutLoggerDefault describes a response with status code -1, with default header values.

Internal server error.

func NewPutLoggerDefault

func NewPutLoggerDefault(code int) *PutLoggerDefault

NewPutLoggerDefault creates a PutLoggerDefault with default headers values

func (*PutLoggerDefault) Code

func (o *PutLoggerDefault) Code() int

Code gets the status code for the put logger default response

func (*PutLoggerDefault) Error

func (o *PutLoggerDefault) Error() string

func (*PutLoggerDefault) GetPayload

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

func (*PutLoggerDefault) IsClientError

func (o *PutLoggerDefault) IsClientError() bool

IsClientError returns true when this put logger default response has a 4xx status code

func (*PutLoggerDefault) IsCode

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

IsCode returns true when this put logger default response a status code equal to that given

func (*PutLoggerDefault) IsRedirect

func (o *PutLoggerDefault) IsRedirect() bool

IsRedirect returns true when this put logger default response has a 3xx status code

func (*PutLoggerDefault) IsServerError

func (o *PutLoggerDefault) IsServerError() bool

IsServerError returns true when this put logger default response has a 5xx status code

func (*PutLoggerDefault) IsSuccess

func (o *PutLoggerDefault) IsSuccess() bool

IsSuccess returns true when this put logger default response has a 2xx status code

func (*PutLoggerDefault) String

func (o *PutLoggerDefault) String() string

type PutLoggerNoContent

type PutLoggerNoContent struct {
}

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

Logger created.

func NewPutLoggerNoContent

func NewPutLoggerNoContent() *PutLoggerNoContent

NewPutLoggerNoContent creates a PutLoggerNoContent with default headers values

func (*PutLoggerNoContent) Error

func (o *PutLoggerNoContent) Error() string

func (*PutLoggerNoContent) IsClientError

func (o *PutLoggerNoContent) IsClientError() bool

IsClientError returns true when this put logger no content response has a 4xx status code

func (*PutLoggerNoContent) IsCode

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

IsCode returns true when this put logger no content response a status code equal to that given

func (*PutLoggerNoContent) IsRedirect

func (o *PutLoggerNoContent) IsRedirect() bool

IsRedirect returns true when this put logger no content response has a 3xx status code

func (*PutLoggerNoContent) IsServerError

func (o *PutLoggerNoContent) IsServerError() bool

IsServerError returns true when this put logger no content response has a 5xx status code

func (*PutLoggerNoContent) IsSuccess

func (o *PutLoggerNoContent) IsSuccess() bool

IsSuccess returns true when this put logger no content response has a 2xx status code

func (*PutLoggerNoContent) String

func (o *PutLoggerNoContent) String() string

type PutLoggerParams

type PutLoggerParams struct {

	/* Body.

	   Logging system description
	*/
	Body *models.Logger

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

PutLoggerParams contains all the parameters to send to the API endpoint

for the put logger operation.

Typically these are written to a http.Request.

func NewPutLoggerParams

func NewPutLoggerParams() *PutLoggerParams

NewPutLoggerParams creates a new PutLoggerParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutLoggerParamsWithContext

func NewPutLoggerParamsWithContext(ctx context.Context) *PutLoggerParams

NewPutLoggerParamsWithContext creates a new PutLoggerParams object with the ability to set a context for a request.

func NewPutLoggerParamsWithHTTPClient

func NewPutLoggerParamsWithHTTPClient(client *http.Client) *PutLoggerParams

NewPutLoggerParamsWithHTTPClient creates a new PutLoggerParams object with the ability to set a custom HTTPClient for a request.

func NewPutLoggerParamsWithTimeout

func NewPutLoggerParamsWithTimeout(timeout time.Duration) *PutLoggerParams

NewPutLoggerParamsWithTimeout creates a new PutLoggerParams object with the ability to set a timeout on a request.

func (*PutLoggerParams) SetBody

func (o *PutLoggerParams) SetBody(body *models.Logger)

SetBody adds the body to the put logger params

func (*PutLoggerParams) SetContext

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

SetContext adds the context to the put logger params

func (*PutLoggerParams) SetDefaults

func (o *PutLoggerParams) SetDefaults()

SetDefaults hydrates default values in the put logger params (not the query body).

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

func (*PutLoggerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put logger params

func (*PutLoggerParams) SetTimeout

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

SetTimeout adds the timeout to the put logger params

func (*PutLoggerParams) WithBody

func (o *PutLoggerParams) WithBody(body *models.Logger) *PutLoggerParams

WithBody adds the body to the put logger params

func (*PutLoggerParams) WithContext

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

WithContext adds the context to the put logger params

func (*PutLoggerParams) WithDefaults

func (o *PutLoggerParams) WithDefaults() *PutLoggerParams

WithDefaults hydrates default values in the put logger params (not the query body).

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

func (*PutLoggerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put logger params

func (*PutLoggerParams) WithTimeout

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

WithTimeout adds the timeout to the put logger params

func (*PutLoggerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutLoggerReader

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

PutLoggerReader is a Reader for the PutLogger structure.

func (*PutLoggerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutMachineConfigurationBadRequest

type PutMachineConfigurationBadRequest struct {
	Payload *models.Error
}

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

Machine Configuration cannot be updated due to bad input

func NewPutMachineConfigurationBadRequest

func NewPutMachineConfigurationBadRequest() *PutMachineConfigurationBadRequest

NewPutMachineConfigurationBadRequest creates a PutMachineConfigurationBadRequest with default headers values

func (*PutMachineConfigurationBadRequest) Error

func (*PutMachineConfigurationBadRequest) GetPayload

func (*PutMachineConfigurationBadRequest) IsClientError

func (o *PutMachineConfigurationBadRequest) IsClientError() bool

IsClientError returns true when this put machine configuration bad request response has a 4xx status code

func (*PutMachineConfigurationBadRequest) IsCode

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

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

func (*PutMachineConfigurationBadRequest) IsRedirect

func (o *PutMachineConfigurationBadRequest) IsRedirect() bool

IsRedirect returns true when this put machine configuration bad request response has a 3xx status code

func (*PutMachineConfigurationBadRequest) IsServerError

func (o *PutMachineConfigurationBadRequest) IsServerError() bool

IsServerError returns true when this put machine configuration bad request response has a 5xx status code

func (*PutMachineConfigurationBadRequest) IsSuccess

func (o *PutMachineConfigurationBadRequest) IsSuccess() bool

IsSuccess returns true when this put machine configuration bad request response has a 2xx status code

func (*PutMachineConfigurationBadRequest) String

type PutMachineConfigurationDefault

type PutMachineConfigurationDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutMachineConfigurationDefault describes a response with status code -1, with default header values.

Internal server error

func NewPutMachineConfigurationDefault

func NewPutMachineConfigurationDefault(code int) *PutMachineConfigurationDefault

NewPutMachineConfigurationDefault creates a PutMachineConfigurationDefault with default headers values

func (*PutMachineConfigurationDefault) Code

Code gets the status code for the put machine configuration default response

func (*PutMachineConfigurationDefault) Error

func (*PutMachineConfigurationDefault) GetPayload

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

func (*PutMachineConfigurationDefault) IsClientError

func (o *PutMachineConfigurationDefault) IsClientError() bool

IsClientError returns true when this put machine configuration default response has a 4xx status code

func (*PutMachineConfigurationDefault) IsCode

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

IsCode returns true when this put machine configuration default response a status code equal to that given

func (*PutMachineConfigurationDefault) IsRedirect

func (o *PutMachineConfigurationDefault) IsRedirect() bool

IsRedirect returns true when this put machine configuration default response has a 3xx status code

func (*PutMachineConfigurationDefault) IsServerError

func (o *PutMachineConfigurationDefault) IsServerError() bool

IsServerError returns true when this put machine configuration default response has a 5xx status code

func (*PutMachineConfigurationDefault) IsSuccess

func (o *PutMachineConfigurationDefault) IsSuccess() bool

IsSuccess returns true when this put machine configuration default response has a 2xx status code

func (*PutMachineConfigurationDefault) String

type PutMachineConfigurationNoContent

type PutMachineConfigurationNoContent struct {
}

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

Machine Configuration created/updated

func NewPutMachineConfigurationNoContent

func NewPutMachineConfigurationNoContent() *PutMachineConfigurationNoContent

NewPutMachineConfigurationNoContent creates a PutMachineConfigurationNoContent with default headers values

func (*PutMachineConfigurationNoContent) Error

func (*PutMachineConfigurationNoContent) IsClientError

func (o *PutMachineConfigurationNoContent) IsClientError() bool

IsClientError returns true when this put machine configuration no content response has a 4xx status code

func (*PutMachineConfigurationNoContent) IsCode

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

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

func (*PutMachineConfigurationNoContent) IsRedirect

func (o *PutMachineConfigurationNoContent) IsRedirect() bool

IsRedirect returns true when this put machine configuration no content response has a 3xx status code

func (*PutMachineConfigurationNoContent) IsServerError

func (o *PutMachineConfigurationNoContent) IsServerError() bool

IsServerError returns true when this put machine configuration no content response has a 5xx status code

func (*PutMachineConfigurationNoContent) IsSuccess

func (o *PutMachineConfigurationNoContent) IsSuccess() bool

IsSuccess returns true when this put machine configuration no content response has a 2xx status code

func (*PutMachineConfigurationNoContent) String

type PutMachineConfigurationParams

type PutMachineConfigurationParams struct {

	/* Body.

	   Machine Configuration Parameters
	*/
	Body *models.MachineConfiguration

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

PutMachineConfigurationParams contains all the parameters to send to the API endpoint

for the put machine configuration operation.

Typically these are written to a http.Request.

func NewPutMachineConfigurationParams

func NewPutMachineConfigurationParams() *PutMachineConfigurationParams

NewPutMachineConfigurationParams creates a new PutMachineConfigurationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutMachineConfigurationParamsWithContext

func NewPutMachineConfigurationParamsWithContext(ctx context.Context) *PutMachineConfigurationParams

NewPutMachineConfigurationParamsWithContext creates a new PutMachineConfigurationParams object with the ability to set a context for a request.

func NewPutMachineConfigurationParamsWithHTTPClient

func NewPutMachineConfigurationParamsWithHTTPClient(client *http.Client) *PutMachineConfigurationParams

NewPutMachineConfigurationParamsWithHTTPClient creates a new PutMachineConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewPutMachineConfigurationParamsWithTimeout

func NewPutMachineConfigurationParamsWithTimeout(timeout time.Duration) *PutMachineConfigurationParams

NewPutMachineConfigurationParamsWithTimeout creates a new PutMachineConfigurationParams object with the ability to set a timeout on a request.

func (*PutMachineConfigurationParams) SetBody

SetBody adds the body to the put machine configuration params

func (*PutMachineConfigurationParams) SetContext

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

SetContext adds the context to the put machine configuration params

func (*PutMachineConfigurationParams) SetDefaults

func (o *PutMachineConfigurationParams) SetDefaults()

SetDefaults hydrates default values in the put machine configuration params (not the query body).

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

func (*PutMachineConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put machine configuration params

func (*PutMachineConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the put machine configuration params

func (*PutMachineConfigurationParams) WithBody

WithBody adds the body to the put machine configuration params

func (*PutMachineConfigurationParams) WithContext

WithContext adds the context to the put machine configuration params

func (*PutMachineConfigurationParams) WithDefaults

WithDefaults hydrates default values in the put machine configuration params (not the query body).

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

func (*PutMachineConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put machine configuration params

func (*PutMachineConfigurationParams) WithTimeout

WithTimeout adds the timeout to the put machine configuration params

func (*PutMachineConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutMachineConfigurationReader

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

PutMachineConfigurationReader is a Reader for the PutMachineConfiguration structure.

func (*PutMachineConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutMetricsBadRequest

type PutMetricsBadRequest struct {
	Payload *models.Error
}

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

Metrics system cannot be initialized due to bad input request or metrics system already initialized.

func NewPutMetricsBadRequest

func NewPutMetricsBadRequest() *PutMetricsBadRequest

NewPutMetricsBadRequest creates a PutMetricsBadRequest with default headers values

func (*PutMetricsBadRequest) Error

func (o *PutMetricsBadRequest) Error() string

func (*PutMetricsBadRequest) GetPayload

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

func (*PutMetricsBadRequest) IsClientError

func (o *PutMetricsBadRequest) IsClientError() bool

IsClientError returns true when this put metrics bad request response has a 4xx status code

func (*PutMetricsBadRequest) IsCode

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

IsCode returns true when this put metrics bad request response a status code equal to that given

func (*PutMetricsBadRequest) IsRedirect

func (o *PutMetricsBadRequest) IsRedirect() bool

IsRedirect returns true when this put metrics bad request response has a 3xx status code

func (*PutMetricsBadRequest) IsServerError

func (o *PutMetricsBadRequest) IsServerError() bool

IsServerError returns true when this put metrics bad request response has a 5xx status code

func (*PutMetricsBadRequest) IsSuccess

func (o *PutMetricsBadRequest) IsSuccess() bool

IsSuccess returns true when this put metrics bad request response has a 2xx status code

func (*PutMetricsBadRequest) String

func (o *PutMetricsBadRequest) String() string

type PutMetricsDefault

type PutMetricsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutMetricsDefault describes a response with status code -1, with default header values.

Internal server error.

func NewPutMetricsDefault

func NewPutMetricsDefault(code int) *PutMetricsDefault

NewPutMetricsDefault creates a PutMetricsDefault with default headers values

func (*PutMetricsDefault) Code

func (o *PutMetricsDefault) Code() int

Code gets the status code for the put metrics default response

func (*PutMetricsDefault) Error

func (o *PutMetricsDefault) Error() string

func (*PutMetricsDefault) GetPayload

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

func (*PutMetricsDefault) IsClientError

func (o *PutMetricsDefault) IsClientError() bool

IsClientError returns true when this put metrics default response has a 4xx status code

func (*PutMetricsDefault) IsCode

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

IsCode returns true when this put metrics default response a status code equal to that given

func (*PutMetricsDefault) IsRedirect

func (o *PutMetricsDefault) IsRedirect() bool

IsRedirect returns true when this put metrics default response has a 3xx status code

func (*PutMetricsDefault) IsServerError

func (o *PutMetricsDefault) IsServerError() bool

IsServerError returns true when this put metrics default response has a 5xx status code

func (*PutMetricsDefault) IsSuccess

func (o *PutMetricsDefault) IsSuccess() bool

IsSuccess returns true when this put metrics default response has a 2xx status code

func (*PutMetricsDefault) String

func (o *PutMetricsDefault) String() string

type PutMetricsNoContent

type PutMetricsNoContent struct {
}

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

Metrics system created.

func NewPutMetricsNoContent

func NewPutMetricsNoContent() *PutMetricsNoContent

NewPutMetricsNoContent creates a PutMetricsNoContent with default headers values

func (*PutMetricsNoContent) Error

func (o *PutMetricsNoContent) Error() string

func (*PutMetricsNoContent) IsClientError

func (o *PutMetricsNoContent) IsClientError() bool

IsClientError returns true when this put metrics no content response has a 4xx status code

func (*PutMetricsNoContent) IsCode

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

IsCode returns true when this put metrics no content response a status code equal to that given

func (*PutMetricsNoContent) IsRedirect

func (o *PutMetricsNoContent) IsRedirect() bool

IsRedirect returns true when this put metrics no content response has a 3xx status code

func (*PutMetricsNoContent) IsServerError

func (o *PutMetricsNoContent) IsServerError() bool

IsServerError returns true when this put metrics no content response has a 5xx status code

func (*PutMetricsNoContent) IsSuccess

func (o *PutMetricsNoContent) IsSuccess() bool

IsSuccess returns true when this put metrics no content response has a 2xx status code

func (*PutMetricsNoContent) String

func (o *PutMetricsNoContent) String() string

type PutMetricsParams

type PutMetricsParams struct {

	/* Body.

	   Metrics system description
	*/
	Body *models.Metrics

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

PutMetricsParams contains all the parameters to send to the API endpoint

for the put metrics operation.

Typically these are written to a http.Request.

func NewPutMetricsParams

func NewPutMetricsParams() *PutMetricsParams

NewPutMetricsParams creates a new PutMetricsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutMetricsParamsWithContext

func NewPutMetricsParamsWithContext(ctx context.Context) *PutMetricsParams

NewPutMetricsParamsWithContext creates a new PutMetricsParams object with the ability to set a context for a request.

func NewPutMetricsParamsWithHTTPClient

func NewPutMetricsParamsWithHTTPClient(client *http.Client) *PutMetricsParams

NewPutMetricsParamsWithHTTPClient creates a new PutMetricsParams object with the ability to set a custom HTTPClient for a request.

func NewPutMetricsParamsWithTimeout

func NewPutMetricsParamsWithTimeout(timeout time.Duration) *PutMetricsParams

NewPutMetricsParamsWithTimeout creates a new PutMetricsParams object with the ability to set a timeout on a request.

func (*PutMetricsParams) SetBody

func (o *PutMetricsParams) SetBody(body *models.Metrics)

SetBody adds the body to the put metrics params

func (*PutMetricsParams) SetContext

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

SetContext adds the context to the put metrics params

func (*PutMetricsParams) SetDefaults

func (o *PutMetricsParams) SetDefaults()

SetDefaults hydrates default values in the put metrics params (not the query body).

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

func (*PutMetricsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put metrics params

func (*PutMetricsParams) SetTimeout

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

SetTimeout adds the timeout to the put metrics params

func (*PutMetricsParams) WithBody

func (o *PutMetricsParams) WithBody(body *models.Metrics) *PutMetricsParams

WithBody adds the body to the put metrics params

func (*PutMetricsParams) WithContext

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

WithContext adds the context to the put metrics params

func (*PutMetricsParams) WithDefaults

func (o *PutMetricsParams) WithDefaults() *PutMetricsParams

WithDefaults hydrates default values in the put metrics params (not the query body).

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

func (*PutMetricsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put metrics params

func (*PutMetricsParams) WithTimeout

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

WithTimeout adds the timeout to the put metrics params

func (*PutMetricsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutMetricsReader

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

PutMetricsReader is a Reader for the PutMetrics structure.

func (*PutMetricsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutMmdsBadRequest

type PutMmdsBadRequest struct {
	Payload *models.Error
}

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

MMDS data store cannot be created due to bad input.

func NewPutMmdsBadRequest

func NewPutMmdsBadRequest() *PutMmdsBadRequest

NewPutMmdsBadRequest creates a PutMmdsBadRequest with default headers values

func (*PutMmdsBadRequest) Error

func (o *PutMmdsBadRequest) Error() string

func (*PutMmdsBadRequest) GetPayload

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

func (*PutMmdsBadRequest) IsClientError

func (o *PutMmdsBadRequest) IsClientError() bool

IsClientError returns true when this put mmds bad request response has a 4xx status code

func (*PutMmdsBadRequest) IsCode

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

IsCode returns true when this put mmds bad request response a status code equal to that given

func (*PutMmdsBadRequest) IsRedirect

func (o *PutMmdsBadRequest) IsRedirect() bool

IsRedirect returns true when this put mmds bad request response has a 3xx status code

func (*PutMmdsBadRequest) IsServerError

func (o *PutMmdsBadRequest) IsServerError() bool

IsServerError returns true when this put mmds bad request response has a 5xx status code

func (*PutMmdsBadRequest) IsSuccess

func (o *PutMmdsBadRequest) IsSuccess() bool

IsSuccess returns true when this put mmds bad request response has a 2xx status code

func (*PutMmdsBadRequest) String

func (o *PutMmdsBadRequest) String() string

type PutMmdsConfigBadRequest

type PutMmdsConfigBadRequest struct {
	Payload *models.Error
}

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

MMDS configuration cannot be updated due to bad input.

func NewPutMmdsConfigBadRequest

func NewPutMmdsConfigBadRequest() *PutMmdsConfigBadRequest

NewPutMmdsConfigBadRequest creates a PutMmdsConfigBadRequest with default headers values

func (*PutMmdsConfigBadRequest) Error

func (o *PutMmdsConfigBadRequest) Error() string

func (*PutMmdsConfigBadRequest) GetPayload

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

func (*PutMmdsConfigBadRequest) IsClientError

func (o *PutMmdsConfigBadRequest) IsClientError() bool

IsClientError returns true when this put mmds config bad request response has a 4xx status code

func (*PutMmdsConfigBadRequest) IsCode

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

IsCode returns true when this put mmds config bad request response a status code equal to that given

func (*PutMmdsConfigBadRequest) IsRedirect

func (o *PutMmdsConfigBadRequest) IsRedirect() bool

IsRedirect returns true when this put mmds config bad request response has a 3xx status code

func (*PutMmdsConfigBadRequest) IsServerError

func (o *PutMmdsConfigBadRequest) IsServerError() bool

IsServerError returns true when this put mmds config bad request response has a 5xx status code

func (*PutMmdsConfigBadRequest) IsSuccess

func (o *PutMmdsConfigBadRequest) IsSuccess() bool

IsSuccess returns true when this put mmds config bad request response has a 2xx status code

func (*PutMmdsConfigBadRequest) String

func (o *PutMmdsConfigBadRequest) String() string

type PutMmdsConfigDefault

type PutMmdsConfigDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutMmdsConfigDefault describes a response with status code -1, with default header values.

Internal server error

func NewPutMmdsConfigDefault

func NewPutMmdsConfigDefault(code int) *PutMmdsConfigDefault

NewPutMmdsConfigDefault creates a PutMmdsConfigDefault with default headers values

func (*PutMmdsConfigDefault) Code

func (o *PutMmdsConfigDefault) Code() int

Code gets the status code for the put mmds config default response

func (*PutMmdsConfigDefault) Error

func (o *PutMmdsConfigDefault) Error() string

func (*PutMmdsConfigDefault) GetPayload

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

func (*PutMmdsConfigDefault) IsClientError

func (o *PutMmdsConfigDefault) IsClientError() bool

IsClientError returns true when this put mmds config default response has a 4xx status code

func (*PutMmdsConfigDefault) IsCode

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

IsCode returns true when this put mmds config default response a status code equal to that given

func (*PutMmdsConfigDefault) IsRedirect

func (o *PutMmdsConfigDefault) IsRedirect() bool

IsRedirect returns true when this put mmds config default response has a 3xx status code

func (*PutMmdsConfigDefault) IsServerError

func (o *PutMmdsConfigDefault) IsServerError() bool

IsServerError returns true when this put mmds config default response has a 5xx status code

func (*PutMmdsConfigDefault) IsSuccess

func (o *PutMmdsConfigDefault) IsSuccess() bool

IsSuccess returns true when this put mmds config default response has a 2xx status code

func (*PutMmdsConfigDefault) String

func (o *PutMmdsConfigDefault) String() string

type PutMmdsConfigNoContent

type PutMmdsConfigNoContent struct {
}

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

MMDS configuration was created/updated.

func NewPutMmdsConfigNoContent

func NewPutMmdsConfigNoContent() *PutMmdsConfigNoContent

NewPutMmdsConfigNoContent creates a PutMmdsConfigNoContent with default headers values

func (*PutMmdsConfigNoContent) Error

func (o *PutMmdsConfigNoContent) Error() string

func (*PutMmdsConfigNoContent) IsClientError

func (o *PutMmdsConfigNoContent) IsClientError() bool

IsClientError returns true when this put mmds config no content response has a 4xx status code

func (*PutMmdsConfigNoContent) IsCode

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

IsCode returns true when this put mmds config no content response a status code equal to that given

func (*PutMmdsConfigNoContent) IsRedirect

func (o *PutMmdsConfigNoContent) IsRedirect() bool

IsRedirect returns true when this put mmds config no content response has a 3xx status code

func (*PutMmdsConfigNoContent) IsServerError

func (o *PutMmdsConfigNoContent) IsServerError() bool

IsServerError returns true when this put mmds config no content response has a 5xx status code

func (*PutMmdsConfigNoContent) IsSuccess

func (o *PutMmdsConfigNoContent) IsSuccess() bool

IsSuccess returns true when this put mmds config no content response has a 2xx status code

func (*PutMmdsConfigNoContent) String

func (o *PutMmdsConfigNoContent) String() string

type PutMmdsConfigParams

type PutMmdsConfigParams struct {

	/* Body.

	   The MMDS configuration as JSON.
	*/
	Body *models.MmdsConfig

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

PutMmdsConfigParams contains all the parameters to send to the API endpoint

for the put mmds config operation.

Typically these are written to a http.Request.

func NewPutMmdsConfigParams

func NewPutMmdsConfigParams() *PutMmdsConfigParams

NewPutMmdsConfigParams creates a new PutMmdsConfigParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutMmdsConfigParamsWithContext

func NewPutMmdsConfigParamsWithContext(ctx context.Context) *PutMmdsConfigParams

NewPutMmdsConfigParamsWithContext creates a new PutMmdsConfigParams object with the ability to set a context for a request.

func NewPutMmdsConfigParamsWithHTTPClient

func NewPutMmdsConfigParamsWithHTTPClient(client *http.Client) *PutMmdsConfigParams

NewPutMmdsConfigParamsWithHTTPClient creates a new PutMmdsConfigParams object with the ability to set a custom HTTPClient for a request.

func NewPutMmdsConfigParamsWithTimeout

func NewPutMmdsConfigParamsWithTimeout(timeout time.Duration) *PutMmdsConfigParams

NewPutMmdsConfigParamsWithTimeout creates a new PutMmdsConfigParams object with the ability to set a timeout on a request.

func (*PutMmdsConfigParams) SetBody

func (o *PutMmdsConfigParams) SetBody(body *models.MmdsConfig)

SetBody adds the body to the put mmds config params

func (*PutMmdsConfigParams) SetContext

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

SetContext adds the context to the put mmds config params

func (*PutMmdsConfigParams) SetDefaults

func (o *PutMmdsConfigParams) SetDefaults()

SetDefaults hydrates default values in the put mmds config params (not the query body).

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

func (*PutMmdsConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put mmds config params

func (*PutMmdsConfigParams) SetTimeout

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

SetTimeout adds the timeout to the put mmds config params

func (*PutMmdsConfigParams) WithBody

WithBody adds the body to the put mmds config params

func (*PutMmdsConfigParams) WithContext

WithContext adds the context to the put mmds config params

func (*PutMmdsConfigParams) WithDefaults

func (o *PutMmdsConfigParams) WithDefaults() *PutMmdsConfigParams

WithDefaults hydrates default values in the put mmds config params (not the query body).

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

func (*PutMmdsConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put mmds config params

func (*PutMmdsConfigParams) WithTimeout

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

WithTimeout adds the timeout to the put mmds config params

func (*PutMmdsConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutMmdsConfigReader

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

PutMmdsConfigReader is a Reader for the PutMmdsConfig structure.

func (*PutMmdsConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutMmdsDefault

type PutMmdsDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

PutMmdsDefault describes a response with status code -1, with default header values.

Internal server error

func NewPutMmdsDefault

func NewPutMmdsDefault(code int) *PutMmdsDefault

NewPutMmdsDefault creates a PutMmdsDefault with default headers values

func (*PutMmdsDefault) Code

func (o *PutMmdsDefault) Code() int

Code gets the status code for the put mmds default response

func (*PutMmdsDefault) Error

func (o *PutMmdsDefault) Error() string

func (*PutMmdsDefault) GetPayload

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

func (*PutMmdsDefault) IsClientError

func (o *PutMmdsDefault) IsClientError() bool

IsClientError returns true when this put mmds default response has a 4xx status code

func (*PutMmdsDefault) IsCode

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

IsCode returns true when this put mmds default response a status code equal to that given

func (*PutMmdsDefault) IsRedirect

func (o *PutMmdsDefault) IsRedirect() bool

IsRedirect returns true when this put mmds default response has a 3xx status code

func (*PutMmdsDefault) IsServerError

func (o *PutMmdsDefault) IsServerError() bool

IsServerError returns true when this put mmds default response has a 5xx status code

func (*PutMmdsDefault) IsSuccess

func (o *PutMmdsDefault) IsSuccess() bool

IsSuccess returns true when this put mmds default response has a 2xx status code

func (*PutMmdsDefault) String

func (o *PutMmdsDefault) String() string

type PutMmdsNoContent

type PutMmdsNoContent struct {
}

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

MMDS data store created/updated.

func NewPutMmdsNoContent

func NewPutMmdsNoContent() *PutMmdsNoContent

NewPutMmdsNoContent creates a PutMmdsNoContent with default headers values

func (*PutMmdsNoContent) Error

func (o *PutMmdsNoContent) Error() string

func (*PutMmdsNoContent) IsClientError

func (o *PutMmdsNoContent) IsClientError() bool

IsClientError returns true when this put mmds no content response has a 4xx status code

func (*PutMmdsNoContent) IsCode

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

IsCode returns true when this put mmds no content response a status code equal to that given

func (*PutMmdsNoContent) IsRedirect

func (o *PutMmdsNoContent) IsRedirect() bool

IsRedirect returns true when this put mmds no content response has a 3xx status code

func (*PutMmdsNoContent) IsServerError

func (o *PutMmdsNoContent) IsServerError() bool

IsServerError returns true when this put mmds no content response has a 5xx status code

func (*PutMmdsNoContent) IsSuccess

func (o *PutMmdsNoContent) IsSuccess() bool

IsSuccess returns true when this put mmds no content response has a 2xx status code

func (*PutMmdsNoContent) String

func (o *PutMmdsNoContent) String() string

type PutMmdsParams

type PutMmdsParams struct {

	/* Body.

	   The MMDS data store as JSON.
	*/
	Body models.MmdsContentsObject

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

PutMmdsParams contains all the parameters to send to the API endpoint

for the put mmds operation.

Typically these are written to a http.Request.

func NewPutMmdsParams

func NewPutMmdsParams() *PutMmdsParams

NewPutMmdsParams creates a new PutMmdsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutMmdsParamsWithContext

func NewPutMmdsParamsWithContext(ctx context.Context) *PutMmdsParams

NewPutMmdsParamsWithContext creates a new PutMmdsParams object with the ability to set a context for a request.

func NewPutMmdsParamsWithHTTPClient

func NewPutMmdsParamsWithHTTPClient(client *http.Client) *PutMmdsParams

NewPutMmdsParamsWithHTTPClient creates a new PutMmdsParams object with the ability to set a custom HTTPClient for a request.

func NewPutMmdsParamsWithTimeout

func NewPutMmdsParamsWithTimeout(timeout time.Duration) *PutMmdsParams

NewPutMmdsParamsWithTimeout creates a new PutMmdsParams object with the ability to set a timeout on a request.

func (*PutMmdsParams) SetBody

func (o *PutMmdsParams) SetBody(body models.MmdsContentsObject)

SetBody adds the body to the put mmds params

func (*PutMmdsParams) SetContext

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

SetContext adds the context to the put mmds params

func (*PutMmdsParams) SetDefaults

func (o *PutMmdsParams) SetDefaults()

SetDefaults hydrates default values in the put mmds params (not the query body).

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

func (*PutMmdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put mmds params

func (*PutMmdsParams) SetTimeout

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

SetTimeout adds the timeout to the put mmds params

func (*PutMmdsParams) WithBody

WithBody adds the body to the put mmds params

func (*PutMmdsParams) WithContext

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

WithContext adds the context to the put mmds params

func (*PutMmdsParams) WithDefaults

func (o *PutMmdsParams) WithDefaults() *PutMmdsParams

WithDefaults hydrates default values in the put mmds params (not the query body).

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

func (*PutMmdsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the put mmds params

func (*PutMmdsParams) WithTimeout

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

WithTimeout adds the timeout to the put mmds params

func (*PutMmdsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PutMmdsReader

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

PutMmdsReader is a Reader for the PutMmds structure.

func (*PutMmdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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