host_migration

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 11 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 host migration API

func (*Client) CreateMigrationV1

func (a *Client) CreateMigrationV1(params *CreateMigrationV1Params, opts ...ClientOption) (*CreateMigrationV1Created, error)

CreateMigrationV1 creates a device migration job

`device_ids` and `filter` are mutually exclusive. Filter takes precedence.

func (*Client) GetHostMigrationIDsV1

func (a *Client) GetHostMigrationIDsV1(params *GetHostMigrationIDsV1Params, opts ...ClientOption) (*GetHostMigrationIDsV1OK, error)

GetHostMigrationIDsV1 queries host migration i ds

Query host migration IDs.

func (*Client) GetHostMigrationsV1

func (a *Client) GetHostMigrationsV1(params *GetHostMigrationsV1Params, opts ...ClientOption) (*GetHostMigrationsV1OK, error)
GetHostMigrationsV1 gets host migration details

# Events

The `events` field describes actions that have occurred to the host migration entity. Each object is defined by the `action` field. When `user` is present, it is the user who performed the action. `time` is when the action occurred.

## Event actions

### added

This action is emitted when the host migration is created.

``` { "action": "added", "user": "example@example.com", "time": "2024-01-01T00:00:00Z" } ```

### assigned_static_host_groups

This action is emitted when a user assigns static host groups to a host migration. `ids` are the ids of the new host groups that have been assigned.

``` { "action": "assigned_static_host_groups", "ids": ["foo", "bar"], "user": "example@example.com", "time": "2024-01-01T00:00:00Z" } ```

### removed_static_host_groups

This action is emitted when a user removes static host groups from a host migration. `ids` are the ids of the host groups that have been removed.

``` { "action": "removed_static_host_groups", "ids": ["foo", "bar"], "user": "example@example.com", "time": "2024-01-01T00:00:00Z" } ```

### queued

This action is emitted when the migration is started.

``` { "action": "queued", "user": "example@example.com", "time": "2024-01-01T00:00:00Z" } ```

### failed

This action is emitted when the host migration fails. `reason` is the reason for failure. `reason` can be `unsupported_sensor_version`, `unsupported_sensor_platform`, `host_missing`, `migration_expired`, or `internal_error`.

``` { "action": "failed", "reason": "unsupported_sensor_version", "time": "2024-01-01T00:00:00Z" } ```

### cancelled

This action is emitted when the migration has been cancelled.

``` { "action": "cancelled", "user": "example@example.com", "time": "2024-01-01T00:00:00Z" } ```

### completed

This action is emitted when the host has successfully migrated.

``` { "action": "completed", "time": "2024-01-01T00:00:00Z" } ```

Status Details

The `status_details` field is an optional field that provides some more details about the status of a failed host migration. It may be omitted or empty from a response.

### internal_error

This status detail is provided when an internal occurs during a host migration.

### canceled_by_user

This status detail is provided when a migration has been canceled by a user.

### host_missing

This status detail is provided when a host migration is canceled because the source host can no longer be found.

### migration_expired

This status detail is provided when a host migration is expired because the migration is too old.

### migration_already_in_progress

This status detail is provided when attempting to start a host migration on a host that is already in progress in another migration.

### source_host_unsupported_version

This status detail is provided when attempting to create or start a host migration when the sensor is on an unsupported version.

### source_host_unsupported_platform

This status detail is provided when attempting to create or start a host migration when the sensor is an unsupported platform.

func (*Client) GetMigrationDestinationsV1

func (a *Client) GetMigrationDestinationsV1(params *GetMigrationDestinationsV1Params, opts ...ClientOption) (*GetMigrationDestinationsV1OK, error)

GetMigrationDestinationsV1 gets destinations for a migration

`device_ids` and `filter` are mutually exclusive.

func (*Client) GetMigrationIDsV1

func (a *Client) GetMigrationIDsV1(params *GetMigrationIDsV1Params, opts ...ClientOption) (*GetMigrationIDsV1OK, error)

GetMigrationIDsV1 queries migration jobs

func (*Client) GetMigrationsV1

func (a *Client) GetMigrationsV1(params *GetMigrationsV1Params, opts ...ClientOption) (*GetMigrationsV1OK, error)

GetMigrationsV1 gets migration job details

func (*Client) HostMigrationAggregatesV1

func (a *Client) HostMigrationAggregatesV1(params *HostMigrationAggregatesV1Params, opts ...ClientOption) (*HostMigrationAggregatesV1OK, error)
HostMigrationAggregatesV1 gets host migration aggregates as specified via json in request body

Get host migration aggregates as specified via json in request body.

Supported Types

Both types support the following FQL filter properties: `groups`, `hostgroups`, `static_host_groups`, `hostname`, `status`, `target_cid`, `source_cid`, `migration_id`, `id`, `host_migration_id`, `created_time`.

The values `groups` and `hostgroups` are aliases for `static_host_groups`.

The value `host_migration_id` is an alias for `id`

## Terms `"type": "terms"`

Supported `field` values: `groups`, `hostgroups`, `static_host_groups`, `hostname`, `status`, `target_cid`, `source_cid`, `migration_id`, `id`, `host_migration_id`.

`sort` must be done on the same value as `field` and include a direction (`asc` or `desc`). Supports all FQL fields except for `groups`, `hostgroups`, or `static_host_groups`.

Examples sort value: `status|asc` or `created_by|desc`

## Date Range `"type": "date_range"`

Supported `field` fields: `created_time`.

Does not support `sort`, `size`, or `from`.

func (*Client) HostMigrationsActionsV1

func (a *Client) HostMigrationsActionsV1(params *HostMigrationsActionsV1Params, opts ...ClientOption) (*HostMigrationsActionsV1OK, error)
HostMigrationsActionsV1 performs an action on host migrations

The available actions are `add_host_groups`, `remove_host_groups`, and `remove_hosts`.

FQL filter supports the following fields: `groups`, `hostgroups`, `static_host_groups`, `hostname`, `status`, `target_cid`, `source_cid`, `migration_id`, `id`, `host_migration_id`, `created_time`.

These actions only works if the migration has not started.

`add_host_groups` adds static host groups to the selected hosts in a migration. This action accepts the following action parameter: `{ "name": "host_group": "value": "$host_group_id" }`. Action parameters can be repeated to add multiple static host groups in a single request.

`remove_host_groups` removes static host groups from the selected hosts in a migration. This action accepts the following action parameter: `{ "name": "host_group": "value": "$host_group_id" }`. Action parameters can be repeated to remove multiple static host groups in a single request.

`remove_hosts` removes the selected hosts from a migration. This action does not accept any action parameters.

func (*Client) MigrationAggregatesV1

func (a *Client) MigrationAggregatesV1(params *MigrationAggregatesV1Params, opts ...ClientOption) (*MigrationAggregatesV1OK, error)
MigrationAggregatesV1 gets migration aggregates as specified via json in request body

Get migration aggregates as specified via json in request body.

Supported Types

Both types support the following FQL filter props: `name`, `id`, `migration_id`, `target_cid`, `status`, `migration_status`, `created_by`, `created_time`.

The value `migration_status` is an alias for `status`.

The value `migration_id` is an alias for `id`.

## Terms `"type": "terms"`

Supported `field` values: `name`, `id`, `migration_id,` `target_cid`, `status`, `migration_status`, `created_by`.

`sort` on `terms` type must be done on the same value as `field` and include a direction (`asc` or `desc`). Supports all supported FQL fields.

Examples sort value: `status|asc` or `created_by|desc`.

## Date Range `"type": "date_range"`

Supported `field` fields: `created_time`.

Does not support `sort`, `size`, or `from`.

func (*Client) MigrationsActionsV1

func (a *Client) MigrationsActionsV1(params *MigrationsActionsV1Params, opts ...ClientOption) (*MigrationsActionsV1OK, error)
MigrationsActionsV1 performs an action on a migration job

The available actions are `start_migration`, `cancel_migration`, `rename_migration`, and `delete_migration`.

`start_migration` starts the selected migrations. This action only works if the migration has not started. This action does not accept any action parameters. Only one migration may be started per request.

`cancel_migration` cancels the selected migrations. This actions only works if the migration has started and not completed. This action does not accept any action parameters.

`rename_migration` renames the selected migrations. This action can be called at any time. Only 1 action parameter may be supplied. Action parameters take the form of `{"name": "migration_name": "value": "$new_migration_name"}`.

`delete_migration` deletes the selected migrations. This action only works if the migration has not started. This action does not accept any action parameters.

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 {
	CreateMigrationV1(params *CreateMigrationV1Params, opts ...ClientOption) (*CreateMigrationV1Created, error)

	GetHostMigrationIDsV1(params *GetHostMigrationIDsV1Params, opts ...ClientOption) (*GetHostMigrationIDsV1OK, error)

	GetHostMigrationsV1(params *GetHostMigrationsV1Params, opts ...ClientOption) (*GetHostMigrationsV1OK, error)

	GetMigrationDestinationsV1(params *GetMigrationDestinationsV1Params, opts ...ClientOption) (*GetMigrationDestinationsV1OK, error)

	GetMigrationIDsV1(params *GetMigrationIDsV1Params, opts ...ClientOption) (*GetMigrationIDsV1OK, error)

	GetMigrationsV1(params *GetMigrationsV1Params, opts ...ClientOption) (*GetMigrationsV1OK, error)

	HostMigrationAggregatesV1(params *HostMigrationAggregatesV1Params, opts ...ClientOption) (*HostMigrationAggregatesV1OK, error)

	HostMigrationsActionsV1(params *HostMigrationsActionsV1Params, opts ...ClientOption) (*HostMigrationsActionsV1OK, error)

	MigrationAggregatesV1(params *MigrationAggregatesV1Params, opts ...ClientOption) (*MigrationAggregatesV1OK, error)

	MigrationsActionsV1(params *MigrationsActionsV1Params, opts ...ClientOption) (*MigrationsActionsV1OK, 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 host migration API client.

type CreateMigrationV1BadRequest

type CreateMigrationV1BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APICreateMigrationResponseV1
}

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

Bad Request

func NewCreateMigrationV1BadRequest

func NewCreateMigrationV1BadRequest() *CreateMigrationV1BadRequest

NewCreateMigrationV1BadRequest creates a CreateMigrationV1BadRequest with default headers values

func (*CreateMigrationV1BadRequest) Code

func (o *CreateMigrationV1BadRequest) Code() int

Code gets the status code for the create migration v1 bad request response

func (*CreateMigrationV1BadRequest) Error

func (*CreateMigrationV1BadRequest) GetPayload

func (*CreateMigrationV1BadRequest) IsClientError

func (o *CreateMigrationV1BadRequest) IsClientError() bool

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

func (*CreateMigrationV1BadRequest) IsCode

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

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

func (*CreateMigrationV1BadRequest) IsRedirect

func (o *CreateMigrationV1BadRequest) IsRedirect() bool

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

func (*CreateMigrationV1BadRequest) IsServerError

func (o *CreateMigrationV1BadRequest) IsServerError() bool

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

func (*CreateMigrationV1BadRequest) IsSuccess

func (o *CreateMigrationV1BadRequest) IsSuccess() bool

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

func (*CreateMigrationV1BadRequest) String

func (o *CreateMigrationV1BadRequest) String() string

type CreateMigrationV1Created

type CreateMigrationV1Created struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APICreateMigrationResponseV1
}

CreateMigrationV1Created describes a response with status code 201, with default header values.

Created

func NewCreateMigrationV1Created

func NewCreateMigrationV1Created() *CreateMigrationV1Created

NewCreateMigrationV1Created creates a CreateMigrationV1Created with default headers values

func (*CreateMigrationV1Created) Code

func (o *CreateMigrationV1Created) Code() int

Code gets the status code for the create migration v1 created response

func (*CreateMigrationV1Created) Error

func (o *CreateMigrationV1Created) Error() string

func (*CreateMigrationV1Created) GetPayload

func (*CreateMigrationV1Created) IsClientError

func (o *CreateMigrationV1Created) IsClientError() bool

IsClientError returns true when this create migration v1 created response has a 4xx status code

func (*CreateMigrationV1Created) IsCode

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

IsCode returns true when this create migration v1 created response a status code equal to that given

func (*CreateMigrationV1Created) IsRedirect

func (o *CreateMigrationV1Created) IsRedirect() bool

IsRedirect returns true when this create migration v1 created response has a 3xx status code

func (*CreateMigrationV1Created) IsServerError

func (o *CreateMigrationV1Created) IsServerError() bool

IsServerError returns true when this create migration v1 created response has a 5xx status code

func (*CreateMigrationV1Created) IsSuccess

func (o *CreateMigrationV1Created) IsSuccess() bool

IsSuccess returns true when this create migration v1 created response has a 2xx status code

func (*CreateMigrationV1Created) String

func (o *CreateMigrationV1Created) String() string

type CreateMigrationV1Forbidden

type CreateMigrationV1Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewCreateMigrationV1Forbidden

func NewCreateMigrationV1Forbidden() *CreateMigrationV1Forbidden

NewCreateMigrationV1Forbidden creates a CreateMigrationV1Forbidden with default headers values

func (*CreateMigrationV1Forbidden) Code

func (o *CreateMigrationV1Forbidden) Code() int

Code gets the status code for the create migration v1 forbidden response

func (*CreateMigrationV1Forbidden) Error

func (*CreateMigrationV1Forbidden) GetPayload

func (*CreateMigrationV1Forbidden) IsClientError

func (o *CreateMigrationV1Forbidden) IsClientError() bool

IsClientError returns true when this create migration v1 forbidden response has a 4xx status code

func (*CreateMigrationV1Forbidden) IsCode

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

IsCode returns true when this create migration v1 forbidden response a status code equal to that given

func (*CreateMigrationV1Forbidden) IsRedirect

func (o *CreateMigrationV1Forbidden) IsRedirect() bool

IsRedirect returns true when this create migration v1 forbidden response has a 3xx status code

func (*CreateMigrationV1Forbidden) IsServerError

func (o *CreateMigrationV1Forbidden) IsServerError() bool

IsServerError returns true when this create migration v1 forbidden response has a 5xx status code

func (*CreateMigrationV1Forbidden) IsSuccess

func (o *CreateMigrationV1Forbidden) IsSuccess() bool

IsSuccess returns true when this create migration v1 forbidden response has a 2xx status code

func (*CreateMigrationV1Forbidden) String

func (o *CreateMigrationV1Forbidden) String() string

type CreateMigrationV1InternalServerError

type CreateMigrationV1InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APICreateMigrationResponseV1
}

CreateMigrationV1InternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCreateMigrationV1InternalServerError

func NewCreateMigrationV1InternalServerError() *CreateMigrationV1InternalServerError

NewCreateMigrationV1InternalServerError creates a CreateMigrationV1InternalServerError with default headers values

func (*CreateMigrationV1InternalServerError) Code

Code gets the status code for the create migration v1 internal server error response

func (*CreateMigrationV1InternalServerError) Error

func (*CreateMigrationV1InternalServerError) GetPayload

func (*CreateMigrationV1InternalServerError) IsClientError

func (o *CreateMigrationV1InternalServerError) IsClientError() bool

IsClientError returns true when this create migration v1 internal server error response has a 4xx status code

func (*CreateMigrationV1InternalServerError) IsCode

IsCode returns true when this create migration v1 internal server error response a status code equal to that given

func (*CreateMigrationV1InternalServerError) IsRedirect

IsRedirect returns true when this create migration v1 internal server error response has a 3xx status code

func (*CreateMigrationV1InternalServerError) IsServerError

func (o *CreateMigrationV1InternalServerError) IsServerError() bool

IsServerError returns true when this create migration v1 internal server error response has a 5xx status code

func (*CreateMigrationV1InternalServerError) IsSuccess

IsSuccess returns true when this create migration v1 internal server error response has a 2xx status code

func (*CreateMigrationV1InternalServerError) String

type CreateMigrationV1NotFound

type CreateMigrationV1NotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APICreateMigrationResponseV1
}

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

Not Found

func NewCreateMigrationV1NotFound

func NewCreateMigrationV1NotFound() *CreateMigrationV1NotFound

NewCreateMigrationV1NotFound creates a CreateMigrationV1NotFound with default headers values

func (*CreateMigrationV1NotFound) Code

func (o *CreateMigrationV1NotFound) Code() int

Code gets the status code for the create migration v1 not found response

func (*CreateMigrationV1NotFound) Error

func (o *CreateMigrationV1NotFound) Error() string

func (*CreateMigrationV1NotFound) GetPayload

func (*CreateMigrationV1NotFound) IsClientError

func (o *CreateMigrationV1NotFound) IsClientError() bool

IsClientError returns true when this create migration v1 not found response has a 4xx status code

func (*CreateMigrationV1NotFound) IsCode

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

IsCode returns true when this create migration v1 not found response a status code equal to that given

func (*CreateMigrationV1NotFound) IsRedirect

func (o *CreateMigrationV1NotFound) IsRedirect() bool

IsRedirect returns true when this create migration v1 not found response has a 3xx status code

func (*CreateMigrationV1NotFound) IsServerError

func (o *CreateMigrationV1NotFound) IsServerError() bool

IsServerError returns true when this create migration v1 not found response has a 5xx status code

func (*CreateMigrationV1NotFound) IsSuccess

func (o *CreateMigrationV1NotFound) IsSuccess() bool

IsSuccess returns true when this create migration v1 not found response has a 2xx status code

func (*CreateMigrationV1NotFound) String

func (o *CreateMigrationV1NotFound) String() string

type CreateMigrationV1Params

type CreateMigrationV1Params struct {

	// Body.
	Body *models.APICreateMigrationRequestV1

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

CreateMigrationV1Params contains all the parameters to send to the API endpoint

for the create migration v1 operation.

Typically these are written to a http.Request.

func NewCreateMigrationV1Params

func NewCreateMigrationV1Params() *CreateMigrationV1Params

NewCreateMigrationV1Params creates a new CreateMigrationV1Params 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 NewCreateMigrationV1ParamsWithContext

func NewCreateMigrationV1ParamsWithContext(ctx context.Context) *CreateMigrationV1Params

NewCreateMigrationV1ParamsWithContext creates a new CreateMigrationV1Params object with the ability to set a context for a request.

func NewCreateMigrationV1ParamsWithHTTPClient

func NewCreateMigrationV1ParamsWithHTTPClient(client *http.Client) *CreateMigrationV1Params

NewCreateMigrationV1ParamsWithHTTPClient creates a new CreateMigrationV1Params object with the ability to set a custom HTTPClient for a request.

func NewCreateMigrationV1ParamsWithTimeout

func NewCreateMigrationV1ParamsWithTimeout(timeout time.Duration) *CreateMigrationV1Params

NewCreateMigrationV1ParamsWithTimeout creates a new CreateMigrationV1Params object with the ability to set a timeout on a request.

func (*CreateMigrationV1Params) SetBody

SetBody adds the body to the create migration v1 params

func (*CreateMigrationV1Params) SetContext

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

SetContext adds the context to the create migration v1 params

func (*CreateMigrationV1Params) SetDefaults

func (o *CreateMigrationV1Params) SetDefaults()

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

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

func (*CreateMigrationV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create migration v1 params

func (*CreateMigrationV1Params) SetTimeout

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

SetTimeout adds the timeout to the create migration v1 params

func (*CreateMigrationV1Params) WithBody

WithBody adds the body to the create migration v1 params

func (*CreateMigrationV1Params) WithContext

WithContext adds the context to the create migration v1 params

func (*CreateMigrationV1Params) WithDefaults

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

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

func (*CreateMigrationV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create migration v1 params

func (*CreateMigrationV1Params) WithTimeout

WithTimeout adds the timeout to the create migration v1 params

func (*CreateMigrationV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateMigrationV1Reader

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

CreateMigrationV1Reader is a Reader for the CreateMigrationV1 structure.

func (*CreateMigrationV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateMigrationV1TooManyRequests

type CreateMigrationV1TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

CreateMigrationV1TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateMigrationV1TooManyRequests

func NewCreateMigrationV1TooManyRequests() *CreateMigrationV1TooManyRequests

NewCreateMigrationV1TooManyRequests creates a CreateMigrationV1TooManyRequests with default headers values

func (*CreateMigrationV1TooManyRequests) Code

Code gets the status code for the create migration v1 too many requests response

func (*CreateMigrationV1TooManyRequests) Error

func (*CreateMigrationV1TooManyRequests) GetPayload

func (*CreateMigrationV1TooManyRequests) IsClientError

func (o *CreateMigrationV1TooManyRequests) IsClientError() bool

IsClientError returns true when this create migration v1 too many requests response has a 4xx status code

func (*CreateMigrationV1TooManyRequests) IsCode

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

IsCode returns true when this create migration v1 too many requests response a status code equal to that given

func (*CreateMigrationV1TooManyRequests) IsRedirect

func (o *CreateMigrationV1TooManyRequests) IsRedirect() bool

IsRedirect returns true when this create migration v1 too many requests response has a 3xx status code

func (*CreateMigrationV1TooManyRequests) IsServerError

func (o *CreateMigrationV1TooManyRequests) IsServerError() bool

IsServerError returns true when this create migration v1 too many requests response has a 5xx status code

func (*CreateMigrationV1TooManyRequests) IsSuccess

func (o *CreateMigrationV1TooManyRequests) IsSuccess() bool

IsSuccess returns true when this create migration v1 too many requests response has a 2xx status code

func (*CreateMigrationV1TooManyRequests) String

type GetHostMigrationIDsV1BadRequest

type GetHostMigrationIDsV1BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

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

Bad Request

func NewGetHostMigrationIDsV1BadRequest

func NewGetHostMigrationIDsV1BadRequest() *GetHostMigrationIDsV1BadRequest

NewGetHostMigrationIDsV1BadRequest creates a GetHostMigrationIDsV1BadRequest with default headers values

func (*GetHostMigrationIDsV1BadRequest) Code

Code gets the status code for the get host migration i ds v1 bad request response

func (*GetHostMigrationIDsV1BadRequest) Error

func (*GetHostMigrationIDsV1BadRequest) GetPayload

func (*GetHostMigrationIDsV1BadRequest) IsClientError

func (o *GetHostMigrationIDsV1BadRequest) IsClientError() bool

IsClientError returns true when this get host migration i ds v1 bad request response has a 4xx status code

func (*GetHostMigrationIDsV1BadRequest) IsCode

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

IsCode returns true when this get host migration i ds v1 bad request response a status code equal to that given

func (*GetHostMigrationIDsV1BadRequest) IsRedirect

func (o *GetHostMigrationIDsV1BadRequest) IsRedirect() bool

IsRedirect returns true when this get host migration i ds v1 bad request response has a 3xx status code

func (*GetHostMigrationIDsV1BadRequest) IsServerError

func (o *GetHostMigrationIDsV1BadRequest) IsServerError() bool

IsServerError returns true when this get host migration i ds v1 bad request response has a 5xx status code

func (*GetHostMigrationIDsV1BadRequest) IsSuccess

func (o *GetHostMigrationIDsV1BadRequest) IsSuccess() bool

IsSuccess returns true when this get host migration i ds v1 bad request response has a 2xx status code

func (*GetHostMigrationIDsV1BadRequest) String

type GetHostMigrationIDsV1Forbidden

type GetHostMigrationIDsV1Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewGetHostMigrationIDsV1Forbidden

func NewGetHostMigrationIDsV1Forbidden() *GetHostMigrationIDsV1Forbidden

NewGetHostMigrationIDsV1Forbidden creates a GetHostMigrationIDsV1Forbidden with default headers values

func (*GetHostMigrationIDsV1Forbidden) Code

Code gets the status code for the get host migration i ds v1 forbidden response

func (*GetHostMigrationIDsV1Forbidden) Error

func (*GetHostMigrationIDsV1Forbidden) GetPayload

func (*GetHostMigrationIDsV1Forbidden) IsClientError

func (o *GetHostMigrationIDsV1Forbidden) IsClientError() bool

IsClientError returns true when this get host migration i ds v1 forbidden response has a 4xx status code

func (*GetHostMigrationIDsV1Forbidden) IsCode

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

IsCode returns true when this get host migration i ds v1 forbidden response a status code equal to that given

func (*GetHostMigrationIDsV1Forbidden) IsRedirect

func (o *GetHostMigrationIDsV1Forbidden) IsRedirect() bool

IsRedirect returns true when this get host migration i ds v1 forbidden response has a 3xx status code

func (*GetHostMigrationIDsV1Forbidden) IsServerError

func (o *GetHostMigrationIDsV1Forbidden) IsServerError() bool

IsServerError returns true when this get host migration i ds v1 forbidden response has a 5xx status code

func (*GetHostMigrationIDsV1Forbidden) IsSuccess

func (o *GetHostMigrationIDsV1Forbidden) IsSuccess() bool

IsSuccess returns true when this get host migration i ds v1 forbidden response has a 2xx status code

func (*GetHostMigrationIDsV1Forbidden) String

type GetHostMigrationIDsV1InternalServerError

type GetHostMigrationIDsV1InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

GetHostMigrationIDsV1InternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetHostMigrationIDsV1InternalServerError

func NewGetHostMigrationIDsV1InternalServerError() *GetHostMigrationIDsV1InternalServerError

NewGetHostMigrationIDsV1InternalServerError creates a GetHostMigrationIDsV1InternalServerError with default headers values

func (*GetHostMigrationIDsV1InternalServerError) Code

Code gets the status code for the get host migration i ds v1 internal server error response

func (*GetHostMigrationIDsV1InternalServerError) Error

func (*GetHostMigrationIDsV1InternalServerError) GetPayload

func (*GetHostMigrationIDsV1InternalServerError) IsClientError

IsClientError returns true when this get host migration i ds v1 internal server error response has a 4xx status code

func (*GetHostMigrationIDsV1InternalServerError) IsCode

IsCode returns true when this get host migration i ds v1 internal server error response a status code equal to that given

func (*GetHostMigrationIDsV1InternalServerError) IsRedirect

IsRedirect returns true when this get host migration i ds v1 internal server error response has a 3xx status code

func (*GetHostMigrationIDsV1InternalServerError) IsServerError

IsServerError returns true when this get host migration i ds v1 internal server error response has a 5xx status code

func (*GetHostMigrationIDsV1InternalServerError) IsSuccess

IsSuccess returns true when this get host migration i ds v1 internal server error response has a 2xx status code

func (*GetHostMigrationIDsV1InternalServerError) String

type GetHostMigrationIDsV1OK

type GetHostMigrationIDsV1OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

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

OK

func NewGetHostMigrationIDsV1OK

func NewGetHostMigrationIDsV1OK() *GetHostMigrationIDsV1OK

NewGetHostMigrationIDsV1OK creates a GetHostMigrationIDsV1OK with default headers values

func (*GetHostMigrationIDsV1OK) Code

func (o *GetHostMigrationIDsV1OK) Code() int

Code gets the status code for the get host migration i ds v1 o k response

func (*GetHostMigrationIDsV1OK) Error

func (o *GetHostMigrationIDsV1OK) Error() string

func (*GetHostMigrationIDsV1OK) GetPayload

func (*GetHostMigrationIDsV1OK) IsClientError

func (o *GetHostMigrationIDsV1OK) IsClientError() bool

IsClientError returns true when this get host migration i ds v1 o k response has a 4xx status code

func (*GetHostMigrationIDsV1OK) IsCode

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

IsCode returns true when this get host migration i ds v1 o k response a status code equal to that given

func (*GetHostMigrationIDsV1OK) IsRedirect

func (o *GetHostMigrationIDsV1OK) IsRedirect() bool

IsRedirect returns true when this get host migration i ds v1 o k response has a 3xx status code

func (*GetHostMigrationIDsV1OK) IsServerError

func (o *GetHostMigrationIDsV1OK) IsServerError() bool

IsServerError returns true when this get host migration i ds v1 o k response has a 5xx status code

func (*GetHostMigrationIDsV1OK) IsSuccess

func (o *GetHostMigrationIDsV1OK) IsSuccess() bool

IsSuccess returns true when this get host migration i ds v1 o k response has a 2xx status code

func (*GetHostMigrationIDsV1OK) String

func (o *GetHostMigrationIDsV1OK) String() string

type GetHostMigrationIDsV1Params

type GetHostMigrationIDsV1Params struct {

	/* Filter.

	   The filter expression that should be used to limit the results. Valid fields: groups, hostgroups, migration_id, host_migration_id, source_cid, id, created_time, static_host_groups, hostname, status, target_cid
	*/
	Filter *string

	/* ID.

	   The migration job to query
	*/
	ID string

	/* Limit.

	   The maximum records to return. [1-10000]
	*/
	Limit *int64

	/* Offset.

	   The offset to start retrieving records from
	*/
	Offset *int64

	/* Sort.

	   The property to sort by.
	*/
	Sort *string

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

GetHostMigrationIDsV1Params contains all the parameters to send to the API endpoint

for the get host migration i ds v1 operation.

Typically these are written to a http.Request.

func NewGetHostMigrationIDsV1Params

func NewGetHostMigrationIDsV1Params() *GetHostMigrationIDsV1Params

NewGetHostMigrationIDsV1Params creates a new GetHostMigrationIDsV1Params 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 NewGetHostMigrationIDsV1ParamsWithContext

func NewGetHostMigrationIDsV1ParamsWithContext(ctx context.Context) *GetHostMigrationIDsV1Params

NewGetHostMigrationIDsV1ParamsWithContext creates a new GetHostMigrationIDsV1Params object with the ability to set a context for a request.

func NewGetHostMigrationIDsV1ParamsWithHTTPClient

func NewGetHostMigrationIDsV1ParamsWithHTTPClient(client *http.Client) *GetHostMigrationIDsV1Params

NewGetHostMigrationIDsV1ParamsWithHTTPClient creates a new GetHostMigrationIDsV1Params object with the ability to set a custom HTTPClient for a request.

func NewGetHostMigrationIDsV1ParamsWithTimeout

func NewGetHostMigrationIDsV1ParamsWithTimeout(timeout time.Duration) *GetHostMigrationIDsV1Params

NewGetHostMigrationIDsV1ParamsWithTimeout creates a new GetHostMigrationIDsV1Params object with the ability to set a timeout on a request.

func (*GetHostMigrationIDsV1Params) SetContext

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

SetContext adds the context to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) SetDefaults

func (o *GetHostMigrationIDsV1Params) SetDefaults()

SetDefaults hydrates default values in the get host migration i ds v1 params (not the query body).

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

func (*GetHostMigrationIDsV1Params) SetFilter

func (o *GetHostMigrationIDsV1Params) SetFilter(filter *string)

SetFilter adds the filter to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) SetID

func (o *GetHostMigrationIDsV1Params) SetID(id string)

SetID adds the id to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) SetLimit

func (o *GetHostMigrationIDsV1Params) SetLimit(limit *int64)

SetLimit adds the limit to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) SetOffset

func (o *GetHostMigrationIDsV1Params) SetOffset(offset *int64)

SetOffset adds the offset to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) SetSort

func (o *GetHostMigrationIDsV1Params) SetSort(sort *string)

SetSort adds the sort to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) SetTimeout

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

SetTimeout adds the timeout to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) WithContext

WithContext adds the context to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) WithDefaults

WithDefaults hydrates default values in the get host migration i ds v1 params (not the query body).

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

func (*GetHostMigrationIDsV1Params) WithFilter

WithFilter adds the filter to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) WithID

WithID adds the id to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) WithLimit

WithLimit adds the limit to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) WithOffset

WithOffset adds the offset to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) WithSort

WithSort adds the sort to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) WithTimeout

WithTimeout adds the timeout to the get host migration i ds v1 params

func (*GetHostMigrationIDsV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHostMigrationIDsV1Reader

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

GetHostMigrationIDsV1Reader is a Reader for the GetHostMigrationIDsV1 structure.

func (*GetHostMigrationIDsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHostMigrationIDsV1TooManyRequests

type GetHostMigrationIDsV1TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetHostMigrationIDsV1TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetHostMigrationIDsV1TooManyRequests

func NewGetHostMigrationIDsV1TooManyRequests() *GetHostMigrationIDsV1TooManyRequests

NewGetHostMigrationIDsV1TooManyRequests creates a GetHostMigrationIDsV1TooManyRequests with default headers values

func (*GetHostMigrationIDsV1TooManyRequests) Code

Code gets the status code for the get host migration i ds v1 too many requests response

func (*GetHostMigrationIDsV1TooManyRequests) Error

func (*GetHostMigrationIDsV1TooManyRequests) GetPayload

func (*GetHostMigrationIDsV1TooManyRequests) IsClientError

func (o *GetHostMigrationIDsV1TooManyRequests) IsClientError() bool

IsClientError returns true when this get host migration i ds v1 too many requests response has a 4xx status code

func (*GetHostMigrationIDsV1TooManyRequests) IsCode

IsCode returns true when this get host migration i ds v1 too many requests response a status code equal to that given

func (*GetHostMigrationIDsV1TooManyRequests) IsRedirect

IsRedirect returns true when this get host migration i ds v1 too many requests response has a 3xx status code

func (*GetHostMigrationIDsV1TooManyRequests) IsServerError

func (o *GetHostMigrationIDsV1TooManyRequests) IsServerError() bool

IsServerError returns true when this get host migration i ds v1 too many requests response has a 5xx status code

func (*GetHostMigrationIDsV1TooManyRequests) IsSuccess

IsSuccess returns true when this get host migration i ds v1 too many requests response has a 2xx status code

func (*GetHostMigrationIDsV1TooManyRequests) String

type GetHostMigrationsV1BadRequest

type GetHostMigrationsV1BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIGetHostMigrationResponseV1
}

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

Bad Request

func NewGetHostMigrationsV1BadRequest

func NewGetHostMigrationsV1BadRequest() *GetHostMigrationsV1BadRequest

NewGetHostMigrationsV1BadRequest creates a GetHostMigrationsV1BadRequest with default headers values

func (*GetHostMigrationsV1BadRequest) Code

Code gets the status code for the get host migrations v1 bad request response

func (*GetHostMigrationsV1BadRequest) Error

func (*GetHostMigrationsV1BadRequest) GetPayload

func (*GetHostMigrationsV1BadRequest) IsClientError

func (o *GetHostMigrationsV1BadRequest) IsClientError() bool

IsClientError returns true when this get host migrations v1 bad request response has a 4xx status code

func (*GetHostMigrationsV1BadRequest) IsCode

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

IsCode returns true when this get host migrations v1 bad request response a status code equal to that given

func (*GetHostMigrationsV1BadRequest) IsRedirect

func (o *GetHostMigrationsV1BadRequest) IsRedirect() bool

IsRedirect returns true when this get host migrations v1 bad request response has a 3xx status code

func (*GetHostMigrationsV1BadRequest) IsServerError

func (o *GetHostMigrationsV1BadRequest) IsServerError() bool

IsServerError returns true when this get host migrations v1 bad request response has a 5xx status code

func (*GetHostMigrationsV1BadRequest) IsSuccess

func (o *GetHostMigrationsV1BadRequest) IsSuccess() bool

IsSuccess returns true when this get host migrations v1 bad request response has a 2xx status code

func (*GetHostMigrationsV1BadRequest) String

type GetHostMigrationsV1Forbidden

type GetHostMigrationsV1Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewGetHostMigrationsV1Forbidden

func NewGetHostMigrationsV1Forbidden() *GetHostMigrationsV1Forbidden

NewGetHostMigrationsV1Forbidden creates a GetHostMigrationsV1Forbidden with default headers values

func (*GetHostMigrationsV1Forbidden) Code

Code gets the status code for the get host migrations v1 forbidden response

func (*GetHostMigrationsV1Forbidden) Error

func (*GetHostMigrationsV1Forbidden) GetPayload

func (*GetHostMigrationsV1Forbidden) IsClientError

func (o *GetHostMigrationsV1Forbidden) IsClientError() bool

IsClientError returns true when this get host migrations v1 forbidden response has a 4xx status code

func (*GetHostMigrationsV1Forbidden) IsCode

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

IsCode returns true when this get host migrations v1 forbidden response a status code equal to that given

func (*GetHostMigrationsV1Forbidden) IsRedirect

func (o *GetHostMigrationsV1Forbidden) IsRedirect() bool

IsRedirect returns true when this get host migrations v1 forbidden response has a 3xx status code

func (*GetHostMigrationsV1Forbidden) IsServerError

func (o *GetHostMigrationsV1Forbidden) IsServerError() bool

IsServerError returns true when this get host migrations v1 forbidden response has a 5xx status code

func (*GetHostMigrationsV1Forbidden) IsSuccess

func (o *GetHostMigrationsV1Forbidden) IsSuccess() bool

IsSuccess returns true when this get host migrations v1 forbidden response has a 2xx status code

func (*GetHostMigrationsV1Forbidden) String

type GetHostMigrationsV1InternalServerError

type GetHostMigrationsV1InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIGetHostMigrationResponseV1
}

GetHostMigrationsV1InternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetHostMigrationsV1InternalServerError

func NewGetHostMigrationsV1InternalServerError() *GetHostMigrationsV1InternalServerError

NewGetHostMigrationsV1InternalServerError creates a GetHostMigrationsV1InternalServerError with default headers values

func (*GetHostMigrationsV1InternalServerError) Code

Code gets the status code for the get host migrations v1 internal server error response

func (*GetHostMigrationsV1InternalServerError) Error

func (*GetHostMigrationsV1InternalServerError) GetPayload

func (*GetHostMigrationsV1InternalServerError) IsClientError

func (o *GetHostMigrationsV1InternalServerError) IsClientError() bool

IsClientError returns true when this get host migrations v1 internal server error response has a 4xx status code

func (*GetHostMigrationsV1InternalServerError) IsCode

IsCode returns true when this get host migrations v1 internal server error response a status code equal to that given

func (*GetHostMigrationsV1InternalServerError) IsRedirect

IsRedirect returns true when this get host migrations v1 internal server error response has a 3xx status code

func (*GetHostMigrationsV1InternalServerError) IsServerError

func (o *GetHostMigrationsV1InternalServerError) IsServerError() bool

IsServerError returns true when this get host migrations v1 internal server error response has a 5xx status code

func (*GetHostMigrationsV1InternalServerError) IsSuccess

IsSuccess returns true when this get host migrations v1 internal server error response has a 2xx status code

func (*GetHostMigrationsV1InternalServerError) String

type GetHostMigrationsV1NotFound

type GetHostMigrationsV1NotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIGetHostMigrationResponseV1
}

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

Not Found

func NewGetHostMigrationsV1NotFound

func NewGetHostMigrationsV1NotFound() *GetHostMigrationsV1NotFound

NewGetHostMigrationsV1NotFound creates a GetHostMigrationsV1NotFound with default headers values

func (*GetHostMigrationsV1NotFound) Code

func (o *GetHostMigrationsV1NotFound) Code() int

Code gets the status code for the get host migrations v1 not found response

func (*GetHostMigrationsV1NotFound) Error

func (*GetHostMigrationsV1NotFound) GetPayload

func (*GetHostMigrationsV1NotFound) IsClientError

func (o *GetHostMigrationsV1NotFound) IsClientError() bool

IsClientError returns true when this get host migrations v1 not found response has a 4xx status code

func (*GetHostMigrationsV1NotFound) IsCode

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

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

func (*GetHostMigrationsV1NotFound) IsRedirect

func (o *GetHostMigrationsV1NotFound) IsRedirect() bool

IsRedirect returns true when this get host migrations v1 not found response has a 3xx status code

func (*GetHostMigrationsV1NotFound) IsServerError

func (o *GetHostMigrationsV1NotFound) IsServerError() bool

IsServerError returns true when this get host migrations v1 not found response has a 5xx status code

func (*GetHostMigrationsV1NotFound) IsSuccess

func (o *GetHostMigrationsV1NotFound) IsSuccess() bool

IsSuccess returns true when this get host migrations v1 not found response has a 2xx status code

func (*GetHostMigrationsV1NotFound) String

func (o *GetHostMigrationsV1NotFound) String() string

type GetHostMigrationsV1OK

type GetHostMigrationsV1OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIGetHostMigrationResponseV1
}

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

OK

func NewGetHostMigrationsV1OK

func NewGetHostMigrationsV1OK() *GetHostMigrationsV1OK

NewGetHostMigrationsV1OK creates a GetHostMigrationsV1OK with default headers values

func (*GetHostMigrationsV1OK) Code

func (o *GetHostMigrationsV1OK) Code() int

Code gets the status code for the get host migrations v1 o k response

func (*GetHostMigrationsV1OK) Error

func (o *GetHostMigrationsV1OK) Error() string

func (*GetHostMigrationsV1OK) GetPayload

func (*GetHostMigrationsV1OK) IsClientError

func (o *GetHostMigrationsV1OK) IsClientError() bool

IsClientError returns true when this get host migrations v1 o k response has a 4xx status code

func (*GetHostMigrationsV1OK) IsCode

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

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

func (*GetHostMigrationsV1OK) IsRedirect

func (o *GetHostMigrationsV1OK) IsRedirect() bool

IsRedirect returns true when this get host migrations v1 o k response has a 3xx status code

func (*GetHostMigrationsV1OK) IsServerError

func (o *GetHostMigrationsV1OK) IsServerError() bool

IsServerError returns true when this get host migrations v1 o k response has a 5xx status code

func (*GetHostMigrationsV1OK) IsSuccess

func (o *GetHostMigrationsV1OK) IsSuccess() bool

IsSuccess returns true when this get host migrations v1 o k response has a 2xx status code

func (*GetHostMigrationsV1OK) String

func (o *GetHostMigrationsV1OK) String() string

type GetHostMigrationsV1Params

type GetHostMigrationsV1Params struct {

	// Body.
	Body *models.MsaIdsRequest

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

GetHostMigrationsV1Params contains all the parameters to send to the API endpoint

for the get host migrations v1 operation.

Typically these are written to a http.Request.

func NewGetHostMigrationsV1Params

func NewGetHostMigrationsV1Params() *GetHostMigrationsV1Params

NewGetHostMigrationsV1Params creates a new GetHostMigrationsV1Params 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 NewGetHostMigrationsV1ParamsWithContext

func NewGetHostMigrationsV1ParamsWithContext(ctx context.Context) *GetHostMigrationsV1Params

NewGetHostMigrationsV1ParamsWithContext creates a new GetHostMigrationsV1Params object with the ability to set a context for a request.

func NewGetHostMigrationsV1ParamsWithHTTPClient

func NewGetHostMigrationsV1ParamsWithHTTPClient(client *http.Client) *GetHostMigrationsV1Params

NewGetHostMigrationsV1ParamsWithHTTPClient creates a new GetHostMigrationsV1Params object with the ability to set a custom HTTPClient for a request.

func NewGetHostMigrationsV1ParamsWithTimeout

func NewGetHostMigrationsV1ParamsWithTimeout(timeout time.Duration) *GetHostMigrationsV1Params

NewGetHostMigrationsV1ParamsWithTimeout creates a new GetHostMigrationsV1Params object with the ability to set a timeout on a request.

func (*GetHostMigrationsV1Params) SetBody

SetBody adds the body to the get host migrations v1 params

func (*GetHostMigrationsV1Params) SetContext

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

SetContext adds the context to the get host migrations v1 params

func (*GetHostMigrationsV1Params) SetDefaults

func (o *GetHostMigrationsV1Params) SetDefaults()

SetDefaults hydrates default values in the get host migrations v1 params (not the query body).

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

func (*GetHostMigrationsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get host migrations v1 params

func (*GetHostMigrationsV1Params) SetTimeout

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

SetTimeout adds the timeout to the get host migrations v1 params

func (*GetHostMigrationsV1Params) WithBody

WithBody adds the body to the get host migrations v1 params

func (*GetHostMigrationsV1Params) WithContext

WithContext adds the context to the get host migrations v1 params

func (*GetHostMigrationsV1Params) WithDefaults

WithDefaults hydrates default values in the get host migrations v1 params (not the query body).

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

func (*GetHostMigrationsV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get host migrations v1 params

func (*GetHostMigrationsV1Params) WithTimeout

WithTimeout adds the timeout to the get host migrations v1 params

func (*GetHostMigrationsV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHostMigrationsV1Reader

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

GetHostMigrationsV1Reader is a Reader for the GetHostMigrationsV1 structure.

func (*GetHostMigrationsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHostMigrationsV1TooManyRequests

type GetHostMigrationsV1TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetHostMigrationsV1TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetHostMigrationsV1TooManyRequests

func NewGetHostMigrationsV1TooManyRequests() *GetHostMigrationsV1TooManyRequests

NewGetHostMigrationsV1TooManyRequests creates a GetHostMigrationsV1TooManyRequests with default headers values

func (*GetHostMigrationsV1TooManyRequests) Code

Code gets the status code for the get host migrations v1 too many requests response

func (*GetHostMigrationsV1TooManyRequests) Error

func (*GetHostMigrationsV1TooManyRequests) GetPayload

func (*GetHostMigrationsV1TooManyRequests) IsClientError

func (o *GetHostMigrationsV1TooManyRequests) IsClientError() bool

IsClientError returns true when this get host migrations v1 too many requests response has a 4xx status code

func (*GetHostMigrationsV1TooManyRequests) IsCode

IsCode returns true when this get host migrations v1 too many requests response a status code equal to that given

func (*GetHostMigrationsV1TooManyRequests) IsRedirect

func (o *GetHostMigrationsV1TooManyRequests) IsRedirect() bool

IsRedirect returns true when this get host migrations v1 too many requests response has a 3xx status code

func (*GetHostMigrationsV1TooManyRequests) IsServerError

func (o *GetHostMigrationsV1TooManyRequests) IsServerError() bool

IsServerError returns true when this get host migrations v1 too many requests response has a 5xx status code

func (*GetHostMigrationsV1TooManyRequests) IsSuccess

IsSuccess returns true when this get host migrations v1 too many requests response has a 2xx status code

func (*GetHostMigrationsV1TooManyRequests) String

type GetMigrationDestinationsV1BadRequest

type GetMigrationDestinationsV1BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

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

Bad Request

func NewGetMigrationDestinationsV1BadRequest

func NewGetMigrationDestinationsV1BadRequest() *GetMigrationDestinationsV1BadRequest

NewGetMigrationDestinationsV1BadRequest creates a GetMigrationDestinationsV1BadRequest with default headers values

func (*GetMigrationDestinationsV1BadRequest) Code

Code gets the status code for the get migration destinations v1 bad request response

func (*GetMigrationDestinationsV1BadRequest) Error

func (*GetMigrationDestinationsV1BadRequest) GetPayload

func (*GetMigrationDestinationsV1BadRequest) IsClientError

func (o *GetMigrationDestinationsV1BadRequest) IsClientError() bool

IsClientError returns true when this get migration destinations v1 bad request response has a 4xx status code

func (*GetMigrationDestinationsV1BadRequest) IsCode

IsCode returns true when this get migration destinations v1 bad request response a status code equal to that given

func (*GetMigrationDestinationsV1BadRequest) IsRedirect

IsRedirect returns true when this get migration destinations v1 bad request response has a 3xx status code

func (*GetMigrationDestinationsV1BadRequest) IsServerError

func (o *GetMigrationDestinationsV1BadRequest) IsServerError() bool

IsServerError returns true when this get migration destinations v1 bad request response has a 5xx status code

func (*GetMigrationDestinationsV1BadRequest) IsSuccess

IsSuccess returns true when this get migration destinations v1 bad request response has a 2xx status code

func (*GetMigrationDestinationsV1BadRequest) String

type GetMigrationDestinationsV1Forbidden

type GetMigrationDestinationsV1Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewGetMigrationDestinationsV1Forbidden

func NewGetMigrationDestinationsV1Forbidden() *GetMigrationDestinationsV1Forbidden

NewGetMigrationDestinationsV1Forbidden creates a GetMigrationDestinationsV1Forbidden with default headers values

func (*GetMigrationDestinationsV1Forbidden) Code

Code gets the status code for the get migration destinations v1 forbidden response

func (*GetMigrationDestinationsV1Forbidden) Error

func (*GetMigrationDestinationsV1Forbidden) GetPayload

func (*GetMigrationDestinationsV1Forbidden) IsClientError

func (o *GetMigrationDestinationsV1Forbidden) IsClientError() bool

IsClientError returns true when this get migration destinations v1 forbidden response has a 4xx status code

func (*GetMigrationDestinationsV1Forbidden) IsCode

IsCode returns true when this get migration destinations v1 forbidden response a status code equal to that given

func (*GetMigrationDestinationsV1Forbidden) IsRedirect

func (o *GetMigrationDestinationsV1Forbidden) IsRedirect() bool

IsRedirect returns true when this get migration destinations v1 forbidden response has a 3xx status code

func (*GetMigrationDestinationsV1Forbidden) IsServerError

func (o *GetMigrationDestinationsV1Forbidden) IsServerError() bool

IsServerError returns true when this get migration destinations v1 forbidden response has a 5xx status code

func (*GetMigrationDestinationsV1Forbidden) IsSuccess

IsSuccess returns true when this get migration destinations v1 forbidden response has a 2xx status code

func (*GetMigrationDestinationsV1Forbidden) String

type GetMigrationDestinationsV1InternalServerError

type GetMigrationDestinationsV1InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

GetMigrationDestinationsV1InternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetMigrationDestinationsV1InternalServerError

func NewGetMigrationDestinationsV1InternalServerError() *GetMigrationDestinationsV1InternalServerError

NewGetMigrationDestinationsV1InternalServerError creates a GetMigrationDestinationsV1InternalServerError with default headers values

func (*GetMigrationDestinationsV1InternalServerError) Code

Code gets the status code for the get migration destinations v1 internal server error response

func (*GetMigrationDestinationsV1InternalServerError) Error

func (*GetMigrationDestinationsV1InternalServerError) GetPayload

func (*GetMigrationDestinationsV1InternalServerError) IsClientError

IsClientError returns true when this get migration destinations v1 internal server error response has a 4xx status code

func (*GetMigrationDestinationsV1InternalServerError) IsCode

IsCode returns true when this get migration destinations v1 internal server error response a status code equal to that given

func (*GetMigrationDestinationsV1InternalServerError) IsRedirect

IsRedirect returns true when this get migration destinations v1 internal server error response has a 3xx status code

func (*GetMigrationDestinationsV1InternalServerError) IsServerError

IsServerError returns true when this get migration destinations v1 internal server error response has a 5xx status code

func (*GetMigrationDestinationsV1InternalServerError) IsSuccess

IsSuccess returns true when this get migration destinations v1 internal server error response has a 2xx status code

func (*GetMigrationDestinationsV1InternalServerError) String

type GetMigrationDestinationsV1NotFound

type GetMigrationDestinationsV1NotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecResponseFields
}

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

Not Found

func NewGetMigrationDestinationsV1NotFound

func NewGetMigrationDestinationsV1NotFound() *GetMigrationDestinationsV1NotFound

NewGetMigrationDestinationsV1NotFound creates a GetMigrationDestinationsV1NotFound with default headers values

func (*GetMigrationDestinationsV1NotFound) Code

Code gets the status code for the get migration destinations v1 not found response

func (*GetMigrationDestinationsV1NotFound) Error

func (*GetMigrationDestinationsV1NotFound) GetPayload

func (*GetMigrationDestinationsV1NotFound) IsClientError

func (o *GetMigrationDestinationsV1NotFound) IsClientError() bool

IsClientError returns true when this get migration destinations v1 not found response has a 4xx status code

func (*GetMigrationDestinationsV1NotFound) IsCode

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

func (*GetMigrationDestinationsV1NotFound) IsRedirect

func (o *GetMigrationDestinationsV1NotFound) IsRedirect() bool

IsRedirect returns true when this get migration destinations v1 not found response has a 3xx status code

func (*GetMigrationDestinationsV1NotFound) IsServerError

func (o *GetMigrationDestinationsV1NotFound) IsServerError() bool

IsServerError returns true when this get migration destinations v1 not found response has a 5xx status code

func (*GetMigrationDestinationsV1NotFound) IsSuccess

IsSuccess returns true when this get migration destinations v1 not found response has a 2xx status code

func (*GetMigrationDestinationsV1NotFound) String

type GetMigrationDestinationsV1OK

type GetMigrationDestinationsV1OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIGetMigrationDestinationsResponseV1
}

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

OK

func NewGetMigrationDestinationsV1OK

func NewGetMigrationDestinationsV1OK() *GetMigrationDestinationsV1OK

NewGetMigrationDestinationsV1OK creates a GetMigrationDestinationsV1OK with default headers values

func (*GetMigrationDestinationsV1OK) Code

Code gets the status code for the get migration destinations v1 o k response

func (*GetMigrationDestinationsV1OK) Error

func (*GetMigrationDestinationsV1OK) GetPayload

func (*GetMigrationDestinationsV1OK) IsClientError

func (o *GetMigrationDestinationsV1OK) IsClientError() bool

IsClientError returns true when this get migration destinations v1 o k response has a 4xx status code

func (*GetMigrationDestinationsV1OK) IsCode

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

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

func (*GetMigrationDestinationsV1OK) IsRedirect

func (o *GetMigrationDestinationsV1OK) IsRedirect() bool

IsRedirect returns true when this get migration destinations v1 o k response has a 3xx status code

func (*GetMigrationDestinationsV1OK) IsServerError

func (o *GetMigrationDestinationsV1OK) IsServerError() bool

IsServerError returns true when this get migration destinations v1 o k response has a 5xx status code

func (*GetMigrationDestinationsV1OK) IsSuccess

func (o *GetMigrationDestinationsV1OK) IsSuccess() bool

IsSuccess returns true when this get migration destinations v1 o k response has a 2xx status code

func (*GetMigrationDestinationsV1OK) String

type GetMigrationDestinationsV1Params

type GetMigrationDestinationsV1Params struct {

	// Body.
	Body *models.APIGetMigrationDestinationsRequestBodyV1

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

GetMigrationDestinationsV1Params contains all the parameters to send to the API endpoint

for the get migration destinations v1 operation.

Typically these are written to a http.Request.

func NewGetMigrationDestinationsV1Params

func NewGetMigrationDestinationsV1Params() *GetMigrationDestinationsV1Params

NewGetMigrationDestinationsV1Params creates a new GetMigrationDestinationsV1Params 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 NewGetMigrationDestinationsV1ParamsWithContext

func NewGetMigrationDestinationsV1ParamsWithContext(ctx context.Context) *GetMigrationDestinationsV1Params

NewGetMigrationDestinationsV1ParamsWithContext creates a new GetMigrationDestinationsV1Params object with the ability to set a context for a request.

func NewGetMigrationDestinationsV1ParamsWithHTTPClient

func NewGetMigrationDestinationsV1ParamsWithHTTPClient(client *http.Client) *GetMigrationDestinationsV1Params

NewGetMigrationDestinationsV1ParamsWithHTTPClient creates a new GetMigrationDestinationsV1Params object with the ability to set a custom HTTPClient for a request.

func NewGetMigrationDestinationsV1ParamsWithTimeout

func NewGetMigrationDestinationsV1ParamsWithTimeout(timeout time.Duration) *GetMigrationDestinationsV1Params

NewGetMigrationDestinationsV1ParamsWithTimeout creates a new GetMigrationDestinationsV1Params object with the ability to set a timeout on a request.

func (*GetMigrationDestinationsV1Params) SetBody

SetBody adds the body to the get migration destinations v1 params

func (*GetMigrationDestinationsV1Params) SetContext

SetContext adds the context to the get migration destinations v1 params

func (*GetMigrationDestinationsV1Params) SetDefaults

func (o *GetMigrationDestinationsV1Params) SetDefaults()

SetDefaults hydrates default values in the get migration destinations v1 params (not the query body).

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

func (*GetMigrationDestinationsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get migration destinations v1 params

func (*GetMigrationDestinationsV1Params) SetTimeout

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

SetTimeout adds the timeout to the get migration destinations v1 params

func (*GetMigrationDestinationsV1Params) WithBody

WithBody adds the body to the get migration destinations v1 params

func (*GetMigrationDestinationsV1Params) WithContext

WithContext adds the context to the get migration destinations v1 params

func (*GetMigrationDestinationsV1Params) WithDefaults

WithDefaults hydrates default values in the get migration destinations v1 params (not the query body).

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

func (*GetMigrationDestinationsV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get migration destinations v1 params

func (*GetMigrationDestinationsV1Params) WithTimeout

WithTimeout adds the timeout to the get migration destinations v1 params

func (*GetMigrationDestinationsV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMigrationDestinationsV1Reader

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

GetMigrationDestinationsV1Reader is a Reader for the GetMigrationDestinationsV1 structure.

func (*GetMigrationDestinationsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMigrationDestinationsV1TooManyRequests

type GetMigrationDestinationsV1TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetMigrationDestinationsV1TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetMigrationDestinationsV1TooManyRequests

func NewGetMigrationDestinationsV1TooManyRequests() *GetMigrationDestinationsV1TooManyRequests

NewGetMigrationDestinationsV1TooManyRequests creates a GetMigrationDestinationsV1TooManyRequests with default headers values

func (*GetMigrationDestinationsV1TooManyRequests) Code

Code gets the status code for the get migration destinations v1 too many requests response

func (*GetMigrationDestinationsV1TooManyRequests) Error

func (*GetMigrationDestinationsV1TooManyRequests) GetPayload

func (*GetMigrationDestinationsV1TooManyRequests) IsClientError

IsClientError returns true when this get migration destinations v1 too many requests response has a 4xx status code

func (*GetMigrationDestinationsV1TooManyRequests) IsCode

IsCode returns true when this get migration destinations v1 too many requests response a status code equal to that given

func (*GetMigrationDestinationsV1TooManyRequests) IsRedirect

IsRedirect returns true when this get migration destinations v1 too many requests response has a 3xx status code

func (*GetMigrationDestinationsV1TooManyRequests) IsServerError

IsServerError returns true when this get migration destinations v1 too many requests response has a 5xx status code

func (*GetMigrationDestinationsV1TooManyRequests) IsSuccess

IsSuccess returns true when this get migration destinations v1 too many requests response has a 2xx status code

func (*GetMigrationDestinationsV1TooManyRequests) String

type GetMigrationIDsV1BadRequest

type GetMigrationIDsV1BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

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

Bad Request

func NewGetMigrationIDsV1BadRequest

func NewGetMigrationIDsV1BadRequest() *GetMigrationIDsV1BadRequest

NewGetMigrationIDsV1BadRequest creates a GetMigrationIDsV1BadRequest with default headers values

func (*GetMigrationIDsV1BadRequest) Code

func (o *GetMigrationIDsV1BadRequest) Code() int

Code gets the status code for the get migration i ds v1 bad request response

func (*GetMigrationIDsV1BadRequest) Error

func (*GetMigrationIDsV1BadRequest) GetPayload

func (*GetMigrationIDsV1BadRequest) IsClientError

func (o *GetMigrationIDsV1BadRequest) IsClientError() bool

IsClientError returns true when this get migration i ds v1 bad request response has a 4xx status code

func (*GetMigrationIDsV1BadRequest) IsCode

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

IsCode returns true when this get migration i ds v1 bad request response a status code equal to that given

func (*GetMigrationIDsV1BadRequest) IsRedirect

func (o *GetMigrationIDsV1BadRequest) IsRedirect() bool

IsRedirect returns true when this get migration i ds v1 bad request response has a 3xx status code

func (*GetMigrationIDsV1BadRequest) IsServerError

func (o *GetMigrationIDsV1BadRequest) IsServerError() bool

IsServerError returns true when this get migration i ds v1 bad request response has a 5xx status code

func (*GetMigrationIDsV1BadRequest) IsSuccess

func (o *GetMigrationIDsV1BadRequest) IsSuccess() bool

IsSuccess returns true when this get migration i ds v1 bad request response has a 2xx status code

func (*GetMigrationIDsV1BadRequest) String

func (o *GetMigrationIDsV1BadRequest) String() string

type GetMigrationIDsV1Forbidden

type GetMigrationIDsV1Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewGetMigrationIDsV1Forbidden

func NewGetMigrationIDsV1Forbidden() *GetMigrationIDsV1Forbidden

NewGetMigrationIDsV1Forbidden creates a GetMigrationIDsV1Forbidden with default headers values

func (*GetMigrationIDsV1Forbidden) Code

func (o *GetMigrationIDsV1Forbidden) Code() int

Code gets the status code for the get migration i ds v1 forbidden response

func (*GetMigrationIDsV1Forbidden) Error

func (*GetMigrationIDsV1Forbidden) GetPayload

func (*GetMigrationIDsV1Forbidden) IsClientError

func (o *GetMigrationIDsV1Forbidden) IsClientError() bool

IsClientError returns true when this get migration i ds v1 forbidden response has a 4xx status code

func (*GetMigrationIDsV1Forbidden) IsCode

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

IsCode returns true when this get migration i ds v1 forbidden response a status code equal to that given

func (*GetMigrationIDsV1Forbidden) IsRedirect

func (o *GetMigrationIDsV1Forbidden) IsRedirect() bool

IsRedirect returns true when this get migration i ds v1 forbidden response has a 3xx status code

func (*GetMigrationIDsV1Forbidden) IsServerError

func (o *GetMigrationIDsV1Forbidden) IsServerError() bool

IsServerError returns true when this get migration i ds v1 forbidden response has a 5xx status code

func (*GetMigrationIDsV1Forbidden) IsSuccess

func (o *GetMigrationIDsV1Forbidden) IsSuccess() bool

IsSuccess returns true when this get migration i ds v1 forbidden response has a 2xx status code

func (*GetMigrationIDsV1Forbidden) String

func (o *GetMigrationIDsV1Forbidden) String() string

type GetMigrationIDsV1InternalServerError

type GetMigrationIDsV1InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

GetMigrationIDsV1InternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetMigrationIDsV1InternalServerError

func NewGetMigrationIDsV1InternalServerError() *GetMigrationIDsV1InternalServerError

NewGetMigrationIDsV1InternalServerError creates a GetMigrationIDsV1InternalServerError with default headers values

func (*GetMigrationIDsV1InternalServerError) Code

Code gets the status code for the get migration i ds v1 internal server error response

func (*GetMigrationIDsV1InternalServerError) Error

func (*GetMigrationIDsV1InternalServerError) GetPayload

func (*GetMigrationIDsV1InternalServerError) IsClientError

func (o *GetMigrationIDsV1InternalServerError) IsClientError() bool

IsClientError returns true when this get migration i ds v1 internal server error response has a 4xx status code

func (*GetMigrationIDsV1InternalServerError) IsCode

IsCode returns true when this get migration i ds v1 internal server error response a status code equal to that given

func (*GetMigrationIDsV1InternalServerError) IsRedirect

IsRedirect returns true when this get migration i ds v1 internal server error response has a 3xx status code

func (*GetMigrationIDsV1InternalServerError) IsServerError

func (o *GetMigrationIDsV1InternalServerError) IsServerError() bool

IsServerError returns true when this get migration i ds v1 internal server error response has a 5xx status code

func (*GetMigrationIDsV1InternalServerError) IsSuccess

IsSuccess returns true when this get migration i ds v1 internal server error response has a 2xx status code

func (*GetMigrationIDsV1InternalServerError) String

type GetMigrationIDsV1OK

type GetMigrationIDsV1OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

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

OK

func NewGetMigrationIDsV1OK

func NewGetMigrationIDsV1OK() *GetMigrationIDsV1OK

NewGetMigrationIDsV1OK creates a GetMigrationIDsV1OK with default headers values

func (*GetMigrationIDsV1OK) Code

func (o *GetMigrationIDsV1OK) Code() int

Code gets the status code for the get migration i ds v1 o k response

func (*GetMigrationIDsV1OK) Error

func (o *GetMigrationIDsV1OK) Error() string

func (*GetMigrationIDsV1OK) GetPayload

func (*GetMigrationIDsV1OK) IsClientError

func (o *GetMigrationIDsV1OK) IsClientError() bool

IsClientError returns true when this get migration i ds v1 o k response has a 4xx status code

func (*GetMigrationIDsV1OK) IsCode

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

IsCode returns true when this get migration i ds v1 o k response a status code equal to that given

func (*GetMigrationIDsV1OK) IsRedirect

func (o *GetMigrationIDsV1OK) IsRedirect() bool

IsRedirect returns true when this get migration i ds v1 o k response has a 3xx status code

func (*GetMigrationIDsV1OK) IsServerError

func (o *GetMigrationIDsV1OK) IsServerError() bool

IsServerError returns true when this get migration i ds v1 o k response has a 5xx status code

func (*GetMigrationIDsV1OK) IsSuccess

func (o *GetMigrationIDsV1OK) IsSuccess() bool

IsSuccess returns true when this get migration i ds v1 o k response has a 2xx status code

func (*GetMigrationIDsV1OK) String

func (o *GetMigrationIDsV1OK) String() string

type GetMigrationIDsV1Params

type GetMigrationIDsV1Params struct {

	/* Filter.

	   The filter expression that should be used to limit the results. Valid fields: migration_id, target_cid, status, migration_status, created_by, created_time, name, id
	*/
	Filter *string

	/* Limit.

	   The maximum records to return. [1-10000]
	*/
	Limit *int64

	/* Offset.

	   The offset to start retrieving records from
	*/
	Offset *int64

	/* Sort.

	   The property to sort by.
	*/
	Sort *string

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

GetMigrationIDsV1Params contains all the parameters to send to the API endpoint

for the get migration i ds v1 operation.

Typically these are written to a http.Request.

func NewGetMigrationIDsV1Params

func NewGetMigrationIDsV1Params() *GetMigrationIDsV1Params

NewGetMigrationIDsV1Params creates a new GetMigrationIDsV1Params 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 NewGetMigrationIDsV1ParamsWithContext

func NewGetMigrationIDsV1ParamsWithContext(ctx context.Context) *GetMigrationIDsV1Params

NewGetMigrationIDsV1ParamsWithContext creates a new GetMigrationIDsV1Params object with the ability to set a context for a request.

func NewGetMigrationIDsV1ParamsWithHTTPClient

func NewGetMigrationIDsV1ParamsWithHTTPClient(client *http.Client) *GetMigrationIDsV1Params

NewGetMigrationIDsV1ParamsWithHTTPClient creates a new GetMigrationIDsV1Params object with the ability to set a custom HTTPClient for a request.

func NewGetMigrationIDsV1ParamsWithTimeout

func NewGetMigrationIDsV1ParamsWithTimeout(timeout time.Duration) *GetMigrationIDsV1Params

NewGetMigrationIDsV1ParamsWithTimeout creates a new GetMigrationIDsV1Params object with the ability to set a timeout on a request.

func (*GetMigrationIDsV1Params) SetContext

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

SetContext adds the context to the get migration i ds v1 params

func (*GetMigrationIDsV1Params) SetDefaults

func (o *GetMigrationIDsV1Params) SetDefaults()

SetDefaults hydrates default values in the get migration i ds v1 params (not the query body).

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

func (*GetMigrationIDsV1Params) SetFilter

func (o *GetMigrationIDsV1Params) SetFilter(filter *string)

SetFilter adds the filter to the get migration i ds v1 params

func (*GetMigrationIDsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get migration i ds v1 params

func (*GetMigrationIDsV1Params) SetLimit

func (o *GetMigrationIDsV1Params) SetLimit(limit *int64)

SetLimit adds the limit to the get migration i ds v1 params

func (*GetMigrationIDsV1Params) SetOffset

func (o *GetMigrationIDsV1Params) SetOffset(offset *int64)

SetOffset adds the offset to the get migration i ds v1 params

func (*GetMigrationIDsV1Params) SetSort

func (o *GetMigrationIDsV1Params) SetSort(sort *string)

SetSort adds the sort to the get migration i ds v1 params

func (*GetMigrationIDsV1Params) SetTimeout

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

SetTimeout adds the timeout to the get migration i ds v1 params

func (*GetMigrationIDsV1Params) WithContext

WithContext adds the context to the get migration i ds v1 params

func (*GetMigrationIDsV1Params) WithDefaults

WithDefaults hydrates default values in the get migration i ds v1 params (not the query body).

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

func (*GetMigrationIDsV1Params) WithFilter

func (o *GetMigrationIDsV1Params) WithFilter(filter *string) *GetMigrationIDsV1Params

WithFilter adds the filter to the get migration i ds v1 params

func (*GetMigrationIDsV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get migration i ds v1 params

func (*GetMigrationIDsV1Params) WithLimit

WithLimit adds the limit to the get migration i ds v1 params

func (*GetMigrationIDsV1Params) WithOffset

func (o *GetMigrationIDsV1Params) WithOffset(offset *int64) *GetMigrationIDsV1Params

WithOffset adds the offset to the get migration i ds v1 params

func (*GetMigrationIDsV1Params) WithSort

WithSort adds the sort to the get migration i ds v1 params

func (*GetMigrationIDsV1Params) WithTimeout

WithTimeout adds the timeout to the get migration i ds v1 params

func (*GetMigrationIDsV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetMigrationIDsV1Reader

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

GetMigrationIDsV1Reader is a Reader for the GetMigrationIDsV1 structure.

func (*GetMigrationIDsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMigrationIDsV1TooManyRequests

type GetMigrationIDsV1TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetMigrationIDsV1TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetMigrationIDsV1TooManyRequests

func NewGetMigrationIDsV1TooManyRequests() *GetMigrationIDsV1TooManyRequests

NewGetMigrationIDsV1TooManyRequests creates a GetMigrationIDsV1TooManyRequests with default headers values

func (*GetMigrationIDsV1TooManyRequests) Code

Code gets the status code for the get migration i ds v1 too many requests response

func (*GetMigrationIDsV1TooManyRequests) Error

func (*GetMigrationIDsV1TooManyRequests) GetPayload

func (*GetMigrationIDsV1TooManyRequests) IsClientError

func (o *GetMigrationIDsV1TooManyRequests) IsClientError() bool

IsClientError returns true when this get migration i ds v1 too many requests response has a 4xx status code

func (*GetMigrationIDsV1TooManyRequests) IsCode

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

IsCode returns true when this get migration i ds v1 too many requests response a status code equal to that given

func (*GetMigrationIDsV1TooManyRequests) IsRedirect

func (o *GetMigrationIDsV1TooManyRequests) IsRedirect() bool

IsRedirect returns true when this get migration i ds v1 too many requests response has a 3xx status code

func (*GetMigrationIDsV1TooManyRequests) IsServerError

func (o *GetMigrationIDsV1TooManyRequests) IsServerError() bool

IsServerError returns true when this get migration i ds v1 too many requests response has a 5xx status code

func (*GetMigrationIDsV1TooManyRequests) IsSuccess

func (o *GetMigrationIDsV1TooManyRequests) IsSuccess() bool

IsSuccess returns true when this get migration i ds v1 too many requests response has a 2xx status code

func (*GetMigrationIDsV1TooManyRequests) String

type GetMigrationsV1BadRequest

type GetMigrationsV1BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIGetMigrationsResponseV1
}

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

Bad Request

func NewGetMigrationsV1BadRequest

func NewGetMigrationsV1BadRequest() *GetMigrationsV1BadRequest

NewGetMigrationsV1BadRequest creates a GetMigrationsV1BadRequest with default headers values

func (*GetMigrationsV1BadRequest) Code

func (o *GetMigrationsV1BadRequest) Code() int

Code gets the status code for the get migrations v1 bad request response

func (*GetMigrationsV1BadRequest) Error

func (o *GetMigrationsV1BadRequest) Error() string

func (*GetMigrationsV1BadRequest) GetPayload

func (*GetMigrationsV1BadRequest) IsClientError

func (o *GetMigrationsV1BadRequest) IsClientError() bool

IsClientError returns true when this get migrations v1 bad request response has a 4xx status code

func (*GetMigrationsV1BadRequest) IsCode

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

IsCode returns true when this get migrations v1 bad request response a status code equal to that given

func (*GetMigrationsV1BadRequest) IsRedirect

func (o *GetMigrationsV1BadRequest) IsRedirect() bool

IsRedirect returns true when this get migrations v1 bad request response has a 3xx status code

func (*GetMigrationsV1BadRequest) IsServerError

func (o *GetMigrationsV1BadRequest) IsServerError() bool

IsServerError returns true when this get migrations v1 bad request response has a 5xx status code

func (*GetMigrationsV1BadRequest) IsSuccess

func (o *GetMigrationsV1BadRequest) IsSuccess() bool

IsSuccess returns true when this get migrations v1 bad request response has a 2xx status code

func (*GetMigrationsV1BadRequest) String

func (o *GetMigrationsV1BadRequest) String() string

type GetMigrationsV1Forbidden

type GetMigrationsV1Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewGetMigrationsV1Forbidden

func NewGetMigrationsV1Forbidden() *GetMigrationsV1Forbidden

NewGetMigrationsV1Forbidden creates a GetMigrationsV1Forbidden with default headers values

func (*GetMigrationsV1Forbidden) Code

func (o *GetMigrationsV1Forbidden) Code() int

Code gets the status code for the get migrations v1 forbidden response

func (*GetMigrationsV1Forbidden) Error

func (o *GetMigrationsV1Forbidden) Error() string

func (*GetMigrationsV1Forbidden) GetPayload

func (*GetMigrationsV1Forbidden) IsClientError

func (o *GetMigrationsV1Forbidden) IsClientError() bool

IsClientError returns true when this get migrations v1 forbidden response has a 4xx status code

func (*GetMigrationsV1Forbidden) IsCode

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

IsCode returns true when this get migrations v1 forbidden response a status code equal to that given

func (*GetMigrationsV1Forbidden) IsRedirect

func (o *GetMigrationsV1Forbidden) IsRedirect() bool

IsRedirect returns true when this get migrations v1 forbidden response has a 3xx status code

func (*GetMigrationsV1Forbidden) IsServerError

func (o *GetMigrationsV1Forbidden) IsServerError() bool

IsServerError returns true when this get migrations v1 forbidden response has a 5xx status code

func (*GetMigrationsV1Forbidden) IsSuccess

func (o *GetMigrationsV1Forbidden) IsSuccess() bool

IsSuccess returns true when this get migrations v1 forbidden response has a 2xx status code

func (*GetMigrationsV1Forbidden) String

func (o *GetMigrationsV1Forbidden) String() string

type GetMigrationsV1InternalServerError

type GetMigrationsV1InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIGetMigrationsResponseV1
}

GetMigrationsV1InternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetMigrationsV1InternalServerError

func NewGetMigrationsV1InternalServerError() *GetMigrationsV1InternalServerError

NewGetMigrationsV1InternalServerError creates a GetMigrationsV1InternalServerError with default headers values

func (*GetMigrationsV1InternalServerError) Code

Code gets the status code for the get migrations v1 internal server error response

func (*GetMigrationsV1InternalServerError) Error

func (*GetMigrationsV1InternalServerError) GetPayload

func (*GetMigrationsV1InternalServerError) IsClientError

func (o *GetMigrationsV1InternalServerError) IsClientError() bool

IsClientError returns true when this get migrations v1 internal server error response has a 4xx status code

func (*GetMigrationsV1InternalServerError) IsCode

IsCode returns true when this get migrations v1 internal server error response a status code equal to that given

func (*GetMigrationsV1InternalServerError) IsRedirect

func (o *GetMigrationsV1InternalServerError) IsRedirect() bool

IsRedirect returns true when this get migrations v1 internal server error response has a 3xx status code

func (*GetMigrationsV1InternalServerError) IsServerError

func (o *GetMigrationsV1InternalServerError) IsServerError() bool

IsServerError returns true when this get migrations v1 internal server error response has a 5xx status code

func (*GetMigrationsV1InternalServerError) IsSuccess

IsSuccess returns true when this get migrations v1 internal server error response has a 2xx status code

func (*GetMigrationsV1InternalServerError) String

type GetMigrationsV1NotFound

type GetMigrationsV1NotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIGetMigrationsResponseV1
}

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

Not Found

func NewGetMigrationsV1NotFound

func NewGetMigrationsV1NotFound() *GetMigrationsV1NotFound

NewGetMigrationsV1NotFound creates a GetMigrationsV1NotFound with default headers values

func (*GetMigrationsV1NotFound) Code

func (o *GetMigrationsV1NotFound) Code() int

Code gets the status code for the get migrations v1 not found response

func (*GetMigrationsV1NotFound) Error

func (o *GetMigrationsV1NotFound) Error() string

func (*GetMigrationsV1NotFound) GetPayload

func (*GetMigrationsV1NotFound) IsClientError

func (o *GetMigrationsV1NotFound) IsClientError() bool

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

func (*GetMigrationsV1NotFound) IsCode

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

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

func (*GetMigrationsV1NotFound) IsRedirect

func (o *GetMigrationsV1NotFound) IsRedirect() bool

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

func (*GetMigrationsV1NotFound) IsServerError

func (o *GetMigrationsV1NotFound) IsServerError() bool

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

func (*GetMigrationsV1NotFound) IsSuccess

func (o *GetMigrationsV1NotFound) IsSuccess() bool

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

func (*GetMigrationsV1NotFound) String

func (o *GetMigrationsV1NotFound) String() string

type GetMigrationsV1OK

type GetMigrationsV1OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIGetMigrationsResponseV1
}

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

OK

func NewGetMigrationsV1OK

func NewGetMigrationsV1OK() *GetMigrationsV1OK

NewGetMigrationsV1OK creates a GetMigrationsV1OK with default headers values

func (*GetMigrationsV1OK) Code

func (o *GetMigrationsV1OK) Code() int

Code gets the status code for the get migrations v1 o k response

func (*GetMigrationsV1OK) Error

func (o *GetMigrationsV1OK) Error() string

func (*GetMigrationsV1OK) GetPayload

func (*GetMigrationsV1OK) IsClientError

func (o *GetMigrationsV1OK) IsClientError() bool

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

func (*GetMigrationsV1OK) IsCode

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

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

func (*GetMigrationsV1OK) IsRedirect

func (o *GetMigrationsV1OK) IsRedirect() bool

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

func (*GetMigrationsV1OK) IsServerError

func (o *GetMigrationsV1OK) IsServerError() bool

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

func (*GetMigrationsV1OK) IsSuccess

func (o *GetMigrationsV1OK) IsSuccess() bool

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

func (*GetMigrationsV1OK) String

func (o *GetMigrationsV1OK) String() string

type GetMigrationsV1Params

type GetMigrationsV1Params struct {

	/* Ids.

	   The migration jobs of interest.
	*/
	Ids []string

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

GetMigrationsV1Params contains all the parameters to send to the API endpoint

for the get migrations v1 operation.

Typically these are written to a http.Request.

func NewGetMigrationsV1Params

func NewGetMigrationsV1Params() *GetMigrationsV1Params

NewGetMigrationsV1Params creates a new GetMigrationsV1Params 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 NewGetMigrationsV1ParamsWithContext

func NewGetMigrationsV1ParamsWithContext(ctx context.Context) *GetMigrationsV1Params

NewGetMigrationsV1ParamsWithContext creates a new GetMigrationsV1Params object with the ability to set a context for a request.

func NewGetMigrationsV1ParamsWithHTTPClient

func NewGetMigrationsV1ParamsWithHTTPClient(client *http.Client) *GetMigrationsV1Params

NewGetMigrationsV1ParamsWithHTTPClient creates a new GetMigrationsV1Params object with the ability to set a custom HTTPClient for a request.

func NewGetMigrationsV1ParamsWithTimeout

func NewGetMigrationsV1ParamsWithTimeout(timeout time.Duration) *GetMigrationsV1Params

NewGetMigrationsV1ParamsWithTimeout creates a new GetMigrationsV1Params object with the ability to set a timeout on a request.

func (*GetMigrationsV1Params) SetContext

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

SetContext adds the context to the get migrations v1 params

func (*GetMigrationsV1Params) SetDefaults

func (o *GetMigrationsV1Params) SetDefaults()

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

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

func (*GetMigrationsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get migrations v1 params

func (*GetMigrationsV1Params) SetIds

func (o *GetMigrationsV1Params) SetIds(ids []string)

SetIds adds the ids to the get migrations v1 params

func (*GetMigrationsV1Params) SetTimeout

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

SetTimeout adds the timeout to the get migrations v1 params

func (*GetMigrationsV1Params) WithContext

WithContext adds the context to the get migrations v1 params

func (*GetMigrationsV1Params) WithDefaults

func (o *GetMigrationsV1Params) WithDefaults() *GetMigrationsV1Params

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

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

func (*GetMigrationsV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get migrations v1 params

func (*GetMigrationsV1Params) WithIds

WithIds adds the ids to the get migrations v1 params

func (*GetMigrationsV1Params) WithTimeout

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

WithTimeout adds the timeout to the get migrations v1 params

func (*GetMigrationsV1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetMigrationsV1Reader

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

GetMigrationsV1Reader is a Reader for the GetMigrationsV1 structure.

func (*GetMigrationsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetMigrationsV1TooManyRequests

type GetMigrationsV1TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetMigrationsV1TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetMigrationsV1TooManyRequests

func NewGetMigrationsV1TooManyRequests() *GetMigrationsV1TooManyRequests

NewGetMigrationsV1TooManyRequests creates a GetMigrationsV1TooManyRequests with default headers values

func (*GetMigrationsV1TooManyRequests) Code

Code gets the status code for the get migrations v1 too many requests response

func (*GetMigrationsV1TooManyRequests) Error

func (*GetMigrationsV1TooManyRequests) GetPayload

func (*GetMigrationsV1TooManyRequests) IsClientError

func (o *GetMigrationsV1TooManyRequests) IsClientError() bool

IsClientError returns true when this get migrations v1 too many requests response has a 4xx status code

func (*GetMigrationsV1TooManyRequests) IsCode

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

IsCode returns true when this get migrations v1 too many requests response a status code equal to that given

func (*GetMigrationsV1TooManyRequests) IsRedirect

func (o *GetMigrationsV1TooManyRequests) IsRedirect() bool

IsRedirect returns true when this get migrations v1 too many requests response has a 3xx status code

func (*GetMigrationsV1TooManyRequests) IsServerError

func (o *GetMigrationsV1TooManyRequests) IsServerError() bool

IsServerError returns true when this get migrations v1 too many requests response has a 5xx status code

func (*GetMigrationsV1TooManyRequests) IsSuccess

func (o *GetMigrationsV1TooManyRequests) IsSuccess() bool

IsSuccess returns true when this get migrations v1 too many requests response has a 2xx status code

func (*GetMigrationsV1TooManyRequests) String

type HostMigrationAggregatesV1BadRequest

type HostMigrationAggregatesV1BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

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

Bad Request

func NewHostMigrationAggregatesV1BadRequest

func NewHostMigrationAggregatesV1BadRequest() *HostMigrationAggregatesV1BadRequest

NewHostMigrationAggregatesV1BadRequest creates a HostMigrationAggregatesV1BadRequest with default headers values

func (*HostMigrationAggregatesV1BadRequest) Code

Code gets the status code for the host migration aggregates v1 bad request response

func (*HostMigrationAggregatesV1BadRequest) Error

func (*HostMigrationAggregatesV1BadRequest) GetPayload

func (*HostMigrationAggregatesV1BadRequest) IsClientError

func (o *HostMigrationAggregatesV1BadRequest) IsClientError() bool

IsClientError returns true when this host migration aggregates v1 bad request response has a 4xx status code

func (*HostMigrationAggregatesV1BadRequest) IsCode

IsCode returns true when this host migration aggregates v1 bad request response a status code equal to that given

func (*HostMigrationAggregatesV1BadRequest) IsRedirect

func (o *HostMigrationAggregatesV1BadRequest) IsRedirect() bool

IsRedirect returns true when this host migration aggregates v1 bad request response has a 3xx status code

func (*HostMigrationAggregatesV1BadRequest) IsServerError

func (o *HostMigrationAggregatesV1BadRequest) IsServerError() bool

IsServerError returns true when this host migration aggregates v1 bad request response has a 5xx status code

func (*HostMigrationAggregatesV1BadRequest) IsSuccess

IsSuccess returns true when this host migration aggregates v1 bad request response has a 2xx status code

func (*HostMigrationAggregatesV1BadRequest) String

type HostMigrationAggregatesV1Forbidden

type HostMigrationAggregatesV1Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewHostMigrationAggregatesV1Forbidden

func NewHostMigrationAggregatesV1Forbidden() *HostMigrationAggregatesV1Forbidden

NewHostMigrationAggregatesV1Forbidden creates a HostMigrationAggregatesV1Forbidden with default headers values

func (*HostMigrationAggregatesV1Forbidden) Code

Code gets the status code for the host migration aggregates v1 forbidden response

func (*HostMigrationAggregatesV1Forbidden) Error

func (*HostMigrationAggregatesV1Forbidden) GetPayload

func (*HostMigrationAggregatesV1Forbidden) IsClientError

func (o *HostMigrationAggregatesV1Forbidden) IsClientError() bool

IsClientError returns true when this host migration aggregates v1 forbidden response has a 4xx status code

func (*HostMigrationAggregatesV1Forbidden) IsCode

IsCode returns true when this host migration aggregates v1 forbidden response a status code equal to that given

func (*HostMigrationAggregatesV1Forbidden) IsRedirect

func (o *HostMigrationAggregatesV1Forbidden) IsRedirect() bool

IsRedirect returns true when this host migration aggregates v1 forbidden response has a 3xx status code

func (*HostMigrationAggregatesV1Forbidden) IsServerError

func (o *HostMigrationAggregatesV1Forbidden) IsServerError() bool

IsServerError returns true when this host migration aggregates v1 forbidden response has a 5xx status code

func (*HostMigrationAggregatesV1Forbidden) IsSuccess

IsSuccess returns true when this host migration aggregates v1 forbidden response has a 2xx status code

func (*HostMigrationAggregatesV1Forbidden) String

type HostMigrationAggregatesV1InternalServerError

type HostMigrationAggregatesV1InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

HostMigrationAggregatesV1InternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewHostMigrationAggregatesV1InternalServerError

func NewHostMigrationAggregatesV1InternalServerError() *HostMigrationAggregatesV1InternalServerError

NewHostMigrationAggregatesV1InternalServerError creates a HostMigrationAggregatesV1InternalServerError with default headers values

func (*HostMigrationAggregatesV1InternalServerError) Code

Code gets the status code for the host migration aggregates v1 internal server error response

func (*HostMigrationAggregatesV1InternalServerError) Error

func (*HostMigrationAggregatesV1InternalServerError) GetPayload

func (*HostMigrationAggregatesV1InternalServerError) IsClientError

IsClientError returns true when this host migration aggregates v1 internal server error response has a 4xx status code

func (*HostMigrationAggregatesV1InternalServerError) IsCode

IsCode returns true when this host migration aggregates v1 internal server error response a status code equal to that given

func (*HostMigrationAggregatesV1InternalServerError) IsRedirect

IsRedirect returns true when this host migration aggregates v1 internal server error response has a 3xx status code

func (*HostMigrationAggregatesV1InternalServerError) IsServerError

IsServerError returns true when this host migration aggregates v1 internal server error response has a 5xx status code

func (*HostMigrationAggregatesV1InternalServerError) IsSuccess

IsSuccess returns true when this host migration aggregates v1 internal server error response has a 2xx status code

func (*HostMigrationAggregatesV1InternalServerError) String

type HostMigrationAggregatesV1OK

type HostMigrationAggregatesV1OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaAggregatesResponse
}

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

OK

func NewHostMigrationAggregatesV1OK

func NewHostMigrationAggregatesV1OK() *HostMigrationAggregatesV1OK

NewHostMigrationAggregatesV1OK creates a HostMigrationAggregatesV1OK with default headers values

func (*HostMigrationAggregatesV1OK) Code

func (o *HostMigrationAggregatesV1OK) Code() int

Code gets the status code for the host migration aggregates v1 o k response

func (*HostMigrationAggregatesV1OK) Error

func (*HostMigrationAggregatesV1OK) GetPayload

func (*HostMigrationAggregatesV1OK) IsClientError

func (o *HostMigrationAggregatesV1OK) IsClientError() bool

IsClientError returns true when this host migration aggregates v1 o k response has a 4xx status code

func (*HostMigrationAggregatesV1OK) IsCode

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

IsCode returns true when this host migration aggregates v1 o k response a status code equal to that given

func (*HostMigrationAggregatesV1OK) IsRedirect

func (o *HostMigrationAggregatesV1OK) IsRedirect() bool

IsRedirect returns true when this host migration aggregates v1 o k response has a 3xx status code

func (*HostMigrationAggregatesV1OK) IsServerError

func (o *HostMigrationAggregatesV1OK) IsServerError() bool

IsServerError returns true when this host migration aggregates v1 o k response has a 5xx status code

func (*HostMigrationAggregatesV1OK) IsSuccess

func (o *HostMigrationAggregatesV1OK) IsSuccess() bool

IsSuccess returns true when this host migration aggregates v1 o k response has a 2xx status code

func (*HostMigrationAggregatesV1OK) String

func (o *HostMigrationAggregatesV1OK) String() string

type HostMigrationAggregatesV1Params

type HostMigrationAggregatesV1Params struct {

	// Body.
	Body []*models.MsaAggregateQueryRequest

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

HostMigrationAggregatesV1Params contains all the parameters to send to the API endpoint

for the host migration aggregates v1 operation.

Typically these are written to a http.Request.

func NewHostMigrationAggregatesV1Params

func NewHostMigrationAggregatesV1Params() *HostMigrationAggregatesV1Params

NewHostMigrationAggregatesV1Params creates a new HostMigrationAggregatesV1Params 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 NewHostMigrationAggregatesV1ParamsWithContext

func NewHostMigrationAggregatesV1ParamsWithContext(ctx context.Context) *HostMigrationAggregatesV1Params

NewHostMigrationAggregatesV1ParamsWithContext creates a new HostMigrationAggregatesV1Params object with the ability to set a context for a request.

func NewHostMigrationAggregatesV1ParamsWithHTTPClient

func NewHostMigrationAggregatesV1ParamsWithHTTPClient(client *http.Client) *HostMigrationAggregatesV1Params

NewHostMigrationAggregatesV1ParamsWithHTTPClient creates a new HostMigrationAggregatesV1Params object with the ability to set a custom HTTPClient for a request.

func NewHostMigrationAggregatesV1ParamsWithTimeout

func NewHostMigrationAggregatesV1ParamsWithTimeout(timeout time.Duration) *HostMigrationAggregatesV1Params

NewHostMigrationAggregatesV1ParamsWithTimeout creates a new HostMigrationAggregatesV1Params object with the ability to set a timeout on a request.

func (*HostMigrationAggregatesV1Params) SetBody

SetBody adds the body to the host migration aggregates v1 params

func (*HostMigrationAggregatesV1Params) SetContext

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

SetContext adds the context to the host migration aggregates v1 params

func (*HostMigrationAggregatesV1Params) SetDefaults

func (o *HostMigrationAggregatesV1Params) SetDefaults()

SetDefaults hydrates default values in the host migration aggregates v1 params (not the query body).

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

func (*HostMigrationAggregatesV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the host migration aggregates v1 params

func (*HostMigrationAggregatesV1Params) SetTimeout

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

SetTimeout adds the timeout to the host migration aggregates v1 params

func (*HostMigrationAggregatesV1Params) WithBody

WithBody adds the body to the host migration aggregates v1 params

func (*HostMigrationAggregatesV1Params) WithContext

WithContext adds the context to the host migration aggregates v1 params

func (*HostMigrationAggregatesV1Params) WithDefaults

WithDefaults hydrates default values in the host migration aggregates v1 params (not the query body).

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

func (*HostMigrationAggregatesV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the host migration aggregates v1 params

func (*HostMigrationAggregatesV1Params) WithTimeout

WithTimeout adds the timeout to the host migration aggregates v1 params

func (*HostMigrationAggregatesV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostMigrationAggregatesV1Reader

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

HostMigrationAggregatesV1Reader is a Reader for the HostMigrationAggregatesV1 structure.

func (*HostMigrationAggregatesV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HostMigrationAggregatesV1TooManyRequests

type HostMigrationAggregatesV1TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

HostMigrationAggregatesV1TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewHostMigrationAggregatesV1TooManyRequests

func NewHostMigrationAggregatesV1TooManyRequests() *HostMigrationAggregatesV1TooManyRequests

NewHostMigrationAggregatesV1TooManyRequests creates a HostMigrationAggregatesV1TooManyRequests with default headers values

func (*HostMigrationAggregatesV1TooManyRequests) Code

Code gets the status code for the host migration aggregates v1 too many requests response

func (*HostMigrationAggregatesV1TooManyRequests) Error

func (*HostMigrationAggregatesV1TooManyRequests) GetPayload

func (*HostMigrationAggregatesV1TooManyRequests) IsClientError

IsClientError returns true when this host migration aggregates v1 too many requests response has a 4xx status code

func (*HostMigrationAggregatesV1TooManyRequests) IsCode

IsCode returns true when this host migration aggregates v1 too many requests response a status code equal to that given

func (*HostMigrationAggregatesV1TooManyRequests) IsRedirect

IsRedirect returns true when this host migration aggregates v1 too many requests response has a 3xx status code

func (*HostMigrationAggregatesV1TooManyRequests) IsServerError

IsServerError returns true when this host migration aggregates v1 too many requests response has a 5xx status code

func (*HostMigrationAggregatesV1TooManyRequests) IsSuccess

IsSuccess returns true when this host migration aggregates v1 too many requests response has a 2xx status code

func (*HostMigrationAggregatesV1TooManyRequests) String

type HostMigrationsActionsV1BadRequest

type HostMigrationsActionsV1BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

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

Bad Request

func NewHostMigrationsActionsV1BadRequest

func NewHostMigrationsActionsV1BadRequest() *HostMigrationsActionsV1BadRequest

NewHostMigrationsActionsV1BadRequest creates a HostMigrationsActionsV1BadRequest with default headers values

func (*HostMigrationsActionsV1BadRequest) Code

Code gets the status code for the host migrations actions v1 bad request response

func (*HostMigrationsActionsV1BadRequest) Error

func (*HostMigrationsActionsV1BadRequest) GetPayload

func (*HostMigrationsActionsV1BadRequest) IsClientError

func (o *HostMigrationsActionsV1BadRequest) IsClientError() bool

IsClientError returns true when this host migrations actions v1 bad request response has a 4xx status code

func (*HostMigrationsActionsV1BadRequest) IsCode

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

IsCode returns true when this host migrations actions v1 bad request response a status code equal to that given

func (*HostMigrationsActionsV1BadRequest) IsRedirect

func (o *HostMigrationsActionsV1BadRequest) IsRedirect() bool

IsRedirect returns true when this host migrations actions v1 bad request response has a 3xx status code

func (*HostMigrationsActionsV1BadRequest) IsServerError

func (o *HostMigrationsActionsV1BadRequest) IsServerError() bool

IsServerError returns true when this host migrations actions v1 bad request response has a 5xx status code

func (*HostMigrationsActionsV1BadRequest) IsSuccess

func (o *HostMigrationsActionsV1BadRequest) IsSuccess() bool

IsSuccess returns true when this host migrations actions v1 bad request response has a 2xx status code

func (*HostMigrationsActionsV1BadRequest) String

type HostMigrationsActionsV1Forbidden

type HostMigrationsActionsV1Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewHostMigrationsActionsV1Forbidden

func NewHostMigrationsActionsV1Forbidden() *HostMigrationsActionsV1Forbidden

NewHostMigrationsActionsV1Forbidden creates a HostMigrationsActionsV1Forbidden with default headers values

func (*HostMigrationsActionsV1Forbidden) Code

Code gets the status code for the host migrations actions v1 forbidden response

func (*HostMigrationsActionsV1Forbidden) Error

func (*HostMigrationsActionsV1Forbidden) GetPayload

func (*HostMigrationsActionsV1Forbidden) IsClientError

func (o *HostMigrationsActionsV1Forbidden) IsClientError() bool

IsClientError returns true when this host migrations actions v1 forbidden response has a 4xx status code

func (*HostMigrationsActionsV1Forbidden) IsCode

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

IsCode returns true when this host migrations actions v1 forbidden response a status code equal to that given

func (*HostMigrationsActionsV1Forbidden) IsRedirect

func (o *HostMigrationsActionsV1Forbidden) IsRedirect() bool

IsRedirect returns true when this host migrations actions v1 forbidden response has a 3xx status code

func (*HostMigrationsActionsV1Forbidden) IsServerError

func (o *HostMigrationsActionsV1Forbidden) IsServerError() bool

IsServerError returns true when this host migrations actions v1 forbidden response has a 5xx status code

func (*HostMigrationsActionsV1Forbidden) IsSuccess

func (o *HostMigrationsActionsV1Forbidden) IsSuccess() bool

IsSuccess returns true when this host migrations actions v1 forbidden response has a 2xx status code

func (*HostMigrationsActionsV1Forbidden) String

type HostMigrationsActionsV1InternalServerError

type HostMigrationsActionsV1InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

HostMigrationsActionsV1InternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewHostMigrationsActionsV1InternalServerError

func NewHostMigrationsActionsV1InternalServerError() *HostMigrationsActionsV1InternalServerError

NewHostMigrationsActionsV1InternalServerError creates a HostMigrationsActionsV1InternalServerError with default headers values

func (*HostMigrationsActionsV1InternalServerError) Code

Code gets the status code for the host migrations actions v1 internal server error response

func (*HostMigrationsActionsV1InternalServerError) Error

func (*HostMigrationsActionsV1InternalServerError) GetPayload

func (*HostMigrationsActionsV1InternalServerError) IsClientError

IsClientError returns true when this host migrations actions v1 internal server error response has a 4xx status code

func (*HostMigrationsActionsV1InternalServerError) IsCode

IsCode returns true when this host migrations actions v1 internal server error response a status code equal to that given

func (*HostMigrationsActionsV1InternalServerError) IsRedirect

IsRedirect returns true when this host migrations actions v1 internal server error response has a 3xx status code

func (*HostMigrationsActionsV1InternalServerError) IsServerError

IsServerError returns true when this host migrations actions v1 internal server error response has a 5xx status code

func (*HostMigrationsActionsV1InternalServerError) IsSuccess

IsSuccess returns true when this host migrations actions v1 internal server error response has a 2xx status code

func (*HostMigrationsActionsV1InternalServerError) String

type HostMigrationsActionsV1NotFound

type HostMigrationsActionsV1NotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

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

Not Found

func NewHostMigrationsActionsV1NotFound

func NewHostMigrationsActionsV1NotFound() *HostMigrationsActionsV1NotFound

NewHostMigrationsActionsV1NotFound creates a HostMigrationsActionsV1NotFound with default headers values

func (*HostMigrationsActionsV1NotFound) Code

Code gets the status code for the host migrations actions v1 not found response

func (*HostMigrationsActionsV1NotFound) Error

func (*HostMigrationsActionsV1NotFound) GetPayload

func (*HostMigrationsActionsV1NotFound) IsClientError

func (o *HostMigrationsActionsV1NotFound) IsClientError() bool

IsClientError returns true when this host migrations actions v1 not found response has a 4xx status code

func (*HostMigrationsActionsV1NotFound) IsCode

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

IsCode returns true when this host migrations actions v1 not found response a status code equal to that given

func (*HostMigrationsActionsV1NotFound) IsRedirect

func (o *HostMigrationsActionsV1NotFound) IsRedirect() bool

IsRedirect returns true when this host migrations actions v1 not found response has a 3xx status code

func (*HostMigrationsActionsV1NotFound) IsServerError

func (o *HostMigrationsActionsV1NotFound) IsServerError() bool

IsServerError returns true when this host migrations actions v1 not found response has a 5xx status code

func (*HostMigrationsActionsV1NotFound) IsSuccess

func (o *HostMigrationsActionsV1NotFound) IsSuccess() bool

IsSuccess returns true when this host migrations actions v1 not found response has a 2xx status code

func (*HostMigrationsActionsV1NotFound) String

type HostMigrationsActionsV1OK

type HostMigrationsActionsV1OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

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

OK

func NewHostMigrationsActionsV1OK

func NewHostMigrationsActionsV1OK() *HostMigrationsActionsV1OK

NewHostMigrationsActionsV1OK creates a HostMigrationsActionsV1OK with default headers values

func (*HostMigrationsActionsV1OK) Code

func (o *HostMigrationsActionsV1OK) Code() int

Code gets the status code for the host migrations actions v1 o k response

func (*HostMigrationsActionsV1OK) Error

func (o *HostMigrationsActionsV1OK) Error() string

func (*HostMigrationsActionsV1OK) GetPayload

func (*HostMigrationsActionsV1OK) IsClientError

func (o *HostMigrationsActionsV1OK) IsClientError() bool

IsClientError returns true when this host migrations actions v1 o k response has a 4xx status code

func (*HostMigrationsActionsV1OK) IsCode

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

IsCode returns true when this host migrations actions v1 o k response a status code equal to that given

func (*HostMigrationsActionsV1OK) IsRedirect

func (o *HostMigrationsActionsV1OK) IsRedirect() bool

IsRedirect returns true when this host migrations actions v1 o k response has a 3xx status code

func (*HostMigrationsActionsV1OK) IsServerError

func (o *HostMigrationsActionsV1OK) IsServerError() bool

IsServerError returns true when this host migrations actions v1 o k response has a 5xx status code

func (*HostMigrationsActionsV1OK) IsSuccess

func (o *HostMigrationsActionsV1OK) IsSuccess() bool

IsSuccess returns true when this host migrations actions v1 o k response has a 2xx status code

func (*HostMigrationsActionsV1OK) String

func (o *HostMigrationsActionsV1OK) String() string

type HostMigrationsActionsV1Params

type HostMigrationsActionsV1Params struct {

	/* ActionName.

	   The action to perform
	*/
	ActionName string

	// Body.
	Body *models.MsaEntityActionRequestV3

	/* ID.

	   The migration job to perform actions on
	*/
	ID string

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

HostMigrationsActionsV1Params contains all the parameters to send to the API endpoint

for the host migrations actions v1 operation.

Typically these are written to a http.Request.

func NewHostMigrationsActionsV1Params

func NewHostMigrationsActionsV1Params() *HostMigrationsActionsV1Params

NewHostMigrationsActionsV1Params creates a new HostMigrationsActionsV1Params 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 NewHostMigrationsActionsV1ParamsWithContext

func NewHostMigrationsActionsV1ParamsWithContext(ctx context.Context) *HostMigrationsActionsV1Params

NewHostMigrationsActionsV1ParamsWithContext creates a new HostMigrationsActionsV1Params object with the ability to set a context for a request.

func NewHostMigrationsActionsV1ParamsWithHTTPClient

func NewHostMigrationsActionsV1ParamsWithHTTPClient(client *http.Client) *HostMigrationsActionsV1Params

NewHostMigrationsActionsV1ParamsWithHTTPClient creates a new HostMigrationsActionsV1Params object with the ability to set a custom HTTPClient for a request.

func NewHostMigrationsActionsV1ParamsWithTimeout

func NewHostMigrationsActionsV1ParamsWithTimeout(timeout time.Duration) *HostMigrationsActionsV1Params

NewHostMigrationsActionsV1ParamsWithTimeout creates a new HostMigrationsActionsV1Params object with the ability to set a timeout on a request.

func (*HostMigrationsActionsV1Params) SetActionName

func (o *HostMigrationsActionsV1Params) SetActionName(actionName string)

SetActionName adds the actionName to the host migrations actions v1 params

func (*HostMigrationsActionsV1Params) SetBody

SetBody adds the body to the host migrations actions v1 params

func (*HostMigrationsActionsV1Params) SetContext

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

SetContext adds the context to the host migrations actions v1 params

func (*HostMigrationsActionsV1Params) SetDefaults

func (o *HostMigrationsActionsV1Params) SetDefaults()

SetDefaults hydrates default values in the host migrations actions v1 params (not the query body).

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

func (*HostMigrationsActionsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the host migrations actions v1 params

func (*HostMigrationsActionsV1Params) SetID

SetID adds the id to the host migrations actions v1 params

func (*HostMigrationsActionsV1Params) SetTimeout

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

SetTimeout adds the timeout to the host migrations actions v1 params

func (*HostMigrationsActionsV1Params) WithActionName

WithActionName adds the actionName to the host migrations actions v1 params

func (*HostMigrationsActionsV1Params) WithBody

WithBody adds the body to the host migrations actions v1 params

func (*HostMigrationsActionsV1Params) WithContext

WithContext adds the context to the host migrations actions v1 params

func (*HostMigrationsActionsV1Params) WithDefaults

WithDefaults hydrates default values in the host migrations actions v1 params (not the query body).

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

func (*HostMigrationsActionsV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the host migrations actions v1 params

func (*HostMigrationsActionsV1Params) WithID

WithID adds the id to the host migrations actions v1 params

func (*HostMigrationsActionsV1Params) WithTimeout

WithTimeout adds the timeout to the host migrations actions v1 params

func (*HostMigrationsActionsV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type HostMigrationsActionsV1Reader

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

HostMigrationsActionsV1Reader is a Reader for the HostMigrationsActionsV1 structure.

func (*HostMigrationsActionsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HostMigrationsActionsV1TooManyRequests

type HostMigrationsActionsV1TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

HostMigrationsActionsV1TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewHostMigrationsActionsV1TooManyRequests

func NewHostMigrationsActionsV1TooManyRequests() *HostMigrationsActionsV1TooManyRequests

NewHostMigrationsActionsV1TooManyRequests creates a HostMigrationsActionsV1TooManyRequests with default headers values

func (*HostMigrationsActionsV1TooManyRequests) Code

Code gets the status code for the host migrations actions v1 too many requests response

func (*HostMigrationsActionsV1TooManyRequests) Error

func (*HostMigrationsActionsV1TooManyRequests) GetPayload

func (*HostMigrationsActionsV1TooManyRequests) IsClientError

func (o *HostMigrationsActionsV1TooManyRequests) IsClientError() bool

IsClientError returns true when this host migrations actions v1 too many requests response has a 4xx status code

func (*HostMigrationsActionsV1TooManyRequests) IsCode

IsCode returns true when this host migrations actions v1 too many requests response a status code equal to that given

func (*HostMigrationsActionsV1TooManyRequests) IsRedirect

IsRedirect returns true when this host migrations actions v1 too many requests response has a 3xx status code

func (*HostMigrationsActionsV1TooManyRequests) IsServerError

func (o *HostMigrationsActionsV1TooManyRequests) IsServerError() bool

IsServerError returns true when this host migrations actions v1 too many requests response has a 5xx status code

func (*HostMigrationsActionsV1TooManyRequests) IsSuccess

IsSuccess returns true when this host migrations actions v1 too many requests response has a 2xx status code

func (*HostMigrationsActionsV1TooManyRequests) String

type MigrationAggregatesV1BadRequest

type MigrationAggregatesV1BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

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

Bad Request

func NewMigrationAggregatesV1BadRequest

func NewMigrationAggregatesV1BadRequest() *MigrationAggregatesV1BadRequest

NewMigrationAggregatesV1BadRequest creates a MigrationAggregatesV1BadRequest with default headers values

func (*MigrationAggregatesV1BadRequest) Code

Code gets the status code for the migration aggregates v1 bad request response

func (*MigrationAggregatesV1BadRequest) Error

func (*MigrationAggregatesV1BadRequest) GetPayload

func (*MigrationAggregatesV1BadRequest) IsClientError

func (o *MigrationAggregatesV1BadRequest) IsClientError() bool

IsClientError returns true when this migration aggregates v1 bad request response has a 4xx status code

func (*MigrationAggregatesV1BadRequest) IsCode

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

IsCode returns true when this migration aggregates v1 bad request response a status code equal to that given

func (*MigrationAggregatesV1BadRequest) IsRedirect

func (o *MigrationAggregatesV1BadRequest) IsRedirect() bool

IsRedirect returns true when this migration aggregates v1 bad request response has a 3xx status code

func (*MigrationAggregatesV1BadRequest) IsServerError

func (o *MigrationAggregatesV1BadRequest) IsServerError() bool

IsServerError returns true when this migration aggregates v1 bad request response has a 5xx status code

func (*MigrationAggregatesV1BadRequest) IsSuccess

func (o *MigrationAggregatesV1BadRequest) IsSuccess() bool

IsSuccess returns true when this migration aggregates v1 bad request response has a 2xx status code

func (*MigrationAggregatesV1BadRequest) String

type MigrationAggregatesV1Forbidden

type MigrationAggregatesV1Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewMigrationAggregatesV1Forbidden

func NewMigrationAggregatesV1Forbidden() *MigrationAggregatesV1Forbidden

NewMigrationAggregatesV1Forbidden creates a MigrationAggregatesV1Forbidden with default headers values

func (*MigrationAggregatesV1Forbidden) Code

Code gets the status code for the migration aggregates v1 forbidden response

func (*MigrationAggregatesV1Forbidden) Error

func (*MigrationAggregatesV1Forbidden) GetPayload

func (*MigrationAggregatesV1Forbidden) IsClientError

func (o *MigrationAggregatesV1Forbidden) IsClientError() bool

IsClientError returns true when this migration aggregates v1 forbidden response has a 4xx status code

func (*MigrationAggregatesV1Forbidden) IsCode

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

IsCode returns true when this migration aggregates v1 forbidden response a status code equal to that given

func (*MigrationAggregatesV1Forbidden) IsRedirect

func (o *MigrationAggregatesV1Forbidden) IsRedirect() bool

IsRedirect returns true when this migration aggregates v1 forbidden response has a 3xx status code

func (*MigrationAggregatesV1Forbidden) IsServerError

func (o *MigrationAggregatesV1Forbidden) IsServerError() bool

IsServerError returns true when this migration aggregates v1 forbidden response has a 5xx status code

func (*MigrationAggregatesV1Forbidden) IsSuccess

func (o *MigrationAggregatesV1Forbidden) IsSuccess() bool

IsSuccess returns true when this migration aggregates v1 forbidden response has a 2xx status code

func (*MigrationAggregatesV1Forbidden) String

type MigrationAggregatesV1InternalServerError

type MigrationAggregatesV1InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

MigrationAggregatesV1InternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewMigrationAggregatesV1InternalServerError

func NewMigrationAggregatesV1InternalServerError() *MigrationAggregatesV1InternalServerError

NewMigrationAggregatesV1InternalServerError creates a MigrationAggregatesV1InternalServerError with default headers values

func (*MigrationAggregatesV1InternalServerError) Code

Code gets the status code for the migration aggregates v1 internal server error response

func (*MigrationAggregatesV1InternalServerError) Error

func (*MigrationAggregatesV1InternalServerError) GetPayload

func (*MigrationAggregatesV1InternalServerError) IsClientError

IsClientError returns true when this migration aggregates v1 internal server error response has a 4xx status code

func (*MigrationAggregatesV1InternalServerError) IsCode

IsCode returns true when this migration aggregates v1 internal server error response a status code equal to that given

func (*MigrationAggregatesV1InternalServerError) IsRedirect

IsRedirect returns true when this migration aggregates v1 internal server error response has a 3xx status code

func (*MigrationAggregatesV1InternalServerError) IsServerError

IsServerError returns true when this migration aggregates v1 internal server error response has a 5xx status code

func (*MigrationAggregatesV1InternalServerError) IsSuccess

IsSuccess returns true when this migration aggregates v1 internal server error response has a 2xx status code

func (*MigrationAggregatesV1InternalServerError) String

type MigrationAggregatesV1OK

type MigrationAggregatesV1OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaAggregatesResponse
}

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

OK

func NewMigrationAggregatesV1OK

func NewMigrationAggregatesV1OK() *MigrationAggregatesV1OK

NewMigrationAggregatesV1OK creates a MigrationAggregatesV1OK with default headers values

func (*MigrationAggregatesV1OK) Code

func (o *MigrationAggregatesV1OK) Code() int

Code gets the status code for the migration aggregates v1 o k response

func (*MigrationAggregatesV1OK) Error

func (o *MigrationAggregatesV1OK) Error() string

func (*MigrationAggregatesV1OK) GetPayload

func (*MigrationAggregatesV1OK) IsClientError

func (o *MigrationAggregatesV1OK) IsClientError() bool

IsClientError returns true when this migration aggregates v1 o k response has a 4xx status code

func (*MigrationAggregatesV1OK) IsCode

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

IsCode returns true when this migration aggregates v1 o k response a status code equal to that given

func (*MigrationAggregatesV1OK) IsRedirect

func (o *MigrationAggregatesV1OK) IsRedirect() bool

IsRedirect returns true when this migration aggregates v1 o k response has a 3xx status code

func (*MigrationAggregatesV1OK) IsServerError

func (o *MigrationAggregatesV1OK) IsServerError() bool

IsServerError returns true when this migration aggregates v1 o k response has a 5xx status code

func (*MigrationAggregatesV1OK) IsSuccess

func (o *MigrationAggregatesV1OK) IsSuccess() bool

IsSuccess returns true when this migration aggregates v1 o k response has a 2xx status code

func (*MigrationAggregatesV1OK) String

func (o *MigrationAggregatesV1OK) String() string

type MigrationAggregatesV1Params

type MigrationAggregatesV1Params struct {

	// Body.
	Body []*models.MsaAggregateQueryRequest

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

MigrationAggregatesV1Params contains all the parameters to send to the API endpoint

for the migration aggregates v1 operation.

Typically these are written to a http.Request.

func NewMigrationAggregatesV1Params

func NewMigrationAggregatesV1Params() *MigrationAggregatesV1Params

NewMigrationAggregatesV1Params creates a new MigrationAggregatesV1Params 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 NewMigrationAggregatesV1ParamsWithContext

func NewMigrationAggregatesV1ParamsWithContext(ctx context.Context) *MigrationAggregatesV1Params

NewMigrationAggregatesV1ParamsWithContext creates a new MigrationAggregatesV1Params object with the ability to set a context for a request.

func NewMigrationAggregatesV1ParamsWithHTTPClient

func NewMigrationAggregatesV1ParamsWithHTTPClient(client *http.Client) *MigrationAggregatesV1Params

NewMigrationAggregatesV1ParamsWithHTTPClient creates a new MigrationAggregatesV1Params object with the ability to set a custom HTTPClient for a request.

func NewMigrationAggregatesV1ParamsWithTimeout

func NewMigrationAggregatesV1ParamsWithTimeout(timeout time.Duration) *MigrationAggregatesV1Params

NewMigrationAggregatesV1ParamsWithTimeout creates a new MigrationAggregatesV1Params object with the ability to set a timeout on a request.

func (*MigrationAggregatesV1Params) SetBody

SetBody adds the body to the migration aggregates v1 params

func (*MigrationAggregatesV1Params) SetContext

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

SetContext adds the context to the migration aggregates v1 params

func (*MigrationAggregatesV1Params) SetDefaults

func (o *MigrationAggregatesV1Params) SetDefaults()

SetDefaults hydrates default values in the migration aggregates v1 params (not the query body).

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

func (*MigrationAggregatesV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the migration aggregates v1 params

func (*MigrationAggregatesV1Params) SetTimeout

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

SetTimeout adds the timeout to the migration aggregates v1 params

func (*MigrationAggregatesV1Params) WithBody

WithBody adds the body to the migration aggregates v1 params

func (*MigrationAggregatesV1Params) WithContext

WithContext adds the context to the migration aggregates v1 params

func (*MigrationAggregatesV1Params) WithDefaults

WithDefaults hydrates default values in the migration aggregates v1 params (not the query body).

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

func (*MigrationAggregatesV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the migration aggregates v1 params

func (*MigrationAggregatesV1Params) WithTimeout

WithTimeout adds the timeout to the migration aggregates v1 params

func (*MigrationAggregatesV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type MigrationAggregatesV1Reader

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

MigrationAggregatesV1Reader is a Reader for the MigrationAggregatesV1 structure.

func (*MigrationAggregatesV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MigrationAggregatesV1TooManyRequests

type MigrationAggregatesV1TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

MigrationAggregatesV1TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewMigrationAggregatesV1TooManyRequests

func NewMigrationAggregatesV1TooManyRequests() *MigrationAggregatesV1TooManyRequests

NewMigrationAggregatesV1TooManyRequests creates a MigrationAggregatesV1TooManyRequests with default headers values

func (*MigrationAggregatesV1TooManyRequests) Code

Code gets the status code for the migration aggregates v1 too many requests response

func (*MigrationAggregatesV1TooManyRequests) Error

func (*MigrationAggregatesV1TooManyRequests) GetPayload

func (*MigrationAggregatesV1TooManyRequests) IsClientError

func (o *MigrationAggregatesV1TooManyRequests) IsClientError() bool

IsClientError returns true when this migration aggregates v1 too many requests response has a 4xx status code

func (*MigrationAggregatesV1TooManyRequests) IsCode

IsCode returns true when this migration aggregates v1 too many requests response a status code equal to that given

func (*MigrationAggregatesV1TooManyRequests) IsRedirect

IsRedirect returns true when this migration aggregates v1 too many requests response has a 3xx status code

func (*MigrationAggregatesV1TooManyRequests) IsServerError

func (o *MigrationAggregatesV1TooManyRequests) IsServerError() bool

IsServerError returns true when this migration aggregates v1 too many requests response has a 5xx status code

func (*MigrationAggregatesV1TooManyRequests) IsSuccess

IsSuccess returns true when this migration aggregates v1 too many requests response has a 2xx status code

func (*MigrationAggregatesV1TooManyRequests) String

type MigrationsActionsV1BadRequest

type MigrationsActionsV1BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

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

Bad Request

func NewMigrationsActionsV1BadRequest

func NewMigrationsActionsV1BadRequest() *MigrationsActionsV1BadRequest

NewMigrationsActionsV1BadRequest creates a MigrationsActionsV1BadRequest with default headers values

func (*MigrationsActionsV1BadRequest) Code

Code gets the status code for the migrations actions v1 bad request response

func (*MigrationsActionsV1BadRequest) Error

func (*MigrationsActionsV1BadRequest) GetPayload

func (*MigrationsActionsV1BadRequest) IsClientError

func (o *MigrationsActionsV1BadRequest) IsClientError() bool

IsClientError returns true when this migrations actions v1 bad request response has a 4xx status code

func (*MigrationsActionsV1BadRequest) IsCode

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

IsCode returns true when this migrations actions v1 bad request response a status code equal to that given

func (*MigrationsActionsV1BadRequest) IsRedirect

func (o *MigrationsActionsV1BadRequest) IsRedirect() bool

IsRedirect returns true when this migrations actions v1 bad request response has a 3xx status code

func (*MigrationsActionsV1BadRequest) IsServerError

func (o *MigrationsActionsV1BadRequest) IsServerError() bool

IsServerError returns true when this migrations actions v1 bad request response has a 5xx status code

func (*MigrationsActionsV1BadRequest) IsSuccess

func (o *MigrationsActionsV1BadRequest) IsSuccess() bool

IsSuccess returns true when this migrations actions v1 bad request response has a 2xx status code

func (*MigrationsActionsV1BadRequest) String

type MigrationsActionsV1Forbidden

type MigrationsActionsV1Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewMigrationsActionsV1Forbidden

func NewMigrationsActionsV1Forbidden() *MigrationsActionsV1Forbidden

NewMigrationsActionsV1Forbidden creates a MigrationsActionsV1Forbidden with default headers values

func (*MigrationsActionsV1Forbidden) Code

Code gets the status code for the migrations actions v1 forbidden response

func (*MigrationsActionsV1Forbidden) Error

func (*MigrationsActionsV1Forbidden) GetPayload

func (*MigrationsActionsV1Forbidden) IsClientError

func (o *MigrationsActionsV1Forbidden) IsClientError() bool

IsClientError returns true when this migrations actions v1 forbidden response has a 4xx status code

func (*MigrationsActionsV1Forbidden) IsCode

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

IsCode returns true when this migrations actions v1 forbidden response a status code equal to that given

func (*MigrationsActionsV1Forbidden) IsRedirect

func (o *MigrationsActionsV1Forbidden) IsRedirect() bool

IsRedirect returns true when this migrations actions v1 forbidden response has a 3xx status code

func (*MigrationsActionsV1Forbidden) IsServerError

func (o *MigrationsActionsV1Forbidden) IsServerError() bool

IsServerError returns true when this migrations actions v1 forbidden response has a 5xx status code

func (*MigrationsActionsV1Forbidden) IsSuccess

func (o *MigrationsActionsV1Forbidden) IsSuccess() bool

IsSuccess returns true when this migrations actions v1 forbidden response has a 2xx status code

func (*MigrationsActionsV1Forbidden) String

type MigrationsActionsV1InternalServerError

type MigrationsActionsV1InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

MigrationsActionsV1InternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewMigrationsActionsV1InternalServerError

func NewMigrationsActionsV1InternalServerError() *MigrationsActionsV1InternalServerError

NewMigrationsActionsV1InternalServerError creates a MigrationsActionsV1InternalServerError with default headers values

func (*MigrationsActionsV1InternalServerError) Code

Code gets the status code for the migrations actions v1 internal server error response

func (*MigrationsActionsV1InternalServerError) Error

func (*MigrationsActionsV1InternalServerError) GetPayload

func (*MigrationsActionsV1InternalServerError) IsClientError

func (o *MigrationsActionsV1InternalServerError) IsClientError() bool

IsClientError returns true when this migrations actions v1 internal server error response has a 4xx status code

func (*MigrationsActionsV1InternalServerError) IsCode

IsCode returns true when this migrations actions v1 internal server error response a status code equal to that given

func (*MigrationsActionsV1InternalServerError) IsRedirect

IsRedirect returns true when this migrations actions v1 internal server error response has a 3xx status code

func (*MigrationsActionsV1InternalServerError) IsServerError

func (o *MigrationsActionsV1InternalServerError) IsServerError() bool

IsServerError returns true when this migrations actions v1 internal server error response has a 5xx status code

func (*MigrationsActionsV1InternalServerError) IsSuccess

IsSuccess returns true when this migrations actions v1 internal server error response has a 2xx status code

func (*MigrationsActionsV1InternalServerError) String

type MigrationsActionsV1NotFound

type MigrationsActionsV1NotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

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

Not Found

func NewMigrationsActionsV1NotFound

func NewMigrationsActionsV1NotFound() *MigrationsActionsV1NotFound

NewMigrationsActionsV1NotFound creates a MigrationsActionsV1NotFound with default headers values

func (*MigrationsActionsV1NotFound) Code

func (o *MigrationsActionsV1NotFound) Code() int

Code gets the status code for the migrations actions v1 not found response

func (*MigrationsActionsV1NotFound) Error

func (*MigrationsActionsV1NotFound) GetPayload

func (*MigrationsActionsV1NotFound) IsClientError

func (o *MigrationsActionsV1NotFound) IsClientError() bool

IsClientError returns true when this migrations actions v1 not found response has a 4xx status code

func (*MigrationsActionsV1NotFound) IsCode

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

IsCode returns true when this migrations actions v1 not found response a status code equal to that given

func (*MigrationsActionsV1NotFound) IsRedirect

func (o *MigrationsActionsV1NotFound) IsRedirect() bool

IsRedirect returns true when this migrations actions v1 not found response has a 3xx status code

func (*MigrationsActionsV1NotFound) IsServerError

func (o *MigrationsActionsV1NotFound) IsServerError() bool

IsServerError returns true when this migrations actions v1 not found response has a 5xx status code

func (*MigrationsActionsV1NotFound) IsSuccess

func (o *MigrationsActionsV1NotFound) IsSuccess() bool

IsSuccess returns true when this migrations actions v1 not found response has a 2xx status code

func (*MigrationsActionsV1NotFound) String

func (o *MigrationsActionsV1NotFound) String() string

type MigrationsActionsV1OK

type MigrationsActionsV1OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaspecQueryResponse
}

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

OK

func NewMigrationsActionsV1OK

func NewMigrationsActionsV1OK() *MigrationsActionsV1OK

NewMigrationsActionsV1OK creates a MigrationsActionsV1OK with default headers values

func (*MigrationsActionsV1OK) Code

func (o *MigrationsActionsV1OK) Code() int

Code gets the status code for the migrations actions v1 o k response

func (*MigrationsActionsV1OK) Error

func (o *MigrationsActionsV1OK) Error() string

func (*MigrationsActionsV1OK) GetPayload

func (*MigrationsActionsV1OK) IsClientError

func (o *MigrationsActionsV1OK) IsClientError() bool

IsClientError returns true when this migrations actions v1 o k response has a 4xx status code

func (*MigrationsActionsV1OK) IsCode

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

IsCode returns true when this migrations actions v1 o k response a status code equal to that given

func (*MigrationsActionsV1OK) IsRedirect

func (o *MigrationsActionsV1OK) IsRedirect() bool

IsRedirect returns true when this migrations actions v1 o k response has a 3xx status code

func (*MigrationsActionsV1OK) IsServerError

func (o *MigrationsActionsV1OK) IsServerError() bool

IsServerError returns true when this migrations actions v1 o k response has a 5xx status code

func (*MigrationsActionsV1OK) IsSuccess

func (o *MigrationsActionsV1OK) IsSuccess() bool

IsSuccess returns true when this migrations actions v1 o k response has a 2xx status code

func (*MigrationsActionsV1OK) String

func (o *MigrationsActionsV1OK) String() string

type MigrationsActionsV1Params

type MigrationsActionsV1Params struct {

	/* ActionName.

	   The action to perform
	*/
	ActionName string

	// Body.
	Body *models.MsaEntityActionRequestV3

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

MigrationsActionsV1Params contains all the parameters to send to the API endpoint

for the migrations actions v1 operation.

Typically these are written to a http.Request.

func NewMigrationsActionsV1Params

func NewMigrationsActionsV1Params() *MigrationsActionsV1Params

NewMigrationsActionsV1Params creates a new MigrationsActionsV1Params 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 NewMigrationsActionsV1ParamsWithContext

func NewMigrationsActionsV1ParamsWithContext(ctx context.Context) *MigrationsActionsV1Params

NewMigrationsActionsV1ParamsWithContext creates a new MigrationsActionsV1Params object with the ability to set a context for a request.

func NewMigrationsActionsV1ParamsWithHTTPClient

func NewMigrationsActionsV1ParamsWithHTTPClient(client *http.Client) *MigrationsActionsV1Params

NewMigrationsActionsV1ParamsWithHTTPClient creates a new MigrationsActionsV1Params object with the ability to set a custom HTTPClient for a request.

func NewMigrationsActionsV1ParamsWithTimeout

func NewMigrationsActionsV1ParamsWithTimeout(timeout time.Duration) *MigrationsActionsV1Params

NewMigrationsActionsV1ParamsWithTimeout creates a new MigrationsActionsV1Params object with the ability to set a timeout on a request.

func (*MigrationsActionsV1Params) SetActionName

func (o *MigrationsActionsV1Params) SetActionName(actionName string)

SetActionName adds the actionName to the migrations actions v1 params

func (*MigrationsActionsV1Params) SetBody

SetBody adds the body to the migrations actions v1 params

func (*MigrationsActionsV1Params) SetContext

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

SetContext adds the context to the migrations actions v1 params

func (*MigrationsActionsV1Params) SetDefaults

func (o *MigrationsActionsV1Params) SetDefaults()

SetDefaults hydrates default values in the migrations actions v1 params (not the query body).

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

func (*MigrationsActionsV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the migrations actions v1 params

func (*MigrationsActionsV1Params) SetTimeout

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

SetTimeout adds the timeout to the migrations actions v1 params

func (*MigrationsActionsV1Params) WithActionName

func (o *MigrationsActionsV1Params) WithActionName(actionName string) *MigrationsActionsV1Params

WithActionName adds the actionName to the migrations actions v1 params

func (*MigrationsActionsV1Params) WithBody

WithBody adds the body to the migrations actions v1 params

func (*MigrationsActionsV1Params) WithContext

WithContext adds the context to the migrations actions v1 params

func (*MigrationsActionsV1Params) WithDefaults

WithDefaults hydrates default values in the migrations actions v1 params (not the query body).

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

func (*MigrationsActionsV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the migrations actions v1 params

func (*MigrationsActionsV1Params) WithTimeout

WithTimeout adds the timeout to the migrations actions v1 params

func (*MigrationsActionsV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type MigrationsActionsV1Reader

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

MigrationsActionsV1Reader is a Reader for the MigrationsActionsV1 structure.

func (*MigrationsActionsV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MigrationsActionsV1TooManyRequests

type MigrationsActionsV1TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

MigrationsActionsV1TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewMigrationsActionsV1TooManyRequests

func NewMigrationsActionsV1TooManyRequests() *MigrationsActionsV1TooManyRequests

NewMigrationsActionsV1TooManyRequests creates a MigrationsActionsV1TooManyRequests with default headers values

func (*MigrationsActionsV1TooManyRequests) Code

Code gets the status code for the migrations actions v1 too many requests response

func (*MigrationsActionsV1TooManyRequests) Error

func (*MigrationsActionsV1TooManyRequests) GetPayload

func (*MigrationsActionsV1TooManyRequests) IsClientError

func (o *MigrationsActionsV1TooManyRequests) IsClientError() bool

IsClientError returns true when this migrations actions v1 too many requests response has a 4xx status code

func (*MigrationsActionsV1TooManyRequests) IsCode

IsCode returns true when this migrations actions v1 too many requests response a status code equal to that given

func (*MigrationsActionsV1TooManyRequests) IsRedirect

func (o *MigrationsActionsV1TooManyRequests) IsRedirect() bool

IsRedirect returns true when this migrations actions v1 too many requests response has a 3xx status code

func (*MigrationsActionsV1TooManyRequests) IsServerError

func (o *MigrationsActionsV1TooManyRequests) IsServerError() bool

IsServerError returns true when this migrations actions v1 too many requests response has a 5xx status code

func (*MigrationsActionsV1TooManyRequests) IsSuccess

IsSuccess returns true when this migrations actions v1 too many requests response has a 2xx status code

func (*MigrationsActionsV1TooManyRequests) String

Jump to

Keyboard shortcuts

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